# ContainerDistributionConfigurationProperty

Container distribution settings for encryption, licensing, and sharing in a specific Region.

- 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_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const containerDistributionConfigurationProperty: imagebuilder.CfnDistributionConfiguration.ContainerDistributionConfigurationProperty = {
  containerTags: ['containerTags'],
  description: 'description',
  targetRepository: {
    repositoryName: 'repositoryName',
    service: 'service',
  },
};
```

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_imagebuilder as imagebuilder

container_distribution_configuration_property = imagebuilder.CfnDistributionConfiguration.ContainerDistributionConfigurationProperty(
    container_tags=["containerTags"],
    description="description",
    target_repository=imagebuilder.CfnDistributionConfiguration.TargetContainerRepositoryProperty(
        repository_name="repositoryName",
        service="service"
    )
)
```

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

ContainerDistributionConfigurationProperty containerDistributionConfigurationProperty = ContainerDistributionConfigurationProperty.builder()
        .containerTags(List.of("containerTags"))
        .description("description")
        .targetRepository(TargetContainerRepositoryProperty.builder()
                .repositoryName("repositoryName")
                .service("service")
                .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.ImageBuilder;

var containerDistributionConfigurationProperty = new ContainerDistributionConfigurationProperty {
    ContainerTags = new [] { "containerTags" },
    Description = "description",
    TargetRepository = new TargetContainerRepositoryProperty {
        RepositoryName = "repositoryName",
        Service = "service"
    }
};
```

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"

containerDistributionConfigurationProperty := &ContainerDistributionConfigurationProperty{
	ContainerTags: []*string{
		jsii.String("containerTags"),
	},
	Description: jsii.String("description"),
	TargetRepository: &TargetContainerRepositoryProperty{
		RepositoryName: jsii.String("repositoryName"),
		Service: jsii.String("service"),
	},
}
```

## Properties

- `containerTags`: string[] — Tags that are attached to the container distribution configuration.

- `description`: string — The description of the container distribution configuration.

- `targetRepository`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDistributionConfiguration.TargetContainerRepositoryProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_imagebuilder.CfnDistributionConfiguration.TargetContainerRepositoryProperty.html) — The destination repository for the container distribution configuration.
