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.
argsArgs to use when creating the role and policies. Can't be specified ifroleArnis used.roleArnARN of existing role to use instead of creating a new role. Cannot be used in combination withargsoropts.skipSkips creation of the role if set totrue.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
roleArnis 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
argsoropts.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