prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  AWS::AutoScaling::AutoScalingGroup MaxInstanceLifetime Validation
  *cfn-lint version: 0.29.2*
  
  *Description of issue.*
  
  When using the parameter `MaxInstanceLifetime` for `AWS::AutoScaling::AutoScalingGroup` we are hit with the following lint error:
  
  ```
  $ cfn-lint templates/proj/rgs/rgs_autoscale_stretch_elb.yml
  E3002 Invalid Property Resources/autoscalegroup/Properties/MaxInstanceLifetime
  templates/proj/rgs/rgs_autoscale_stretch_elb.yml:194:7
  ```
  
  The template which leads to the error:
  
  ```
  [...]
  
    autoscalegroup:
      Type: AWS::AutoScaling::AutoScalingGroup
      Properties:
        AvailabilityZones: !Ref AvailabilityZones
        Cooldown: '300'
        HealthCheckGracePeriod: !Ref GracePeriod
        HealthCheckType: ELB
        MaxSize: !Ref MaxSize
        MinSize: !Ref MinSize
        MaxInstanceLifetime: !Ref MaxInstanceLifetime
        VPCZoneIdentifier: !Ref EC2SubnetIDs
        TargetGroupARNs:
          - !Ref elbtargetgroup
        LaunchConfigurationName: !Ref launchconfiguration
        Tags: [...]
          PropagateAtLaunch: true
        TerminationPolicies:
          - Default
  
  [..]
  ```
  
  It seems the parameter is currently not supported by cfn-lint, would be cool to see support for it.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `src/cfnlint/version.py`
  Content:
  ```
  1 """
  2 Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  3 SPDX-License-Identifier: MIT-0
  4 """
  5 
  6 __version__ = '0.29.3'
  7
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/src/cfnlint/version.py b/src/cfnlint/version.py
  --- a/src/cfnlint/version.py
  +++ b/src/cfnlint/version.py
  @@ -3,4 +3,4 @@
   SPDX-License-Identifier: MIT-0
   """
   
  -__version__ = '0.29.3'
  +__version__ = '0.29.4'
  
verification_info: {"golden_diff": "diff --git a/src/cfnlint/version.py b/src/cfnlint/version.py\n--- a/src/cfnlint/version.py\n+++ b/src/cfnlint/version.py\n@@ -3,4 +3,4 @@\n SPDX-License-Identifier: MIT-0\n \"\"\"\n \n-__version__ = '0.29.3'\n+__version__ = '0.29.4'\n", "issue": "AWS::AutoScaling::AutoScalingGroup MaxInstanceLifetime Validation\n*cfn-lint version: 0.29.2*\r\n\r\n*Description of issue.*\r\n\r\nWhen using the parameter `MaxInstanceLifetime` for `AWS::AutoScaling::AutoScalingGroup` we are hit with the following lint error:\r\n\r\n```\r\n$ cfn-lint templates/proj/rgs/rgs_autoscale_stretch_elb.yml\r\nE3002 Invalid Property Resources/autoscalegroup/Properties/MaxInstanceLifetime\r\ntemplates/proj/rgs/rgs_autoscale_stretch_elb.yml:194:7\r\n```\r\n\r\nThe template which leads to the error:\r\n\r\n```\r\n[...]\r\n\r\n  autoscalegroup:\r\n    Type: AWS::AutoScaling::AutoScalingGroup\r\n    Properties:\r\n      AvailabilityZones: !Ref AvailabilityZones\r\n      Cooldown: '300'\r\n      HealthCheckGracePeriod: !Ref GracePeriod\r\n      HealthCheckType: ELB\r\n      MaxSize: !Ref MaxSize\r\n      MinSize: !Ref MinSize\r\n      MaxInstanceLifetime: !Ref MaxInstanceLifetime\r\n      VPCZoneIdentifier: !Ref EC2SubnetIDs\r\n      TargetGroupARNs:\r\n        - !Ref elbtargetgroup\r\n      LaunchConfigurationName: !Ref launchconfiguration\r\n      Tags: [...]\r\n        PropagateAtLaunch: true\r\n      TerminationPolicies:\r\n        - Default\r\n\r\n[..]\r\n```\r\n\r\nIt seems the parameter is currently not supported by cfn-lint, would be cool to see support for it.\n", "before_files": [{"content": "\"\"\"\nCopyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\nSPDX-License-Identifier: MIT-0\n\"\"\"\n\n__version__ = '0.29.3'\n", "path": "src/cfnlint/version.py"}], "after_files": [{"content": "\"\"\"\nCopyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\nSPDX-License-Identifier: MIT-0\n\"\"\"\n\n__version__ = '0.29.4'\n", "path": "src/cfnlint/version.py"}]}