interface HostedZoneTagProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Route53.CfnHostedZone.HostedZoneTagProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53#CfnHostedZone_HostedZoneTagProperty |
![]() | software.amazon.awscdk.services.route53.CfnHostedZone.HostedZoneTagProperty |
![]() | aws_cdk.aws_route53.CfnHostedZone.HostedZoneTagProperty |
![]() | aws-cdk-lib » aws_route53 » CfnHostedZone » HostedZoneTagProperty |
A complex type that contains information about a tag that you want to add or edit for the specified health check or hosted zone.
Example
// 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 hostedZoneTagProperty: route53.CfnHostedZone.HostedZoneTagProperty = {
key: 'key',
value: 'value',
};
Properties
Name | Type | Description |
---|---|---|
key | string | The value of Key depends on the operation that you want to perform:. |
value | string | The value of Value depends on the operation that you want to perform:. |
key
Type:
string
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 theValue
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.
value
Type:
string
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.