permalink |
---|
/glue_classifier/ |
glue_classifier
represents the aws_glue_classifier
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withCsvClassifier()
fn withCsvClassifierMixin()
fn withGrokClassifier()
fn withGrokClassifierMixin()
fn withJsonClassifier()
fn withJsonClassifierMixin()
fn withName()
fn withXmlClassifier()
fn withXmlClassifierMixin()
obj csv_classifier
obj grok_classifier
obj json_classifier
obj xml_classifier
new()
aws.glue_classifier.new
injects a new aws_glue_classifier
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
aws.glue_classifier.new('some_id')
You can get the reference to the id
field of the created aws.glue_classifier
using the reference:
$._ref.aws_glue_classifier.some_id.get('id')
This is the same as directly entering "${ aws_glue_classifier.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.name
(string
): Set thename
field on the resulting resource block.csv_classifier
(list[obj]
): Set thecsv_classifier
field on the resulting resource block. Whennull
, thecsv_classifier
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.glue_classifier.csv_classifier.new constructor.grok_classifier
(list[obj]
): Set thegrok_classifier
field on the resulting resource block. Whennull
, thegrok_classifier
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.glue_classifier.grok_classifier.new constructor.json_classifier
(list[obj]
): Set thejson_classifier
field on the resulting resource block. Whennull
, thejson_classifier
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.glue_classifier.json_classifier.new constructor.xml_classifier
(list[obj]
): Set thexml_classifier
field on the resulting resource block. Whennull
, thexml_classifier
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.glue_classifier.xml_classifier.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
aws.glue_classifier.newAttrs
constructs a new object with attributes and blocks configured for the glue_classifier
Terraform resource.
Unlike aws.glue_classifier.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:
name
(string
): Set thename
field on the resulting object.csv_classifier
(list[obj]
): Set thecsv_classifier
field on the resulting object. Whennull
, thecsv_classifier
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.glue_classifier.csv_classifier.new constructor.grok_classifier
(list[obj]
): Set thegrok_classifier
field on the resulting object. Whennull
, thegrok_classifier
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.glue_classifier.grok_classifier.new constructor.json_classifier
(list[obj]
): Set thejson_classifier
field on the resulting object. Whennull
, thejson_classifier
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.glue_classifier.json_classifier.new constructor.xml_classifier
(list[obj]
): Set thexml_classifier
field on the resulting object. Whennull
, thexml_classifier
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.glue_classifier.xml_classifier.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
glue_classifier
resource into the root Terraform configuration.
withCsvClassifier()
aws.list[obj].withCsvClassifier
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the csv_classifier 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].withCsvClassifierMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecsv_classifier
field.
withCsvClassifierMixin()
aws.list[obj].withCsvClassifierMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the csv_classifier 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].withCsvClassifier
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thecsv_classifier
field.
withGrokClassifier()
aws.list[obj].withGrokClassifier
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the grok_classifier 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].withGrokClassifierMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thegrok_classifier
field.
withGrokClassifierMixin()
aws.list[obj].withGrokClassifierMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the grok_classifier 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].withGrokClassifier
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thegrok_classifier
field.
withJsonClassifier()
aws.list[obj].withJsonClassifier
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the json_classifier 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].withJsonClassifierMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thejson_classifier
field.
withJsonClassifierMixin()
aws.list[obj].withJsonClassifierMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the json_classifier 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].withJsonClassifier
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thejson_classifier
field.
withName()
aws.string.withName
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the name field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thename
field.
withXmlClassifier()
aws.list[obj].withXmlClassifier
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the xml_classifier 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].withXmlClassifierMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thexml_classifier
field.
withXmlClassifierMixin()
aws.list[obj].withXmlClassifierMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the xml_classifier 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].withXmlClassifier
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thexml_classifier
field.
new()
aws.glue_classifier.csv_classifier.new
constructs a new object with attributes and blocks configured for the csv_classifier
Terraform sub block.
Args:
allow_single_column
(bool
): Set theallow_single_column
field on the resulting object. Whennull
, theallow_single_column
field will be omitted from the resulting object.contains_header
(string
): Set thecontains_header
field on the resulting object. Whennull
, thecontains_header
field will be omitted from the resulting object.custom_datatype_configured
(bool
): Set thecustom_datatype_configured
field on the resulting object. Whennull
, thecustom_datatype_configured
field will be omitted from the resulting object.custom_datatypes
(list
): Set thecustom_datatypes
field on the resulting object. Whennull
, thecustom_datatypes
field will be omitted from the resulting object.delimiter
(string
): Set thedelimiter
field on the resulting object. Whennull
, thedelimiter
field will be omitted from the resulting object.disable_value_trimming
(bool
): Set thedisable_value_trimming
field on the resulting object. Whennull
, thedisable_value_trimming
field will be omitted from the resulting object.header
(list
): Set theheader
field on the resulting object. Whennull
, theheader
field will be omitted from the resulting object.quote_symbol
(string
): Set thequote_symbol
field on the resulting object. Whennull
, thequote_symbol
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
csv_classifier
sub block.
new()
aws.glue_classifier.grok_classifier.new
constructs a new object with attributes and blocks configured for the grok_classifier
Terraform sub block.
Args:
classification
(string
): Set theclassification
field on the resulting object.custom_patterns
(string
): Set thecustom_patterns
field on the resulting object. Whennull
, thecustom_patterns
field will be omitted from the resulting object.grok_pattern
(string
): Set thegrok_pattern
field on the resulting object.
Returns:
- An attribute object that represents the
grok_classifier
sub block.
new()
aws.glue_classifier.json_classifier.new
constructs a new object with attributes and blocks configured for the json_classifier
Terraform sub block.
Args:
json_path
(string
): Set thejson_path
field on the resulting object.
Returns:
- An attribute object that represents the
json_classifier
sub block.
new()
aws.glue_classifier.xml_classifier.new
constructs a new object with attributes and blocks configured for the xml_classifier
Terraform sub block.
Args:
classification
(string
): Set theclassification
field on the resulting object.row_tag
(string
): Set therow_tag
field on the resulting object.
Returns:
- An attribute object that represents the
xml_classifier
sub block.