1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. cognito
  5. UserPoolDomain

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.cognito.UserPoolDomain

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource Type definition for AWS::Cognito::UserPoolDomain

    Create UserPoolDomain Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new UserPoolDomain(name: string, args: UserPoolDomainArgs, opts?: CustomResourceOptions);
    @overload
    def UserPoolDomain(resource_name: str,
                       args: UserPoolDomainArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def UserPoolDomain(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       domain: Optional[str] = None,
                       user_pool_id: Optional[str] = None,
                       custom_domain_config: Optional[UserPoolDomainCustomDomainConfigTypeArgs] = None)
    func NewUserPoolDomain(ctx *Context, name string, args UserPoolDomainArgs, opts ...ResourceOption) (*UserPoolDomain, error)
    public UserPoolDomain(string name, UserPoolDomainArgs args, CustomResourceOptions? opts = null)
    public UserPoolDomain(String name, UserPoolDomainArgs args)
    public UserPoolDomain(String name, UserPoolDomainArgs args, CustomResourceOptions options)
    
    type: aws-native:cognito:UserPoolDomain
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args UserPoolDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args UserPoolDomainArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args UserPoolDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UserPoolDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UserPoolDomainArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    UserPoolDomain Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The UserPoolDomain resource accepts the following input properties:

    Domain string

    The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might be auth.example.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.

    UserPoolId string
    The ID of the user pool that is associated with the custom domain whose certificate you're updating.
    CustomDomainConfig Pulumi.AwsNative.Cognito.Inputs.UserPoolDomainCustomDomainConfigType
    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.
    Domain string

    The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might be auth.example.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.

    UserPoolId string
    The ID of the user pool that is associated with the custom domain whose certificate you're updating.
    CustomDomainConfig UserPoolDomainCustomDomainConfigTypeArgs
    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.
    domain String

    The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might be auth.example.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.

    userPoolId String
    The ID of the user pool that is associated with the custom domain whose certificate you're updating.
    customDomainConfig UserPoolDomainCustomDomainConfigType
    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.
    domain string

    The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might be auth.example.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.

    userPoolId string
    The ID of the user pool that is associated with the custom domain whose certificate you're updating.
    customDomainConfig UserPoolDomainCustomDomainConfigType
    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.
    domain str

    The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might be auth.example.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.

    user_pool_id str
    The ID of the user pool that is associated with the custom domain whose certificate you're updating.
    custom_domain_config UserPoolDomainCustomDomainConfigTypeArgs
    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.
    domain String

    The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might be auth.example.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.

    userPoolId String
    The ID of the user pool that is associated with the custom domain whose certificate you're updating.
    customDomainConfig Property Map
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the UserPoolDomain resource produces the following output properties:

    AwsId string
    The resource ID.
    CloudFrontDistribution string
    The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
    Id string
    The provider-assigned unique ID for this managed resource.
    AwsId string
    The resource ID.
    CloudFrontDistribution string
    The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
    Id string
    The provider-assigned unique ID for this managed resource.
    awsId String
    The resource ID.
    cloudFrontDistribution String
    The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
    id String
    The provider-assigned unique ID for this managed resource.
    awsId string
    The resource ID.
    cloudFrontDistribution string
    The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
    id string
    The provider-assigned unique ID for this managed resource.
    aws_id str
    The resource ID.
    cloud_front_distribution str
    The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
    id str
    The provider-assigned unique ID for this managed resource.
    awsId String
    The resource ID.
    cloudFrontDistribution String
    The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    UserPoolDomainCustomDomainConfigType, UserPoolDomainCustomDomainConfigTypeArgs

    CertificateArn string
    The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
    CertificateArn string
    The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
    certificateArn String
    The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
    certificateArn string
    The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
    certificate_arn str
    The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
    certificateArn String
    The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi