RecordArgs class
The set of arguments for Record. The set of arguments for Record.
Constructors
-
RecordArgs({Input<
List< ? aliases, Input<RecordAlias> ?>bool?> ? allowOverwrite, Input<RecordCidrRoutingPolicy?> ? cidrRoutingPolicy, Input<List< ? failoverRoutingPolicies, Input<RecordFailoverRoutingPolicy> ?>List< ? geolocationRoutingPolicies, Input<RecordGeolocationRoutingPolicy> ?>RecordGeoproximityRoutingPolicy?> ? geoproximityRoutingPolicy, Input<String?> ? healthCheckId, Input<List< ? latencyRoutingPolicies, Input<RecordLatencyRoutingPolicy> ?>bool?> ? multivalueAnswerRoutingPolicy, required Input<String> name, Input<List< ? records, Input<String> ?>String?> ? setIdentifier, Input<int?> ? ttl, required Input type, Input<List< ? weightedRoutingPolicies, required Input<RecordWeightedRoutingPolicy> ?>String> zoneId}) -
Creates a new RecordArgs.
aliasesAn alias block. Conflicts withttl&records.allowOverwriteAllow creation of this record to overwrite an existing record, if any. This does not affect the ability to update the record using this provider and does not prevent other resources within this provider or manual Route 53 changes outside this provider from overwriting this record.falseby default. This configuration is not recommended for most environments.cidrRoutingPolicyA block indicating a routing policy based on the IP network ranges of requestors. Conflicts with any other routing policy. Documented below.failoverRoutingPoliciesA block indicating the routing behavior when associated health check fails. Conflicts with any other routing policy. Documented below.geolocationRoutingPoliciesA block indicating a routing policy based on the geolocation of the requestor. Conflicts with any other routing policy. Documented below.geoproximityRoutingPolicyA block indicating a routing policy based on the geoproximity of the requestor. Conflicts with any other routing policy. Documented below.healthCheckIdThe health check the record should be associated with.latencyRoutingPoliciesA block indicating a routing policy based on the latency between the requestor and an AWS region. Conflicts with any other routing policy. Documented below.multivalueAnswerRoutingPolicySet totrueto indicate a multivalue answer routing policy. Conflicts with any other routing policy.nameThe name of the record.recordsA string list of records. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add\"\"inside the provider configuration string (e.g.,"first255characters\"\"morecharacters").setIdentifierUnique identifier to differentiate records with routing policies from one another. Required if usingcidrRoutingPolicy,failoverRoutingPolicy,geolocationRoutingPolicy,geoproximityRoutingPolicy,latencyRoutingPolicy,multivalueAnswerRoutingPolicy, orweightedRoutingPolicy.ttlThe TTL of the record.typeThe record type. Valid values areA,AAAA,CAA,CNAME,DS,HTTPS,MX,NAPTR,NS,PTR,SOA,SPF,SRV,SSHFP,SVCB,TLSA, andTXT.weightedRoutingPoliciesA block indicating a weighted routing policy. Conflicts with any other routing policy. Documented below.zoneIdThe ID of the hosted zone to contain this record.const -
RecordArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
aliases
→ Input<
List< ?RecordAlias> ?> -
An alias block. Conflicts with
ttl&records. Documented below.final -
allowOverwrite
→ Input<
bool?> ? -
Allow creation of this record to overwrite an existing record, if any. This does not affect the ability to update the record using this provider and does not prevent other resources within this provider or manual Route 53 changes outside this provider from overwriting this record.
falseby default. This configuration is not recommended for most environments.final -
cidrRoutingPolicy
→ Input<
RecordCidrRoutingPolicy?> ? -
A block indicating a routing policy based on the IP network ranges of requestors. Conflicts with any other routing policy. Documented below.
final
-
failoverRoutingPolicies
→ Input<
List< ?RecordFailoverRoutingPolicy> ?> -
A block indicating the routing behavior when associated health check fails. Conflicts with any other routing policy. Documented below.
final
-
geolocationRoutingPolicies
→ Input<
List< ?RecordGeolocationRoutingPolicy> ?> -
A block indicating a routing policy based on the geolocation of the requestor. Conflicts with any other routing policy. Documented below.
final
-
geoproximityRoutingPolicy
→ Input<
RecordGeoproximityRoutingPolicy?> ? -
A block indicating a routing policy based on the geoproximity of the requestor. Conflicts with any other routing policy. Documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
healthCheckId
→ Input<
String?> ? -
The health check the record should be associated with.
final
-
latencyRoutingPolicies
→ Input<
List< ?RecordLatencyRoutingPolicy> ?> -
A block indicating a routing policy based on the latency between the requestor and an AWS region. Conflicts with any other routing policy. Documented below.
final
-
multivalueAnswerRoutingPolicy
→ Input<
bool?> ? -
Set to
trueto indicate a multivalue answer routing policy. Conflicts with any other routing policy.final -
name
→ Input<
String> -
The name of the record.
final
-
records
→ Input<
List< ?String> ?> -
A string list of records. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add
\"\"inside the provider configuration string (e.g.,"first255characters\"\"morecharacters").final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
setIdentifier
→ Input<
String?> ? -
Unique identifier to differentiate records with routing policies from one another. Required if using
cidrRoutingPolicy,failoverRoutingPolicy,geolocationRoutingPolicy,geoproximityRoutingPolicy,latencyRoutingPolicy,multivalueAnswerRoutingPolicy, orweightedRoutingPolicy.final -
ttl
→ Input<
int?> ? -
The TTL of the record.
final
- type → Input
-
The record type. Valid values are
A,AAAA,CAA,CNAME,DS,HTTPS,MX,NAPTR,NS,PTR,SOA,SPF,SRV,SSHFP,SVCB,TLSA, andTXT.final -
weightedRoutingPolicies
→ Input<
List< ?RecordWeightedRoutingPolicy> ?> -
A block indicating a weighted routing policy. Conflicts with any other routing policy. Documented below.
final
-
zoneId
→ Input<
String> -
The ID of the hosted zone to contain this record.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited