CfnApplicationProps
- class aws_cdk.aws_elasticbeanstalk.CfnApplicationProps(*, application_name=None, description=None, resource_lifecycle_config=None)
- Bases: - object- Properties for defining a - CfnApplication.- Parameters:
- application_name ( - Optional[- str]) – 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 . .. epigraph:: 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.
- description ( - Optional[- str]) – Your description of the application.
- resource_lifecycle_config ( - Union[- ApplicationResourceLifecycleConfigProperty,- Dict[- str,- Any],- IResolvable,- None]) – Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
 
- Link:
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_elasticbeanstalk as elasticbeanstalk cfn_application_props = elasticbeanstalk.CfnApplicationProps( application_name="applicationName", description="description", resource_lifecycle_config=elasticbeanstalk.CfnApplication.ApplicationResourceLifecycleConfigProperty( service_role="serviceRole", version_lifecycle_config=elasticbeanstalk.CfnApplication.ApplicationVersionLifecycleConfigProperty( max_age_rule=elasticbeanstalk.CfnApplication.MaxAgeRuleProperty( delete_source_from_s3=False, enabled=False, max_age_in_days=123 ), max_count_rule=elasticbeanstalk.CfnApplication.MaxCountRuleProperty( delete_source_from_s3=False, enabled=False, max_count=123 ) ) ) ) - Attributes - application_name
- 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 . .. epigraph: - 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. 
 - description
- Your description of the application. 
 - resource_lifecycle_config
- Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.