Skip to content
v2.278.0

SchemaDefinitionProperty Struct ​

The schema definition for the gateway target.

Example ​

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
# 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
// 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();
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" }
};
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 ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The workload identity details for the gateway.
itemsoptionalIResolvable | CfnGatewayTarget.SchemaDefinitionPropertyitemsoptionaltyping.Union[IResolvable, SchemaDefinitionProperty]itemsoptionalIResolvableItemsoptionalIResolvableItemsoptionalinterface{} #
propertiesoptionalIResolvable | { [key: string]: IResolvable | CfnGatewayTarget.SchemaDefinitionProperty }propertiesoptionaltyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, SchemaDefinitionProperty]]]propertiesoptionalIResolvablePropertiesoptionalIResolvablePropertiesoptionalinterface{} #
The schema definition properties for the gateway target.
requiredoptionalstring[]requiredoptionaltyping.List[str]requiredoptionalList<String>Requiredoptionalstring[]Requiredoptional*[]*string #
The schema definition.
typestringtypestrtypeStringTypestringType*string required #
The scheme definition type for the gateway target.