Show / Hide Table of Contents

Class CfnDistributionConfiguration.DistributionProperty

The distribution configuration distribution defines the settings for a specific Region in the Distribution Configuration.

Inheritance
System.Object
CfnDistributionConfiguration.DistributionProperty
Implements
CfnDistributionConfiguration.IDistributionProperty
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.AWS.ImageBuilder.dll
Syntax (csharp)
public class DistributionProperty : Object, CfnDistributionConfiguration.IDistributionProperty
Syntax (vb)
Public Class DistributionProperty
    Inherits Object
    Implements CfnDistributionConfiguration.IDistributionProperty
Remarks

You must specify whether the distribution is for an AMI or a container image. To do so, include exactly one of the following data types for your distribution:

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html

    ExampleMetadata: fixture=_generated

    Examples
    // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    using Amazon.CDK.AWS.ImageBuilder;
    
    var amiDistributionConfiguration;
    var containerDistributionConfiguration;
    
    var distributionProperty = new DistributionProperty {
        Region = "region",
    
        // the properties below are optional
        AmiDistributionConfiguration = amiDistributionConfiguration,
        ContainerDistributionConfiguration = containerDistributionConfiguration,
        FastLaunchConfigurations = new [] { new FastLaunchConfigurationProperty {
            AccountId = "accountId",
            Enabled = false,
            LaunchTemplate = new FastLaunchLaunchTemplateSpecificationProperty {
                LaunchTemplateId = "launchTemplateId",
                LaunchTemplateName = "launchTemplateName",
                LaunchTemplateVersion = "launchTemplateVersion"
            },
            MaxParallelLaunches = 123,
            SnapshotConfiguration = new FastLaunchSnapshotConfigurationProperty {
                TargetResourceCount = 123
            }
        } },
        LaunchTemplateConfigurations = new [] { new LaunchTemplateConfigurationProperty {
            AccountId = "accountId",
            LaunchTemplateId = "launchTemplateId",
            SetDefaultVersion = false
        } },
        LicenseConfigurationArns = new [] { "licenseConfigurationArns" }
    };

    Synopsis

    Constructors

    DistributionProperty()

    Properties

    AmiDistributionConfiguration

    The specific AMI settings, such as launch permissions and AMI tags.

    ContainerDistributionConfiguration

    Container distribution settings for encryption, licensing, and sharing in a specific Region.

    FastLaunchConfigurations

    CfnDistributionConfiguration.DistributionProperty.FastLaunchConfigurations.

    LaunchTemplateConfigurations

    A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.

    LicenseConfigurationArns

    The License Manager Configuration to associate with the AMI in the specified Region.

    Region

    The target Region for the Distribution Configuration.

    Constructors

    DistributionProperty()

    public DistributionProperty()

    Properties

    AmiDistributionConfiguration

    The specific AMI settings, such as launch permissions and AMI tags.

    public object AmiDistributionConfiguration { get; set; }
    Property Value

    System.Object

    Remarks

    For details, see example schema below.

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-amidistributionconfiguration

    ContainerDistributionConfiguration

    Container distribution settings for encryption, licensing, and sharing in a specific Region.

    public object ContainerDistributionConfiguration { get; set; }
    Property Value

    System.Object

    Remarks

    For details, see example schema below.

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-containerdistributionconfiguration

    FastLaunchConfigurations

    CfnDistributionConfiguration.DistributionProperty.FastLaunchConfigurations.

    public object FastLaunchConfigurations { get; set; }
    Property Value

    System.Object

    Remarks

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-fastlaunchconfigurations

    LaunchTemplateConfigurations

    A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.

    public object LaunchTemplateConfigurations { get; set; }
    Property Value

    System.Object

    Remarks

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-launchtemplateconfigurations

    LicenseConfigurationArns

    The License Manager Configuration to associate with the AMI in the specified Region.

    public string[] LicenseConfigurationArns { get; set; }
    Property Value

    System.String[]

    Remarks

    For more information, see the LicenseConfiguration API .

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-licenseconfigurationarns

    Region

    The target Region for the Distribution Configuration.

    public string Region { get; set; }
    Property Value

    System.String

    Remarks

    For example, eu-west-1 .

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-region

    Implements

    CfnDistributionConfiguration.IDistributionProperty
    Back to top Generated by DocFX