Show / Hide Table of Contents

Class CfnMaintenanceWindowTask.LoggingInfoProperty

LoggingInfo has been deprecated.

Inheritance
object
CfnMaintenanceWindowTask.LoggingInfoProperty
Implements
CfnMaintenanceWindowTask.ILoggingInfoProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMaintenanceWindowTask.LoggingInfoProperty : CfnMaintenanceWindowTask.ILoggingInfoProperty
Syntax (vb)
Public Class CfnMaintenanceWindowTask.LoggingInfoProperty Implements CfnMaintenanceWindowTask.ILoggingInfoProperty
Remarks

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 AWS ::SSM::MaintenanceWindowTask MaintenanceWindowRunCommandParameters .

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.

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

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

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

Synopsis

Constructors

LoggingInfoProperty()

LoggingInfo has been deprecated.

Properties

Region

The AWS Region where the S3 bucket is located.

S3Bucket

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

S3Prefix

The Amazon S3 bucket subfolder.

Constructors

LoggingInfoProperty()

LoggingInfo has been deprecated.

public LoggingInfoProperty()
Remarks

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 AWS ::SSM::MaintenanceWindowTask MaintenanceWindowRunCommandParameters .

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.

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

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

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

Properties

Region

The AWS Region where the S3 bucket is located.

public string Region { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-logginginfo.html#cfn-ssm-maintenancewindowtask-logginginfo-region

S3Bucket

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

public string S3Bucket { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-logginginfo.html#cfn-ssm-maintenancewindowtask-logginginfo-s3bucket

S3Prefix

The Amazon S3 bucket subfolder.

public string? S3Prefix { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-logginginfo.html#cfn-ssm-maintenancewindowtask-logginginfo-s3prefix

Implements

CfnMaintenanceWindowTask.ILoggingInfoProperty
Back to top Generated by DocFX