1. Packages
  2. AWS Native
  3. API Docs
  4. imagebuilder
  5. getImage

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.imagebuilder.getImage

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    Resource schema for AWS::ImageBuilder::Image

    Using getImage

    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 getImage(args: GetImageArgs, opts?: InvokeOptions): Promise<GetImageResult>
    function getImageOutput(args: GetImageOutputArgs, opts?: InvokeOptions): Output<GetImageResult>
    def get_image(arn: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetImageResult
    def get_image_output(arn: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetImageResult]
    func LookupImage(ctx *Context, args *LookupImageArgs, opts ...InvokeOption) (*LookupImageResult, error)
    func LookupImageOutput(ctx *Context, args *LookupImageOutputArgs, opts ...InvokeOption) LookupImageResultOutput

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

    public static class GetImage 
    {
        public static Task<GetImageResult> InvokeAsync(GetImageArgs args, InvokeOptions? opts = null)
        public static Output<GetImageResult> Invoke(GetImageInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetImageResult> getImage(GetImageArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:imagebuilder:getImage
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getImage Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the image.
    ExecutionRole string
    The execution role name/ARN for the image build, if provided
    ImageId string
    The AMI ID of the EC2 AMI in current region.
    ImageUri string
    URI for containers created in current Region with default ECR image tag
    Name string
    The name of the image.
    Arn string
    The Amazon Resource Name (ARN) of the image.
    ExecutionRole string
    The execution role name/ARN for the image build, if provided
    ImageId string
    The AMI ID of the EC2 AMI in current region.
    ImageUri string
    URI for containers created in current Region with default ECR image tag
    Name string
    The name of the image.
    arn String
    The Amazon Resource Name (ARN) of the image.
    executionRole String
    The execution role name/ARN for the image build, if provided
    imageId String
    The AMI ID of the EC2 AMI in current region.
    imageUri String
    URI for containers created in current Region with default ECR image tag
    name String
    The name of the image.
    arn string
    The Amazon Resource Name (ARN) of the image.
    executionRole string
    The execution role name/ARN for the image build, if provided
    imageId string
    The AMI ID of the EC2 AMI in current region.
    imageUri string
    URI for containers created in current Region with default ECR image tag
    name string
    The name of the image.
    arn str
    The Amazon Resource Name (ARN) of the image.
    execution_role str
    The execution role name/ARN for the image build, if provided
    image_id str
    The AMI ID of the EC2 AMI in current region.
    image_uri str
    URI for containers created in current Region with default ECR image tag
    name str
    The name of the image.
    arn String
    The Amazon Resource Name (ARN) of the image.
    executionRole String
    The execution role name/ARN for the image build, if provided
    imageId String
    The AMI ID of the EC2 AMI in current region.
    imageUri String
    URI for containers created in current Region with default ECR image tag
    name String
    The name of the image.

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi