Struct aws_sdk_sagemaker::types::S3Presign
source · #[non_exhaustive]pub struct S3Presign {
pub iam_policy_constraints: Option<IamPolicyConstraints>,
}
Expand description
This object defines the access restrictions to Amazon S3 resources that are included in custom worker task templates using the Liquid filter, grant_read_access
.
To learn more about how custom templates are created, see Create custom worker task templates.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.iam_policy_constraints: Option<IamPolicyConstraints>
Use this parameter to specify the allowed request source. Possible sources are either SourceIp
or VpcSourceIp
.
Implementations§
source§impl S3Presign
impl S3Presign
sourcepub fn iam_policy_constraints(&self) -> Option<&IamPolicyConstraints>
pub fn iam_policy_constraints(&self) -> Option<&IamPolicyConstraints>
Use this parameter to specify the allowed request source. Possible sources are either SourceIp
or VpcSourceIp
.
Trait Implementations§
impl StructuralPartialEq for S3Presign
Auto Trait Implementations§
impl Freeze for S3Presign
impl RefUnwindSafe for S3Presign
impl Send for S3Presign
impl Sync for S3Presign
impl Unpin for S3Presign
impl UnwindSafe for S3Presign
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.