Show / Hide Table of Contents

Class CfnApplicationPropsMixin.LogProperty

The AWS::ApplicationInsights::Application Log property type specifies a log to monitor for the component.

Inheritance
object
CfnApplicationPropsMixin.LogProperty
Implements
CfnApplicationPropsMixin.ILogProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.ApplicationInsights.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnApplicationPropsMixin.LogProperty : CfnApplicationPropsMixin.ILogProperty
Syntax (vb)
Public Class CfnApplicationPropsMixin.LogProperty Implements CfnApplicationPropsMixin.ILogProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.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.Mixins.Preview.AWS.ApplicationInsights.Mixins;

             var logProperty = new LogProperty {
                 Encoding = "encoding",
                 LogGroupName = "logGroupName",
                 LogPath = "logPath",
                 LogType = "logType",
                 PatternSet = "patternSet"
             };

Synopsis

Constructors

LogProperty()

The AWS::ApplicationInsights::Application Log property type specifies a log to monitor for the component.

Properties

Encoding

The type of encoding of the logs to be monitored.

LogGroupName

The CloudWatch log group name to be associated with the monitored log.

LogPath

The path of the logs to be monitored.

LogType

The log type decides the log patterns against which Application Insights analyzes the log.

PatternSet

The log pattern set.

Constructors

LogProperty()

The AWS::ApplicationInsights::Application Log property type specifies a log to monitor for the component.

public LogProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.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.Mixins.Preview.AWS.ApplicationInsights.Mixins;

             var logProperty = new LogProperty {
                 Encoding = "encoding",
                 LogGroupName = "logGroupName",
                 LogPath = "logPath",
                 LogType = "logType",
                 PatternSet = "patternSet"
             };

Properties

Encoding

The type of encoding of the logs to be monitored.

public string? Encoding { get; set; }
Property Value

string

Remarks

The specified encoding should be included in the list of CloudWatch agent supported encodings. If not provided, CloudWatch Application Insights uses the default encoding type for the log type:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-encoding

    LogGroupName

    The CloudWatch log group name to be associated with the monitored log.

    public string? LogGroupName { get; set; }
    Property Value

    string

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-loggroupname

    LogPath

    The path of the logs to be monitored.

    public string? LogPath { get; set; }
    Property Value

    string

    Remarks

    The log path must be an absolute Windows or Linux system file path. For more information, see CloudWatch Agent Configuration File: Logs Section .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-logpath

    LogType

    The log type decides the log patterns against which Application Insights analyzes the log.

    public string? LogType { get; set; }
    Property Value

    string

    Remarks

    The log type is selected from the following: SQL_SERVER , MYSQL , MYSQL_SLOW_QUERY , POSTGRESQL , ORACLE_ALERT , ORACLE_LISTENER , IIS , APPLICATION , WINDOWS_EVENTS , WINDOWS_EVENTS_ACTIVE_DIRECTORY , WINDOWS_EVENTS_DNS , WINDOWS_EVENTS_IIS , WINDOWS_EVENTS_SHAREPOINT , SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP , SQL_SERVER_FAILOVER_CLUSTER_INSTANCE , STEP_FUNCTION , API_GATEWAY_ACCESS , API_GATEWAY_EXECUTION , SAP_HANA_LOGS , SAP_HANA_TRACE , SAP_HANA_HIGH_AVAILABILITY , and DEFAULT .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-logtype

    PatternSet

    The log pattern set.

    public string? PatternSet { get; set; }
    Property Value

    string

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-patternset

    Implements

    CfnApplicationPropsMixin.ILogProperty
    Back to top Generated by DocFX