Table of Contents

Class CfnIdentityPoolPrincipalTagProps

Namespace
Amazon.CDK.AWS.Cognito
Assembly
Amazon.CDK.AWS.Cognito.dll

Properties for defining a CfnIdentityPoolPrincipalTag.

public class CfnIdentityPoolPrincipalTagProps : ICfnIdentityPoolPrincipalTagProps
Inheritance
CfnIdentityPoolPrincipalTagProps
Implements
Inherited Members

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Cognito;

             var principalTags;

             var cfnIdentityPoolPrincipalTagProps = new CfnIdentityPoolPrincipalTagProps {
                 IdentityPoolId = "identityPoolId",
                 IdentityProviderName = "identityProviderName",

                 // the properties below are optional
                 PrincipalTags = principalTags,
                 UseDefaults = false
             };

Remarks

Constructors

CfnIdentityPoolPrincipalTagProps()

public CfnIdentityPoolPrincipalTagProps()

Properties

IdentityPoolId

The identity pool that you want to associate with this principal tag map.

public string IdentityPoolId { get; set; }

Property Value

string

Remarks

IdentityProviderName

The identity pool identity provider (IdP) that you want to associate with this principal tag map.

public string IdentityProviderName { get; set; }

Property Value

string

Remarks

PrincipalTags

A JSON-formatted list of user claims and the principal tags that you want to associate with them.

public object? PrincipalTags { get; set; }

Property Value

object

Remarks

When Amazon Cognito requests credentials, it sets the value of the principal tag to the value of the user's claim.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolprincipaltag.html#cfn-cognito-identitypoolprincipaltag-principaltags

UseDefaults

Use a default set of mappings between claims and tags for this provider, instead of a custom map.

public object? UseDefaults { get; set; }

Property Value

object

Remarks