Interface KeyGroupProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.719Z") @Stability(Stable) public interface KeyGroupProps extends
Properties for creating a Public Key.


 // Validating signed URLs or signed cookies with Trusted Key Groups
 // public key in PEM format
 String publicKey;
 PublicKey pubKey = PublicKey.Builder.create(this, "MyPubKey")
 KeyGroup keyGroup = KeyGroup.Builder.create(this, "MyKeyGroup")
 Distribution.Builder.create(this, "Dist")
                 .origin(new HttpOrigin(""))
  • Method Details

    • getItems

      @Stability(Stable) @NotNull List<IPublicKey> getItems()
      A list of public keys to add to the key group.
    • getComment

      @Stability(Stable) @Nullable default String getComment()
      A comment to describe the key group.

      Default: - no comment

    • getKeyGroupName

      @Stability(Stable) @Nullable default String getKeyGroupName()
      A name to identify the key group.

      Default: - generated from the `id`

    • builder

      @Stability(Stable) static KeyGroupProps.Builder builder()
      a KeyGroupProps.Builder of KeyGroupProps