@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.349Z") @Stability(value=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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnTransitGatewayMulticastDomainAssociation.Builder
A fluent builder for
CfnTransitGatewayMulticastDomainAssociation. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnTransitGatewayMulticastDomainAssociation(software.constructs.Construct scope,
String id,
CfnTransitGatewayMulticastDomainAssociationProps props)
Create a new `AWS::EC2::TransitGatewayMulticastDomainAssociation`.
|
protected |
CfnTransitGatewayMulticastDomainAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnTransitGatewayMulticastDomainAssociation(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrResourceId()
The ID of the resource.
|
String |
getAttrResourceType()
The type of resource, for example a VPC attachment.
|
String |
getAttrState()
The state of the resource.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getSubnetId()
The IDs of the subnets to associate with the transit gateway multicast domain.
|
String |
getTransitGatewayAttachmentId()
The ID of the transit gateway attachment.
|
String |
getTransitGatewayMulticastDomainId()
The ID of the transit gateway multicast domain.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setSubnetId(String value)
The IDs of the subnets to associate with the transit gateway multicast domain.
|
void |
setTransitGatewayAttachmentId(String value)
The ID of the transit gateway attachment.
|
void |
setTransitGatewayMulticastDomainId(String value)
The ID of the transit gateway multicast domain.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnTransitGatewayMulticastDomainAssociation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnTransitGatewayMulticastDomainAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnTransitGatewayMulticastDomainAssociation(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnTransitGatewayMulticastDomainAssociationProps props)
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrResourceId()
@Stability(value=Stable) @NotNull public String getAttrResourceType()
@Stability(value=Stable) @NotNull public String getAttrState()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getSubnetId()
@Stability(value=Stable)
public void setSubnetId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getTransitGatewayAttachmentId()
@Stability(value=Stable)
public void setTransitGatewayAttachmentId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getTransitGatewayMulticastDomainId()
@Stability(value=Stable)
public void setTransitGatewayMulticastDomainId(@NotNull
String value)
Copyright © 2022. All rights reserved.