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
source§impl PartialEq for CodeSigningPoliciesBuilder
impl PartialEq for CodeSigningPoliciesBuilder
source§fn eq(&self, other: &CodeSigningPoliciesBuilder) -> bool
fn eq(&self, other: &CodeSigningPoliciesBuilder) -> bool
self and other values to be equal, and is used
by ==.