Class GetTrafficPolicyDocumentRuleArgs


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

      • geoProximityLocations

        public java.util.Optional<com.pulumi.core.Output<java.util.List<GetTrafficPolicyDocumentRuleGeoProximityLocationArgs>>> geoProximityLocations()
        Returns:
        Configuration block for when you add a geoproximity rule, you configure Amazon Route 53 to route traffic to your resources based on the geographic location of your resources. Only valid for `geoproximity` type. See below
      • id

        public com.pulumi.core.Output<java.lang.String> id()
        Returns:
        ID of a rule you want to assign.
      • items

        public java.util.Optional<com.pulumi.core.Output<java.util.List<GetTrafficPolicyDocumentRuleItemArgs>>> items()
        Returns:
        Configuration block for when you add a multivalue answer rule, you configure your traffic policy to route traffic approximately randomly to your healthy resources. Only valid for `multivalue` type. See below
      • locations

        public java.util.Optional<com.pulumi.core.Output<java.util.List<GetTrafficPolicyDocumentRuleLocationArgs>>> locations()
        Returns:
        Configuration block for when you add a geolocation rule, you configure your traffic policy to route your traffic based on the geographic location of your users. Only valid for `geo` type. See below
      • primary

        public java.util.Optional<com.pulumi.core.Output<GetTrafficPolicyDocumentRulePrimaryArgs>> primary()
        Returns:
        Configuration block for the settings for the rule or endpoint that you want to route traffic to whenever the corresponding resources are available. Only valid for `failover` type. See below
      • secondary

        public java.util.Optional<com.pulumi.core.Output<GetTrafficPolicyDocumentRuleSecondaryArgs>> secondary()
        Returns:
        Configuration block for the rule or endpoint that you want to route traffic to whenever the primary resources are not available. Only valid for `failover` type. See below
      • type

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> type()
        Returns:
        Type of the rule.