Class CfnDistributionConfigurationProps
Properties for defining a CfnDistributionConfiguration
.
Inheritance
System.Object
CfnDistributionConfigurationProps
Implements
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDistributionConfigurationProps : Object, ICfnDistributionConfigurationProps
Syntax (vb)
Public Class CfnDistributionConfigurationProps
Inherits Object
Implements ICfnDistributionConfigurationProps
Remarks
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" }
} },
Name = "name",
// the properties below are optional
Description = "description",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
Synopsis
Constructors
CfnDistributionConfigurationProps() |
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. |
Constructors
CfnDistributionConfigurationProps()
public CfnDistributionConfigurationProps()
Properties
Description
The description of this distribution configuration.
public string Description { get; set; }
Property Value
System.String
Remarks
Distributions
The distributions of this distribution configuration formatted as an array of Distribution objects.
public object Distributions { get; set; }
Property Value
System.Object
Remarks
Name
The name of this distribution configuration.
public string Name { get; set; }
Property Value
System.String
Remarks
Tags
The tags of this distribution configuration.
public IDictionary<string, string> Tags { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>