Class: AWSCDK::Route53::VPCEndpointServiceDomainNameProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
route53/vpc_endpoint_service_domain_name_props.rb

Overview

Properties to configure a VPC Endpoint Service domain name.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain_name:, endpoint_service:, public_hosted_zone:) ⇒ VPCEndpointServiceDomainNameProps

Returns a new instance of VPCEndpointServiceDomainNameProps.

Parameters:



10
11
12
13
14
15
16
17
# File 'route53/vpc_endpoint_service_domain_name_props.rb', line 10

def initialize(domain_name:, endpoint_service:, public_hosted_zone:)
  @domain_name = domain_name
  Jsii::Type.check_type(@domain_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainName")
  @endpoint_service = endpoint_service
  Jsii::Type.check_type(@endpoint_service, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19lYzIuSVZQQ0VuZHBvaW50U2VydmljZVJlZiJ9")), "endpointService")
  @public_hosted_zone = public_hosted_zone
  Jsii::Type.check_type(@public_hosted_zone, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfcm91dGU1My5JUHVibGljSG9zdGVkWm9uZSJ9")), "publicHostedZone")
end

Instance Attribute Details

#domain_nameString (readonly)

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.



27
28
29
# File 'route53/vpc_endpoint_service_domain_name_props.rb', line 27

def domain_name
  @domain_name
end

#endpoint_serviceAWSCDK::Interfaces::AWSEC2::IVPCEndpointServiceRef (readonly)

The VPC Endpoint Service to configure Private DNS for.



31
32
33
# File 'route53/vpc_endpoint_service_domain_name_props.rb', line 31

def endpoint_service
  @endpoint_service
end

#public_hosted_zoneAWSCDK::Route53::IPublicHostedZone (readonly)

The public hosted zone to use for the domain.



35
36
37
# File 'route53/vpc_endpoint_service_domain_name_props.rb', line 35

def public_hosted_zone
  @public_hosted_zone
end

Class Method Details

.jsii_propertiesObject



37
38
39
40
41
42
43
# File 'route53/vpc_endpoint_service_domain_name_props.rb', line 37

def self.jsii_properties
  {
    :domain_name => "domainName",
    :endpoint_service => "endpointService",
    :public_hosted_zone => "publicHostedZone",
  }
end

Instance Method Details

#to_jsiiObject



45
46
47
48
49
50
51
52
53
# File 'route53/vpc_endpoint_service_domain_name_props.rb', line 45

def to_jsii
  result = {}
  result.merge!({
    "domainName" => @domain_name,
    "endpointService" => @endpoint_service,
    "publicHostedZone" => @public_hosted_zone,
  })
  result.compact
end