AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This object defines one key that will be added with the addKeys processor.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatchLogs.Model.AddKeyEntry

Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z

Syntax

C#
public class AddKeyEntry

The AddKeyEntry type exposes the following members

Constructors

NameDescription
Public Method AddKeyEntry()

Properties

NameTypeDescription
Public Property Key System.String

Gets and sets the property Key.

The key of the new entry to be added to the log event

Public Property OverwriteIfExists System.Boolean

Gets and sets the property OverwriteIfExists.

Specifies whether to overwrite the value if the key already exists in the log event. If you omit this, the default is false.

Public Property Value System.String

Gets and sets the property Value.

The value of the new entry to be added to the log event

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5