Skip to content

/AWS1/CL_COPS3DSTCONFIG

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.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_bucket TYPE /AWS1/COPDESTINATIONBUCKET /AWS1/COPDESTINATIONBUCKET

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

iv_keyprefix TYPE /AWS1/COPDESTINATIONKEYPREFIX /AWS1/COPDESTINATIONKEYPREFIX

The Amazon S3 bucket prefix for an export job.


Queryable Attributes

bucket

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

Accessible with the following methods

Method Description
GET_BUCKET() Getter for BUCKET, with configurable default
ASK_BUCKET() Getter for BUCKET w/ exceptions if field has no value
HAS_BUCKET() Determine if BUCKET has a value

keyPrefix

The Amazon S3 bucket prefix for an export job.

Accessible with the following methods

Method Description
GET_KEYPREFIX() Getter for KEYPREFIX, with configurable default
ASK_KEYPREFIX() Getter for KEYPREFIX w/ exceptions if field has no value
HAS_KEYPREFIX() Determine if KEYPREFIX has a value