Class: Aws::CognitoIdentity::Types::CreateIdentityPoolInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentity::Types::CreateIdentityPoolInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cognitoidentity/types.rb
Overview
When making an API call, you may pass CreateIdentityPoolInput data as a hash:
{
identity_pool_name: "IdentityPoolName", # required
allow_unauthenticated_identities: false, # required
supported_login_providers: {
"IdentityProviderName" => "IdentityProviderId",
},
developer_provider_name: "DeveloperProviderName",
open_id_connect_provider_arns: ["ARNString"],
cognito_identity_providers: [
{
provider_name: "CognitoIdentityProviderName",
client_id: "CognitoIdentityProviderClientId",
server_side_token_check: false,
},
],
saml_provider_arns: ["ARNString"],
}
Input to the CreateIdentityPool action.
Instance Attribute Summary collapse
-
#allow_unauthenticated_identities ⇒ Boolean
TRUE if the identity pool supports unauthenticated logins.
-
#cognito_identity_providers ⇒ Array<Types::CognitoIdentityProvider>
An array of Amazon Cognito Identity user pools and their client IDs.
-
#developer_provider_name ⇒ String
The “domain” by which Cognito will refer to your users.
-
#identity_pool_name ⇒ String
A string that you provide.
-
#open_id_connect_provider_arns ⇒ Array<String>
A list of OpendID Connect provider ARNs.
-
#saml_provider_arns ⇒ Array<String>
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
-
#supported_login_providers ⇒ Hash<String,String>
Optional key:value pairs mapping provider names to provider app IDs.
Instance Attribute Details
#allow_unauthenticated_identities ⇒ Boolean
TRUE if the identity pool supports unauthenticated logins.
107 108 109 110 111 112 113 114 115 116 |
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 107 class CreateIdentityPoolInput < Struct.new( :identity_pool_name, :allow_unauthenticated_identities, :supported_login_providers, :developer_provider_name, :open_id_connect_provider_arns, :cognito_identity_providers, :saml_provider_arns) include Aws::Structure end |
#cognito_identity_providers ⇒ Array<Types::CognitoIdentityProvider>
An array of Amazon Cognito Identity user pools and their client IDs.
107 108 109 110 111 112 113 114 115 116 |
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 107 class CreateIdentityPoolInput < Struct.new( :identity_pool_name, :allow_unauthenticated_identities, :supported_login_providers, :developer_provider_name, :open_id_connect_provider_arns, :cognito_identity_providers, :saml_provider_arns) include Aws::Structure end |
#developer_provider_name ⇒ String
The “domain” by which Cognito will refer to your users. This name acts as a placeholder that allows your backend and the Cognito service to communicate about the developer provider. For the ‘DeveloperProviderName`, you can use letters as well as period (`.`), underscore (`_`), and dash (`-`).
Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.
107 108 109 110 111 112 113 114 115 116 |
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 107 class CreateIdentityPoolInput < Struct.new( :identity_pool_name, :allow_unauthenticated_identities, :supported_login_providers, :developer_provider_name, :open_id_connect_provider_arns, :cognito_identity_providers, :saml_provider_arns) include Aws::Structure end |
#identity_pool_name ⇒ String
A string that you provide.
107 108 109 110 111 112 113 114 115 116 |
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 107 class CreateIdentityPoolInput < Struct.new( :identity_pool_name, :allow_unauthenticated_identities, :supported_login_providers, :developer_provider_name, :open_id_connect_provider_arns, :cognito_identity_providers, :saml_provider_arns) include Aws::Structure end |
#open_id_connect_provider_arns ⇒ Array<String>
A list of OpendID Connect provider ARNs.
107 108 109 110 111 112 113 114 115 116 |
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 107 class CreateIdentityPoolInput < Struct.new( :identity_pool_name, :allow_unauthenticated_identities, :supported_login_providers, :developer_provider_name, :open_id_connect_provider_arns, :cognito_identity_providers, :saml_provider_arns) include Aws::Structure end |
#saml_provider_arns ⇒ Array<String>
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
107 108 109 110 111 112 113 114 115 116 |
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 107 class CreateIdentityPoolInput < Struct.new( :identity_pool_name, :allow_unauthenticated_identities, :supported_login_providers, :developer_provider_name, :open_id_connect_provider_arns, :cognito_identity_providers, :saml_provider_arns) include Aws::Structure end |
#supported_login_providers ⇒ Hash<String,String>
Optional key:value pairs mapping provider names to provider app IDs.
107 108 109 110 111 112 113 114 115 116 |
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 107 class CreateIdentityPoolInput < Struct.new( :identity_pool_name, :allow_unauthenticated_identities, :supported_login_providers, :developer_provider_name, :open_id_connect_provider_arns, :cognito_identity_providers, :saml_provider_arns) include Aws::Structure end |