AwsCloudwatchEvent class

Event that is send via SQS to trigger for an innovation of a Lambda.

Example

{
  "id": "cdc73f9d-aea9-11e3-9d5a-835b769c0d9c",
  "detail-type": "Scheduled Event",
  "source": "aws.events",
  "account": "{{{account-id}}}",
  "time": "1970-01-01T00:00:00Z",
  "region": "eu-west-1",
  "resources": [
    "arn:aws:events:eu-west-1:123456789012:rule/ExampleRule"
  ],
  "detail": {}
}
Annotations

Constructors

AwsCloudwatchEvent({List<String> resources, String region, String id, String source, String account, String detailType, Map<String, dynamic> detail, DateTime time})
const
AwsCloudwatchEvent.fromJson(Map<String, dynamic> json)
factory

Properties

account String
Account ...
@JsonKey(), final
detail Map<String, dynamic>
Detail ...
@JsonKey(), final
detailType String
Data Type ...
@JsonKey(name: "detail-type"), final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Id ...
@JsonKey(), final
region String
Region ...
@JsonKey(), final
resources List<String>
Resources ...
@JsonKey(), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
source String
Source ...
@JsonKey(), final
time DateTime
Time ...
@JsonKey(), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
Returns a string representation of this object.
inherited

Operators

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