Interface CfnDistributionConfiguration.AmiDistributionConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDistributionConfiguration.AmiDistributionConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDistributionConfiguration
@Stability(Stable)
public static interface CfnDistributionConfiguration.AmiDistributionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Define and configure the output AMIs of the pipeline.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.imagebuilder.*; AmiDistributionConfigurationProperty amiDistributionConfigurationProperty = AmiDistributionConfigurationProperty.builder() .amiTags(Map.of( "amiTagsKey", "amiTags")) .description("description") .kmsKeyId("kmsKeyId") .launchPermissionConfiguration(LaunchPermissionConfigurationProperty.builder() .organizationalUnitArns(List.of("organizationalUnitArns")) .organizationArns(List.of("organizationArns")) .userGroups(List.of("userGroups")) .userIds(List.of("userIds")) .build()) .name("name") .targetAccountIds(List.of("targetAccountIds")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnDistributionConfiguration.AmiDistributionConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The tags to apply to AMIs distributed to this Region.default String
The description of the AMI distribution configuration.default String
The KMS key identifier used to encrypt the distributed image.default Object
Launch permissions can be used to configure which AWS account s can use the AMI to launch instances.default String
getName()
The name of the output AMI.The ID of an account to which you want to distribute an image.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAmiTags
The tags to apply to AMIs distributed to this Region.- See Also:
-
getDescription
The description of the AMI distribution configuration.Minimum and maximum length are in characters.
- See Also:
-
getKmsKeyId
The KMS key identifier used to encrypt the distributed image.- See Also:
-
getLaunchPermissionConfiguration
Launch permissions can be used to configure which AWS account s can use the AMI to launch instances.- See Also:
-
getName
The name of the output AMI.- See Also:
-
getTargetAccountIds
The ID of an account to which you want to distribute an image.- See Also:
-
builder
@Stability(Stable) static CfnDistributionConfiguration.AmiDistributionConfigurationProperty.Builder builder()
-