permalink |
---|
/healthcare_dataset_iam_binding/ |
healthcare_dataset_iam_binding
represents the google_healthcare_dataset_iam_binding
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withCondition()
fn withConditionMixin()
fn withDatasetId()
fn withMembers()
fn withRole()
obj condition
new()
google.healthcare_dataset_iam_binding.new
injects a new google_healthcare_dataset_iam_binding
Terraform resource
block into the root module document.
Additionally, this inserts a private function into the _ref
attribute that generates references to attributes of the
resource. For example, if you added a new instance to the root using:
# arguments omitted for brevity
google.healthcare_dataset_iam_binding.new('some_id')
You can get the reference to the id
field of the created google.healthcare_dataset_iam_binding
using the reference:
$._ref.google_healthcare_dataset_iam_binding.some_id.get('id')
This is the same as directly entering "${ google_healthcare_dataset_iam_binding.some_id.id }"
as the value.
NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use super
, self
,
or $
to refer to the root object. Instead, make an explicit outer object using local
.
Args:
resourceLabel
(string
): The name label of the block.dataset_id
(string
): Set thedataset_id
field on the resulting resource block.members
(list
): Set themembers
field on the resulting resource block.role
(string
): Set therole
field on the resulting resource block.condition
(list[obj]
): Set thecondition
field on the resulting resource block. Whennull
, thecondition
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the google.healthcare_dataset_iam_binding.condition.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
google.healthcare_dataset_iam_binding.newAttrs
constructs a new object with attributes and blocks configured for the healthcare_dataset_iam_binding
Terraform resource.
Unlike google.healthcare_dataset_iam_binding.new, this function will not inject the resource
block into the root Terraform document. Instead, this must be passed in as the attrs
argument for the
tf.withResource function to build a complete block.
This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to injecting into a complete block.
Args:
dataset_id
(string
): Set thedataset_id
field on the resulting object.members
(list
): Set themembers
field on the resulting object.role
(string
): Set therole
field on the resulting object.condition
(list[obj]
): Set thecondition
field on the resulting object. Whennull
, thecondition
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the google.healthcare_dataset_iam_binding.condition.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
healthcare_dataset_iam_binding
resource into the root Terraform configuration.
withCondition()
google.list[obj].withCondition
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the condition field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the google.list[obj].withConditionMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecondition
field.
withConditionMixin()
google.list[obj].withConditionMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the condition field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the google.list[obj].withCondition
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecondition
field.
withDatasetId()
google.string.withDatasetId
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the dataset_id field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thedataset_id
field.
withMembers()
google.list.withMembers
constructs a mixin object that can be merged into the list
Terraform resource block to set or update the members field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list
): The value to set for themembers
field.
withRole()
google.string.withRole
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the role field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for therole
field.
new()
google.healthcare_dataset_iam_binding.condition.new
constructs a new object with attributes and blocks configured for the condition
Terraform sub block.
Args:
description
(string
): Set thedescription
field on the resulting object. Whennull
, thedescription
field will be omitted from the resulting object.expression
(string
): Set theexpression
field on the resulting object.title
(string
): Set thetitle
field on the resulting object.
Returns:
- An attribute object that represents the
condition
sub block.