# CfnTransitGatewayMulticastDomainProps

Properties for defining a `CfnTransitGatewayMulticastDomain`.

Used as props by: [CfnTransitGatewayMulticastDomain](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnTransitGatewayMulticastDomain.html)

- Source: Generated at build time
- Type last changed: v2.56.1 · 23 Dec 2022

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    } }
};
```

Golang:

```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

- `options`: any — The options for the transit gateway multicast domain.

  - AutoAcceptSharedAssociations (enable | disable)
  - Igmpv2Support (enable | disable)
  - StaticSourcesSupport (enable | disable)

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags for the transit gateway multicast domain.

- `transitGatewayId`: string (required) — The ID of the transit gateway.
