Interface CfnDistributionConfiguration.IAmiDistributionConfigurationProperty
Define and configure the output AMIs of the pipeline.
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAmiDistributionConfigurationProperty
Syntax (vb)
Public Interface 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
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. |
Properties
AmiTags
The tags to apply to AMIs distributed to this Region.
virtual object AmiTags { get; }
Property Value
System.Object
Remarks
Description
The description of the AMI distribution configuration.
virtual string Description { get; }
Property Value
System.String
Remarks
KmsKeyId
The KMS key identifier used to encrypt the distributed image.
virtual string KmsKeyId { get; }
Property Value
System.String
Remarks
LaunchPermissionConfiguration
Launch permissions can be used to configure which AWS account s can use the AMI to launch instances.
virtual object LaunchPermissionConfiguration { get; }
Property Value
System.Object
Remarks
Name
The name of the output AMI.
virtual string Name { get; }
Property Value
System.String
Remarks
TargetAccountIds
The ID of an account to which you want to distribute an image.
virtual string[] TargetAccountIds { get; }
Property Value
System.String[]