@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.639Z") @Stability(value=Stable) public class CfnUserPoolIdentityProvider extends CfnResource implements IInspectable
The AWS::Cognito::UserPoolIdentityProvider resource creates an identity provider for a user pool.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
Object attributeMapping;
Object providerDetails;
CfnUserPoolIdentityProvider cfnUserPoolIdentityProvider = CfnUserPoolIdentityProvider.Builder.create(this, "MyCfnUserPoolIdentityProvider")
.providerName("providerName")
.providerType("providerType")
.userPoolId("userPoolId")
// the properties below are optional
.attributeMapping(attributeMapping)
.idpIdentifiers(List.of("idpIdentifiers"))
.providerDetails(providerDetails)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnUserPoolIdentityProvider.Builder
A fluent builder for
CfnUserPoolIdentityProvider. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnUserPoolIdentityProvider(software.constructs.Construct scope,
String id,
CfnUserPoolIdentityProviderProps props)
Create a new `AWS::Cognito::UserPoolIdentityProvider`.
|
protected |
CfnUserPoolIdentityProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnUserPoolIdentityProvider(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttributeMapping()
A mapping of IdP attributes to standard and custom user pool attributes.
|
protected Map<String,Object> |
getCfnProperties() |
List<String> |
getIdpIdentifiers()
A list of IdP identifiers.
|
Object |
getProviderDetails()
The IdP details.
|
String |
getProviderName()
The IdP name.
|
String |
getProviderType()
The IdP type.
|
String |
getUserPoolId()
The user pool ID.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAttributeMapping(Object value)
A mapping of IdP attributes to standard and custom user pool attributes.
|
void |
setIdpIdentifiers(List<String> value)
A list of IdP identifiers.
|
void |
setProviderDetails(Object value)
The IdP details.
|
void |
setProviderName(String value)
The IdP name.
|
void |
setProviderType(String value)
The IdP type.
|
void |
setUserPoolId(String value)
The user pool ID.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnUserPoolIdentityProvider(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnUserPoolIdentityProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnUserPoolIdentityProvider(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnUserPoolIdentityProviderProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getAttributeMapping()
@Stability(value=Stable)
public void setAttributeMapping(@NotNull
Object value)
@Stability(value=Stable) @NotNull public Object getProviderDetails()
oidc_issuer URL.@Stability(value=Stable)
public void setProviderDetails(@NotNull
Object value)
oidc_issuer URL.@Stability(value=Stable) @NotNull public String getProviderName()
@Stability(value=Stable)
public void setProviderName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getProviderType()
@Stability(value=Stable)
public void setProviderType(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getUserPoolId()
@Stability(value=Stable)
public void setUserPoolId(@NotNull
String value)
@Stability(value=Stable) @Nullable public List<String> getIdpIdentifiers()
Copyright © 2022. All rights reserved.