Fugue.AWS.Route53.ResourceRecordSet.AAAA

Module Members

albAlias

(Function)

Create a new AAAA ResourceRecordSet with an application load balancer alias target.

Example usage:

import Fugue.AWS.Route53 as Route53

zone: Route53.HostedZone.external("12345679ABCDEF")

aaaa: Route53.ResourceRecordSet.AAAA.elbAlias {
  name: "foo.example.com",
  alb: example-alb
  hostedZone: zone,
  evaluateHeath: True
}

Type Signature

 fun { name: String,
       alb: LoadBalancer,
       hostedZone: HostedZone,
       evaluateHealth: Bool} -> ResourceRecordSet
Argument: name

The fully qualified domain name of the record set.

Type: String

Argument: alb

The application load balancer that the name resolves to. Mutable

Type: LoadBalancer

Argument: hostedZone

The hosted zone to create the record in.

Type: HostedZone

Argument: evaluateHealth

Evaluate health using ELB health check.

Type: Bool

Returns:
Type: ResourceRecordSet

alias

(Function)

Create a new AAAA ResourceRecordSet alias.

Example usage:

import Fugue.AWS.Route53 as Route53

zone: Route53.HostedZone.external("123456789ABCDEF")

aaaa: Route53.ResourceRecordSet.AAAA.alias {
  name: "alias.example.com",
  hostedZone: zone,
  target: Route53.AliasTarget.loadBalancer {
    target: exampleElb,
    evaluateHealth: True,
  }
}

Type Signature

 fun { name: String,
       hostedZone: HostedZone,
       target: AliasTarget,
       resourceId: Optional<String> } -> ResourceRecordSet
Argument: name

The fully qualified domain name of the record set.

Type: String

Argument: hostedZone

The hosted zone to create the record in.

Type: HostedZone

Argument: target

The target of the alias. See Fugue.AWS.Route53.AliasTarget for functions for constructing alias targets.

Type: AliasTarget

Argument: resourceId

Currently unused.

Type: Optional<String>

Returns:
Type: ResourceRecordSet

elbAlias

(Function)

Create a new AAAA ResourceRecordSet with an ELB alias target.

Example usage:

import Fugue.AWS.Route53 as Route53

zone: Route53.HostedZone.external("12345679ABCDEF")

aaaa: Route53.ResourceRecordSet.AAAA.elbAlias {
  name: "foo.example.com",
  elb: example-elb
  hostedZone: zone,
  evaluateHeath: True
}

Type Signature

 fun { name: String,
       elb: LoadBalancer,
       hostedZone: HostedZone,
       evaluateHealth: Bool} -> ResourceRecordSet
Argument: name

The fully qualified domain name of the record set.

Type: String

Argument: elb

The ELB that the name resolves to. Mutable

Type: LoadBalancer

Argument: hostedZone

The hosted zone to create the record in.

Type: HostedZone

Argument: evaluateHealth

Evaluate health using ELB health check.

Type: Bool

Returns:
Type: ResourceRecordSet

new

(Function)

Create a new AAAA ResourceRecordSet.

Example usage:

import Fugue.AWS.Route53 as Route53

zone: Route53.HostedZone.external("12345679ABCDEF")
healthCheck: Route53.HealthCheck.external("12345678-1234-1234-1234567890")

aaaa: Route53.ResourceRecordSet.AAAA.new {
  name: "foo.example.com",
  values: [
    "2001:0db8:85a3:0:0:8a2e:0370:7334",
    "2001:0db8:85a3:0:0:8a2e:0370:7335"
  ],
  ttl: 60,
  hostedZone: zone,
  healthCheck: healthCheck
}

Type Signature

 fun { name: String,
       values: List<String>,
       ttl: Int,
       hostedZone: HostedZone,
       healthCheck: Optional<HealthCheck>,
       resourceId: Optional<String> } -> ResourceRecordSet
Argument: name

The fully qualified domain name of the record set.

Type: String

Argument: values

The list of IPv6 addresses that name resolves to.

Type: List<String>

Argument: ttl

The time to live in seconds. Mutable.

Type: Int

Argument: hostedZone

The hosted zone to create the record in.

Type: HostedZone

Argument: healthCheck

Optional health check that determines if Route53 will return this resource record set.

Type: Optional<HealthCheck>

Argument: resourceId

Resource ID of the resource to import with Fugue Import. This field is only honored on fugue run. The resource ID is the Hosted Zone ID. Mutable. Example: Z119WBBTVP5WFX

Type: Optional<String>

Returns:
Type: ResourceRecordSet