public static final class CfnIdentityPoolRoleAttachment.Builder
extends java.lang.Object
CfnIdentityPoolRoleAttachment
.Modifier and Type | Method and Description |
---|---|
CfnIdentityPoolRoleAttachment |
build() |
static CfnIdentityPoolRoleAttachment.Builder |
create(Construct scope,
java.lang.String id) |
CfnIdentityPoolRoleAttachment.Builder |
identityPoolId(java.lang.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(java.util.Map<java.lang.String,? extends java.lang.Object> roleMappings)
How users for a specific identity provider are mapped to roles.
|
CfnIdentityPoolRoleAttachment.Builder |
roles(java.lang.Object roles)
The map of the roles associated with this pool.
|
public static CfnIdentityPoolRoleAttachment.Builder create(Construct scope, java.lang.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
.public CfnIdentityPoolRoleAttachment.Builder identityPoolId(java.lang.String identityPoolId)
identityPoolId
- An identity pool ID in the format `REGION:GUID` . This parameter is required.this
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
public CfnIdentityPoolRoleAttachment.Builder roleMappings(java.util.Map<java.lang.String,? extends java.lang.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
public CfnIdentityPoolRoleAttachment.Builder roles(java.lang.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
public CfnIdentityPoolRoleAttachment build()