Interface CfnCampaignProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCampaignProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.035Z") @Stability(Stable) public interface CfnCampaignProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnCampaign.

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.*;
 CfnCampaignProps cfnCampaignProps = CfnCampaignProps.builder()
         .connectInstanceArn("connectInstanceArn")
         .dialerConfig(DialerConfigProperty.builder()
                 .predictiveDialerConfig(PredictiveDialerConfigProperty.builder()
                         .bandwidthAllocation(123)
                         .build())
                 .progressiveDialerConfig(ProgressiveDialerConfigProperty.builder()
                         .bandwidthAllocation(123)
                         .build())
                 .build())
         .name("name")
         .outboundCallConfig(OutboundCallConfigProperty.builder()
                 .connectContactFlowArn("connectContactFlowArn")
                 .connectQueueArn("connectQueueArn")
                 // the properties below are optional
                 .answerMachineDetectionConfig(AnswerMachineDetectionConfigProperty.builder()
                         .enableAnswerMachineDetection(false)
                         .build())
                 .connectSourcePhoneNumber("connectSourcePhoneNumber")
                 .build())
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getConnectInstanceArn

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

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

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

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

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

      For example, { "tags": {"key1":"value1", "key2":"value2"} }.

    • builder

      @Stability(Stable) static CfnCampaignProps.Builder builder()
      Returns:
      a CfnCampaignProps.Builder of CfnCampaignProps