You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Imagebuilder::Types::AmiDistributionConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Imagebuilder::Types::AmiDistributionConfiguration
- Defined in:
- (unknown)
Overview
When passing AmiDistributionConfiguration as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "AmiNameString",
description: "NonEmptyString",
target_account_ids: ["AccountId"],
ami_tags: {
"TagKey" => "TagValue",
},
kms_key_id: "NonEmptyString",
launch_permission: {
user_ids: ["AccountId"],
user_groups: ["NonEmptyString"],
},
}
Define and configure the output AMIs of the pipeline.
Returned by:
Instance Attribute Summary collapse
-
#ami_tags ⇒ Hash<String,String>
The tags to apply to AMIs distributed to this Region.
-
#description ⇒ String
The description of the distribution configuration.
-
#kms_key_id ⇒ String
The KMS key identifier used to encrypt the distributed image.
-
#launch_permission ⇒ Types::LaunchPermissionConfiguration
Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
-
#name ⇒ String
The name of the distribution configuration.
-
#target_account_ids ⇒ Array<String>
The ID of an account to which you want to distribute an image.
Instance Attribute Details
#ami_tags ⇒ Hash<String,String>
The tags to apply to AMIs distributed to this Region.
#description ⇒ String
The description of the distribution configuration. Minimum and maximum length are in characters.
#kms_key_id ⇒ String
The KMS key identifier used to encrypt the distributed image.
#launch_permission ⇒ Types::LaunchPermissionConfiguration
Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
#name ⇒ String
The name of the distribution configuration.
#target_account_ids ⇒ Array<String>
The ID of an account to which you want to distribute an image.