-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnUserPoolDomainProps.go
43 lines (40 loc) · 2.1 KB
/
CfnUserPoolDomainProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package awscognito
// Properties for defining a `CfnUserPoolDomain`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnUserPoolDomainProps := &CfnUserPoolDomainProps{
// Domain: jsii.String("domain"),
// UserPoolId: jsii.String("userPoolId"),
//
// // the properties below are optional
// CustomDomainConfig: &CustomDomainConfigTypeProperty{
// CertificateArn: jsii.String("certificateArn"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html
//
type CfnUserPoolDomainProps struct {
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html#cfn-cognito-userpooldomain-domain
//
Domain *string `field:"required" json:"domain" yaml:"domain"`
// The user pool ID for the user pool where you want to associate a user pool domain.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html#cfn-cognito-userpooldomain-userpoolid
//
UserPoolId *string `field:"required" json:"userPoolId" yaml:"userPoolId"`
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html#cfn-cognito-userpooldomain-customdomainconfig
//
CustomDomainConfig interface{} `field:"optional" json:"customDomainConfig" yaml:"customDomainConfig"`
}