@Generated(value="software.amazon.awssdk:codegen") public final class CodeSigningPolicies extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeSigningPolicies.Builder,CodeSigningPolicies>
Code signing configuration policies specify the validation failure action for signature mismatch or expiry.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CodeSigningPolicies.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CodeSigningPolicies.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CodeSigningPolicies.Builder> |
serializableBuilderClass() |
CodeSigningPolicies.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
CodeSigningPolicy |
untrustedArtifactOnDeployment()
Code signing configuration policy for deployment validation failure.
|
String |
untrustedArtifactOnDeploymentAsString()
Code signing configuration policy for deployment validation failure.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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
If the service returns an enum value that is not available in the current SDK version,
untrustedArtifactOnDeployment will return CodeSigningPolicy.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from untrustedArtifactOnDeploymentAsString().
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
CodeSigningPolicypublic final String untrustedArtifactOnDeploymentAsString()
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
If the service returns an enum value that is not available in the current SDK version,
untrustedArtifactOnDeployment will return CodeSigningPolicy.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from untrustedArtifactOnDeploymentAsString().
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
CodeSigningPolicypublic CodeSigningPolicies.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CodeSigningPolicies.Builder,CodeSigningPolicies>public static CodeSigningPolicies.Builder builder()
public static Class<? extends CodeSigningPolicies.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.