Skip to content
v2.274.0

BearerTokenDetailsProperty Struct ​

Bearer token authentication details.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const bearerTokenDetailsProperty: devopsagent.CfnService.BearerTokenDetailsProperty = {
  tokenName: 'tokenName',
  tokenValue: 'tokenValue',

  // the properties below are optional
  authorizationHeader: 'authorizationHeader',
};

Properties ​

authorizationHeaderstringauthorization_headerstrauthorizationHeaderStringAuthorizationHeaderstringAuthorizationHeader*string= "Authorization"#
HTTP header name to send the bearer token.
tokenNamestringtoken_namestrtokenNameStringTokenNamestringTokenName*stringrequired#
User friendly bearer token name.
tokenValuestringtoken_valuestrtokenValueStringTokenValuestringTokenValue*stringrequired#
Bearer token value.