Class CodeSigningPolicies
- java.lang.Object
-
- software.amazon.awssdk.services.lambda.model.CodeSigningPolicies
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CodeSigningPolicies.Builder,CodeSigningPolicies>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CodeSigningPolicies.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
untrustedArtifactOnDeployment
public 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 toWarn
, 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 returnCodeSigningPolicy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromuntrustedArtifactOnDeploymentAsString()
.- Returns:
- 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 toWarn
, Lambda allows the deployment and creates a CloudWatch log.Default value:
Warn
- See Also:
CodeSigningPolicy
-
untrustedArtifactOnDeploymentAsString
public 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 toWarn
, 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 returnCodeSigningPolicy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromuntrustedArtifactOnDeploymentAsString()
.- Returns:
- 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 toWarn
, Lambda allows the deployment and creates a CloudWatch log.Default value:
Warn
- See Also:
CodeSigningPolicy
-
toBuilder
public CodeSigningPolicies.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CodeSigningPolicies.Builder,CodeSigningPolicies>
-
builder
public static CodeSigningPolicies.Builder builder()
-
serializableBuilderClass
public static Class<? extends CodeSigningPolicies.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-