#[non_exhaustive]pub struct DataLakeAccessProperties {
pub data_lake_access: bool,
pub data_transfer_role: Option<String>,
pub kms_key: Option<String>,
pub catalog_type: Option<String>,
}Expand description
Input properties to configure data lake access for your catalog resource in the Glue Data Catalog.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data_lake_access: boolTurns on or off data lake access for Apache Spark applications that access Amazon Redshift databases in the Data Catalog from any non-Redshift engine, such as Amazon Athena, Amazon EMR, or Glue ETL.
data_transfer_role: Option<String>A role that will be assumed by Glue for transferring data into/out of the staging bucket during a query.
kms_key: Option<String>An encryption key that will be used for the staging bucket that will be created along with the catalog.
catalog_type: Option<String>Specifies a federated catalog type for the native catalog resource. The currently supported type is aws:redshift.
Implementations§
Source§impl DataLakeAccessProperties
impl DataLakeAccessProperties
Sourcepub fn data_lake_access(&self) -> bool
pub fn data_lake_access(&self) -> bool
Turns on or off data lake access for Apache Spark applications that access Amazon Redshift databases in the Data Catalog from any non-Redshift engine, such as Amazon Athena, Amazon EMR, or Glue ETL.
Sourcepub fn data_transfer_role(&self) -> Option<&str>
pub fn data_transfer_role(&self) -> Option<&str>
A role that will be assumed by Glue for transferring data into/out of the staging bucket during a query.
Sourcepub fn kms_key(&self) -> Option<&str>
pub fn kms_key(&self) -> Option<&str>
An encryption key that will be used for the staging bucket that will be created along with the catalog.
Sourcepub fn catalog_type(&self) -> Option<&str>
pub fn catalog_type(&self) -> Option<&str>
Specifies a federated catalog type for the native catalog resource. The currently supported type is aws:redshift.
Source§impl DataLakeAccessProperties
impl DataLakeAccessProperties
Sourcepub fn builder() -> DataLakeAccessPropertiesBuilder
pub fn builder() -> DataLakeAccessPropertiesBuilder
Creates a new builder-style object to manufacture DataLakeAccessProperties.
Trait Implementations§
Source§impl Clone for DataLakeAccessProperties
impl Clone for DataLakeAccessProperties
Source§fn clone(&self) -> DataLakeAccessProperties
fn clone(&self) -> DataLakeAccessProperties
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DataLakeAccessProperties
impl Debug for DataLakeAccessProperties
Source§impl PartialEq for DataLakeAccessProperties
impl PartialEq for DataLakeAccessProperties
Source§fn eq(&self, other: &DataLakeAccessProperties) -> bool
fn eq(&self, other: &DataLakeAccessProperties) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DataLakeAccessProperties
Auto Trait Implementations§
impl Freeze for DataLakeAccessProperties
impl RefUnwindSafe for DataLakeAccessProperties
impl Send for DataLakeAccessProperties
impl Sync for DataLakeAccessProperties
impl Unpin for DataLakeAccessProperties
impl UnsafeUnpin for DataLakeAccessProperties
impl UnwindSafe for DataLakeAccessProperties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more