JwtTokenTypeConfigurationProperty Struct
Provides the configuration information for the JWT token type.
| Source | |
|---|---|
| Type last changed |
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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_kendra as kendra
jwt_token_type_configuration_property = kendra.CfnIndex.JwtTokenTypeConfigurationProperty(
key_location="keyLocation",
# the properties below are optional
claim_regex="claimRegex",
group_attribute_field="groupAttributeField",
issuer="issuer",
secret_manager_arn="secretManagerArn",
url="url",
user_name_attribute_field="userNameAttributeField"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kendra.*;
JwtTokenTypeConfigurationProperty jwtTokenTypeConfigurationProperty = JwtTokenTypeConfigurationProperty.builder()
.keyLocation("keyLocation")
// the properties below are optional
.claimRegex("claimRegex")
.groupAttributeField("groupAttributeField")
.issuer("issuer")
.secretManagerArn("secretManagerArn")
.url("url")
.userNameAttributeField("userNameAttributeField")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Kendra;
var jwtTokenTypeConfigurationProperty = new JwtTokenTypeConfigurationProperty {
KeyLocation = "keyLocation",
// the properties below are optional
ClaimRegex = "claimRegex",
GroupAttributeField = "groupAttributeField",
Issuer = "issuer",
SecretManagerArn = "secretManagerArn",
Url = "url",
UserNameAttributeField = "userNameAttributeField"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
jwtTokenTypeConfigurationProperty := &JwtTokenTypeConfigurationProperty{
KeyLocation: jsii.String("keyLocation"),
// the properties below are optional
ClaimRegex: jsii.String("claimRegex"),
GroupAttributeField: jsii.String("groupAttributeField"),
Issuer: jsii.String("issuer"),
SecretManagerArn: jsii.String("secretManagerArn"),
Url: jsii.String("url"),
UserNameAttributeField: jsii.String("userNameAttributeField"),
}
Properties
claimRegexoptionalstringclaim_regexoptionalstrclaimRegexoptionalStringClaimRegexoptionalstringClaimRegexoptional*string #The regular expression that identifies the claim.
groupAttributeFieldoptionalstringgroup_attribute_fieldoptionalstrgroupAttributeFieldoptionalStringGroupAttributeFieldoptionalstringGroupAttributeFieldoptional*string #The group attribute field.
issueroptionalstringissueroptionalstrissueroptionalStringIssueroptionalstringIssueroptional*string #The issuer of the token.
The location of the key.
secretManagerArnoptionalstringsecret_manager_arnoptionalstrsecretManagerArnoptionalStringSecretManagerArnoptionalstringSecretManagerArnoptional*string #The Amazon Resource Name (arn) of the secret.
The signing key URL.
userNameAttributeFieldoptionalstringuser_name_attribute_fieldoptionalstruserNameAttributeFieldoptionalStringUserNameAttributeFieldoptionalstringUserNameAttributeFieldoptional*string #The user name attribute field.