Class AWSConfigConstants
- java.lang.Object
-
- org.apache.flink.connector.aws.config.AWSConfigConstants
-
@PublicEvolving public class AWSConfigConstants extends Object
Configuration keys for AWS service usage.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAWSConfigConstants.CredentialProviderPossible configuration values for the type of credential provider to use when accessing AWS.
-
Field Summary
Fields Modifier and Type Field Description static StringAWS_ACCESS_KEY_IDThe AWS access key ID to use when setting credentials provider type to BASIC.static StringAWS_CREDENTIALS_PROVIDERThe credential provider type to use when AWS credentials are required (BASIC is used if not set).static StringAWS_ENDPOINTThe AWS endpoint for the service (derived from the AWS region setting if not set).static StringAWS_PROFILE_NAMEOptional configuration for profile name if credential provider type is set to be PROFILE.static StringAWS_PROFILE_PATHOptional configuration for profile path if credential provider type is set to be PROFILE.static StringAWS_REGIONThe AWS region of the service ("us-east-1" is used if not set).static StringAWS_ROLE_ARNThe role ARN to use when credential provider type is set to ASSUME_ROLE or WEB_IDENTITY_TOKEN.static StringAWS_ROLE_CREDENTIALS_PROVIDERThe credentials provider that provides credentials for assuming the role when credential provider type is set to ASSUME_ROLE.static StringAWS_ROLE_EXTERNAL_IDThe external ID to use when credential provider type is set to ASSUME_ROLE.static StringAWS_ROLE_SESSION_NAMEThe role session name to use when credential provider type is set to ASSUME_ROLE or WEB_IDENTITY_TOKEN.static StringAWS_ROLE_STS_ENDPOINTThe AWS endpoint for the STS (derived from the AWS region setting if not set) to use if credential provider type is set to be ASSUME_ROLE.static StringAWS_SECRET_ACCESS_KEYThe AWS secret key to use when setting credentials provider type to BASIC.static StringAWS_WEB_IDENTITY_TOKEN_FILEThe absolute path to the web identity token file that should be used if provider type is set to WEB_IDENTITY_TOKEN.static StringCUSTOM_CREDENTIALS_PROVIDER_CLASSThe full path (e.g.static StringHTTP_CLIENT_MAX_CONCURRENCYMaximum request concurrency forSdkAsyncHttpClient.static StringHTTP_CLIENT_READ_TIMEOUT_MILLISRead Request timeout forSdkAsyncHttpClient.static StringHTTP_PROTOCOL_VERSIONThe HTTP protocol version to use.static StringTRUST_ALL_CERTIFICATESWhether to trust all SSL certificates.
-
Constructor Summary
Constructors Constructor Description AWSConfigConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringaccessKeyId(String prefix)static StringcustomCredentialsProviderClass(String prefix)static StringexternalId(String prefix)static StringprofileName(String prefix)static StringprofilePath(String prefix)static StringroleArn(String prefix)static StringroleCredentialsProvider(String prefix)static StringroleSessionName(String prefix)static StringroleStsEndpoint(String prefix)static StringsecretKey(String prefix)static StringwebIdentityTokenFile(String prefix)
-
-
-
Field Detail
-
AWS_REGION
public static final String AWS_REGION
The AWS region of the service ("us-east-1" is used if not set).- See Also:
- Constant Field Values
-
AWS_CREDENTIALS_PROVIDER
public static final String AWS_CREDENTIALS_PROVIDER
The credential provider type to use when AWS credentials are required (BASIC is used if not set).- See Also:
- Constant Field Values
-
AWS_ACCESS_KEY_ID
public static final String AWS_ACCESS_KEY_ID
The AWS access key ID to use when setting credentials provider type to BASIC.
-
AWS_SECRET_ACCESS_KEY
public static final String AWS_SECRET_ACCESS_KEY
The AWS secret key to use when setting credentials provider type to BASIC.
-
AWS_PROFILE_PATH
public static final String AWS_PROFILE_PATH
Optional configuration for profile path if credential provider type is set to be PROFILE.
-
AWS_PROFILE_NAME
public static final String AWS_PROFILE_NAME
Optional configuration for profile name if credential provider type is set to be PROFILE.
-
AWS_ROLE_STS_ENDPOINT
public static final String AWS_ROLE_STS_ENDPOINT
The AWS endpoint for the STS (derived from the AWS region setting if not set) to use if credential provider type is set to be ASSUME_ROLE.
-
CUSTOM_CREDENTIALS_PROVIDER_CLASS
public static final String CUSTOM_CREDENTIALS_PROVIDER_CLASS
The full path (e.g. org.user_company.auth.CustomAwsCredentialsProvider) to the user provided class to use if credential provider type is set to be CUSTOM.
-
AWS_ROLE_ARN
public static final String AWS_ROLE_ARN
The role ARN to use when credential provider type is set to ASSUME_ROLE or WEB_IDENTITY_TOKEN.
-
AWS_ROLE_SESSION_NAME
public static final String AWS_ROLE_SESSION_NAME
The role session name to use when credential provider type is set to ASSUME_ROLE or WEB_IDENTITY_TOKEN.
-
AWS_ROLE_EXTERNAL_ID
public static final String AWS_ROLE_EXTERNAL_ID
The external ID to use when credential provider type is set to ASSUME_ROLE.
-
AWS_WEB_IDENTITY_TOKEN_FILE
public static final String AWS_WEB_IDENTITY_TOKEN_FILE
The absolute path to the web identity token file that should be used if provider type is set to WEB_IDENTITY_TOKEN.
-
AWS_ROLE_CREDENTIALS_PROVIDER
public static final String AWS_ROLE_CREDENTIALS_PROVIDER
The credentials provider that provides credentials for assuming the role when credential provider type is set to ASSUME_ROLE. Roles can be nested, so AWS_ROLE_CREDENTIALS_PROVIDER can again be set to "ASSUME_ROLE"
-
AWS_ENDPOINT
public static final String AWS_ENDPOINT
The AWS endpoint for the service (derived from the AWS region setting if not set).- See Also:
- Constant Field Values
-
TRUST_ALL_CERTIFICATES
public static final String TRUST_ALL_CERTIFICATES
Whether to trust all SSL certificates.- See Also:
- Constant Field Values
-
HTTP_PROTOCOL_VERSION
public static final String HTTP_PROTOCOL_VERSION
The HTTP protocol version to use.- See Also:
- Constant Field Values
-
HTTP_CLIENT_MAX_CONCURRENCY
public static final String HTTP_CLIENT_MAX_CONCURRENCY
Maximum request concurrency forSdkAsyncHttpClient.- See Also:
- Constant Field Values
-
HTTP_CLIENT_READ_TIMEOUT_MILLIS
public static final String HTTP_CLIENT_READ_TIMEOUT_MILLIS
Read Request timeout forSdkAsyncHttpClient.- See Also:
- Constant Field Values
-
-