AWS sagemaker documentation change
Summary
Fixed CLI command syntax (JSON escaping and whitespace formatting)
Security assessment
Syntax corrections improve command accuracy but don't directly address security vulnerabilities or document security features
Diff
diff --git a/sagemaker/latest/dg/domain-space-create.md b/sagemaker/latest/dg/domain-space-create.md index 16974234d..ba97f5b29 100644 --- a//sagemaker/latest/dg/domain-space-create.md +++ b//sagemaker/latest/dg/domain-space-create.md @@ -68 +68 @@ Run the following command from the terminal of your local machine to add default - aws --region region \ + aws --region region \ @@ -70 +70 @@ Run the following command from the terminal of your local machine to add default - --domain-id domain-id \ + --domain-id domain-id \ @@ -83 +83 @@ Use the following command to verify that the default shared space settings have - aws --region region \ + aws --region region \ @@ -85 +85 @@ Use the following command to verify that the default shared space settings have - --domain-id domain-id + --domain-id domain-id @@ -95 +95 @@ Run the following command from the terminal of your local machine to add default - aws --region region \ + aws --region region \ @@ -97 +97 @@ Run the following command from the terminal of your local machine to add default - --domain-id domain-id \ + --domain-id domain-id \ @@ -110 +110 @@ Use the following command to verify that the default shared space settings have - aws --region region \ + aws --region region \ @@ -112 +112 @@ Use the following command to verify that the default shared space settings have - --domain-id domain-id + --domain-id domain-id @@ -191,6 +191,6 @@ Studio Classic - "JupyterServerAppSettings": { - "DefaultResourceSpec": { - "SageMakerImageArn": "sagemaker-image-arn", - "InstanceType": "system" - } - } + "JupyterServerAppSettings": { + "DefaultResourceSpec": { + "SageMakerImageArn": "sagemaker-image-arn", + "InstanceType": "system" + } + } @@ -208,3 +208,3 @@ JupyterLab - --ownership-settings "{"OwnerUserProfileName": "user-profile-name"}" \ - --space-sharing-settings "{"SharingType": "Shared"}" \ - --space-settings "{"AppType": "JupyterLab"}" + --ownership-settings "{\"OwnerUserProfileName\": \"user-profile-name\"}" \ + --space-sharing-settings "{\"SharingType\": \"Shared\"}" \ + --space-settings "{\"AppType\": \"JupyterLab\"}"