Class CfnHookVersion.LoggingConfigProperty
The LoggingConfig
property type specifies logging configuration information for an extension.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CloudFormation
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LoggingConfigProperty : Object, CfnHookVersion.ILoggingConfigProperty
Syntax (vb)
Public Class LoggingConfigProperty
Inherits Object
Implements CfnHookVersion.ILoggingConfigProperty
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.CloudFormation;
var loggingConfigProperty = new LoggingConfigProperty {
LogGroupName = "logGroupName",
LogRoleArn = "logRoleArn"
};
Synopsis
Constructors
Logging |
Properties
Log |
The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers. |
Log |
The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs. |
Constructors
LoggingConfigProperty()
public LoggingConfigProperty()
Properties
LogGroupName
The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers.
public string LogGroupName { get; set; }
Property Value
System.
Remarks
LogRoleArn
The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.
public string LogRoleArn { get; set; }
Property Value
System.