Class CfnVerifiedAccessInstance.CloudWatchLogsProperty
Options for CloudWatch Logs as a logging destination.
Inheritance
System.Object
CfnVerifiedAccessInstance.CloudWatchLogsProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CloudWatchLogsProperty : Object, CfnVerifiedAccessInstance.ICloudWatchLogsProperty
Syntax (vb)
Public Class CloudWatchLogsProperty
Inherits Object
Implements CfnVerifiedAccessInstance.ICloudWatchLogsProperty
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.EC2;
var cloudWatchLogsProperty = new CloudWatchLogsProperty {
Enabled = false,
LogGroup = "logGroup"
};
Synopsis
Constructors
CloudWatchLogsProperty() |
Properties
Enabled | Indicates whether logging is enabled. |
LogGroup | The ID of the CloudWatch Logs log group. |
Constructors
CloudWatchLogsProperty()
public CloudWatchLogsProperty()
Properties
Enabled
Indicates whether logging is enabled.
public object Enabled { get; set; }
Property Value
System.Object
Remarks
LogGroup
The ID of the CloudWatch Logs log group.
public string LogGroup { get; set; }
Property Value
System.String