interface CfnDistributionConfigurationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.CfnDistributionConfigurationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnDistributionConfigurationProps |
Java | software.amazon.awscdk.services.imagebuilder.CfnDistributionConfigurationProps |
Python | aws_cdk.aws_imagebuilder.CfnDistributionConfigurationProps |
TypeScript | aws-cdk-lib » aws_imagebuilder » CfnDistributionConfigurationProps |
Properties for defining a CfnDistributionConfiguration.
Example
// 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';
declare const amiDistributionConfiguration: any;
declare const containerDistributionConfiguration: any;
const cfnDistributionConfigurationProps: imagebuilder.CfnDistributionConfigurationProps = {
distributions: [{
region: 'region',
// the properties below are optional
amiDistributionConfiguration: amiDistributionConfiguration,
containerDistributionConfiguration: containerDistributionConfiguration,
fastLaunchConfigurations: [{
accountId: 'accountId',
enabled: false,
launchTemplate: {
launchTemplateId: 'launchTemplateId',
launchTemplateName: 'launchTemplateName',
launchTemplateVersion: 'launchTemplateVersion',
},
maxParallelLaunches: 123,
snapshotConfiguration: {
targetResourceCount: 123,
},
}],
launchTemplateConfigurations: [{
accountId: 'accountId',
launchTemplateId: 'launchTemplateId',
setDefaultVersion: false,
}],
licenseConfigurationArns: ['licenseConfigurationArns'],
ssmParameterConfigurations: [{
parameterName: 'parameterName',
// the properties below are optional
amiAccountId: 'amiAccountId',
dataType: 'dataType',
}],
}],
name: 'name',
// the properties below are optional
description: 'description',
tags: {
tagsKey: 'tags',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| distributions | IResolvable | (IResolvable | Distribution)[] | The distributions of this distribution configuration formatted as an array of Distribution objects. |
| name | string | The name of this distribution configuration. |
| description? | string | The description of this distribution configuration. |
| tags? | { [string]: string } | The tags of this distribution configuration. |
distributions
Type:
IResolvable | (IResolvable | Distribution)[]
The distributions of this distribution configuration formatted as an array of Distribution objects.
name
Type:
string
The name of this distribution configuration.
description?
Type:
string
(optional)
The description of this distribution configuration.
tags?
Type:
{ [string]: string }
(optional)
The tags of this distribution configuration.

.NET
Go
Java
Python
TypeScript