Class RecordArgs
Inherited Members
Namespace: Pulumi.Aws.Route53
Assembly: Pulumi.Aws.dll
Syntax
public sealed class RecordArgs : ResourceArgs
Constructors
View SourceRecordArgs()
Declaration
public RecordArgs()
Properties
View SourceAliases
An alias block. Conflicts with ttl & records.
Alias record documented below.
Declaration
public InputList<RecordAliasArgs> Aliases { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<RecordAliasArgs> |
AllowOverwrite
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. false by default. This configuration is not recommended for most environments.
Declaration
public Input<bool> AllowOverwrite { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
FailoverRoutingPolicies
A block indicating the routing behavior when associated health check fails. Conflicts with any other routing policy. Documented below.
Declaration
public InputList<RecordFailoverRoutingPolicyArgs> FailoverRoutingPolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<RecordFailoverRoutingPolicyArgs> |
GeolocationRoutingPolicies
A block indicating a routing policy based on the geolocation of the requestor. Conflicts with any other routing policy. Documented below.
Declaration
public InputList<RecordGeolocationRoutingPolicyArgs> GeolocationRoutingPolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<RecordGeolocationRoutingPolicyArgs> |
HealthCheckId
The health check the record should be associated with.
Declaration
public Input<string> HealthCheckId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LatencyRoutingPolicies
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.
Declaration
public InputList<RecordLatencyRoutingPolicyArgs> LatencyRoutingPolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<RecordLatencyRoutingPolicyArgs> |
MultivalueAnswerRoutingPolicy
Set to true to indicate a multivalue answer routing policy. Conflicts with any other routing policy.
Declaration
public Input<bool> MultivalueAnswerRoutingPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Name
DNS domain name for a CloudFront distribution, S3 bucket, ELB, or another resource record set in this hosted zone.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Records
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 configuration string (e.g. "first255characters\"\"morecharacters").
Declaration
public InputList<string> Records { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
SetIdentifier
Unique identifier to differentiate records with routing policies from one another. Required if using failover, geolocation, latency, or weighted routing policies documented below.
Declaration
public Input<string> SetIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Ttl
The TTL of the record.
Declaration
public Input<int> Ttl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Type
PRIMARY or SECONDARY. A PRIMARY record will be served if its healthcheck is passing, otherwise the SECONDARY will be served. See http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-configuring-options.html#dns-failover-failover-rrsets
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
WeightedRoutingPolicies
A block indicating a weighted routing policy. Conflicts with any other routing policy. Documented below.
Declaration
public InputList<RecordWeightedRoutingPolicyArgs> WeightedRoutingPolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<RecordWeightedRoutingPolicyArgs> |
ZoneId
Hosted zone ID for a CloudFront distribution, S3 bucket, ELB, or Route 53 hosted zone. See resource_elb.zone_id for example.
Declaration
public Input<string> ZoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |