UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

71 lines (70 loc) 2.19 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::SageMaker::Image */ export declare function getImage(args: GetImageArgs, opts?: pulumi.InvokeOptions): Promise<GetImageResult>; export interface GetImageArgs { /** * 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; } export interface GetImageResult { /** * 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])*$` */ readonly imageArn?: string; /** * The description of the image. */ readonly imageDescription?: string; /** * The display name of the image. * * *Length Constraints* : Minimum length of 1. Maximum length of 128. * * *Pattern* : `^\S(.*\S)?$` */ readonly imageDisplayName?: string; /** * 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+=,.@\-_/]+$` */ readonly imageRoleArn?: string; /** * An array of key-value pairs to apply to this resource. */ readonly tags?: outputs.Tag[]; } /** * Resource Type definition for AWS::SageMaker::Image */ export declare function getImageOutput(args: GetImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImageResult>; export interface GetImageOutputArgs { /** * 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: pulumi.Input<string>; }