Skip to content

googleTagsTagValue

Get a tag value by parent key and shortName.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.dataGoogleTagsTagValue.DataGoogleTagsTagValue(
  this,
  "environment_prod_tag_value",
  {
    parent: "tagKeys/56789",
    short_name: "production",
  }
);

Argument Reference

The following arguments are supported:

  • shortName - (Required) The tag value's short_name.

  • parent - (Required) The resource name of the parent tagKey in format tagKey/{name}.

Attributes Reference

In addition to the arguments listed above, the following attributes are exported:

  • id - an identifier for the resource with format tagValues/{{name}}

  • name - The generated numeric id for the TagValue.

  • namespacedName - Namespaced name of the TagValue.

  • createTime - Creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

  • updateTime - Update time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".