We recommend new projects start with resources from the AWS provider.
aws-native.sagemaker.getImage
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::SageMaker::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(image_arn: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetImageResult
def get_image_output(image_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)
public static Output<GetImageResult> getImage(GetImageArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:sagemaker:getImage
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ImageArn string
- The Amazon Resource Name (ARN) of the image. - Type : String - Length Constraints : Maximum length of 256. - Pattern : - ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
- ImageArn string
- The Amazon Resource Name (ARN) of the image. - Type : String - Length Constraints : Maximum length of 256. - Pattern : - ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
- imageArn String
- The Amazon Resource Name (ARN) of the image. - Type : String - Length Constraints : Maximum length of 256. - Pattern : - ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
- imageArn string
- The Amazon Resource Name (ARN) of the image. - Type : String - Length Constraints : Maximum length of 256. - Pattern : - ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
- image_arn str
- The Amazon Resource Name (ARN) of the image. - Type : String - Length Constraints : Maximum length of 256. - Pattern : - ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
- imageArn String
- The Amazon Resource Name (ARN) of the image. - Type : String - Length Constraints : Maximum length of 256. - Pattern : - ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
getImage Result
The following output properties are available:
- ImageArn string
- The Amazon Resource Name (ARN) of the image. - Type : String - Length Constraints : Maximum length of 256. - Pattern : - ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
- ImageDescription string
- The description of the image.
- ImageDisplay stringName 
- The display name of the image. - Length Constraints : Minimum length of 1. Maximum length of 128. - Pattern : - ^\S(.*\S)?$
- ImageRole stringArn 
- The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. - Length Constraints : Minimum length of 20. Maximum length of 2048. - Pattern : - ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- An array of key-value pairs to apply to this resource.
- ImageArn string
- The Amazon Resource Name (ARN) of the image. - Type : String - Length Constraints : Maximum length of 256. - Pattern : - ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
- ImageDescription string
- The description of the image.
- ImageDisplay stringName 
- The display name of the image. - Length Constraints : Minimum length of 1. Maximum length of 128. - Pattern : - ^\S(.*\S)?$
- ImageRole stringArn 
- The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. - Length Constraints : Minimum length of 20. Maximum length of 2048. - Pattern : - ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
- Tag
- An array of key-value pairs to apply to this resource.
- imageArn String
- The Amazon Resource Name (ARN) of the image. - Type : String - Length Constraints : Maximum length of 256. - Pattern : - ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
- imageDescription String
- The description of the image.
- imageDisplay StringName 
- The display name of the image. - Length Constraints : Minimum length of 1. Maximum length of 128. - Pattern : - ^\S(.*\S)?$
- imageRole StringArn 
- The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. - Length Constraints : Minimum length of 20. Maximum length of 2048. - Pattern : - ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
- List<Tag>
- An array of key-value pairs to apply to this resource.
- imageArn string
- The Amazon Resource Name (ARN) of the image. - Type : String - Length Constraints : Maximum length of 256. - Pattern : - ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
- imageDescription string
- The description of the image.
- imageDisplay stringName 
- The display name of the image. - Length Constraints : Minimum length of 1. Maximum length of 128. - Pattern : - ^\S(.*\S)?$
- imageRole stringArn 
- The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. - Length Constraints : Minimum length of 20. Maximum length of 2048. - Pattern : - ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
- Tag[]
- An array of key-value pairs to apply to this resource.
- image_arn str
- The Amazon Resource Name (ARN) of the image. - Type : String - Length Constraints : Maximum length of 256. - Pattern : - ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
- image_description str
- The description of the image.
- image_display_ strname 
- The display name of the image. - Length Constraints : Minimum length of 1. Maximum length of 128. - Pattern : - ^\S(.*\S)?$
- image_role_ strarn 
- The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. - Length Constraints : Minimum length of 20. Maximum length of 2048. - Pattern : - ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- imageArn String
- The Amazon Resource Name (ARN) of the image. - Type : String - Length Constraints : Maximum length of 256. - Pattern : - ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
- imageDescription String
- The description of the image.
- imageDisplay StringName 
- The display name of the image. - Length Constraints : Minimum length of 1. Maximum length of 128. - Pattern : - ^\S(.*\S)?$
- imageRole StringArn 
- The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. - Length Constraints : Minimum length of 20. Maximum length of 2048. - Pattern : - ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.