Skip to content

ApplicationResourceLifecycleConfig

Source code in docs_src/capo_elastic_beanstalk/types/application_resource_lifecycle_config.py
class ApplicationResourceLifecycleConfig(TypedDict, closed=True):
    service_role: NotRequired["capo_elastic_beanstalk.types.string.String"]
    """<p>The ARN of an IAM service role that Elastic Beanstalk has permission to assume.</p> <p>The <code>ServiceRole</code> property is required the first time that you provide a <code>VersionLifecycleConfig</code> for the application in one of the supporting calls (<code>CreateApplication</code> or <code>UpdateApplicationResourceLifecycle</code>). 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 <code>UpdateApplicationResourceLifecycle</code> calls. You can, however, specify it in subsequent calls to change the Service Role to another value.</p>"""
    version_lifecycle_config: NotRequired[
        "capo_elastic_beanstalk.types.application_version_lifecycle_config.ApplicationVersionLifecycleConfig"
    ]
    """<p>Defines lifecycle settings for application versions.</p>"""

service_role instance-attribute

service_role: NotRequired[String]

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.

version_lifecycle_config instance-attribute

version_lifecycle_config: NotRequired[ApplicationVersionLifecycleConfig]

Defines lifecycle settings for application versions.