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

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

Overview

Note:

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

{
  bucket: "DestinationBucket",
  key_prefix: "DestinationKeyPrefix",
}

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.

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)


1398
1399
1400
1401
1402
1403
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1398

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)


1398
1399
1400
1401
1402
1403
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1398

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