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
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
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.
virtual string Description { get; }
Property Value
System.String
Remarks
Distributions
The distributions of this distribution configuration formatted as an array of Distribution objects.
object Distributions { get; }
Property Value
System.Object
Remarks
Name
The name of this distribution configuration.
string Name { get; }
Property Value
System.String
Remarks
Tags
The tags of this distribution configuration.
virtual IDictionary<string, string> Tags { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>