Skip to content
v2.278.0

PassthroughTargetConfigurationProperty 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 passthroughTargetConfigurationProperty: bedrockagentcore.CfnGatewayTarget.PassthroughTargetConfigurationProperty = {
  endpoint: 'endpoint',
  protocolType: 'protocolType',

  // the properties below are optional
  schema: {
    source: {
      inlinePayload: 'inlinePayload',
      s3: {
        bucketOwnerAccountId: 'bucketOwnerAccountId',
        uri: 'uri',
      },
    },
  },
  stickinessConfiguration: {
    identifier: 'identifier',

    // the properties below are optional
    timeout: 123,
  },
};
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

passthrough_target_configuration_property = bedrockagentcore.CfnGatewayTarget.PassthroughTargetConfigurationProperty(
    endpoint="endpoint",
    protocol_type="protocolType",

    # the properties below are optional
    schema=bedrockagentcore.CfnGatewayTarget.HttpApiSchemaConfigurationProperty(
        source=bedrockagentcore.CfnGatewayTarget.ApiSchemaConfigurationProperty(
            inline_payload="inlinePayload",
            s3=bedrockagentcore.CfnGatewayTarget.S3ConfigurationProperty(
                bucket_owner_account_id="bucketOwnerAccountId",
                uri="uri"
            )
        )
    ),
    stickiness_configuration=bedrockagentcore.CfnGatewayTarget.StickinessConfigurationProperty(
        identifier="identifier",

        # the properties below are optional
        timeout=123
    )
)
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.*;

PassthroughTargetConfigurationProperty passthroughTargetConfigurationProperty = PassthroughTargetConfigurationProperty.builder()
        .endpoint("endpoint")
        .protocolType("protocolType")

        // the properties below are optional
        .schema(HttpApiSchemaConfigurationProperty.builder()
                .source(ApiSchemaConfigurationProperty.builder()
                        .inlinePayload("inlinePayload")
                        .s3(S3ConfigurationProperty.builder()
                                .bucketOwnerAccountId("bucketOwnerAccountId")
                                .uri("uri")
                                .build())
                        .build())
                .build())
        .stickinessConfiguration(StickinessConfigurationProperty.builder()
                .identifier("identifier")

                // the properties below are optional
                .timeout(123)
                .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 passthroughTargetConfigurationProperty = new PassthroughTargetConfigurationProperty {
    Endpoint = "endpoint",
    ProtocolType = "protocolType",

    // the properties below are optional
    Schema = new HttpApiSchemaConfigurationProperty {
        Source = new ApiSchemaConfigurationProperty {
            InlinePayload = "inlinePayload",
            S3 = new S3ConfigurationProperty {
                BucketOwnerAccountId = "bucketOwnerAccountId",
                Uri = "uri"
            }
        }
    },
    StickinessConfiguration = new StickinessConfigurationProperty {
        Identifier = "identifier",

        // the properties below are optional
        Timeout = 123
    }
};
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"

passthroughTargetConfigurationProperty := &PassthroughTargetConfigurationProperty{
	Endpoint: jsii.String("endpoint"),
	ProtocolType: jsii.String("protocolType"),

	// the properties below are optional
	Schema: &HttpApiSchemaConfigurationProperty{
		Source: &ApiSchemaConfigurationProperty{
			InlinePayload: jsii.String("inlinePayload"),
			S3: &S3ConfigurationProperty{
				BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
				Uri: jsii.String("uri"),
			},
		},
	},
	StickinessConfiguration: &StickinessConfigurationProperty{
		Identifier: jsii.String("identifier"),

		// the properties below are optional
		Timeout: jsii.Number(123),
	},
}

Properties ​

endpointstringendpointstrendpointStringEndpointstringEndpoint*string required #
protocolTypestringprotocol_typestrprotocolTypeStringProtocolTypestringProtocolType*string required #
schemaoptionalIResolvable | CfnGatewayTarget.HttpApiSchemaConfigurationPropertyschemaoptionaltyping.Union[IResolvable, HttpApiSchemaConfigurationProperty]schemaoptionalIResolvableSchemaoptionalIResolvableSchemaoptionalinterface{} #
stickinessConfigurationoptionalIResolvable | CfnGatewayTarget.StickinessConfigurationPropertystickiness_configurationoptionaltyping.Union[IResolvable, StickinessConfigurationProperty]stickinessConfigurationoptionalIResolvableStickinessConfigurationoptionalIResolvableStickinessConfigurationoptionalinterface{} #