Class GetTrafficPolicyDocumentRule


  • public final class GetTrafficPolicyDocumentRule
    extends com.pulumi.resources.InvokeArgs
    • Method Detail

      • geoProximityLocations

        public java.util.Optional<java.util.List<GetTrafficPolicyDocumentRuleGeoProximityLocation>> 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 java.lang.String id()
        Returns:
        ID of a rule you want to assign.
      • items

        public java.util.Optional<java.util.List<GetTrafficPolicyDocumentRuleItem>> 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<java.util.List<GetTrafficPolicyDocumentRuleLocation>> 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<GetTrafficPolicyDocumentRulePrimary> 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<GetTrafficPolicyDocumentRuleSecondary> 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<java.lang.String> type()
        Returns:
        Type of the rule.