interface SrvRecordValue
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Route53.SrvRecordValue |
Java | software.amazon.awscdk.services.route53.SrvRecordValue |
Python | aws_cdk.aws_route53.SrvRecordValue |
TypeScript (source) | @aws-cdk/aws-route53 » SrvRecordValue |
Properties for a SRV record value.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as route53 from '@aws-cdk/aws-route53';
const srvRecordValue: route53.SrvRecordValue = {
hostName: 'hostName',
port: 123,
priority: 123,
weight: 123,
};
Properties
Name | Type | Description |
---|---|---|
host | string | The server host name. |
port | number | The port. |
priority | number | The priority. |
weight | number | The weight. |
hostName
Type:
string
The server host name.
port
Type:
number
The port.
priority
Type:
number
The priority.
weight
Type:
number
The weight.