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 to attach to the resource. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. resourceArn ARN of the resource to attach the policy to.

Implementation

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