UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

112 lines (111 loc) 4.5 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Definition of AWS::ConnectCampaignsV2::Campaign Resource Type */ export declare class Campaign extends pulumi.CustomResource { /** * Get an existing Campaign resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Campaign; /** * Returns true if the given object is an instance of Campaign. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Campaign; /** * Amazon Connect Campaign Arn */ readonly arn: pulumi.Output<string>; /** * Contains channel subtype configuration for an outbound campaign. */ readonly channelSubtypeConfig: pulumi.Output<outputs.connectcampaignsv2.CampaignChannelSubtypeConfig>; /** * Communication limits configuration for an outbound campaign. */ readonly communicationLimitsOverride: pulumi.Output<outputs.connectcampaignsv2.CampaignCommunicationLimitsConfig | undefined>; /** * Contains communication time configuration for an outbound campaign. */ readonly communicationTimeConfig: pulumi.Output<outputs.connectcampaignsv2.CampaignCommunicationTimeConfig | undefined>; /** * The Amazon Resource Name (ARN) of the Amazon Connect campaign flow associated with the outbound campaign. */ readonly connectCampaignFlowArn: pulumi.Output<string | undefined>; /** * The identifier of the Amazon Connect instance. You can find the `instanceId` in the ARN of the instance. */ readonly connectInstanceId: pulumi.Output<string>; /** * The name of the outbound campaign. */ readonly name: pulumi.Output<string>; /** * Contains the schedule configuration. */ readonly schedule: pulumi.Output<outputs.connectcampaignsv2.CampaignSchedule | undefined>; /** * Contains source configuration. */ readonly source: pulumi.Output<outputs.connectcampaignsv2.CampaignSource | undefined>; /** * One or more tags. */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * Create a Campaign resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CampaignArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Campaign resource. */ export interface CampaignArgs { /** * Contains channel subtype configuration for an outbound campaign. */ channelSubtypeConfig: pulumi.Input<inputs.connectcampaignsv2.CampaignChannelSubtypeConfigArgs>; /** * Communication limits configuration for an outbound campaign. */ communicationLimitsOverride?: pulumi.Input<inputs.connectcampaignsv2.CampaignCommunicationLimitsConfigArgs>; /** * Contains communication time configuration for an outbound campaign. */ communicationTimeConfig?: pulumi.Input<inputs.connectcampaignsv2.CampaignCommunicationTimeConfigArgs>; /** * The Amazon Resource Name (ARN) of the Amazon Connect campaign flow associated with the outbound campaign. */ connectCampaignFlowArn?: pulumi.Input<string>; /** * The identifier of the Amazon Connect instance. You can find the `instanceId` in the ARN of the instance. */ connectInstanceId: pulumi.Input<string>; /** * The name of the outbound campaign. */ name?: pulumi.Input<string>; /** * Contains the schedule configuration. */ schedule?: pulumi.Input<inputs.connectcampaignsv2.CampaignScheduleArgs>; /** * Contains source configuration. */ source?: pulumi.Input<inputs.connectcampaignsv2.CampaignSourceArgs>; /** * One or more tags. */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; }