RolePolicyArgs class

The set of arguments for RolePolicy. The set of arguments for RolePolicy.

Constructors

RolePolicyArgs({Input<String?>? name, Input<String?>? namePrefix, required Input policy, required Input role})
Creates a new RolePolicyArgs. name The name of the role policy. namePrefix Creates a unique name beginning with the specified prefix. policy The inline policy document. role The name of the IAM role to attach to the policy.
const
RolePolicyArgs.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
The name of the role policy. If omitted, the provider will assign a random, unique name.
final
namePrefix → Input<String?>?
Creates a unique name beginning with the specified prefix. Conflicts with name.
final
policy → Input
The inline policy document. This is a JSON formatted string. For more information about building IAM policy documents with Pulumi, see the AWS IAM Policy Document Guide
final
role → Input
The name of the IAM role to attach to the policy.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited