Interface CfnDistributionConfiguration.LaunchPermissionConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDistributionConfiguration.LaunchPermissionConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDistributionConfiguration
@Stability(Stable)
public static interface CfnDistributionConfiguration.LaunchPermissionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Describes the configuration for a launch permission.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnDistributionConfiguration.LaunchPermissionConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The ARN for an AWS Organizations organizational unit (OU) that you want to share your AMI with.The ARN for an AWS Organization that you want to share your AMI with.The name of the group.The AWS account ID.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOrganizationalUnitArns
The ARN for an AWS Organizations organizational unit (OU) that you want to share your AMI with.For more information about key concepts for AWS Organizations , see AWS Organizations terminology and concepts .
-
getOrganizationArns
The ARN for an AWS Organization that you want to share your AMI with.For more information, see What is AWS Organizations ? .
-
getUserGroups
The name of the group. -
getUserIds
The AWS account ID. -
builder
@Stability(Stable) static CfnDistributionConfiguration.LaunchPermissionConfigurationProperty.Builder builder()
-