Skip to content

Commit

Permalink
Adding AWS::Transfer resources, per 2019 May 23 update (cloudtools#1407)
Browse files Browse the repository at this point in the history
  • Loading branch information
axelpavageau authored and Dave Masino committed Oct 17, 2019
1 parent 3822c5a commit 0ee81af
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ Currently supported AWS resource types
- AWS::ServiceCatalog
- AWS::ServiceDiscovery
- AWS::StepFunctions
- AWS::Transfer
- AWS::WAF
- AWS::WAFRegional
- AWS::WorkSpaces
Expand Down
57 changes: 57 additions & 0 deletions troposphere/transfer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Copyright (c) 2012-2019, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***
# Resource specification version: 3.3.0


from . import AWSObject
from . import AWSProperty
from troposphere import Tags


class EndpointDetails(AWSProperty):
props = {
'VpcEndpointId': (basestring, True),
}


class IdentityProviderDetails(AWSProperty):
props = {
'InvocationRole': (basestring, True),
'Url': (basestring, True),
}


class Server(AWSObject):
resource_type = "AWS::Transfer::Server"

props = {
'EndpointDetails': (EndpointDetails, False),
'EndpointType': (basestring, False),
'IdentityProviderDetails': (IdentityProviderDetails, False),
'IdentityProviderType': (basestring, False),
'LoggingRole': (basestring, False),
'Tags': (Tags, False),
}


class SshPublicKey(AWSProperty):
props = {
}


class User(AWSObject):
resource_type = "AWS::Transfer::User"

props = {
'HomeDirectory': (basestring, False),
'Policy': (basestring, False),
'Role': (basestring, True),
'ServerId': (basestring, True),
'SshPublicKeys': ([SshPublicKey], False),
'Tags': (Tags, False),
'UserName': (basestring, True),
}

0 comments on commit 0ee81af

Please sign in to comment.