Skip to main content

image

Gets an individual image resource

Overview

Nameimage
TypeResource
Descriptionimage
Idawscc.sagemaker.image

Fields

NameDatatypeDescription
image_namestring
image_arnstring
image_role_arnstring
image_display_namestring
image_descriptionstring
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
image_name,
image_arn,
image_role_arn,
image_display_name,
image_description,
tags
FROM awscc.sagemaker.image
WHERE data__Identifier = '<ImageArn>';

Permissions

To operate on the image resource, the following permissions are required:

Read

sagemaker:DescribeImage,
sagemaker:ListTags

Update

sagemaker:UpdateImage,
sagemaker:DescribeImage,
sagemaker:ListTags,
sagemaker:AddTags,
sagemaker:DeleteTags,
iam:PassRole

Delete

sagemaker:DeleteImage,
sagemaker:DescribeImage