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 S3 bucket to write instance-level logs to.

<note markdown=“1”> ‘LoggingInfo` has been deprecated. To specify an 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 MaintenanceWindowTaskInvocationParameters.

</note>

Instance Attribute Summary collapse

Instance Attribute Details

#s3_bucket_nameString

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

Returns:

  • (String)


10546
10547
10548
10549
10550
10551
# File 'lib/aws-sdk-ssm/types.rb', line 10546

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

#s3_key_prefixString

(Optional) The Amazon S3 bucket subfolder.

Returns:

  • (String)


10546
10547
10548
10549
10550
10551
# File 'lib/aws-sdk-ssm/types.rb', line 10546

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

#s3_regionString

The region where the Amazon S3 bucket is located.

Returns:

  • (String)


10546
10547
10548
10549
10550
10551
# File 'lib/aws-sdk-ssm/types.rb', line 10546

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