Interface CfnIdentityPoolRoleAttachmentProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.882Z") @Stability(Stable) public interface CfnIdentityPoolRoleAttachmentProps extends
Properties for defining a CfnIdentityPoolRoleAttachment.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object roles;
 CfnIdentityPoolRoleAttachmentProps cfnIdentityPoolRoleAttachmentProps = CfnIdentityPoolRoleAttachmentProps.builder()
         // the properties below are optional
                 "roleMappingsKey", RoleMappingProperty.builder()
                         // the properties below are optional
  • Method Details

    • getIdentityPoolId

      @Stability(Stable) @NotNull String getIdentityPoolId()
      An identity pool ID in the format REGION:GUID .
    • getRoleMappings

      @Stability(Stable) @Nullable default Object getRoleMappings()
      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: or .

      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 .

    • getRoles

      @Stability(Stable) @Nullable default Object getRoles()
      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.

    • builder

      @Stability(Stable) static CfnIdentityPoolRoleAttachmentProps.Builder builder()
      a CfnIdentityPoolRoleAttachmentProps.Builder of CfnIdentityPoolRoleAttachmentProps