Skip to content
v2.277.0

CognitoUserPoolConfigurationProperty Struct ​

A structure that contains configuration information used when creating or updating an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions .

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 cognitoUserPoolConfigurationProperty: verifiedpermissions.CfnIdentitySource.CognitoUserPoolConfigurationProperty = {
  userPoolArn: 'userPoolArn',

  // the properties below are optional
  clientIds: ['clientIds'],
  groupConfiguration: {
    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

cognito_user_pool_configuration_property = verifiedpermissions.CfnIdentitySource.CognitoUserPoolConfigurationProperty(
    user_pool_arn="userPoolArn",

    # the properties below are optional
    client_ids=["clientIds"],
    group_configuration=verifiedpermissions.CfnIdentitySource.CognitoGroupConfigurationProperty(
        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.*;

CognitoUserPoolConfigurationProperty cognitoUserPoolConfigurationProperty = CognitoUserPoolConfigurationProperty.builder()
        .userPoolArn("userPoolArn")

        // the properties below are optional
        .clientIds(List.of("clientIds"))
        .groupConfiguration(CognitoGroupConfigurationProperty.builder()
                .groupEntityType("groupEntityType")
                .build())
        .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 cognitoUserPoolConfigurationProperty = new CognitoUserPoolConfigurationProperty {
    UserPoolArn = "userPoolArn",

    // the properties below are optional
    ClientIds = new [] { "clientIds" },
    GroupConfiguration = new CognitoGroupConfigurationProperty {
        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"

cognitoUserPoolConfigurationProperty := &CognitoUserPoolConfigurationProperty{
	UserPoolArn: jsii.String("userPoolArn"),

	// the properties below are optional
	ClientIds: []*string{
		jsii.String("clientIds"),
	},
	GroupConfiguration: &CognitoGroupConfigurationProperty{
		GroupEntityType: jsii.String("groupEntityType"),
	},
}

Properties ​

clientIdsoptionalstring[]client_idsoptionaltyping.List[str]clientIdsoptionalList<String>ClientIdsoptionalstring[]ClientIdsoptional*[]*string#
The unique application client IDs that are associated with the specified Amazon Cognito user pool.

Example: "ClientIds": ["&ExampleCogClientId;"]

groupConfigurationoptionalIResolvable | CfnIdentitySource.CognitoGroupConfigurationPropertygroup_configurationoptionaltyping.Union[IResolvable, CognitoGroupConfigurationProperty]groupConfigurationoptionalIResolvableGroupConfigurationoptionalIResolvableGroupConfigurationoptionalinterface{}#
The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
userPoolArnstringuser_pool_arnstruserPoolArnStringUserPoolArnstringUserPoolArn*stringrequired#
The [Amazon Resource Name (ARN)](https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html) of the Amazon Cognito user pool that contains the identities to be authorized.