# JwtTokenTypeConfigurationProperty

Provides the configuration information for the JWT token type.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `claimRegex`: string — The regular expression that identifies the claim.

- `groupAttributeField`: string — The group attribute field.

- `issuer`: string — The issuer of the token.

- `keyLocation`: string (required) — The location of the key.

- `secretManagerArn`: string — The Amazon Resource Name (arn) of the secret.

- `url`: string — The signing key URL.

- `userNameAttributeField`: string — The user name attribute field.
