Class CfnLogStreamPropsMixin
The AWS::Logs::LogStream resource specifies an Amazon CloudWatch Logs log stream in a specific log group.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnLogStreamPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnLogStreamPropsMixin Inherits Mixin Implements IMixin
Remarks
A log stream represents the sequence of events coming from an application instance or resource that you are monitoring.
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:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html
CloudformationResource: AWS::Logs::LogStream
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;
var cfnLogStreamPropsMixin = new CfnLogStreamPropsMixin(new CfnLogStreamMixinProps {
LogGroupName = "logGroupName",
LogStreamName = "logStreamName"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnLogStreamPropsMixin(ICfnLogStreamMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | The |
| Props | The |
| Strategy | The |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnLogStreamPropsMixin(ICfnLogStreamMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Logs::LogStream.
public CfnLogStreamPropsMixin(ICfnLogStreamMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnLogStreamMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
A log stream represents the sequence of events coming from an application instance or resource that you are monitoring.
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:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html
CloudformationResource: AWS::Logs::LogStream
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The AWS::Logs::LogStream resource specifies an Amazon CloudWatch Logs log stream in a specific log group.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
A log stream represents the sequence of events coming from an application instance or resource that you are monitoring.
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:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html
CloudformationResource: AWS::Logs::LogStream
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;
var cfnLogStreamPropsMixin = new CfnLogStreamPropsMixin(new CfnLogStreamMixinProps {
LogGroupName = "logGroupName",
LogStreamName = "logStreamName"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
The AWS::Logs::LogStream resource specifies an Amazon CloudWatch Logs log stream in a specific log group.
protected virtual ICfnLogStreamMixinProps Props { get; }
Property Value
Remarks
A log stream represents the sequence of events coming from an application instance or resource that you are monitoring.
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:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html
CloudformationResource: AWS::Logs::LogStream
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;
var cfnLogStreamPropsMixin = new CfnLogStreamPropsMixin(new CfnLogStreamMixinProps {
LogGroupName = "logGroupName",
LogStreamName = "logStreamName"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
The AWS::Logs::LogStream resource specifies an Amazon CloudWatch Logs log stream in a specific log group.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
A log stream represents the sequence of events coming from an application instance or resource that you are monitoring.
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:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html
CloudformationResource: AWS::Logs::LogStream
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;
var cfnLogStreamPropsMixin = new CfnLogStreamPropsMixin(new CfnLogStreamMixinProps {
LogGroupName = "logGroupName",
LogStreamName = "logStreamName"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
A log stream represents the sequence of events coming from an application instance or resource that you are monitoring.
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:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html
CloudformationResource: AWS::Logs::LogStream
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
A log stream represents the sequence of events coming from an application instance or resource that you are monitoring.
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:
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html
CloudformationResource: AWS::Logs::LogStream
Mixin: true
ExampleMetadata: fixture=_generated