@Stability(value=Stable) public static final class CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnIdentityPoolRoleAttachment.MappingRuleProperty>
CfnIdentityPoolRoleAttachment.MappingRuleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnIdentityPoolRoleAttachment.MappingRuleProperty |
build()
Builds the configured instance.
|
CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder |
claim(String claim)
Sets the value of
CfnIdentityPoolRoleAttachment.MappingRuleProperty.getClaim() |
CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder |
matchType(String matchType)
Sets the value of
CfnIdentityPoolRoleAttachment.MappingRuleProperty.getMatchType() |
CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder |
roleArn(String roleArn)
Sets the value of
CfnIdentityPoolRoleAttachment.MappingRuleProperty.getRoleArn() |
CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder |
value(String value)
Sets the value of
CfnIdentityPoolRoleAttachment.MappingRuleProperty.getValue() |
@Stability(value=Stable) public CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder claim(String claim)
CfnIdentityPoolRoleAttachment.MappingRuleProperty.getClaim()claim - The claim name that must be present in the token. This parameter is required.
For example: "isAdmin" or "paid".this@Stability(value=Stable) public CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder matchType(String matchType)
CfnIdentityPoolRoleAttachment.MappingRuleProperty.getMatchType()matchType - The match condition that specifies how closely the claim value in the IdP token must match `Value` . This parameter is required.
Valid values are: Equals , Contains , StartsWith , and NotEqual .this@Stability(value=Stable) public CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder roleArn(String roleArn)
CfnIdentityPoolRoleAttachment.MappingRuleProperty.getRoleArn()roleArn - The Amazon Resource Name (ARN) of the role. This parameter is required.this@Stability(value=Stable) public CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder value(String value)
CfnIdentityPoolRoleAttachment.MappingRuleProperty.getValue()value - A brief string that the claim must match. This parameter is required.
For example, "paid" or "yes".this@Stability(value=Stable) public CfnIdentityPoolRoleAttachment.MappingRuleProperty build()
build in interface software.amazon.jsii.Builder<CfnIdentityPoolRoleAttachment.MappingRuleProperty>CfnIdentityPoolRoleAttachment.MappingRulePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.