using System.Runtime.Serialization; namespace Amazon.Lambda.CloudWatchEvents.S3Events { /// /// This class represents the details of an S3 object create event sent via EventBridge. /// [DataContract] public class S3ObjectCreate : 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; } } }