Skip to content

/AWS1/CL_S3C_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: 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: 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_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: 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: 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

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: 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: 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: 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: 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: 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: 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

Service-Specific Configuration for AWS S3 Control

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