@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:48.074Z")
public class IdentityPoolProviderUrl
extends software.amazon.jsii.JsiiObject
Example:
import software.amazon.awscdk.services.cognito.identitypool.IdentityPoolProviderUrl; IdentityPool.Builder.create(this, "myidentitypool") .identityPoolName("myidentitypool") .roleMappings(List.of(IdentityPoolRoleMapping.builder() .providerUrl(IdentityPoolProviderUrl.userPool("cognito-idp.my-idp-region.amazonaws.com/my-idp-region_abcdefghi:app_client_id")) .useToken(true) .build(), IdentityPoolRoleMapping.builder() .providerUrl(IdentityPoolProviderUrl.custom("my-custom-provider.com")) .useToken(true) .build())) .build();
Modifier and Type | Field and Description |
---|---|
static IdentityPoolProviderUrl |
AMAZON
(experimental) Amazon Provider Url.
|
static IdentityPoolProviderUrl |
APPLE
(experimental) Apple Provider Url.
|
static IdentityPoolProviderUrl |
DIGITS
(experimental) Digits Provider Url.
|
static IdentityPoolProviderUrl |
FACEBOOK
(experimental) Facebook Provider Url.
|
static IdentityPoolProviderUrl |
GOOGLE
(experimental) Google Provider Url.
|
static IdentityPoolProviderUrl |
TWITTER
(experimental) Twitter Provider Url.
|
Modifier | Constructor and Description |
---|---|
|
IdentityPoolProviderUrl(IdentityPoolProviderType type,
java.lang.String value) |
protected |
IdentityPoolProviderUrl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
IdentityPoolProviderUrl(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
static IdentityPoolProviderUrl |
custom(java.lang.String url)
(experimental) Custom Provider Url.
|
IdentityPoolProviderType |
getType()
(experimental) type of Provider Url.
|
java.lang.String |
getValue()
(experimental) value of Provider Url.
|
static IdentityPoolProviderUrl |
openId(java.lang.String url)
(experimental) OpenId Provider Url.
|
static IdentityPoolProviderUrl |
saml(java.lang.String url)
(experimental) Saml Provider Url.
|
static IdentityPoolProviderUrl |
userPool(java.lang.String url)
(experimental) User Pool Provider Url.
|
public static final IdentityPoolProviderUrl AMAZON
public static final IdentityPoolProviderUrl APPLE
public static final IdentityPoolProviderUrl DIGITS
public static final IdentityPoolProviderUrl FACEBOOK
public static final IdentityPoolProviderUrl GOOGLE
public static final IdentityPoolProviderUrl TWITTER
protected IdentityPoolProviderUrl(software.amazon.jsii.JsiiObjectRef objRef)
protected IdentityPoolProviderUrl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public IdentityPoolProviderUrl(IdentityPoolProviderType type, java.lang.String value)
type
- type of Provider Url. This parameter is required.value
- value of Provider Url. This parameter is required.public static IdentityPoolProviderUrl custom(java.lang.String url)
url
- This parameter is required.public static IdentityPoolProviderUrl openId(java.lang.String url)
url
- This parameter is required.public static IdentityPoolProviderUrl saml(java.lang.String url)
url
- This parameter is required.public static IdentityPoolProviderUrl userPool(java.lang.String url)
url
- This parameter is required.public IdentityPoolProviderType getType()
public java.lang.String getValue()