using System.Runtime.Serialization; namespace Amazon.Lambda.CloudWatchEvents.S3Events { /// /// This class represents the details of an S3 object delete event sent via EventBridge. /// [DataContract] public class S3ObjectDelete : S3ObjectEventDetails { /// /// The source IP of the API request. /// [DataMember(Name = "source-ip-address")] #if NETCOREAPP_3_1 [System.Text.Json.Serialization.JsonPropertyName("source-ip-address")] #endif public string SourceIpAddress { get; set; } /// /// The reason the event was fired. /// [DataMember(Name = "reason")] public string Reason { get; set; } /// /// The type of object deletion event. /// [DataMember(Name = "deletion-type")] #if NETCOREAPP_3_1 [System.Text.Json.Serialization.JsonPropertyName("deletion-type")] #endif public string DeletionType { get; set; } } }