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