Skip to content

MaxCountRule

Source code in docs_src/capo_elastic_beanstalk/types/max_count_rule.py
class MaxCountRule(TypedDict, closed=True):
    enabled: "capo_elastic_beanstalk.types.boxed_boolean.BoxedBoolean"
    """<p>Specify <code>true</code> to apply the rule, or <code>false</code> to disable it.</p>"""
    max_count: NotRequired["capo_elastic_beanstalk.types.boxed_int.BoxedInt"]
    """<p>Specify the maximum number of application versions to retain.</p>"""
    delete_source_from_s3: NotRequired[
        "capo_elastic_beanstalk.types.boxed_boolean.BoxedBoolean"
    ]
    """<p>Set to <code>true</code> to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.</p>"""

delete_source_from_s3 instance-attribute

delete_source_from_s3: NotRequired[BoxedBoolean]

Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.

enabled instance-attribute

enabled: BoxedBoolean

Specify true to apply the rule, or false to disable it.

max_count instance-attribute

max_count: NotRequired[BoxedInt]

Specify the maximum number of application versions to retain.