Skip to content

/AWS1/CL_S3_CONFIG

About The Configuration Interface /AWS1/IF_RT_CONFIG

The primary mechanism for configuring the SDK is through the IMG transaction /AWS1/IMG. However, there are cases where one may wish to programmatically update configuration. This is done by first retrieving a configuration object with the service’s get_config( ) method.

data(lo_config) = lo_service->get_config( ).

Each config object implements interface /AWS1/IF_RT_CONFIG which includes GETters and SETters which correspond to the IMG. For example, the default region can be overridden:

lo_service->get_config( )->/AWS1/IF_RT_CONFIG~set_region( 'us-east-1' ).

Some config object features have no IMG representation and can only be set programmatically, such as the maximum retry attempts:

lo_service->get_config( )->/AWS1/IF_RT_CONFIG~set_max_attempts( 10 ).

The complete list of attributes on /AWS1/IF_RT_CONFIG is:

Standard configuration: STS_USE_GLOBAL_ENDPOINT

Accessible with the following methods

Method Description
/AWS1/IF_RT_CONFIG~GET_STS_USE_GLOBAL_ENDPOINT() Getter for STS_USE_GLOBAL_ENDPOINT
/AWS1/IF_RT_CONFIG~SET_STS_USE_GLOBAL_ENDPOINT() Setter for STS_USE_GLOBAL_ENDPOINT

Standard configuration: ENDPOINT

Accessible with the following methods

Method Description
/AWS1/IF_RT_CONFIG~GET_ENDPOINT() Getter for ENDPOINT
/AWS1/IF_RT_CONFIG~HAS_ENDPOINT() Determine if ENDPOINT has a value
/AWS1/IF_RT_CONFIG~SET_ENDPOINT() Setter for ENDPOINT

Standard configuration: S3_USE_ACCELERATE

Accessible with the following methods

Method Description
/AWS1/IF_RT_CONFIG~GET_S3_USE_ACCELERATE() Getter for S3_USE_ACCELERATE
/AWS1/IF_RT_CONFIG~SET_S3_USE_ACCELERATE() Setter for S3_USE_ACCELERATE

Standard configuration: S3_DISABLE_MULTIREGION_APS

Accessible with the following methods

Method Description
/AWS1/IF_RT_CONFIG~GET_S3_DISABLE_MULTIREGION_APS() Getter for S3_DISABLE_MULTIREGION_APS
/AWS1/IF_RT_CONFIG~SET_S3_DISABLE_MULTIREGION_APS() Setter for S3_DISABLE_MULTIREGION_APS

Standard configuration: USE_FIPS

Accessible with the following methods

Method Description
/AWS1/IF_RT_CONFIG~GET_USE_FIPS() Getter for USE_FIPS
/AWS1/IF_RT_CONFIG~SET_USE_FIPS() Setter for USE_FIPS

Standard configuration: USE_DUAL_STACK

Accessible with the following methods

Method Description
/AWS1/IF_RT_CONFIG~GET_USE_DUAL_STACK() Getter for USE_DUAL_STACK
/AWS1/IF_RT_CONFIG~SET_USE_DUAL_STACK() Setter for USE_DUAL_STACK

Standard configuration: S3_FORCE_PATH_STYLE

Accessible with the following methods

Method Description
/AWS1/IF_RT_CONFIG~GET_S3_FORCE_PATH_STYLE() Getter for S3_FORCE_PATH_STYLE
/AWS1/IF_RT_CONFIG~SET_S3_FORCE_PATH_STYLE() Setter for S3_FORCE_PATH_STYLE

Standard configuration: S3_USE_GLOBAL_ENDPOINT

Accessible with the following methods

Method Description
/AWS1/IF_RT_CONFIG~GET_S3_USE_GLOBAL_ENDPOINT() Getter for S3_USE_GLOBAL_ENDPOINT
/AWS1/IF_RT_CONFIG~SET_S3_USE_GLOBAL_ENDPOINT() Setter for S3_USE_GLOBAL_ENDPOINT

Standard configuration: S3C_USE_ARN_REGION

Accessible with the following methods

Method Description
/AWS1/IF_RT_CONFIG~GET_S3C_USE_ARN_REGION() Getter for S3C_USE_ARN_REGION
/AWS1/IF_RT_CONFIG~SET_S3C_USE_ARN_REGION() Setter for S3C_USE_ARN_REGION

Standard configuration: ACCOUNT_ID_ENDPOINT_MODE

Accessible with the following methods

Method Description
/AWS1/IF_RT_CONFIG~GET_ACCOUNT_ID_ENDPOINT_MODE() Getter for ACCOUNT_ID_ENDPOINT_MODE
/AWS1/IF_RT_CONFIG~SET_ACCOUNT_ID_ENDPOINT_MODE() Setter for ACCOUNT_ID_ENDPOINT_MODE

Standard configuration: S3_USE_ARN_REGION

Accessible with the following methods

Method Description
/AWS1/IF_RT_CONFIG~GET_S3_USE_ARN_REGION() Getter for S3_USE_ARN_REGION
/AWS1/IF_RT_CONFIG~SET_S3_USE_ARN_REGION() Setter for S3_USE_ARN_REGION

Standard configuration: REGION

Accessible with the following methods

Method Description
/AWS1/IF_RT_CONFIG~GET_REGION() Getter for REGION
/AWS1/IF_RT_CONFIG~HAS_REGION() Determine if REGION has a value
/AWS1/IF_RT_CONFIG~SET_REGION() Setter for REGION

Service-Specific Configuration for Amazon Simple Storage Service

Configuration parameter ForcePathStyle

Forces this client to use path-style addressing for buckets.

Accessible with the following methods

Method Description
GET_FORCEPATHSTYLE() Getter for FORCEPATHSTYLE, with configurable default
ASK_FORCEPATHSTYLE() Getter for FORCEPATHSTYLE w/ exceptions if field has no valu
HAS_FORCEPATHSTYLE() Determine if FORCEPATHSTYLE has a value
SET_FORCEPATHSTYLE() Setter for FORCEPATHSTYLE

Configuration parameter UseArnRegion

Enables this client to use an ARN's region when constructing an endpoint instead of the client's configured region.

Accessible with the following methods

Method Description
GET_USEARNREGION() Getter for USEARNREGION, with configurable default
ASK_USEARNREGION() Getter for USEARNREGION w/ exceptions if field has no value
HAS_USEARNREGION() Determine if USEARNREGION has a value
SET_USEARNREGION() Setter for USEARNREGION

Configuration parameter DisableMultiRegionAccessPoints

Disables this client's usage of Multi-Region Access Points.

Accessible with the following methods

Method Description
GET_DSBMULTIREGIONACCPOINTS() Getter for DSBMULTIREGIONACCESSPOINTS, with configurable def
ASK_DSBMULTIREGIONACCPOINTS() Getter for DSBMULTIREGIONACCESSPOINTS w/ exceptions if field
HAS_DSBMULTIREGIONACCPOINTS() Determine if DSBMULTIREGIONACCESSPOINTS has a value
SET_DSBMULTIREGIONACCPOINTS() Setter for DSBMULTIREGIONACCESSPOINTS

Configuration parameter Accelerate

Enables this client to use S3 Transfer Acceleration endpoints.

Accessible with the following methods

Method Description
GET_ACCELERATE() Getter for ACCELERATE, with configurable default
ASK_ACCELERATE() Getter for ACCELERATE w/ exceptions if field has no value
HAS_ACCELERATE() Determine if ACCELERATE has a value
SET_ACCELERATE() Setter for ACCELERATE

Configuration parameter DisableS3ExpressSessionAuth

Disables this client's usage of Session Auth for S3Express buckets and reverts to using conventional SigV4 for those.

Accessible with the following methods

Method Description
GET_DISABLES3EXPRESSSESSAUTH() Getter for DISABLES3EXPRESSSESSIONAUTH, with configurable de
ASK_DISABLES3EXPRESSSESSAUTH() Getter for DISABLES3EXPRESSSESSIONAUTH w/ exceptions if fiel
HAS_DISABLES3EXPRESSSESSAUTH() Determine if DISABLES3EXPRESSSESSIONAUTH has a value
SET_DISABLES3EXPRESSSESSAUTH() Setter for DISABLES3EXPRESSSESSIONAUTH