AWS Native is in preview. AWS Classic is fully supported.
aws-native.sagemaker.getImage
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:sagemaker:getImage
arguments:
# arguments dictionary
The following arguments are supported:
- Image
Arn 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 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 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 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])*$
- image
Arn 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:
- Image
Arn 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
Description string - The description of the image.
- Image
Display stringName The display name of the image.
Length Constraints : Minimum length of 1. Maximum length of 128.
Pattern :
^\S(.*\S)?$
- Image
Role 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.
- Image
Arn 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
Description string - The description of the image.
- Image
Display stringName The display name of the image.
Length Constraints : Minimum length of 1. Maximum length of 128.
Pattern :
^\S(.*\S)?$
- Image
Role 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 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
Description String - The description of the image.
- image
Display StringName The display name of the image.
Length Constraints : Minimum length of 1. Maximum length of 128.
Pattern :
^\S(.*\S)?$
- image
Role 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.
- image
Arn 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
Description string - The description of the image.
- image
Display stringName The display name of the image.
Length Constraints : Minimum length of 1. Maximum length of 128.
Pattern :
^\S(.*\S)?$
- image
Role 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.
- image
Arn 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
Description String - The description of the image.
- image
Display StringName The display name of the image.
Length Constraints : Minimum length of 1. Maximum length of 128.
Pattern :
^\S(.*\S)?$
- image
Role 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
AWS Native is in preview. AWS Classic is fully supported.