aws-cdk-lib.aws_imagebuilder.CfnDistributionConfiguration.AmiDistributionConfigurationProperty

interface AmiDistributionConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.ImageBuilder.CfnDistributionConfiguration.AmiDistributionConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnDistributionConfiguration_AmiDistributionConfigurationProperty
Javasoftware.amazon.awscdk.services.imagebuilder.CfnDistributionConfiguration.AmiDistributionConfigurationProperty
Pythonaws_cdk.aws_imagebuilder.CfnDistributionConfiguration.AmiDistributionConfigurationProperty
TypeScript aws-cdk-lib » aws_imagebuilder » CfnDistributionConfiguration » AmiDistributionConfigurationProperty

Define and configure the output AMIs of the pipeline.

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';
const amiDistributionConfigurationProperty: imagebuilder.CfnDistributionConfiguration.AmiDistributionConfigurationProperty = {
  amiTags: {
    amiTagsKey: 'amiTags',
  },
  description: 'description',
  kmsKeyId: 'kmsKeyId',
  launchPermissionConfiguration: {
    organizationalUnitArns: ['organizationalUnitArns'],
    organizationArns: ['organizationArns'],
    userGroups: ['userGroups'],
    userIds: ['userIds'],
  },
  name: 'name',
  targetAccountIds: ['targetAccountIds'],
};

Properties

NameTypeDescription
amiTags?IResolvable | { [string]: string }The tags to apply to AMIs distributed to this Region.
description?stringThe description of the AMI distribution configuration.
kmsKeyId?stringThe KMS key identifier used to encrypt the distributed image.
launchPermissionConfiguration?IResolvable | LaunchPermissionConfigurationPropertyLaunch permissions can be used to configure which AWS account s can use the AMI to launch instances.
name?stringThe name of the output AMI.
targetAccountIds?string[]The ID of an account to which you want to distribute an image.

amiTags?

Type: IResolvable | { [string]: string } (optional)

The tags to apply to AMIs distributed to this Region.


description?

Type: string (optional)

The description of the AMI distribution configuration.

Minimum and maximum length are in characters.


kmsKeyId?

Type: string (optional)

The KMS key identifier used to encrypt the distributed image.


launchPermissionConfiguration?

Type: IResolvable | LaunchPermissionConfigurationProperty (optional)

Launch permissions can be used to configure which AWS account s can use the AMI to launch instances.


name?

Type: string (optional)

The name of the output AMI.


targetAccountIds?

Type: string[] (optional)

The ID of an account to which you want to distribute an image.