Class: AWSCDK::Route53::VPCEndpointServiceDomainName

Inherits:
Constructs::Construct
  • Object
show all
Defined in:
route53/vpc_endpoint_service_domain_name.rb

Overview

A Private DNS configuration for a VPC endpoint service.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scope, id, props) ⇒ VPCEndpointServiceDomainName

Returns a new instance of VPCEndpointServiceDomainName.

Parameters:



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

def initialize(scope, id, props)
  props = props.is_a?(Hash) ? ::AWSCDK::Route53::VPCEndpointServiceDomainNameProps.new(**props.transform_keys(&:to_sym)) : props
  Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope")
  Jsii::Type.check_type(id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id")
  Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfcm91dGU1My5WcGNFbmRwb2ludFNlcnZpY2VEb21haW5OYW1lUHJvcHMifQ==")), "props")
  Jsii::Object.instance_method(:initialize).bind(self).call(scope, id, props)
end

Class Method Details

.jsii_overridable_methodsObject



19
20
21
22
23
24
25
26
# File 'route53/vpc_endpoint_service_domain_name.rb', line 19

def self.jsii_overridable_methods
  {
    :node => { kind: :property, name: "node", is_optional: false },
    :domain_name => { kind: :property, name: "domainName", is_optional: false },
    :to_string => { kind: :method, name: "toString", is_optional: false },
    :with => { kind: :method, name: "with", is_optional: false },
  }
end

Instance Method Details

#domain_nameString

The domain name associated with the private DNS configuration.

Returns:

  • (String)


38
39
40
# File 'route53/vpc_endpoint_service_domain_name.rb', line 38

def domain_name()
  jsii_get_property("domainName")
end

#domain_name=(value) ⇒ Object



42
43
44
45
# File 'route53/vpc_endpoint_service_domain_name.rb', line 42

def domain_name=(value)
  Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainName")
  jsii_set_property("domainName", value)
end

#nodeConstructs::Node

The tree node.

Returns:

  • (Constructs::Node)


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

def node()
  jsii_get_property("node")
end

#to_stringString

Returns a string representation of this construct.

Returns:

  • (String)


50
51
52
# File 'route53/vpc_endpoint_service_domain_name.rb', line 50

def to_string()
  jsii_call_method("toString", [])
end

#with(*mixins) ⇒ Constructs::IConstruct

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited. Use multiple with() calls if subsequent mixins should apply to added constructs.

Parameters:

  • mixins (Array<Constructs::IMixin>)

    The mixins to apply.

Returns:

  • (Constructs::IConstruct)

    This construct for chaining



63
64
65
66
67
68
# File 'route53/vpc_endpoint_service_domain_name.rb', line 63

def with(*mixins)
  mixins.each_with_index do |item, index|
    Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLklNaXhpbiJ9")), "mixins[#{index}]")
  end
  jsii_call_method("with", [*mixins])
end