Class CfnUserPoolDomain

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:04.667Z") @Stability(Stable) public class CfnUserPoolDomain extends CfnResource implements IInspectable
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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnUserPoolDomainProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCloudFrontDistribution

      @Stability(Stable) @NotNull public String 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.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The resource ID.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getDomain

      @Stability(Stable) @NotNull public String getDomain()
      The domain name for the domain that hosts the sign-up and sign-in pages for your application.
    • setDomain

      @Stability(Stable) public void setDomain(@NotNull String value)
      The domain name for the domain that hosts the sign-up and sign-in pages for your application.
    • getUserPoolId

      @Stability(Stable) @NotNull public String getUserPoolId()
      The user pool ID for the user pool where you want to associate a user pool domain.
    • setUserPoolId

      @Stability(Stable) public void setUserPoolId(@NotNull String value)
      The user pool ID for the user pool where you want to associate a user pool domain.
    • getCustomDomainConfig

      @Stability(Stable) @Nullable public Object getCustomDomainConfig()
      The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.
    • setCustomDomainConfig

      @Stability(Stable) public void setCustomDomainConfig(@Nullable IResolvable value)
      The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.
    • 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.