@Stability(value=Stable) public static final class CfnIdentityPoolRoleAttachment.Builder extends Object implements software.amazon.jsii.Builder<CfnIdentityPoolRoleAttachment>
CfnIdentityPoolRoleAttachment.| Modifier and Type | Method and Description |
|---|---|
CfnIdentityPoolRoleAttachment |
build() |
static CfnIdentityPoolRoleAttachment.Builder |
create(Construct scope,
String id) |
CfnIdentityPoolRoleAttachment.Builder |
identityPoolId(String identityPoolId)
An identity pool ID in the format `REGION:GUID` .
|
CfnIdentityPoolRoleAttachment.Builder |
roleMappings(IResolvable roleMappings)
How users for a specific identity provider are mapped to roles.
|
CfnIdentityPoolRoleAttachment.Builder |
roleMappings(Map<String,? extends Object> roleMappings)
How users for a specific identity provider are mapped to roles.
|
CfnIdentityPoolRoleAttachment.Builder |
roles(Object roles)
The map of the roles associated with this pool.
|
@Stability(value=Stable) public static CfnIdentityPoolRoleAttachment.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnIdentityPoolRoleAttachment.MappingRuleProperty.Builder.@Stability(value=Stable) public CfnIdentityPoolRoleAttachment.Builder identityPoolId(String identityPoolId)
identityPoolId - An identity pool ID in the format `REGION:GUID` . This parameter is required.this@Stability(value=Stable) public CfnIdentityPoolRoleAttachment.Builder roleMappings(IResolvable roleMappings)
This is a string to the RoleMapping object map. The string identifies the identity provider. For example: graph.facebook.com or cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id .
If the IdentityProvider field isn't provided in this object, the string is used as the identity provider name.
For more information, see the RoleMapping property .
roleMappings - How users for a specific identity provider are mapped to roles. This parameter is required.this@Stability(value=Stable) public CfnIdentityPoolRoleAttachment.Builder roleMappings(Map<String,? extends Object> roleMappings)
This is a string to the RoleMapping object map. The string identifies the identity provider. For example: graph.facebook.com or cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id .
If the IdentityProvider field isn't provided in this object, the string is used as the identity provider name.
For more information, see the RoleMapping property .
roleMappings - How users for a specific identity provider are mapped to roles. This parameter is required.this@Stability(value=Stable) public CfnIdentityPoolRoleAttachment.Builder roles(Object roles)
For a given role, the key is either "authenticated" or "unauthenticated". The value is the role ARN.
roles - The map of the roles associated with this pool. This parameter is required.this@Stability(value=Stable) public CfnIdentityPoolRoleAttachment build()
build in interface software.amazon.jsii.Builder<CfnIdentityPoolRoleAttachment>Copyright © 2022. All rights reserved.