Class CfnTransitGatewayMulticastDomainAssociation

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.ec2.CfnTransitGatewayMulticastDomainAssociation
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:15.877Z") @Stability(Stable) public class CfnTransitGatewayMulticastDomainAssociation extends CfnResource implements IInspectable
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();
 

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

    • CfnTransitGatewayMulticastDomainAssociation

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

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

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