public static interface IdentityProviderType.Builder extends SdkPojo, CopyableBuilder<IdentityProviderType.Builder,IdentityProviderType>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildIdentityProviderType.Builder userPoolId(String userPoolId)
The user pool ID.
userPoolId - The user pool ID.IdentityProviderType.Builder providerName(String providerName)
The IdP name.
providerName - The IdP name.IdentityProviderType.Builder providerType(String providerType)
The IdP type.
providerType - The IdP type.IdentityProviderTypeType,
IdentityProviderTypeTypeIdentityProviderType.Builder providerType(IdentityProviderTypeType providerType)
The IdP type.
providerType - The IdP type.IdentityProviderTypeType,
IdentityProviderTypeTypeIdentityProviderType.Builder providerDetails(Map<String,String> providerDetails)
The IdP details. The following list describes the provider detail keys for each IdP type.
For Google and Login with Amazon:
client_id
client_secret
authorize_scopes
For Facebook:
client_id
client_secret
authorize_scopes
api_version
For Sign in with Apple:
client_id
team_id
key_id
private_key
You can submit a private_key when you add or update an IdP. Describe operations don't return the private key.
authorize_scopes
For OIDC providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
The following keys are only present if Amazon Cognito didn't discover them at the oidc_issuer
URL.
authorize_url
token_url
attributes_url
jwks_uri
Amazon Cognito sets the value of the following keys automatically. They are read-only.
attributes_url_add_attributes
For SAML providers:
MetadataFile or MetadataURL
IDPSignout optional
providerDetails - The IdP details. The following list describes the provider detail keys for each IdP type.
For Google and Login with Amazon:
client_id
client_secret
authorize_scopes
For Facebook:
client_id
client_secret
authorize_scopes
api_version
For Sign in with Apple:
client_id
team_id
key_id
private_key
You can submit a private_key when you add or update an IdP. Describe operations don't return the private key.
authorize_scopes
For OIDC providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
The following keys are only present if Amazon Cognito didn't discover them at the
oidc_issuer URL.
authorize_url
token_url
attributes_url
jwks_uri
Amazon Cognito sets the value of the following keys automatically. They are read-only.
attributes_url_add_attributes
For SAML providers:
MetadataFile or MetadataURL
IDPSignout optional
IdentityProviderType.Builder attributeMapping(Map<String,String> attributeMapping)
A mapping of IdP attributes to standard and custom user pool attributes.
attributeMapping - A mapping of IdP attributes to standard and custom user pool attributes.IdentityProviderType.Builder idpIdentifiers(Collection<String> idpIdentifiers)
A list of IdP identifiers.
idpIdentifiers - A list of IdP identifiers.IdentityProviderType.Builder idpIdentifiers(String... idpIdentifiers)
A list of IdP identifiers.
idpIdentifiers - A list of IdP identifiers.IdentityProviderType.Builder lastModifiedDate(Instant lastModifiedDate)
The date the IdP was last modified.
lastModifiedDate - The date the IdP was last modified.IdentityProviderType.Builder creationDate(Instant creationDate)
The date the IdP was created.
creationDate - The date the IdP was created.Copyright © 2022. All rights reserved.