Package com.pulumi.aws.route53.outputs
Class GetTrafficPolicyDocumentRule
- java.lang.Object
-
- com.pulumi.aws.route53.outputs.GetTrafficPolicyDocumentRule
-
public final class GetTrafficPolicyDocumentRule extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetTrafficPolicyDocumentRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetTrafficPolicyDocumentRule.Builderbuilder()static GetTrafficPolicyDocumentRule.Builderbuilder(GetTrafficPolicyDocumentRule defaults)java.util.List<GetTrafficPolicyDocumentRuleGeoProximityLocation>geoProximityLocations()java.lang.Stringid()java.util.List<GetTrafficPolicyDocumentRuleItem>items()java.util.List<GetTrafficPolicyDocumentRuleLocation>locations()java.util.Optional<GetTrafficPolicyDocumentRulePrimary>primary()java.util.List<GetTrafficPolicyDocumentRuleRegion>regions()java.util.Optional<GetTrafficPolicyDocumentRuleSecondary>secondary()java.util.Optional<java.lang.String>type()
-
-
-
Method Detail
-
geoProximityLocations
public 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.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.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
-
regions
public java.util.List<GetTrafficPolicyDocumentRuleRegion> regions()
-
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.
-
builder
public static GetTrafficPolicyDocumentRule.Builder builder()
-
builder
public static GetTrafficPolicyDocumentRule.Builder builder(GetTrafficPolicyDocumentRule defaults)
-
-