@Stability(value=Experimental) public static final class RoleMappingRule.Builder extends Object implements software.amazon.jsii.Builder<RoleMappingRule>
RoleMappingRule| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RoleMappingRule |
build()
Builds the configured instance.
|
RoleMappingRule.Builder |
claim(String claim)
Sets the value of
RoleMappingRule.getClaim() |
RoleMappingRule.Builder |
claimValue(String claimValue)
Sets the value of
RoleMappingRule.getClaimValue() |
RoleMappingRule.Builder |
mappedRole(IRole mappedRole)
Sets the value of
RoleMappingRule.getMappedRole() |
RoleMappingRule.Builder |
matchType(RoleMappingMatchType matchType)
Sets the value of
RoleMappingRule.getMatchType() |
@Stability(value=Experimental) public RoleMappingRule.Builder claim(String claim)
RoleMappingRule.getClaim()claim - The key sent in the token by the federated identity provider. This parameter is required.this@Stability(value=Experimental) public RoleMappingRule.Builder claimValue(String claimValue)
RoleMappingRule.getClaimValue()claimValue - The value of the claim that must be matched. This parameter is required.this@Stability(value=Experimental) public RoleMappingRule.Builder mappedRole(IRole mappedRole)
RoleMappingRule.getMappedRole()mappedRole - The Role to be assumed when Claim Value is matched. This parameter is required.this@Stability(value=Experimental) public RoleMappingRule.Builder matchType(RoleMappingMatchType matchType)
RoleMappingRule.getMatchType()matchType - How to match with the Claim value.this@Stability(value=Experimental) public RoleMappingRule build()
build in interface software.amazon.jsii.Builder<RoleMappingRule>RoleMappingRuleNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.