Skip to content
v2.278.0

OpenIdConnectGroupConfigurationProperty Struct ​

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 structure, which is a parameter of CreateIdentitySource .

Example ​

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
# 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
// 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();
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"
};
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 ​

groupClaimstringgroup_claimstrgroupClaimStringGroupClaimstringGroupClaim*string required #
The token claim that you want Verified Permissions to interpret as group membership.

For example, groups .

groupEntityTypestringgroup_entity_typestrgroupEntityTypeStringGroupEntityTypestringGroupEntityType*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.