Skip to content
v2.278.0

GatewayApiKeyIdentityBinding Struct ​

Provider and secret ARNs for wiring a Token Vault API key identity into a 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 gatewayApiKeyIdentityBinding: bedrockagentcore.GatewayApiKeyIdentityBinding = {
  providerArn: 'providerArn',
  secretArn: 'secretArn',
};
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

gateway_api_key_identity_binding = bedrockagentcore.GatewayApiKeyIdentityBinding(
    provider_arn="providerArn",
    secret_arn="secretArn"
)
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.*;

GatewayApiKeyIdentityBinding gatewayApiKeyIdentityBinding = GatewayApiKeyIdentityBinding.builder()
        .providerArn("providerArn")
        .secretArn("secretArn")
        .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 gatewayApiKeyIdentityBinding = new GatewayApiKeyIdentityBinding {
    ProviderArn = "providerArn",
    SecretArn = "secretArn"
};
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"

gatewayApiKeyIdentityBinding := &GatewayApiKeyIdentityBinding{
	ProviderArn: jsii.String("providerArn"),
	SecretArn: jsii.String("secretArn"),
}

Properties ​

providerArnstringprovider_arnstrproviderArnStringProviderArnstringProviderArn*string required #
API key credential provider ARN.
secretArnstringsecret_arnstrsecretArnStringSecretArnstringSecretArn*string required #
Secrets Manager secret ARN for the API key material.