Interface SrvRecordProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, RecordSetOptions
All Known Implementing Classes:
SrvRecordProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.046Z") @Stability(Stable) public interface SrvRecordProps extends software.amazon.jsii.JsiiSerializable, RecordSetOptions
Construction properties for a SrvRecord.

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.*;
 import software.amazon.awscdk.core.*;
 HostedZone hostedZone;
 SrvRecordProps srvRecordProps = SrvRecordProps.builder()
         .values(List.of(SrvRecordValue.builder()
                 .hostName("hostName")
                 .port(123)
                 .priority(123)
                 .weight(123)
                 .build()))
         .zone(hostedZone)
         // the properties below are optional
         .comment("comment")
         .recordName("recordName")
         .ttl(Duration.minutes(30))
         .build();