GroupProtectedEnvironmentApprovalRuleArgs

data class GroupProtectedEnvironmentApprovalRuleArgs(val accessLevel: Output<String>? = null, val accessLevelDescription: Output<String>? = null, val groupId: Output<Int>? = null, val groupInheritanceType: Output<Int>? = null, val id: Output<Int>? = null, val requiredApprovals: Output<Int>? = null, val userId: Output<Int>? = null) : ConvertibleToJava<GroupProtectedEnvironmentApprovalRuleArgs>

Constructors

constructor(accessLevel: Output<String>? = null, accessLevelDescription: Output<String>? = null, groupId: Output<Int>? = null, groupInheritanceType: Output<Int>? = null, id: Output<Int>? = null, requiredApprovals: Output<Int>? = null, userId: Output<Int>? = null)

Properties

Link copied to clipboard
val accessLevel: Output<String>? = null

Levels of access allowed to approve a deployment to this protected environment. Mutually exclusive with user_id and group_id. Valid values are developer, maintainer.

Link copied to clipboard
val accessLevelDescription: Output<String>? = null

Readable description of level of access.

Link copied to clipboard
val groupId: Output<Int>? = null

The ID of the group allowed to approve a deployment to this protected environment. TThe group must be a sub-group under the given group. Mutually exclusive with access_level and user_id.

Link copied to clipboard
val groupInheritanceType: Output<Int>? = null

Group inheritance allows access rules to take inherited group membership into account. Valid values are 0, 1. 0 => Direct group membership only, 1 => All inherited groups. Default: 0

Link copied to clipboard
val id: Output<Int>? = null

The unique ID of the Approval Rules object.

Link copied to clipboard
val requiredApprovals: Output<Int>? = null

The number of approval required to allow deployment to this protected environment. This is mutually exclusive with user_id.

Link copied to clipboard
val userId: Output<Int>? = null

The ID of the user allowed to approve a deployment to this protected environment. The user must be a member of the group with Maintainer role or higher. Mutually exclusive with access_level and group_id.

Functions

Link copied to clipboard
open override fun toJava(): GroupProtectedEnvironmentApprovalRuleArgs