CognitoIdentityProvider
Reference doc for the `sst.aws.CognitoIdentityProvider` component.
The CognitoIdentityProvider
component is internally used by the CognitoUserPool
component to add identity providers to your Amazon Cognito user pool.
You’ll find this component returned by the addIdentityProvider
method of the CognitoUserPool
component.
Constructor
Parameters
-
name
string
-
args
Args
-
opts?
ComponentResourceOptions
Properties
nodes
Type Object
The underlying resources this component creates.
nodes.identityProvider
Type IdentityProvider
The Cognito identity provider.
providerName
Type Output
<
string
>
The Cognito identity provider name.
Args
attributes?
Type Input
<
Record
<
string
, Input
<
string
>
>
>
Define a mapping between identity provider attributes and user pool attributes.
details
Type Input
<
Record
<
string
, Input
<
string
>
>
>
Configure the identity provider details, including the scopes, URLs, and identifiers.
transform?
Type Object
Transform how this component creates its underlying resources.
transform.identityProvider?
Type IdentityProviderArgs
|
(
args
:
IdentityProviderArgs
,
opts
:
ComponentResourceOptions
,
name
:
string
)
=>
void
Transform the Cognito identity provider resource.
type
Type Input
<
“
oidc
”
|
“
saml
”
|
“
google
”
|
“
facebook
”
|
“
apple
”
|
“
amazon
”
>
The type of identity provider.
userPool
Type Input
<
string
>
The Cognito user pool ID.