AWS::SSM::MaintenanceWindowTask LoggingInfo - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::SSM::MaintenanceWindowTask LoggingInfo

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

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

Note

LoggingInfo has been deprecated. To specify an Amazon S3 bucket to contain logs, instead use the OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see Amazon::SSM::MaintenanceWindowTask MaintenanceWindowRunCommandParameters.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Region" : String, "S3Bucket" : String, "S3Prefix" : String }

YAML

Region: String S3Bucket: String S3Prefix: String

Properties

Region

The Amazon Web Services Region where the S3 bucket is located.

Required: Yes

Type: String

Minimum: 3

Maximum: 20

Update requires: No interruption

S3Bucket

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

Required: Yes

Type: String

Minimum: 3

Maximum: 63

Update requires: No interruption

S3Prefix

The Amazon S3 bucket subfolder.

Required: No

Type: String

Maximum: 500

Update requires: No interruption