README.rdoc in fluent-plugin-sns-2.1.7 vs README.rdoc in fluent-plugin-sns-3.1.0
- old
+ new
@@ -26,28 +26,27 @@
aws_key_id {your_aws_key_id}
aws_sec_key {your_aws_secret_key}
# following attibutes are optional
- sns_endpoint {endpointURL}
+ # AWS region (defaults to 'ap-northeast-1'), for a list of all available
+ # regions see: http://docs.aws.amazon.com/general/latest/gr/rande.html#sns_region
+ sns_region {region}
- ### endpoint list ###
- # Asia Pacific (Tokyo) [Default] : sns.ap-northeast-1.amazonaws.com
- # Asia Pacific (Singapore) : sns.ap-southeast-1.amazonaws.com
- # US-East (Virginia) : sns.us-east-1.amazonaws.com
- # US-West (Oregon) : sns.us-west-2.amazonaws.com
- # US-West (N.California) : sns.us-west-1.amazonaws.com
- # EU-West (Ireland) : sns.eu-west-1.amazonaws.com
- # South America (São Paulo) : sns.sa-east-1.amazonaws.com
-
sns_subject_template {template_erb_file_path}
sns_subject_key {sns_subject_key}
sns_subject {sns_subject} #constant subject
sns_body_template {sns_body_template}
sns_body_key {sns_body_key}
+ # SNS Message attributes:
+ # http://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html
+ # Note that currently only string values are supported.
+ sns_message_attributes {attribute: string_value}
+ sns_message_attributes_keys {attribute: key_in_record_with_string_value}
+
proxy http(s)://{url}:{port}
</match>
== Example
@@ -57,10 +56,10 @@
<match sns.**>
type sns
sns_topic_name example
-
+
sns_endpoint sns.ap-northeast-1.amazonaws.com
sns_subject_key from
sns_body_template /path/to/template/body_template.erb