awscc.sagemaker_image¶
Filters¶
event
reduce
value
Actions¶
delete¶
Parent base class for filters and actions.
properties:
type:
enum:
- delete
required:
- type
Permissions - sagemaker:DeleteImage, sagemaker:DescribeImage
update¶
Parent base class for filters and actions.
definitions:
ImageArn:
description: The Amazon Resource Name (ARN) of the image.
maxLength: 256
minLength: 1
pattern: ^arn:aws(-[\w]+)*:sagemaker:[a-z0-9\-]*:[0-9]{12}:image\/[a-z0-9]([-.]?[a-z0-9])*$
type: string
ImageDescription:
description: A description of the image.
maxLength: 512
minLength: 1
pattern: .+
type: string
ImageDisplayName:
description: The display name of the image.
maxLength: 128
minLength: 1
pattern: ^[A-Za-z0-9 -_]+$
type: string
ImageName:
description: The name of the image.
maxLength: 63
minLength: 1
pattern: ^[a-zA-Z0-9]([-.]?[a-zA-Z0-9])*$
type: string
ImageRoleArn:
description: The Amazon Resource Name (ARN) of an IAM role that enables Amazon
SageMaker to perform tasks on behalf of the customer.
maxLength: 256
minLength: 1
pattern: ^arn:aws(-[\w]+)*:iam::[0-9]{12}:role/.*$
type: string
Tag:
additionalProperties: false
description: A key-value pair to associate with a resource.
properties:
Key:
description: 'The key name of the tag. You can specify a value that is 1 to
127 Unicode characters in length and cannot be prefixed with aws:. You can
use any of the following characters: the set of Unicode letters, digits,
whitespace, _, ., /, =, +, and -. '
maxLength: 128
minLength: 1
type: string
Value:
description: 'The value for the tag. You can specify a value that is 1 to
255 Unicode characters in length and cannot be prefixed with aws:. You can
use any of the following characters: the set of Unicode letters, digits,
whitespace, _, ., /, =, +, and -. '
maxLength: 256
type: string
required:
- Key
- Value
type: object
properties:
ImageDescription:
description: A description of the image.
maxLength: 512
minLength: 1
pattern: .+
type: string
ImageDisplayName:
description: The display name of the image.
maxLength: 128
minLength: 1
pattern: ^[A-Za-z0-9 -_]+$
type: string
ImageRoleArn:
description: The Amazon Resource Name (ARN) of an IAM role that enables Amazon
SageMaker to perform tasks on behalf of the customer.
maxLength: 256
minLength: 1
pattern: ^arn:aws(-[\w]+)*:iam::[0-9]{12}:role/.*$
type: string
Tags:
description: An array of key-value pairs to apply to this resource.
items:
additionalProperties: false
description: A key-value pair to associate with a resource.
properties:
Key:
description: 'The key name of the tag. You can specify a value that is 1
to 127 Unicode characters in length and cannot be prefixed with aws:.
You can use any of the following characters: the set of Unicode letters,
digits, whitespace, _, ., /, =, +, and -. '
maxLength: 128
minLength: 1
type: string
Value:
description: 'The value for the tag. You can specify a value that is 1 to
255 Unicode characters in length and cannot be prefixed with aws:. You
can use any of the following characters: the set of Unicode letters, digits,
whitespace, _, ., /, =, +, and -. '
maxLength: 256
type: string
required:
- Key
- Value
type: object
maxItems: 50
minItems: 1
type: array
type:
enum:
- update
Permissions - sagemaker:UpdateImage, sagemaker:DescribeImage, sagemaker:ListTags, sagemaker:AddTags, sagemaker:DeleteTags, iam:PassRole