ResourcePolicyArgs class

The set of arguments for ResourcePolicy. The set of arguments for ResourcePolicy.

Constructors

ResourcePolicyArgs({required Input<String> policy, Input<String?>? region, required Input<String> resourceArn})
Creates a new ResourcePolicyArgs. policy JSON formatted policy document that controls access to the Network Firewall resource. The policy must be provided without whitespaces. We recommend using jsonencode for formatting as seen in the examples above. For more details, including available policy statement Actions, see the Policy parameter in the AWS API documentation. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. resourceArn ARN of the rule group or firewall policy.
const
ResourcePolicyArgs.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
policy → Input<String>
JSON formatted policy document that controls access to the Network Firewall resource. The policy must be provided without whitespaces. We recommend using jsonencode for formatting as seen in the examples above. For more details, including available policy statement Actions, see the Policy parameter in the AWS API documentation.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
resourceArn → Input<String>
ARN of the rule group or firewall policy.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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