Show / Hide Table of Contents

Class StreamOptions

Properties for a new LogStream created from a LogGroup.

Inheritance
System.Object
StreamOptions
Implements
IStreamOptions
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.AWS.Logs.dll
Syntax (csharp)
public class StreamOptions : Object, IStreamOptions
Syntax (vb)
Public Class StreamOptions
    Inherits Object
    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

LogStreamName

The name of the log stream to create.

Constructors

StreamOptions()

public StreamOptions()

Properties

LogStreamName

The name of the log stream to create.

public string LogStreamName { get; set; }
Property Value

System.String

Remarks

The name must be unique within the log group.

Default: Automatically generated

Implements

IStreamOptions
Back to top Generated by DocFX