Class StreamOptions
Properties for a new LogStream created from a LogGroup.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StreamOptions : IStreamOptions
Syntax (vb)
Public Class StreamOptions Implements IStreamOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Logs;
var streamOptions = new StreamOptions {
LogStreamName = "logStreamName"
};
Synopsis
Constructors
| StreamOptions() | Properties for a new LogStream created from a LogGroup. |
Properties
| LogStreamName | The name of the log stream to create. |
Constructors
StreamOptions()
Properties for a new LogStream created from a LogGroup.
public StreamOptions()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Logs;
var streamOptions = new StreamOptions {
LogStreamName = "logStreamName"
};
Properties
LogStreamName
The name of the log stream to create.
public string? LogStreamName { get; set; }
Property Value
Remarks
The name must be unique within the log group.
Default: Automatically generated