# OpenIdConnectGroupConfigurationProperty

The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to.

For example, this object can map the contents of a `groups` claim to `MyCorp::UserGroup` .

This data type is part of a [OpenIdConnectConfiguration](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_OpenIdConnectConfiguration.html) structure, which is a parameter of [CreateIdentitySource](https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html) .

- Source: Generated at build time
- Type last changed: v2.148.0 · 5 Jul 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_verifiedpermissions as verifiedpermissions } from 'aws-cdk-lib';
const openIdConnectGroupConfigurationProperty: verifiedpermissions.CfnIdentitySource.OpenIdConnectGroupConfigurationProperty = {
  groupClaim: 'groupClaim',
  groupEntityType: 'groupEntityType',
};
```

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_verifiedpermissions as verifiedpermissions

open_id_connect_group_configuration_property = verifiedpermissions.CfnIdentitySource.OpenIdConnectGroupConfigurationProperty(
    group_claim="groupClaim",
    group_entity_type="groupEntityType"
)
```

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.verifiedpermissions.*;

OpenIdConnectGroupConfigurationProperty openIdConnectGroupConfigurationProperty = OpenIdConnectGroupConfigurationProperty.builder()
        .groupClaim("groupClaim")
        .groupEntityType("groupEntityType")
        .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.VerifiedPermissions;

var openIdConnectGroupConfigurationProperty = new OpenIdConnectGroupConfigurationProperty {
    GroupClaim = "groupClaim",
    GroupEntityType = "groupEntityType"
};
```

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"

openIdConnectGroupConfigurationProperty := &OpenIdConnectGroupConfigurationProperty{
	GroupClaim: jsii.String("groupClaim"),
	GroupEntityType: jsii.String("groupEntityType"),
}
```

## Properties

- `groupClaim`: string (required) — The token claim that you want Verified Permissions to interpret as group membership.

  For example, `groups` .

- `groupEntityType`: string (required) — The policy store entity type that you want to map your users' group claim to.

  For example, `MyCorp::UserGroup` . A group entity type is an entity that can have a user entity type as a member.
