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<TrafficPolicyPolicyStatement>?>? policyStatements, Input<String?>? region, Input<Map<String, String>?>? tags})
Creates a new TrafficPolicyArgs. defaultAction Default action for traffic that does not match any policy statement. Valid values are ALLOW and DENY. maxMessageSizeBytes Maximum message size, in bytes, allowed by the traffic policy. name Name of the traffic policy. policyStatements Traffic policy statements. See policyStatement Block below. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags Map of tags assigned to the resource. If configured with a provider defaultTags configuration 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 ALLOW and DENY.
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 policyStatement Block 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
tags → Input<Map<String, String>?>?
Map of tags assigned to the resource. If configured with a provider defaultTags configuration 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