OAuthCredentialProviderProperty Struct
The OAuth credential provider for the 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 oAuthCredentialProviderProperty: bedrockagentcore.CfnGatewayTarget.OAuthCredentialProviderProperty = {
providerArn: 'providerArn',
scopes: ['scopes'],
// the properties below are optional
customParameters: {
customParametersKey: 'customParameters',
},
defaultReturnUrl: 'defaultReturnUrl',
grantType: 'grantType',
};
Properties
customParametersoptionalIResolvable | { [key: string]: string }custom_parametersoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]customParametersoptionalIResolvableCustomParametersoptionalIResolvableCustomParametersoptionalinterface{}#The OAuth credential provider.
defaultReturnUrloptionalstringdefault_return_urloptionalstrdefaultReturnUrloptionalStringDefaultReturnUrloptionalstringDefaultReturnUrloptional*string#grantTypeoptionalstringgrant_typeoptionalstrgrantTypeoptionalStringGrantTypeoptionalstringGrantTypeoptional*string#The provider ARN for the gateway target.
The OAuth credential provider scopes.