Interface CfnApplicationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T13:52:02.416Z")
@Stability(Stable)
public interface CfnApplicationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnApplication.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplicationPropsstatic final classAn implementation forCfnApplicationProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApplicationProps.Builderbuilder()default StringA name for the Elastic Beanstalk application.default StringYour description of the application.default ObjectSpecifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationName
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.
- See Also:
-
getDescription
Your description of the application.- See Also:
-
getResourceLifecycleConfig
Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.Returns union: either
IResolvableorCfnApplication.ApplicationResourceLifecycleConfigProperty- See Also:
-
builder
- Returns:
- a
CfnApplicationProps.BuilderofCfnApplicationProps
-