@Stability(value=Stable)
public static interface CfnDistributionConfiguration.AmiDistributionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDistributionConfiguration.AmiDistributionConfigurationProperty.Builder
|
static class |
CfnDistributionConfiguration.AmiDistributionConfigurationProperty.Jsii$Proxy
An implementation for
CfnDistributionConfiguration.AmiDistributionConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDistributionConfiguration.AmiDistributionConfigurationProperty.Builder |
builder() |
default Object |
getAmiTags()
The tags to apply to AMIs distributed to this Region.
|
default String |
getDescription()
The description of the AMI distribution configuration.
|
default String |
getKmsKeyId()
The KMS key identifier used to encrypt the distributed image.
|
default Object |
getLaunchPermissionConfiguration()
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.
|
default List<String> |
getTargetAccountIds()
The ID of an account to which you want to distribute an image.
|
@Stability(value=Stable) @Nullable default Object getAmiTags()
@Stability(value=Stable) @Nullable default String getDescription()
Minimum and maximum length are in characters.
@Stability(value=Stable) @Nullable default String getKmsKeyId()
@Stability(value=Stable) @Nullable default Object getLaunchPermissionConfiguration()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default List<String> getTargetAccountIds()
@Stability(value=Stable) static CfnDistributionConfiguration.AmiDistributionConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.