forked from cloudtools/troposphere
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding AWS::Transfer resources, per 2019 May 23 update (cloudtools#1407)
- Loading branch information
1 parent
3822c5a
commit 0ee81af
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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), | ||
} |