@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-09T19:16:40.591Z") public interface RecordSetProps extends RecordSetOptions
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; RecordTarget recordTarget; RecordSetProps recordSetProps = RecordSetProps.builder() .recordType(RecordType.A) .target(recordTarget) .zone(hostedZone) // the properties below are optional .comment("comment") .recordName("recordName") .ttl(Duration.minutes(30)) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
RecordSetProps.Builder
A builder for
RecordSetProps |
static class |
RecordSetProps.Jsii$Proxy
An implementation for
RecordSetProps |
Modifier and Type | Method and Description |
---|---|
static RecordSetProps.Builder |
builder() |
RecordType |
getRecordType()
The record type.
|
RecordTarget |
getTarget()
The target for this record, either `RecordTarget.fromValues()` or `RecordTarget.fromAlias()`.
|
getComment, getRecordName, getTtl, getZone
RecordType getRecordType()
RecordTarget getTarget()
static RecordSetProps.Builder builder()
builder
in interface RecordSetOptions
RecordSetProps.Builder
of RecordSetProps