-
Notifications
You must be signed in to change notification settings - Fork 17
/
VpcEndpointServiceDomainNameProps.go
35 lines (32 loc) · 1.26 KB
/
VpcEndpointServiceDomainNameProps.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
package awsroute53
import (
"github.com/aws/aws-cdk-go/awscdk/v2/awsec2"
)
// Properties to configure a VPC Endpoint Service domain name.
//
// Example:
// import "github.com/aws/aws-cdk-go/awscdk"
// var zone publicHostedZone
// var vpces vpcEndpointService
//
//
// awscdk.NewVpcEndpointServiceDomainName(this, jsii.String("EndpointDomain"), &VpcEndpointServiceDomainNameProps{
// EndpointService: vpces,
// DomainName: jsii.String("my-stuff.aws-cdk.dev"),
// PublicHostedZone: zone,
// })
//
type VpcEndpointServiceDomainNameProps struct {
// The domain name to use.
//
// This domain name must be owned by this account (registered through Route53),
// or delegated to this account. Domain ownership will be verified by AWS before
// private DNS can be used.
// See: https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-services-dns-validation.html
//
DomainName *string `field:"required" json:"domainName" yaml:"domainName"`
// The VPC Endpoint Service to configure Private DNS for.
EndpointService awsec2.IVpcEndpointService `field:"required" json:"endpointService" yaml:"endpointService"`
// The public hosted zone to use for the domain.
PublicHostedZone IPublicHostedZone `field:"required" json:"publicHostedZone" yaml:"publicHostedZone"`
}