Class: AWSCDK::RefactorSpaces::CfnService::URLEndpointInputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RefactorSpaces::CfnService::URLEndpointInputProperty
- Defined in:
- refactor_spaces/cfn_service.rb
Overview
The configuration for the URL endpoint type.
Instance Attribute Summary collapse
-
#health_url ⇒ String?
readonly
The health check URL of the URL endpoint type.
-
#url ⇒ String
readonly
The URL to route traffic to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url:, health_url: nil) ⇒ URLEndpointInputProperty
constructor
A new instance of URLEndpointInputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(url:, health_url: nil) ⇒ URLEndpointInputProperty
Returns a new instance of URLEndpointInputProperty.
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_url ⇒ String? (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 |
#url ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |