@Stability(value=Stable)
public static interface CfnDistributionConfiguration.LaunchPermissionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The launch permission modification request is sent to the Amazon EC2 ModifyImageAttribute API on behalf of the user for each Region they have selected to distribute the AMI. To make an AMI public, set the launch permission authorized accounts to all . See the examples for making an AMI public at Amazon EC2 ModifyImageAttribute .
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.*;
LaunchPermissionConfigurationProperty launchPermissionConfigurationProperty = LaunchPermissionConfigurationProperty.builder()
.organizationalUnitArns(List.of("organizationalUnitArns"))
.organizationArns(List.of("organizationArns"))
.userGroups(List.of("userGroups"))
.userIds(List.of("userIds"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDistributionConfiguration.LaunchPermissionConfigurationProperty.Builder
|
static class |
CfnDistributionConfiguration.LaunchPermissionConfigurationProperty.Jsii$Proxy
An implementation for
CfnDistributionConfiguration.LaunchPermissionConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDistributionConfiguration.LaunchPermissionConfigurationProperty.Builder |
builder() |
default List<String> |
getOrganizationalUnitArns()
The ARN for an AWS Organizations organizational unit (OU) that you want to share your AMI with.
|
default List<String> |
getOrganizationArns()
The ARN for an AWS Organization that you want to share your AMI with.
|
default List<String> |
getUserGroups()
The name of the group.
|
default List<String> |
getUserIds()
The AWS account ID.
|
@Stability(value=Stable) @Nullable default List<String> getOrganizationalUnitArns()
For more information about key concepts for AWS Organizations , see AWS Organizations terminology and concepts .
@Stability(value=Stable) @Nullable default List<String> getOrganizationArns()
For more information, see What is AWS Organizations ? .
@Stability(value=Stable) @Nullable default List<String> getUserGroups()
@Stability(value=Stable) static CfnDistributionConfiguration.LaunchPermissionConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.