PublicKeyArgs constructor

const PublicKeyArgs({
  1. Input<String?>? comment,
  2. required Input<String> encodedKey,
  3. Input<String?>? name,
  4. Input<String?>? namePrefix,
})

Creates a new PublicKeyArgs. comment An optional comment about the public key. encodedKey The encoded public key that you want to add to CloudFront to use with features like field-level encryption. name The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. Instead, it is recommended to use Pulumi autonaming by leaving this property unset (default behavior) or set the namePrefix property to allow the provider to autoname the resource. namePrefix The name for the public key. Conflicts with name.

Implementation

const PublicKeyArgs({
  this.comment,
  required this.encodedKey,
  this.name,
  this.namePrefix,
});