Struct aws_sdk_lambda::types::builders::CodeSigningPoliciesBuilder
source · #[non_exhaustive]pub struct CodeSigningPoliciesBuilder { /* private fields */ }Expand description
A builder for CodeSigningPolicies.
Implementations§
source§impl CodeSigningPoliciesBuilder
impl CodeSigningPoliciesBuilder
sourcepub fn untrusted_artifact_on_deployment(self, input: CodeSigningPolicy) -> Self
pub fn untrusted_artifact_on_deployment(self, input: CodeSigningPolicy) -> Self
Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if signature validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log.
Default value: Warn
sourcepub fn set_untrusted_artifact_on_deployment(
self,
input: Option<CodeSigningPolicy>,
) -> Self
pub fn set_untrusted_artifact_on_deployment( self, input: Option<CodeSigningPolicy>, ) -> Self
Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if signature validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log.
Default value: Warn
sourcepub fn get_untrusted_artifact_on_deployment(&self) -> &Option<CodeSigningPolicy>
pub fn get_untrusted_artifact_on_deployment(&self) -> &Option<CodeSigningPolicy>
Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if signature validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log.
Default value: Warn
sourcepub fn build(self) -> CodeSigningPolicies
pub fn build(self) -> CodeSigningPolicies
Consumes the builder and constructs a CodeSigningPolicies.
Trait Implementations§
source§impl Clone for CodeSigningPoliciesBuilder
impl Clone for CodeSigningPoliciesBuilder
source§fn clone(&self) -> CodeSigningPoliciesBuilder
fn clone(&self) -> CodeSigningPoliciesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CodeSigningPoliciesBuilder
impl Debug for CodeSigningPoliciesBuilder
source§impl Default for CodeSigningPoliciesBuilder
impl Default for CodeSigningPoliciesBuilder
source§fn default() -> CodeSigningPoliciesBuilder
fn default() -> CodeSigningPoliciesBuilder
impl StructuralPartialEq for CodeSigningPoliciesBuilder
Auto Trait Implementations§
impl Freeze for CodeSigningPoliciesBuilder
impl RefUnwindSafe for CodeSigningPoliciesBuilder
impl Send for CodeSigningPoliciesBuilder
impl Sync for CodeSigningPoliciesBuilder
impl Unpin for CodeSigningPoliciesBuilder
impl UnwindSafe for CodeSigningPoliciesBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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