Show / Hide Table of Contents

Class CfnLogStreamPropsMixin

The AWS::Logs::LogStream resource specifies an Amazon CloudWatch Logs log stream in a specific log group.

Inheritance
object
Mixin
CfnLogStreamPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
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 AWS::Logs::LogStream.

    Properties

    CFN_PROPERTY_KEYS

    The AWS::Logs::LogStream resource specifies an Amazon CloudWatch Logs log stream in a specific log group.

    Props

    The AWS::Logs::LogStream resource specifies an Amazon CloudWatch Logs log stream in a specific log group.

    Strategy

    The AWS::Logs::LogStream resource specifies an Amazon CloudWatch Logs log stream in a specific log group.

    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

        ICfnLogStreamMixinProps

        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

          PropertyMergeStrategy

          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
            Mixin.ApplyTo(IConstruct)
            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

              bool

              Overrides
              Mixin.Supports(IConstruct)
              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

                Implements

                IMixin
                Back to top Generated by DocFX