CustomDomainConfigTypeProperty Struct
The configuration for a hosted UI custom domain.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const customDomainConfigTypeProperty: cognito.CfnUserPoolDomain.CustomDomainConfigTypeProperty = {
certificateArn: 'certificateArn',
securityPolicy: 'securityPolicy',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cognito as cognito
custom_domain_config_type_property = cognito.CfnUserPoolDomain.CustomDomainConfigTypeProperty(
certificate_arn="certificateArn",
security_policy="securityPolicy"
)
java
// 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.*;
CustomDomainConfigTypeProperty customDomainConfigTypeProperty = CustomDomainConfigTypeProperty.builder()
.certificateArn("certificateArn")
.securityPolicy("securityPolicy")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var customDomainConfigTypeProperty = new CustomDomainConfigTypeProperty {
CertificateArn = "certificateArn",
SecurityPolicy = "securityPolicy"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"
customDomainConfigTypeProperty := &CustomDomainConfigTypeProperty{
CertificateArn: jsii.String("certificateArn"),
SecurityPolicy: jsii.String("securityPolicy"),
}
Properties
certificateArnoptionalstringcertificate_arnoptionalstrcertificateArnoptionalStringCertificateArnoptionalstringCertificateArnoptional*string #The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate.
You use this certificate for the subdomain of your custom domain.
securityPolicyoptionalstringsecurity_policyoptionalstrsecurityPolicyoptionalStringSecurityPolicyoptionalstringSecurityPolicyoptional*string #