@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.675Z") @Stability(value=Stable) public class RecordSet extends Resource implements IRecordSet
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.route53.*;
HostedZone hostedZone;
RecordTarget recordTarget;
RecordSet recordSet = RecordSet.Builder.create(this, "MyRecordSet")
.recordType(RecordType.A)
.target(recordTarget)
.zone(hostedZone)
// the properties below are optional
.comment("comment")
.deleteExisting(false)
.recordName("recordName")
.ttl(Duration.minutes(30))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
RecordSet.Builder
A fluent builder for
RecordSet. |
software.amazon.jsii.JsiiObject.InitializationModeIRecordSet.Jsii$Default, IRecordSet.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
RecordSet(software.constructs.Construct scope,
String id,
RecordSetProps props) |
protected |
RecordSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
RecordSet(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDomainName()
The domain name of the record.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected RecordSet(software.amazon.jsii.JsiiObjectRef objRef)
protected RecordSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public RecordSet(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
RecordSetProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public String getDomainName()
getDomainName in interface IRecordSetCopyright © 2022. All rights reserved.