permalink |
---|
/data/lakeformation_permissions/ |
lakeformation_permissions
represents the aws_lakeformation_permissions
Terraform data source.
This package contains functions and utilities for setting up the data source using Jsonnet code.
fn new()
fn newAttrs()
fn withCatalogId()
fn withCatalogResource()
fn withDataLocation()
fn withDataLocationMixin()
fn withDatabase()
fn withDatabaseMixin()
fn withLfTag()
fn withLfTagMixin()
fn withLfTagPolicy()
fn withLfTagPolicyMixin()
fn withPrincipal()
fn withTable()
fn withTableMixin()
fn withTableWithColumns()
fn withTableWithColumnsMixin()
obj data_location
obj database
obj lf_tag
obj lf_tag_policy
obj table
obj table_with_columns
new()
aws.data.lakeformation_permissions.new
injects a new data_aws_lakeformation_permissions
Terraform data source
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
aws.data.lakeformation_permissions.new('some_id')
You can get the reference to the id
field of the created aws.data.lakeformation_permissions
using the reference:
$._ref.data_aws_lakeformation_permissions.some_id.get('id')
This is the same as directly entering "${ data_aws_lakeformation_permissions.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:
dataSrcLabel
(string
): The name label of the block.catalog_id
(string
): Set thecatalog_id
field on the resulting data source block. Whennull
, thecatalog_id
field will be omitted from the resulting object.catalog_resource
(bool
): Set thecatalog_resource
field on the resulting data source block. Whennull
, thecatalog_resource
field will be omitted from the resulting object.principal
(string
): Set theprincipal
field on the resulting data source block.data_location
(list[obj]
): Set thedata_location
field on the resulting data source block. Whennull
, thedata_location
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.data.lakeformation_permissions.data_location.new constructor.database
(list[obj]
): Set thedatabase
field on the resulting data source block. Whennull
, thedatabase
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.data.lakeformation_permissions.database.new constructor.lf_tag
(list[obj]
): Set thelf_tag
field on the resulting data source block. Whennull
, thelf_tag
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.data.lakeformation_permissions.lf_tag.new constructor.lf_tag_policy
(list[obj]
): Set thelf_tag_policy
field on the resulting data source block. Whennull
, thelf_tag_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.data.lakeformation_permissions.lf_tag_policy.new constructor.table
(list[obj]
): Set thetable
field on the resulting data source block. Whennull
, thetable
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.data.lakeformation_permissions.table.new constructor.table_with_columns
(list[obj]
): Set thetable_with_columns
field on the resulting data source block. Whennull
, thetable_with_columns
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.data.lakeformation_permissions.table_with_columns.new constructor.
Returns:
- A mixin object that injects the new data source into the root Terraform configuration.
newAttrs()
aws.data.lakeformation_permissions.newAttrs
constructs a new object with attributes and blocks configured for the lakeformation_permissions
Terraform data source.
Unlike aws.data.lakeformation_permissions.new, this function will not inject the data source
block into the root Terraform document. Instead, this must be passed in as the attrs
argument for the
tf.withData 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:
catalog_id
(string
): Set thecatalog_id
field on the resulting object. Whennull
, thecatalog_id
field will be omitted from the resulting object.catalog_resource
(bool
): Set thecatalog_resource
field on the resulting object. Whennull
, thecatalog_resource
field will be omitted from the resulting object.principal
(string
): Set theprincipal
field on the resulting object.data_location
(list[obj]
): Set thedata_location
field on the resulting object. Whennull
, thedata_location
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.data.lakeformation_permissions.data_location.new constructor.database
(list[obj]
): Set thedatabase
field on the resulting object. Whennull
, thedatabase
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.data.lakeformation_permissions.database.new constructor.lf_tag
(list[obj]
): Set thelf_tag
field on the resulting object. Whennull
, thelf_tag
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.data.lakeformation_permissions.lf_tag.new constructor.lf_tag_policy
(list[obj]
): Set thelf_tag_policy
field on the resulting object. Whennull
, thelf_tag_policy
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.data.lakeformation_permissions.lf_tag_policy.new constructor.table
(list[obj]
): Set thetable
field on the resulting object. Whennull
, thetable
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.data.lakeformation_permissions.table.new constructor.table_with_columns
(list[obj]
): Set thetable_with_columns
field on the resulting object. Whennull
, thetable_with_columns
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.data.lakeformation_permissions.table_with_columns.new constructor.
Returns:
- An attribute object that can be used with tf.withData to construct a new
lakeformation_permissions
data source into the root Terraform configuration.
withCatalogId()
aws.string.withCatalogId
constructs a mixin object that can be merged into the string
Terraform data source block to set or update the catalog_id field.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(string
): The value to set for thecatalog_id
field.
withCatalogResource()
aws.bool.withCatalogResource
constructs a mixin object that can be merged into the bool
Terraform data source block to set or update the catalog_resource field.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(bool
): The value to set for thecatalog_resource
field.
withDataLocation()
aws.list[obj].withDataLocation
constructs a mixin object that can be merged into the list[obj]
Terraform data source block to set or update the data_location 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 aws.list[obj].withDataLocationMixin function.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thedata_location
field.
withDataLocationMixin()
aws.list[obj].withDataLocationMixin
constructs a mixin object that can be merged into the list[obj]
Terraform data source block to set or update the data_location 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 aws.list[obj].withDataLocation
function.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thedata_location
field.
withDatabase()
aws.list[obj].withDatabase
constructs a mixin object that can be merged into the list[obj]
Terraform data source block to set or update the database 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 aws.list[obj].withDatabaseMixin function.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thedatabase
field.
withDatabaseMixin()
aws.list[obj].withDatabaseMixin
constructs a mixin object that can be merged into the list[obj]
Terraform data source block to set or update the database 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 aws.list[obj].withDatabase
function.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thedatabase
field.
withLfTag()
aws.list[obj].withLfTag
constructs a mixin object that can be merged into the list[obj]
Terraform data source block to set or update the lf_tag 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 aws.list[obj].withLfTagMixin function.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thelf_tag
field.
withLfTagMixin()
aws.list[obj].withLfTagMixin
constructs a mixin object that can be merged into the list[obj]
Terraform data source block to set or update the lf_tag 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 aws.list[obj].withLfTag
function.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thelf_tag
field.
withLfTagPolicy()
aws.list[obj].withLfTagPolicy
constructs a mixin object that can be merged into the list[obj]
Terraform data source block to set or update the lf_tag_policy 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 aws.list[obj].withLfTagPolicyMixin function.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thelf_tag_policy
field.
withLfTagPolicyMixin()
aws.list[obj].withLfTagPolicyMixin
constructs a mixin object that can be merged into the list[obj]
Terraform data source block to set or update the lf_tag_policy 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 aws.list[obj].withLfTagPolicy
function.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thelf_tag_policy
field.
withPrincipal()
aws.string.withPrincipal
constructs a mixin object that can be merged into the string
Terraform data source block to set or update the principal field.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(string
): The value to set for theprincipal
field.
withTable()
aws.list[obj].withTable
constructs a mixin object that can be merged into the list[obj]
Terraform data source block to set or update the table 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 aws.list[obj].withTableMixin function.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thetable
field.
withTableMixin()
aws.list[obj].withTableMixin
constructs a mixin object that can be merged into the list[obj]
Terraform data source block to set or update the table 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 aws.list[obj].withTable
function.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thetable
field.
withTableWithColumns()
aws.list[obj].withTableWithColumns
constructs a mixin object that can be merged into the list[obj]
Terraform data source block to set or update the table_with_columns 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 aws.list[obj].withTableWithColumnsMixin function.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thetable_with_columns
field.
withTableWithColumnsMixin()
aws.list[obj].withTableWithColumnsMixin
constructs a mixin object that can be merged into the list[obj]
Terraform data source block to set or update the table_with_columns 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 aws.list[obj].withTableWithColumns
function.
Args:
dataSrcLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thetable_with_columns
field.
new()
aws.lakeformation_permissions.data_location.new
constructs a new object with attributes and blocks configured for the data_location
Terraform sub block.
Args:
arn
(string
): Set thearn
field on the resulting object.catalog_id
(string
): Set thecatalog_id
field on the resulting object. Whennull
, thecatalog_id
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
data_location
sub block.
new()
aws.lakeformation_permissions.database.new
constructs a new object with attributes and blocks configured for the database
Terraform sub block.
Args:
catalog_id
(string
): Set thecatalog_id
field on the resulting object. Whennull
, thecatalog_id
field will be omitted from the resulting object.name
(string
): Set thename
field on the resulting object.
Returns:
- An attribute object that represents the
database
sub block.
new()
aws.lakeformation_permissions.lf_tag.new
constructs a new object with attributes and blocks configured for the lf_tag
Terraform sub block.
Args:
catalog_id
(string
): Set thecatalog_id
field on the resulting object. Whennull
, thecatalog_id
field will be omitted from the resulting object.key
(string
): Set thekey
field on the resulting object.values
(list
): Set thevalues
field on the resulting object.
Returns:
- An attribute object that represents the
lf_tag
sub block.
new()
aws.lakeformation_permissions.lf_tag_policy.new
constructs a new object with attributes and blocks configured for the lf_tag_policy
Terraform sub block.
Args:
catalog_id
(string
): Set thecatalog_id
field on the resulting object. Whennull
, thecatalog_id
field will be omitted from the resulting object.resource_type
(string
): Set theresource_type
field on the resulting object.expression
(list[obj]
): Set theexpression
field on the resulting object. Whennull
, theexpression
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.lakeformation_permissions.lf_tag_policy.expression.new constructor.
Returns:
- An attribute object that represents the
lf_tag_policy
sub block.
new()
aws.lakeformation_permissions.lf_tag_policy.expression.new
constructs a new object with attributes and blocks configured for the expression
Terraform sub block.
Args:
key
(string
): Set thekey
field on the resulting object.values
(list
): Set thevalues
field on the resulting object.
Returns:
- An attribute object that represents the
expression
sub block.
new()
aws.lakeformation_permissions.table.new
constructs a new object with attributes and blocks configured for the table
Terraform sub block.
Args:
catalog_id
(string
): Set thecatalog_id
field on the resulting object. Whennull
, thecatalog_id
field will be omitted from the resulting object.database_name
(string
): Set thedatabase_name
field on the resulting object.name
(string
): Set thename
field on the resulting object. Whennull
, thename
field will be omitted from the resulting object.wildcard
(bool
): Set thewildcard
field on the resulting object. Whennull
, thewildcard
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
table
sub block.
new()
aws.lakeformation_permissions.table_with_columns.new
constructs a new object with attributes and blocks configured for the table_with_columns
Terraform sub block.
Args:
catalog_id
(string
): Set thecatalog_id
field on the resulting object. Whennull
, thecatalog_id
field will be omitted from the resulting object.column_names
(list
): Set thecolumn_names
field on the resulting object. Whennull
, thecolumn_names
field will be omitted from the resulting object.database_name
(string
): Set thedatabase_name
field on the resulting object.excluded_column_names
(list
): Set theexcluded_column_names
field on the resulting object. Whennull
, theexcluded_column_names
field will be omitted from the resulting object.name
(string
): Set thename
field on the resulting object.wildcard
(bool
): Set thewildcard
field on the resulting object. Whennull
, thewildcard
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
table_with_columns
sub block.