Class: Aws::Imagebuilder::Types::AmiDistributionConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb

Overview

Note:

When making an API call, you may pass AmiDistributionConfiguration data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ami_tagsHash<String,String>

The tags to apply to AMIs distributed to this Region.

Returns:

  • (Hash<String,String>)


100
101
102
103
104
105
106
107
108
109
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 100

class AmiDistributionConfiguration < Struct.new(
  :name,
  :description,
  :target_account_ids,
  :ami_tags,
  :kms_key_id,
  :launch_permission)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the distribution configuration. Minimum and maximum length are in characters.

Returns:

  • (String)


100
101
102
103
104
105
106
107
108
109
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 100

class AmiDistributionConfiguration < Struct.new(
  :name,
  :description,
  :target_account_ids,
  :ami_tags,
  :kms_key_id,
  :launch_permission)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

The KMS key identifier used to encrypt the distributed image.

Returns:

  • (String)


100
101
102
103
104
105
106
107
108
109
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 100

class AmiDistributionConfiguration < Struct.new(
  :name,
  :description,
  :target_account_ids,
  :ami_tags,
  :kms_key_id,
  :launch_permission)
  SENSITIVE = []
  include Aws::Structure
end

#launch_permissionTypes::LaunchPermissionConfiguration

Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.



100
101
102
103
104
105
106
107
108
109
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 100

class AmiDistributionConfiguration < Struct.new(
  :name,
  :description,
  :target_account_ids,
  :ami_tags,
  :kms_key_id,
  :launch_permission)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the distribution configuration.

Returns:

  • (String)


100
101
102
103
104
105
106
107
108
109
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 100

class AmiDistributionConfiguration < Struct.new(
  :name,
  :description,
  :target_account_ids,
  :ami_tags,
  :kms_key_id,
  :launch_permission)
  SENSITIVE = []
  include Aws::Structure
end

#target_account_idsArray<String>

The ID of an account to which you want to distribute an image.

Returns:

  • (Array<String>)


100
101
102
103
104
105
106
107
108
109
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 100

class AmiDistributionConfiguration < Struct.new(
  :name,
  :description,
  :target_account_ids,
  :ami_tags,
  :kms_key_id,
  :launch_permission)
  SENSITIVE = []
  include Aws::Structure
end