Interface CfnMaintenanceWindowTask.ICloudWatchOutputConfigProperty
Configuration options for sending command output to Amazon CloudWatch Logs.
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICloudWatchOutputConfigProperty
Syntax (vb)
Public Interface 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
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. |
Properties
CloudWatchLogGroupName
The name of the CloudWatch Logs log group where you want to send command output.
virtual string CloudWatchLogGroupName { get; }
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.
virtual object CloudWatchOutputEnabled { get; }
Property Value
System.Object