Skip to content
v2.274.0

CfnDistributionConfigurationProps Struct ​

Properties for defining a CfnDistributionConfiguration.

Example ​

ts
// 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 ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of this distribution configuration.
distributionsIResolvable | IResolvable | CfnDistributionConfiguration.DistributionProperty[]distributionstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DistributionProperty]]]distributionsIResolvableDistributionsIResolvableDistributionsinterface{}required#
The distributions of this distribution configuration formatted as an array of Distribution objects.
namestringnamestrnameStringNamestringName*stringrequired#
The name of this distribution configuration.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string#
The tags of this distribution configuration.