Class CfnUserPoolIdentityProvider
A CloudFormation AWS::Cognito::UserPoolIdentityProvider
.
public class CfnUserPoolIdentityProvider : CfnResource, IInspectable
- Inheritance
-
CfnUserPoolIdentityProvider
- Implements
-
IInspectable
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var attributeMapping;
var providerDetails;
var cfnUserPoolIdentityProvider = new CfnUserPoolIdentityProvider(this, "MyCfnUserPoolIdentityProvider", new CfnUserPoolIdentityProviderProps {
ProviderName = "providerName",
ProviderType = "providerType",
UserPoolId = "userPoolId",
// the properties below are optional
AttributeMapping = attributeMapping,
IdpIdentifiers = new [] { "idpIdentifiers" },
ProviderDetails = providerDetails
});
Remarks
The AWS::Cognito::UserPoolIdentityProvider
resource creates an identity provider for a user pool.
CloudformationResource: AWS::Cognito::UserPoolIdentityProvider
ExampleMetadata: fixture=_generated
Constructors
CfnUserPoolIdentityProvider(Construct, string, ICfnUserPoolIdentityProviderProps)
Create a new AWS::Cognito::UserPoolIdentityProvider
.
public CfnUserPoolIdentityProvider(Construct scope, string id, ICfnUserPoolIdentityProviderProps props)
Parameters
scope
Construct- scope in which this resource is defined.
id
string- scoped id of the resource.
props
ICfnUserPoolIdentityProviderProps- resource properties.
Properties
AttributeMapping
A mapping of IdP attributes to standard and custom user pool attributes.
public virtual object AttributeMapping { get; set; }
Property Value
Remarks
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
IdpIdentifiers
A list of IdP identifiers.
public virtual string[]? IdpIdentifiers { get; set; }
Property Value
- string[]
Remarks
ProviderDetails
The IdP details. The following list describes the provider detail keys for each IdP type.
public virtual object ProviderDetails { get; set; }
Property Value
Remarks
ProviderName
The IdP name.
public virtual string ProviderName { get; set; }
Property Value
Remarks
ProviderType
The IdP type.
public virtual string ProviderType { get; set; }
Property Value
Remarks
UserPoolId
The user pool ID.
public virtual string UserPoolId { get; set; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
inspector
TreeInspector- tree inspector to collect and process attributes.
RenderProperties(IDictionary<string, object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props
IDictionary<string, object>