IAMCustomRoleState class
Input properties used for looking up and filtering IAMCustomRole resources.
Constructors
-
IAMCustomRoleState({Input<
bool?> ? deleted, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? name, Input<List< ? permissions, Input<String> ?>String?> ? project, Input<String?> ? roleId, Input<String?> ? stage, Input<String?> ? title}) -
Creates a new IAMCustomRoleState.
deleted(Optional) The current deleted state of the role.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".descriptionA human-readable description for the role.nameThe name of the role in the formatprojects/{{project}}/roles/{{role_id}}. Likeid, this field can be used as a reference in other resources such as IAM role bindings.permissionsThe names of the permissions this role grants when bound in an IAM policy. At least one permission must be specified.projectThe project that the custom role will be created in.roleIdThe camel case role id to use for this role. Cannot contain-characters.stageThe current launch stage of the role.titleA human-readable title for the role.const -
IAMCustomRoleState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deleted
→ Input<
bool?> ? -
(Optional) The current deleted state of the role.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
A human-readable description for the role.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
The name of the role in the format
projects/{{project}}/roles/{{role_id}}. Likeid, this field can be used as a reference in other resources such as IAM role bindings.final -
permissions
→ Input<
List< ?String> ?> -
The names of the permissions this role grants when bound in an IAM policy. At least one permission must be specified.
final
-
project
→ Input<
String?> ? -
The project that the custom role will be created in.
Defaults to the provider project configuration.
final
-
roleId
→ Input<
String?> ? -
The camel case role id to use for this role. Cannot contain
-characters.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stage
→ Input<
String?> ? -
The current launch stage of the role.
Defaults to
GA. List of possible stages is here.final -
title
→ Input<
String?> ? -
A human-readable title for the role.
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