GetTrafficPolicyDocumentRule class
Constructors
-
GetTrafficPolicyDocumentRule({Input<
List< ? geoProximityLocations, required Input<GetTrafficPolicyDocumentRuleGeoProximityLocation> ?>String> id, Input<List< ? items, Input<GetTrafficPolicyDocumentRuleItem> ?>List< ? locations, Input<GetTrafficPolicyDocumentRuleLocation> ?>GetTrafficPolicyDocumentRulePrimary?> ? primary, Input<List< ? regions, Input<GetTrafficPolicyDocumentRuleRegion> ?>GetTrafficPolicyDocumentRuleSecondary?> ? secondary, Input<String?> ? type}) -
Creates a new GetTrafficPolicyDocumentRule.
geoProximityLocationsConfiguration 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 forgeoproximitytype. See belowidID of a rule you want to assign.itemsConfiguration 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 formultivaluetype. See belowlocationsConfiguration 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 forgeotype. See belowprimaryConfiguration block for the settings for the rule or endpoint that you want to route traffic to whenever the corresponding resources are available. Only valid forfailovertype. See belowregionsOptional.secondaryConfiguration block for the rule or endpoint that you want to route traffic to whenever the primary resources are not available. Only valid forfailovertype. See belowtypeType 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
geoproximitytype. See belowfinal - 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
multivaluetype. See belowfinal -
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
geotype. See belowfinal -
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
failovertype. See belowfinal -
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
failovertype. See belowfinal -
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