public static interface CreateIdentityProviderRequest.Builder extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<CreateIdentityProviderRequest.Builder,CreateIdentityProviderRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateIdentityProviderRequest.Builder userPoolId(String userPoolId)
The user pool ID.
userPoolId
- The user pool ID.CreateIdentityProviderRequest.Builder providerName(String providerName)
The identity provider name.
providerName
- The identity provider name.CreateIdentityProviderRequest.Builder providerType(String providerType)
The identity provider type.
providerType
- The identity provider type.IdentityProviderTypeType
,
IdentityProviderTypeType
CreateIdentityProviderRequest.Builder providerType(IdentityProviderTypeType providerType)
The identity provider type.
providerType
- The identity provider type.IdentityProviderTypeType
,
IdentityProviderTypeType
CreateIdentityProviderRequest.Builder providerDetails(Map<String,String> providerDetails)
The identity provider details. The following list describes the provider detail keys for each identity provider type.
For Google, Facebook and Login with Amazon:
client_id
client_secret
authorize_scopes
For Sign in with Apple:
client_id
team_id
key_id
private_key
authorize_scopes
For OIDC providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
authorize_url if not available from discovery URL specified by oidc_issuer key
token_url if not available from discovery URL specified by oidc_issuer key
attributes_url if not available from discovery URL specified by oidc_issuer key
jwks_uri if not available from discovery URL specified by oidc_issuer key
authorize_scopes
For SAML providers:
MetadataFile OR MetadataURL
IDPSignout optional
providerDetails
- The identity provider details. The following list describes the provider detail keys for each identity
provider type.
For Google, Facebook and Login with Amazon:
client_id
client_secret
authorize_scopes
For Sign in with Apple:
client_id
team_id
key_id
private_key
authorize_scopes
For OIDC providers:
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
authorize_url if not available from discovery URL specified by oidc_issuer key
token_url if not available from discovery URL specified by oidc_issuer key
attributes_url if not available from discovery URL specified by oidc_issuer key
jwks_uri if not available from discovery URL specified by oidc_issuer key
authorize_scopes
For SAML providers:
MetadataFile OR MetadataURL
IDPSignout optional
CreateIdentityProviderRequest.Builder attributeMapping(Map<String,String> attributeMapping)
A mapping of identity provider attributes to standard and custom user pool attributes.
attributeMapping
- A mapping of identity provider attributes to standard and custom user pool attributes.CreateIdentityProviderRequest.Builder idpIdentifiers(Collection<String> idpIdentifiers)
A list of identity provider identifiers.
idpIdentifiers
- A list of identity provider identifiers.CreateIdentityProviderRequest.Builder idpIdentifiers(String... idpIdentifiers)
A list of identity provider identifiers.
idpIdentifiers
- A list of identity provider identifiers.CreateIdentityProviderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateIdentityProviderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.