Class CfnHookVersion.LoggingConfigProperty
The LoggingConfig
property type specifies logging configuration information for an extension.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFormation
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnHookVersion.LoggingConfigProperty : CfnHookVersion.ILoggingConfigProperty
Syntax (vb)
Public Class CfnHookVersion.LoggingConfigProperty 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
LoggingConfigProperty() | The |
Properties
LogGroupName | The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers. |
LogRoleArn | The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs. |
Constructors
LoggingConfigProperty()
The LoggingConfig
property type specifies logging configuration information for an extension.
public LoggingConfigProperty()
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"
};
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
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; }