Interface CfnDistributionConfiguration.IDistributionProperty
The distribution configuration distribution defines the settings for a specific Region in the Distribution Configuration.
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.AWS.ImageBuilder.dll
Syntax (csharp)
public interface IDistributionProperty
Syntax (vb)
Public Interface 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:
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
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 |
|
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. |
Properties
AmiDistributionConfiguration
The specific AMI settings, such as launch permissions and AMI tags.
virtual object AmiDistributionConfiguration { get; }
Property Value
System.Object
Remarks
ContainerDistributionConfiguration
Container distribution settings for encryption, licensing, and sharing in a specific Region.
virtual object ContainerDistributionConfiguration { get; }
Property Value
System.Object
Remarks
FastLaunchConfigurations
CfnDistributionConfiguration.DistributionProperty.FastLaunchConfigurations
.
virtual object FastLaunchConfigurations { get; }
Property Value
System.Object
Remarks
LaunchTemplateConfigurations
A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.
virtual object LaunchTemplateConfigurations { get; }
Property Value
System.Object
Remarks
LicenseConfigurationArns
The License Manager Configuration to associate with the AMI in the specified Region.
virtual string[] LicenseConfigurationArns { get; }
Property Value
System.String[]
Remarks
Region
The target Region for the Distribution Configuration.
string Region { get; }
Property Value
System.String