public static interface ApplicationResourceLifecycleConfig.Builder extends SdkPojo, CopyableBuilder<ApplicationResourceLifecycleConfig.Builder,ApplicationResourceLifecycleConfig>
| Modifier and Type | Method and Description |
|---|---|
ApplicationResourceLifecycleConfig.Builder |
serviceRole(String serviceRole)
The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
|
ApplicationResourceLifecycleConfig.Builder |
versionLifecycleConfig(ApplicationVersionLifecycleConfig versionLifecycleConfig)
The application version lifecycle configuration.
|
default ApplicationResourceLifecycleConfig.Builder |
versionLifecycleConfig(Consumer<ApplicationVersionLifecycleConfig.Builder> versionLifecycleConfig)
The application version lifecycle configuration.
|
copyapplyMutation, buildApplicationResourceLifecycleConfig.Builder serviceRole(String 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.
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.
ApplicationResourceLifecycleConfig.Builder versionLifecycleConfig(ApplicationVersionLifecycleConfig versionLifecycleConfig)
The application version lifecycle configuration.
versionLifecycleConfig - The application version lifecycle configuration.default ApplicationResourceLifecycleConfig.Builder versionLifecycleConfig(Consumer<ApplicationVersionLifecycleConfig.Builder> versionLifecycleConfig)
The application version lifecycle configuration.
This is a convenience that creates an instance of theApplicationVersionLifecycleConfig.Builder
avoiding the need to create one manually via ApplicationVersionLifecycleConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to versionLifecycleConfig(ApplicationVersionLifecycleConfig).versionLifecycleConfig - a consumer that will call methods on ApplicationVersionLifecycleConfig.BuilderversionLifecycleConfig(ApplicationVersionLifecycleConfig)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.