S3Action class

When included in a receipt rule, this action saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

To enable Amazon SES to write emails to your Amazon S3 bucket, use an AWS KMS key to encrypt your emails, or publish to an Amazon SNS topic of another account, Amazon SES must have permission to access those resources. For information about giving permissions, see the Amazon SES Developer Guide. For information about specifying Amazon S3 actions in receipt rules, see the Amazon SES Developer Guide.

Constructors

S3Action({required String bucketName, String? kmsKeyArn, String? objectKeyPrefix, String? topicArn})
S3Action.fromXml(XmlElement elem)
factory

Properties

bucketName String
The name of the Amazon S3 bucket that incoming email will be saved to.
final
hashCode int
The hash code for this object.
no setterinherited
kmsKeyArn String?
The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:
final
objectKeyPrefix String?
The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topicArn String?
The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited