# InstanceMetadataServiceConfigurationProperty

Information on the IMDS configuration of the notebook instance.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

instance_metadata_service_configuration_property = sagemaker.CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty(
    minimum_instance_metadata_service_version="minimumInstanceMetadataServiceVersion"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;

InstanceMetadataServiceConfigurationProperty instanceMetadataServiceConfigurationProperty = InstanceMetadataServiceConfigurationProperty.builder()
        .minimumInstanceMetadataServiceVersion("minimumInstanceMetadataServiceVersion")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var instanceMetadataServiceConfigurationProperty = new InstanceMetadataServiceConfigurationProperty {
    MinimumInstanceMetadataServiceVersion = "minimumInstanceMetadataServiceVersion"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

instanceMetadataServiceConfigurationProperty := &InstanceMetadataServiceConfigurationProperty{
	MinimumInstanceMetadataServiceVersion: jsii.String("minimumInstanceMetadataServiceVersion"),
}
```

## Properties

- `minimumInstanceMetadataServiceVersion`: string (required) — 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.
