PublicKey constructor

PublicKey(
  1. String name, {
  2. PublicKeyArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new PublicKey. name The Pulumi resource name. args Arguments used to configure this PublicKey. The set of arguments for PublicKey. options Resource options controlling this resource's behavior.

Implementation

PublicKey(
  String name, {
  PublicKeyArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:cloudfront/publicKey:PublicKey',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  callerReference = registerOutput<String>('callerReference');
  comment = registerOutput<String?>('comment');
  encodedKey = registerOutput<String>('encodedKey');
  etag = registerOutput<String>('etag');
  this.name = registerOutput<String>('name');
  namePrefix = registerOutput<String>('namePrefix');
}