Struct dataflow_types::sources::AwsConfig [−][src]
pub struct AwsConfig {
pub credentials: AwsCredentials,
pub region: Option<String>,
pub role: Option<AwsAssumeRole>,
pub endpoint: Option<SerdeUri>,
}
Expand description
AWS configuration overrides for a source or sink.
This is a distinct type from any of the configuration types built into the
AWS SDK so that we can implement Serialize
and Deserialize
.
Fields
credentials: AwsCredentials
AWS Credentials, or where to find them
region: Option<String>
The AWS region to use.
Uses the default region (looking at env vars, config files, etc) if not provided.
role: Option<AwsAssumeRole>
The AWS role to assume.
endpoint: Option<SerdeUri>
The custom AWS endpoint to use, if any.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for AwsConfig
impl UnwindSafe for AwsConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more