KmsconfigState class

Input properties used for looking up and filtering Kmsconfig resources.

Constructors

KmsconfigState({Input<String?>? cryptoKeyName, Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? effectiveLabels, Input<String?>? instructions, Input<Map<String, String>?>? labels, Input<String?>? location, Input<String?>? name, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<String?>? serviceAccount})
Creates a new KmsconfigState. cryptoKeyName Resource name of the KMS key to use. Only regional keys are supported. Format: projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{key}}. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description Description for the CMEK policy. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. instructions Access to the key needs to be granted. The instructions contain gcloud commands to run to grant access. labels Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }. location Name of the policy location. CMEK policies apply to the whole region. name Name of the CMEK policy. project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource serviceAccount The Service account which needs to have access to the provided KMS key.
const
KmsconfigState.fromMap(Map<String, dynamic> map)
factory

Properties

cryptoKeyName → Input<String?>?
Resource name of the KMS key to use. Only regional keys are supported. Format: projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{key}}.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
Description for the CMEK policy.
final
effectiveLabels → Input<Map<String, String>?>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
hashCode → int
The hash code for this object.
no setterinherited
instructions → Input<String?>?
Access to the key needs to be granted. The instructions contain gcloud commands to run to grant access. To make the policy work, a CMEK policy check is required, which verifies key access.
final
labels → Input<Map<String, String>?>?
Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }.
final
location → Input<String?>?
Name of the policy location. CMEK policies apply to the whole region.
final
name → Input<String?>?
Name of the CMEK policy.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount → Input<String?>?
The Service account which needs to have access to the provided KMS key.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited