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
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnUserPoolDomain
.static interface
The 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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnUserPoolDomain
(Construct scope, String id, CfnUserPoolDomainProps props) Create a newAWS::Cognito::UserPoolDomain
.protected
CfnUserPoolDomain
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnUserPoolDomain
(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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setCustomDomainConfig
(IResolvable value) The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.void
The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.void
The domain name for the domain that hosts the sign-up and sign-in pages for your application.void
setUserPoolId
(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, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in 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:
getCfnProperties
in 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.
-