pub struct SandboxBuildRole<'a> { /* private fields */ }Expand description
The values one sandbox’s build role is resolved against.
Implementations§
Source§impl<'a> SandboxBuildRole<'a>
impl<'a> SandboxBuildRole<'a>
Sourcepub fn builder() -> SandboxBuildRoleBuilder<'a>
pub fn builder() -> SandboxBuildRoleBuilder<'a>
Create an instance of SandboxBuildRole using the builder syntax
Source§impl SandboxBuildRole<'_>
impl SandboxBuildRole<'_>
Sourcepub fn policy(&self) -> Result<SandboxBuildPolicy>
pub fn policy(&self) -> Result<SandboxBuildPolicy>
Read the bundle, and pull the declared private base image. No logs grant: every path builds the image with logging disabled.
A Frozen image is built once from the named object; a runtime rebuild reads a new key under the same stable prefix, so a Live role reads the prefix and is refused when there is none.
Sourcepub fn trust_policy(&self) -> SandboxBuildTrustPolicy
pub fn trust_policy(&self) -> SandboxBuildTrustPolicy
Lambda, and only on behalf of this account: AWS’s confused-deputy guidance for the role.
Trait Implementations§
Source§impl<'a> Clone for SandboxBuildRole<'a>
impl<'a> Clone for SandboxBuildRole<'a>
Auto Trait Implementations§
impl<'a> Freeze for SandboxBuildRole<'a>
impl<'a> RefUnwindSafe for SandboxBuildRole<'a>
impl<'a> Send for SandboxBuildRole<'a>
impl<'a> Sync for SandboxBuildRole<'a>
impl<'a> Unpin for SandboxBuildRole<'a>
impl<'a> UnsafeUnpin for SandboxBuildRole<'a>
impl<'a> UnwindSafe for SandboxBuildRole<'a>
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