You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Imagebuilder::Types::ImportComponentRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Imagebuilder::Types::ImportComponentRequest
- Defined in:
- (unknown)
Overview
When passing ImportComponentRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "ResourceName", # required
semantic_version: "VersionNumber", # required
description: "NonEmptyString",
change_description: "NonEmptyString",
type: "BUILD", # required, accepts BUILD, TEST
format: "SHELL", # required, accepts SHELL
platform: "Windows", # required, accepts Windows, Linux
data: "NonEmptyString",
uri: "Uri",
kms_key_id: "NonEmptyString",
tags: {
"TagKey" => "TagValue",
},
client_token: "ClientToken", # required
}
Instance Attribute Summary collapse
-
#change_description ⇒ String
The change description of the component.
-
#client_token ⇒ String
The idempotency token of the component.
-
#data ⇒ String
The data of the component.
-
#description ⇒ String
The description of the component.
-
#format ⇒ String
The format of the resource that you want to import as a component.
-
#kms_key_id ⇒ String
The ID of the KMS key that should be used to encrypt this component.
-
#name ⇒ String
The name of the component.
-
#platform ⇒ String
The platform of the component.
-
#semantic_version ⇒ String
The semantic version of the component.
-
#tags ⇒ Hash<String,String>
The tags of the component.
-
#type ⇒ String
The type of the component denotes whether the component is used to build the image or only to test it.
-
#uri ⇒ String
The uri of the component.
Instance Attribute Details
#change_description ⇒ String
The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component.
#client_token ⇒ String
The idempotency token of the component.
#data ⇒ String
The data of the component. Used to specify the data inline. Either
data
or uri
can be used to specify the data within the component.
#description ⇒ String
The description of the component. Describes the contents of the component.
#format ⇒ String
The format of the resource that you want to import as a component.
Possible values:
- SHELL
#kms_key_id ⇒ String
The ID of the KMS key that should be used to encrypt this component.
#name ⇒ String
The name of the component.
#platform ⇒ String
The platform of the component.
Possible values:
- Windows
- Linux
#semantic_version ⇒ String
The semantic version of the component. This version follows the semantic version syntax. For example, major.minor.patch. This could be versioned like software (2.0.1) or like a date (2019.12.01).
#tags ⇒ Hash<String,String>
The tags of the component.
#type ⇒ String
The type of the component denotes whether the component is used to build the image or only to test it.
Possible values:
- BUILD
- TEST
#uri ⇒ String
The uri of the component. Must be an S3 URL and the requester must have
permission to access the S3 bucket. If you use S3, you can specify
component content up to your service quota. Either data
or uri
can
be used to specify the data within the component.