ResourcePolicyArgs constructor

const ResourcePolicyArgs({
  1. required Input<String> policy,
  2. Input<String?>? region,
  3. 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.

Implementation

const ResourcePolicyArgs({
  required this.policy,
  this.region,
  required this.resourceArn,
});