prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  implement AWS::Synthetics changes from May 14, 2020 update
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `troposphere/synthetics.py`
  Content:
  ```
  1 # Copyright (c) 2020, Mark Peek <mark@peek.org>
  2 # All rights reserved.
  3 #
  4 # See LICENSE file for full license.
  5 
  6 from . import AWSObject, AWSProperty, Tags
  7 from .validators import (integer, boolean, canary_runtime_version)
  8 
  9 
  10 class VPCConfig(AWSProperty):
  11     props = {
  12         'SecurityGroupIds': ([basestring], True),
  13         'SubnetIds': ([basestring], True),
  14         'VpcId': (basestring, False),
  15     }
  16 
  17 
  18 class Schedule(AWSProperty):
  19     props = {
  20         'DurationInSeconds': (basestring, True),
  21         'Expression': (basestring, True),
  22     }
  23 
  24 
  25 class RunConfig(AWSProperty):
  26     props = {
  27         'TimeoutInSeconds': (integer, True),
  28     }
  29 
  30 
  31 class Code(AWSProperty):
  32     props = {
  33         'Handler': (basestring, False),
  34         'S3Bucket': (basestring, False),
  35         'S3Key': (basestring, False),
  36         'S3ObjectVersion': (basestring, False),
  37         'Script': (basestring, False),
  38     }
  39 
  40 
  41 class Canary(AWSObject):
  42     resource_type = "AWS::Synthetics::Canary"
  43 
  44     props = {
  45         'ArtifactS3Location': (basestring, True),
  46         'Code': (Code, True),
  47         'ExecutionRoleArn': (basestring, True),
  48         'FailureRetentionPeriod': (integer, False),
  49         'Name': (basestring, True),
  50         'RunConfig': (RunConfig, False),
  51         'RuntimeVersion': (canary_runtime_version, True),
  52         'Schedule': (Schedule, True),
  53         'StartCanaryAfterCreation': (boolean, True),
  54         'SuccessRetentionPeriod': (integer, False),
  55         'Tags': (Tags, False),
  56         'VPCConfig': (VPCConfig, False),
  57     }
  58
  ```
  --- 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/troposphere/synthetics.py b/troposphere/synthetics.py
  --- a/troposphere/synthetics.py
  +++ b/troposphere/synthetics.py
  @@ -47,7 +47,7 @@
           'ExecutionRoleArn': (basestring, True),
           'FailureRetentionPeriod': (integer, False),
           'Name': (basestring, True),
  -        'RunConfig': (RunConfig, False),
  +        'RunConfig': (RunConfig, True),
           'RuntimeVersion': (canary_runtime_version, True),
           'Schedule': (Schedule, True),
           'StartCanaryAfterCreation': (boolean, True),
  
verification_info: {"golden_diff": "diff --git a/troposphere/synthetics.py b/troposphere/synthetics.py\n--- a/troposphere/synthetics.py\n+++ b/troposphere/synthetics.py\n@@ -47,7 +47,7 @@\n         'ExecutionRoleArn': (basestring, True),\n         'FailureRetentionPeriod': (integer, False),\n         'Name': (basestring, True),\n-        'RunConfig': (RunConfig, False),\n+        'RunConfig': (RunConfig, True),\n         'RuntimeVersion': (canary_runtime_version, True),\n         'Schedule': (Schedule, True),\n         'StartCanaryAfterCreation': (boolean, True),\n", "issue": "implement AWS::Synthetics changes from May 14, 2020 update\n\n", "before_files": [{"content": "# Copyright (c) 2020, Mark Peek <mark@peek.org>\n# All rights reserved.\n#\n# See LICENSE file for full license.\n\nfrom . import AWSObject, AWSProperty, Tags\nfrom .validators import (integer, boolean, canary_runtime_version)\n\n\nclass VPCConfig(AWSProperty):\n    props = {\n        'SecurityGroupIds': ([basestring], True),\n        'SubnetIds': ([basestring], True),\n        'VpcId': (basestring, False),\n    }\n\n\nclass Schedule(AWSProperty):\n    props = {\n        'DurationInSeconds': (basestring, True),\n        'Expression': (basestring, True),\n    }\n\n\nclass RunConfig(AWSProperty):\n    props = {\n        'TimeoutInSeconds': (integer, True),\n    }\n\n\nclass Code(AWSProperty):\n    props = {\n        'Handler': (basestring, False),\n        'S3Bucket': (basestring, False),\n        'S3Key': (basestring, False),\n        'S3ObjectVersion': (basestring, False),\n        'Script': (basestring, False),\n    }\n\n\nclass Canary(AWSObject):\n    resource_type = \"AWS::Synthetics::Canary\"\n\n    props = {\n        'ArtifactS3Location': (basestring, True),\n        'Code': (Code, True),\n        'ExecutionRoleArn': (basestring, True),\n        'FailureRetentionPeriod': (integer, False),\n        'Name': (basestring, True),\n        'RunConfig': (RunConfig, False),\n        'RuntimeVersion': (canary_runtime_version, True),\n        'Schedule': (Schedule, True),\n        'StartCanaryAfterCreation': (boolean, True),\n        'SuccessRetentionPeriod': (integer, False),\n        'Tags': (Tags, False),\n        'VPCConfig': (VPCConfig, False),\n    }\n", "path": "troposphere/synthetics.py"}], "after_files": [{"content": "# Copyright (c) 2020, Mark Peek <mark@peek.org>\n# All rights reserved.\n#\n# See LICENSE file for full license.\n\nfrom . import AWSObject, AWSProperty, Tags\nfrom .validators import (integer, boolean, canary_runtime_version)\n\n\nclass VPCConfig(AWSProperty):\n    props = {\n        'SecurityGroupIds': ([basestring], True),\n        'SubnetIds': ([basestring], True),\n        'VpcId': (basestring, False),\n    }\n\n\nclass Schedule(AWSProperty):\n    props = {\n        'DurationInSeconds': (basestring, True),\n        'Expression': (basestring, True),\n    }\n\n\nclass RunConfig(AWSProperty):\n    props = {\n        'TimeoutInSeconds': (integer, True),\n    }\n\n\nclass Code(AWSProperty):\n    props = {\n        'Handler': (basestring, False),\n        'S3Bucket': (basestring, False),\n        'S3Key': (basestring, False),\n        'S3ObjectVersion': (basestring, False),\n        'Script': (basestring, False),\n    }\n\n\nclass Canary(AWSObject):\n    resource_type = \"AWS::Synthetics::Canary\"\n\n    props = {\n        'ArtifactS3Location': (basestring, True),\n        'Code': (Code, True),\n        'ExecutionRoleArn': (basestring, True),\n        'FailureRetentionPeriod': (integer, False),\n        'Name': (basestring, True),\n        'RunConfig': (RunConfig, True),\n        'RuntimeVersion': (canary_runtime_version, True),\n        'Schedule': (Schedule, True),\n        'StartCanaryAfterCreation': (boolean, True),\n        'SuccessRetentionPeriod': (integer, False),\n        'Tags': (Tags, False),\n        'VPCConfig': (VPCConfig, False),\n    }\n", "path": "troposphere/synthetics.py"}]}