Interface CfnApplicationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:16.600Z")
@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 class
A builder forCfnApplicationProps
static final class
An implementation forCfnApplicationProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApplicationProps.Builder
builder()
default String
A name for the Elastic Beanstalk application.default String
Your description of the application.default Object
Specifies 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.- See Also:
-
builder
- Returns:
- a
CfnApplicationProps.Builder
ofCfnApplicationProps
-