Class: AWSCDK::Route53::CfnHealthCheck::HealthCheckTagProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Route53::CfnHealthCheck::HealthCheckTagProperty
- Defined in:
- route53/cfn_health_check.rb
Overview
The HealthCheckTag property describes one key-value pair that is associated with an AWS::Route53::HealthCheck resource.
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The value of
Keydepends on the operation that you want to perform:. -
#value ⇒ String
readonly
The value of
Valuedepends on the operation that you want to perform:.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ HealthCheckTagProperty
constructor
A new instance of HealthCheckTagProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ HealthCheckTagProperty
Returns a new instance of HealthCheckTagProperty.
908 909 910 911 912 913 |
# File 'route53/cfn_health_check.rb', line 908 def initialize(key:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
The value of Key depends on the operation that you want to perform:.
- Add a tag to a health check or hosted zone :
Keyis the name that you want to give the new tag. - Edit a tag :
Keyis the name of the tag that you want to change theValuefor. - Delete a key :
Keyis the name of the tag you want to remove. - Give a name to a health check : Edit the default
Nametag. In the Amazon Route 53 console, the list of your health checks includes a Name column that lets you see the name that you've given to each health check.
924 925 926 |
# File 'route53/cfn_health_check.rb', line 924 def key @key end |
#value ⇒ String (readonly)
The value of Value depends on the operation that you want to perform:.
- Add a tag to a health check or hosted zone :
Valueis the value that you want to give the new tag. - Edit a tag :
Valueis the new value that you want to assign the tag.
932 933 934 |
# File 'route53/cfn_health_check.rb', line 932 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
934 935 936 937 938 939 |
# File 'route53/cfn_health_check.rb', line 934 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
941 942 943 944 945 946 947 948 |
# File 'route53/cfn_health_check.rb', line 941 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |