Class SigningProfile

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.signer.SigningProfile
All Implemented Interfaces:
IResource, ISigningProfile, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:37.684Z") @Stability(Stable) public class SigningProfile extends Resource implements ISigningProfile
Defines a Signing Profile.

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();
 
  • Constructor Details

    • SigningProfile

      protected SigningProfile(software.amazon.jsii.JsiiObjectRef objRef)
    • SigningProfile

      protected SigningProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • SigningProfile

      @Stability(Stable) public SigningProfile(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull SigningProfileProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromSigningProfileAttributes

      @Stability(Stable) @NotNull public static ISigningProfile fromSigningProfileAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull SigningProfileAttributes attrs)
      Creates a Signing Profile construct that represents an external Signing Profile.

      Parameters:
      scope - The parent creating construct (usually this). This parameter is required.
      id - The construct's name. This parameter is required.
      attrs - A SigningProfileAttributes object. This parameter is required.
    • getSigningProfileArn

      @Stability(Stable) @NotNull public String getSigningProfileArn()
      The ARN of the signing profile.
      Specified by:
      getSigningProfileArn in interface ISigningProfile
    • getSigningProfileName

      @Stability(Stable) @NotNull public String getSigningProfileName()
      The name of signing profile.
      Specified by:
      getSigningProfileName in interface ISigningProfile
    • getSigningProfileVersion

      @Stability(Stable) @NotNull public String getSigningProfileVersion()
      The version of signing profile.
      Specified by:
      getSigningProfileVersion in interface ISigningProfile
    • getSigningProfileVersionArn

      @Stability(Stable) @NotNull public String getSigningProfileVersionArn()
      The ARN of signing profile version.
      Specified by:
      getSigningProfileVersionArn in interface ISigningProfile