Class CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty
Configuration options for sending command output to Amazon CloudWatch Logs.
Inheritance
System.Object
CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.AWS.SSM.dll
Syntax (csharp)
public class CloudWatchOutputConfigProperty : Object, CfnMaintenanceWindowTask.ICloudWatchOutputConfigProperty
Syntax (vb)
Public Class CloudWatchOutputConfigProperty
Inherits Object
Implements CfnMaintenanceWindowTask.ICloudWatchOutputConfigProperty
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.SSM;
var cloudWatchOutputConfigProperty = new CloudWatchOutputConfigProperty {
CloudWatchLogGroupName = "cloudWatchLogGroupName",
CloudWatchOutputEnabled = false
};
Synopsis
Constructors
CloudWatchOutputConfigProperty() |
Properties
CloudWatchLogGroupName | The name of the CloudWatch Logs log group where you want to send command output. |
CloudWatchOutputEnabled | Enables Systems Manager to send command output to CloudWatch Logs. |
Constructors
CloudWatchOutputConfigProperty()
public CloudWatchOutputConfigProperty()
Properties
CloudWatchLogGroupName
The name of the CloudWatch Logs log group where you want to send command output.
public string CloudWatchLogGroupName { get; set; }
Property Value
System.String
Remarks
If you don't specify a group name, AWS Systems Manager automatically creates a log group for you. The log group uses the following naming format:
aws/ssm/ SystemsManagerDocumentName
CloudWatchOutputEnabled
Enables Systems Manager to send command output to CloudWatch Logs.
public object CloudWatchOutputEnabled { get; set; }
Property Value
System.Object