Class CfnTrafficDistributionGroup

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.connect.CfnTrafficDistributionGroup
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:33:59.746Z") @Stability(Stable) public class CfnTrafficDistributionGroup extends CfnResource implements IInspectable, ITaggableV2
Information about a traffic distribution group.

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.connect.*;
 CfnTrafficDistributionGroup cfnTrafficDistributionGroup = CfnTrafficDistributionGroup.Builder.create(this, "MyCfnTrafficDistributionGroup")
         .instanceArn("instanceArn")
         .name("name")
         // the properties below are optional
         .description("description")
         .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

    • CfnTrafficDistributionGroup

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

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

      @Stability(Stable) public CfnTrafficDistributionGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTrafficDistributionGroupProps 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.
    • getAttrIsDefault

      @Stability(Stable) @NotNull public IResolvable getAttrIsDefault()
      Describes whether this is the default traffic distribution group.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The status of the traffic distribution group.
    • getAttrTrafficDistributionGroupArn

      @Stability(Stable) @NotNull public String getAttrTrafficDistributionGroupArn()
      The Amazon Resource Name (ARN) of the traffic distribution group.
    • getCdkTagManager

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

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

      @Stability(Stable) @NotNull public String getInstanceArn()
      The Amazon Resource Name (ARN).
    • setInstanceArn

      @Stability(Stable) public void setInstanceArn(@NotNull String value)
      The Amazon Resource Name (ARN).
    • getName

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

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the traffic distribution group.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the traffic distribution group.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the traffic distribution group.
    • getTags

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

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