Table of Contents

Interface CfnMaintenanceWindowTask.ILoggingInfoProperty

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

The LoggingInfo property type specifies information about the Amazon S3 bucket to write instance-level logs to.

public interface CfnMaintenanceWindowTask.ILoggingInfoProperty

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 loggingInfoProperty = new LoggingInfoProperty {
                 Region = "region",
                 S3Bucket = "s3Bucket",

                 // the properties below are optional
                 S3Prefix = "s3Prefix"
             };

Remarks

LoggingInfo is a property of the AWS::SSM::MaintenanceWindowTask resource.

<code>LoggingInfo</code> has been deprecated. To specify an Amazon S3 bucket to contain logs, instead use the <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html">AWS ::SSM::MaintenanceWindowTask MaintenanceWindowRunCommandParameters</a> .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-logginginfo.html

ExampleMetadata: fixture=_generated

Properties

Region

The AWS Region where the S3 bucket is located.

string Region { get; }

Property Value

string

Remarks

S3Bucket

The name of an S3 bucket where execution logs are stored.

string S3Bucket { get; }

Property Value

string

Remarks

S3Prefix

The Amazon S3 bucket subfolder.

string? S3Prefix { get; }

Property Value

string

Remarks