SnsAction class
Describes an action to publish to an Amazon SNS topic.
Constructors
- SnsAction.new({required String roleArn, required String targetArn, MessageFormat? messageFormat})
-
SnsAction.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageFormat → MessageFormat?
-
(Optional) The message format of the message to publish. Accepted values are
"JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this
setting to determine if the payload should be parsed and relevant
platform-specific bits of the payload should be extracted. To read more
about SNS message formats, see https://docs.aws.amazon.com/sns/latest/dg/json-formats.html
refer to their official documentation.
final
- roleArn → String
-
The ARN of the IAM role that grants access.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetArn → String
-
The ARN of the SNS topic.
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