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();
 

See Also: