@Stability(value=Stable)
public static interface CfnIdentityPoolRoleAttachment.MappingRuleProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
MappingRuleProperty mappingRuleProperty = MappingRuleProperty.builder()
.claim("claim")
.matchType("matchType")
.roleArn("roleArn")
.value("value")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder
A builder for
CfnIdentityPoolRoleAttachment.MappingRuleProperty |
static class |
CfnIdentityPoolRoleAttachment.MappingRuleProperty.Jsii$Proxy
An implementation for
CfnIdentityPoolRoleAttachment.MappingRuleProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder |
builder() |
String |
getClaim()
The claim name that must be present in the token.
|
String |
getMatchType()
The match condition that specifies how closely the claim value in the IdP token must match `Value` .
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role.
|
String |
getValue()
A brief string that the claim must match.
|
@Stability(value=Stable) @NotNull String getClaim()
For example: "isAdmin" or "paid".
@Stability(value=Stable) @NotNull String getMatchType()
Valid values are: Equals , Contains , StartsWith , and NotEqual .
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @NotNull String getValue()
For example, "paid" or "yes".
@Stability(value=Stable) static CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder builder()
Copyright © 2022. All rights reserved.