ResourcePolicyArgs constructor

const ResourcePolicyArgs({
  1. required Input<String> policy,
  2. Input<String?>? region,
  3. required Input<String> resourceArn,
})

Creates a new ResourcePolicyArgs. policy The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. resourceArn ARN of the account to create or update a resource policy for.

Implementation

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