EntitlementState class
Input properties used for looking up and filtering Entitlement resources.
Constructors
-
EntitlementState({Input<
EntitlementAdditionalNotificationTargets?> ? additionalNotificationTargets, Input<EntitlementApprovalWorkflow?> ? approvalWorkflow, Input<String?> ? createTime, Input<String?> ? deletionPolicy, Input<List< ? eligibleUsers, Input<EntitlementEligibleUser> ?>String?> ? entitlementId, Input<String?> ? etag, Input<String?> ? location, Input<String?> ? maxRequestDuration, Input<String?> ? name, Input<String?> ? parent, Input<EntitlementPrivilegedAccess?> ? privilegedAccess, Input<EntitlementRequesterJustificationConfig?> ? requesterJustificationConfig, Input<String?> ? state, Input<String?> ? updateTime}) -
Creates a new EntitlementState.
additionalNotificationTargetsAdditionalNotificationTargets includes email addresses to be notified.approvalWorkflowThe approvals needed before access will be granted to a requester.createTimeOutput only. Create time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.eligibleUsersWho can create Grants using Entitlement. This list should contain at most one entryentitlementIdThe ID to use for this Entitlement. This will become the last part of the resource name.etagFor Resource freshness validation (https://google.aip.dev/154)locationThe region of the Entitlement resource.maxRequestDurationThe maximum amount of time for which access would be granted for a request.nameOutput Only. The entitlement's name follows a hierarchical structure, comprising the organization, folder, or project, alongside the region and a unique entitlement ID.parentFormat: projects/{project-id|project-number} or organizations/{organization-number} or folders/{folder-number}privilegedAccessPrivileged access that this service can be used to gate.requesterJustificationConfigDefines the ways in which a requester should provide the justification while requesting for access.stateOutput only. The current state of the Entitlement.updateTimeOutput only. Update time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.const -
EntitlementState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
additionalNotificationTargets
→ Input<
EntitlementAdditionalNotificationTargets?> ? -
AdditionalNotificationTargets includes email addresses to be notified.
Structure is documented below.
final
-
approvalWorkflow
→ Input<
EntitlementApprovalWorkflow?> ? -
The approvals needed before access will be granted to a requester.
No approvals will be needed if this field is null. Different types of approval workflows that can be used to gate privileged access granting.
Structure is documented below.
final
-
createTime
→ Input<
String?> ? -
Output only. Create time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
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
-
eligibleUsers
→ Input<
List< ?EntitlementEligibleUser> ?> -
Who can create Grants using Entitlement. This list should contain at most one entry
Structure is documented below.
final
-
entitlementId
→ Input<
String?> ? -
The ID to use for this Entitlement. This will become the last part of the resource name.
This value should be 4-63 characters, and valid characters are "
a-z", "0-9", and "-". The first character should be froma-z. This value should be unique among all other Entitlements under the specifiedparent.final -
etag
→ Input<
String?> ? -
For Resource freshness validation (https://google.aip.dev/154)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String?> ? -
The region of the Entitlement resource.
final
-
maxRequestDuration
→ Input<
String?> ? -
The maximum amount of time for which access would be granted for a request.
A requester can choose to ask for access for less than this duration but never more.
Format: calculate the time in seconds and concatenate it with 's' i.e. 2 hours = "7200s", 45 minutes = "2700s"
final
-
name
→ Input<
String?> ? -
Output Only. The entitlement's name follows a hierarchical structure, comprising the organization, folder, or project, alongside the region and a unique entitlement ID.
Formats: organizations/{organization-number}/locations/{region}/entitlements/{entitlement-id}, folders/{folder-number}/locations/{region}/entitlements/{entitlement-id}, and projects/{project-id|project-number}/locations/{region}/entitlements/{entitlement-id}.
final
-
parent
→ Input<
String?> ? -
Format: projects/{project-id|project-number} or organizations/{organization-number} or folders/{folder-number}
final
-
privilegedAccess
→ Input<
EntitlementPrivilegedAccess?> ? -
Privileged access that this service can be used to gate.
Structure is documented below.
final
-
requesterJustificationConfig
→ Input<
EntitlementRequesterJustificationConfig?> ? -
Defines the ways in which a requester should provide the justification while requesting for access.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Input<
String?> ? -
Output only. The current state of the Entitlement.
final
-
updateTime
→ Input<
String?> ? -
Output only. Update time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
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