Interface CfnIdentityPoolRoleAttachment.RoleMappingProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnIdentityPoolRoleAttachment.RoleMappingProperty.Jsii$Proxy
Enclosing class:
CfnIdentityPoolRoleAttachment

@Stability(Stable) public static interface CfnIdentityPoolRoleAttachment.RoleMappingProperty extends software.amazon.jsii.JsiiSerializable
One of a set of RoleMappings , a property of the AWS::Cognito::IdentityPoolRoleAttachment resource that defines the role-mapping attributes of an Amazon Cognito identity pool.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cognito.*;
 RoleMappingProperty roleMappingProperty = RoleMappingProperty.builder()
         .type("type")
         // the properties below are optional
         .ambiguousRoleResolution("ambiguousRoleResolution")
         .identityProvider("identityProvider")
         .rulesConfiguration(RulesConfigurationTypeProperty.builder()
                 .rules(List.of(MappingRuleProperty.builder()
                         .claim("claim")
                         .matchType("matchType")
                         .roleArn("roleArn")
                         .value("value")
                         .build()))
                 .build())
         .build();
 

See Also: