Class CfnDistributionConfiguration.AmiDistributionConfigurationProperty
Define and configure the output AMIs of the pipeline.
Inheritance
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AmiDistributionConfigurationProperty : Object, CfnDistributionConfiguration.IAmiDistributionConfigurationProperty
Syntax (vb)
Public Class AmiDistributionConfigurationProperty
Inherits Object
Implements CfnDistributionConfiguration.IAmiDistributionConfigurationProperty
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 amiDistributionConfigurationProperty = new AmiDistributionConfigurationProperty {
AmiTags = new Dictionary<string, string> {
{ "amiTagsKey", "amiTags" }
},
Description = "description",
KmsKeyId = "kmsKeyId",
LaunchPermissionConfiguration = new LaunchPermissionConfigurationProperty {
OrganizationalUnitArns = new [] { "organizationalUnitArns" },
OrganizationArns = new [] { "organizationArns" },
UserGroups = new [] { "userGroups" },
UserIds = new [] { "userIds" }
},
Name = "name",
TargetAccountIds = new [] { "targetAccountIds" }
};
Synopsis
Constructors
AmiDistributionConfigurationProperty() |
Properties
AmiTags | The tags to apply to AMIs distributed to this Region. |
Description | The description of the AMI distribution configuration. |
KmsKeyId | The KMS key identifier used to encrypt the distributed image. |
LaunchPermissionConfiguration | Launch permissions can be used to configure which AWS account s can use the AMI to launch instances. |
Name | The name of the output AMI. |
TargetAccountIds | The ID of an account to which you want to distribute an image. |
Constructors
AmiDistributionConfigurationProperty()
public AmiDistributionConfigurationProperty()
Properties
AmiTags
The tags to apply to AMIs distributed to this Region.
public object AmiTags { get; set; }
Property Value
System.Object
Remarks
Description
The description of the AMI distribution configuration.
public string Description { get; set; }
Property Value
System.String
Remarks
KmsKeyId
The KMS key identifier used to encrypt the distributed image.
public string KmsKeyId { get; set; }
Property Value
System.String
Remarks
LaunchPermissionConfiguration
Launch permissions can be used to configure which AWS account s can use the AMI to launch instances.
public object LaunchPermissionConfiguration { get; set; }
Property Value
System.Object
Remarks
Name
The name of the output AMI.
public string Name { get; set; }
Property Value
System.String
Remarks
TargetAccountIds
The ID of an account to which you want to distribute an image.
public string[] TargetAccountIds { get; set; }
Property Value
System.String[]