GetTrafficPolicyDocumentRule class

Constructors

GetTrafficPolicyDocumentRule({Input<List<GetTrafficPolicyDocumentRuleGeoProximityLocation>?>? geoProximityLocations, required Input<String> id, Input<List<GetTrafficPolicyDocumentRuleItem>?>? items, Input<List<GetTrafficPolicyDocumentRuleLocation>?>? locations, Input<GetTrafficPolicyDocumentRulePrimary?>? primary, Input<List<GetTrafficPolicyDocumentRuleRegion>?>? regions, Input<GetTrafficPolicyDocumentRuleSecondary?>? secondary, Input<String?>? type})
Creates a new GetTrafficPolicyDocumentRule. geoProximityLocations 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 ID of a rule you want to assign. items 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 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 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 Optional. secondary 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 Type of the rule.
const
GetTrafficPolicyDocumentRule.fromMap(Map<String, dynamic> map)
factory

Properties

geoProximityLocations → Input<List<GetTrafficPolicyDocumentRuleGeoProximityLocation>?>?
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
final
hashCode → int
The hash code for this object.
no setterinherited
id → Input<String>
ID of a rule you want to assign.
final
items → Input<List<GetTrafficPolicyDocumentRuleItem>?>?
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
final
locations → Input<List<GetTrafficPolicyDocumentRuleLocation>?>?
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
final
primary → Input<GetTrafficPolicyDocumentRulePrimary?>?
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
final
regions → Input<List<GetTrafficPolicyDocumentRuleRegion>?>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondary → Input<GetTrafficPolicyDocumentRuleSecondary?>?
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
final
type → Input<String?>?
Type of the rule.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited