AWS SDK Version 2 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.

.NET Framework 3.5
 
Container for the parameters to the CreateLogStream operation. Creates a new log stream in the specified log group. The name of the log stream must be unique within the log group. There is no limit on the number of log streams that can exist in a log group.

You must use the following guidelines when naming a log stream:

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudWatchLogs.AmazonCloudWatchLogsRequest
      Amazon.CloudWatchLogs.Model.CreateLogStreamRequest

Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class CreateLogStreamRequest : AmazonCloudWatchLogsRequest
         IRequestEvents

The CreateLogStreamRequest type exposes the following members

Constructors

NameDescription
Public Method CreateLogStreamRequest() Empty constructor used to set properties independently even when a simple constructor is available
Public Method CreateLogStreamRequest(string, string) Instantiates CreateLogStreamRequest with the parameterized properties

Properties

NameTypeDescription
Public Property LogGroupName System.String Gets and sets the property LogGroupName.

The name of the log group under which the log stream is to be created.

Public Property LogStreamName System.String Gets and sets the property LogStreamName.

The name of the log stream to create.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5