Skip to content
v2.278.0

ApiSchemaConfigurationProperty Struct ​

The API schema configuration 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';
const apiSchemaConfigurationProperty: bedrockagentcore.CfnGatewayTarget.ApiSchemaConfigurationProperty = {
  inlinePayload: 'inlinePayload',
  s3: {
    bucketOwnerAccountId: 'bucketOwnerAccountId',
    uri: 'uri',
  },
};
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

api_schema_configuration_property = bedrockagentcore.CfnGatewayTarget.ApiSchemaConfigurationProperty(
    inline_payload="inlinePayload",
    s3=bedrockagentcore.CfnGatewayTarget.S3ConfigurationProperty(
        bucket_owner_account_id="bucketOwnerAccountId",
        uri="uri"
    )
)
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.*;

ApiSchemaConfigurationProperty apiSchemaConfigurationProperty = ApiSchemaConfigurationProperty.builder()
        .inlinePayload("inlinePayload")
        .s3(S3ConfigurationProperty.builder()
                .bucketOwnerAccountId("bucketOwnerAccountId")
                .uri("uri")
                .build())
        .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;

var apiSchemaConfigurationProperty = new ApiSchemaConfigurationProperty {
    InlinePayload = "inlinePayload",
    S3 = new S3ConfigurationProperty {
        BucketOwnerAccountId = "bucketOwnerAccountId",
        Uri = "uri"
    }
};
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"

apiSchemaConfigurationProperty := &ApiSchemaConfigurationProperty{
	InlinePayload: jsii.String("inlinePayload"),
	S3: &S3ConfigurationProperty{
		BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
		Uri: jsii.String("uri"),
	},
}

Properties ​

inlinePayloadoptionalstringinline_payloadoptionalstrinlinePayloadoptionalStringInlinePayloadoptionalstringInlinePayloadoptional*string #
The inline payload for the gateway.
s3optionalIResolvable | CfnGatewayTarget.S3ConfigurationPropertys3optionaltyping.Union[IResolvable, S3ConfigurationProperty]s3optionalIResolvableS3optionalIResolvableS3optionalinterface{} #
The API schema configuration.