class Aws::CognitoIdentityProvider::Types::CreateIdentityProviderRequest

@note When making an API call, you may pass CreateIdentityProviderRequest

data as a hash:

    {
      user_pool_id: "UserPoolIdType", # required
      provider_name: "ProviderNameTypeV1", # required
      provider_type: "SAML", # required, accepts SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC
      provider_details: { # required
        "StringType" => "StringType",
      },
      attribute_mapping: {
        "AttributeMappingKeyType" => "StringType",
      },
      idp_identifiers: ["IdpIdentifierType"],
    }

@!attribute [rw] user_pool_id

The user pool ID.
@return [String]

@!attribute [rw] provider_name

The identity provider name.
@return [String]

@!attribute [rw] provider_type

The identity provider type.
@return [String]

@!attribute [rw] provider_details

The identity provider details. The following list describes the
provider detail keys for each identity provider 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

  * 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*

* For SAML providers:

  * MetadataFile OR MetadataURL

  * IDPSignout *optional*
@return [Hash<String,String>]

@!attribute [rw] attribute_mapping

A mapping of identity provider attributes to standard and custom
user pool attributes.
@return [Hash<String,String>]

@!attribute [rw] idp_identifiers

A list of identity provider identifiers.
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProviderRequest AWS API Documentation

Constants

SENSITIVE