Skip to content

Latest commit

 

History

History
77 lines (46 loc) · 2.4 KB

File metadata and controls

77 lines (46 loc) · 2.4 KB

GitLab::Projects::GroupAccessToProject

Adds a group as a member of a GitLab project

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{
    "Type" : "GitLab::Projects::GroupAccessToProject",
    "Properties" : {
        "ProjectId" : Integer,
        "GroupId" : Integer,
        "AccessLevel" : String
    }
}

YAML

Type: GitLab::Projects::GroupAccessToProject
Properties:
    ProjectId: Integer
    GroupId: Integer
    AccessLevel: String

Properties

ProjectId

ID of the project to which the group should be added

Required: Yes

Type: Integer

Update requires: Replacement

GroupId

ID of the group which should be added to the project

Required: Yes

Type: Integer

Update requires: Replacement

AccessLevel

The access level to grant to this group for the project, e.g. 'guest', 'developer', or 'maintainer'. Note the GitLab API may not allow all values.

Required: Yes

Type: String

Allowed Values: None | Minimal Access | Guest | Reporter | Developer | Maintainer | Owner | Admin

Update requires: No interruption

Return Values

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

MembershipId

Unique identifier for this membership resource, constructed by concatenating the other IDs