Class CfnDistributionConfiguration.LaunchPermissionConfigurationProperty
Describes the configuration for a launch permission.
Inheritance
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.AWS.ImageBuilder.dll
Syntax (csharp)
public class LaunchPermissionConfigurationProperty : Object, CfnDistributionConfiguration.ILaunchPermissionConfigurationProperty
Syntax (vb)
Public Class LaunchPermissionConfigurationProperty
Inherits Object
Implements CfnDistributionConfiguration.ILaunchPermissionConfigurationProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ImageBuilder;
var launchPermissionConfigurationProperty = new LaunchPermissionConfigurationProperty {
OrganizationalUnitArns = new [] { "organizationalUnitArns" },
OrganizationArns = new [] { "organizationArns" },
UserGroups = new [] { "userGroups" },
UserIds = new [] { "userIds" }
};
Synopsis
Constructors
LaunchPermissionConfigurationProperty() |
Properties
OrganizationalUnitArns | The ARN for an AWS Organizations organizational unit (OU) that you want to share your AMI with. |
OrganizationArns | The ARN for an AWS Organization that you want to share your AMI with. |
UserGroups | The name of the group. |
UserIds | The AWS account ID. |
Constructors
LaunchPermissionConfigurationProperty()
public LaunchPermissionConfigurationProperty()
Properties
OrganizationalUnitArns
The ARN for an AWS Organizations organizational unit (OU) that you want to share your AMI with.
public string[] OrganizationalUnitArns { get; set; }
Property Value
System.String[]
Remarks
For more information about key concepts for AWS Organizations , see AWS Organizations terminology and concepts .
OrganizationArns
The ARN for an AWS Organization that you want to share your AMI with.
public string[] OrganizationArns { get; set; }
Property Value
System.String[]
Remarks
For more information, see What is AWS Organizations ? .
UserGroups
The name of the group.
public string[] UserGroups { get; set; }
Property Value
System.String[]
Remarks
UserIds
The AWS account ID.
public string[] UserIds { get; set; }
Property Value
System.String[]