1. Packages
  2. AWS Classic
  3. API Docs
  4. imagebuilder
  5. Component

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.31.0 published on Monday, Apr 15, 2024 by Pulumi

aws.imagebuilder.Component

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.31.0 published on Monday, Apr 15, 2024 by Pulumi

    Manages an Image Builder Component.

    Example Usage

    URI Document

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.imagebuilder.Component("example", {
        name: "example",
        platform: "Linux",
        uri: `s3://${exampleAwsS3Object.bucket}/${exampleAwsS3Object.key}`,
        version: "1.0.0",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.imagebuilder.Component("example",
        name="example",
        platform="Linux",
        uri=f"s3://{example_aws_s3_object['bucket']}/{example_aws_s3_object['key']}",
        version="1.0.0")
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/imagebuilder"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := imagebuilder.NewComponent(ctx, "example", &imagebuilder.ComponentArgs{
    			Name:     pulumi.String("example"),
    			Platform: pulumi.String("Linux"),
    			Uri:      pulumi.String(fmt.Sprintf("s3://%v/%v", exampleAwsS3Object.Bucket, exampleAwsS3Object.Key)),
    			Version:  pulumi.String("1.0.0"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.ImageBuilder.Component("example", new()
        {
            Name = "example",
            Platform = "Linux",
            Uri = $"s3://{exampleAwsS3Object.Bucket}/{exampleAwsS3Object.Key}",
            Version = "1.0.0",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.imagebuilder.Component;
    import com.pulumi.aws.imagebuilder.ComponentArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Component("example", ComponentArgs.builder()        
                .name("example")
                .platform("Linux")
                .uri(String.format("s3://%s/%s", exampleAwsS3Object.bucket(),exampleAwsS3Object.key()))
                .version("1.0.0")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:imagebuilder:Component
        properties:
          name: example
          platform: Linux
          uri: s3://${exampleAwsS3Object.bucket}/${exampleAwsS3Object.key}
          version: 1.0.0
    

    Create Component Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
    @overload
    def Component(resource_name: str,
                  args: ComponentArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Component(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  platform: Optional[str] = None,
                  version: Optional[str] = None,
                  change_description: Optional[str] = None,
                  data: Optional[str] = None,
                  description: Optional[str] = None,
                  kms_key_id: Optional[str] = None,
                  name: Optional[str] = None,
                  skip_destroy: Optional[bool] = None,
                  supported_os_versions: Optional[Sequence[str]] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  uri: Optional[str] = None)
    func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
    public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
    public Component(String name, ComponentArgs args)
    public Component(String name, ComponentArgs args, CustomResourceOptions options)
    
    type: aws:imagebuilder:Component
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ComponentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ComponentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ComponentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ComponentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ComponentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var componentResource = new Aws.ImageBuilder.Component("componentResource", new()
    {
        Platform = "string",
        Version = "string",
        ChangeDescription = "string",
        Data = "string",
        Description = "string",
        KmsKeyId = "string",
        Name = "string",
        SkipDestroy = false,
        SupportedOsVersions = new[]
        {
            "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
        Uri = "string",
    });
    
    example, err := imagebuilder.NewComponent(ctx, "componentResource", &imagebuilder.ComponentArgs{
    	Platform:          pulumi.String("string"),
    	Version:           pulumi.String("string"),
    	ChangeDescription: pulumi.String("string"),
    	Data:              pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	KmsKeyId:          pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	SkipDestroy:       pulumi.Bool(false),
    	SupportedOsVersions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Uri: pulumi.String("string"),
    })
    
    var componentResource = new Component("componentResource", ComponentArgs.builder()        
        .platform("string")
        .version("string")
        .changeDescription("string")
        .data("string")
        .description("string")
        .kmsKeyId("string")
        .name("string")
        .skipDestroy(false)
        .supportedOsVersions("string")
        .tags(Map.of("string", "string"))
        .uri("string")
        .build());
    
    component_resource = aws.imagebuilder.Component("componentResource",
        platform="string",
        version="string",
        change_description="string",
        data="string",
        description="string",
        kms_key_id="string",
        name="string",
        skip_destroy=False,
        supported_os_versions=["string"],
        tags={
            "string": "string",
        },
        uri="string")
    
    const componentResource = new aws.imagebuilder.Component("componentResource", {
        platform: "string",
        version: "string",
        changeDescription: "string",
        data: "string",
        description: "string",
        kmsKeyId: "string",
        name: "string",
        skipDestroy: false,
        supportedOsVersions: ["string"],
        tags: {
            string: "string",
        },
        uri: "string",
    });
    
    type: aws:imagebuilder:Component
    properties:
        changeDescription: string
        data: string
        description: string
        kmsKeyId: string
        name: string
        platform: string
        skipDestroy: false
        supportedOsVersions:
            - string
        tags:
            string: string
        uri: string
        version: string
    

    Component Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Component resource accepts the following input properties:

    Platform string
    Platform of the component.
    Version string

    Version of the component.

    The following attributes are optional:

    ChangeDescription string
    Change description of the component.
    Data string
    Inline YAML string with data of the component. Exactly one of data and uri can be specified. the provider will only perform drift detection of its value when present in a configuration.
    Description string
    Description of the component.
    KmsKeyId string
    Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
    Name string
    Name of the component.
    SkipDestroy bool
    Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to false.
    SupportedOsVersions List<string>
    Set of Operating Systems (OS) supported by the component.
    Tags Dictionary<string, string>
    Key-value map of resource tags for the component. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Uri string

    S3 URI with data of the component. Exactly one of data and uri can be specified.

    NOTE: Updating data or uri requires specifying a new version. This causes replacement of the resource. The skip_destroy argument can be used to retain the old version.

    Platform string
    Platform of the component.
    Version string

    Version of the component.

    The following attributes are optional:

    ChangeDescription string
    Change description of the component.
    Data string
    Inline YAML string with data of the component. Exactly one of data and uri can be specified. the provider will only perform drift detection of its value when present in a configuration.
    Description string
    Description of the component.
    KmsKeyId string
    Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
    Name string
    Name of the component.
    SkipDestroy bool
    Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to false.
    SupportedOsVersions []string
    Set of Operating Systems (OS) supported by the component.
    Tags map[string]string
    Key-value map of resource tags for the component. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Uri string

    S3 URI with data of the component. Exactly one of data and uri can be specified.

    NOTE: Updating data or uri requires specifying a new version. This causes replacement of the resource. The skip_destroy argument can be used to retain the old version.

    platform String
    Platform of the component.
    version String

    Version of the component.

    The following attributes are optional:

    changeDescription String
    Change description of the component.
    data String
    Inline YAML string with data of the component. Exactly one of data and uri can be specified. the provider will only perform drift detection of its value when present in a configuration.
    description String
    Description of the component.
    kmsKeyId String
    Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
    name String
    Name of the component.
    skipDestroy Boolean
    Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to false.
    supportedOsVersions List<String>
    Set of Operating Systems (OS) supported by the component.
    tags Map<String,String>
    Key-value map of resource tags for the component. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    uri String

    S3 URI with data of the component. Exactly one of data and uri can be specified.

    NOTE: Updating data or uri requires specifying a new version. This causes replacement of the resource. The skip_destroy argument can be used to retain the old version.

    platform string
    Platform of the component.
    version string

    Version of the component.

    The following attributes are optional:

    changeDescription string
    Change description of the component.
    data string
    Inline YAML string with data of the component. Exactly one of data and uri can be specified. the provider will only perform drift detection of its value when present in a configuration.
    description string
    Description of the component.
    kmsKeyId string
    Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
    name string
    Name of the component.
    skipDestroy boolean
    Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to false.
    supportedOsVersions string[]
    Set of Operating Systems (OS) supported by the component.
    tags {[key: string]: string}
    Key-value map of resource tags for the component. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    uri string

    S3 URI with data of the component. Exactly one of data and uri can be specified.

    NOTE: Updating data or uri requires specifying a new version. This causes replacement of the resource. The skip_destroy argument can be used to retain the old version.

    platform str
    Platform of the component.
    version str

    Version of the component.

    The following attributes are optional:

    change_description str
    Change description of the component.
    data str
    Inline YAML string with data of the component. Exactly one of data and uri can be specified. the provider will only perform drift detection of its value when present in a configuration.
    description str
    Description of the component.
    kms_key_id str
    Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
    name str
    Name of the component.
    skip_destroy bool
    Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to false.
    supported_os_versions Sequence[str]
    Set of Operating Systems (OS) supported by the component.
    tags Mapping[str, str]
    Key-value map of resource tags for the component. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    uri str

    S3 URI with data of the component. Exactly one of data and uri can be specified.

    NOTE: Updating data or uri requires specifying a new version. This causes replacement of the resource. The skip_destroy argument can be used to retain the old version.

    platform String
    Platform of the component.
    version String

    Version of the component.

    The following attributes are optional:

    changeDescription String
    Change description of the component.
    data String
    Inline YAML string with data of the component. Exactly one of data and uri can be specified. the provider will only perform drift detection of its value when present in a configuration.
    description String
    Description of the component.
    kmsKeyId String
    Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
    name String
    Name of the component.
    skipDestroy Boolean
    Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to false.
    supportedOsVersions List<String>
    Set of Operating Systems (OS) supported by the component.
    tags Map<String>
    Key-value map of resource tags for the component. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    uri String

    S3 URI with data of the component. Exactly one of data and uri can be specified.

    NOTE: Updating data or uri requires specifying a new version. This causes replacement of the resource. The skip_destroy argument can be used to retain the old version.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Component resource produces the following output properties:

    Arn string
    (Required) Amazon Resource Name (ARN) of the component.
    DateCreated string
    Date the component was created.
    Encrypted bool
    Encryption status of the component.
    Id string
    The provider-assigned unique ID for this managed resource.
    Owner string
    Owner of the component.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Type string
    Type of the component.
    Arn string
    (Required) Amazon Resource Name (ARN) of the component.
    DateCreated string
    Date the component was created.
    Encrypted bool
    Encryption status of the component.
    Id string
    The provider-assigned unique ID for this managed resource.
    Owner string
    Owner of the component.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Type string
    Type of the component.
    arn String
    (Required) Amazon Resource Name (ARN) of the component.
    dateCreated String
    Date the component was created.
    encrypted Boolean
    Encryption status of the component.
    id String
    The provider-assigned unique ID for this managed resource.
    owner String
    Owner of the component.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type String
    Type of the component.
    arn string
    (Required) Amazon Resource Name (ARN) of the component.
    dateCreated string
    Date the component was created.
    encrypted boolean
    Encryption status of the component.
    id string
    The provider-assigned unique ID for this managed resource.
    owner string
    Owner of the component.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type string
    Type of the component.
    arn str
    (Required) Amazon Resource Name (ARN) of the component.
    date_created str
    Date the component was created.
    encrypted bool
    Encryption status of the component.
    id str
    The provider-assigned unique ID for this managed resource.
    owner str
    Owner of the component.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type str
    Type of the component.
    arn String
    (Required) Amazon Resource Name (ARN) of the component.
    dateCreated String
    Date the component was created.
    encrypted Boolean
    Encryption status of the component.
    id String
    The provider-assigned unique ID for this managed resource.
    owner String
    Owner of the component.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type String
    Type of the component.

    Look up Existing Component Resource

    Get an existing Component resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ComponentState, opts?: CustomResourceOptions): Component
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            change_description: Optional[str] = None,
            data: Optional[str] = None,
            date_created: Optional[str] = None,
            description: Optional[str] = None,
            encrypted: Optional[bool] = None,
            kms_key_id: Optional[str] = None,
            name: Optional[str] = None,
            owner: Optional[str] = None,
            platform: Optional[str] = None,
            skip_destroy: Optional[bool] = None,
            supported_os_versions: Optional[Sequence[str]] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            type: Optional[str] = None,
            uri: Optional[str] = None,
            version: Optional[str] = None) -> Component
    func GetComponent(ctx *Context, name string, id IDInput, state *ComponentState, opts ...ResourceOption) (*Component, error)
    public static Component Get(string name, Input<string> id, ComponentState? state, CustomResourceOptions? opts = null)
    public static Component get(String name, Output<String> id, ComponentState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    (Required) Amazon Resource Name (ARN) of the component.
    ChangeDescription string
    Change description of the component.
    Data string
    Inline YAML string with data of the component. Exactly one of data and uri can be specified. the provider will only perform drift detection of its value when present in a configuration.
    DateCreated string
    Date the component was created.
    Description string
    Description of the component.
    Encrypted bool
    Encryption status of the component.
    KmsKeyId string
    Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
    Name string
    Name of the component.
    Owner string
    Owner of the component.
    Platform string
    Platform of the component.
    SkipDestroy bool
    Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to false.
    SupportedOsVersions List<string>
    Set of Operating Systems (OS) supported by the component.
    Tags Dictionary<string, string>
    Key-value map of resource tags for the component. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Type string
    Type of the component.
    Uri string

    S3 URI with data of the component. Exactly one of data and uri can be specified.

    NOTE: Updating data or uri requires specifying a new version. This causes replacement of the resource. The skip_destroy argument can be used to retain the old version.

    Version string

    Version of the component.

    The following attributes are optional:

    Arn string
    (Required) Amazon Resource Name (ARN) of the component.
    ChangeDescription string
    Change description of the component.
    Data string
    Inline YAML string with data of the component. Exactly one of data and uri can be specified. the provider will only perform drift detection of its value when present in a configuration.
    DateCreated string
    Date the component was created.
    Description string
    Description of the component.
    Encrypted bool
    Encryption status of the component.
    KmsKeyId string
    Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
    Name string
    Name of the component.
    Owner string
    Owner of the component.
    Platform string
    Platform of the component.
    SkipDestroy bool
    Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to false.
    SupportedOsVersions []string
    Set of Operating Systems (OS) supported by the component.
    Tags map[string]string
    Key-value map of resource tags for the component. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Type string
    Type of the component.
    Uri string

    S3 URI with data of the component. Exactly one of data and uri can be specified.

    NOTE: Updating data or uri requires specifying a new version. This causes replacement of the resource. The skip_destroy argument can be used to retain the old version.

    Version string

    Version of the component.

    The following attributes are optional:

    arn String
    (Required) Amazon Resource Name (ARN) of the component.
    changeDescription String
    Change description of the component.
    data String
    Inline YAML string with data of the component. Exactly one of data and uri can be specified. the provider will only perform drift detection of its value when present in a configuration.
    dateCreated String
    Date the component was created.
    description String
    Description of the component.
    encrypted Boolean
    Encryption status of the component.
    kmsKeyId String
    Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
    name String
    Name of the component.
    owner String
    Owner of the component.
    platform String
    Platform of the component.
    skipDestroy Boolean
    Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to false.
    supportedOsVersions List<String>
    Set of Operating Systems (OS) supported by the component.
    tags Map<String,String>
    Key-value map of resource tags for the component. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type String
    Type of the component.
    uri String

    S3 URI with data of the component. Exactly one of data and uri can be specified.

    NOTE: Updating data or uri requires specifying a new version. This causes replacement of the resource. The skip_destroy argument can be used to retain the old version.

    version String

    Version of the component.

    The following attributes are optional:

    arn string
    (Required) Amazon Resource Name (ARN) of the component.
    changeDescription string
    Change description of the component.
    data string
    Inline YAML string with data of the component. Exactly one of data and uri can be specified. the provider will only perform drift detection of its value when present in a configuration.
    dateCreated string
    Date the component was created.
    description string
    Description of the component.
    encrypted boolean
    Encryption status of the component.
    kmsKeyId string
    Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
    name string
    Name of the component.
    owner string
    Owner of the component.
    platform string
    Platform of the component.
    skipDestroy boolean
    Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to false.
    supportedOsVersions string[]
    Set of Operating Systems (OS) supported by the component.
    tags {[key: string]: string}
    Key-value map of resource tags for the component. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type string
    Type of the component.
    uri string

    S3 URI with data of the component. Exactly one of data and uri can be specified.

    NOTE: Updating data or uri requires specifying a new version. This causes replacement of the resource. The skip_destroy argument can be used to retain the old version.

    version string

    Version of the component.

    The following attributes are optional:

    arn str
    (Required) Amazon Resource Name (ARN) of the component.
    change_description str
    Change description of the component.
    data str
    Inline YAML string with data of the component. Exactly one of data and uri can be specified. the provider will only perform drift detection of its value when present in a configuration.
    date_created str
    Date the component was created.
    description str
    Description of the component.
    encrypted bool
    Encryption status of the component.
    kms_key_id str
    Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
    name str
    Name of the component.
    owner str
    Owner of the component.
    platform str
    Platform of the component.
    skip_destroy bool
    Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to false.
    supported_os_versions Sequence[str]
    Set of Operating Systems (OS) supported by the component.
    tags Mapping[str, str]
    Key-value map of resource tags for the component. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type str
    Type of the component.
    uri str

    S3 URI with data of the component. Exactly one of data and uri can be specified.

    NOTE: Updating data or uri requires specifying a new version. This causes replacement of the resource. The skip_destroy argument can be used to retain the old version.

    version str

    Version of the component.

    The following attributes are optional:

    arn String
    (Required) Amazon Resource Name (ARN) of the component.
    changeDescription String
    Change description of the component.
    data String
    Inline YAML string with data of the component. Exactly one of data and uri can be specified. the provider will only perform drift detection of its value when present in a configuration.
    dateCreated String
    Date the component was created.
    description String
    Description of the component.
    encrypted Boolean
    Encryption status of the component.
    kmsKeyId String
    Amazon Resource Name (ARN) of the Key Management Service (KMS) Key used to encrypt the component.
    name String
    Name of the component.
    owner String
    Owner of the component.
    platform String
    Platform of the component.
    skipDestroy Boolean
    Whether to retain the old version when the resource is destroyed or replacement is necessary. Defaults to false.
    supportedOsVersions List<String>
    Set of Operating Systems (OS) supported by the component.
    tags Map<String>
    Key-value map of resource tags for the component. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    type String
    Type of the component.
    uri String

    S3 URI with data of the component. Exactly one of data and uri can be specified.

    NOTE: Updating data or uri requires specifying a new version. This causes replacement of the resource. The skip_destroy argument can be used to retain the old version.

    version String

    Version of the component.

    The following attributes are optional:

    Import

    Using pulumi import, import aws_imagebuilder_components resources using the Amazon Resource Name (ARN). For example:

    $ pulumi import aws:imagebuilder/component:Component example arn:aws:imagebuilder:us-east-1:123456789012:component/example/1.0.0/1
    

    Certain resource arguments, such as uri, cannot be read via the API and imported into the provider. The provider will display a difference for these arguments the first run after import if declared in the the provider configuration for an imported resource.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.31.0 published on Monday, Apr 15, 2024 by Pulumi