UserPolicyArgs constructor

const UserPolicyArgs({
  1. Input<String?>? name,
  2. Input<String?>? namePrefix,
  3. required Input policy,
  4. required Input<String> user,
})

Creates a new UserPolicyArgs. name The name of the policy. If omitted, the provider will assign a random, unique name. namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name. policy The policy document. This is a JSON formatted string. user IAM user to which to attach this policy.

Implementation

const UserPolicyArgs({
  this.name,
  this.namePrefix,
  required this.policy,
  required this.user,
});