# OptionsProperty

The options for the transit gateway multicast domain.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## 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';
const optionsProperty: ec2.CfnTransitGatewayMulticastDomain.OptionsProperty = {
  autoAcceptSharedAssociations: 'autoAcceptSharedAssociations',
  igmpv2Support: 'igmpv2Support',
  staticSourcesSupport: 'staticSourcesSupport',
};
```

Python:

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

options_property = ec2.CfnTransitGatewayMulticastDomain.OptionsProperty(
    auto_accept_shared_associations="autoAcceptSharedAssociations",
    igmpv2_support="igmpv2Support",
    static_sources_support="staticSourcesSupport"
)
```

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.*;

OptionsProperty optionsProperty = OptionsProperty.builder()
        .autoAcceptSharedAssociations("autoAcceptSharedAssociations")
        .igmpv2Support("igmpv2Support")
        .staticSourcesSupport("staticSourcesSupport")
        .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 optionsProperty = new OptionsProperty {
    AutoAcceptSharedAssociations = "autoAcceptSharedAssociations",
    Igmpv2Support = "igmpv2Support",
    StaticSourcesSupport = "staticSourcesSupport"
};
```

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"

optionsProperty := &OptionsProperty{
	AutoAcceptSharedAssociations: jsii.String("autoAcceptSharedAssociations"),
	Igmpv2Support: jsii.String("igmpv2Support"),
	StaticSourcesSupport: jsii.String("staticSourcesSupport"),
}
```

## Properties

- `autoAcceptSharedAssociations`: string — Indicates whether to automatically accept cross-account subnet associations that are associated with the transit gateway multicast domain.

- `igmpv2Support`: string — Specify whether to enable Internet Group Management Protocol (IGMP) version 2 for the transit gateway multicast domain.

- `staticSourcesSupport`: string — Specify whether to enable support for statically configuring multicast group sources for a domain.
