# InstanceMetadataOptionsRequestProperty

- Source: Generated at build time
- Type last changed: v2.203.0 · 1 Jul 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesinstances as workspacesinstances } from 'aws-cdk-lib';
const instanceMetadataOptionsRequestProperty: workspacesinstances.CfnWorkspaceInstance.InstanceMetadataOptionsRequestProperty = {
  httpEndpoint: 'httpEndpoint',
  httpProtocolIpv6: 'httpProtocolIpv6',
  httpPutResponseHopLimit: 123,
  httpTokens: 'httpTokens',
  instanceMetadataTags: 'instanceMetadataTags',
};
```

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_workspacesinstances as workspacesinstances

instance_metadata_options_request_property = workspacesinstances.CfnWorkspaceInstance.InstanceMetadataOptionsRequestProperty(
    http_endpoint="httpEndpoint",
    http_protocol_ipv6="httpProtocolIpv6",
    http_put_response_hop_limit=123,
    http_tokens="httpTokens",
    instance_metadata_tags="instanceMetadataTags"
)
```

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.workspacesinstances.*;

InstanceMetadataOptionsRequestProperty instanceMetadataOptionsRequestProperty = InstanceMetadataOptionsRequestProperty.builder()
        .httpEndpoint("httpEndpoint")
        .httpProtocolIpv6("httpProtocolIpv6")
        .httpPutResponseHopLimit(123)
        .httpTokens("httpTokens")
        .instanceMetadataTags("instanceMetadataTags")
        .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.WorkspacesInstances;

var instanceMetadataOptionsRequestProperty = new InstanceMetadataOptionsRequestProperty {
    HttpEndpoint = "httpEndpoint",
    HttpProtocolIpv6 = "httpProtocolIpv6",
    HttpPutResponseHopLimit = 123,
    HttpTokens = "httpTokens",
    InstanceMetadataTags = "instanceMetadataTags"
};
```

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"

instanceMetadataOptionsRequestProperty := &InstanceMetadataOptionsRequestProperty{
	HttpEndpoint: jsii.String("httpEndpoint"),
	HttpProtocolIpv6: jsii.String("httpProtocolIpv6"),
	HttpPutResponseHopLimit: jsii.Number(123),
	HttpTokens: jsii.String("httpTokens"),
	InstanceMetadataTags: jsii.String("instanceMetadataTags"),
}
```

## Properties

- `httpEndpoint`: string

- `httpProtocolIpv6`: string

- `httpPutResponseHopLimit`: number

- `httpTokens`: string

- `instanceMetadataTags`: string
