1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. imagebuilder
  5. getComponent

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Native v0.126.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Native v0.126.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Resource schema for AWS::ImageBuilder::Component

    Using getComponent

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getComponent(args: GetComponentArgs, opts?: InvokeOptions): Promise<GetComponentResult>
    function getComponentOutput(args: GetComponentOutputArgs, opts?: InvokeOptions): Output<GetComponentResult>
    def get_component(arn: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetComponentResult
    def get_component_output(arn: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetComponentResult]
    func LookupComponent(ctx *Context, args *LookupComponentArgs, opts ...InvokeOption) (*LookupComponentResult, error)
    func LookupComponentOutput(ctx *Context, args *LookupComponentOutputArgs, opts ...InvokeOption) LookupComponentResultOutput

    > Note: This function is named LookupComponent in the Go SDK.

    public static class GetComponent 
    {
        public static Task<GetComponentResult> InvokeAsync(GetComponentArgs args, InvokeOptions? opts = null)
        public static Output<GetComponentResult> Invoke(GetComponentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetComponentResult> getComponent(GetComponentArgs args, InvokeOptions options)
    public static Output<GetComponentResult> getComponent(GetComponentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:imagebuilder:getComponent
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the component.
    Arn string
    The Amazon Resource Name (ARN) of the component.
    arn String
    The Amazon Resource Name (ARN) of the component.
    arn string
    The Amazon Resource Name (ARN) of the component.
    arn str
    The Amazon Resource Name (ARN) of the component.
    arn String
    The Amazon Resource Name (ARN) of the component.

    getComponent Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the component.
    Encrypted bool
    The encryption status of the component.
    Type Pulumi.AwsNative.ImageBuilder.ComponentType
    The type of the component denotes whether the component is used to build the image or only to test it.
    Arn string
    The Amazon Resource Name (ARN) of the component.
    Encrypted bool
    The encryption status of the component.
    Type ComponentType
    The type of the component denotes whether the component is used to build the image or only to test it.
    arn String
    The Amazon Resource Name (ARN) of the component.
    encrypted Boolean
    The encryption status of the component.
    type ComponentType
    The type of the component denotes whether the component is used to build the image or only to test it.
    arn string
    The Amazon Resource Name (ARN) of the component.
    encrypted boolean
    The encryption status of the component.
    type ComponentType
    The type of the component denotes whether the component is used to build the image or only to test it.
    arn str
    The Amazon Resource Name (ARN) of the component.
    encrypted bool
    The encryption status of the component.
    type ComponentType
    The type of the component denotes whether the component is used to build the image or only to test it.
    arn String
    The Amazon Resource Name (ARN) of the component.
    encrypted Boolean
    The encryption status of the component.
    type "BUILD" | "TEST"
    The type of the component denotes whether the component is used to build the image or only to test it.

    Supporting Types

    ComponentType

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Native v0.126.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.