interface JwtTokenTypeConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Kendra.CfnIndex.JwtTokenTypeConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskendra#CfnIndex_JwtTokenTypeConfigurationProperty |
Java | software.amazon.awscdk.services.kendra.CfnIndex.JwtTokenTypeConfigurationProperty |
Python | aws_cdk.aws_kendra.CfnIndex.JwtTokenTypeConfigurationProperty |
TypeScript | aws-cdk-lib » aws_kendra » CfnIndex » JwtTokenTypeConfigurationProperty |
Provides the configuration information for the JWT token type.
Example
// 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
Name | Type | Description |
---|---|---|
key | string | The location of the key. |
claim | string | The regular expression that identifies the claim. |
group | string | The group attribute field. |
issuer? | string | The issuer of the token. |
secret | string | The Amazon Resource Name (arn) of the secret. |
url? | string | The signing key URL. |
user | string | The user name attribute field. |
keyLocation
Type:
string
The location of the key.
claimRegex?
Type:
string
(optional)
The regular expression that identifies the claim.
groupAttributeField?
Type:
string
(optional)
The group attribute field.
issuer?
Type:
string
(optional)
The issuer of the token.
secretManagerArn?
Type:
string
(optional)
The Amazon Resource Name (arn) of the secret.
url?
Type:
string
(optional)
The signing key URL.
userNameAttributeField?
Type:
string
(optional)
The user name attribute field.