Interface ICfnApplicationProps
Properties for defining a CfnApplication
.
Namespace: Amazon.CDK.AWS.ElasticBeanstalk
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnApplicationProps
Syntax (vb)
Public Interface ICfnApplicationProps
Remarks
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.AWS.ElasticBeanstalk;
var cfnApplicationProps = new CfnApplicationProps {
ApplicationName = "applicationName",
Description = "description",
ResourceLifecycleConfig = new ApplicationResourceLifecycleConfigProperty {
ServiceRole = "serviceRole",
VersionLifecycleConfig = new ApplicationVersionLifecycleConfigProperty {
MaxAgeRule = new MaxAgeRuleProperty {
DeleteSourceFromS3 = false,
Enabled = false,
MaxAgeInDays = 123
},
MaxCountRule = new MaxCountRuleProperty {
DeleteSourceFromS3 = false,
Enabled = false,
MaxCount = 123
}
}
}
};
Synopsis
Properties
ApplicationName | A name for the Elastic Beanstalk application. |
Description | Your description of the application. |
ResourceLifecycleConfig | Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions. |
Properties
ApplicationName
A name for the Elastic Beanstalk application.
virtual string ApplicationName { get; }
Property Value
System.String
Remarks
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.
Description
Your description of the application.
virtual string Description { get; }
Property Value
System.String
Remarks
ResourceLifecycleConfig
Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
virtual object ResourceLifecycleConfig { get; }
Property Value
System.Object