Skip to content
v2.275.0

OAuthCredentialProviderProperty Struct ​

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.CfnHarness.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{}#
defaultReturnUrloptionalstringdefault_return_urloptionalstrdefaultReturnUrloptionalStringDefaultReturnUrloptionalstringDefaultReturnUrloptional*string#
grantTypeoptionalstringgrant_typeoptionalstrgrantTypeoptionalStringGrantTypeoptionalstringGrantTypeoptional*string#
providerArnstringprovider_arnstrproviderArnStringProviderArnstringProviderArn*stringrequired#
scopesstring[]scopestyping.List[str]scopesList<String>Scopesstring[]Scopes*[]*stringrequired#