Class CfnVerifiedAccessInstancePropsMixin.CloudWatchLogsProperty
Options for CloudWatch Logs as a logging destination.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnVerifiedAccessInstancePropsMixin.CloudWatchLogsProperty : CfnVerifiedAccessInstancePropsMixin.ICloudWatchLogsProperty
Syntax (vb)
Public Class CfnVerifiedAccessInstancePropsMixin.CloudWatchLogsProperty Implements CfnVerifiedAccessInstancePropsMixin.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.Mixins.Preview.AWS.EC2.Mixins;
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.Mixins.Preview.AWS.EC2.Mixins;
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; }