SageMaker * CloudFormation
Replace <my-kms-key-id> with the ID of your pre-configured AWS KMS key. To deploy this template using the AWS CLI, you can use the create-stack command: aws cloudformation create-stack –stack-name MySageMakerStack –template-body file://sagemaker-stack.yaml AWS CLI: aws cloudformation deploy–template-file notebook-instance.yaml–stack-name notebook-instance-stack–parameters ParameterKey=InstanceType,ParameterValue=ml.t2.medium ParameterKey=KmsKeyId,ParameterValue=<my-kms-key-id> Boto3: Python Use code with caution. Learn morecontent_copy This code will create a new CloudFormation …