Skip to content
v2.278.0

HttpApiSchemaConfigurationProperty Struct ​

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 httpApiSchemaConfigurationProperty: bedrockagentcore.CfnGatewayTarget.HttpApiSchemaConfigurationProperty = {
  source: {
    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

http_api_schema_configuration_property = bedrockagentcore.CfnGatewayTarget.HttpApiSchemaConfigurationProperty(
    source=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.*;

HttpApiSchemaConfigurationProperty httpApiSchemaConfigurationProperty = HttpApiSchemaConfigurationProperty.builder()
        .source(ApiSchemaConfigurationProperty.builder()
                .inlinePayload("inlinePayload")
                .s3(S3ConfigurationProperty.builder()
                        .bucketOwnerAccountId("bucketOwnerAccountId")
                        .uri("uri")
                        .build())
                .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 httpApiSchemaConfigurationProperty = new HttpApiSchemaConfigurationProperty {
    Source = 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"

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

Properties ​