EntitlementArgs class
The set of arguments for Entitlement. The set of arguments for Entitlement.
Constructors
-
EntitlementArgs({Input<
EntitlementAdditionalNotificationTargets?> ? additionalNotificationTargets, Input<EntitlementApprovalWorkflow?> ? approvalWorkflow, Input<String?> ? deletionPolicy, required Input<List< eligibleUsers, required Input<EntitlementEligibleUser> >String> entitlementId, required Input<String> location, required Input<String> maxRequestDuration, required Input<String> parent, required Input<EntitlementPrivilegedAccess> privilegedAccess, required Input<EntitlementRequesterJustificationConfig> requesterJustificationConfig}) -
Creates a new EntitlementArgs.
additionalNotificationTargetsAdditionalNotificationTargets includes email addresses to be notified.approvalWorkflowThe approvals needed before access will be granted to a requester.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.locationThe region of the Entitlement resource.maxRequestDurationThe maximum amount of time for which access would be granted for a request.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.const -
EntitlementArgs.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
-
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 - 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
-
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
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