Skip to content

/AWS1/CL_APRSOURCECONF

Describes the source deployed to an App Runner service. It can be a code or an image repository.

CONSTRUCTOR

IMPORTING

Optional arguments:

IO_CODEREPOSITORY TYPE REF TO /AWS1/CL_APRCODEREPOSITORY /AWS1/CL_APRCODEREPOSITORY

The description of a source code repository.

You must provide either this member or ImageRepository (but not both).

IO_IMAGEREPOSITORY TYPE REF TO /AWS1/CL_APRIMAGEREPOSITORY /AWS1/CL_APRIMAGEREPOSITORY

The description of a source image repository.

You must provide either this member or CodeRepository (but not both).

IV_AUTODEPLOYMENTSENABLED TYPE /AWS1/APRNULLABLEBOOLEAN /AWS1/APRNULLABLEBOOLEAN

If true, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.

Default: App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets to true in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).

IO_AUTHNTCTNCONFIGURATION TYPE REF TO /AWS1/CL_APRAUTHNTCTNCONF /AWS1/CL_APRAUTHNTCTNCONF

Describes the resources that are needed to authenticate access to some source repositories.


Queryable Attributes

CodeRepository

The description of a source code repository.

You must provide either this member or ImageRepository (but not both).

Accessible with the following methods

Method Description
GET_CODEREPOSITORY() Getter for CODEREPOSITORY

ImageRepository

The description of a source image repository.

You must provide either this member or CodeRepository (but not both).

Accessible with the following methods

Method Description
GET_IMAGEREPOSITORY() Getter for IMAGEREPOSITORY

AutoDeploymentsEnabled

If true, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.

Default: App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets to true in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).

Accessible with the following methods

Method Description
GET_AUTODEPLOYMENTSENABLED() Getter for AUTODEPLOYMENTSENABLED, with configurable default
ASK_AUTODEPLOYMENTSENABLED() Getter for AUTODEPLOYMENTSENABLED w/ exceptions if field has
HAS_AUTODEPLOYMENTSENABLED() Determine if AUTODEPLOYMENTSENABLED has a value

AuthenticationConfiguration

Describes the resources that are needed to authenticate access to some source repositories.

Accessible with the following methods

Method Description
GET_AUTHNTCTNCONFIGURATION() Getter for AUTHENTICATIONCONFIGURATION