Class CfnTransitGatewayMulticastDomainAssociation

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.097Z") @Stability(Stable) public class CfnTransitGatewayMulticastDomainAssociation extends CfnResource implements IInspectable
A CloudFormation AWS::EC2::TransitGatewayMulticastDomainAssociation.

Associates the specified subnets and transit gateway attachments with the specified transit gateway multicast domain.

The transit gateway attachment must be in the available state before you can add a resource.

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.ec2.*;
 CfnTransitGatewayMulticastDomainAssociation cfnTransitGatewayMulticastDomainAssociation = CfnTransitGatewayMulticastDomainAssociation.Builder.create(this, "MyCfnTransitGatewayMulticastDomainAssociation")
         .subnetId("subnetId")
         .transitGatewayAttachmentId("transitGatewayAttachmentId")
         .transitGatewayMulticastDomainId("transitGatewayMulticastDomainId")
         .build();
 
  • 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

    • CfnTransitGatewayMulticastDomainAssociation

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

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

      @Stability(Stable) public CfnTransitGatewayMulticastDomainAssociation(@NotNull Construct scope, @NotNull String id, @NotNull CfnTransitGatewayMulticastDomainAssociationProps props)
      Create a new AWS::EC2::TransitGatewayMulticastDomainAssociation.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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.
    • getAttrResourceId

      @Stability(Stable) @NotNull public String getAttrResourceId()
      The ID of the resource.
    • getAttrResourceType

      @Stability(Stable) @NotNull public String getAttrResourceType()
      The type of resource, for example a VPC attachment.
    • getAttrState

      @Stability(Stable) @NotNull public String getAttrState()
      The state of the resource.
    • getCfnProperties

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

      @Stability(Stable) @NotNull public String getSubnetId()
      The IDs of the subnets to associate with the transit gateway multicast domain.
    • setSubnetId

      @Stability(Stable) public void setSubnetId(@NotNull String value)
      The IDs of the subnets to associate with the transit gateway multicast domain.
    • getTransitGatewayAttachmentId

      @Stability(Stable) @NotNull public String getTransitGatewayAttachmentId()
      The ID of the transit gateway attachment.
    • setTransitGatewayAttachmentId

      @Stability(Stable) public void setTransitGatewayAttachmentId(@NotNull String value)
      The ID of the transit gateway attachment.
    • getTransitGatewayMulticastDomainId

      @Stability(Stable) @NotNull public String getTransitGatewayMulticastDomainId()
      The ID of the transit gateway multicast domain.
    • setTransitGatewayMulticastDomainId

      @Stability(Stable) public void setTransitGatewayMulticastDomainId(@NotNull String value)
      The ID of the transit gateway multicast domain.