Class: Aws::ComputeOptimizer::Types::S3DestinationConfig

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

Overview

Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for a recommendations export job.

You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see [Amazon S3 Bucket Policy for Compute Optimizer] in the *Compute Optimizer User Guide*.

[1]: docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

The name of the Amazon S3 bucket to use as the destination for an export job.

Returns:

  • (String)


6370
6371
6372
6373
6374
6375
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 6370

class S3DestinationConfig < Struct.new(
  :bucket,
  :key_prefix)
  SENSITIVE = []
  include Aws::Structure
end

#key_prefixString

The Amazon S3 bucket prefix for an export job.

Returns:

  • (String)


6370
6371
6372
6373
6374
6375
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 6370

class S3DestinationConfig < Struct.new(
  :bucket,
  :key_prefix)
  SENSITIVE = []
  include Aws::Structure
end