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 AWS::PinpointEmail, per 2019 May 23 update #1408

Merged
merged 1 commit into from
Jun 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ Currently supported AWS resource types
- AWS::Neptune
- AWS::OpsWorks
- AWS::OpsWorksCM
- AWS::PinpointEmail
- AWS::RAM
- AWS::RDS
- AWS::Redshift
Expand Down
132 changes: 132 additions & 0 deletions troposphere/pinpointemail.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
# 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
from .validators import boolean


class DeliveryOptions(AWSProperty):
props = {
'SendingPoolName': (basestring, False),
}


class ReputationOptions(AWSProperty):
props = {
'ReputationMetricsEnabled': (boolean, False),
}


class SendingOptions(AWSProperty):
props = {
'SendingEnabled': (boolean, False),
}


class TrackingOptions(AWSProperty):
props = {
'CustomRedirectDomain': (basestring, False),
}


class ConfigurationSet(AWSObject):
resource_type = "AWS::PinpointEmail::ConfigurationSet"

props = {
'DeliveryOptions': (DeliveryOptions, False),
'Name': (basestring, True),
'ReputationOptions': (ReputationOptions, False),
'SendingOptions': (SendingOptions, False),
'Tags': (Tags, False),
'TrackingOptions': (TrackingOptions, False),
}


class DimensionConfiguration(AWSProperty):
props = {
'DefaultDimensionValue': (basestring, True),
'DimensionName': (basestring, True),
'DimensionValueSource': (basestring, True),
}


class CloudWatchDestination(AWSProperty):
props = {
'DimensionConfigurations': ([DimensionConfiguration], False),
}


class KinesisFirehoseDestination(AWSProperty):
props = {
'DeliveryStreamArn': (basestring, True),
'IamRoleArn': (basestring, True),
}


class PinpointDestination(AWSProperty):
props = {
'ApplicationArn': (basestring, False),
}


class SnsDestination(AWSProperty):
props = {
'TopicArn': (basestring, True),
}


class EventDestination(AWSProperty):
props = {
'CloudWatchDestination': (CloudWatchDestination, False),
'Enabled': (boolean, False),
'KinesisFirehoseDestination': (KinesisFirehoseDestination, False),
'MatchingEventTypes': ([basestring], True),
'PinpointDestination': (PinpointDestination, False),
'SnsDestination': (SnsDestination, False),
}


class ConfigurationSetEventDestination(AWSObject):
resource_type = "AWS::PinpointEmail::ConfigurationSetEventDestination"

props = {
'ConfigurationSetName': (basestring, True),
'EventDestination': (EventDestination, False),
'EventDestinationName': (basestring, True),
}


class DedicatedIpPool(AWSObject):
resource_type = "AWS::PinpointEmail::DedicatedIpPool"

props = {
'PoolName': (basestring, False),
'Tags': (Tags, False),
}


class MailFromAttributes(AWSProperty):
props = {
'BehaviorOnMxFailure': (basestring, False),
'MailFromDomain': (basestring, False),
}


class Identity(AWSObject):
resource_type = "AWS::PinpointEmail::Identity"

props = {
'DkimSigningEnabled': (boolean, False),
'FeedbackForwardingEnabled': (boolean, False),
'MailFromAttributes': (MailFromAttributes, False),
'Name': (basestring, True),
'Tags': (Tags, False),
}