@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:46.037Z") public class MxRecord extends RecordSet
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; MxRecord mxRecord = MxRecord.Builder.create(this, "MyMxRecord") .values(List.of(MxRecordValue.builder() .hostName("hostName") .priority(123) .build())) .zone(hostedZone) // the properties below are optional .comment("comment") .recordName("recordName") .ttl(Duration.minutes(30)) .build();
Modifier and Type | Class and Description |
---|---|
static class |
MxRecord.Builder
A fluent builder for
MxRecord . |
IRecordSet.Jsii$Default, IRecordSet.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
MxRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
MxRecord(software.amazon.jsii.JsiiObjectRef objRef) |
|
MxRecord(software.constructs.Construct scope,
java.lang.String id,
MxRecordProps props) |
getDomainName
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected MxRecord(software.amazon.jsii.JsiiObjectRef objRef)
protected MxRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public MxRecord(software.constructs.Construct scope, java.lang.String id, MxRecordProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.