Show / Hide Table of Contents

Interface ICfnDistributionConfigurationProps

Properties for defining a CfnDistributionConfiguration.

Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnDistributionConfigurationProps
Syntax (vb)
Public Interface ICfnDistributionConfigurationProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-distributionconfiguration.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 cfnDistributionConfigurationProps = new CfnDistributionConfigurationProps {
                 Distributions = new [] { 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" },
                     SsmParameterConfigurations = new [] { new SsmParameterConfigurationProperty {
                         ParameterName = "parameterName",

                         // the properties below are optional
                         AmiAccountId = "amiAccountId",
                         DataType = "dataType"
                     } }
                 } },
                 Name = "name",

                 // the properties below are optional
                 Description = "description",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 }
             };

Synopsis

Properties

Description

The description of this distribution configuration.

Distributions

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

Name

The name of this distribution configuration.

Tags

The tags of this distribution configuration.

Properties

Description

The description of this distribution configuration.

string? Description { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-distributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-description

Distributions

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

object Distributions { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-distributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-distributions

Name

The name of this distribution configuration.

string Name { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-distributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-name

Tags

The tags of this distribution configuration.

IDictionary<string, string>? Tags { get; }
Property Value

IDictionary<string, string>

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-distributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-tags

Back to top Generated by DocFX