Class Platform

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.signer.Platform
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:37.684Z") @Stability(Stable) public class Platform extends software.amazon.jsii.JsiiObject
Platforms that are allowed with 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();
 

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Platform
    Specification of signature format and signing algorithms with SHA256 hash and ECDSA encryption for Amazon FreeRTOS.
    static final Platform
    Specification of signature format and signing algorithms with SHA1 hash and RSA encryption for Amazon FreeRTOS.
    static final Platform
    Specification of signature format and signing algorithms for AWS IoT Device.
    static final Platform
    Specification of signature format and signing algorithms for AWS Lambda.
    static final Platform
    Specification of signature format and signing algorithms with SHA256 hash and ECDSA encryption for container registries with notation.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Platform(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Platform(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The id of signing platform.
    static Platform
    of(String platformId)
    Custom signing profile platform.

    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, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • AMAZON_FREE_RTOS_DEFAULT

      @Stability(Stable) public static final Platform AMAZON_FREE_RTOS_DEFAULT
      Specification of signature format and signing algorithms with SHA256 hash and ECDSA encryption for Amazon FreeRTOS.
    • AMAZON_FREE_RTOS_TI_CC3220_SF

      @Stability(Stable) public static final Platform AMAZON_FREE_RTOS_TI_CC3220_SF
      Specification of signature format and signing algorithms with SHA1 hash and RSA encryption for Amazon FreeRTOS.
    • AWS_IOT_DEVICE_MANAGEMENT_SHA256_ECDSA

      @Stability(Stable) public static final Platform AWS_IOT_DEVICE_MANAGEMENT_SHA256_ECDSA
      Specification of signature format and signing algorithms for AWS IoT Device.
    • AWS_LAMBDA_SHA384_ECDSA

      @Stability(Stable) public static final Platform AWS_LAMBDA_SHA384_ECDSA
      Specification of signature format and signing algorithms for AWS Lambda.
    • NOTATION_OCI_SHA384_ECDSA

      @Stability(Stable) public static final Platform NOTATION_OCI_SHA384_ECDSA
      Specification of signature format and signing algorithms with SHA256 hash and ECDSA encryption for container registries with notation.
  • Constructor Details

    • Platform

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

      protected Platform(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details