Skip to content

/AWS1/CL_EBNAPPLICATIONRESRC00

The resource lifecycle configuration for an application. Defines lifecycle settings for resources that belong to the application, and the service role that AWS Elastic Beanstalk assumes in order to apply lifecycle settings. The version lifecycle configuration defines lifecycle settings for application versions.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_SERVICEROLE TYPE /AWS1/EBNSTRING /AWS1/EBNSTRING

The ARN of an IAM service role that Elastic Beanstalk has permission to assume.

The ServiceRole property is required the first time that you provide a VersionLifecycleConfig for the application in one of the supporting calls (CreateApplication or UpdateApplicationResourceLifecycle). After you provide it once, in either one of the calls, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again in subsequent UpdateApplicationResourceLifecycle calls. You can, however, specify it in subsequent calls to change the Service Role to another value.

IO_VERSIONLIFECYCLECONFIG TYPE REF TO /AWS1/CL_EBNAPPLICATIONVRSLC00 /AWS1/CL_EBNAPPLICATIONVRSLC00

Defines lifecycle settings for application versions.


Queryable Attributes

ServiceRole

The ARN of an IAM service role that Elastic Beanstalk has permission to assume.

The ServiceRole property is required the first time that you provide a VersionLifecycleConfig for the application in one of the supporting calls (CreateApplication or UpdateApplicationResourceLifecycle). After you provide it once, in either one of the calls, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again in subsequent UpdateApplicationResourceLifecycle calls. You can, however, specify it in subsequent calls to change the Service Role to another value.

Accessible with the following methods

Method Description
GET_SERVICEROLE() Getter for SERVICEROLE, with configurable default
ASK_SERVICEROLE() Getter for SERVICEROLE w/ exceptions if field has no value
HAS_SERVICEROLE() Determine if SERVICEROLE has a value

VersionLifecycleConfig

Defines lifecycle settings for application versions.

Accessible with the following methods

Method Description
GET_VERSIONLIFECYCLECONFIG() Getter for VERSIONLIFECYCLECONFIG