2021-09-07 11:55:51 +02:00
|
|
|
include::../description.adoc[]
|
|
|
|
|
|
|
|
include::../ask-yourself.adoc[]
|
|
|
|
|
|
|
|
include::../recommended.adoc[]
|
|
|
|
|
|
|
|
== Sensitive Code Example
|
|
|
|
|
|
|
|
For https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html[AWS::SageMaker::NotebookInstance]:
|
|
|
|
|
2023-05-05 11:12:16 +02:00
|
|
|
[source,yaml]
|
2021-09-07 11:55:51 +02:00
|
|
|
----
|
|
|
|
AWSTemplateFormatVersion: '2010-09-09'
|
|
|
|
Resources:
|
|
|
|
Notebook: # Sensitive, encryption disabled by default
|
|
|
|
Type: AWS::SageMaker::NotebookInstance
|
|
|
|
----
|
|
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
|
|
|
|
For https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html[AWS::SageMaker::NotebookInstance]:
|
|
|
|
|
2023-05-05 11:12:16 +02:00
|
|
|
[source,yaml]
|
2021-09-07 11:55:51 +02:00
|
|
|
----
|
|
|
|
AWSTemplateFormatVersion: '2010-09-09'
|
|
|
|
Resources:
|
|
|
|
Notebook:
|
|
|
|
Type: AWS::SageMaker::NotebookInstance
|
|
|
|
Properties:
|
|
|
|
KmsKeyId:
|
|
|
|
Fn::GetAtt:
|
|
|
|
- SomeKey
|
|
|
|
- KeyId
|
|
|
|
----
|
|
|
|
|
|
|
|
include::../see.adoc[]
|
2022-03-25 15:02:59 +01:00
|
|
|
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
|
|
|
|
'''
|
|
|
|
== Implementation Specification
|
|
|
|
(visible only on this page)
|
|
|
|
|
2023-05-25 14:18:12 +02:00
|
|
|
=== Message
|
|
|
|
|
|
|
|
* Omitting "KmsKeyId" disables encryption of SageMaker notebook instances. Make sure it is safe here.
|
|
|
|
|
2022-03-25 15:02:59 +01:00
|
|
|
|
|
|
|
endif::env-github,rspecator-view[]
|