/AWS1/CL_SGMGITCONFIG¶
Specifies configuration details for a Git repository in your Amazon Web Services account.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_repositoryurl TYPE /AWS1/SGMGITCONFIGURL /AWS1/SGMGITCONFIGURL¶
The URL where the Git repository is located.
Optional arguments:¶
iv_branch TYPE /AWS1/SGMBRANCH /AWS1/SGMBRANCH¶
The default branch for the Git repository.
iv_secretarn TYPE /AWS1/SGMSECRETARN /AWS1/SGMSECRETARN¶
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of
AWSCURRENTand must be in the following format:
{"username": UserName, "password": Password}
Queryable Attributes¶
RepositoryUrl¶
The URL where the Git repository is located.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REPOSITORYURL() |
Getter for REPOSITORYURL, with configurable default |
ASK_REPOSITORYURL() |
Getter for REPOSITORYURL w/ exceptions if field has no value |
HAS_REPOSITORYURL() |
Determine if REPOSITORYURL has a value |
Branch¶
The default branch for the Git repository.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BRANCH() |
Getter for BRANCH, with configurable default |
ASK_BRANCH() |
Getter for BRANCH w/ exceptions if field has no value |
HAS_BRANCH() |
Determine if BRANCH has a value |
SecretArn¶
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of
AWSCURRENTand must be in the following format:
{"username": UserName, "password": Password}
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SECRETARN() |
Getter for SECRETARN, with configurable default |
ASK_SECRETARN() |
Getter for SECRETARN w/ exceptions if field has no value |
HAS_SECRETARN() |
Determine if SECRETARN has a value |