Creates a Project Access Token in GitLab
To declare this entity in your AWS CloudFormation template, use the following syntax:
{ "Type" : "GitLab::Projects::AccessToken", "Properties" : { "Name" : String, "ProjectId" : Integer, "AccessLevel" : Integer, "Scopes" : [ String, ... ], } }
Type: GitLab::Projects::AccessToken Properties: Name: String ProjectId: Integer AccessLevel: Integer Scopes: - String
The name of the Project Access Token to create.
Required: Yes
Type: String
Maximum Length: 64
Update requires: Replacement
The ID (numeric) of the project for which this Access Token is created. The project should exist and the user creating the Access Token should have rights to do this on this project.
Required: Yes
Type: Integer
Update requires: Replacement
A valid access level. Default value is 40 (Maintainer). Other allowed values are 10 (Guest), 20 (Reporter), and 30 (Developer).
Required: No
Type: Integer
Update requires: No interruption
The scopes this Project Access Token will be used for. The list of supported scopes is in the official GitLab documentation here: https://docs.gitlab.com/ee/user/project/settings/project_access_tokens.html#scopes-for-a-project-access-token .
Required: Yes
Type: List of String
Update requires: Replacement
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.
The ID of the Project Access Token