-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsapigatewayv2_CfnDomainName_DomainNameConfigurationProperty.go
39 lines (36 loc) · 2.11 KB
/
awsapigatewayv2_CfnDomainName_DomainNameConfigurationProperty.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
package awsapigatewayv2
// The `DomainNameConfiguration` property type specifies the configuration for a an API's domain name.
//
// `DomainNameConfiguration` is a property of the [AWS::ApiGatewayV2::DomainName](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html) resource.
//
// 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"
//
// domainNameConfigurationProperty := &domainNameConfigurationProperty{
// certificateArn: jsii.String("certificateArn"),
// certificateName: jsii.String("certificateName"),
// endpointType: jsii.String("endpointType"),
// ownershipVerificationCertificateArn: jsii.String("ownershipVerificationCertificateArn"),
// securityPolicy: jsii.String("securityPolicy"),
// }
//
type CfnDomainName_DomainNameConfigurationProperty struct {
// An AWS -managed certificate that will be used by the edge-optimized endpoint for this domain name.
//
// AWS Certificate Manager is the only supported source.
CertificateArn *string `field:"optional" json:"certificateArn" yaml:"certificateArn"`
// The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.
CertificateName *string `field:"optional" json:"certificateName" yaml:"certificateName"`
// The endpoint type.
EndpointType *string `field:"optional" json:"endpointType" yaml:"endpointType"`
// The ARN of the public certificate issued by ACM to validate ownership of your custom domain.
//
// Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.
OwnershipVerificationCertificateArn *string `field:"optional" json:"ownershipVerificationCertificateArn" yaml:"ownershipVerificationCertificateArn"`
// The Transport Layer Security (TLS) version of the security policy for this domain name.
//
// The valid values are `TLS_1_0` and `TLS_1_2` .
SecurityPolicy *string `field:"optional" json:"securityPolicy" yaml:"securityPolicy"`
}