public static final class CodeSigningConfigProps.Builder
extends java.lang.Object
CodeSigningConfigProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CodeSigningConfigProps |
build()
Builds the configured instance.
|
CodeSigningConfigProps.Builder |
description(java.lang.String description)
Sets the value of
CodeSigningConfigProps.getDescription() |
CodeSigningConfigProps.Builder |
signingProfiles(java.util.List<? extends ISigningProfile> signingProfiles)
Sets the value of
CodeSigningConfigProps.getSigningProfiles() |
CodeSigningConfigProps.Builder |
untrustedArtifactOnDeployment(UntrustedArtifactOnDeployment untrustedArtifactOnDeployment)
Sets the value of
CodeSigningConfigProps.getUntrustedArtifactOnDeployment() |
public CodeSigningConfigProps.Builder signingProfiles(java.util.List<? extends ISigningProfile> signingProfiles)
CodeSigningConfigProps.getSigningProfiles()
signingProfiles
- List of signing profiles that defines a trusted user who can sign a code package. This parameter is required.this
public CodeSigningConfigProps.Builder description(java.lang.String description)
CodeSigningConfigProps.getDescription()
description
- Code signing configuration description.this
public CodeSigningConfigProps.Builder untrustedArtifactOnDeployment(UntrustedArtifactOnDeployment untrustedArtifactOnDeployment)
CodeSigningConfigProps.getUntrustedArtifactOnDeployment()
untrustedArtifactOnDeployment
- 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.this
public CodeSigningConfigProps build()
CodeSigningConfigProps
java.lang.NullPointerException
- if any required attribute was not provided