HealthCheckTagProperty Struct
The HealthCheckTag property describes one key-value pair that is associated with an AWS::Route53::HealthCheck resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53 as route53 } from 'aws-cdk-lib';
const healthCheckTagProperty: route53.CfnHealthCheck.HealthCheckTagProperty = {
key: 'key',
value: 'value',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_route53 as route53
health_check_tag_property = route53.CfnHealthCheck.HealthCheckTagProperty(
key="key",
value="value"
)
java
// 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53;
var healthCheckTagProperty = new HealthCheckTagProperty {
Key = "key",
Value = "value"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
healthCheckTagProperty := &HealthCheckTagProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
}
Properties
The value of `Key` depends on the operation that you want to perform:.
notes
- 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.
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.