We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.imagebuilder.getImage
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 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.
- Execution
Role string - The execution role name/ARN for the image build, if provided
- Image
Id string - The AMI ID of the EC2 AMI in current region.
- Image
Uri 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.
- Execution
Role string - The execution role name/ARN for the image build, if provided
- Image
Id string - The AMI ID of the EC2 AMI in current region.
- Image
Uri 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.
- execution
Role String - The execution role name/ARN for the image build, if provided
- image
Id String - The AMI ID of the EC2 AMI in current region.
- image
Uri 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.
- execution
Role string - The execution role name/ARN for the image build, if provided
- image
Id string - The AMI ID of the EC2 AMI in current region.
- image
Uri 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.
- execution
Role String - The execution role name/ARN for the image build, if provided
- image
Id String - The AMI ID of the EC2 AMI in current region.
- image
Uri 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
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi