Skip to content
v2.274.0

JwtTokenTypeConfigurationProperty Struct ​

Provides the configuration information for the JWT token type.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kendra as kendra } from 'aws-cdk-lib';
const jwtTokenTypeConfigurationProperty: kendra.CfnIndex.JwtTokenTypeConfigurationProperty = {
  keyLocation: 'keyLocation',

  // the properties below are optional
  claimRegex: 'claimRegex',
  groupAttributeField: 'groupAttributeField',
  issuer: 'issuer',
  secretManagerArn: 'secretManagerArn',
  url: 'url',
  userNameAttributeField: 'userNameAttributeField',
};

Properties ​

claimRegexstringclaim_regexstrclaimRegexStringClaimRegexstringClaimRegex*string#
The regular expression that identifies the claim.
groupAttributeFieldstringgroup_attribute_fieldstrgroupAttributeFieldStringGroupAttributeFieldstringGroupAttributeField*string#
The group attribute field.
issuerstringissuerstrissuerStringIssuerstringIssuer*string#
The issuer of the token.
keyLocationstringkey_locationstrkeyLocationStringKeyLocationstringKeyLocation*stringrequired#
The location of the key.
secretManagerArnstringsecret_manager_arnstrsecretManagerArnStringSecretManagerArnstringSecretManagerArn*string#
The Amazon Resource Name (arn) of the secret.
urlstringurlstrurlStringUrlstringUrl*string#
The signing key URL.
userNameAttributeFieldstringuser_name_attribute_fieldstruserNameAttributeFieldStringUserNameAttributeFieldstringUserNameAttributeField*string#
The user name attribute field.