DefaultRoleWithPolicy class

Role and policy attachments with default setup unless explicitly skipped or an existing role ARN provided.

Constructors

DefaultRoleWithPolicy({Input<RoleWithPolicy?>? args, Input<String?>? roleArn, Input<bool?>? skip})
Creates a new DefaultRoleWithPolicy. args Args to use when creating the role and policies. Can't be specified if roleArn is used. roleArn ARN of existing role to use instead of creating a new role. Cannot be used in combination with args or opts. skip Skips creation of the role if set to true.
const
DefaultRoleWithPolicy.fromMap(Map<String, dynamic> map)
factory

Properties

args → Input<RoleWithPolicy?>?
Args to use when creating the role and policies. Can't be specified if roleArn is used.
final
hashCode → int
The hash code for this object.
no setterinherited
roleArn → Input<String?>?
ARN of existing role to use instead of creating a new role. Cannot be used in combination with args or opts.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skip → Input<bool?>?
Skips creation of the role if set to true.
final

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