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();
 
  • Method Details

    • getApplicationName

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable default String getDescription()
      Your description of the application.
    • getResourceLifecycleConfig

      @Stability(Stable) @Nullable default Object getResourceLifecycleConfig()
      Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
    • builder

      @Stability(Stable) static CfnApplicationProps.Builder builder()
      Returns:
      a CfnApplicationProps.Builder of CfnApplicationProps