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< ? effectiveLabels, Input<String, String> ?>String?> ? instructions, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? serviceAccount}) -
Creates a new KmsconfigState.
cryptoKeyNameResource name of the KMS key to use. Only regional keys are supported. Format:projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{key}}.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionDescription for the CMEK policy.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.instructionsAccess to the key needs to be granted. The instructions contain gcloud commands to run to grant access.labelsLabels as key value pairs. Example:{ "owner": "Bob", "department": "finance", "purpose": "testing" }.locationName of the policy location. CMEK policies apply to the whole region.nameName of the CMEK policy.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourceserviceAccountThe 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