
from troposphere import Tags

from . import AWSObject
from .validators import boolean


class ResourceShare(AWSObject):
    resource_type = "AWS::RAM::ResourceShare"

    props = {
        "AllowExternalPrincipals": (boolean, False),
        "Name": (str, True),
        "Principals": ([str], False),
        "ResourceArns": ([str], False),
        "Tags": (Tags, False),
    }



from troposphere import Tags

from . import AWSObject
from .validators import boolean


class ResourceShare(AWSObject):
    resource_type = "AWS::RAM::ResourceShare"

    props = {
        "AllowExternalPrincipals": (boolean, False),
        "Name": (str, True),
        "PermissionArns": ([str], False),
        "Principals": ([str], False),
        "ResourceArns": ([str], False),
        "Tags": (Tags, False),
    }

Update RAM per 2021-06-10 changes
Update RAM per 2021-06-10 changes

+ 
  
  from troposphere import Tags
  
  from . import AWSObject
  from .validators import boolean
  
  
  class ResourceShare(AWSObject):
      resource_type = "AWS::RAM::ResourceShare"
  
      props = {
          "AllowExternalPrincipals": (boolean, False),
          "Name": (str, True),
+         "PermissionArns": ([str], False),
          "Principals": ([str], False),
          "ResourceArns": ([str], False),
          "Tags": (Tags, False),
      }
  
Update RAM per 2021-06-10 changes
## Code Before:

from troposphere import Tags

from . import AWSObject
from .validators import boolean


class ResourceShare(AWSObject):
    resource_type = "AWS::RAM::ResourceShare"

    props = {
        "AllowExternalPrincipals": (boolean, False),
        "Name": (str, True),
        "Principals": ([str], False),
        "ResourceArns": ([str], False),
        "Tags": (Tags, False),
    }

## Instruction:
Update RAM per 2021-06-10 changes
## Code After:


from troposphere import Tags

from . import AWSObject
from .validators import boolean


class ResourceShare(AWSObject):
    resource_type = "AWS::RAM::ResourceShare"

    props = {
        "AllowExternalPrincipals": (boolean, False),
        "Name": (str, True),
        "PermissionArns": ([str], False),
        "Principals": ([str], False),
        "ResourceArns": ([str], False),
        "Tags": (Tags, False),
    }
