@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeSigningPolicies extends Object implements Serializable, Cloneable, StructuredPojo
Code signing configuration policies specify the validation failure action for signature mismatch or expiry.
Constructor and Description |
---|
CodeSigningPolicies() |
Modifier and Type | Method and Description |
---|---|
CodeSigningPolicies |
clone() |
boolean |
equals(Object obj) |
String |
getUntrustedArtifactOnDeployment()
Code signing configuration policy for deployment validation failure.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUntrustedArtifactOnDeployment(String untrustedArtifactOnDeployment)
Code signing configuration policy for deployment validation failure.
|
String |
toString()
Returns a string representation of this object.
|
CodeSigningPolicies |
withUntrustedArtifactOnDeployment(CodeSigningPolicy untrustedArtifactOnDeployment)
Code signing configuration policy for deployment validation failure.
|
CodeSigningPolicies |
withUntrustedArtifactOnDeployment(String untrustedArtifactOnDeployment)
Code signing configuration policy for deployment validation failure.
|
public void setUntrustedArtifactOnDeployment(String 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.
Default value: Warn
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.
Default value: Warn
CodeSigningPolicy
public String getUntrustedArtifactOnDeployment()
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
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
CodeSigningPolicy
public CodeSigningPolicies withUntrustedArtifactOnDeployment(String 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.
Default value: Warn
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.
Default value: Warn
CodeSigningPolicy
public CodeSigningPolicies withUntrustedArtifactOnDeployment(CodeSigningPolicy 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.
Default value: Warn
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.
Default value: Warn
CodeSigningPolicy
public String toString()
toString
in class Object
Object.toString()
public CodeSigningPolicies clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.