Lambda.Client.
get_code_signing_config
(**kwargs)¶Returns information about the specified code signing configuration.
See also: AWS API Documentation
Request Syntax
response = client.get_code_signing_config(
CodeSigningConfigArn='string'
)
[REQUIRED]
The The Amazon Resource Name (ARN) of the code signing configuration.
{
'CodeSigningConfig': {
'CodeSigningConfigId': 'string',
'CodeSigningConfigArn': 'string',
'Description': 'string',
'AllowedPublishers': {
'SigningProfileVersionArns': [
'string',
]
},
'CodeSigningPolicies': {
'UntrustedArtifactOnDeployment': 'Warn'|'Enforce'
},
'LastModified': 'string'
}
}
Response Structure
The code signing configuration
Unique identifer for the Code signing configuration.
The Amazon Resource Name (ARN) of the Code signing configuration.
Code signing configuration description.
List of allowed publishers.
The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.
The code signing policy controls the validation failure action for signature mismatch or expiry.
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
The date and time that the Code signing configuration was last modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
Exceptions
Lambda.Client.exceptions.ServiceException
Lambda.Client.exceptions.InvalidParameterValueException
Lambda.Client.exceptions.ResourceNotFoundException