Table of Contents

Class CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty

Namespace
Amazon.CDK.AWS.SSM
Assembly
Amazon.CDK.AWS.SSM.dll

Configuration options for sending command output to Amazon CloudWatch Logs.

public class CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty : CfnMaintenanceWindowTask.ICloudWatchOutputConfigProperty
Inheritance
CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty
Implements
Inherited Members

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
             };

Remarks

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

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-cloudwatchoutputconfig.html#cfn-ssm-maintenancewindowtask-cloudwatchoutputconfig-cloudwatchloggroupname

CloudWatchOutputEnabled

Enables Systems Manager to send command output to CloudWatch Logs.

public object? CloudWatchOutputEnabled { get; set; }

Property Value

object

Remarks