Show / Hide Table of Contents

Class StreamOptions

Properties for a new LogStream created from a LogGroup.

Inheritance
object
StreamOptions
Implements
IStreamOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

string

Remarks

The name must be unique within the log group.

Default: Automatically generated

Implements

IStreamOptions
Back to top Generated by DocFX