Show / Hide Table of Contents

Class CfnApplicationPropsMixin.ApplicationVersionLifecycleConfigProperty

Use the ApplicationVersionLifecycleConfig property type to specify application version lifecycle settings for an AWS Elastic Beanstalk application when defining an AWS::ElasticBeanstalk::Application resource in an AWS CloudFormation template.

Inheritance
object
CfnApplicationPropsMixin.ApplicationVersionLifecycleConfigProperty
Implements
CfnApplicationPropsMixin.IApplicationVersionLifecycleConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.ElasticBeanstalk.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnApplicationPropsMixin.ApplicationVersionLifecycleConfigProperty : CfnApplicationPropsMixin.IApplicationVersionLifecycleConfigProperty
Syntax (vb)
Public Class CfnApplicationPropsMixin.ApplicationVersionLifecycleConfigProperty Implements CfnApplicationPropsMixin.IApplicationVersionLifecycleConfigProperty
Remarks

The application version lifecycle settings for an application. Defines the rules that Elastic Beanstalk applies to an application's versions in order to avoid hitting the per-region limit for application versions.

When Elastic Beanstalk deletes an application version from its database, you can no longer deploy that version to an environment. The source bundle remains in S3 unless you configure the rule to delete it.

ApplicationVersionLifecycleConfig is a property of the ApplicationResourceLifecycleConfig property type.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationversionlifecycleconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.ElasticBeanstalk.Mixins;

             var applicationVersionLifecycleConfigProperty = new ApplicationVersionLifecycleConfigProperty {
                 MaxAgeRule = new MaxAgeRuleProperty {
                     DeleteSourceFromS3 = false,
                     Enabled = false,
                     MaxAgeInDays = 123
                 },
                 MaxCountRule = new MaxCountRuleProperty {
                     DeleteSourceFromS3 = false,
                     Enabled = false,
                     MaxCount = 123
                 }
             };

Synopsis

Constructors

ApplicationVersionLifecycleConfigProperty()

Use the ApplicationVersionLifecycleConfig property type to specify application version lifecycle settings for an AWS Elastic Beanstalk application when defining an AWS::ElasticBeanstalk::Application resource in an AWS CloudFormation template.

Properties

MaxAgeRule

Specify a max age rule to restrict the length of time that application versions are retained for an application.

MaxCountRule

Specify a max count rule to restrict the number of application versions that are retained for an application.

Constructors

ApplicationVersionLifecycleConfigProperty()

Use the ApplicationVersionLifecycleConfig property type to specify application version lifecycle settings for an AWS Elastic Beanstalk application when defining an AWS::ElasticBeanstalk::Application resource in an AWS CloudFormation template.

public ApplicationVersionLifecycleConfigProperty()
Remarks

The application version lifecycle settings for an application. Defines the rules that Elastic Beanstalk applies to an application's versions in order to avoid hitting the per-region limit for application versions.

When Elastic Beanstalk deletes an application version from its database, you can no longer deploy that version to an environment. The source bundle remains in S3 unless you configure the rule to delete it.

ApplicationVersionLifecycleConfig is a property of the ApplicationResourceLifecycleConfig property type.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationversionlifecycleconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.ElasticBeanstalk.Mixins;

             var applicationVersionLifecycleConfigProperty = new ApplicationVersionLifecycleConfigProperty {
                 MaxAgeRule = new MaxAgeRuleProperty {
                     DeleteSourceFromS3 = false,
                     Enabled = false,
                     MaxAgeInDays = 123
                 },
                 MaxCountRule = new MaxCountRuleProperty {
                     DeleteSourceFromS3 = false,
                     Enabled = false,
                     MaxCount = 123
                 }
             };

Properties

MaxAgeRule

Specify a max age rule to restrict the length of time that application versions are retained for an application.

public object? MaxAgeRule { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationversionlifecycleconfig.html#cfn-elasticbeanstalk-application-applicationversionlifecycleconfig-maxagerule

Type union: either IResolvable or CfnApplicationPropsMixin.IMaxAgeRuleProperty

MaxCountRule

Specify a max count rule to restrict the number of application versions that are retained for an application.

public object? MaxCountRule { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationversionlifecycleconfig.html#cfn-elasticbeanstalk-application-applicationversionlifecycleconfig-maxcountrule

Type union: either IResolvable or CfnApplicationPropsMixin.IMaxCountRuleProperty

Implements

CfnApplicationPropsMixin.IApplicationVersionLifecycleConfigProperty
Back to top Generated by DocFX