Class: Aws::SSM::Types::LoggingInfo

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ssm/types.rb

Overview

Note:

When making an API call, you may pass LoggingInfo data as a hash:

{
  s3_bucket_name: "S3BucketName", # required
  s3_key_prefix: "S3KeyPrefix",
  s3_region: "S3Region", # required
}

Information about an Amazon Simple Storage Service (Amazon S3) bucket to write instance-level logs to.

<note markdown=“1”> `LoggingInfo` has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the `OutputS3BucketName` and `OutputS3KeyPrefix` options in the `TaskInvocationParameters` structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.

</note>

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#s3_bucket_nameString

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

Returns:

  • (String)

12863
12864
12865
12866
12867
12868
12869
# File 'lib/aws-sdk-ssm/types.rb', line 12863

class LoggingInfo < Struct.new(
  :s3_bucket_name,
  :s3_key_prefix,
  :s3_region)
  SENSITIVE = []
  include Aws::Structure
end

#s3_key_prefixString

(Optional) The S3 bucket subfolder.

Returns:

  • (String)

12863
12864
12865
12866
12867
12868
12869
# File 'lib/aws-sdk-ssm/types.rb', line 12863

class LoggingInfo < Struct.new(
  :s3_bucket_name,
  :s3_key_prefix,
  :s3_region)
  SENSITIVE = []
  include Aws::Structure
end

#s3_regionString

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

Returns:

  • (String)

12863
12864
12865
12866
12867
12868
12869
# File 'lib/aws-sdk-ssm/types.rb', line 12863

class LoggingInfo < Struct.new(
  :s3_bucket_name,
  :s3_key_prefix,
  :s3_region)
  SENSITIVE = []
  include Aws::Structure
end