Class CfnUserPoolDomain
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::Cognito::UserPoolDomain.
The AWS::Cognito::UserPoolDomain resource creates a new domain 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.*;
CfnUserPoolDomain cfnUserPoolDomain = CfnUserPoolDomain.Builder.create(this, "MyCfnUserPoolDomain")
.domain("domain")
.userPoolId("userPoolId")
// the properties below are optional
.customDomainConfig(CustomDomainConfigTypeProperty.builder()
.certificateArn("certificateArn")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnUserPoolDomain.static interfaceThe configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnUserPoolDomain(Construct scope, String id, CfnUserPoolDomainProps props) Create a newAWS::Cognito::UserPoolDomain.protectedCfnUserPoolDomain(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnUserPoolDomain(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.The domain name for the domain that hosts the sign-up and sign-in pages for your application.The user pool ID for the user pool where you want to associate a user pool domain.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetCustomDomainConfig(IResolvable value) The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.voidThe configuration for a custom domain that hosts the sign-up and sign-in pages for your application.voidThe domain name for the domain that hosts the sign-up and sign-in pages for your application.voidsetUserPoolId(String value) The user pool ID for the user pool where you want to associate a user pool domain.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnUserPoolDomain
protected CfnUserPoolDomain(software.amazon.jsii.JsiiObjectRef objRef) -
CfnUserPoolDomain
protected CfnUserPoolDomain(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnUserPoolDomain
@Stability(Stable) public CfnUserPoolDomain(@NotNull Construct scope, @NotNull String id, @NotNull CfnUserPoolDomainProps props) Create a newAWS::Cognito::UserPoolDomain.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCloudFrontDistribution
The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDomain
The domain name for the domain that hosts the sign-up and sign-in pages for your application.For example:
auth.example.com. If you're using a prefix domain, this field denotes the first part of the domain before.auth.[region].amazoncognito.com.This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names.
-
setDomain
The domain name for the domain that hosts the sign-up and sign-in pages for your application.For example:
auth.example.com. If you're using a prefix domain, this field denotes the first part of the domain before.auth.[region].amazoncognito.com.This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names.
-
getUserPoolId
The user pool ID for the user pool where you want to associate a user pool domain. -
setUserPoolId
The user pool ID for the user pool where you want to associate a user pool domain. -
getCustomDomainConfig
The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.Use this object to specify an SSL certificate that is managed by ACM.
-
setCustomDomainConfig
The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.Use this object to specify an SSL certificate that is managed by ACM.
-
setCustomDomainConfig
@Stability(Stable) public void setCustomDomainConfig(@Nullable CfnUserPoolDomain.CustomDomainConfigTypeProperty value) The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.Use this object to specify an SSL certificate that is managed by ACM.
-