interface CfnDistributionConfigurationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ImageBuilder.CfnDistributionConfigurationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnDistributionConfigurationProps |
![]() | software.amazon.awscdk.services.imagebuilder.CfnDistributionConfigurationProps |
![]() | aws_cdk.aws_imagebuilder.CfnDistributionConfigurationProps |
![]() | 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'],
}],
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.