pub struct CreateComponentRequest {
pub change_description: Option<String>,
pub client_token: String,
pub data: Option<String>,
pub description: Option<String>,
pub kms_key_id: Option<String>,
pub name: String,
pub platform: String,
pub semantic_version: String,
pub supported_os_versions: Option<Vec<String>>,
pub tags: Option<HashMap<String, String>>,
pub uri: Option<String>,
}
Fields§
§change_description: Option<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: Option<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: Option<String>
The description of the component. Describes the contents of the component.
kms_key_id: Option<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. 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).
supported_os_versions: Option<Vec<String>>
The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the parent image OS version during image recipe creation.
The tags of the component.
uri: Option<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.
Trait Implementations§
Source§impl Clone for CreateComponentRequest
impl Clone for CreateComponentRequest
Source§fn clone(&self) -> CreateComponentRequest
fn clone(&self) -> CreateComponentRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more