Skip to main content

app_image_configs

Creates, updates, deletes or gets an app_image_config resource or lists app_image_configs in a region

Overview

Nameapp_image_configs
TypeResource
DescriptionResource Type definition for AWS::SageMaker::AppImageConfig
Idaws.sagemaker.app_image_configs

Fields

NameDatatypeDescription
app_image_config_arnstringThe Amazon Resource Name (ARN) of the AppImageConfig.
app_image_config_namestringThe Name of the AppImageConfig.
kernel_gateway_image_configobjectThe KernelGatewayImageConfig.
jupyter_lab_app_image_configobjectThe JupyterLabAppImageConfig.
code_editor_app_image_configobjectThe CodeEditorAppImageConfig.
tagsarrayA list of tags to apply to the AppImageConfig.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTAppImageConfigName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all app_image_configs in a region.

SELECT
region,
app_image_config_arn,
app_image_config_name,
kernel_gateway_image_config,
jupyter_lab_app_image_config,
code_editor_app_image_config,
tags
FROM aws.sagemaker.app_image_configs
WHERE region = 'us-east-1';

Gets all properties from an individual app_image_config.

SELECT
region,
app_image_config_arn,
app_image_config_name,
kernel_gateway_image_config,
jupyter_lab_app_image_config,
code_editor_app_image_config,
tags
FROM aws.sagemaker.app_image_configs
WHERE region = 'us-east-1' AND data__Identifier = '<AppImageConfigName>';

INSERT example

Use the following StackQL query and manifest file to create a new app_image_config resource, using stack-deploy.

/*+ create */
INSERT INTO aws.sagemaker.app_image_configs (
AppImageConfigName,
region
)
SELECT
'{{ AppImageConfigName }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.sagemaker.app_image_configs
WHERE data__Identifier = '<AppImageConfigName>'
AND region = 'us-east-1';

Permissions

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

Create

sagemaker:CreateAppImageConfig,
sagemaker:DescribeAppImageConfig

Read

sagemaker:DescribeAppImageConfig

Update

sagemaker:UpdateAppImageConfig,
sagemaker:DescribeAppImageConfig

Delete

sagemaker:DeleteAppImageConfig,
sagemaker:DescribeAppImageConfig

List

sagemaker:ListAppImageConfigs