permalink |
---|
/s3_bucket_intelligent_tiering_configuration/ |
s3_bucket_intelligent_tiering_configuration
represents the aws_s3_bucket_intelligent_tiering_configuration
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withBucket()
fn withFilter()
fn withFilterMixin()
fn withName()
fn withStatus()
fn withTiering()
fn withTieringMixin()
obj filter
obj tiering
new()
aws.s3_bucket_intelligent_tiering_configuration.new
injects a new aws_s3_bucket_intelligent_tiering_configuration
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.s3_bucket_intelligent_tiering_configuration.new('some_id')
You can get the reference to the id
field of the created aws.s3_bucket_intelligent_tiering_configuration
using the reference:
$._ref.aws_s3_bucket_intelligent_tiering_configuration.some_id.get('id')
This is the same as directly entering "${ aws_s3_bucket_intelligent_tiering_configuration.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.bucket
(string
): Set thebucket
field on the resulting resource block.name
(string
): Set thename
field on the resulting resource block.status
(string
): Set thestatus
field on the resulting resource block. Whennull
, thestatus
field will be omitted from the resulting object.filter
(list[obj]
): Set thefilter
field on the resulting resource block. Whennull
, thefilter
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.s3_bucket_intelligent_tiering_configuration.filter.new constructor.tiering
(list[obj]
): Set thetiering
field on the resulting resource block. Whennull
, thetiering
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.s3_bucket_intelligent_tiering_configuration.tiering.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
aws.s3_bucket_intelligent_tiering_configuration.newAttrs
constructs a new object with attributes and blocks configured for the s3_bucket_intelligent_tiering_configuration
Terraform resource.
Unlike aws.s3_bucket_intelligent_tiering_configuration.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:
bucket
(string
): Set thebucket
field on the resulting object.name
(string
): Set thename
field on the resulting object.status
(string
): Set thestatus
field on the resulting object. Whennull
, thestatus
field will be omitted from the resulting object.filter
(list[obj]
): Set thefilter
field on the resulting object. Whennull
, thefilter
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.s3_bucket_intelligent_tiering_configuration.filter.new constructor.tiering
(list[obj]
): Set thetiering
field on the resulting object. Whennull
, thetiering
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the aws.s3_bucket_intelligent_tiering_configuration.tiering.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
s3_bucket_intelligent_tiering_configuration
resource into the root Terraform configuration.
withBucket()
aws.string.withBucket
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the bucket field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thebucket
field.
withFilter()
aws.list[obj].withFilter
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the filter 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].withFilterMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thefilter
field.
withFilterMixin()
aws.list[obj].withFilterMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the filter 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].withFilter
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thefilter
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.
withStatus()
aws.string.withStatus
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the status field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thestatus
field.
withTiering()
aws.list[obj].withTiering
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the tiering 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].withTieringMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thetiering
field.
withTieringMixin()
aws.list[obj].withTieringMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the tiering 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].withTiering
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for thetiering
field.
new()
aws.s3_bucket_intelligent_tiering_configuration.filter.new
constructs a new object with attributes and blocks configured for the filter
Terraform sub block.
Args:
prefix
(string
): Set theprefix
field on the resulting object. Whennull
, theprefix
field will be omitted from the resulting object.tags
(obj
): Set thetags
field on the resulting object. Whennull
, thetags
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
filter
sub block.
new()
aws.s3_bucket_intelligent_tiering_configuration.tiering.new
constructs a new object with attributes and blocks configured for the tiering
Terraform sub block.
Args:
access_tier
(string
): Set theaccess_tier
field on the resulting object.days
(number
): Set thedays
field on the resulting object.
Returns:
- An attribute object that represents the
tiering
sub block.