ApplicationAppversionLifecycle constructor
const
ApplicationAppversionLifecycle({})
Creates a new ApplicationAppversionLifecycle.
deleteSourceFromS3 Set to true to delete a version's source bundle from S3 when the application version is deleted.
maxAgeInDays The number of days to retain an application version ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).
maxCount The maximum number of application versions to retain ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).
serviceRole The ARN of an IAM service role under which the application version is deleted. Elastic Beanstalk must have permission to assume this role.
Implementation
const ApplicationAppversionLifecycle({
this.deleteSourceFromS3,
this.maxAgeInDays,
this.maxCount,
required this.serviceRole,
});