CfnTransitGatewayMulticastDomainAssociationProps Struct
Properties for defining a CfnTransitGatewayMulticastDomainAssociation.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnTransitGatewayMulticastDomainAssociationProps: ec2.CfnTransitGatewayMulticastDomainAssociationProps = {
subnetId: 'subnetId',
transitGatewayAttachmentId: 'transitGatewayAttachmentId',
transitGatewayMulticastDomainId: 'transitGatewayMulticastDomainId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2
cfn_transit_gateway_multicast_domain_association_props = ec2.CfnTransitGatewayMulticastDomainAssociationProps(
subnet_id="subnetId",
transit_gateway_attachment_id="transitGatewayAttachmentId",
transit_gateway_multicast_domain_id="transitGatewayMulticastDomainId"
)
java
// 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.*;
CfnTransitGatewayMulticastDomainAssociationProps cfnTransitGatewayMulticastDomainAssociationProps = CfnTransitGatewayMulticastDomainAssociationProps.builder()
.subnetId("subnetId")
.transitGatewayAttachmentId("transitGatewayAttachmentId")
.transitGatewayMulticastDomainId("transitGatewayMulticastDomainId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnTransitGatewayMulticastDomainAssociationProps = new CfnTransitGatewayMulticastDomainAssociationProps {
SubnetId = "subnetId",
TransitGatewayAttachmentId = "transitGatewayAttachmentId",
TransitGatewayMulticastDomainId = "transitGatewayMulticastDomainId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnTransitGatewayMulticastDomainAssociationProps := &CfnTransitGatewayMulticastDomainAssociationProps{
SubnetId: jsii.String("subnetId"),
TransitGatewayAttachmentId: jsii.String("transitGatewayAttachmentId"),
TransitGatewayMulticastDomainId: jsii.String("transitGatewayMulticastDomainId"),
}
Properties
The IDs of the subnets to associate with the transit gateway multicast domain.
transitGatewayAttachmentIdstringtransit_gateway_attachment_idstrtransitGatewayAttachmentIdStringTransitGatewayAttachmentIdstringTransitGatewayAttachmentId*string required #The ID of the transit gateway attachment.
transitGatewayMulticastDomainIdstringtransit_gateway_multicast_domain_idstrtransitGatewayMulticastDomainIdStringTransitGatewayMulticastDomainIdstringTransitGatewayMulticastDomainId*string required #The ID of the transit gateway multicast domain.