Class CfnIdentityPoolPrincipalTagProps
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
ExampleMetadata: fixture=_generated
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
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
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
Remarks
When Amazon Cognito requests credentials, it sets the value of the principal tag to the value of the user's claim.
UseDefaults
Use a default set of mappings between claims and tags for this provider, instead of a custom map.
public object? UseDefaults { get; set; }