C# Class Amazon.CloudWatchLogs.Model.CreateLogStreamRequest

Container for the parameters to the CreateLogStream operation. Creates a log stream for the specified log group.

There is no limit on the number of log streams that you can create for a log group.

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

  • Log stream names must be unique within the log group.

  • Log stream names can be between 1 and 512 characters long.

  • The ':' (colon) and '*' (asterisk) characters are not allowed.

Inheritance: AmazonCloudWatchLogsRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CreateLogStreamRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreateLogStreamRequest ( string logGroupName, string logStreamName ) : System

Instantiates CreateLogStreamRequest with the parameterized properties

Private Methods

Method Description
IsSetLogGroupName ( ) : bool
IsSetLogStreamName ( ) : bool

Method Details

CreateLogStreamRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public CreateLogStreamRequest ( ) : System
return System

CreateLogStreamRequest() public method

Instantiates CreateLogStreamRequest with the parameterized properties
public CreateLogStreamRequest ( string logGroupName, string logStreamName ) : System
logGroupName string The name of the log group.
logStreamName string The name of the log stream.
return System