CfnApplicationProps

class aws_cdk.aws_elasticbeanstalk.CfnApplicationProps(*, application_name=None, description=None, resource_lifecycle_config=None)

Bases: object

Properties for defining a AWS::ElasticBeanstalk::Application.

Parameters
  • application_name (Optional[str]) – AWS::ElasticBeanstalk::Application.ApplicationName.

  • description (Optional[str]) – AWS::ElasticBeanstalk::Application.Description.

  • resource_lifecycle_config (Union[IResolvable, ApplicationResourceLifecycleConfigProperty, None]) – AWS::ElasticBeanstalk::Application.ResourceLifecycleConfig.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk.html

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

AWS::ElasticBeanstalk::Application.ApplicationName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk.html#cfn-elasticbeanstalk-application-name

Return type

Optional[str]

description

AWS::ElasticBeanstalk::Application.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk.html#cfn-elasticbeanstalk-application-description

Return type

Optional[str]

resource_lifecycle_config

AWS::ElasticBeanstalk::Application.ResourceLifecycleConfig.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk.html#cfn-elasticbeanstalk-application-resourcelifecycleconfig

Return type

Union[IResolvable, ApplicationResourceLifecycleConfigProperty, None]