@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:45.319Z") @Stability(value=Experimental) 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,
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(String url)
(experimental) Custom Provider Url.
|
IdentityPoolProviderType |
getType()
(experimental) type of Provider Url.
|
String |
getValue()
(experimental) value of Provider Url.
|
static IdentityPoolProviderUrl |
openId(String url)
(experimental) OpenId Provider Url.
|
static IdentityPoolProviderUrl |
saml(String url)
(experimental) Saml Provider Url.
|
static IdentityPoolProviderUrl |
userPool(String url)
(experimental) User Pool Provider Url.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Experimental) public static final IdentityPoolProviderUrl AMAZON
@Stability(value=Experimental) public static final IdentityPoolProviderUrl APPLE
@Stability(value=Experimental) public static final IdentityPoolProviderUrl DIGITS
@Stability(value=Experimental) public static final IdentityPoolProviderUrl FACEBOOK
@Stability(value=Experimental) public static final IdentityPoolProviderUrl GOOGLE
@Stability(value=Experimental) public static final IdentityPoolProviderUrl TWITTER
protected IdentityPoolProviderUrl(software.amazon.jsii.JsiiObjectRef objRef)
protected IdentityPoolProviderUrl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public IdentityPoolProviderUrl(@NotNull
IdentityPoolProviderType type,
@NotNull
String value)
type - type of Provider Url. This parameter is required.value - value of Provider Url. This parameter is required.@Stability(value=Experimental) @NotNull public static IdentityPoolProviderUrl custom(@NotNull String url)
url - This parameter is required.@Stability(value=Experimental) @NotNull public static IdentityPoolProviderUrl openId(@NotNull String url)
url - This parameter is required.@Stability(value=Experimental) @NotNull public static IdentityPoolProviderUrl saml(@NotNull String url)
url - This parameter is required.@Stability(value=Experimental) @NotNull public static IdentityPoolProviderUrl userPool(@NotNull String url)
url - This parameter is required.@Stability(value=Experimental) @NotNull public IdentityPoolProviderType getType()
@Stability(value=Experimental) @NotNull public String getValue()
Copyright © 2022. All rights reserved.