Skip to content

/AWS1/CL_KNSS3STORAGECONF

The Amazon S3 storage settings for a general purpose Amazon S3 destination.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_bucketarn TYPE /AWS1/KNSBUCKETARN /AWS1/KNSBUCKETARN

The Amazon Resource Name (ARN) of the destination Amazon S3 bucket.

iv_expectedbucketowner TYPE /AWS1/KNSEXPECTEDBUCKETOWNER /AWS1/KNSEXPECTEDBUCKETOWNER

The Amazon Web Services account ID of the expected owner of the destination bucket. This value helps prevent delivery to an unintended bucket if ownership changes.

iv_compressiontype TYPE /AWS1/KNSS3COMPRESSIONTYPE /AWS1/KNSS3COMPRESSIONTYPE

The compression applied to delivered objects. Valid values:

  • NONE - No compression.

  • GZIP - gzip compression.

  • ZSTD - Zstandard compression.

Optional arguments:

iv_outputkeytemplate TYPE /AWS1/KNSS3OUTPUTKEYTEMPLATE /AWS1/KNSS3OUTPUTKEYTEMPLATE

The template used to construct the Amazon S3 object key for delivered objects. If not specified, a default template is used.

iv_storageclass TYPE /AWS1/KNSS3STORAGECLASS /AWS1/KNSS3STORAGECLASS

The Amazon S3 storage class for delivered objects. Valid values:

  • STANDARD - Default storage class for frequently accessed data. (default)

  • INTELLIGENT_TIERING - Automatically moves objects to the most cost-effective access tier based on usage patterns.

  • GLACIER_IR - Low-cost storage for rarely accessed data that requires millisecond retrieval.


Queryable Attributes

BucketARN

The Amazon Resource Name (ARN) of the destination Amazon S3 bucket.

Accessible with the following methods

Method Description
GET_BUCKETARN() Getter for BUCKETARN, with configurable default
ASK_BUCKETARN() Getter for BUCKETARN w/ exceptions if field has no value
HAS_BUCKETARN() Determine if BUCKETARN has a value

ExpectedBucketOwner

The Amazon Web Services account ID of the expected owner of the destination bucket. This value helps prevent delivery to an unintended bucket if ownership changes.

Accessible with the following methods

Method Description
GET_EXPECTEDBUCKETOWNER() Getter for EXPECTEDBUCKETOWNER, with configurable default
ASK_EXPECTEDBUCKETOWNER() Getter for EXPECTEDBUCKETOWNER w/ exceptions if field has no
HAS_EXPECTEDBUCKETOWNER() Determine if EXPECTEDBUCKETOWNER has a value

OutputKeyTemplate

The template used to construct the Amazon S3 object key for delivered objects. If not specified, a default template is used.

Accessible with the following methods

Method Description
GET_OUTPUTKEYTEMPLATE() Getter for OUTPUTKEYTEMPLATE, with configurable default
ASK_OUTPUTKEYTEMPLATE() Getter for OUTPUTKEYTEMPLATE w/ exceptions if field has no v
HAS_OUTPUTKEYTEMPLATE() Determine if OUTPUTKEYTEMPLATE has a value

StorageClass

The Amazon S3 storage class for delivered objects. Valid values:

  • STANDARD - Default storage class for frequently accessed data. (default)

  • INTELLIGENT_TIERING - Automatically moves objects to the most cost-effective access tier based on usage patterns.

  • GLACIER_IR - Low-cost storage for rarely accessed data that requires millisecond retrieval.

Accessible with the following methods

Method Description
GET_STORAGECLASS() Getter for STORAGECLASS, with configurable default
ASK_STORAGECLASS() Getter for STORAGECLASS w/ exceptions if field has no value
HAS_STORAGECLASS() Determine if STORAGECLASS has a value

CompressionType

The compression applied to delivered objects. Valid values:

  • NONE - No compression.

  • GZIP - gzip compression.

  • ZSTD - Zstandard compression.

Accessible with the following methods

Method Description
GET_COMPRESSIONTYPE() Getter for COMPRESSIONTYPE, with configurable default
ASK_COMPRESSIONTYPE() Getter for COMPRESSIONTYPE w/ exceptions if field has no val
HAS_COMPRESSIONTYPE() Determine if COMPRESSIONTYPE has a value