AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ImageBuilder::DistributionConfiguration

CfnDistributionConfiguration

A distribution configuration allows you to specify the name and description of your output AMI, authorize other AWS account s to launch the AMI, and replicate the AMI to other AWS Regions . It also allows you to export the AMI to Amazon S3 .

Import

import { CfnDistributionConfiguration } from 'aws-cdk-lib/aws-imagebuilder';

Or use the module namespace:

import * as imagebuilder from 'aws-cdk-lib/aws-imagebuilder';
// imagebuilder.CfnDistributionConfiguration

Properties

Configuration passed to the constructor as CfnDistributionConfigurationProps.

distributionsRequired
IResolvable | IResolvable | DistributionProperty[]

The distributions of this distribution configuration formatted as an array of Distribution objects.

nameRequired
string

The name of this distribution configuration.

descriptionOptional
string

The description of this distribution configuration.

tagsOptional
{ [key: string]: string }

The tags of this distribution configuration.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter