java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:41.131Z") @Stability(Stable) public class CfnCampaign extends CfnResource implements IInspectable, ITaggable
Contains information about an outbound campaign.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.connectcampaigns.*;
 CfnCampaign cfnCampaign = CfnCampaign.Builder.create(this, "MyCfnCampaign")
         .connectInstanceArn("connectInstanceArn")
         .dialerConfig(DialerConfigProperty.builder()
                 .agentlessDialerConfig(AgentlessDialerConfigProperty.builder()
                         .dialingCapacity(123)
                         .build())
                 .predictiveDialerConfig(PredictiveDialerConfigProperty.builder()
                         .bandwidthAllocation(123)
                         // the properties below are optional
                         .dialingCapacity(123)
                         .build())
                 .progressiveDialerConfig(ProgressiveDialerConfigProperty.builder()
                         .bandwidthAllocation(123)
                         // the properties below are optional
                         .dialingCapacity(123)
                         .build())
                 .build())
         .name("name")
         .outboundCallConfig(OutboundCallConfigProperty.builder()
                 .connectContactFlowArn("connectContactFlowArn")
                 // the properties below are optional
                 .answerMachineDetectionConfig(AnswerMachineDetectionConfigProperty.builder()
                         .enableAnswerMachineDetection(false)
                         // the properties below are optional
                         .awaitAnswerMachinePrompt(false)
                         .build())
                 .connectQueueArn("connectQueueArn")
                 .connectSourcePhoneNumber("connectSourcePhoneNumber")
                 .build())
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnCampaign

      protected CfnCampaign(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnCampaign

      protected CfnCampaign(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnCampaign

      @Stability(Stable) public CfnCampaign(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCampaignProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the high-volume outbound campaign.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getConnectInstanceArn

      @Stability(Stable) @NotNull public String getConnectInstanceArn()
      The Amazon Resource Name (ARN) of the Amazon Connect instance.
    • setConnectInstanceArn

      @Stability(Stable) public void setConnectInstanceArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the Amazon Connect instance.
    • getDialerConfig

      @Stability(Stable) @NotNull public Object getDialerConfig()
      Contains information about the dialer configuration.
    • setDialerConfig

      @Stability(Stable) public void setDialerConfig(@NotNull IResolvable value)
      Contains information about the dialer configuration.
    • setDialerConfig

      @Stability(Stable) public void setDialerConfig(@NotNull CfnCampaign.DialerConfigProperty value)
      Contains information about the dialer configuration.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the campaign.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the campaign.
    • getOutboundCallConfig

      @Stability(Stable) @NotNull public Object getOutboundCallConfig()
      Contains information about the outbound call configuration.
    • setOutboundCallConfig

      @Stability(Stable) public void setOutboundCallConfig(@NotNull IResolvable value)
      Contains information about the outbound call configuration.
    • setOutboundCallConfig

      @Stability(Stable) public void setOutboundCallConfig(@NotNull CfnCampaign.OutboundCallConfigProperty value)
      Contains information about the outbound call configuration.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      The tags used to organize, track, or control access for this resource.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      The tags used to organize, track, or control access for this resource.