Class: AWSCDK::RefactorSpaces::CfnService::URLEndpointInputProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
refactor_spaces/cfn_service.rb

Overview

The configuration for the URL endpoint type.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url:, health_url: nil) ⇒ URLEndpointInputProperty

Returns a new instance of URLEndpointInputProperty.

Parameters:

  • url (String)

    The URL to route traffic to.

  • health_url (String, nil) (defaults to: nil)

    The health check URL of the URL endpoint type.



671
672
673
674
675
676
# File 'refactor_spaces/cfn_service.rb', line 671

def initialize(url:, health_url: nil)
  @url = url
  Jsii::Type.check_type(@url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url")
  @health_url = health_url
  Jsii::Type.check_type(@health_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "healthUrl") unless @health_url.nil?
end

Instance Attribute Details

#health_urlString? (readonly)

The health check URL of the URL endpoint type.

If the URL is a public endpoint, the HealthUrl must also be a public endpoint. If the URL is a private endpoint inside a virtual private cloud (VPC), the health URL must also be a private endpoint, and the host must be the same as the URL.



691
692
693
# File 'refactor_spaces/cfn_service.rb', line 691

def health_url
  @health_url
end

#urlString (readonly)

The URL to route traffic to.

The URL must be an rfc3986-formatted URL . If the host is a domain name, the name must be resolvable over the public internet. If the scheme is https , the top level domain of the host must be listed in the IANA root zone database .



684
685
686
# File 'refactor_spaces/cfn_service.rb', line 684

def url
  @url
end

Class Method Details

.jsii_propertiesObject



693
694
695
696
697
698
# File 'refactor_spaces/cfn_service.rb', line 693

def self.jsii_properties
  {
    :url => "url",
    :health_url => "healthUrl",
  }
end

Instance Method Details

#to_jsiiObject



700
701
702
703
704
705
706
707
# File 'refactor_spaces/cfn_service.rb', line 700

def to_jsii
  result = {}
  result.merge!({
    "url" => @url,
    "healthUrl" => @health_url,
  })
  result.compact
end