{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-image-builder/refs/heads/main/json-structure/ec2-image-builder-import-component-request-structure.json", "name": "ImportComponentRequest", "description": "ImportComponentRequest schema from EC2 Image Builder", "type": "object", "properties": { "name": { "allOf": [ { "$ref": "#/components/schemas/ResourceName" }, { "description": "The name of the component." } ] }, "semanticVersion": { "allOf": [ { "$ref": "#/components/schemas/VersionNumber" }, { "description": "
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.
data or uri can be used to specify the data within the component."
}
]
},
"uri": {
"allOf": [
{
"$ref": "#/components/schemas/Uri"
},
{
"description": "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."
}
]
},
"kmsKeyId": {
"allOf": [
{
"$ref": "#/components/schemas/NonEmptyString"
},
{
"description": "The ID of the KMS key that should be used to encrypt this component."
}
]
},
"tags": {
"allOf": [
{
"$ref": "#/components/schemas/TagMap"
},
{
"description": "The tags of the component."
}
]
},
"clientToken": {
"allOf": [
{
"$ref": "#/components/schemas/ClientToken"
},
{
"description": "The idempotency token of the component."
}
]
}
},
"required": [
"name",
"semanticVersion",
"type",
"format",
"platform",
"clientToken"
]
}