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 .
- Source
- Generated code
- Type last changed
- v2.138.0 · 18 Apr 2024
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
clientIds?optionalstring[]client_ids?optionaltyping.List[str]clientIds?optionalList<String>ClientIds?optionalstring[]ClientIds?optional*[]*string#The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "ClientIds": ["&ExampleCogClientId;"]
groupConfiguration?optionalIResolvable | CfnIdentitySource.CognitoGroupConfigurationPropertygroup_configuration?optionaltyping.Union[IResolvable, CognitoGroupConfigurationProperty]groupConfiguration?optionalIResolvableGroupConfiguration?optionalIResolvableGroupConfiguration?optionalinterface{}#The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
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.