# CfnTrafficDistributionGroupProps

Struct · External

Properties for defining a `CfnTrafficDistributionGroup`.

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

- 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_connect as connect } from 'aws-cdk-lib';
const cfnTrafficDistributionGroupProps: connect.CfnTrafficDistributionGroupProps = {
  instanceArn: 'instanceArn',
  name: 'name',

  // the properties below are optional
  description: 'description',
  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_connect as connect

cfn_traffic_distribution_group_props = connect.CfnTrafficDistributionGroupProps(
    instance_arn="instanceArn",
    name="name",

    # the properties below are optional
    description="description",
    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.connect.*;

CfnTrafficDistributionGroupProps cfnTrafficDistributionGroupProps = CfnTrafficDistributionGroupProps.builder()
        .instanceArn("instanceArn")
        .name("name")

        // the properties below are optional
        .description("description")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C#:

```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.Connect;

var cfnTrafficDistributionGroupProps = new CfnTrafficDistributionGroupProps {
    InstanceArn = "instanceArn",
    Name = "name",

    // the properties below are optional
    Description = "description",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Go:

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

cfnTrafficDistributionGroupProps := &CfnTrafficDistributionGroupProps{
	InstanceArn: jsii.String("instanceArn"),
	Name: jsii.String("name"),

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

## Properties

- `description`: string — The description of the traffic distribution group.

- `instanceArn`: string (required) — The Amazon Resource Name (ARN).

- `name`: string (required) — The name of the traffic distribution group.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags used to organize, track, or control access for this resource.

  For example, {"tags": {"key1":"value1", "key2":"value2"} }.
