Skip to content

Component

Source code in docs_src/capo_imagebuilder/types/component.py
class Component(TypedDict, closed=True):
    arn: NotRequired["capo_imagebuilder.types.image_builder_arn.ImageBuilderArn"]
    """<p>The Amazon Resource Name (ARN) of the component.</p>"""
    name: NotRequired["capo_imagebuilder.types.resource_name.ResourceName"]
    """<p>The name of the component.</p>"""
    version: NotRequired["capo_imagebuilder.types.version_number.VersionNumber"]
    """<p>The version of the component.</p>"""
    description: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>The description of the component.</p>"""
    change_description: NotRequired[
        "capo_imagebuilder.types.non_empty_string.NonEmptyString"
    ]
    """<p>Describes what change has been made in this version of the component, or what makes this version different from other versions of the component.</p>"""
    type: NotRequired["capo_imagebuilder.types.component_type.ComponentType"]
    """<p>The component type specifies whether Image Builder uses the component to build the image or only to test it.</p>"""
    platform: NotRequired["capo_imagebuilder.types.platform.Platform"]
    """<p>The operating system platform of the component.</p>"""
    supported_os_versions: NotRequired[
        "capo_imagebuilder.types.os_version_list.OsVersionList"
    ]
    """<p>The operating system (OS) version supported by the component. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.</p>"""
    state: NotRequired["capo_imagebuilder.types.component_state.ComponentState"]
    """<p>Describes the current status of the component.</p>"""
    parameters: NotRequired[
        "capo_imagebuilder.types.component_parameter_detail_list.ComponentParameterDetailList"
    ]
    """<p>Contains parameter details for each of the parameters that the component document defined for the component.</p>"""
    owner: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>The owner of the component. The value is your account ID for components that you own, the sharing account's ID for shared components, or <code>Amazon</code>, <code>ThirdParty</code>, or <code>AWSMarketplace</code>.</p>"""
    data: NotRequired["capo_imagebuilder.types.component_data.ComponentData"]
    """<p>Component data contains the YAML document content for the component.</p>"""
    kms_key_id: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>The KMS key identifier used to encrypt the component. This can be either the Key ARN or the Alias ARN. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">Key identifiers (KeyId)</a> in the <i>Key Management Service Developer Guide</i>.</p>"""
    encrypted: NotRequired["capo_imagebuilder.types.nullable_boolean.NullableBoolean"]
    """<p>Indicates whether the component data is encrypted at rest. Image Builder encrypts all component data at rest, so this value is always <code>true</code>. This field is retained for backward compatibility.</p>"""
    date_created: NotRequired["capo_imagebuilder.types.date_time.DateTime"]
    """<p>The date that Image Builder created the component.</p>"""
    tags: NotRequired["capo_imagebuilder.types.tag_map.TagMap"]
    """<p>The tags that apply to the component.</p>"""
    publisher: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.</p>"""
    obfuscate: "capo_imagebuilder.types.boolean.Boolean"
    """<p>Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.</p>"""
    product_codes: NotRequired[
        "capo_imagebuilder.types.product_code_list.ProductCodeList"
    ]
    """<p>Contains product codes that are used for billing purposes for Amazon Web Services Marketplace components.</p>"""

arn instance-attribute

arn: NotRequired[ImageBuilderArn]

The Amazon Resource Name (ARN) of the component.

change_description instance-attribute

change_description: NotRequired[NonEmptyString]

Describes what change has been made in this version of the component, or what makes this version different from other versions of the component.

data instance-attribute

data: NotRequired[ComponentData]

Component data contains the YAML document content for the component.

date_created instance-attribute

date_created: NotRequired[DateTime]

The date that Image Builder created the component.

description instance-attribute

description: NotRequired[NonEmptyString]

The description of the component.

encrypted instance-attribute

encrypted: NotRequired[NullableBoolean]

Indicates whether the component data is encrypted at rest. Image Builder encrypts all component data at rest, so this value is always true. This field is retained for backward compatibility.

kms_key_id instance-attribute

kms_key_id: NotRequired[NonEmptyString]

The KMS key identifier used to encrypt the component. This can be either the Key ARN or the Alias ARN. For more information, see Key identifiers (KeyId) in the Key Management Service Developer Guide.

name instance-attribute

name: NotRequired[ResourceName]

The name of the component.

obfuscate instance-attribute

obfuscate: Boolean

Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.

owner instance-attribute

owner: NotRequired[NonEmptyString]

The owner of the component. The value is your account ID for components that you own, the sharing account's ID for shared components, or Amazon, ThirdParty, or AWSMarketplace.

parameters instance-attribute

parameters: NotRequired[ComponentParameterDetailList]

Contains parameter details for each of the parameters that the component document defined for the component.

platform instance-attribute

platform: NotRequired[Platform]

The operating system platform of the component.

product_codes instance-attribute

product_codes: NotRequired[ProductCodeList]

Contains product codes that are used for billing purposes for Amazon Web Services Marketplace components.

publisher instance-attribute

publisher: NotRequired[NonEmptyString]

Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.

state instance-attribute

state: NotRequired[ComponentState]

Describes the current status of the component.

supported_os_versions instance-attribute

supported_os_versions: NotRequired[OsVersionList]

The operating system (OS) version supported by the component. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.

tags instance-attribute

tags: NotRequired[TagMap]

The tags that apply to the component.

type instance-attribute

type: NotRequired[ComponentType]

The component type specifies whether Image Builder uses the component to build the image or only to test it.

version instance-attribute

version: NotRequired[VersionNumber]

The version of the component.