permalink |
---|
/route53_record/ |
route53_record
represents the aws_route53_record
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withAlias()
fn withAliasMixin()
fn withAllowOverwrite()
fn withCidrRoutingPolicy()
fn withCidrRoutingPolicyMixin()
fn withFailoverRoutingPolicy()
fn withFailoverRoutingPolicyMixin()
fn withGeolocationRoutingPolicy()
fn withGeolocationRoutingPolicyMixin()
fn withHealthCheckId()
fn withLatencyRoutingPolicy()
fn withLatencyRoutingPolicyMixin()
fn withMultivalueAnswerRoutingPolicy()
fn withName()
fn withRecords()
fn withSetIdentifier()
fn withTtl()
fn withType()
fn withWeightedRoutingPolicy()
fn withWeightedRoutingPolicyMixin()
fn withZoneId()
obj alias
obj cidr_routing_policy
obj failover_routing_policy
obj geolocation_routing_policy
obj latency_routing_policy
obj weighted_routing_policy
new()
aws.route53_record.new
injects a new aws_route53_record
Terraform resource
block into the root module document.
Additionally, this inserts a private function into the _ref
attribute that generates references to attributes of the
resource. For example, if you added a new instance to the root using:
# arguments omitted for brevity
aws.route53_record.new('some_id')
You can get the reference to the id
field of the created aws.route53_record
using the reference:
$._ref.aws_route53_record.some_id.get('id')
This is the same as directly entering "${ aws_route53_record.some_id.id }"
as the value.
NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use super
, self
,
or $
to refer to the root object. Instead, make an explicit outer object using local
.
Args:
resourceLabel
(string
): The name label of the block.allow_overwrite
(bool
): Set theallow_overwrite
field on the resulting resource block. Whennull
, theallow_overwrite
field will be omitted from the resulting object.health_check_id
(string
): Set thehealth_check_id
field on the resulting resource block. Whennull
, thehealth_check_id
field will be omitted from the resulting object.multivalue_answer_routing_policy
(bool
): Set themultivalue_answer_routing_policy
field on the resulting resource block. Whennull
, themultivalue_answer_routing_policy
field will be omitted from the resulting object.name
(string
): Set thename
field on the resulting resource block.records
(list
): Set therecords
field on the resulting resource block. Whennull
, therecords
field will be omitted from the resulting object.set_identifier
(string
): Set theset_identifier
field on the resulting resource block. Whennull
, theset_identifier
field will be omitted from the resulting object.ttl
(number
): Set thettl
field on the resulting resource block. Whennull
, thettl
field will be omitted from the resulting object.type
(string
): Set thetype
field on the resulting resource block.zone_id
(string
): Set thezone_id
field on the resulting resource block.alias
(list[obj]
): Set thealias
field on the resulting resource block. Whennull
, thealias
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.route53_record.alias.new constructor.cidr_routing_policy
(list[obj]
): Set thecidr_routing_policy
field on the resulting resource block. Whennull
, thecidr_routing_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.route53_record.cidr_routing_policy.new constructor.failover_routing_policy
(list[obj]
): Set thefailover_routing_policy
field on the resulting resource block. Whennull
, thefailover_routing_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.route53_record.failover_routing_policy.new constructor.geolocation_routing_policy
(list[obj]
): Set thegeolocation_routing_policy
field on the resulting resource block. Whennull
, thegeolocation_routing_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.route53_record.geolocation_routing_policy.new constructor.latency_routing_policy
(list[obj]
): Set thelatency_routing_policy
field on the resulting resource block. Whennull
, thelatency_routing_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.route53_record.latency_routing_policy.new constructor.weighted_routing_policy
(list[obj]
): Set theweighted_routing_policy
field on the resulting resource block. Whennull
, theweighted_routing_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.route53_record.weighted_routing_policy.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
aws.route53_record.newAttrs
constructs a new object with attributes and blocks configured for the route53_record
Terraform resource.
Unlike aws.route53_record.new, this function will not inject the resource
block into the root Terraform document. Instead, this must be passed in as the attrs
argument for the
tf.withResource function to build a complete block.
This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to injecting into a complete block.
Args:
allow_overwrite
(bool
): Set theallow_overwrite
field on the resulting object. Whennull
, theallow_overwrite
field will be omitted from the resulting object.health_check_id
(string
): Set thehealth_check_id
field on the resulting object. Whennull
, thehealth_check_id
field will be omitted from the resulting object.multivalue_answer_routing_policy
(bool
): Set themultivalue_answer_routing_policy
field on the resulting object. Whennull
, themultivalue_answer_routing_policy
field will be omitted from the resulting object.name
(string
): Set thename
field on the resulting object.records
(list
): Set therecords
field on the resulting object. Whennull
, therecords
field will be omitted from the resulting object.set_identifier
(string
): Set theset_identifier
field on the resulting object. Whennull
, theset_identifier
field will be omitted from the resulting object.ttl
(number
): Set thettl
field on the resulting object. Whennull
, thettl
field will be omitted from the resulting object.type
(string
): Set thetype
field on the resulting object.zone_id
(string
): Set thezone_id
field on the resulting object.alias
(list[obj]
): Set thealias
field on the resulting object. Whennull
, thealias
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.route53_record.alias.new constructor.cidr_routing_policy
(list[obj]
): Set thecidr_routing_policy
field on the resulting object. Whennull
, thecidr_routing_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.route53_record.cidr_routing_policy.new constructor.failover_routing_policy
(list[obj]
): Set thefailover_routing_policy
field on the resulting object. Whennull
, thefailover_routing_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.route53_record.failover_routing_policy.new constructor.geolocation_routing_policy
(list[obj]
): Set thegeolocation_routing_policy
field on the resulting object. Whennull
, thegeolocation_routing_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.route53_record.geolocation_routing_policy.new constructor.latency_routing_policy
(list[obj]
): Set thelatency_routing_policy
field on the resulting object. Whennull
, thelatency_routing_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.route53_record.latency_routing_policy.new constructor.weighted_routing_policy
(list[obj]
): Set theweighted_routing_policy
field on the resulting object. Whennull
, theweighted_routing_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.route53_record.weighted_routing_policy.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
route53_record
resource into the root Terraform configuration.
withAlias()
aws.list[obj].withAlias
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the alias field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the aws.list[obj].withAliasMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thealias
field.
withAliasMixin()
aws.list[obj].withAliasMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the alias field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the aws.list[obj].withAlias
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thealias
field.
withAllowOverwrite()
aws.bool.withAllowOverwrite
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the allow_overwrite field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for theallow_overwrite
field.
withCidrRoutingPolicy()
aws.list[obj].withCidrRoutingPolicy
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the cidr_routing_policy field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the aws.list[obj].withCidrRoutingPolicyMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecidr_routing_policy
field.
withCidrRoutingPolicyMixin()
aws.list[obj].withCidrRoutingPolicyMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the cidr_routing_policy field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the aws.list[obj].withCidrRoutingPolicy
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecidr_routing_policy
field.
withFailoverRoutingPolicy()
aws.list[obj].withFailoverRoutingPolicy
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the failover_routing_policy field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the aws.list[obj].withFailoverRoutingPolicyMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thefailover_routing_policy
field.
withFailoverRoutingPolicyMixin()
aws.list[obj].withFailoverRoutingPolicyMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the failover_routing_policy field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the aws.list[obj].withFailoverRoutingPolicy
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thefailover_routing_policy
field.
withGeolocationRoutingPolicy()
aws.list[obj].withGeolocationRoutingPolicy
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the geolocation_routing_policy field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the aws.list[obj].withGeolocationRoutingPolicyMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thegeolocation_routing_policy
field.
withGeolocationRoutingPolicyMixin()
aws.list[obj].withGeolocationRoutingPolicyMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the geolocation_routing_policy field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the aws.list[obj].withGeolocationRoutingPolicy
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thegeolocation_routing_policy
field.
withHealthCheckId()
aws.string.withHealthCheckId
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the health_check_id field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thehealth_check_id
field.
withLatencyRoutingPolicy()
aws.list[obj].withLatencyRoutingPolicy
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the latency_routing_policy field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the aws.list[obj].withLatencyRoutingPolicyMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thelatency_routing_policy
field.
withLatencyRoutingPolicyMixin()
aws.list[obj].withLatencyRoutingPolicyMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the latency_routing_policy field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the aws.list[obj].withLatencyRoutingPolicy
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thelatency_routing_policy
field.
withMultivalueAnswerRoutingPolicy()
aws.bool.withMultivalueAnswerRoutingPolicy
constructs a mixin object that can be merged into the bool
Terraform resource block to set or update the multivalue_answer_routing_policy field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(bool
): The value to set for themultivalue_answer_routing_policy
field.
withName()
aws.string.withName
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the name field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thename
field.
withRecords()
aws.list.withRecords
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the records field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for therecords
field.
withSetIdentifier()
aws.string.withSetIdentifier
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the set_identifier field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theset_identifier
field.
withTtl()
aws.number.withTtl
constructs a mixin object that can be merged into the number
Terraform resource block to set or update the ttl field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(number
): The value to set for thettl
field.
withType()
aws.string.withType
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the type field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thetype
field.
withWeightedRoutingPolicy()
aws.list[obj].withWeightedRoutingPolicy
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the weighted_routing_policy field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the aws.list[obj].withWeightedRoutingPolicyMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theweighted_routing_policy
field.
withWeightedRoutingPolicyMixin()
aws.list[obj].withWeightedRoutingPolicyMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the weighted_routing_policy field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the aws.list[obj].withWeightedRoutingPolicy
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theweighted_routing_policy
field.
withZoneId()
aws.string.withZoneId
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the zone_id field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thezone_id
field.
new()
aws.route53_record.alias.new
constructs a new object with attributes and blocks configured for the alias
Terraform sub block.
Args:
evaluate_target_health
(bool
): Set theevaluate_target_health
field on the resulting object.name
(string
): Set thename
field on the resulting object.zone_id
(string
): Set thezone_id
field on the resulting object.
Returns:
- An attribute object that represents the
alias
sub block.
new()
aws.route53_record.cidr_routing_policy.new
constructs a new object with attributes and blocks configured for the cidr_routing_policy
Terraform sub block.
Args:
collection_id
(string
): Set thecollection_id
field on the resulting object.location_name
(string
): Set thelocation_name
field on the resulting object.
Returns:
- An attribute object that represents the
cidr_routing_policy
sub block.
new()
aws.route53_record.failover_routing_policy.new
constructs a new object with attributes and blocks configured for the failover_routing_policy
Terraform sub block.
Args:
type
(string
): Set thetype
field on the resulting object.
Returns:
- An attribute object that represents the
failover_routing_policy
sub block.
new()
aws.route53_record.geolocation_routing_policy.new
constructs a new object with attributes and blocks configured for the geolocation_routing_policy
Terraform sub block.
Args:
continent
(string
): Set thecontinent
field on the resulting object. Whennull
, thecontinent
field will be omitted from the resulting object.country
(string
): Set thecountry
field on the resulting object. Whennull
, thecountry
field will be omitted from the resulting object.subdivision
(string
): Set thesubdivision
field on the resulting object. Whennull
, thesubdivision
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
geolocation_routing_policy
sub block.
new()
aws.route53_record.latency_routing_policy.new
constructs a new object with attributes and blocks configured for the latency_routing_policy
Terraform sub block.
Args:
region
(string
): Set theregion
field on the resulting object.
Returns:
- An attribute object that represents the
latency_routing_policy
sub block.
new()
aws.route53_record.weighted_routing_policy.new
constructs a new object with attributes and blocks configured for the weighted_routing_policy
Terraform sub block.
Args:
weight
(number
): Set theweight
field on the resulting object.
Returns:
- An attribute object that represents the
weighted_routing_policy
sub block.