@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.016Z") @Stability(value=Stable) public interface CfnApplicationProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticbeanstalk.*;
CfnApplicationProps cfnApplicationProps = CfnApplicationProps.builder()
.applicationName("applicationName")
.description("description")
.resourceLifecycleConfig(ApplicationResourceLifecycleConfigProperty.builder()
.serviceRole("serviceRole")
.versionLifecycleConfig(ApplicationVersionLifecycleConfigProperty.builder()
.maxAgeRule(MaxAgeRuleProperty.builder()
.deleteSourceFromS3(false)
.enabled(false)
.maxAgeInDays(123)
.build())
.maxCountRule(MaxCountRuleProperty.builder()
.deleteSourceFromS3(false)
.enabled(false)
.maxCount(123)
.build())
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApplicationProps.Builder
A builder for
CfnApplicationProps |
static class |
CfnApplicationProps.Jsii$Proxy
An implementation for
CfnApplicationProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnApplicationProps.Builder |
builder() |
default String |
getApplicationName()
A name for the Elastic Beanstalk application.
|
default String |
getDescription()
Your description of the application.
|
default Object |
getResourceLifecycleConfig()
Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
|
@Stability(value=Stable) @Nullable default String getApplicationName()
If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name. For more information, see Name Type .
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getResourceLifecycleConfig()
@Stability(value=Stable) static CfnApplicationProps.Builder builder()
CfnApplicationProps.Builder of CfnApplicationPropsCopyright © 2022. All rights reserved.