TrafficPolicyArgs class
The set of arguments for TrafficPolicy. The set of arguments for TrafficPolicy.
Constructors
-
TrafficPolicyArgs({required Input<
String> defaultAction, Input<int?> ? maxMessageSizeBytes, Input<String?> ? name, Input<List< ? policyStatements, Input<TrafficPolicyPolicyStatement> ?>String?> ? region, Input<Map< ? tags})String, String> ?> -
Creates a new TrafficPolicyArgs.
defaultActionDefault action for traffic that does not match any policy statement. Valid values areALLOWandDENY.maxMessageSizeBytesMaximum message size, in bytes, allowed by the traffic policy.nameName of the traffic policy.policyStatementsTraffic policy statements. SeepolicyStatementBlock below.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsMap of tags assigned to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.const -
TrafficPolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
defaultAction
→ Input<
String> -
Default action for traffic that does not match any policy statement. Valid values are
ALLOWandDENY.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
maxMessageSizeBytes
→ Input<
int?> ? -
Maximum message size, in bytes, allowed by the traffic policy.
final
-
name
→ Input<
String?> ? -
Name of the traffic policy.
final
-
policyStatements
→ Input<
List< ?TrafficPolicyPolicyStatement> ?> -
Traffic policy statements. See
policyStatementBlock below.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Map of tags assigned to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.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