aws-cdk-lib.aws_imagebuilder.CfnDistributionConfigurationProps

interface CfnDistributionConfigurationProps

LanguageType name
.NETAmazon.CDK.AWS.ImageBuilder.CfnDistributionConfigurationProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnDistributionConfigurationProps
Javasoftware.amazon.awscdk.services.imagebuilder.CfnDistributionConfigurationProps
Pythonaws_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'],
  }],
  name: 'name',

  // the properties below are optional
  description: 'description',
  tags: {
    tagsKey: 'tags',
  },
};

Properties

NameTypeDescription
distributionsIResolvable | IResolvable | DistributionProperty[]The distributions of this distribution configuration formatted as an array of Distribution objects.
namestringThe name of this distribution configuration.
description?stringThe description of this distribution configuration.
tags?{ [string]: string }The tags of this distribution configuration.

distributions

Type: IResolvable | IResolvable | DistributionProperty[]

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.