# SchemaDefinitionProperty

The schema definition for the gateway target.

- Source: Generated at build time
- Type last changed: v2.220.0 · 14 Oct 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_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';

declare const schemaDefinitionProperty_: bedrockagentcore.CfnGatewayTarget.SchemaDefinitionProperty;
const schemaDefinitionProperty: bedrockagentcore.CfnGatewayTarget.SchemaDefinitionProperty = {
  type: 'type',

  // the properties below are optional
  description: 'description',
  items: schemaDefinitionProperty_,
  properties: {
    propertiesKey: schemaDefinitionProperty_,
  },
  required: ['required'],
};
```

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_bedrockagentcore as bedrockagentcore

# schema_definition_property_: bedrockagentcore.CfnGatewayTarget.SchemaDefinitionProperty

schema_definition_property = bedrockagentcore.CfnGatewayTarget.SchemaDefinitionProperty(
    type="type",

    # the properties below are optional
    description="description",
    items=schema_definition_property_,
    properties={
        "properties_key": schema_definition_property_
    },
    required=["required"]
)
```

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

SchemaDefinitionProperty schemaDefinitionProperty_;

SchemaDefinitionProperty schemaDefinitionProperty = SchemaDefinitionProperty.builder()
        .type("type")

        // the properties below are optional
        .description("description")
        .items(schemaDefinitionProperty_)
        .properties(Map.of(
                "propertiesKey", schemaDefinitionProperty_))
        .required(List.of("required"))
        .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.BedrockAgentCore;

SchemaDefinitionProperty schemaDefinitionProperty_;

var schemaDefinitionProperty = new SchemaDefinitionProperty {
    Type = "type",

    // the properties below are optional
    Description = "description",
    Items = schemaDefinitionProperty_,
    Properties = new Dictionary<string, object> {
        { "propertiesKey", schemaDefinitionProperty_ }
    },
    Required = new [] { "required" }
};
```

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"

var schemaDefinitionProperty_ SchemaDefinitionProperty

schemaDefinitionProperty := &SchemaDefinitionProperty{
	Type: jsii.String("type"),

	// the properties below are optional
	Description: jsii.String("description"),
	Items: schemaDefinitionProperty_,
	Properties: map[string]interface{}{
		"propertiesKey": schemaDefinitionProperty_,
	},
	Required: []*string{
		jsii.String("required"),
	},
}
```

## Properties

- `description`: string — The workload identity details for the gateway.

- `items`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnGatewayTarget.SchemaDefinitionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnGatewayTarget.SchemaDefinitionProperty.html)

- `properties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnGatewayTarget.SchemaDefinitionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnGatewayTarget.SchemaDefinitionProperty.html) } — The schema definition properties for the gateway target.

- `required`: string[] — The schema definition.

- `type`: string (required) — The scheme definition type for the gateway target.
