Class CodeSigningConfig
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.lambda.CodeSigningConfig
- All Implemented Interfaces:
IResource
,ICodeSigningConfig
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:56:01.076Z")
@Stability(Stable)
public class CodeSigningConfig
extends Resource
implements ICodeSigningConfig
Defines a Code Signing Config.
Example:
import software.amazon.awscdk.services.signer.*; SigningProfile signingProfile = SigningProfile.Builder.create(this, "SigningProfile") .platform(Platform.AWS_LAMBDA_SHA384_ECDSA) .build(); CodeSigningConfig codeSigningConfig = CodeSigningConfig.Builder.create(this, "CodeSigningConfig") .signingProfiles(List.of(signingProfile)) .build(); Function.Builder.create(this, "Function") .codeSigningConfig(codeSigningConfig) .runtime(Runtime.NODEJS_18_X) .handler("index.handler") .code(Code.fromAsset(join(__dirname, "lambda-handler"))) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.ICodeSigningConfig
ICodeSigningConfig.Jsii$Default, ICodeSigningConfig.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
CodeSigningConfig
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CodeSigningConfig
(software.amazon.jsii.JsiiObjectRef objRef) CodeSigningConfig
(software.constructs.Construct scope, String id, CodeSigningConfigProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic ICodeSigningConfig
fromCodeSigningConfigArn
(software.constructs.Construct scope, String id, String codeSigningConfigArn) Creates a Signing Profile construct that represents an external Signing Profile.The ARN of Code Signing Config.The id of Code Signing Config.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CodeSigningConfig
protected CodeSigningConfig(software.amazon.jsii.JsiiObjectRef objRef) -
CodeSigningConfig
protected CodeSigningConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CodeSigningConfig
@Stability(Stable) public CodeSigningConfig(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CodeSigningConfigProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.
-
-
Method Details
-
fromCodeSigningConfigArn
@Stability(Stable) @NotNull public static ICodeSigningConfig fromCodeSigningConfigArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String codeSigningConfigArn) Creates a Signing Profile construct that represents an external Signing Profile.- Parameters:
scope
- The parent creating construct (usuallythis
). This parameter is required.id
- The construct's name. This parameter is required.codeSigningConfigArn
- The ARN of code signing config. This parameter is required.
-
getCodeSigningConfigArn
The ARN of Code Signing Config.- Specified by:
getCodeSigningConfigArn
in interfaceICodeSigningConfig
-
getCodeSigningConfigId
The id of Code Signing Config.- Specified by:
getCodeSigningConfigId
in interfaceICodeSigningConfig
-