Interface CfnApplicationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.520Z")
@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();
-
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.
-
getDescription
Your description of the application. -
getResourceLifecycleConfig
Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions. -
builder
- Returns:
- a
CfnApplicationProps.BuilderofCfnApplicationProps
-