Table of Contents

Interface CfnIdentityPoolRoleAttachment.IMappingRuleProperty

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

Defines how to map a claim to a role ARN.

public interface CfnIdentityPoolRoleAttachment.IMappingRuleProperty

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 mappingRuleProperty = new MappingRuleProperty {
                 Claim = "claim",
                 MatchType = "matchType",
                 RoleArn = "roleArn",
                 Value = "value"
             };

Remarks

Properties

Claim

The claim name that must be present in the token.

string Claim { get; }

Property Value

string

Remarks

MatchType

The match condition that specifies how closely the claim value in the IdP token must match Value .

string MatchType { get; }

Property Value

string

Remarks

RoleArn

The Amazon Resource Name (ARN) of the role.

string RoleArn { get; }

Property Value

string

Remarks

Value

A brief string that the claim must match.

string Value { get; }

Property Value

string

Remarks