@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.381Z") @Stability(value=Stable) public class CfnCodeSigningConfig extends CfnResource implements IInspectable
Details about a Code signing configuration .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
CfnCodeSigningConfig cfnCodeSigningConfig = CfnCodeSigningConfig.Builder.create(this, "MyCfnCodeSigningConfig")
.allowedPublishers(AllowedPublishersProperty.builder()
.signingProfileVersionArns(List.of("signingProfileVersionArns"))
.build())
// the properties below are optional
.codeSigningPolicies(CodeSigningPoliciesProperty.builder()
.untrustedArtifactOnDeployment("untrustedArtifactOnDeployment")
.build())
.description("description")
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnCodeSigningConfig.AllowedPublishersProperty
List of signing profiles that can sign a code package.
|
static class |
CfnCodeSigningConfig.Builder
A fluent builder for
CfnCodeSigningConfig. |
static interface |
CfnCodeSigningConfig.CodeSigningPoliciesProperty
Code signing configuration [policies](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies) specify the validation failure action for signature mismatch or expiry.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnCodeSigningConfig(software.constructs.Construct scope,
String id,
CfnCodeSigningConfigProps props)
Create a new `AWS::Lambda::CodeSigningConfig`.
|
protected |
CfnCodeSigningConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnCodeSigningConfig(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAllowedPublishers()
List of allowed publishers.
|
String |
getAttrCodeSigningConfigArn()
The Amazon Resource Name (ARN) of the code signing configuration.
|
String |
getAttrCodeSigningConfigId()
The code signing configuration ID.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getCodeSigningPolicies()
The code signing policy controls the validation failure action for signature mismatch or expiry.
|
String |
getDescription()
Code signing configuration description.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAllowedPublishers(CfnCodeSigningConfig.AllowedPublishersProperty value)
List of allowed publishers.
|
void |
setAllowedPublishers(IResolvable value)
List of allowed publishers.
|
void |
setCodeSigningPolicies(CfnCodeSigningConfig.CodeSigningPoliciesProperty value)
The code signing policy controls the validation failure action for signature mismatch or expiry.
|
void |
setCodeSigningPolicies(IResolvable value)
The code signing policy controls the validation failure action for signature mismatch or expiry.
|
void |
setDescription(String value)
Code signing configuration description.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnCodeSigningConfig(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCodeSigningConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnCodeSigningConfig(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnCodeSigningConfigProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrCodeSigningConfigArn()
@Stability(value=Stable) @NotNull public String getAttrCodeSigningConfigId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getAllowedPublishers()
@Stability(value=Stable)
public void setAllowedPublishers(@NotNull
CfnCodeSigningConfig.AllowedPublishersProperty value)
@Stability(value=Stable)
public void setAllowedPublishers(@NotNull
IResolvable value)
@Stability(value=Stable) @Nullable public Object getCodeSigningPolicies()
@Stability(value=Stable)
public void setCodeSigningPolicies(@Nullable
CfnCodeSigningConfig.CodeSigningPoliciesProperty value)
@Stability(value=Stable)
public void setCodeSigningPolicies(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.