Imports a component and transforms its data into a component document.
See https://www.paws-r-sdk.com/docs/imagebuilder_import_component/ for full documentation.
imagebuilder_import_component(
name,
semanticVersion,
description = NULL,
changeDescription = NULL,
type,
format,
platform,
data = NULL,
uri = NULL,
kmsKeyId = NULL,
tags = NULL,
clientToken
)
[required] The name of the component.
[required] The semantic version of the component. This version follows the semantic version syntax.
The semantic version has four nodes: \<major\>.\<minor\>.\<patch\>/\<build\>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
The description of the component. Describes the contents of the component.
The change description of the component. This description indicates the change that has been made in this version, or what makes this version different from other versions of the component.
[required] The type of the component denotes whether the component is used to build the image, or only to test it.
[required] The format of the resource that you want to import as a component.
[required] The platform of the component.
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.
The uri of the component. Must be an Amazon S3 URL and the requester
must have permission to access the Amazon S3 bucket. If you use Amazon
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.
The ID of the KMS key that should be used to encrypt this component.
The tags of the component.
[required] Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.