Skip to content

Latest commit

 

History

History
3541 lines (2236 loc) · 143 KB

group.csharp.md

File metadata and controls

3541 lines (2236 loc) · 143 KB

group Submodule

Constructs

Group

Represents a {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group gitlab_group}.

Initializers

using HashiCorp.Cdktf.Providers.Gitlab;

new Group(Construct Scope, string Id, GroupConfig Config);
Name Type Description
Scope Constructs.Construct The scope in which to define this construct.
Id string The scoped construct ID.
Config GroupConfig No description.

ScopeRequired
  • Type: Constructs.Construct

The scope in which to define this construct.


IdRequired
  • Type: string

The scoped construct ID.

Must be unique amongst siblings in the same scope


ConfigRequired

Methods

Name Description
ToString Returns a string representation of this construct.
AddOverride No description.
OverrideLogicalId Overrides the auto-generated logical ID with a specific ID.
ResetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
ToHclTerraform No description.
ToMetadata No description.
ToTerraform Adds this resource to the terraform JSON output.
AddMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
GetAnyMapAttribute No description.
GetBooleanAttribute No description.
GetBooleanMapAttribute No description.
GetListAttribute No description.
GetNumberAttribute No description.
GetNumberListAttribute No description.
GetNumberMapAttribute No description.
GetStringAttribute No description.
GetStringMapAttribute No description.
HasResourceMove No description.
ImportFrom No description.
InterpolationForAttribute No description.
MoveFromId Move the resource corresponding to "id" to this resource.
MoveTo Moves this resource to the target resource given by moveTarget.
MoveToId Moves this resource to the resource corresponding to "id".
PutDefaultBranchProtectionDefaults No description.
PutPushRules No description.
ResetAllowedEmailDomainsList No description.
ResetAutoDevopsEnabled No description.
ResetAvatar No description.
ResetAvatarHash No description.
ResetDefaultBranch No description.
ResetDefaultBranchProtection No description.
ResetDefaultBranchProtectionDefaults No description.
ResetDescription No description.
ResetEmailsEnabled No description.
ResetExtraSharedRunnersMinutesLimit No description.
ResetId No description.
ResetIpRestrictionRanges No description.
ResetLfsEnabled No description.
ResetMembershipLock No description.
ResetMentionsDisabled No description.
ResetParentId No description.
ResetPermanentlyRemoveOnDelete No description.
ResetPreventForkingOutsideGroup No description.
ResetProjectCreationLevel No description.
ResetPushRules No description.
ResetRequestAccessEnabled No description.
ResetRequireTwoFactorAuthentication No description.
ResetSharedRunnersMinutesLimit No description.
ResetSharedRunnersSetting No description.
ResetShareWithGroupLock No description.
ResetSubgroupCreationLevel No description.
ResetTwoFactorGracePeriod No description.
ResetVisibilityLevel No description.
ResetWikiAccessLevel No description.

ToString
private string ToString()

Returns a string representation of this construct.

AddOverride
private void AddOverride(string Path, object Value)
PathRequired
  • Type: string

ValueRequired
  • Type: object

OverrideLogicalId
private void OverrideLogicalId(string NewLogicalId)

Overrides the auto-generated logical ID with a specific ID.

NewLogicalIdRequired
  • Type: string

The new logical ID to use for this stack element.


ResetOverrideLogicalId
private void ResetOverrideLogicalId()

Resets a previously passed logical Id to use the auto-generated logical id again.

ToHclTerraform
private object ToHclTerraform()
ToMetadata
private object ToMetadata()
ToTerraform
private object ToTerraform()

Adds this resource to the terraform JSON output.

AddMoveTarget
private void AddMoveTarget(string MoveTarget)

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

MoveTargetRequired
  • Type: string

The string move target that will correspond to this resource.


GetAnyMapAttribute
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanAttribute
private IResolvable GetBooleanAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanMapAttribute
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetListAttribute
private string[] GetListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberAttribute
private double GetNumberAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberListAttribute
private double[] GetNumberListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberMapAttribute
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringAttribute
private string GetStringAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringMapAttribute
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

HasResourceMove
private object HasResourceMove()
ImportFrom
private void ImportFrom(string Id, TerraformProvider Provider = null)
IdRequired
  • Type: string

ProviderOptional
  • Type: HashiCorp.Cdktf.TerraformProvider

InterpolationForAttribute
private IResolvable InterpolationForAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

MoveFromId
private void MoveFromId(string Id)

Move the resource corresponding to "id" to this resource.

Note that the resource being moved from must be marked as moved using it's instance function.

IdRequired
  • Type: string

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


MoveTo
private void MoveTo(string MoveTarget, object Index = null)

Moves this resource to the target resource given by moveTarget.

MoveTargetRequired
  • Type: string

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


IndexOptional
  • Type: object

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


MoveToId
private void MoveToId(string Id)

Moves this resource to the resource corresponding to "id".

IdRequired
  • Type: string

Full id of resource to move to, e.g. "aws_s3_bucket.example".


PutDefaultBranchProtectionDefaults
private void PutDefaultBranchProtectionDefaults(GroupDefaultBranchProtectionDefaults Value)
ValueRequired

PutPushRules
private void PutPushRules(GroupPushRules Value)
ValueRequired

ResetAllowedEmailDomainsList
private void ResetAllowedEmailDomainsList()
ResetAutoDevopsEnabled
private void ResetAutoDevopsEnabled()
ResetAvatar
private void ResetAvatar()
ResetAvatarHash
private void ResetAvatarHash()
ResetDefaultBranch
private void ResetDefaultBranch()
ResetDefaultBranchProtection
private void ResetDefaultBranchProtection()
ResetDefaultBranchProtectionDefaults
private void ResetDefaultBranchProtectionDefaults()
ResetDescription
private void ResetDescription()
ResetEmailsEnabled
private void ResetEmailsEnabled()
ResetExtraSharedRunnersMinutesLimit
private void ResetExtraSharedRunnersMinutesLimit()
ResetId
private void ResetId()
ResetIpRestrictionRanges
private void ResetIpRestrictionRanges()
ResetLfsEnabled
private void ResetLfsEnabled()
ResetMembershipLock
private void ResetMembershipLock()
ResetMentionsDisabled
private void ResetMentionsDisabled()
ResetParentId
private void ResetParentId()
ResetPermanentlyRemoveOnDelete
private void ResetPermanentlyRemoveOnDelete()
ResetPreventForkingOutsideGroup
private void ResetPreventForkingOutsideGroup()
ResetProjectCreationLevel
private void ResetProjectCreationLevel()
ResetPushRules
private void ResetPushRules()
ResetRequestAccessEnabled
private void ResetRequestAccessEnabled()
ResetRequireTwoFactorAuthentication
private void ResetRequireTwoFactorAuthentication()
ResetSharedRunnersMinutesLimit
private void ResetSharedRunnersMinutesLimit()
ResetSharedRunnersSetting
private void ResetSharedRunnersSetting()
ResetShareWithGroupLock
private void ResetShareWithGroupLock()
ResetSubgroupCreationLevel
private void ResetSubgroupCreationLevel()
ResetTwoFactorGracePeriod
private void ResetTwoFactorGracePeriod()
ResetVisibilityLevel
private void ResetVisibilityLevel()
ResetWikiAccessLevel
private void ResetWikiAccessLevel()

Static Functions

Name Description
IsConstruct Checks if x is a construct.
IsTerraformElement No description.
IsTerraformResource No description.
GenerateConfigForImport Generates CDKTF code for importing a Group resource upon running "cdktf plan ".

IsConstruct
using HashiCorp.Cdktf.Providers.Gitlab;

Group.IsConstruct(object X);

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

XRequired
  • Type: object

Any object.


IsTerraformElement
using HashiCorp.Cdktf.Providers.Gitlab;

Group.IsTerraformElement(object X);
XRequired
  • Type: object

IsTerraformResource
using HashiCorp.Cdktf.Providers.Gitlab;

Group.IsTerraformResource(object X);
XRequired
  • Type: object

GenerateConfigForImport
using HashiCorp.Cdktf.Providers.Gitlab;

Group.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null);

Generates CDKTF code for importing a Group resource upon running "cdktf plan ".

ScopeRequired
  • Type: Constructs.Construct

The scope in which to define this construct.


ImportToIdRequired
  • Type: string

The construct id used in the generated config for the Group to import.


ImportFromIdRequired
  • Type: string

The id of the existing Group that should be imported.

Refer to the {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#import import section} in the documentation of this resource for the id to use


ProviderOptional
  • Type: HashiCorp.Cdktf.TerraformProvider

? Optional instance of the provider where the Group to import is found.


Properties

Name Type Description
Node Constructs.Node The tree node.
CdktfStack HashiCorp.Cdktf.TerraformStack No description.
Fqn string No description.
FriendlyUniqueId string No description.
TerraformMetaArguments System.Collections.Generic.IDictionary<string, object> No description.
TerraformResourceType string No description.
TerraformGeneratorMetadata HashiCorp.Cdktf.TerraformProviderGeneratorMetadata No description.
Connection object No description.
Count object No description.
DependsOn string[] No description.
ForEach HashiCorp.Cdktf.ITerraformIterator No description.
Lifecycle HashiCorp.Cdktf.TerraformResourceLifecycle No description.
Provider HashiCorp.Cdktf.TerraformProvider No description.
Provisioners object[] No description.
AvatarUrl string No description.
DefaultBranchProtectionDefaults GroupDefaultBranchProtectionDefaultsOutputReference No description.
FullName string No description.
FullPath string No description.
PushRules GroupPushRulesOutputReference No description.
RunnersToken string No description.
WebUrl string No description.
AllowedEmailDomainsListInput string[] No description.
AutoDevopsEnabledInput object No description.
AvatarHashInput string No description.
AvatarInput string No description.
DefaultBranchInput string No description.
DefaultBranchProtectionDefaultsInput GroupDefaultBranchProtectionDefaults No description.
DefaultBranchProtectionInput double No description.
DescriptionInput string No description.
EmailsEnabledInput object No description.
ExtraSharedRunnersMinutesLimitInput double No description.
IdInput string No description.
IpRestrictionRangesInput string[] No description.
LfsEnabledInput object No description.
MembershipLockInput object No description.
MentionsDisabledInput object No description.
NameInput string No description.
ParentIdInput double No description.
PathInput string No description.
PermanentlyRemoveOnDeleteInput object No description.
PreventForkingOutsideGroupInput object No description.
ProjectCreationLevelInput string No description.
PushRulesInput GroupPushRules No description.
RequestAccessEnabledInput object No description.
RequireTwoFactorAuthenticationInput object No description.
SharedRunnersMinutesLimitInput double No description.
SharedRunnersSettingInput string No description.
ShareWithGroupLockInput object No description.
SubgroupCreationLevelInput string No description.
TwoFactorGracePeriodInput double No description.
VisibilityLevelInput string No description.
WikiAccessLevelInput string No description.
AllowedEmailDomainsList string[] No description.
AutoDevopsEnabled object No description.
Avatar string No description.
AvatarHash string No description.
DefaultBranch string No description.
DefaultBranchProtection double No description.
Description string No description.
EmailsEnabled object No description.
ExtraSharedRunnersMinutesLimit double No description.
Id string No description.
IpRestrictionRanges string[] No description.
LfsEnabled object No description.
MembershipLock object No description.
MentionsDisabled object No description.
Name string No description.
ParentId double No description.
Path string No description.
PermanentlyRemoveOnDelete object No description.
PreventForkingOutsideGroup object No description.
ProjectCreationLevel string No description.
RequestAccessEnabled object No description.
RequireTwoFactorAuthentication object No description.
SharedRunnersMinutesLimit double No description.
SharedRunnersSetting string No description.
ShareWithGroupLock object No description.
SubgroupCreationLevel string No description.
TwoFactorGracePeriod double No description.
VisibilityLevel string No description.
WikiAccessLevel string No description.

NodeRequired
public Node Node { get; }
  • Type: Constructs.Node

The tree node.


CdktfStackRequired
public TerraformStack CdktfStack { get; }
  • Type: HashiCorp.Cdktf.TerraformStack

FqnRequired
public string Fqn { get; }
  • Type: string

FriendlyUniqueIdRequired
public string FriendlyUniqueId { get; }
  • Type: string

TerraformMetaArgumentsRequired
public System.Collections.Generic.IDictionary<string, object> TerraformMetaArguments { get; }
  • Type: System.Collections.Generic.IDictionary<string, object>

TerraformResourceTypeRequired
public string TerraformResourceType { get; }
  • Type: string

TerraformGeneratorMetadataOptional
public TerraformProviderGeneratorMetadata TerraformGeneratorMetadata { get; }
  • Type: HashiCorp.Cdktf.TerraformProviderGeneratorMetadata

ConnectionOptional
public object Connection { get; }
  • Type: object

CountOptional
public object Count { get; }
  • Type: object

DependsOnOptional
public string[] DependsOn { get; }
  • Type: string[]

ForEachOptional
public ITerraformIterator ForEach { get; }
  • Type: HashiCorp.Cdktf.ITerraformIterator

LifecycleOptional
public TerraformResourceLifecycle Lifecycle { get; }
  • Type: HashiCorp.Cdktf.TerraformResourceLifecycle

ProviderOptional
public TerraformProvider Provider { get; }
  • Type: HashiCorp.Cdktf.TerraformProvider

ProvisionersOptional
public object[] Provisioners { get; }
  • Type: object[]

AvatarUrlRequired
public string AvatarUrl { get; }
  • Type: string

DefaultBranchProtectionDefaultsRequired
public GroupDefaultBranchProtectionDefaultsOutputReference DefaultBranchProtectionDefaults { get; }

FullNameRequired
public string FullName { get; }
  • Type: string

FullPathRequired
public string FullPath { get; }
  • Type: string

PushRulesRequired
public GroupPushRulesOutputReference PushRules { get; }

RunnersTokenRequired
public string RunnersToken { get; }
  • Type: string

WebUrlRequired
public string WebUrl { get; }
  • Type: string

AllowedEmailDomainsListInputOptional
public string[] AllowedEmailDomainsListInput { get; }
  • Type: string[]

AutoDevopsEnabledInputOptional
public object AutoDevopsEnabledInput { get; }
  • Type: object

AvatarHashInputOptional
public string AvatarHashInput { get; }
  • Type: string

AvatarInputOptional
public string AvatarInput { get; }
  • Type: string

DefaultBranchInputOptional
public string DefaultBranchInput { get; }
  • Type: string

DefaultBranchProtectionDefaultsInputOptional
public GroupDefaultBranchProtectionDefaults DefaultBranchProtectionDefaultsInput { get; }

DefaultBranchProtectionInputOptional
public double DefaultBranchProtectionInput { get; }
  • Type: double

DescriptionInputOptional
public string DescriptionInput { get; }
  • Type: string

EmailsEnabledInputOptional
public object EmailsEnabledInput { get; }
  • Type: object

ExtraSharedRunnersMinutesLimitInputOptional
public double ExtraSharedRunnersMinutesLimitInput { get; }
  • Type: double

IdInputOptional
public string IdInput { get; }
  • Type: string

IpRestrictionRangesInputOptional
public string[] IpRestrictionRangesInput { get; }
  • Type: string[]

LfsEnabledInputOptional
public object LfsEnabledInput { get; }
  • Type: object

MembershipLockInputOptional
public object MembershipLockInput { get; }
  • Type: object

MentionsDisabledInputOptional
public object MentionsDisabledInput { get; }
  • Type: object

NameInputOptional
public string NameInput { get; }
  • Type: string

ParentIdInputOptional
public double ParentIdInput { get; }
  • Type: double

PathInputOptional
public string PathInput { get; }
  • Type: string

PermanentlyRemoveOnDeleteInputOptional
public object PermanentlyRemoveOnDeleteInput { get; }
  • Type: object

PreventForkingOutsideGroupInputOptional
public object PreventForkingOutsideGroupInput { get; }
  • Type: object

ProjectCreationLevelInputOptional
public string ProjectCreationLevelInput { get; }
  • Type: string

PushRulesInputOptional
public GroupPushRules PushRulesInput { get; }

RequestAccessEnabledInputOptional
public object RequestAccessEnabledInput { get; }
  • Type: object

RequireTwoFactorAuthenticationInputOptional
public object RequireTwoFactorAuthenticationInput { get; }
  • Type: object

SharedRunnersMinutesLimitInputOptional
public double SharedRunnersMinutesLimitInput { get; }
  • Type: double

SharedRunnersSettingInputOptional
public string SharedRunnersSettingInput { get; }
  • Type: string

ShareWithGroupLockInputOptional
public object ShareWithGroupLockInput { get; }
  • Type: object

SubgroupCreationLevelInputOptional
public string SubgroupCreationLevelInput { get; }
  • Type: string

TwoFactorGracePeriodInputOptional
public double TwoFactorGracePeriodInput { get; }
  • Type: double

VisibilityLevelInputOptional
public string VisibilityLevelInput { get; }
  • Type: string

WikiAccessLevelInputOptional
public string WikiAccessLevelInput { get; }
  • Type: string

AllowedEmailDomainsListRequired
public string[] AllowedEmailDomainsList { get; }
  • Type: string[]

AutoDevopsEnabledRequired
public object AutoDevopsEnabled { get; }
  • Type: object

AvatarRequired
public string Avatar { get; }
  • Type: string

AvatarHashRequired
public string AvatarHash { get; }
  • Type: string

DefaultBranchRequired
public string DefaultBranch { get; }
  • Type: string

DefaultBranchProtectionRequired
public double DefaultBranchProtection { get; }
  • Type: double

DescriptionRequired
public string Description { get; }
  • Type: string

EmailsEnabledRequired
public object EmailsEnabled { get; }
  • Type: object

ExtraSharedRunnersMinutesLimitRequired
public double ExtraSharedRunnersMinutesLimit { get; }
  • Type: double

IdRequired
public string Id { get; }
  • Type: string

IpRestrictionRangesRequired
public string[] IpRestrictionRanges { get; }
  • Type: string[]

LfsEnabledRequired
public object LfsEnabled { get; }
  • Type: object

MembershipLockRequired
public object MembershipLock { get; }
  • Type: object

MentionsDisabledRequired
public object MentionsDisabled { get; }
  • Type: object

NameRequired
public string Name { get; }
  • Type: string

ParentIdRequired
public double ParentId { get; }
  • Type: double

PathRequired
public string Path { get; }
  • Type: string

PermanentlyRemoveOnDeleteRequired
public object PermanentlyRemoveOnDelete { get; }
  • Type: object

PreventForkingOutsideGroupRequired
public object PreventForkingOutsideGroup { get; }
  • Type: object

ProjectCreationLevelRequired
public string ProjectCreationLevel { get; }
  • Type: string

RequestAccessEnabledRequired
public object RequestAccessEnabled { get; }
  • Type: object

RequireTwoFactorAuthenticationRequired
public object RequireTwoFactorAuthentication { get; }
  • Type: object

SharedRunnersMinutesLimitRequired
public double SharedRunnersMinutesLimit { get; }
  • Type: double

SharedRunnersSettingRequired
public string SharedRunnersSetting { get; }
  • Type: string

ShareWithGroupLockRequired
public object ShareWithGroupLock { get; }
  • Type: object

SubgroupCreationLevelRequired
public string SubgroupCreationLevel { get; }
  • Type: string

TwoFactorGracePeriodRequired
public double TwoFactorGracePeriod { get; }
  • Type: double

VisibilityLevelRequired
public string VisibilityLevel { get; }
  • Type: string

WikiAccessLevelRequired
public string WikiAccessLevel { get; }
  • Type: string

Constants

Name Type Description
TfResourceType string No description.

TfResourceTypeRequired
public string TfResourceType { get; }
  • Type: string

Structs

GroupConfig

Initializer

using HashiCorp.Cdktf.Providers.Gitlab;

new GroupConfig {
    object Connection = null,
    object Count = null,
    ITerraformDependable[] DependsOn = null,
    ITerraformIterator ForEach = null,
    TerraformResourceLifecycle Lifecycle = null,
    TerraformProvider Provider = null,
    object[] Provisioners = null,
    string Name,
    string Path,
    string[] AllowedEmailDomainsList = null,
    object AutoDevopsEnabled = null,
    string Avatar = null,
    string AvatarHash = null,
    string DefaultBranch = null,
    double DefaultBranchProtection = null,
    GroupDefaultBranchProtectionDefaults DefaultBranchProtectionDefaults = null,
    string Description = null,
    object EmailsEnabled = null,
    double ExtraSharedRunnersMinutesLimit = null,
    string Id = null,
    string[] IpRestrictionRanges = null,
    object LfsEnabled = null,
    object MembershipLock = null,
    object MentionsDisabled = null,
    double ParentId = null,
    object PermanentlyRemoveOnDelete = null,
    object PreventForkingOutsideGroup = null,
    string ProjectCreationLevel = null,
    GroupPushRules PushRules = null,
    object RequestAccessEnabled = null,
    object RequireTwoFactorAuthentication = null,
    double SharedRunnersMinutesLimit = null,
    string SharedRunnersSetting = null,
    object ShareWithGroupLock = null,
    string SubgroupCreationLevel = null,
    double TwoFactorGracePeriod = null,
    string VisibilityLevel = null,
    string WikiAccessLevel = null
};

Properties

Name Type Description
Connection object No description.
Count object No description.
DependsOn HashiCorp.Cdktf.ITerraformDependable[] No description.
ForEach HashiCorp.Cdktf.ITerraformIterator No description.
Lifecycle HashiCorp.Cdktf.TerraformResourceLifecycle No description.
Provider HashiCorp.Cdktf.TerraformProvider No description.
Provisioners object[] No description.
Name string The name of the group.
Path string The path of the group.
AllowedEmailDomainsList string[] A list of email address domains to allow group access. Will be concatenated together into a comma separated string.
AutoDevopsEnabled object Default to Auto DevOps pipeline for all projects within this group.
Avatar string A local path to the avatar image to upload. Note: not available for imported resources.
AvatarHash string The hash of the avatar image.
DefaultBranch string Initial default branch name.
DefaultBranchProtection double See https://docs.gitlab.com/ee/api/groups.html#options-for-default_branch_protection. Valid values are: 0, 1, 2, 3, 4.
DefaultBranchProtectionDefaults GroupDefaultBranchProtectionDefaults default_branch_protection_defaults block.
Description string The group's description.
EmailsEnabled object Enable email notifications.
ExtraSharedRunnersMinutesLimit double Can be set by administrators only. Additional CI/CD minutes for this group.
Id string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#id Group#id}.
IpRestrictionRanges string[] A list of IP addresses or subnet masks to restrict group access.
LfsEnabled object Enable/disable Large File Storage (LFS) for the projects in this group.
MembershipLock object Users cannot be added to projects in this group.
MentionsDisabled object Disable the capability of a group from getting mentioned.
ParentId double Id of the parent group (creates a nested group).
PermanentlyRemoveOnDelete object Whether the group should be permanently removed during a delete operation.
PreventForkingOutsideGroup object Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
ProjectCreationLevel string Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer.
PushRules GroupPushRules push_rules block.
RequestAccessEnabled object Allow users to request member access.
RequireTwoFactorAuthentication object Require all users in this group to setup Two-factor authentication.
SharedRunnersMinutesLimit double Can be set by administrators only.
SharedRunnersSetting string Enable or disable shared runners for a group’s subgroups and projects. Valid values are: enabled, disabled_and_overridable, disabled_and_unoverridable, disabled_with_override.
ShareWithGroupLock object Prevent sharing a project with another group within this group.
SubgroupCreationLevel string Allowed to create subgroups. Valid values are: owner, maintainer.
TwoFactorGracePeriod double Defaults to 48. Time before Two-factor authentication is enforced (in hours).
VisibilityLevel string The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
WikiAccessLevel string The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.

ConnectionOptional
public object Connection { get; set; }
  • Type: object

CountOptional
public object Count { get; set; }
  • Type: object

DependsOnOptional
public ITerraformDependable[] DependsOn { get; set; }
  • Type: HashiCorp.Cdktf.ITerraformDependable[]

ForEachOptional
public ITerraformIterator ForEach { get; set; }
  • Type: HashiCorp.Cdktf.ITerraformIterator

LifecycleOptional
public TerraformResourceLifecycle Lifecycle { get; set; }
  • Type: HashiCorp.Cdktf.TerraformResourceLifecycle

ProviderOptional
public TerraformProvider Provider { get; set; }
  • Type: HashiCorp.Cdktf.TerraformProvider

ProvisionersOptional
public object[] Provisioners { get; set; }
  • Type: object[]

NameRequired
public string Name { get; set; }
  • Type: string

The name of the group.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#name Group#name}


PathRequired
public string Path { get; set; }
  • Type: string

The path of the group.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#path Group#path}


AllowedEmailDomainsListOptional
public string[] AllowedEmailDomainsList { get; set; }
  • Type: string[]

A list of email address domains to allow group access. Will be concatenated together into a comma separated string.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#allowed_email_domains_list Group#allowed_email_domains_list}


AutoDevopsEnabledOptional
public object AutoDevopsEnabled { get; set; }
  • Type: object

Default to Auto DevOps pipeline for all projects within this group.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#auto_devops_enabled Group#auto_devops_enabled}


AvatarOptional
public string Avatar { get; set; }
  • Type: string

A local path to the avatar image to upload. Note: not available for imported resources.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#avatar Group#avatar}


AvatarHashOptional
public string AvatarHash { get; set; }
  • Type: string

The hash of the avatar image.

Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#avatar_hash Group#avatar_hash}


DefaultBranchOptional
public string DefaultBranch { get; set; }
  • Type: string

Initial default branch name.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#default_branch Group#default_branch}


DefaultBranchProtectionOptional
public double DefaultBranchProtection { get; set; }
  • Type: double

See https://docs.gitlab.com/ee/api/groups.html#options-for-default_branch_protection. Valid values are: 0, 1, 2, 3, 4.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#default_branch_protection Group#default_branch_protection}


DefaultBranchProtectionDefaultsOptional
public GroupDefaultBranchProtectionDefaults DefaultBranchProtectionDefaults { get; set; }

default_branch_protection_defaults block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#default_branch_protection_defaults Group#default_branch_protection_defaults}


DescriptionOptional
public string Description { get; set; }
  • Type: string

The group's description.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#description Group#description}


EmailsEnabledOptional
public object EmailsEnabled { get; set; }
  • Type: object

Enable email notifications.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#emails_enabled Group#emails_enabled}


ExtraSharedRunnersMinutesLimitOptional
public double ExtraSharedRunnersMinutesLimit { get; set; }
  • Type: double

Can be set by administrators only. Additional CI/CD minutes for this group.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#extra_shared_runners_minutes_limit Group#extra_shared_runners_minutes_limit}


IdOptional
public string Id { get; set; }
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#id Group#id}.

Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.


IpRestrictionRangesOptional
public string[] IpRestrictionRanges { get; set; }
  • Type: string[]

A list of IP addresses or subnet masks to restrict group access.

Will be concatenated together into a comma separated string. Only allowed on top level groups.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#ip_restriction_ranges Group#ip_restriction_ranges}


LfsEnabledOptional
public object LfsEnabled { get; set; }
  • Type: object

Enable/disable Large File Storage (LFS) for the projects in this group.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#lfs_enabled Group#lfs_enabled}


MembershipLockOptional
public object MembershipLock { get; set; }
  • Type: object

Users cannot be added to projects in this group.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#membership_lock Group#membership_lock}


MentionsDisabledOptional
public object MentionsDisabled { get; set; }
  • Type: object

Disable the capability of a group from getting mentioned.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#mentions_disabled Group#mentions_disabled}


ParentIdOptional
public double ParentId { get; set; }
  • Type: double

Id of the parent group (creates a nested group).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#parent_id Group#parent_id}


PermanentlyRemoveOnDeleteOptional
public object PermanentlyRemoveOnDelete { get; set; }
  • Type: object

Whether the group should be permanently removed during a delete operation.

This only works with subgroups. Must be configured via an apply before the destroy is run.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#permanently_remove_on_delete Group#permanently_remove_on_delete}


PreventForkingOutsideGroupOptional
public object PreventForkingOutsideGroup { get; set; }
  • Type: object

Defaults to false. When enabled, users can not fork projects from this group to external namespaces.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#prevent_forking_outside_group Group#prevent_forking_outside_group}


ProjectCreationLevelOptional
public string ProjectCreationLevel { get; set; }
  • Type: string

Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#project_creation_level Group#project_creation_level}


PushRulesOptional
public GroupPushRules PushRules { get; set; }

push_rules block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#push_rules Group#push_rules}


RequestAccessEnabledOptional
public object RequestAccessEnabled { get; set; }
  • Type: object

Allow users to request member access.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#request_access_enabled Group#request_access_enabled}


RequireTwoFactorAuthenticationOptional
public object RequireTwoFactorAuthentication { get; set; }
  • Type: object

Require all users in this group to setup Two-factor authentication.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#require_two_factor_authentication Group#require_two_factor_authentication}


SharedRunnersMinutesLimitOptional
public double SharedRunnersMinutesLimit { get; set; }
  • Type: double

Can be set by administrators only.

Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#shared_runners_minutes_limit Group#shared_runners_minutes_limit}


SharedRunnersSettingOptional
public string SharedRunnersSetting { get; set; }
  • Type: string

Enable or disable shared runners for a group’s subgroups and projects. Valid values are: enabled, disabled_and_overridable, disabled_and_unoverridable, disabled_with_override.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#shared_runners_setting Group#shared_runners_setting}


ShareWithGroupLockOptional
public object ShareWithGroupLock { get; set; }
  • Type: object

Prevent sharing a project with another group within this group.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#share_with_group_lock Group#share_with_group_lock}


SubgroupCreationLevelOptional
public string SubgroupCreationLevel { get; set; }
  • Type: string

Allowed to create subgroups. Valid values are: owner, maintainer.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#subgroup_creation_level Group#subgroup_creation_level}


TwoFactorGracePeriodOptional
public double TwoFactorGracePeriod { get; set; }
  • Type: double

Defaults to 48. Time before Two-factor authentication is enforced (in hours).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#two_factor_grace_period Group#two_factor_grace_period}


VisibilityLevelOptional
public string VisibilityLevel { get; set; }
  • Type: string

The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#visibility_level Group#visibility_level}


WikiAccessLevelOptional
public string WikiAccessLevel { get; set; }
  • Type: string

The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#wiki_access_level Group#wiki_access_level}


GroupDefaultBranchProtectionDefaults

Initializer

using HashiCorp.Cdktf.Providers.Gitlab;

new GroupDefaultBranchProtectionDefaults {
    string[] AllowedToMerge = null,
    string[] AllowedToPush = null,
    object AllowForcePush = null,
    object DeveloperCanInitialPush = null
};

Properties

Name Type Description
AllowedToMerge string[] An array of access levels allowed to merge. Valid values are: developer, maintainer, no one.
AllowedToPush string[] An array of access levels allowed to push. Valid values are: developer, maintainer, no one.
AllowForcePush object Allow force push for all users with push access.
DeveloperCanInitialPush object Allow developers to initial push.

AllowedToMergeOptional
public string[] AllowedToMerge { get; set; }
  • Type: string[]

An array of access levels allowed to merge. Valid values are: developer, maintainer, no one.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#allowed_to_merge Group#allowed_to_merge}


AllowedToPushOptional
public string[] AllowedToPush { get; set; }
  • Type: string[]

An array of access levels allowed to push. Valid values are: developer, maintainer, no one.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#allowed_to_push Group#allowed_to_push}


AllowForcePushOptional
public object AllowForcePush { get; set; }
  • Type: object

Allow force push for all users with push access.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#allow_force_push Group#allow_force_push}


DeveloperCanInitialPushOptional
public object DeveloperCanInitialPush { get; set; }
  • Type: object

Allow developers to initial push.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#developer_can_initial_push Group#developer_can_initial_push}


GroupPushRules

Initializer

using HashiCorp.Cdktf.Providers.Gitlab;

new GroupPushRules {
    string AuthorEmailRegex = null,
    string BranchNameRegex = null,
    object CommitCommitterCheck = null,
    object CommitCommitterNameCheck = null,
    string CommitMessageNegativeRegex = null,
    string CommitMessageRegex = null,
    object DenyDeleteTag = null,
    string FileNameRegex = null,
    double MaxFileSize = null,
    object MemberCheck = null,
    object PreventSecrets = null,
    object RejectNonDcoCommits = null,
    object RejectUnsignedCommits = null
};

Properties

Name Type Description
AuthorEmailRegex string All commit author emails must match this regex, e.g. @my-company.com$.
BranchNameRegex string All branch names must match this regex, e.g. (feature|hotfix)\/*.
CommitCommitterCheck object Only commits pushed using verified emails are allowed.
CommitCommitterNameCheck object Users can only push commits to this repository if the commit author name is consistent with their GitLab account name.
CommitMessageNegativeRegex string No commit message is allowed to match this regex, for example ssh\:\/\/.
CommitMessageRegex string All commit messages must match this regex, e.g. Fixed \d+\..*.
DenyDeleteTag object Deny deleting a tag.
FileNameRegex string Filenames matching the regular expression provided in this attribute are not allowed, for example, (jar|exe)$.
MaxFileSize double Maximum file size (MB) allowed.
MemberCheck object Allows only GitLab users to author commits.
PreventSecrets object GitLab will reject any files that are likely to contain secrets.
RejectNonDcoCommits object Reject commit when it’s not DCO certified.
RejectUnsignedCommits object Only commits signed through GPG are allowed. Note This attribute is only supported in GitLab versions >= 16.4.

AuthorEmailRegexOptional
public string AuthorEmailRegex { get; set; }
  • Type: string

All commit author emails must match this regex, e.g. @my-company.com$.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#author_email_regex Group#author_email_regex}


BranchNameRegexOptional
public string BranchNameRegex { get; set; }
  • Type: string

All branch names must match this regex, e.g. (feature|hotfix)\/*.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#branch_name_regex Group#branch_name_regex}


CommitCommitterCheckOptional
public object CommitCommitterCheck { get; set; }
  • Type: object

Only commits pushed using verified emails are allowed.

Note This attribute is only supported in GitLab versions >= 16.4.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#commit_committer_check Group#commit_committer_check}


CommitCommitterNameCheckOptional
public object CommitCommitterNameCheck { get; set; }
  • Type: object

Users can only push commits to this repository if the commit author name is consistent with their GitLab account name.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#commit_committer_name_check Group#commit_committer_name_check}


CommitMessageNegativeRegexOptional
public string CommitMessageNegativeRegex { get; set; }
  • Type: string

No commit message is allowed to match this regex, for example ssh\:\/\/.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#commit_message_negative_regex Group#commit_message_negative_regex}


CommitMessageRegexOptional
public string CommitMessageRegex { get; set; }
  • Type: string

All commit messages must match this regex, e.g. Fixed \d+\..*.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#commit_message_regex Group#commit_message_regex}


DenyDeleteTagOptional
public object DenyDeleteTag { get; set; }
  • Type: object

Deny deleting a tag.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#deny_delete_tag Group#deny_delete_tag}


FileNameRegexOptional
public string FileNameRegex { get; set; }
  • Type: string

Filenames matching the regular expression provided in this attribute are not allowed, for example, (jar|exe)$.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#file_name_regex Group#file_name_regex}


MaxFileSizeOptional
public double MaxFileSize { get; set; }
  • Type: double

Maximum file size (MB) allowed.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#max_file_size Group#max_file_size}


MemberCheckOptional
public object MemberCheck { get; set; }
  • Type: object

Allows only GitLab users to author commits.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#member_check Group#member_check}


PreventSecretsOptional
public object PreventSecrets { get; set; }
  • Type: object

GitLab will reject any files that are likely to contain secrets.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#prevent_secrets Group#prevent_secrets}


RejectNonDcoCommitsOptional
public object RejectNonDcoCommits { get; set; }
  • Type: object

Reject commit when it’s not DCO certified.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#reject_non_dco_commits Group#reject_non_dco_commits}


RejectUnsignedCommitsOptional
public object RejectUnsignedCommits { get; set; }
  • Type: object

Only commits signed through GPG are allowed. Note This attribute is only supported in GitLab versions >= 16.4.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/17.6.1/docs/resources/group#reject_unsigned_commits Group#reject_unsigned_commits}


Classes

GroupDefaultBranchProtectionDefaultsOutputReference

Initializers

using HashiCorp.Cdktf.Providers.Gitlab;

new GroupDefaultBranchProtectionDefaultsOutputReference(IInterpolatingParent TerraformResource, string TerraformAttribute);
Name Type Description
TerraformResource HashiCorp.Cdktf.IInterpolatingParent The parent resource.
TerraformAttribute string The attribute on the parent resource this class is referencing.

TerraformResourceRequired
  • Type: HashiCorp.Cdktf.IInterpolatingParent

The parent resource.


TerraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
ComputeFqn No description.
GetAnyMapAttribute No description.
GetBooleanAttribute No description.
GetBooleanMapAttribute No description.
GetListAttribute No description.
GetNumberAttribute No description.
GetNumberListAttribute No description.
GetNumberMapAttribute No description.
GetStringAttribute No description.
GetStringMapAttribute No description.
InterpolationForAttribute No description.
Resolve Produce the Token's value at resolution time.
ToString Return a string representation of this resolvable object.
ResetAllowedToMerge No description.
ResetAllowedToPush No description.
ResetAllowForcePush No description.
ResetDeveloperCanInitialPush No description.

ComputeFqn
private string ComputeFqn()
GetAnyMapAttribute
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanAttribute
private IResolvable GetBooleanAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanMapAttribute
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetListAttribute
private string[] GetListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberAttribute
private double GetNumberAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberListAttribute
private double[] GetNumberListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberMapAttribute
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringAttribute
private string GetStringAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringMapAttribute
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

InterpolationForAttribute
private IResolvable InterpolationForAttribute(string Property)
PropertyRequired
  • Type: string

Resolve
private object Resolve(IResolveContext Context)

Produce the Token's value at resolution time.

ContextRequired
  • Type: HashiCorp.Cdktf.IResolveContext

ToString
private string ToString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetAllowedToMerge
private void ResetAllowedToMerge()
ResetAllowedToPush
private void ResetAllowedToPush()
ResetAllowForcePush
private void ResetAllowForcePush()
ResetDeveloperCanInitialPush
private void ResetDeveloperCanInitialPush()

Properties

Name Type Description
CreationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
Fqn string No description.
AllowedToMergeInput string[] No description.
AllowedToPushInput string[] No description.
AllowForcePushInput object No description.
DeveloperCanInitialPushInput object No description.
AllowedToMerge string[] No description.
AllowedToPush string[] No description.
AllowForcePush object No description.
DeveloperCanInitialPush object No description.
InternalValue GroupDefaultBranchProtectionDefaults No description.

CreationStackRequired
public string[] CreationStack { get; }
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


FqnRequired
public string Fqn { get; }
  • Type: string

AllowedToMergeInputOptional
public string[] AllowedToMergeInput { get; }
  • Type: string[]

AllowedToPushInputOptional
public string[] AllowedToPushInput { get; }
  • Type: string[]

AllowForcePushInputOptional
public object AllowForcePushInput { get; }
  • Type: object

DeveloperCanInitialPushInputOptional
public object DeveloperCanInitialPushInput { get; }
  • Type: object

AllowedToMergeRequired
public string[] AllowedToMerge { get; }
  • Type: string[]

AllowedToPushRequired
public string[] AllowedToPush { get; }
  • Type: string[]

AllowForcePushRequired
public object AllowForcePush { get; }
  • Type: object

DeveloperCanInitialPushRequired
public object DeveloperCanInitialPush { get; }
  • Type: object

InternalValueOptional
public GroupDefaultBranchProtectionDefaults InternalValue { get; }

GroupPushRulesOutputReference

Initializers

using HashiCorp.Cdktf.Providers.Gitlab;

new GroupPushRulesOutputReference(IInterpolatingParent TerraformResource, string TerraformAttribute);
Name Type Description
TerraformResource HashiCorp.Cdktf.IInterpolatingParent The parent resource.
TerraformAttribute string The attribute on the parent resource this class is referencing.

TerraformResourceRequired
  • Type: HashiCorp.Cdktf.IInterpolatingParent

The parent resource.


TerraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
ComputeFqn No description.
GetAnyMapAttribute No description.
GetBooleanAttribute No description.
GetBooleanMapAttribute No description.
GetListAttribute No description.
GetNumberAttribute No description.
GetNumberListAttribute No description.
GetNumberMapAttribute No description.
GetStringAttribute No description.
GetStringMapAttribute No description.
InterpolationForAttribute No description.
Resolve Produce the Token's value at resolution time.
ToString Return a string representation of this resolvable object.
ResetAuthorEmailRegex No description.
ResetBranchNameRegex No description.
ResetCommitCommitterCheck No description.
ResetCommitCommitterNameCheck No description.
ResetCommitMessageNegativeRegex No description.
ResetCommitMessageRegex No description.
ResetDenyDeleteTag No description.
ResetFileNameRegex No description.
ResetMaxFileSize No description.
ResetMemberCheck No description.
ResetPreventSecrets No description.
ResetRejectNonDcoCommits No description.
ResetRejectUnsignedCommits No description.

ComputeFqn
private string ComputeFqn()
GetAnyMapAttribute
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanAttribute
private IResolvable GetBooleanAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanMapAttribute
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetListAttribute
private string[] GetListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberAttribute
private double GetNumberAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberListAttribute
private double[] GetNumberListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberMapAttribute
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringAttribute
private string GetStringAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringMapAttribute
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

InterpolationForAttribute
private IResolvable InterpolationForAttribute(string Property)
PropertyRequired
  • Type: string

Resolve
private object Resolve(IResolveContext Context)

Produce the Token's value at resolution time.

ContextRequired
  • Type: HashiCorp.Cdktf.IResolveContext

ToString
private string ToString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

ResetAuthorEmailRegex
private void ResetAuthorEmailRegex()
ResetBranchNameRegex
private void ResetBranchNameRegex()
ResetCommitCommitterCheck
private void ResetCommitCommitterCheck()
ResetCommitCommitterNameCheck
private void ResetCommitCommitterNameCheck()
ResetCommitMessageNegativeRegex
private void ResetCommitMessageNegativeRegex()
ResetCommitMessageRegex
private void ResetCommitMessageRegex()
ResetDenyDeleteTag
private void ResetDenyDeleteTag()
ResetFileNameRegex
private void ResetFileNameRegex()
ResetMaxFileSize
private void ResetMaxFileSize()
ResetMemberCheck
private void ResetMemberCheck()
ResetPreventSecrets
private void ResetPreventSecrets()
ResetRejectNonDcoCommits
private void ResetRejectNonDcoCommits()
ResetRejectUnsignedCommits
private void ResetRejectUnsignedCommits()

Properties

Name Type Description
CreationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
Fqn string No description.
AuthorEmailRegexInput string No description.
BranchNameRegexInput string No description.
CommitCommitterCheckInput object No description.
CommitCommitterNameCheckInput object No description.
CommitMessageNegativeRegexInput string No description.
CommitMessageRegexInput string No description.
DenyDeleteTagInput object No description.
FileNameRegexInput string No description.
MaxFileSizeInput double No description.
MemberCheckInput object No description.
PreventSecretsInput object No description.
RejectNonDcoCommitsInput object No description.
RejectUnsignedCommitsInput object No description.
AuthorEmailRegex string No description.
BranchNameRegex string No description.
CommitCommitterCheck object No description.
CommitCommitterNameCheck object No description.
CommitMessageNegativeRegex string No description.
CommitMessageRegex string No description.
DenyDeleteTag object No description.
FileNameRegex string No description.
MaxFileSize double No description.
MemberCheck object No description.
PreventSecrets object No description.
RejectNonDcoCommits object No description.
RejectUnsignedCommits object No description.
InternalValue GroupPushRules No description.

CreationStackRequired
public string[] CreationStack { get; }
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


FqnRequired
public string Fqn { get; }
  • Type: string

AuthorEmailRegexInputOptional
public string AuthorEmailRegexInput { get; }
  • Type: string

BranchNameRegexInputOptional
public string BranchNameRegexInput { get; }
  • Type: string

CommitCommitterCheckInputOptional
public object CommitCommitterCheckInput { get; }
  • Type: object

CommitCommitterNameCheckInputOptional
public object CommitCommitterNameCheckInput { get; }
  • Type: object

CommitMessageNegativeRegexInputOptional
public string CommitMessageNegativeRegexInput { get; }
  • Type: string

CommitMessageRegexInputOptional
public string CommitMessageRegexInput { get; }
  • Type: string

DenyDeleteTagInputOptional
public object DenyDeleteTagInput { get; }
  • Type: object

FileNameRegexInputOptional
public string FileNameRegexInput { get; }
  • Type: string

MaxFileSizeInputOptional
public double MaxFileSizeInput { get; }
  • Type: double

MemberCheckInputOptional
public object MemberCheckInput { get; }
  • Type: object

PreventSecretsInputOptional
public object PreventSecretsInput { get; }
  • Type: object

RejectNonDcoCommitsInputOptional
public object RejectNonDcoCommitsInput { get; }
  • Type: object

RejectUnsignedCommitsInputOptional
public object RejectUnsignedCommitsInput { get; }
  • Type: object

AuthorEmailRegexRequired
public string AuthorEmailRegex { get; }
  • Type: string

BranchNameRegexRequired
public string BranchNameRegex { get; }
  • Type: string

CommitCommitterCheckRequired
public object CommitCommitterCheck { get; }
  • Type: object

CommitCommitterNameCheckRequired
public object CommitCommitterNameCheck { get; }
  • Type: object

CommitMessageNegativeRegexRequired
public string CommitMessageNegativeRegex { get; }
  • Type: string

CommitMessageRegexRequired
public string CommitMessageRegex { get; }
  • Type: string

DenyDeleteTagRequired
public object DenyDeleteTag { get; }
  • Type: object

FileNameRegexRequired
public string FileNameRegex { get; }
  • Type: string

MaxFileSizeRequired
public double MaxFileSize { get; }
  • Type: double

MemberCheckRequired
public object MemberCheck { get; }
  • Type: object

PreventSecretsRequired
public object PreventSecrets { get; }
  • Type: object

RejectNonDcoCommitsRequired
public object RejectNonDcoCommits { get; }
  • Type: object

RejectUnsignedCommitsRequired
public object RejectUnsignedCommits { get; }
  • Type: object

InternalValueOptional
public GroupPushRules InternalValue { get; }