You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing S3DestinationConfig as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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)

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

#key_prefixString

The Amazon S3 bucket prefix for an export job.

Returns:

  • (String)

    The Amazon S3 bucket prefix for an export job.