# Copyright (c) 2012-2017, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.

from . import AWSObject, AWSProperty
from .validators import integer


class Repository(AWSProperty):
    props = {
        "PathComponent": (str, True),
        "RepositoryUrl": (str, True),
    }


class EnvironmentEC2(AWSObject):
    resource_type = "AWS::Cloud9::EnvironmentEC2"

    props = {
        "AutomaticStopTimeMinutes": (integer, False),
        "Description": (str, False),
        "InstanceType": (str, True),
        "Name": (str, False),
        "OwnerArn": (str, False),
        "Repositories": ([Repository], False),
        "SubnetId": (str, False),
    }

@@ -20,10 +20,10 @@
 2-20
+2
 1
-7
 , Ma
@@ -107,16 +107,143 @@
 license.
+%0A#%0A# *** Do not modify - this file is autogenerated ***%0A# Resource specification version: 35.0.0%0A%0A%0Afrom troposphere import Tags
 %0A%0Afrom .
@@ -580,32 +580,72 @@
 nteger, False),%0A
+        %22ConnectionType%22: (str, False),%0A
         %22Descrip
@@ -657,32 +657,65 @@
 : (str, False),%0A
+        %22ImageId%22: (str, False),%0A
         %22Instanc
@@ -838,32 +838,32 @@
 itory%5D, False),%0A
-
         %22SubnetI
@@ -876,18 +876,49 @@
 tr, False),%0A
+        %22Tags%22: (Tags, False),%0A
     %7D%0A

Update Cloud9 per 2021-04-01 changes