Class CfnPublicKey

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-02T15:58:22.487Z") @Stability(Stable) public class CfnPublicKey extends CfnResource implements IInspectable
A public key that you can use with signed URLs and signed cookies , or with field-level encryption .

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.cloudfront.*;
 CfnPublicKey cfnPublicKey = CfnPublicKey.Builder.create(this, "MyCfnPublicKey")
         .publicKeyConfig(PublicKeyConfigProperty.builder()
                 .callerReference("callerReference")
                 .encodedKey("encodedKey")
                 .name("name")
                 // the properties below are optional
                 .comment("comment")
                 .build())
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnPublicKey

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

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

      @Stability(Stable) public CfnPublicKey(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnPublicKeyProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details