Skip to content
v2.278.0

CfnTransitGatewayMulticastDomainProps Struct ​

Properties for defining a CfnTransitGatewayMulticastDomain.

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';

declare const options: any;
const cfnTransitGatewayMulticastDomainProps: ec2.CfnTransitGatewayMulticastDomainProps = {
  transitGatewayId: 'transitGatewayId',

  // the properties below are optional
  options: options,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# 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

# options: Any

cfn_transit_gateway_multicast_domain_props = ec2.CfnTransitGatewayMulticastDomainProps(
    transit_gateway_id="transitGatewayId",

    # the properties below are optional
    options=options,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.*;

Object options;

CfnTransitGatewayMulticastDomainProps cfnTransitGatewayMulticastDomainProps = CfnTransitGatewayMulticastDomainProps.builder()
        .transitGatewayId("transitGatewayId")

        // the properties below are optional
        .options(options)
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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 options;

var cfnTransitGatewayMulticastDomainProps = new CfnTransitGatewayMulticastDomainProps {
    TransitGatewayId = "transitGatewayId",

    // the properties below are optional
    Options = options,
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

var options interface{}

cfnTransitGatewayMulticastDomainProps := &CfnTransitGatewayMulticastDomainProps{
	TransitGatewayId: jsii.String("transitGatewayId"),

	// the properties below are optional
	Options: options,
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

optionsoptionalanyoptionsoptionalAnyoptionsoptionalObjectOptionsoptionalobjectOptionsoptionalinterface{} #
The options for the transit gateway multicast domain.
  • AutoAcceptSharedAssociations (enable | disable)
  • Igmpv2Support (enable | disable)
  • StaticSourcesSupport (enable | disable)
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags for the transit gateway multicast domain.
transitGatewayIdstringtransit_gateway_idstrtransitGatewayIdStringTransitGatewayIdstringTransitGatewayId*string required #
The ID of the transit gateway.