Class CfnApplication.Builder
java.lang.Object
software.amazon.awscdk.services.elasticbeanstalk.CfnApplication.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication>
- Enclosing class:
CfnApplication
@Stability(Stable)
public static final class CfnApplication.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication>
A fluent builder for
CfnApplication
.-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) A name for the Elastic Beanstalk application.build()
static CfnApplication.Builder
description
(String description) Your description of the application.resourceLifecycleConfig
(IResolvable resourceLifecycleConfig) Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.resourceLifecycleConfig
(CfnApplication.ApplicationResourceLifecycleConfigProperty resourceLifecycleConfig) Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
-
Method Details
-
create
@Stability(Stable) public static CfnApplication.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnApplication.Builder
.
-
applicationName
A name for the Elastic Beanstalk application.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.
- Parameters:
applicationName
- A name for the Elastic Beanstalk application. This parameter is required.- Returns:
this
- See Also:
-
description
Your description of the application.- Parameters:
description
- Your description of the application. This parameter is required.- Returns:
this
- See Also:
-
resourceLifecycleConfig
@Stability(Stable) public CfnApplication.Builder resourceLifecycleConfig(IResolvable resourceLifecycleConfig) Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.- Parameters:
resourceLifecycleConfig
- Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions. This parameter is required.- Returns:
this
- See Also:
-
resourceLifecycleConfig
@Stability(Stable) public CfnApplication.Builder resourceLifecycleConfig(CfnApplication.ApplicationResourceLifecycleConfigProperty resourceLifecycleConfig) Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.- Parameters:
resourceLifecycleConfig
- Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication>
- Returns:
- a newly built instance of
CfnApplication
.
-