GatewayApiKeyIdentityBinding Struct
Provider and secret ARNs for wiring a Token Vault API key identity into a gateway target.
| Source | lib/identity/api-key-credential-provider.ts |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const gatewayApiKeyIdentityBinding: bedrock_agentcore_alpha.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.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha
gateway_api_key_identity_binding = bedrock_agentcore_alpha.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.bedrock.agentcore.alpha.*;
GatewayApiKeyIdentityBinding gatewayApiKeyIdentityBinding = GatewayApiKeyIdentityBinding.builder()
.providerArn("providerArn")
.secretArn("secretArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Agentcore.Alpha;
var gatewayApiKeyIdentityBinding = new GatewayApiKeyIdentityBinding {
ProviderArn = "providerArn",
SecretArn = "secretArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_agentcore_alpha "github.com/aws/aws-cdk-go/awsbedrockagentcorealpha"
gatewayApiKeyIdentityBinding := &GatewayApiKeyIdentityBinding{
ProviderArn: jsii.String("providerArn"),
SecretArn: jsii.String("secretArn"),
}