GatewayOAuth2IdentityBinding Struct
Provider ARN, secret ARN, and OAuth scopes for wiring a Token Vault OAuth2 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 gatewayOAuth2IdentityBinding: bedrockagentcore.GatewayOAuth2IdentityBinding = {
providerArn: 'providerArn',
scopes: ['scopes'],
secretArn: 'secretArn',
// the properties below are optional
customParameters: {
customParametersKey: 'customParameters',
},
};
Properties
customParametersoptional{ [key: string]: string }custom_parametersoptionaltyping.Mapping[str, str]customParametersoptionalMap<String, String>CustomParametersoptionalIDictionary<string, string>CustomParametersoptional*map[string]*string#Optional custom parameters for the OAuth flow.
Default: no custom parameters
OAuth2 credential provider ARN.
OAuth scopes to request when invoking through the gateway.
Secrets Manager secret ARN for OAuth2 client credentials.