ResourcePolicyArgs constructor

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

Creates a new ResourcePolicyArgs. policy The content of the resource policy being updated. 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,
});