import pulumi
import pulumi_aws as aws

example = aws.cognito.UserPool("example")
main = aws.cognito.UserPoolDomain("main",
    certificate_arn=aws_acm_certificate["cert"]["arn"],
    domain="example-domain.example.com",
    user_pool_id=example.id)


78771d6ad077126232b3118ca7ba165be1b4d488
<mask token>

<mask token>
example = aws.cognito.UserPool('example')
main = aws.cognito.UserPoolDomain('main', certificate_arn=
    aws_acm_certificate['cert']['arn'], domain='example-domain.example.com',
    user_pool_id=example.id)

import pulumi
import pulumi_aws as aws
example = aws.cognito.UserPool('example')
main = aws.cognito.UserPoolDomain('main', certificate_arn=
    aws_acm_certificate['cert']['arn'], domain='example-domain.example.com',
    user_pool_id=example.id)

import pulumi
import pulumi_aws as aws

example = aws.cognito.UserPool("example")
main = aws.cognito.UserPoolDomain("main",
    certificate_arn=aws_acm_certificate["cert"]["arn"],
    domain="example-domain.example.com",
    user_pool_id=example.id)

