Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding misc Lakeformation properties, per Jan 16 2020 update #1589

Merged
merged 1 commit into from
Feb 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions troposphere/lakeformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,33 @@ class TableResource(AWSProperty):
}


class DataLocationResource(AWSProperty):
props = {
'S3Resource': (basestring, False),
}


class ColumnWildcard(AWSProperty):
props = {
'ExcludedColumnNames': ([basestring], False),
}


class TableWithColumnsResource(AWSProperty):
props = {
'ColumnNames': ([basestring], False),
'ColumnWildcard': (ColumnWildcard, False),
'DatabaseName': (basestring, False),
'Name': (basestring, False),
}


class Resource(AWSProperty):
props = {
'DatabaseResource': (DatabaseResource, False),
'DataLocationResource': (DataLocationResource, False),
'TableResource': (TableResource, False),
'TableWithColumnsResource': (TableWithColumnsResource, False),
}


Expand Down