# CfnGatewayTarget

After creating a gateway, you can add targets, which define the tools that your gateway will host.

For more information about adding gateway targets, see [Add targets to an existing gateway](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-building-adding-targets.html) .

See the *Properties* section below for descriptions of both the required and optional properties.

Extends: [Construct](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.Construct.html) › [CfnElement](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnElement.html) › [CfnRefElement](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnRefElement.html) › [CfnResource](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnResource.html) › CfnGatewayTarget
Implements: [IInspectable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IInspectable.html), [IEnvironmentAware](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.IEnvironmentAware.html), [IGatewayTargetRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_bedrockagentcore.IGatewayTargetRef.html), [IConstruct](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.IConstruct.html), IDependable

- CloudFormation: [`AWS::BedrockAgentCore::GatewayTarget`](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-bedrockagentcore-gatewaytarget.html)
- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## 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 parameterValues: any;
declare const schemaDefinitionProperty_: bedrockagentcore.CfnGatewayTarget.SchemaDefinitionProperty;
const cfnGatewayTarget = new bedrockagentcore.CfnGatewayTarget(this, 'MyCfnGatewayTarget', {
  targetConfiguration: {
    http: {
      agentcoreRuntime: {
        arn: 'arn',

        // the properties below are optional
        qualifier: 'qualifier',
        schema: {
          source: {
            inlinePayload: 'inlinePayload',
            s3: {
              bucketOwnerAccountId: 'bucketOwnerAccountId',
              uri: 'uri',
            },
          },
        },
      },
      connector: {
        source: {
          connectorId: 'connectorId',
        },

        // the properties below are optional
        parameters: {
          parametersKey: 'parameters',
        },
      },
      passthrough: {
        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,
        },
      },
    },
    inference: {
      connector: {
        source: {
          connectorId: 'connectorId',
        },
      },
      provider: {
        endpoint: 'endpoint',

        // the properties below are optional
        modelMapping: {
          providerPrefix: {
            separator: 'separator',
            strip: false,
          },
        },
        operations: [{
          path: 'path',

          // the properties below are optional
          models: [{
            model: 'model',
          }],
          providerPath: 'providerPath',
        }],
      },
    },
    mcp: {
      apiGateway: {
        apiGatewayToolConfiguration: {
          toolFilters: [{
            filterPath: 'filterPath',
            methods: ['methods'],
          }],

          // the properties below are optional
          toolOverrides: [{
            method: 'method',
            name: 'name',
            path: 'path',

            // the properties below are optional
            description: 'description',
          }],
        },
        restApiId: 'restApiId',
        stage: 'stage',
      },
      connector: {
        source: {
          connectorId: 'connectorId',
        },

        // the properties below are optional
        configurations: [{
          name: 'name',

          // the properties below are optional
          description: 'description',
          parameterOverrides: [{
            path: 'path',

            // the properties below are optional
            description: 'description',
            visible: false,
          }],
          parameterValues: parameterValues,
        }],
        enabled: ['enabled'],
      },
      lambda: {
        lambdaArn: 'lambdaArn',
        toolSchema: {
          inlinePayload: [{
            description: 'description',
            inputSchema: {
              type: 'type',

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

            // the properties below are optional
            outputSchema: {
              type: 'type',

              // the properties below are optional
              description: 'description',
              items: schemaDefinitionProperty_,
              properties: {
                propertiesKey: schemaDefinitionProperty_,
              },
              required: ['required'],
            },
          }],
          s3: {
            bucketOwnerAccountId: 'bucketOwnerAccountId',
            uri: 'uri',
          },
        },
      },
      mcpServer: {
        endpoint: 'endpoint',

        // the properties below are optional
        listingMode: 'listingMode',
        mcpToolSchema: {
          inlinePayload: 'inlinePayload',
          s3: {
            bucketOwnerAccountId: 'bucketOwnerAccountId',
            uri: 'uri',
          },
        },
        resourcePriority: 123,
      },
      openApiSchema: {
        inlinePayload: 'inlinePayload',
        s3: {
          bucketOwnerAccountId: 'bucketOwnerAccountId',
          uri: 'uri',
        },
      },
      smithyModel: {
        inlinePayload: 'inlinePayload',
        s3: {
          bucketOwnerAccountId: 'bucketOwnerAccountId',
          uri: 'uri',
        },
      },
    },
  },

  // the properties below are optional
  certificateConfigurations: [{
    s3: {
      uri: 'uri',

      // the properties below are optional
      bucketOwnerAccountId: 'bucketOwnerAccountId',
    },
    secretsManager: {
      secretArn: 'secretArn',
    },
  }],
  credentialProviderConfigurations: [{
    credentialProviderType: 'credentialProviderType',

    // the properties below are optional
    credentialProvider: {
      apiKeyCredentialProvider: {
        providerArn: 'providerArn',

        // the properties below are optional
        credentialLocation: 'credentialLocation',
        credentialParameterName: 'credentialParameterName',
        credentialPrefix: 'credentialPrefix',
      },
      iamCredentialProvider: {
        service: 'service',

        // the properties below are optional
        region: 'region',
      },
      oauthCredentialProvider: {
        providerArn: 'providerArn',
        scopes: ['scopes'],

        // the properties below are optional
        customParameters: {
          customParametersKey: 'customParameters',
        },
        defaultReturnUrl: 'defaultReturnUrl',
        grantType: 'grantType',
      },
    },
  }],
  description: 'description',
  gatewayIdentifier: 'gatewayIdentifier',
  metadataConfiguration: {
    allowedQueryParameters: ['allowedQueryParameters'],
    allowedRequestHeaders: ['allowedRequestHeaders'],
    allowedResponseHeaders: ['allowedResponseHeaders'],
  },
  name: 'name',
  privateEndpoint: {
    managedVpcResource: {
      endpointIpAddressType: 'endpointIpAddressType',
      subnetIds: ['subnetIds'],
      vpcIdentifier: 'vpcIdentifier',

      // the properties below are optional
      routingDomain: 'routingDomain',
      securityGroupIds: ['securityGroupIds'],
      tags: {
        tagsKey: 'tags',
      },
    },
    selfManagedLatticeResource: {
      resourceConfigurationIdentifier: 'resourceConfigurationIdentifier',
    },
  },
});
```

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

# parameter_values: Any
# schema_definition_property_: bedrockagentcore.CfnGatewayTarget.SchemaDefinitionProperty

cfn_gateway_target = bedrockagentcore.CfnGatewayTarget(self, "MyCfnGatewayTarget",
    target_configuration=bedrockagentcore.CfnGatewayTarget.TargetConfigurationProperty(
        http=bedrockagentcore.CfnGatewayTarget.HttpTargetConfigurationProperty(
            agentcore_runtime=bedrockagentcore.CfnGatewayTarget.RuntimeTargetConfigurationProperty(
                arn="arn",

                # the properties below are optional
                qualifier="qualifier",
                schema=bedrockagentcore.CfnGatewayTarget.HttpApiSchemaConfigurationProperty(
                    source=bedrockagentcore.CfnGatewayTarget.ApiSchemaConfigurationProperty(
                        inline_payload="inlinePayload",
                        s3=bedrockagentcore.CfnGatewayTarget.S3ConfigurationProperty(
                            bucket_owner_account_id="bucketOwnerAccountId",
                            uri="uri"
                        )
                    )
                )
            ),
            connector=bedrockagentcore.CfnGatewayTarget.HttpConnectorTargetConfigurationProperty(
                source=bedrockagentcore.CfnGatewayTarget.HttpConnectorSourceProperty(
                    connector_id="connectorId"
                ),

                # the properties below are optional
                parameters={
                    "parameters_key": "parameters"
                }
            ),
            passthrough=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
                )
            )
        ),
        inference=bedrockagentcore.CfnGatewayTarget.InferenceTargetConfigurationProperty(
            connector=bedrockagentcore.CfnGatewayTarget.InferenceConnectorTargetConfigurationProperty(
                source=bedrockagentcore.CfnGatewayTarget.InferenceConnectorSourceProperty(
                    connector_id="connectorId"
                )
            ),
            provider=bedrockagentcore.CfnGatewayTarget.InferenceProviderTargetConfigurationProperty(
                endpoint="endpoint",

                # the properties below are optional
                model_mapping=bedrockagentcore.CfnGatewayTarget.ModelMappingProperty(
                    provider_prefix=bedrockagentcore.CfnGatewayTarget.ProviderPrefixProperty(
                        separator="separator",
                        strip=False
                    )
                ),
                operations=[bedrockagentcore.CfnGatewayTarget.InferenceOperationConfigurationProperty(
                    path="path",

                    # the properties below are optional
                    models=[bedrockagentcore.CfnGatewayTarget.ModelEntryProperty(
                        model="model"
                    )],
                    provider_path="providerPath"
                )]
            )
        ),
        mcp=bedrockagentcore.CfnGatewayTarget.McpTargetConfigurationProperty(
            api_gateway=bedrockagentcore.CfnGatewayTarget.ApiGatewayTargetConfigurationProperty(
                api_gateway_tool_configuration=bedrockagentcore.CfnGatewayTarget.ApiGatewayToolConfigurationProperty(
                    tool_filters=[bedrockagentcore.CfnGatewayTarget.ApiGatewayToolFilterProperty(
                        filter_path="filterPath",
                        methods=["methods"]
                    )],

                    # the properties below are optional
                    tool_overrides=[bedrockagentcore.CfnGatewayTarget.ApiGatewayToolOverrideProperty(
                        method="method",
                        name="name",
                        path="path",

                        # the properties below are optional
                        description="description"
                    )]
                ),
                rest_api_id="restApiId",
                stage="stage"
            ),
            connector=bedrockagentcore.CfnGatewayTarget.ConnectorTargetConfigurationProperty(
                source=bedrockagentcore.CfnGatewayTarget.ConnectorSourceProperty(
                    connector_id="connectorId"
                ),

                # the properties below are optional
                configurations=[bedrockagentcore.CfnGatewayTarget.ConnectorConfigurationProperty(
                    name="name",

                    # the properties below are optional
                    description="description",
                    parameter_overrides=[bedrockagentcore.CfnGatewayTarget.ConnectorParameterOverrideProperty(
                        path="path",

                        # the properties below are optional
                        description="description",
                        visible=False
                    )],
                    parameter_values=parameter_values
                )],
                enabled=["enabled"]
            ),
            lambda_=bedrockagentcore.CfnGatewayTarget.McpLambdaTargetConfigurationProperty(
                lambda_arn="lambdaArn",
                tool_schema=bedrockagentcore.CfnGatewayTarget.ToolSchemaProperty(
                    inline_payload=[bedrockagentcore.CfnGatewayTarget.ToolDefinitionProperty(
                        description="description",
                        input_schema=bedrockagentcore.CfnGatewayTarget.SchemaDefinitionProperty(
                            type="type",

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

                        # the properties below are optional
                        output_schema=bedrockagentcore.CfnGatewayTarget.SchemaDefinitionProperty(
                            type="type",

                            # the properties below are optional
                            description="description",
                            items=schema_definition_property_,
                            properties={
                                "properties_key": schema_definition_property_
                            },
                            required=["required"]
                        )
                    )],
                    s3=bedrockagentcore.CfnGatewayTarget.S3ConfigurationProperty(
                        bucket_owner_account_id="bucketOwnerAccountId",
                        uri="uri"
                    )
                )
            ),
            mcp_server=bedrockagentcore.CfnGatewayTarget.McpServerTargetConfigurationProperty(
                endpoint="endpoint",

                # the properties below are optional
                listing_mode="listingMode",
                mcp_tool_schema=bedrockagentcore.CfnGatewayTarget.McpToolSchemaConfigurationProperty(
                    inline_payload="inlinePayload",
                    s3=bedrockagentcore.CfnGatewayTarget.S3ConfigurationProperty(
                        bucket_owner_account_id="bucketOwnerAccountId",
                        uri="uri"
                    )
                ),
                resource_priority=123
            ),
            open_api_schema=bedrockagentcore.CfnGatewayTarget.ApiSchemaConfigurationProperty(
                inline_payload="inlinePayload",
                s3=bedrockagentcore.CfnGatewayTarget.S3ConfigurationProperty(
                    bucket_owner_account_id="bucketOwnerAccountId",
                    uri="uri"
                )
            ),
            smithy_model=bedrockagentcore.CfnGatewayTarget.ApiSchemaConfigurationProperty(
                inline_payload="inlinePayload",
                s3=bedrockagentcore.CfnGatewayTarget.S3ConfigurationProperty(
                    bucket_owner_account_id="bucketOwnerAccountId",
                    uri="uri"
                )
            )
        )
    ),

    # the properties below are optional
    certificate_configurations=[bedrockagentcore.CfnGatewayTarget.CertificateConfigurationProperty(
        s3=bedrockagentcore.CfnGatewayTarget.S3CertificateConfigurationProperty(
            uri="uri",

            # the properties below are optional
            bucket_owner_account_id="bucketOwnerAccountId"
        ),
        secrets_manager=bedrockagentcore.CfnGatewayTarget.SecretsManagerCertificateConfigurationProperty(
            secret_arn="secretArn"
        )
    )],
    credential_provider_configurations=[bedrockagentcore.CfnGatewayTarget.CredentialProviderConfigurationProperty(
        credential_provider_type="credentialProviderType",

        # the properties below are optional
        credential_provider=bedrockagentcore.CfnGatewayTarget.CredentialProviderProperty(
            api_key_credential_provider=bedrockagentcore.CfnGatewayTarget.ApiKeyCredentialProviderProperty(
                provider_arn="providerArn",

                # the properties below are optional
                credential_location="credentialLocation",
                credential_parameter_name="credentialParameterName",
                credential_prefix="credentialPrefix"
            ),
            iam_credential_provider=bedrockagentcore.CfnGatewayTarget.IamCredentialProviderProperty(
                service="service",

                # the properties below are optional
                region="region"
            ),
            oauth_credential_provider=bedrockagentcore.CfnGatewayTarget.OAuthCredentialProviderProperty(
                provider_arn="providerArn",
                scopes=["scopes"],

                # the properties below are optional
                custom_parameters={
                    "custom_parameters_key": "customParameters"
                },
                default_return_url="defaultReturnUrl",
                grant_type="grantType"
            )
        )
    )],
    description="description",
    gateway_identifier="gatewayIdentifier",
    metadata_configuration=bedrockagentcore.CfnGatewayTarget.MetadataConfigurationProperty(
        allowed_query_parameters=["allowedQueryParameters"],
        allowed_request_headers=["allowedRequestHeaders"],
        allowed_response_headers=["allowedResponseHeaders"]
    ),
    name="name",
    private_endpoint=bedrockagentcore.CfnGatewayTarget.PrivateEndpointProperty(
        managed_vpc_resource=bedrockagentcore.CfnGatewayTarget.ManagedVpcResourceProperty(
            endpoint_ip_address_type="endpointIpAddressType",
            subnet_ids=["subnetIds"],
            vpc_identifier="vpcIdentifier",

            # the properties below are optional
            routing_domain="routingDomain",
            security_group_ids=["securityGroupIds"],
            tags={
                "tags_key": "tags"
            }
        ),
        self_managed_lattice_resource=bedrockagentcore.CfnGatewayTarget.SelfManagedLatticeResourceProperty(
            resource_configuration_identifier="resourceConfigurationIdentifier"
        )
    )
)
```

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

Object parameterValues;
SchemaDefinitionProperty schemaDefinitionProperty_;

CfnGatewayTarget cfnGatewayTarget = CfnGatewayTarget.Builder.create(this, "MyCfnGatewayTarget")
        .targetConfiguration(TargetConfigurationProperty.builder()
                .http(HttpTargetConfigurationProperty.builder()
                        .agentcoreRuntime(RuntimeTargetConfigurationProperty.builder()
                                .arn("arn")

                                // the properties below are optional
                                .qualifier("qualifier")
                                .schema(HttpApiSchemaConfigurationProperty.builder()
                                        .source(ApiSchemaConfigurationProperty.builder()
                                                .inlinePayload("inlinePayload")
                                                .s3(S3ConfigurationProperty.builder()
                                                        .bucketOwnerAccountId("bucketOwnerAccountId")
                                                        .uri("uri")
                                                        .build())
                                                .build())
                                        .build())
                                .build())
                        .connector(HttpConnectorTargetConfigurationProperty.builder()
                                .source(HttpConnectorSourceProperty.builder()
                                        .connectorId("connectorId")
                                        .build())

                                // the properties below are optional
                                .parameters(Map.of(
                                        "parametersKey", "parameters"))
                                .build())
                        .passthrough(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())
                        .build())
                .inference(InferenceTargetConfigurationProperty.builder()
                        .connector(InferenceConnectorTargetConfigurationProperty.builder()
                                .source(InferenceConnectorSourceProperty.builder()
                                        .connectorId("connectorId")
                                        .build())
                                .build())
                        .provider(InferenceProviderTargetConfigurationProperty.builder()
                                .endpoint("endpoint")

                                // the properties below are optional
                                .modelMapping(ModelMappingProperty.builder()
                                        .providerPrefix(ProviderPrefixProperty.builder()
                                                .separator("separator")
                                                .strip(false)
                                                .build())
                                        .build())
                                .operations(List.of(InferenceOperationConfigurationProperty.builder()
                                        .path("path")

                                        // the properties below are optional
                                        .models(List.of(ModelEntryProperty.builder()
                                                .model("model")
                                                .build()))
                                        .providerPath("providerPath")
                                        .build()))
                                .build())
                        .build())
                .mcp(McpTargetConfigurationProperty.builder()
                        .apiGateway(ApiGatewayTargetConfigurationProperty.builder()
                                .apiGatewayToolConfiguration(ApiGatewayToolConfigurationProperty.builder()
                                        .toolFilters(List.of(ApiGatewayToolFilterProperty.builder()
                                                .filterPath("filterPath")
                                                .methods(List.of("methods"))
                                                .build()))

                                        // the properties below are optional
                                        .toolOverrides(List.of(ApiGatewayToolOverrideProperty.builder()
                                                .method("method")
                                                .name("name")
                                                .path("path")

                                                // the properties below are optional
                                                .description("description")
                                                .build()))
                                        .build())
                                .restApiId("restApiId")
                                .stage("stage")
                                .build())
                        .connector(ConnectorTargetConfigurationProperty.builder()
                                .source(ConnectorSourceProperty.builder()
                                        .connectorId("connectorId")
                                        .build())

                                // the properties below are optional
                                .configurations(List.of(ConnectorConfigurationProperty.builder()
                                        .name("name")

                                        // the properties below are optional
                                        .description("description")
                                        .parameterOverrides(List.of(ConnectorParameterOverrideProperty.builder()
                                                .path("path")

                                                // the properties below are optional
                                                .description("description")
                                                .visible(false)
                                                .build()))
                                        .parameterValues(parameterValues)
                                        .build()))
                                .enabled(List.of("enabled"))
                                .build())
                        .lambda(McpLambdaTargetConfigurationProperty.builder()
                                .lambdaArn("lambdaArn")
                                .toolSchema(ToolSchemaProperty.builder()
                                        .inlinePayload(List.of(ToolDefinitionProperty.builder()
                                                .description("description")
                                                .inputSchema(SchemaDefinitionProperty.builder()
                                                        .type("type")

                                                        // the properties below are optional
                                                        .description("description")
                                                        .items(schemaDefinitionProperty_)
                                                        .properties(Map.of(
                                                                "propertiesKey", schemaDefinitionProperty_))
                                                        .required(List.of("required"))
                                                        .build())
                                                .name("name")

                                                // the properties below are optional
                                                .outputSchema(SchemaDefinitionProperty.builder()
                                                        .type("type")

                                                        // the properties below are optional
                                                        .description("description")
                                                        .items(schemaDefinitionProperty_)
                                                        .properties(Map.of(
                                                                "propertiesKey", schemaDefinitionProperty_))
                                                        .required(List.of("required"))
                                                        .build())
                                                .build()))
                                        .s3(S3ConfigurationProperty.builder()
                                                .bucketOwnerAccountId("bucketOwnerAccountId")
                                                .uri("uri")
                                                .build())
                                        .build())
                                .build())
                        .mcpServer(McpServerTargetConfigurationProperty.builder()
                                .endpoint("endpoint")

                                // the properties below are optional
                                .listingMode("listingMode")
                                .mcpToolSchema(McpToolSchemaConfigurationProperty.builder()
                                        .inlinePayload("inlinePayload")
                                        .s3(S3ConfigurationProperty.builder()
                                                .bucketOwnerAccountId("bucketOwnerAccountId")
                                                .uri("uri")
                                                .build())
                                        .build())
                                .resourcePriority(123)
                                .build())
                        .openApiSchema(ApiSchemaConfigurationProperty.builder()
                                .inlinePayload("inlinePayload")
                                .s3(S3ConfigurationProperty.builder()
                                        .bucketOwnerAccountId("bucketOwnerAccountId")
                                        .uri("uri")
                                        .build())
                                .build())
                        .smithyModel(ApiSchemaConfigurationProperty.builder()
                                .inlinePayload("inlinePayload")
                                .s3(S3ConfigurationProperty.builder()
                                        .bucketOwnerAccountId("bucketOwnerAccountId")
                                        .uri("uri")
                                        .build())
                                .build())
                        .build())
                .build())

        // the properties below are optional
        .certificateConfigurations(List.of(CertificateConfigurationProperty.builder()
                .s3(S3CertificateConfigurationProperty.builder()
                        .uri("uri")

                        // the properties below are optional
                        .bucketOwnerAccountId("bucketOwnerAccountId")
                        .build())
                .secretsManager(SecretsManagerCertificateConfigurationProperty.builder()
                        .secretArn("secretArn")
                        .build())
                .build()))
        .credentialProviderConfigurations(List.of(CredentialProviderConfigurationProperty.builder()
                .credentialProviderType("credentialProviderType")

                // the properties below are optional
                .credentialProvider(CredentialProviderProperty.builder()
                        .apiKeyCredentialProvider(ApiKeyCredentialProviderProperty.builder()
                                .providerArn("providerArn")

                                // the properties below are optional
                                .credentialLocation("credentialLocation")
                                .credentialParameterName("credentialParameterName")
                                .credentialPrefix("credentialPrefix")
                                .build())
                        .iamCredentialProvider(IamCredentialProviderProperty.builder()
                                .service("service")

                                // the properties below are optional
                                .region("region")
                                .build())
                        .oauthCredentialProvider(OAuthCredentialProviderProperty.builder()
                                .providerArn("providerArn")
                                .scopes(List.of("scopes"))

                                // the properties below are optional
                                .customParameters(Map.of(
                                        "customParametersKey", "customParameters"))
                                .defaultReturnUrl("defaultReturnUrl")
                                .grantType("grantType")
                                .build())
                        .build())
                .build()))
        .description("description")
        .gatewayIdentifier("gatewayIdentifier")
        .metadataConfiguration(MetadataConfigurationProperty.builder()
                .allowedQueryParameters(List.of("allowedQueryParameters"))
                .allowedRequestHeaders(List.of("allowedRequestHeaders"))
                .allowedResponseHeaders(List.of("allowedResponseHeaders"))
                .build())
        .name("name")
        .privateEndpoint(PrivateEndpointProperty.builder()
                .managedVpcResource(ManagedVpcResourceProperty.builder()
                        .endpointIpAddressType("endpointIpAddressType")
                        .subnetIds(List.of("subnetIds"))
                        .vpcIdentifier("vpcIdentifier")

                        // the properties below are optional
                        .routingDomain("routingDomain")
                        .securityGroupIds(List.of("securityGroupIds"))
                        .tags(Map.of(
                                "tagsKey", "tags"))
                        .build())
                .selfManagedLatticeResource(SelfManagedLatticeResourceProperty.builder()
                        .resourceConfigurationIdentifier("resourceConfigurationIdentifier")
                        .build())
                .build())
        .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;

var parameterValues;
SchemaDefinitionProperty schemaDefinitionProperty_;

var cfnGatewayTarget = new CfnGatewayTarget(this, "MyCfnGatewayTarget", new CfnGatewayTargetProps {
    TargetConfiguration = new TargetConfigurationProperty {
        Http = new HttpTargetConfigurationProperty {
            AgentcoreRuntime = new RuntimeTargetConfigurationProperty {
                Arn = "arn",

                // the properties below are optional
                Qualifier = "qualifier",
                Schema = new HttpApiSchemaConfigurationProperty {
                    Source = new ApiSchemaConfigurationProperty {
                        InlinePayload = "inlinePayload",
                        S3 = new S3ConfigurationProperty {
                            BucketOwnerAccountId = "bucketOwnerAccountId",
                            Uri = "uri"
                        }
                    }
                }
            },
            Connector = new HttpConnectorTargetConfigurationProperty {
                Source = new HttpConnectorSourceProperty {
                    ConnectorId = "connectorId"
                },

                // the properties below are optional
                Parameters = new Dictionary<string, string> {
                    { "parametersKey", "parameters" }
                }
            },
            Passthrough = 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
                }
            }
        },
        Inference = new InferenceTargetConfigurationProperty {
            Connector = new InferenceConnectorTargetConfigurationProperty {
                Source = new InferenceConnectorSourceProperty {
                    ConnectorId = "connectorId"
                }
            },
            Provider = new InferenceProviderTargetConfigurationProperty {
                Endpoint = "endpoint",

                // the properties below are optional
                ModelMapping = new ModelMappingProperty {
                    ProviderPrefix = new ProviderPrefixProperty {
                        Separator = "separator",
                        Strip = false
                    }
                },
                Operations = new [] { new InferenceOperationConfigurationProperty {
                    Path = "path",

                    // the properties below are optional
                    Models = new [] { new ModelEntryProperty {
                        Model = "model"
                    } },
                    ProviderPath = "providerPath"
                } }
            }
        },
        Mcp = new McpTargetConfigurationProperty {
            ApiGateway = new ApiGatewayTargetConfigurationProperty {
                ApiGatewayToolConfiguration = new ApiGatewayToolConfigurationProperty {
                    ToolFilters = new [] { new ApiGatewayToolFilterProperty {
                        FilterPath = "filterPath",
                        Methods = new [] { "methods" }
                    } },

                    // the properties below are optional
                    ToolOverrides = new [] { new ApiGatewayToolOverrideProperty {
                        Method = "method",
                        Name = "name",
                        Path = "path",

                        // the properties below are optional
                        Description = "description"
                    } }
                },
                RestApiId = "restApiId",
                Stage = "stage"
            },
            Connector = new ConnectorTargetConfigurationProperty {
                Source = new ConnectorSourceProperty {
                    ConnectorId = "connectorId"
                },

                // the properties below are optional
                Configurations = new [] { new ConnectorConfigurationProperty {
                    Name = "name",

                    // the properties below are optional
                    Description = "description",
                    ParameterOverrides = new [] { new ConnectorParameterOverrideProperty {
                        Path = "path",

                        // the properties below are optional
                        Description = "description",
                        Visible = false
                    } },
                    ParameterValues = parameterValues
                } },
                Enabled = new [] { "enabled" }
            },
            Lambda = new McpLambdaTargetConfigurationProperty {
                LambdaArn = "lambdaArn",
                ToolSchema = new ToolSchemaProperty {
                    InlinePayload = new [] { new ToolDefinitionProperty {
                        Description = "description",
                        InputSchema = new SchemaDefinitionProperty {
                            Type = "type",

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

                        // the properties below are optional
                        OutputSchema = new SchemaDefinitionProperty {
                            Type = "type",

                            // the properties below are optional
                            Description = "description",
                            Items = schemaDefinitionProperty_,
                            Properties = new Dictionary<string, object> {
                                { "propertiesKey", schemaDefinitionProperty_ }
                            },
                            Required = new [] { "required" }
                        }
                    } },
                    S3 = new S3ConfigurationProperty {
                        BucketOwnerAccountId = "bucketOwnerAccountId",
                        Uri = "uri"
                    }
                }
            },
            McpServer = new McpServerTargetConfigurationProperty {
                Endpoint = "endpoint",

                // the properties below are optional
                ListingMode = "listingMode",
                McpToolSchema = new McpToolSchemaConfigurationProperty {
                    InlinePayload = "inlinePayload",
                    S3 = new S3ConfigurationProperty {
                        BucketOwnerAccountId = "bucketOwnerAccountId",
                        Uri = "uri"
                    }
                },
                ResourcePriority = 123
            },
            OpenApiSchema = new ApiSchemaConfigurationProperty {
                InlinePayload = "inlinePayload",
                S3 = new S3ConfigurationProperty {
                    BucketOwnerAccountId = "bucketOwnerAccountId",
                    Uri = "uri"
                }
            },
            SmithyModel = new ApiSchemaConfigurationProperty {
                InlinePayload = "inlinePayload",
                S3 = new S3ConfigurationProperty {
                    BucketOwnerAccountId = "bucketOwnerAccountId",
                    Uri = "uri"
                }
            }
        }
    },

    // the properties below are optional
    CertificateConfigurations = new [] { new CertificateConfigurationProperty {
        S3 = new S3CertificateConfigurationProperty {
            Uri = "uri",

            // the properties below are optional
            BucketOwnerAccountId = "bucketOwnerAccountId"
        },
        SecretsManager = new SecretsManagerCertificateConfigurationProperty {
            SecretArn = "secretArn"
        }
    } },
    CredentialProviderConfigurations = new [] { new CredentialProviderConfigurationProperty {
        CredentialProviderType = "credentialProviderType",

        // the properties below are optional
        CredentialProvider = new CredentialProviderProperty {
            ApiKeyCredentialProvider = new ApiKeyCredentialProviderProperty {
                ProviderArn = "providerArn",

                // the properties below are optional
                CredentialLocation = "credentialLocation",
                CredentialParameterName = "credentialParameterName",
                CredentialPrefix = "credentialPrefix"
            },
            IamCredentialProvider = new IamCredentialProviderProperty {
                Service = "service",

                // the properties below are optional
                Region = "region"
            },
            OauthCredentialProvider = new OAuthCredentialProviderProperty {
                ProviderArn = "providerArn",
                Scopes = new [] { "scopes" },

                // the properties below are optional
                CustomParameters = new Dictionary<string, string> {
                    { "customParametersKey", "customParameters" }
                },
                DefaultReturnUrl = "defaultReturnUrl",
                GrantType = "grantType"
            }
        }
    } },
    Description = "description",
    GatewayIdentifier = "gatewayIdentifier",
    MetadataConfiguration = new MetadataConfigurationProperty {
        AllowedQueryParameters = new [] { "allowedQueryParameters" },
        AllowedRequestHeaders = new [] { "allowedRequestHeaders" },
        AllowedResponseHeaders = new [] { "allowedResponseHeaders" }
    },
    Name = "name",
    PrivateEndpoint = new PrivateEndpointProperty {
        ManagedVpcResource = new ManagedVpcResourceProperty {
            EndpointIpAddressType = "endpointIpAddressType",
            SubnetIds = new [] { "subnetIds" },
            VpcIdentifier = "vpcIdentifier",

            // the properties below are optional
            RoutingDomain = "routingDomain",
            SecurityGroupIds = new [] { "securityGroupIds" },
            Tags = new Dictionary<string, string> {
                { "tagsKey", "tags" }
            }
        },
        SelfManagedLatticeResource = new SelfManagedLatticeResourceProperty {
            ResourceConfigurationIdentifier = "resourceConfigurationIdentifier"
        }
    }
});
```

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 parameterValues interface{}
var schemaDefinitionProperty_ SchemaDefinitionProperty

cfnGatewayTarget := awscdk.Aws_bedrockagentcore.NewCfnGatewayTarget(this, jsii.String("MyCfnGatewayTarget"), &CfnGatewayTargetProps{
	TargetConfiguration: &TargetConfigurationProperty{
		Http: &HttpTargetConfigurationProperty{
			AgentcoreRuntime: &RuntimeTargetConfigurationProperty{
				Arn: jsii.String("arn"),

				// the properties below are optional
				Qualifier: jsii.String("qualifier"),
				Schema: &HttpApiSchemaConfigurationProperty{
					Source: &ApiSchemaConfigurationProperty{
						InlinePayload: jsii.String("inlinePayload"),
						S3: &S3ConfigurationProperty{
							BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
							Uri: jsii.String("uri"),
						},
					},
				},
			},
			Connector: &HttpConnectorTargetConfigurationProperty{
				Source: &HttpConnectorSourceProperty{
					ConnectorId: jsii.String("connectorId"),
				},

				// the properties below are optional
				Parameters: map[string]*string{
					"parametersKey": jsii.String("parameters"),
				},
			},
			Passthrough: &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),
				},
			},
		},
		Inference: &InferenceTargetConfigurationProperty{
			Connector: &InferenceConnectorTargetConfigurationProperty{
				Source: &InferenceConnectorSourceProperty{
					ConnectorId: jsii.String("connectorId"),
				},
			},
			Provider: &InferenceProviderTargetConfigurationProperty{
				Endpoint: jsii.String("endpoint"),

				// the properties below are optional
				ModelMapping: &ModelMappingProperty{
					ProviderPrefix: &ProviderPrefixProperty{
						Separator: jsii.String("separator"),
						Strip: jsii.Boolean(false),
					},
				},
				Operations: []interface{}{
					&InferenceOperationConfigurationProperty{
						Path: jsii.String("path"),

						// the properties below are optional
						Models: []interface{}{
							&ModelEntryProperty{
								Model: jsii.String("model"),
							},
						},
						ProviderPath: jsii.String("providerPath"),
					},
				},
			},
		},
		Mcp: &McpTargetConfigurationProperty{
			ApiGateway: &ApiGatewayTargetConfigurationProperty{
				ApiGatewayToolConfiguration: &ApiGatewayToolConfigurationProperty{
					ToolFilters: []interface{}{
						&ApiGatewayToolFilterProperty{
							FilterPath: jsii.String("filterPath"),
							Methods: []*string{
								jsii.String("methods"),
							},
						},
					},

					// the properties below are optional
					ToolOverrides: []interface{}{
						&ApiGatewayToolOverrideProperty{
							Method: jsii.String("method"),
							Name: jsii.String("name"),
							Path: jsii.String("path"),

							// the properties below are optional
							Description: jsii.String("description"),
						},
					},
				},
				RestApiId: jsii.String("restApiId"),
				Stage: jsii.String("stage"),
			},
			Connector: &ConnectorTargetConfigurationProperty{
				Source: &ConnectorSourceProperty{
					ConnectorId: jsii.String("connectorId"),
				},

				// the properties below are optional
				Configurations: []interface{}{
					&ConnectorConfigurationProperty{
						Name: jsii.String("name"),

						// the properties below are optional
						Description: jsii.String("description"),
						ParameterOverrides: []interface{}{
							&ConnectorParameterOverrideProperty{
								Path: jsii.String("path"),

								// the properties below are optional
								Description: jsii.String("description"),
								Visible: jsii.Boolean(false),
							},
						},
						ParameterValues: parameterValues,
					},
				},
				Enabled: []*string{
					jsii.String("enabled"),
				},
			},
			Lambda: &McpLambdaTargetConfigurationProperty{
				LambdaArn: jsii.String("lambdaArn"),
				ToolSchema: &ToolSchemaProperty{
					InlinePayload: []interface{}{
						&ToolDefinitionProperty{
							Description: jsii.String("description"),
							InputSchema: &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"),
								},
							},
							Name: jsii.String("name"),

							// the properties below are optional
							OutputSchema: &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"),
								},
							},
						},
					},
					S3: &S3ConfigurationProperty{
						BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
						Uri: jsii.String("uri"),
					},
				},
			},
			McpServer: &McpServerTargetConfigurationProperty{
				Endpoint: jsii.String("endpoint"),

				// the properties below are optional
				ListingMode: jsii.String("listingMode"),
				McpToolSchema: &McpToolSchemaConfigurationProperty{
					InlinePayload: jsii.String("inlinePayload"),
					S3: &S3ConfigurationProperty{
						BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
						Uri: jsii.String("uri"),
					},
				},
				ResourcePriority: jsii.Number(123),
			},
			OpenApiSchema: &ApiSchemaConfigurationProperty{
				InlinePayload: jsii.String("inlinePayload"),
				S3: &S3ConfigurationProperty{
					BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
					Uri: jsii.String("uri"),
				},
			},
			SmithyModel: &ApiSchemaConfigurationProperty{
				InlinePayload: jsii.String("inlinePayload"),
				S3: &S3ConfigurationProperty{
					BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
					Uri: jsii.String("uri"),
				},
			},
		},
	},

	// the properties below are optional
	CertificateConfigurations: []interface{}{
		&CertificateConfigurationProperty{
			S3: &S3CertificateConfigurationProperty{
				Uri: jsii.String("uri"),

				// the properties below are optional
				BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
			},
			SecretsManager: &SecretsManagerCertificateConfigurationProperty{
				SecretArn: jsii.String("secretArn"),
			},
		},
	},
	CredentialProviderConfigurations: []interface{}{
		&CredentialProviderConfigurationProperty{
			CredentialProviderType: jsii.String("credentialProviderType"),

			// the properties below are optional
			CredentialProvider: &CredentialProviderProperty{
				ApiKeyCredentialProvider: &ApiKeyCredentialProviderProperty{
					ProviderArn: jsii.String("providerArn"),

					// the properties below are optional
					CredentialLocation: jsii.String("credentialLocation"),
					CredentialParameterName: jsii.String("credentialParameterName"),
					CredentialPrefix: jsii.String("credentialPrefix"),
				},
				IamCredentialProvider: &IamCredentialProviderProperty{
					Service: jsii.String("service"),

					// the properties below are optional
					Region: jsii.String("region"),
				},
				OauthCredentialProvider: &OAuthCredentialProviderProperty{
					ProviderArn: jsii.String("providerArn"),
					Scopes: []*string{
						jsii.String("scopes"),
					},

					// the properties below are optional
					CustomParameters: map[string]*string{
						"customParametersKey": jsii.String("customParameters"),
					},
					DefaultReturnUrl: jsii.String("defaultReturnUrl"),
					GrantType: jsii.String("grantType"),
				},
			},
		},
	},
	Description: jsii.String("description"),
	GatewayIdentifier: jsii.String("gatewayIdentifier"),
	MetadataConfiguration: &MetadataConfigurationProperty{
		AllowedQueryParameters: []*string{
			jsii.String("allowedQueryParameters"),
		},
		AllowedRequestHeaders: []*string{
			jsii.String("allowedRequestHeaders"),
		},
		AllowedResponseHeaders: []*string{
			jsii.String("allowedResponseHeaders"),
		},
	},
	Name: jsii.String("name"),
	PrivateEndpoint: &PrivateEndpointProperty{
		ManagedVpcResource: &ManagedVpcResourceProperty{
			EndpointIpAddressType: jsii.String("endpointIpAddressType"),
			SubnetIds: []*string{
				jsii.String("subnetIds"),
			},
			VpcIdentifier: jsii.String("vpcIdentifier"),

			// the properties below are optional
			RoutingDomain: jsii.String("routingDomain"),
			SecurityGroupIds: []*string{
				jsii.String("securityGroupIds"),
			},
			Tags: map[string]*string{
				"tagsKey": jsii.String("tags"),
			},
		},
		SelfManagedLatticeResource: &SelfManagedLatticeResourceProperty{
			ResourceConfigurationIdentifier: jsii.String("resourceConfigurationIdentifier"),
		},
	},
})
```

## Initializer

TypeScript:

```ts
new CfnGatewayTarget(scope: Construct, id: string, props: CfnGatewayTargetProps)
```

Python:

```python
CfnGatewayTarget(scope: Construct, id: str, props: CfnGatewayTargetProps)
```

Java:

```java
new CfnGatewayTarget(Construct scope, String id, CfnGatewayTargetProps props)
```

C# / .NET:

```csharp
new CfnGatewayTarget(Construct scope, string id, CfnGatewayTargetProps props)
```

Golang:

```go
NewCfnGatewayTarget(Scope Construct, Id *string, Props CfnGatewayTargetProps)
```

## Construct Props

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

- `credentialProviderConfigurations`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnGatewayTarget.CredentialProviderConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnGatewayTarget.CredentialProviderConfigurationProperty.html)[] — The OAuth credential provider configuration.

- `description`: string — The description for the gateway target.

- `gatewayIdentifier`: string — The gateway ID for the gateway target.

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

- `name`: string — The name for the gateway target.

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

- `targetConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnGatewayTarget.TargetConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnGatewayTarget.TargetConfigurationProperty.html) (required) — The target configuration for the Smithy model target.

## Properties

- `attrAuthorizationData`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `attrCreatedAt`: string — The date and time at which the gateway target was created.

- `attrGatewayArn`: string

- `attrLastSynchronizedAt`: string

- `attrPrivateEndpointManagedResources`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `attrProtocolType`: string

- `attrStatus`: string — The status for the gateway target.

- `attrStatusReasons`: string[] — The status reasons for the gateway target.

- `attrTargetId`: string — The target ID for the gateway target.

- `attrUpdatedAt`: string — The time at which the resource was updated.

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

- `CFN_RESOURCE_TYPE_NAME`: string (static) — The CloudFormation resource type name for this resource class.

- `cfnOptions`: [ICfnResourceOptions](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.ICfnResourceOptions.html) — Options for this resource, such as condition, update policy etc.

- `cfnResourceType`: string — AWS resource type.

- `creationStack`: string[]

- `credentialProviderConfigurations`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnGatewayTarget.CredentialProviderConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnGatewayTarget.CredentialProviderConfigurationProperty.html)[] — The OAuth credential provider configuration.

- `description`: string — The description for the gateway target.

- `env`: [ResourceEnvironment](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.ResourceEnvironment.html)

- `gatewayIdentifier`: string — The gateway ID for the gateway target.

- `gatewayTargetRef`: [GatewayTargetReference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_bedrockagentcore.GatewayTargetReference.html) — A reference to a GatewayTarget resource.

- `logicalId`: string — The logical ID for this CloudFormation stack element.

  The logical ID of the element
  is calculated from the path of the resource node in the construct tree.

  To override this value, use `overrideLogicalId(newLogicalId)`.

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

- `name`: string — The name for the gateway target.

- `node`: [Node](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.Node.html) — The tree node.

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

- `ref`: string — Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.

  If, by any chance, the intrinsic reference of a resource is not a string, you could
  coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.

- `stack`: [Stack](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Stack.html) — The stack in which this element is defined.

  CfnElements must be defined within a stack scope (directly or indirectly).

- `targetConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnGatewayTarget.TargetConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnGatewayTarget.TargetConfigurationProperty.html) — The target configuration for the Smithy model target.

## Methods

- `addDeletionOverride(path: string): void` — Syntactic sugar for `addOverride(path, undefined)`.

  **Parameters**

  - `path` — The path of the value to delete.

- `addDependency(target: CfnResource): void` — Use `addResourceDependency` instead.

  This method has been renamed to `addResourceDependency` to more clearly
  set it apart from `construct.node.addDependency`. See the documentation
  of that function for more details.

- `addDependsOn(target: CfnResource): void` — Use `addResourceDependency` instead.

  This can be used for resources across stacks (or nested stack) boundaries
  and the dependency will automatically be transferred to the relevant scope.

  This method has been renamed to `addResourceDependency`, which makes it
  more clear that this method operates at a different level from the
  construct-level `construct.node.addDependency()` mechanism.

- `addMetadata(key: string, value: any): void` — Add a value to the CloudFormation Resource Metadata.

- `addOverride(path: string, value: any): void` — Adds an override to the synthesized CloudFormation resource.

  To add a
  property override, either use `addPropertyOverride` or prefix `path` with
  "Properties." (i.e. `Properties.TopicName`).

  If the override is nested, separate each nested level using a dot (.) in the path parameter.
  If there is an array as part of the nesting, specify the index in the path.

  To include a literal `.` in the property name, prefix with a `\`. In most
  programming languages you will need to write this as `"\\."` because the
  `\` itself will need to be escaped.

  For example,
  ```typescript
  cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
  cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
  ```
  would add the overrides
  ```json
  "Properties": {
    "GlobalSecondaryIndexes": [
      {
        "Projection": {
          "NonKeyAttributes": [ "myattribute" ]
          ...
        }
        ...
      },
      {
        "ProjectionType": "INCLUDE"
        ...
      },
    ]
    ...
  }
  ```

  The `value` argument to `addOverride` will not be processed or translated
  in any way. Pass raw JSON values in here with the correct capitalization
  for CloudFormation. If you pass CDK classes or structs, they will be
  rendered with lowercased key names, and CloudFormation will reject the
  template.

  **Parameters**

  - `path` — - The path of the property, you can use dot notation to override values in complex types.
  - `value` — - The value.

- `addPropertyDeletionOverride(propertyPath: string): void` — Adds an override that deletes the value of a property from the resource definition.

  **Parameters**

  - `propertyPath` — The path to the property.

- `addPropertyOverride(propertyPath: string, value: any): void` — Adds an override to a resource property.

  Syntactic sugar for `addOverride("Properties.<...>", value)`.

  **Parameters**

  - `propertyPath` — The path of the property.
  - `value` — The value.

- `addResourceDependency(target: CfnResource, reason?: string): void` — Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

  This can be used for resources across stacks (or nested stack) boundaries
  and the dependency will automatically be transferred to the relevant scope.

  This method only adds dependencies between L1 resources. If you are
  looking for a generic construct-to-construct dependency mechanism that works
  for all constructs including L2s, use `construct.node.addDependency` instead.

- `applyCrossStackReferenceStrength(strength: ReferenceStrength): void` — Sets the cross-stack reference strength for this resource.

  When set, any cross-stack reference to this resource will use the specified
  strength instead of the global default from the consuming stack's context.

  **Parameters**

  - `strength` — - The reference strength to use for this resource.

- `applyRemovalPolicy(policy?: RemovalPolicy, options?: RemovalPolicyOptions): void` — Sets the deletion policy of the resource based on the removal policy specified.

  The Removal Policy controls what happens to this resource when it stops
  being managed by CloudFormation, either because you've removed it from the
  CDK application or because you've made a change that requires the resource
  to be replaced.

  The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
  account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
  cases, a snapshot can be taken of the resource prior to deletion
  (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
  can be found in the following link:

- `cfnPropertyName(cdkPropertyName: string): string`

- `getAtt(attributeName: string, typeHint?: ResolutionTypeHint): Reference` — Returns a token for an runtime attribute of this resource.

  Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
  in case there is no generated attribute.

  **Parameters**

  - `attributeName` — The name of the attribute.

- `getMetadata(key: string): any` — Retrieve a value value from the CloudFormation Resource Metadata.

- `inspect(inspector: TreeInspector): void` — Examines the CloudFormation resource and discloses attributes.

  **Parameters**

  - `inspector` — tree inspector to collect and process attributes.

- `isCfnElement(x: any): boolean` (static) — Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

  Uses duck-typing instead of `instanceof` to allow stack elements from different
  versions of this library to be included in the same stack.

  **Returns:** The construct as a stack element or undefined if it is not a stack element.

- `isCfnGatewayTarget(x: any): boolean` (static) — Checks whether the given object is a CfnGatewayTarget.

- `isCfnResource(x: any): boolean` (static) — Check whether the given object is a CfnResource.

- `isConstruct(x: any): boolean` (static) — Checks if `x` is a construct.

  Use this method instead of `instanceof` to properly detect `Construct`
  instances, even when the construct library is symlinked.

  Explanation: in JavaScript, multiple copies of the `constructs` library on
  disk are seen as independent, completely different libraries. As a
  consequence, the class `Construct` in each copy of the `constructs` library
  is seen as a different class, and an instance of one class will not test as
  `instanceof` the other class. `npm install` will not create installations
  like this, but users may manually symlink construct libraries together or
  use a monorepo tool: in those cases, multiple copies of the `constructs`
  library can be accidentally installed, and `instanceof` will behave
  unpredictably. It is safest to avoid using `instanceof`, and using
  this type-testing method instead.

  **Parameters**

  - `x` — Any object.

  **Returns:** true if `x` is an object created from a class which extends `Construct`.

- `obtainDependencies(): Stack | CfnResource[]` — Retrieves an array of resources and stacks this resource depends on.

  For resources depended on directly, returns the `CfnResource` object. For
  dependencies on other stacks, returns the `Stack` object. The order of the
  array is not guaranteed.

- `overrideLogicalId(newLogicalId: string): void` — Overrides the auto-generated logical ID with a specific ID.

  **Parameters**

  - `newLogicalId` — The new logical ID to use for this stack element.

- `removeDependency(target: CfnResource): void` — Use `removeResourceDependency` instead

  This can be used for resources across stacks (including nested stacks)
  and the dependency will automatically be removed from the relevant scope.

- `removeResourceDependency(target: CfnResource): void` — Indicates that this resource no longer depends on another resource.

  This can be used for resources across stacks (including nested stacks)
  and the dependency will automatically be removed from the relevant scope.

- `replaceDependency(target: CfnResource, newTarget: CfnResource): void` — Replaces one dependency with another.

  **Parameters**

  - `target` — The dependency to replace.
  - `newTarget` — The new dependency to add.

- `toString(): string` — Returns a string representation of this construct.

  **Returns:** a string representation of this resource

- `with(...mixins: IMixin[]): IConstruct` — Applies one or more mixins to this construct.

  Mixins are applied in order. The list of constructs is captured at the
  start of the call, so constructs added by a mixin will not be visited.
  Use multiple `with()` calls if subsequent mixins should apply to added
  constructs.
