@Generated(value="software.amazon.awssdk:codegen") public final class ApplicationResourceLifecycleConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApplicationResourceLifecycleConfig.Builder,ApplicationResourceLifecycleConfig>
The resource lifecycle configuration for an application. Defines lifecycle settings for resources that belong to the application, and the service role that Elastic Beanstalk assumes in order to apply lifecycle settings. The version lifecycle configuration defines lifecycle settings for application versions.
Modifier and Type | Class and Description |
---|---|
static interface |
ApplicationResourceLifecycleConfig.Builder |
Modifier and Type | Method and Description |
---|---|
static ApplicationResourceLifecycleConfig.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ApplicationResourceLifecycleConfig.Builder> |
serializableBuilderClass() |
String |
serviceRole()
The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
|
ApplicationResourceLifecycleConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
ApplicationVersionLifecycleConfig |
versionLifecycleConfig()
The application version lifecycle configuration.
|
copy
public 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.
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.
public ApplicationVersionLifecycleConfig versionLifecycleConfig()
The application version lifecycle configuration.
public ApplicationResourceLifecycleConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ApplicationResourceLifecycleConfig.Builder,ApplicationResourceLifecycleConfig>
public static ApplicationResourceLifecycleConfig.Builder builder()
public static Class<? extends ApplicationResourceLifecycleConfig.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.