Interface CfnHealthCheck.HealthCheckTagProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnHealthCheck.HealthCheckTagProperty.Jsii$Proxy
Enclosing class:
CfnHealthCheck

@Stability(Stable) public static interface CfnHealthCheck.HealthCheckTagProperty extends software.amazon.jsii.JsiiSerializable
The HealthCheckTag property describes one key-value pair that is associated with an AWS::Route53::HealthCheck resource.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.route53.*;
 HealthCheckTagProperty healthCheckTagProperty = HealthCheckTagProperty.builder()
         .key("key")
         .value("value")
         .build();
 
  • Method Details

    • getKey

      @Stability(Stable) @NotNull String getKey()
      The value of Key depends on the operation that you want to perform:.

      • Add a tag to a health check or hosted zone : Key is the name that you want to give the new tag.
      • Edit a tag : Key is the name of the tag that you want to change the Value for.
      • Delete a key : Key is the name of the tag you want to remove.
      • Give a name to a health check : Edit the default Name tag. 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.
    • getValue

      @Stability(Stable) @NotNull String getValue()
      The value of Value depends on the operation that you want to perform:.

      • Add a tag to a health check or hosted zone : Value is the value that you want to give the new tag.
      • Edit a tag : Value is the new value that you want to assign the tag.
    • builder

      @Stability(Stable) static CfnHealthCheck.HealthCheckTagProperty.Builder builder()
      Returns:
      a CfnHealthCheck.HealthCheckTagProperty.Builder of CfnHealthCheck.HealthCheckTagProperty