Represents a {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group gitlab_group}.
from cdktf_cdktf_provider_gitlab import group
group.Group(
scope: Construct,
id: str,
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection] = None,
count: typing.Union[typing.Union[int, float], TerraformCount] = None,
depends_on: typing.List[ITerraformDependable] = None,
for_each: ITerraformIterator = None,
lifecycle: TerraformResourceLifecycle = None,
provider: TerraformProvider = None,
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]] = None,
name: str,
path: str,
auto_devops_enabled: typing.Union[bool, IResolvable] = None,
avatar: str = None,
avatar_hash: str = None,
default_branch_protection: typing.Union[int, float] = None,
description: str = None,
emails_disabled: typing.Union[bool, IResolvable] = None,
emails_enabled: typing.Union[bool, IResolvable] = None,
extra_shared_runners_minutes_limit: typing.Union[int, float] = None,
id: str = None,
ip_restriction_ranges: typing.List[str] = None,
lfs_enabled: typing.Union[bool, IResolvable] = None,
membership_lock: typing.Union[bool, IResolvable] = None,
mentions_disabled: typing.Union[bool, IResolvable] = None,
parent_id: typing.Union[int, float] = None,
prevent_forking_outside_group: typing.Union[bool, IResolvable] = None,
project_creation_level: str = None,
push_rules: GroupPushRules = None,
request_access_enabled: typing.Union[bool, IResolvable] = None,
require_two_factor_authentication: typing.Union[bool, IResolvable] = None,
shared_runners_minutes_limit: typing.Union[int, float] = None,
shared_runners_setting: str = None,
share_with_group_lock: typing.Union[bool, IResolvable] = None,
subgroup_creation_level: str = None,
two_factor_grace_period: typing.Union[int, float] = None,
visibility_level: str = None,
wiki_access_level: str = None
)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
str |
The scoped construct ID. |
connection |
typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] |
No description. |
count |
typing.Union[typing.Union[int, float], cdktf.TerraformCount] |
No description. |
depends_on |
typing.List[cdktf.ITerraformDependable] |
No description. |
for_each |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] |
No description. |
name |
str |
The name of the group. |
path |
str |
The path of the group. |
auto_devops_enabled |
typing.Union[bool, cdktf.IResolvable] |
Default to Auto DevOps pipeline for all projects within this group. |
avatar |
str |
A local path to the avatar image to upload. Note: not available for imported resources. |
avatar_hash |
str |
The hash of the avatar image. |
default_branch_protection |
typing.Union[int, float] |
See https://docs.gitlab.com/ee/api/groups.html#options-for-default_branch_protection. Valid values are: 0 , 1 , 2 , 3 , 4 . |
description |
str |
The group's description. |
emails_disabled |
typing.Union[bool, cdktf.IResolvable] |
Disable email notifications. |
emails_enabled |
typing.Union[bool, cdktf.IResolvable] |
Enable email notifications. |
extra_shared_runners_minutes_limit |
typing.Union[int, float] |
Can be set by administrators only. Additional CI/CD minutes for this group. |
id |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#id Group#id}. |
ip_restriction_ranges |
typing.List[str] |
A list of IP addresses or subnet masks to restrict group access. |
lfs_enabled |
typing.Union[bool, cdktf.IResolvable] |
Enable/disable Large File Storage (LFS) for the projects in this group. |
membership_lock |
typing.Union[bool, cdktf.IResolvable] |
Users cannot be added to projects in this group. |
mentions_disabled |
typing.Union[bool, cdktf.IResolvable] |
Disable the capability of a group from getting mentioned. |
parent_id |
typing.Union[int, float] |
Id of the parent group (creates a nested group). |
prevent_forking_outside_group |
typing.Union[bool, cdktf.IResolvable] |
Defaults to false. When enabled, users can not fork projects from this group to external namespaces. |
project_creation_level |
str |
Determine if developers can create projects in the group. Valid values are: noone , maintainer , developer . |
push_rules |
GroupPushRules |
push_rules block. |
request_access_enabled |
typing.Union[bool, cdktf.IResolvable] |
Allow users to request member access. |
require_two_factor_authentication |
typing.Union[bool, cdktf.IResolvable] |
Require all users in this group to setup Two-factor authentication. |
shared_runners_minutes_limit |
typing.Union[int, float] |
Can be set by administrators only. |
shared_runners_setting |
str |
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 . |
share_with_group_lock |
typing.Union[bool, cdktf.IResolvable] |
Prevent sharing a project with another group within this group. |
subgroup_creation_level |
str |
Allowed to create subgroups. Valid values are: owner , maintainer . |
two_factor_grace_period |
typing.Union[int, float] |
Defaults to 48. Time before Two-factor authentication is enforced (in hours). |
visibility_level |
str |
The group's visibility. Can be private , internal , or public . Valid values are: private , internal , public . |
wiki_access_level |
str |
The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled , private , enabled . |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: str
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
- Type: typing.List[cdktf.ITerraformDependable]
- Type: cdktf.ITerraformIterator
- Type: cdktf.TerraformResourceLifecycle
- Type: cdktf.TerraformProvider
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
- Type: str
The name of the group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#name Group#name}
- Type: str
The path of the group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#path Group#path}
- Type: typing.Union[bool, cdktf.IResolvable]
Default to Auto DevOps pipeline for all projects within this group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#auto_devops_enabled Group#auto_devops_enabled}
- Type: str
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/16.11.0/docs/resources/group#avatar Group#avatar}
- Type: str
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/16.11.0/docs/resources/group#avatar_hash Group#avatar_hash}
- Type: typing.Union[int, float]
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/16.11.0/docs/resources/group#default_branch_protection Group#default_branch_protection}
- Type: str
The group's description.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#description Group#description}
- Type: typing.Union[bool, cdktf.IResolvable]
Disable email notifications.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#emails_disabled Group#emails_disabled}
- Type: typing.Union[bool, cdktf.IResolvable]
Enable email notifications.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#emails_enabled Group#emails_enabled}
- Type: typing.Union[int, float]
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/16.11.0/docs/resources/group#extra_shared_runners_minutes_limit Group#extra_shared_runners_minutes_limit}
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/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.
- Type: typing.List[str]
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/16.11.0/docs/resources/group#ip_restriction_ranges Group#ip_restriction_ranges}
- Type: typing.Union[bool, cdktf.IResolvable]
Enable/disable Large File Storage (LFS) for the projects in this group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#lfs_enabled Group#lfs_enabled}
- Type: typing.Union[bool, cdktf.IResolvable]
Users cannot be added to projects in this group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#membership_lock Group#membership_lock}
- Type: typing.Union[bool, cdktf.IResolvable]
Disable the capability of a group from getting mentioned.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#mentions_disabled Group#mentions_disabled}
- Type: typing.Union[int, float]
Id of the parent group (creates a nested group).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#parent_id Group#parent_id}
- Type: typing.Union[bool, cdktf.IResolvable]
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/16.11.0/docs/resources/group#prevent_forking_outside_group Group#prevent_forking_outside_group}
- Type: str
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/16.11.0/docs/resources/group#project_creation_level Group#project_creation_level}
- Type: GroupPushRules
push_rules block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#push_rules Group#push_rules}
- Type: typing.Union[bool, cdktf.IResolvable]
Allow users to request member access.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#request_access_enabled Group#request_access_enabled}
- Type: typing.Union[bool, cdktf.IResolvable]
Require all users in this group to setup Two-factor authentication.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#require_two_factor_authentication Group#require_two_factor_authentication}
- Type: typing.Union[int, float]
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/16.11.0/docs/resources/group#shared_runners_minutes_limit Group#shared_runners_minutes_limit}
- Type: str
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/16.11.0/docs/resources/group#shared_runners_setting Group#shared_runners_setting}
- Type: typing.Union[bool, cdktf.IResolvable]
Prevent sharing a project with another group within this group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#share_with_group_lock Group#share_with_group_lock}
- Type: str
Allowed to create subgroups. Valid values are: owner
, maintainer
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#subgroup_creation_level Group#subgroup_creation_level}
- Type: typing.Union[int, float]
Defaults to 48. Time before Two-factor authentication is enforced (in hours).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#two_factor_grace_period Group#two_factor_grace_period}
- Type: str
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/16.11.0/docs/resources/group#visibility_level Group#visibility_level}
- Type: str
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/16.11.0/docs/resources/group#wiki_access_level Group#wiki_access_level}
Name | Description |
---|---|
to_string |
Returns a string representation of this construct. |
add_override |
No description. |
override_logical_id |
Overrides the auto-generated logical ID with a specific ID. |
reset_override_logical_id |
Resets a previously passed logical Id to use the auto-generated logical id again. |
to_hcl_terraform |
No description. |
to_metadata |
No description. |
to_terraform |
Adds this resource to the terraform JSON output. |
add_move_target |
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. |
get_any_map_attribute |
No description. |
get_boolean_attribute |
No description. |
get_boolean_map_attribute |
No description. |
get_list_attribute |
No description. |
get_number_attribute |
No description. |
get_number_list_attribute |
No description. |
get_number_map_attribute |
No description. |
get_string_attribute |
No description. |
get_string_map_attribute |
No description. |
has_resource_move |
No description. |
import_from |
No description. |
interpolation_for_attribute |
No description. |
move_from_id |
Move the resource corresponding to "id" to this resource. |
move_to |
Moves this resource to the target resource given by moveTarget. |
move_to_id |
Moves this resource to the resource corresponding to "id". |
put_push_rules |
No description. |
reset_auto_devops_enabled |
No description. |
reset_avatar |
No description. |
reset_avatar_hash |
No description. |
reset_default_branch_protection |
No description. |
reset_description |
No description. |
reset_emails_disabled |
No description. |
reset_emails_enabled |
No description. |
reset_extra_shared_runners_minutes_limit |
No description. |
reset_id |
No description. |
reset_ip_restriction_ranges |
No description. |
reset_lfs_enabled |
No description. |
reset_membership_lock |
No description. |
reset_mentions_disabled |
No description. |
reset_parent_id |
No description. |
reset_prevent_forking_outside_group |
No description. |
reset_project_creation_level |
No description. |
reset_push_rules |
No description. |
reset_request_access_enabled |
No description. |
reset_require_two_factor_authentication |
No description. |
reset_shared_runners_minutes_limit |
No description. |
reset_shared_runners_setting |
No description. |
reset_share_with_group_lock |
No description. |
reset_subgroup_creation_level |
No description. |
reset_two_factor_grace_period |
No description. |
reset_visibility_level |
No description. |
reset_wiki_access_level |
No description. |
def to_string() -> str
Returns a string representation of this construct.
def add_override(
path: str,
value: typing.Any
) -> None
- Type: str
- Type: typing.Any
def override_logical_id(
new_logical_id: str
) -> None
Overrides the auto-generated logical ID with a specific ID.
- Type: str
The new logical ID to use for this stack element.
def reset_override_logical_id() -> None
Resets a previously passed logical Id to use the auto-generated logical id again.
def to_hcl_terraform() -> typing.Any
def to_metadata() -> typing.Any
def to_terraform() -> typing.Any
Adds this resource to the terraform JSON output.
def add_move_target(
move_target: str
) -> None
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
- Type: str
The string move target that will correspond to this resource.
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def has_resource_move() -> typing.Union[TerraformResourceMoveByTarget, TerraformResourceMoveById]
def import_from(
id: str,
provider: TerraformProvider = None
) -> None
- Type: str
- Type: cdktf.TerraformProvider
def interpolation_for_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def move_from_id(
id: str
) -> None
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.
- Type: str
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
def move_to(
move_target: str,
index: typing.Union[str, typing.Union[int, float]] = None
) -> None
Moves this resource to the target resource given by moveTarget.
- Type: str
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: typing.Union[str, typing.Union[int, float]]
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
def move_to_id(
id: str
) -> None
Moves this resource to the resource corresponding to "id".
- Type: str
Full id of resource to move to, e.g. "aws_s3_bucket.example".
def put_push_rules(
author_email_regex: str = None,
branch_name_regex: str = None,
commit_committer_check: typing.Union[bool, IResolvable] = None,
commit_message_negative_regex: str = None,
commit_message_regex: str = None,
deny_delete_tag: typing.Union[bool, IResolvable] = None,
file_name_regex: str = None,
max_file_size: typing.Union[int, float] = None,
member_check: typing.Union[bool, IResolvable] = None,
prevent_secrets: typing.Union[bool, IResolvable] = None,
reject_unsigned_commits: typing.Union[bool, IResolvable] = None
) -> None
- Type: str
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/16.11.0/docs/resources/group#author_email_regex Group#author_email_regex}
- Type: str
All branch names must match this regex, e.g. (feature|hotfix)\/*
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#branch_name_regex Group#branch_name_regex}
- Type: typing.Union[bool, cdktf.IResolvable]
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/16.11.0/docs/resources/group#commit_committer_check Group#commit_committer_check}
- Type: str
No commit message is allowed to match this regex, for example ssh\:\/\/
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#commit_message_negative_regex Group#commit_message_negative_regex}
- Type: str
All commit messages must match this regex, e.g. Fixed \d+\..*
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#commit_message_regex Group#commit_message_regex}
- Type: typing.Union[bool, cdktf.IResolvable]
Deny deleting a tag.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#deny_delete_tag Group#deny_delete_tag}
- Type: str
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/16.11.0/docs/resources/group#file_name_regex Group#file_name_regex}
- Type: typing.Union[int, float]
Maximum file size (MB) allowed.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#max_file_size Group#max_file_size}
- Type: typing.Union[bool, cdktf.IResolvable]
Allows only GitLab users to author commits.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#member_check Group#member_check}
- Type: typing.Union[bool, cdktf.IResolvable]
GitLab will reject any files that are likely to contain secrets.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#prevent_secrets Group#prevent_secrets}
- Type: typing.Union[bool, cdktf.IResolvable]
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/16.11.0/docs/resources/group#reject_unsigned_commits Group#reject_unsigned_commits}
def reset_auto_devops_enabled() -> None
def reset_avatar() -> None
def reset_avatar_hash() -> None
def reset_default_branch_protection() -> None
def reset_description() -> None
def reset_emails_disabled() -> None
def reset_emails_enabled() -> None
def reset_extra_shared_runners_minutes_limit() -> None
def reset_id() -> None
def reset_ip_restriction_ranges() -> None
def reset_lfs_enabled() -> None
def reset_membership_lock() -> None
def reset_mentions_disabled() -> None
def reset_parent_id() -> None
def reset_prevent_forking_outside_group() -> None
def reset_project_creation_level() -> None
def reset_push_rules() -> None
def reset_request_access_enabled() -> None
def reset_require_two_factor_authentication() -> None
def reset_shared_runners_minutes_limit() -> None
def reset_shared_runners_setting() -> None
def reset_share_with_group_lock() -> None
def reset_subgroup_creation_level() -> None
def reset_two_factor_grace_period() -> None
def reset_visibility_level() -> None
def reset_wiki_access_level() -> None
Name | Description |
---|---|
is_construct |
Checks if x is a construct. |
is_terraform_element |
No description. |
is_terraform_resource |
No description. |
generate_config_for_import |
Generates CDKTF code for importing a Group resource upon running "cdktf plan ". |
from cdktf_cdktf_provider_gitlab import group
group.Group.is_construct(
x: typing.Any
)
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.
- Type: typing.Any
Any object.
from cdktf_cdktf_provider_gitlab import group
group.Group.is_terraform_element(
x: typing.Any
)
- Type: typing.Any
from cdktf_cdktf_provider_gitlab import group
group.Group.is_terraform_resource(
x: typing.Any
)
- Type: typing.Any
from cdktf_cdktf_provider_gitlab import group
group.Group.generate_config_for_import(
scope: Construct,
import_to_id: str,
import_from_id: str,
provider: TerraformProvider = None
)
Generates CDKTF code for importing a Group resource upon running "cdktf plan ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: str
The construct id used in the generated config for the Group to import.
- Type: str
The id of the existing Group that should be imported.
Refer to the {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#import import section} in the documentation of this resource for the id to use
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the Group to import is found.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
cdktf_stack |
cdktf.TerraformStack |
No description. |
fqn |
str |
No description. |
friendly_unique_id |
str |
No description. |
terraform_meta_arguments |
typing.Mapping[typing.Any] |
No description. |
terraform_resource_type |
str |
No description. |
terraform_generator_metadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
connection |
typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] |
No description. |
count |
typing.Union[typing.Union[int, float], cdktf.TerraformCount] |
No description. |
depends_on |
typing.List[str] |
No description. |
for_each |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] |
No description. |
avatar_url |
str |
No description. |
full_name |
str |
No description. |
full_path |
str |
No description. |
push_rules |
GroupPushRulesOutputReference |
No description. |
runners_token |
str |
No description. |
web_url |
str |
No description. |
auto_devops_enabled_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
avatar_hash_input |
str |
No description. |
avatar_input |
str |
No description. |
default_branch_protection_input |
typing.Union[int, float] |
No description. |
description_input |
str |
No description. |
emails_disabled_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
emails_enabled_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
extra_shared_runners_minutes_limit_input |
typing.Union[int, float] |
No description. |
id_input |
str |
No description. |
ip_restriction_ranges_input |
typing.List[str] |
No description. |
lfs_enabled_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
membership_lock_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
mentions_disabled_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
name_input |
str |
No description. |
parent_id_input |
typing.Union[int, float] |
No description. |
path_input |
str |
No description. |
prevent_forking_outside_group_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
project_creation_level_input |
str |
No description. |
push_rules_input |
GroupPushRules |
No description. |
request_access_enabled_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
require_two_factor_authentication_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
shared_runners_minutes_limit_input |
typing.Union[int, float] |
No description. |
shared_runners_setting_input |
str |
No description. |
share_with_group_lock_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
subgroup_creation_level_input |
str |
No description. |
two_factor_grace_period_input |
typing.Union[int, float] |
No description. |
visibility_level_input |
str |
No description. |
wiki_access_level_input |
str |
No description. |
auto_devops_enabled |
typing.Union[bool, cdktf.IResolvable] |
No description. |
avatar |
str |
No description. |
avatar_hash |
str |
No description. |
default_branch_protection |
typing.Union[int, float] |
No description. |
description |
str |
No description. |
emails_disabled |
typing.Union[bool, cdktf.IResolvable] |
No description. |
emails_enabled |
typing.Union[bool, cdktf.IResolvable] |
No description. |
extra_shared_runners_minutes_limit |
typing.Union[int, float] |
No description. |
id |
str |
No description. |
ip_restriction_ranges |
typing.List[str] |
No description. |
lfs_enabled |
typing.Union[bool, cdktf.IResolvable] |
No description. |
membership_lock |
typing.Union[bool, cdktf.IResolvable] |
No description. |
mentions_disabled |
typing.Union[bool, cdktf.IResolvable] |
No description. |
name |
str |
No description. |
parent_id |
typing.Union[int, float] |
No description. |
path |
str |
No description. |
prevent_forking_outside_group |
typing.Union[bool, cdktf.IResolvable] |
No description. |
project_creation_level |
str |
No description. |
request_access_enabled |
typing.Union[bool, cdktf.IResolvable] |
No description. |
require_two_factor_authentication |
typing.Union[bool, cdktf.IResolvable] |
No description. |
shared_runners_minutes_limit |
typing.Union[int, float] |
No description. |
shared_runners_setting |
str |
No description. |
share_with_group_lock |
typing.Union[bool, cdktf.IResolvable] |
No description. |
subgroup_creation_level |
str |
No description. |
two_factor_grace_period |
typing.Union[int, float] |
No description. |
visibility_level |
str |
No description. |
wiki_access_level |
str |
No description. |
node: Node
- Type: constructs.Node
The tree node.
cdktf_stack: TerraformStack
- Type: cdktf.TerraformStack
fqn: str
- Type: str
friendly_unique_id: str
- Type: str
terraform_meta_arguments: typing.Mapping[typing.Any]
- Type: typing.Mapping[typing.Any]
terraform_resource_type: str
- Type: str
terraform_generator_metadata: TerraformProviderGeneratorMetadata
- Type: cdktf.TerraformProviderGeneratorMetadata
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
count: typing.Union[typing.Union[int, float], TerraformCount]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
depends_on: typing.List[str]
- Type: typing.List[str]
for_each: ITerraformIterator
- Type: cdktf.ITerraformIterator
lifecycle: TerraformResourceLifecycle
- Type: cdktf.TerraformResourceLifecycle
provider: TerraformProvider
- Type: cdktf.TerraformProvider
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
avatar_url: str
- Type: str
full_name: str
- Type: str
full_path: str
- Type: str
push_rules: GroupPushRulesOutputReference
runners_token: str
- Type: str
web_url: str
- Type: str
auto_devops_enabled_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
avatar_hash_input: str
- Type: str
avatar_input: str
- Type: str
default_branch_protection_input: typing.Union[int, float]
- Type: typing.Union[int, float]
description_input: str
- Type: str
emails_disabled_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
emails_enabled_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
extra_shared_runners_minutes_limit_input: typing.Union[int, float]
- Type: typing.Union[int, float]
id_input: str
- Type: str
ip_restriction_ranges_input: typing.List[str]
- Type: typing.List[str]
lfs_enabled_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
membership_lock_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
mentions_disabled_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
name_input: str
- Type: str
parent_id_input: typing.Union[int, float]
- Type: typing.Union[int, float]
path_input: str
- Type: str
prevent_forking_outside_group_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
project_creation_level_input: str
- Type: str
push_rules_input: GroupPushRules
- Type: GroupPushRules
request_access_enabled_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
require_two_factor_authentication_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
shared_runners_minutes_limit_input: typing.Union[int, float]
- Type: typing.Union[int, float]
shared_runners_setting_input: str
- Type: str
share_with_group_lock_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
subgroup_creation_level_input: str
- Type: str
two_factor_grace_period_input: typing.Union[int, float]
- Type: typing.Union[int, float]
visibility_level_input: str
- Type: str
wiki_access_level_input: str
- Type: str
auto_devops_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
avatar: str
- Type: str
avatar_hash: str
- Type: str
default_branch_protection: typing.Union[int, float]
- Type: typing.Union[int, float]
description: str
- Type: str
emails_disabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
emails_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
extra_shared_runners_minutes_limit: typing.Union[int, float]
- Type: typing.Union[int, float]
id: str
- Type: str
ip_restriction_ranges: typing.List[str]
- Type: typing.List[str]
lfs_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
membership_lock: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
mentions_disabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
name: str
- Type: str
parent_id: typing.Union[int, float]
- Type: typing.Union[int, float]
path: str
- Type: str
prevent_forking_outside_group: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
project_creation_level: str
- Type: str
request_access_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
require_two_factor_authentication: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
shared_runners_minutes_limit: typing.Union[int, float]
- Type: typing.Union[int, float]
shared_runners_setting: str
- Type: str
share_with_group_lock: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
subgroup_creation_level: str
- Type: str
two_factor_grace_period: typing.Union[int, float]
- Type: typing.Union[int, float]
visibility_level: str
- Type: str
wiki_access_level: str
- Type: str
Name | Type | Description |
---|---|---|
tfResourceType |
str |
No description. |
tfResourceType: str
- Type: str
from cdktf_cdktf_provider_gitlab import group
group.GroupConfig(
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection] = None,
count: typing.Union[typing.Union[int, float], TerraformCount] = None,
depends_on: typing.List[ITerraformDependable] = None,
for_each: ITerraformIterator = None,
lifecycle: TerraformResourceLifecycle = None,
provider: TerraformProvider = None,
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]] = None,
name: str,
path: str,
auto_devops_enabled: typing.Union[bool, IResolvable] = None,
avatar: str = None,
avatar_hash: str = None,
default_branch_protection: typing.Union[int, float] = None,
description: str = None,
emails_disabled: typing.Union[bool, IResolvable] = None,
emails_enabled: typing.Union[bool, IResolvable] = None,
extra_shared_runners_minutes_limit: typing.Union[int, float] = None,
id: str = None,
ip_restriction_ranges: typing.List[str] = None,
lfs_enabled: typing.Union[bool, IResolvable] = None,
membership_lock: typing.Union[bool, IResolvable] = None,
mentions_disabled: typing.Union[bool, IResolvable] = None,
parent_id: typing.Union[int, float] = None,
prevent_forking_outside_group: typing.Union[bool, IResolvable] = None,
project_creation_level: str = None,
push_rules: GroupPushRules = None,
request_access_enabled: typing.Union[bool, IResolvable] = None,
require_two_factor_authentication: typing.Union[bool, IResolvable] = None,
shared_runners_minutes_limit: typing.Union[int, float] = None,
shared_runners_setting: str = None,
share_with_group_lock: typing.Union[bool, IResolvable] = None,
subgroup_creation_level: str = None,
two_factor_grace_period: typing.Union[int, float] = None,
visibility_level: str = None,
wiki_access_level: str = None
)
Name | Type | Description |
---|---|---|
connection |
typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] |
No description. |
count |
typing.Union[typing.Union[int, float], cdktf.TerraformCount] |
No description. |
depends_on |
typing.List[cdktf.ITerraformDependable] |
No description. |
for_each |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] |
No description. |
name |
str |
The name of the group. |
path |
str |
The path of the group. |
auto_devops_enabled |
typing.Union[bool, cdktf.IResolvable] |
Default to Auto DevOps pipeline for all projects within this group. |
avatar |
str |
A local path to the avatar image to upload. Note: not available for imported resources. |
avatar_hash |
str |
The hash of the avatar image. |
default_branch_protection |
typing.Union[int, float] |
See https://docs.gitlab.com/ee/api/groups.html#options-for-default_branch_protection. Valid values are: 0 , 1 , 2 , 3 , 4 . |
description |
str |
The group's description. |
emails_disabled |
typing.Union[bool, cdktf.IResolvable] |
Disable email notifications. |
emails_enabled |
typing.Union[bool, cdktf.IResolvable] |
Enable email notifications. |
extra_shared_runners_minutes_limit |
typing.Union[int, float] |
Can be set by administrators only. Additional CI/CD minutes for this group. |
id |
str |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#id Group#id}. |
ip_restriction_ranges |
typing.List[str] |
A list of IP addresses or subnet masks to restrict group access. |
lfs_enabled |
typing.Union[bool, cdktf.IResolvable] |
Enable/disable Large File Storage (LFS) for the projects in this group. |
membership_lock |
typing.Union[bool, cdktf.IResolvable] |
Users cannot be added to projects in this group. |
mentions_disabled |
typing.Union[bool, cdktf.IResolvable] |
Disable the capability of a group from getting mentioned. |
parent_id |
typing.Union[int, float] |
Id of the parent group (creates a nested group). |
prevent_forking_outside_group |
typing.Union[bool, cdktf.IResolvable] |
Defaults to false. When enabled, users can not fork projects from this group to external namespaces. |
project_creation_level |
str |
Determine if developers can create projects in the group. Valid values are: noone , maintainer , developer . |
push_rules |
GroupPushRules |
push_rules block. |
request_access_enabled |
typing.Union[bool, cdktf.IResolvable] |
Allow users to request member access. |
require_two_factor_authentication |
typing.Union[bool, cdktf.IResolvable] |
Require all users in this group to setup Two-factor authentication. |
shared_runners_minutes_limit |
typing.Union[int, float] |
Can be set by administrators only. |
shared_runners_setting |
str |
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 . |
share_with_group_lock |
typing.Union[bool, cdktf.IResolvable] |
Prevent sharing a project with another group within this group. |
subgroup_creation_level |
str |
Allowed to create subgroups. Valid values are: owner , maintainer . |
two_factor_grace_period |
typing.Union[int, float] |
Defaults to 48. Time before Two-factor authentication is enforced (in hours). |
visibility_level |
str |
The group's visibility. Can be private , internal , or public . Valid values are: private , internal , public . |
wiki_access_level |
str |
The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled , private , enabled . |
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
count: typing.Union[typing.Union[int, float], TerraformCount]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
depends_on: typing.List[ITerraformDependable]
- Type: typing.List[cdktf.ITerraformDependable]
for_each: ITerraformIterator
- Type: cdktf.ITerraformIterator
lifecycle: TerraformResourceLifecycle
- Type: cdktf.TerraformResourceLifecycle
provider: TerraformProvider
- Type: cdktf.TerraformProvider
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
name: str
- Type: str
The name of the group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#name Group#name}
path: str
- Type: str
The path of the group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#path Group#path}
auto_devops_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Default to Auto DevOps pipeline for all projects within this group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#auto_devops_enabled Group#auto_devops_enabled}
avatar: str
- Type: str
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/16.11.0/docs/resources/group#avatar Group#avatar}
avatar_hash: str
- Type: str
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/16.11.0/docs/resources/group#avatar_hash Group#avatar_hash}
default_branch_protection: typing.Union[int, float]
- Type: typing.Union[int, float]
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/16.11.0/docs/resources/group#default_branch_protection Group#default_branch_protection}
description: str
- Type: str
The group's description.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#description Group#description}
emails_disabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Disable email notifications.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#emails_disabled Group#emails_disabled}
emails_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Enable email notifications.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#emails_enabled Group#emails_enabled}
extra_shared_runners_minutes_limit: typing.Union[int, float]
- Type: typing.Union[int, float]
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/16.11.0/docs/resources/group#extra_shared_runners_minutes_limit Group#extra_shared_runners_minutes_limit}
id: str
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/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.
ip_restriction_ranges: typing.List[str]
- Type: typing.List[str]
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/16.11.0/docs/resources/group#ip_restriction_ranges Group#ip_restriction_ranges}
lfs_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Enable/disable Large File Storage (LFS) for the projects in this group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#lfs_enabled Group#lfs_enabled}
membership_lock: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Users cannot be added to projects in this group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#membership_lock Group#membership_lock}
mentions_disabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Disable the capability of a group from getting mentioned.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#mentions_disabled Group#mentions_disabled}
parent_id: typing.Union[int, float]
- Type: typing.Union[int, float]
Id of the parent group (creates a nested group).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#parent_id Group#parent_id}
prevent_forking_outside_group: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
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/16.11.0/docs/resources/group#prevent_forking_outside_group Group#prevent_forking_outside_group}
project_creation_level: str
- Type: str
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/16.11.0/docs/resources/group#project_creation_level Group#project_creation_level}
push_rules: GroupPushRules
- Type: GroupPushRules
push_rules block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#push_rules Group#push_rules}
request_access_enabled: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Allow users to request member access.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#request_access_enabled Group#request_access_enabled}
require_two_factor_authentication: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Require all users in this group to setup Two-factor authentication.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#require_two_factor_authentication Group#require_two_factor_authentication}
shared_runners_minutes_limit: typing.Union[int, float]
- Type: typing.Union[int, float]
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/16.11.0/docs/resources/group#shared_runners_minutes_limit Group#shared_runners_minutes_limit}
shared_runners_setting: str
- Type: str
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/16.11.0/docs/resources/group#shared_runners_setting Group#shared_runners_setting}
share_with_group_lock: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Prevent sharing a project with another group within this group.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#share_with_group_lock Group#share_with_group_lock}
subgroup_creation_level: str
- Type: str
Allowed to create subgroups. Valid values are: owner
, maintainer
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#subgroup_creation_level Group#subgroup_creation_level}
two_factor_grace_period: typing.Union[int, float]
- Type: typing.Union[int, float]
Defaults to 48. Time before Two-factor authentication is enforced (in hours).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#two_factor_grace_period Group#two_factor_grace_period}
visibility_level: str
- Type: str
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/16.11.0/docs/resources/group#visibility_level Group#visibility_level}
wiki_access_level: str
- Type: str
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/16.11.0/docs/resources/group#wiki_access_level Group#wiki_access_level}
from cdktf_cdktf_provider_gitlab import group
group.GroupPushRules(
author_email_regex: str = None,
branch_name_regex: str = None,
commit_committer_check: typing.Union[bool, IResolvable] = None,
commit_message_negative_regex: str = None,
commit_message_regex: str = None,
deny_delete_tag: typing.Union[bool, IResolvable] = None,
file_name_regex: str = None,
max_file_size: typing.Union[int, float] = None,
member_check: typing.Union[bool, IResolvable] = None,
prevent_secrets: typing.Union[bool, IResolvable] = None,
reject_unsigned_commits: typing.Union[bool, IResolvable] = None
)
Name | Type | Description |
---|---|---|
author_email_regex |
str |
All commit author emails must match this regex, e.g. @my-company.com$ . |
branch_name_regex |
str |
All branch names must match this regex, e.g. (feature|hotfix)\/* . |
commit_committer_check |
typing.Union[bool, cdktf.IResolvable] |
Only commits pushed using verified emails are allowed. |
commit_message_negative_regex |
str |
No commit message is allowed to match this regex, for example ssh\:\/\/ . |
commit_message_regex |
str |
All commit messages must match this regex, e.g. Fixed \d+\..* . |
deny_delete_tag |
typing.Union[bool, cdktf.IResolvable] |
Deny deleting a tag. |
file_name_regex |
str |
Filenames matching the regular expression provided in this attribute are not allowed, for example, (jar|exe)$ . |
max_file_size |
typing.Union[int, float] |
Maximum file size (MB) allowed. |
member_check |
typing.Union[bool, cdktf.IResolvable] |
Allows only GitLab users to author commits. |
prevent_secrets |
typing.Union[bool, cdktf.IResolvable] |
GitLab will reject any files that are likely to contain secrets. |
reject_unsigned_commits |
typing.Union[bool, cdktf.IResolvable] |
Only commits signed through GPG are allowed. Note This attribute is only supported in GitLab versions >= 16.4. |
author_email_regex: str
- Type: str
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/16.11.0/docs/resources/group#author_email_regex Group#author_email_regex}
branch_name_regex: str
- Type: str
All branch names must match this regex, e.g. (feature|hotfix)\/*
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#branch_name_regex Group#branch_name_regex}
commit_committer_check: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
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/16.11.0/docs/resources/group#commit_committer_check Group#commit_committer_check}
commit_message_negative_regex: str
- Type: str
No commit message is allowed to match this regex, for example ssh\:\/\/
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#commit_message_negative_regex Group#commit_message_negative_regex}
commit_message_regex: str
- Type: str
All commit messages must match this regex, e.g. Fixed \d+\..*
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#commit_message_regex Group#commit_message_regex}
deny_delete_tag: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Deny deleting a tag.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#deny_delete_tag Group#deny_delete_tag}
file_name_regex: str
- Type: str
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/16.11.0/docs/resources/group#file_name_regex Group#file_name_regex}
max_file_size: typing.Union[int, float]
- Type: typing.Union[int, float]
Maximum file size (MB) allowed.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#max_file_size Group#max_file_size}
member_check: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
Allows only GitLab users to author commits.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#member_check Group#member_check}
prevent_secrets: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
GitLab will reject any files that are likely to contain secrets.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/gitlabhq/gitlab/16.11.0/docs/resources/group#prevent_secrets Group#prevent_secrets}
reject_unsigned_commits: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
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/16.11.0/docs/resources/group#reject_unsigned_commits Group#reject_unsigned_commits}
from cdktf_cdktf_provider_gitlab import group
group.GroupPushRulesOutputReference(
terraform_resource: IInterpolatingParent,
terraform_attribute: str
)
Name | Type | Description |
---|---|---|
terraform_resource |
cdktf.IInterpolatingParent |
The parent resource. |
terraform_attribute |
str |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_author_email_regex() -> None
def reset_branch_name_regex() -> None
def reset_commit_committer_check() -> None
def reset_commit_message_negative_regex() -> None
def reset_commit_message_regex() -> None
def reset_deny_delete_tag() -> None
def reset_file_name_regex() -> None
def reset_max_file_size() -> None
def reset_member_check() -> None
def reset_prevent_secrets() -> None
def reset_reject_unsigned_commits() -> None
Name | Type | Description |
---|---|---|
creation_stack |
typing.List[str] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
str |
No description. |
author_email_regex_input |
str |
No description. |
branch_name_regex_input |
str |
No description. |
commit_committer_check_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
commit_message_negative_regex_input |
str |
No description. |
commit_message_regex_input |
str |
No description. |
deny_delete_tag_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
file_name_regex_input |
str |
No description. |
max_file_size_input |
typing.Union[int, float] |
No description. |
member_check_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
prevent_secrets_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
reject_unsigned_commits_input |
typing.Union[bool, cdktf.IResolvable] |
No description. |
author_email_regex |
str |
No description. |
branch_name_regex |
str |
No description. |
commit_committer_check |
typing.Union[bool, cdktf.IResolvable] |
No description. |
commit_message_negative_regex |
str |
No description. |
commit_message_regex |
str |
No description. |
deny_delete_tag |
typing.Union[bool, cdktf.IResolvable] |
No description. |
file_name_regex |
str |
No description. |
max_file_size |
typing.Union[int, float] |
No description. |
member_check |
typing.Union[bool, cdktf.IResolvable] |
No description. |
prevent_secrets |
typing.Union[bool, cdktf.IResolvable] |
No description. |
reject_unsigned_commits |
typing.Union[bool, cdktf.IResolvable] |
No description. |
internal_value |
GroupPushRules |
No description. |
creation_stack: typing.List[str]
- Type: typing.List[str]
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.
fqn: str
- Type: str
author_email_regex_input: str
- Type: str
branch_name_regex_input: str
- Type: str
commit_committer_check_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
commit_message_negative_regex_input: str
- Type: str
commit_message_regex_input: str
- Type: str
deny_delete_tag_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
file_name_regex_input: str
- Type: str
max_file_size_input: typing.Union[int, float]
- Type: typing.Union[int, float]
member_check_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
prevent_secrets_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
reject_unsigned_commits_input: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
author_email_regex: str
- Type: str
branch_name_regex: str
- Type: str
commit_committer_check: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
commit_message_negative_regex: str
- Type: str
commit_message_regex: str
- Type: str
deny_delete_tag: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
file_name_regex: str
- Type: str
max_file_size: typing.Union[int, float]
- Type: typing.Union[int, float]
member_check: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
prevent_secrets: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
reject_unsigned_commits: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, cdktf.IResolvable]
internal_value: GroupPushRules
- Type: GroupPushRules