Class ApplicationAppversionLifecycle


  • public final class ApplicationAppversionLifecycle
    extends java.lang.Object
    • Method Detail

      • deleteSourceFromS3

        public java.util.Optional<java.lang.Boolean> deleteSourceFromS3()
        Returns:
        Set to `true` to delete a version's source bundle from S3 when the application version is deleted.
      • maxAgeInDays

        public java.util.Optional<java.lang.Integer> maxAgeInDays()
        Returns:
        The number of days to retain an application version ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).
      • maxCount

        public java.util.Optional<java.lang.Integer> maxCount()
        Returns:
        The maximum number of application versions to retain ('max_age_in_days' and 'max_count' cannot be enabled simultaneously.).
      • serviceRole

        public java.lang.String serviceRole()
        Returns:
        The ARN of an IAM service role under which the application version is deleted. Elastic Beanstalk must have permission to assume this role.