Class RecordArgs


  • public final class RecordArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • aliases

        public java.util.Optional<com.pulumi.core.Output<java.util.List<RecordAliasArgs>>> aliases()
        Returns:
        An alias block. Conflicts with `ttl` & `records`. Documented below.
      • allowOverwrite

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> allowOverwrite()
        Returns:
        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. Exactly one of `records` or `alias` must be specified: this determines whether it's an alias record.
      • cidrRoutingPolicy

        public java.util.Optional<com.pulumi.core.Output<RecordCidrRoutingPolicyArgs>> cidrRoutingPolicy()
        Returns:
        A block indicating a routing policy based on the IP network ranges of requestors. Conflicts with any other routing policy. Documented below.
      • failoverRoutingPolicies

        public java.util.Optional<com.pulumi.core.Output<java.util.List<RecordFailoverRoutingPolicyArgs>>> failoverRoutingPolicies()
        Returns:
        A block indicating the routing behavior when associated health check fails. Conflicts with any other routing policy. Documented below.
      • geolocationRoutingPolicies

        public java.util.Optional<com.pulumi.core.Output<java.util.List<RecordGeolocationRoutingPolicyArgs>>> geolocationRoutingPolicies()
        Returns:
        A block indicating a routing policy based on the geolocation of the requestor. Conflicts with any other routing policy. Documented below.
      • geoproximityRoutingPolicy

        public java.util.Optional<com.pulumi.core.Output<RecordGeoproximityRoutingPolicyArgs>> geoproximityRoutingPolicy()
        Returns:
        A block indicating a routing policy based on the geoproximity of the requestor. Conflicts with any other routing policy. Documented below.
      • healthCheckId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> healthCheckId()
        Returns:
        The health check the record should be associated with.
      • latencyRoutingPolicies

        public java.util.Optional<com.pulumi.core.Output<java.util.List<RecordLatencyRoutingPolicyArgs>>> latencyRoutingPolicies()
        Returns:
        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.
      • multivalueAnswerRoutingPolicy

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> multivalueAnswerRoutingPolicy()
        Returns:
        Set to `true` to indicate a multivalue answer routing policy. Conflicts with any other routing policy.
      • name

        public com.pulumi.core.Output<java.lang.String> name()
        Returns:
        The name of the record.
      • records

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> records()
        Returns:
        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"`).
      • setIdentifier

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> setIdentifier()
        Returns:
        Unique identifier to differentiate records with routing policies from one another. Required if using `cidr_routing_policy`, `failover_routing_policy`, `geolocation_routing_policy`,`geoproximity_routing_policy`, `latency_routing_policy`, `multivalue_answer_routing_policy`, or `weighted_routing_policy`.
      • ttl

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> ttl()
        Returns:
        The TTL of the record.
      • type

        public com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​RecordType>> type()
        Returns:
        The record type. Valid values are `A`, `AAAA`, `CAA`, `CNAME`, `DS`, `MX`, `NAPTR`, `NS`, `PTR`, `SOA`, `SPF`, `SRV` and `TXT`.
      • weightedRoutingPolicies

        public java.util.Optional<com.pulumi.core.Output<java.util.List<RecordWeightedRoutingPolicyArgs>>> weightedRoutingPolicies()
        Returns:
        A block indicating a weighted routing policy. Conflicts with any other routing policy. Documented below.
      • zoneId

        public com.pulumi.core.Output<java.lang.String> zoneId()
        Returns:
        The ID of the hosted zone to contain this record.