Skip to content
v2.274.0

InstanceMetadataServiceConfigurationProperty Struct ​

Information on the IMDS configuration of the notebook instance.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const instanceMetadataServiceConfigurationProperty: sagemaker.CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty = {
  minimumInstanceMetadataServiceVersion: 'minimumInstanceMetadataServiceVersion',
};

Properties ​

minimumInstanceMetadataServiceVersionstringminimum_instance_metadata_service_versionstrminimumInstanceMetadataServiceVersionStringMinimumInstanceMetadataServiceVersionstringMinimumInstanceMetadataServiceVersion*stringrequired#
Indicates the minimum IMDS version that the notebook instance supports.

When passed as part of CreateNotebookInstance , if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance , there is no default.