Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency hashicorp/terraform-provider-aws to v5.13.1 #47

Merged
merged 6 commits into from
Sep 19, 2023
45 changes: 45 additions & 0 deletions 5.x/_gen/data/cognito_identity_pool.libsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet');
local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
{
'#':: d.pkg(name='cognito_identity_pool', url='', help='`cognito_identity_pool` represents the `aws_cognito_identity_pool` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
'#new':: d.fn(help="\n`aws.data.cognito_identity_pool.new` injects a new `data_aws_cognito_identity_pool` Terraform `data source`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n aws.data.cognito_identity_pool.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.cognito_identity_pool` using the reference:\n\n $._ref.data_aws_cognito_identity_pool.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_cognito_identity_pool.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block.\n - `identity_pool_name` (`string`): Set the `identity_pool_name` field on the resulting data source block.\n - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
new(
dataSrcLabel,
identity_pool_name,
tags=null,
_meta={}
):: tf.withData(
type='aws_cognito_identity_pool',
label=dataSrcLabel,
attrs=self.newAttrs(identity_pool_name=identity_pool_name, tags=tags),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`aws.data.cognito_identity_pool.newAttrs` constructs a new object with attributes and blocks configured for the `cognito_identity_pool`\nTerraform data source.\n\nUnlike [aws.data.cognito_identity_pool.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `identity_pool_name` (`string`): Set the `identity_pool_name` field on the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `cognito_identity_pool` data source into the root Terraform configuration.\n', args=[]),
newAttrs(
identity_pool_name,
tags=null
):: std.prune(a={
identity_pool_name: identity_pool_name,
tags: tags,
}),
'#withIdentityPoolName':: d.fn(help='`aws.string.withIdentityPoolName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the identity_pool_name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `identity_pool_name` field.\n', args=[]),
withIdentityPoolName(dataSrcLabel, value): {
data+: {
aws_cognito_identity_pool+: {
[dataSrcLabel]+: {
identity_pool_name: value,
},
},
},
},
'#withTags':: d.fn(help='`aws.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the tags field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]),
withTags(dataSrcLabel, value): {
data+: {
aws_cognito_identity_pool+: {
[dataSrcLabel]+: {
tags: value,
},
},
},
},
}
119 changes: 3 additions & 116 deletions 5.x/_gen/data/dms_endpoint.libsonnet

Large diffs are not rendered by default.

44 changes: 41 additions & 3 deletions 5.x/_gen/data/identitystore_group.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,44 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
}),
},
},
'#new':: d.fn(help="\n`aws.data.identitystore_group.new` injects a new `data_aws_identitystore_group` Terraform `data source`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n aws.data.identitystore_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.identitystore_group` using the reference:\n\n $._ref.data_aws_identitystore_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_identitystore_group.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block.\n - `group_id` (`string`): Set the `group_id` field on the resulting data source block. When `null`, the `group_id` field will be omitted from the resulting object.\n - `identity_store_id` (`string`): Set the `identity_store_id` field on the resulting data source block.\n - `alternate_identifier` (`list[obj]`): Set the `alternate_identifier` field on the resulting data source block. When `null`, the `alternate_identifier` 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.identitystore_group.alternate_identifier.new](#fn-alternate_identifiernew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
filter:: {
'#new':: d.fn(help='\n`aws.identitystore_group.filter.new` constructs a new object with attributes and blocks configured for the `filter`\nTerraform sub block.\n\n\n\n**Args**:\n - `attribute_path` (`string`): Set the `attribute_path` field on the resulting object.\n - `attribute_value` (`string`): Set the `attribute_value` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `filter` sub block.\n', args=[]),
new(
attribute_path,
attribute_value
):: std.prune(a={
attribute_path: attribute_path,
attribute_value: attribute_value,
}),
},
'#new':: d.fn(help="\n`aws.data.identitystore_group.new` injects a new `data_aws_identitystore_group` Terraform `data source`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n aws.data.identitystore_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.identitystore_group` using the reference:\n\n $._ref.data_aws_identitystore_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_identitystore_group.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block.\n - `group_id` (`string`): Set the `group_id` field on the resulting data source block. When `null`, the `group_id` field will be omitted from the resulting object.\n - `identity_store_id` (`string`): Set the `identity_store_id` field on the resulting data source block.\n - `alternate_identifier` (`list[obj]`): Set the `alternate_identifier` field on the resulting data source block. When `null`, the `alternate_identifier` 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.identitystore_group.alternate_identifier.new](#fn-alternate_identifiernew) constructor.\n - `filter` (`list[obj]`): Set the `filter` field on the resulting data source block. When `null`, the `filter` 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.identitystore_group.filter.new](#fn-filternew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
new(
dataSrcLabel,
identity_store_id,
alternate_identifier=null,
filter=null,
group_id=null,
_meta={}
):: tf.withData(
type='aws_identitystore_group',
label=dataSrcLabel,
attrs=self.newAttrs(alternate_identifier=alternate_identifier, group_id=group_id, identity_store_id=identity_store_id),
attrs=self.newAttrs(
alternate_identifier=alternate_identifier,
filter=filter,
group_id=group_id,
identity_store_id=identity_store_id
),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`aws.data.identitystore_group.newAttrs` constructs a new object with attributes and blocks configured for the `identitystore_group`\nTerraform data source.\n\nUnlike [aws.data.identitystore_group.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `group_id` (`string`): Set the `group_id` field on the resulting object. When `null`, the `group_id` field will be omitted from the resulting object.\n - `identity_store_id` (`string`): Set the `identity_store_id` field on the resulting object.\n - `alternate_identifier` (`list[obj]`): Set the `alternate_identifier` field on the resulting object. When `null`, the `alternate_identifier` 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.identitystore_group.alternate_identifier.new](#fn-alternate_identifiernew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `identitystore_group` data source into the root Terraform configuration.\n', args=[]),
'#newAttrs':: d.fn(help='\n`aws.data.identitystore_group.newAttrs` constructs a new object with attributes and blocks configured for the `identitystore_group`\nTerraform data source.\n\nUnlike [aws.data.identitystore_group.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `group_id` (`string`): Set the `group_id` field on the resulting object. When `null`, the `group_id` field will be omitted from the resulting object.\n - `identity_store_id` (`string`): Set the `identity_store_id` field on the resulting object.\n - `alternate_identifier` (`list[obj]`): Set the `alternate_identifier` field on the resulting object. When `null`, the `alternate_identifier` 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.identitystore_group.alternate_identifier.new](#fn-alternate_identifiernew) constructor.\n - `filter` (`list[obj]`): Set the `filter` field on the resulting object. When `null`, the `filter` 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.identitystore_group.filter.new](#fn-filternew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `identitystore_group` data source into the root Terraform configuration.\n', args=[]),
newAttrs(
identity_store_id,
alternate_identifier=null,
filter=null,
group_id=null
):: std.prune(a={
alternate_identifier: alternate_identifier,
filter: filter,
group_id: group_id,
identity_store_id: identity_store_id,
}),
Expand All @@ -73,6 +91,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
},
},
},
'#withFilter':: d.fn(help='`aws.list[obj].withFilter` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the filter field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [aws.list[obj].withFilterMixin](TODO) function.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `filter` field.\n', args=[]),
withFilter(dataSrcLabel, value): {
data+: {
aws_identitystore_group+: {
[dataSrcLabel]+: {
filter: value,
},
},
},
},
'#withFilterMixin':: d.fn(help='`aws.list[obj].withFilterMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the filter field.\n\nThis function will append the passed in array or object to the existing array. If you wish\nto instead replace the array with the passed in `value`, use the [aws.list[obj].withFilter](TODO)\nfunction.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `filter` field.\n', args=[]),
withFilterMixin(dataSrcLabel, value): {
data+: {
aws_identitystore_group+: {
[dataSrcLabel]+: {
filter+: if std.isArray(v=value) then value else [value],
},
},
},
},
'#withGroupId':: d.fn(help='`aws.string.withGroupId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the group_id field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `group_id` field.\n', args=[]),
withGroupId(dataSrcLabel, value): {
data+: {
Expand Down
Loading