Creates an A type DNS record set.
# DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
from constructs import Construct
from cdktf import TerraformStack
#
# Provider bindings are generated by running `cdktf get`.
# See https://cdk.tf/provider-generation for more details.
#
from imports.dns.a_record_set import ARecordSet
class MyConvertedCode(TerraformStack):
def __init__(self, scope, name):
super().__init__(scope, name)
ARecordSet(self, "www",
addresses=["192.168.0.1", "192.168.0.2", "192.168.0.3"],
name="www",
ttl=300,
zone="example.com."
)
addresses
(Set of String) The IPv4 addresses this record set will point to.zone
(String) DNS zone the record set belongs to. It must be an FQDN, that is, include the trailing dot.name
(String) The name of the record set. The zone
argument will be appended to this value to create the full record path.ttl
(Number) The TTL of the record set. Defaults to 3600
.id
(String) The ID of this resource.Import is supported using the following syntax:
# Import using the FQDN.
terraform import dns_a_record_set.www www.example.com.