CryptoKeyState constructor

const CryptoKeyState({
  1. Input<String?>? cryptoKeyBackend,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? destroyScheduledDuration,
  4. Input<Map<String, String>?>? effectiveLabels,
  5. Input<bool?>? importOnly,
  6. Input<CryptoKeyKeyAccessJustificationsPolicy?>? keyAccessJustificationsPolicy,
  7. Input<String?>? keyRing,
  8. Input<Map<String, String>?>? labels,
  9. Input<String?>? name,
  10. Input<List<CryptoKeyPrimary>?>? primaries,
  11. Input<Map<String, String>?>? pulumiLabels,
  12. Input<String?>? purpose,
  13. Input<String?>? rotationPeriod,
  14. Input<bool?>? skipInitialVersionCreation,
  15. Input<CryptoKeyVersionTemplate?>? versionTemplate,
})

Creates a new CryptoKeyState. cryptoKeyBackend The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. destroyScheduledDuration The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. importOnly Whether this key may contain imported versions only. keyAccessJustificationsPolicy (Optional, Beta) keyRing The KeyRing that this key belongs to. labels Labels with user-defined metadata to apply to this resource. name The resource name for the CryptoKey. primaries A copy of the primary CryptoKeyVersion that will be used by cryptoKeys.encrypt when this CryptoKey is given in EncryptRequest.name. pulumiLabels The combination of labels configured directly on the resource purpose The immutable purpose of this CryptoKey. See the rotationPeriod Every time this period passes, generate a new CryptoKeyVersion and set it as the primary. skipInitialVersionCreation If set to true, the request will create a CryptoKey without any CryptoKeyVersions. versionTemplate A template describing settings for new crypto key versions.

Implementation

const CryptoKeyState({
  this.cryptoKeyBackend,
  this.deletionPolicy,
  this.destroyScheduledDuration,
  this.effectiveLabels,
  this.importOnly,
  this.keyAccessJustificationsPolicy,
  this.keyRing,
  this.labels,
  this.name,
  this.primaries,
  this.pulumiLabels,
  this.purpose,
  this.rotationPeriod,
  this.skipInitialVersionCreation,
  this.versionTemplate,
});