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.
Type: objectProperties: 4
Amazon Web ServicesAutomationContainer ImagesEC2Image BuildingVirtual Machine Images
LaunchPermissionConfiguration is a JSON Structure definition published by Amazon EC2 Image Builder, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-image-builder/refs/heads/main/json-structure/ec2-image-builder-launch-permission-configuration-structure.json",
"name": "LaunchPermissionConfiguration",
"description": "Describes the configuration for a launch permission. The launch permission modification request is sent to the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html\">Amazon EC2 ModifyImageAttribute</a> 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 <code>all</code>. See the examples for making an AMI public at <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html\">Amazon EC2 ModifyImageAttribute</a>.",
"type": "object",
"properties": {
"userIds": {
"allOf": [
{
"$ref": "#/components/schemas/AccountList"
},
{
"description": "The Amazon Web Services account ID."
}
]
},
"userGroups": {
"allOf": [
{
"$ref": "#/components/schemas/StringList"
},
{
"description": "The name of the group."
}
]
},
"organizationArns": {
"allOf": [
{
"$ref": "#/components/schemas/OrganizationArnList"
},
{
"description": "The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html\">What is Organizations?</a>."
}
]
},
"organizationalUnitArns": {
"allOf": [
{
"$ref": "#/components/schemas/OrganizationalUnitArnList"
},
{
"description": "The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more information about key concepts for Organizations, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html\">Organizations terminology and concepts</a>."
}
]
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.