Class CfnLogStreamProps
Properties for defining a CfnLogStream
.
Inheritance
System.Object
CfnLogStreamProps
Implements
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLogStreamProps : Object, ICfnLogStreamProps
Syntax (vb)
Public Class CfnLogStreamProps
Inherits Object
Implements ICfnLogStreamProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html
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 cfnLogStreamProps = new CfnLogStreamProps {
LogGroupName = "logGroupName",
// the properties below are optional
LogStreamName = "logStreamName"
};
Synopsis
Constructors
CfnLogStreamProps() |
Properties
LogGroupName | The name of the log group where the log stream is created. |
LogStreamName | The name of the log stream. |
Constructors
CfnLogStreamProps()
public CfnLogStreamProps()
Properties
LogGroupName
The name of the log group where the log stream is created.
public string LogGroupName { get; set; }
Property Value
System.String
Remarks
LogStreamName
The name of the log stream.
public string LogStreamName { get; set; }
Property Value
System.String
Remarks
The name must be unique within the log group.