@Experimental(value=SOURCE_SINK) public interface AwsOptions extends PipelineOptions
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
AwsOptions.AwsUserCredentialsFactory
Attempts to load AWS credentials. 
 | 
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.UserAgentFactory| Modifier and Type | Method and Description | 
|---|---|
software.amazon.awssdk.auth.credentials.AwsCredentialsProvider | 
getAwsCredentialsProvider()
The credential instance that should be used to authenticate against AWS services. 
 | 
java.lang.String | 
getEndpoint()
The AWS service endpoint used by the AWS client. 
 | 
software.amazon.awssdk.http.apache.ProxyConfiguration | 
getProxyConfiguration()
The client configuration instance that should be used to configure AWS service clients. 
 | 
java.lang.String | 
getRegion()
AWS region used by the AWS client. 
 | 
void | 
setAwsCredentialsProvider(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider value)  | 
void | 
setEndpoint(java.lang.String value)  | 
void | 
setProxyConfiguration(software.amazon.awssdk.http.apache.ProxyConfiguration value)  | 
void | 
setRegion(java.lang.String value)  | 
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgentpopulateDisplayData@Validation.Required java.lang.String getRegion()
void setRegion(java.lang.String value)
java.lang.String getEndpoint()
void setEndpoint(java.lang.String value)
@Default.InstanceFactory(value=AwsOptions.AwsUserCredentialsFactory.class) software.amazon.awssdk.auth.credentials.AwsCredentialsProvider getAwsCredentialsProvider()
DefaultCredentialsProvider Javadoc for usage help.
 For example, to specify the AWS key ID and secret, specify the following: 
 {"@type" : "AWSStaticCredentialsProvider", "awsAccessKeyId" : "key_id_value",
 "awsSecretKey" : "secret_value"}
 
void setAwsCredentialsProvider(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider value)
software.amazon.awssdk.http.apache.ProxyConfiguration getProxyConfiguration()
For example, to specify the proxy endpoint, username and password, specify the following:
 
 --proxyConfiguration={
   "endpoint": "http://hostname:port",
   "username": "username",
   "password": "password"
 }
 
void setProxyConfiguration(software.amazon.awssdk.http.apache.ProxyConfiguration value)