Skip to content

/AWS1/CL_EBNSRCBUILDINFMTION

Location of the source code for an application version.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_SOURCETYPE TYPE /AWS1/EBNSOURCETYPE /AWS1/EBNSOURCETYPE

The type of repository.

  • Git

  • Zip

IV_SOURCEREPOSITORY TYPE /AWS1/EBNSOURCEREPOSITORY /AWS1/EBNSOURCEREPOSITORY

Location where the repository is stored.

  • CodeCommit

  • S3

IV_SOURCELOCATION TYPE /AWS1/EBNSOURCELOCATION /AWS1/EBNSOURCELOCATION

The location of the source code, as a formatted string, depending on the value of SourceRepository

  • For CodeCommit, the format is the repository name and commit ID, separated by a forward slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.

  • For S3, the format is the S3 bucket name and object key, separated by a forward slash. For example, my-s3-bucket/Folders/my-source-file.


Queryable Attributes

SourceType

The type of repository.

  • Git

  • Zip

Accessible with the following methods

Method Description
GET_SOURCETYPE() Getter for SOURCETYPE, with configurable default
ASK_SOURCETYPE() Getter for SOURCETYPE w/ exceptions if field has no value
HAS_SOURCETYPE() Determine if SOURCETYPE has a value

SourceRepository

Location where the repository is stored.

  • CodeCommit

  • S3

Accessible with the following methods

Method Description
GET_SOURCEREPOSITORY() Getter for SOURCEREPOSITORY, with configurable default
ASK_SOURCEREPOSITORY() Getter for SOURCEREPOSITORY w/ exceptions if field has no va
HAS_SOURCEREPOSITORY() Determine if SOURCEREPOSITORY has a value

SourceLocation

The location of the source code, as a formatted string, depending on the value of SourceRepository

  • For CodeCommit, the format is the repository name and commit ID, separated by a forward slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.

  • For S3, the format is the S3 bucket name and object key, separated by a forward slash. For example, my-s3-bucket/Folders/my-source-file.

Accessible with the following methods

Method Description
GET_SOURCELOCATION() Getter for SOURCELOCATION, with configurable default
ASK_SOURCELOCATION() Getter for SOURCELOCATION w/ exceptions if field has no valu
HAS_SOURCELOCATION() Determine if SOURCELOCATION has a value