aws-cdk-lib.aws_route53.SrvRecordValue

interface SrvRecordValue

LanguageType name
.NETAmazon.CDK.AWS.Route53.SrvRecordValue
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsroute53#SrvRecordValue
Javasoftware.amazon.awscdk.services.route53.SrvRecordValue
Pythonaws_cdk.aws_route53.SrvRecordValue
TypeScript (source)aws-cdk-lib » 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 { aws_route53 as route53 } from 'aws-cdk-lib';
const srvRecordValue: route53.SrvRecordValue = {
  hostName: 'hostName',
  port: 123,
  priority: 123,
  weight: 123,
};

Properties

NameTypeDescription
hostNamestringThe server host name.
portnumberThe port.
prioritynumberThe priority.
weightnumberThe weight.

hostName

Type: string

The server host name.


port

Type: number

The port.


priority

Type: number

The priority.


weight

Type: number

The weight.