@Stability(value=Stable) public static final class CfnIdentityPoolRoleAttachmentProps.Builder extends Object implements software.amazon.jsii.Builder<CfnIdentityPoolRoleAttachmentProps>
CfnIdentityPoolRoleAttachmentProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnIdentityPoolRoleAttachmentProps |
build()
Builds the configured instance.
|
CfnIdentityPoolRoleAttachmentProps.Builder |
identityPoolId(String identityPoolId)
Sets the value of
CfnIdentityPoolRoleAttachmentProps.getIdentityPoolId() |
CfnIdentityPoolRoleAttachmentProps.Builder |
roleMappings(IResolvable roleMappings)
Sets the value of
CfnIdentityPoolRoleAttachmentProps.getRoleMappings() |
CfnIdentityPoolRoleAttachmentProps.Builder |
roleMappings(Map<String,? extends Object> roleMappings)
Sets the value of
CfnIdentityPoolRoleAttachmentProps.getRoleMappings() |
CfnIdentityPoolRoleAttachmentProps.Builder |
roles(Object roles)
Sets the value of
CfnIdentityPoolRoleAttachmentProps.getRoles() |
@Stability(value=Stable) public CfnIdentityPoolRoleAttachmentProps.Builder identityPoolId(String identityPoolId)
CfnIdentityPoolRoleAttachmentProps.getIdentityPoolId()identityPoolId - An identity pool ID in the format `REGION:GUID` . This parameter is required.this@Stability(value=Stable) public CfnIdentityPoolRoleAttachmentProps.Builder roleMappings(IResolvable roleMappings)
CfnIdentityPoolRoleAttachmentProps.getRoleMappings()roleMappings - How users for a specific identity provider are mapped to roles.
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 .
this@Stability(value=Stable) public CfnIdentityPoolRoleAttachmentProps.Builder roleMappings(Map<String,? extends Object> roleMappings)
CfnIdentityPoolRoleAttachmentProps.getRoleMappings()roleMappings - How users for a specific identity provider are mapped to roles.
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 .
this@Stability(value=Stable) public CfnIdentityPoolRoleAttachmentProps.Builder roles(Object roles)
CfnIdentityPoolRoleAttachmentProps.getRoles()roles - The map of the roles associated with this pool.
For a given role, the key is either "authenticated" or "unauthenticated". The value is the role ARN.this@Stability(value=Stable) public CfnIdentityPoolRoleAttachmentProps build()
build in interface software.amazon.jsii.Builder<CfnIdentityPoolRoleAttachmentProps>CfnIdentityPoolRoleAttachmentPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.