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
Idawscc.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.

For more information, see AWS::SageMaker::AppImageConfig.

Methods

NameResourceAccessible byRequired Params
create_resourceapp_image_configsINSERTAppImageConfigName, region
delete_resourceapp_image_configsDELETEIdentifier, region
update_resourceapp_image_configsUPDATEIdentifier, PatchDocument, region
list_resourcesapp_image_configs_list_onlySELECTregion
get_resourceapp_image_configsSELECTIdentifier, region

SELECT examples

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 awscc.sagemaker.app_image_configs
WHERE
region = 'us-east-1' AND
Identifier = '{{ app_image_config_name }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.sagemaker.app_image_configs
SET PatchDocument = string('{{ {
"KernelGatewayImageConfig": kernel_gateway_image_config,
"JupyterLabAppImageConfig": jupyter_lab_app_image_config,
"CodeEditorAppImageConfig": code_editor_app_image_config,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ app_image_config_name }}';

DELETE example

/*+ delete */
DELETE FROM awscc.sagemaker.app_image_configs
WHERE
Identifier = '{{ app_image_config_name }}' AND
region = 'us-east-1';

Permissions

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

sagemaker:CreateAppImageConfig,
sagemaker:DescribeAppImageConfig,
sagemaker:AddTags,
sagemaker:ListTags