Skip to content

Commit

Permalink
Update dependency hashicorp/terraform-provider-aws to v4.51.0 (#21)
Browse files Browse the repository at this point in the history
Signed-off-by: tflibsonnet-ci <[email protected]>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
  • Loading branch information
tflibsonnet-ci and renovate[bot] authored Jan 20, 2023
1 parent c6a5875 commit 5babd16
Show file tree
Hide file tree
Showing 32 changed files with 2,663 additions and 38 deletions.
82 changes: 82 additions & 0 deletions 4.x/_gen/data/auditmanager_control.libsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
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='auditmanager_control', url='', help='`auditmanager_control` represents the `aws_auditmanager_control` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
control_mapping_sources:: {
'#new':: d.fn(help='\n`aws.auditmanager_control.control_mapping_sources.new` constructs a new object with attributes and blocks configured for the `control_mapping_sources`\nTerraform sub block.\n\n\n\n**Args**:\n - `source_keyword` (`list[obj]`): Set the `source_keyword` field on the resulting object. When `null`, the `source_keyword` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.auditmanager_control.control_mapping_sources.source_keyword.new](#fn-control_mapping_sourcessource_keywordnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `control_mapping_sources` sub block.\n', args=[]),
new(
source_keyword=null
):: std.prune(a={
source_keyword: source_keyword,
}),
source_keyword:: {
'#new':: d.fn(help='\n`aws.auditmanager_control.control_mapping_sources.source_keyword.new` constructs a new object with attributes and blocks configured for the `source_keyword`\nTerraform sub block.\n\n\n\n**Returns**:\n - An attribute object that represents the `source_keyword` sub block.\n', args=[]),
new(

):: std.prune(a={}),
},
},
'#new':: d.fn(help="\n`aws.data.auditmanager_control.new` injects a new `data_aws_auditmanager_control` 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.auditmanager_control.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.auditmanager_control` using the reference:\n\n $._ref.data_aws_auditmanager_control.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_auditmanager_control.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 - `name` (`string`): Set the `name` field on the resulting data source block.\n - `type` (`string`): Set the `type` field on the resulting data source block.\n - `control_mapping_sources` (`list[obj]`): Set the `control_mapping_sources` field on the resulting data source block. When `null`, the `control_mapping_sources` 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.auditmanager_control.control_mapping_sources.new](#fn-control_mapping_sourcesnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
new(
dataSrcLabel,
name,
type,
control_mapping_sources=null,
_meta={}
):: tf.withData(
type='aws_auditmanager_control',
label=dataSrcLabel,
attrs=self.newAttrs(control_mapping_sources=control_mapping_sources, name=name, type=type),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`aws.data.auditmanager_control.newAttrs` constructs a new object with attributes and blocks configured for the `auditmanager_control`\nTerraform data source.\n\nUnlike [aws.data.auditmanager_control.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 - `name` (`string`): Set the `name` field on the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n - `control_mapping_sources` (`list[obj]`): Set the `control_mapping_sources` field on the resulting object. When `null`, the `control_mapping_sources` 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.auditmanager_control.control_mapping_sources.new](#fn-control_mapping_sourcesnew) 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 `auditmanager_control` data source into the root Terraform configuration.\n', args=[]),
newAttrs(
name,
type,
control_mapping_sources=null
):: std.prune(a={
control_mapping_sources: control_mapping_sources,
name: name,
type: type,
}),
'#withControlMappingSources':: d.fn(help='`aws.list[obj].withControlMappingSources` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the control_mapping_sources 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].withControlMappingSourcesMixin](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 `control_mapping_sources` field.\n', args=[]),
withControlMappingSources(dataSrcLabel, value): {
data+: {
aws_auditmanager_control+: {
[dataSrcLabel]+: {
control_mapping_sources: value,
},
},
},
},
'#withControlMappingSourcesMixin':: d.fn(help='`aws.list[obj].withControlMappingSourcesMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the control_mapping_sources 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].withControlMappingSources](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 `control_mapping_sources` field.\n', args=[]),
withControlMappingSourcesMixin(dataSrcLabel, value): {
data+: {
aws_auditmanager_control+: {
[dataSrcLabel]+: {
control_mapping_sources+: if std.isArray(v=value) then value else [value],
},
},
},
},
'#withName':: d.fn(help='`aws.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the 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 `name` field.\n', args=[]),
withName(dataSrcLabel, value): {
data+: {
aws_auditmanager_control+: {
[dataSrcLabel]+: {
name: value,
},
},
},
},
'#withType':: d.fn(help='`aws.string.withType` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the type 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 `type` field.\n', args=[]),
withType(dataSrcLabel, value): {
data+: {
aws_auditmanager_control+: {
[dataSrcLabel]+: {
type: value,
},
},
},
},
}
1 change: 1 addition & 0 deletions 4.x/_gen/data/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
appmesh_mesh: (import 'appmesh_mesh.libsonnet'),
appmesh_virtual_service: (import 'appmesh_virtual_service.libsonnet'),
arn: (import 'arn.libsonnet'),
auditmanager_control: (import 'auditmanager_control.libsonnet'),
autoscaling_group: (import 'autoscaling_group.libsonnet'),
autoscaling_groups: (import 'autoscaling_groups.libsonnet'),
availability_zone: (import 'availability_zone.libsonnet'),
Expand Down
3 changes: 3 additions & 0 deletions 4.x/_gen/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
datasync_location_fsx_windows_file_system: (import 'resources/datasync_location_fsx_windows_file_system.libsonnet'),
datasync_location_hdfs: (import 'resources/datasync_location_hdfs.libsonnet'),
datasync_location_nfs: (import 'resources/datasync_location_nfs.libsonnet'),
datasync_location_object_storage: (import 'resources/datasync_location_object_storage.libsonnet'),
datasync_location_s3: (import 'resources/datasync_location_s3.libsonnet'),
datasync_location_smb: (import 'resources/datasync_location_smb.libsonnet'),
datasync_task: (import 'resources/datasync_task.libsonnet'),
Expand Down Expand Up @@ -813,6 +814,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
rds_cluster_instance: (import 'resources/rds_cluster_instance.libsonnet'),
rds_cluster_parameter_group: (import 'resources/rds_cluster_parameter_group.libsonnet'),
rds_cluster_role_association: (import 'resources/rds_cluster_role_association.libsonnet'),
rds_export_task: (import 'resources/rds_export_task.libsonnet'),
rds_global_cluster: (import 'resources/rds_global_cluster.libsonnet'),
rds_reserved_instance: (import 'resources/rds_reserved_instance.libsonnet'),
redshift_authentication_profile: (import 'resources/redshift_authentication_profile.libsonnet'),
Expand Down Expand Up @@ -840,6 +842,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
redshiftserverless_usage_limit: (import 'resources/redshiftserverless_usage_limit.libsonnet'),
redshiftserverless_workgroup: (import 'resources/redshiftserverless_workgroup.libsonnet'),
resourceexplorer2_index: (import 'resources/resourceexplorer2_index.libsonnet'),
resourceexplorer2_view: (import 'resources/resourceexplorer2_view.libsonnet'),
resourcegroups_group: (import 'resources/resourcegroups_group.libsonnet'),
rolesanywhere_profile: (import 'resources/rolesanywhere_profile.libsonnet'),
rolesanywhere_trust_anchor: (import 'resources/rolesanywhere_trust_anchor.libsonnet'),
Expand Down
14 changes: 10 additions & 4 deletions 4.x/_gen/resources/appmesh_gateway_route.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
},
},
match:: {
'#new':: d.fn(help='\n`aws.appmesh_gateway_route.spec.grpc_route.match.new` constructs a new object with attributes and blocks configured for the `match`\nTerraform sub block.\n\n\n\n**Args**:\n - `service_name` (`string`): Set the `service_name` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `match` sub block.\n', args=[]),
'#new':: d.fn(help='\n`aws.appmesh_gateway_route.spec.grpc_route.match.new` constructs a new object with attributes and blocks configured for the `match`\nTerraform sub block.\n\n\n\n**Args**:\n - `port` (`number`): Set the `port` field on the resulting object. When `null`, the `port` field will be omitted from the resulting object.\n - `service_name` (`string`): Set the `service_name` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `match` sub block.\n', args=[]),
new(
service_name
service_name,
port=null
):: std.prune(a={
port: port,
service_name: service_name,
}),
},
Expand Down Expand Up @@ -154,12 +156,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
suffix: suffix,
}),
},
'#new':: d.fn(help='\n`aws.appmesh_gateway_route.spec.http2_route.match.new` constructs a new object with attributes and blocks configured for the `match`\nTerraform sub block.\n\n\n\n**Args**:\n - `prefix` (`string`): Set the `prefix` field on the resulting object. When `null`, the `prefix` field will be omitted from the resulting object.\n - `hostname` (`list[obj]`): Set the `hostname` field on the resulting object. When `null`, the `hostname` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.appmesh_gateway_route.spec.http2_route.match.hostname.new](#fn-specspechttp2_routehostnamenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `match` sub block.\n', args=[]),
'#new':: d.fn(help='\n`aws.appmesh_gateway_route.spec.http2_route.match.new` constructs a new object with attributes and blocks configured for the `match`\nTerraform sub block.\n\n\n\n**Args**:\n - `port` (`number`): Set the `port` field on the resulting object. When `null`, the `port` field will be omitted from the resulting object.\n - `prefix` (`string`): Set the `prefix` field on the resulting object. When `null`, the `prefix` field will be omitted from the resulting object.\n - `hostname` (`list[obj]`): Set the `hostname` field on the resulting object. When `null`, the `hostname` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.appmesh_gateway_route.spec.http2_route.match.hostname.new](#fn-specspechttp2_routehostnamenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `match` sub block.\n', args=[]),
new(
hostname=null,
port=null,
prefix=null
):: std.prune(a={
hostname: hostname,
port: port,
prefix: prefix,
}),
},
Expand Down Expand Up @@ -238,12 +242,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
suffix: suffix,
}),
},
'#new':: d.fn(help='\n`aws.appmesh_gateway_route.spec.http_route.match.new` constructs a new object with attributes and blocks configured for the `match`\nTerraform sub block.\n\n\n\n**Args**:\n - `prefix` (`string`): Set the `prefix` field on the resulting object. When `null`, the `prefix` field will be omitted from the resulting object.\n - `hostname` (`list[obj]`): Set the `hostname` field on the resulting object. When `null`, the `hostname` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.appmesh_gateway_route.spec.http_route.match.hostname.new](#fn-specspechttp_routehostnamenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `match` sub block.\n', args=[]),
'#new':: d.fn(help='\n`aws.appmesh_gateway_route.spec.http_route.match.new` constructs a new object with attributes and blocks configured for the `match`\nTerraform sub block.\n\n\n\n**Args**:\n - `port` (`number`): Set the `port` field on the resulting object. When `null`, the `port` field will be omitted from the resulting object.\n - `prefix` (`string`): Set the `prefix` field on the resulting object. When `null`, the `prefix` field will be omitted from the resulting object.\n - `hostname` (`list[obj]`): Set the `hostname` field on the resulting object. When `null`, the `hostname` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.appmesh_gateway_route.spec.http_route.match.hostname.new](#fn-specspechttp_routehostnamenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `match` sub block.\n', args=[]),
new(
hostname=null,
port=null,
prefix=null
):: std.prune(a={
hostname: hostname,
port: port,
prefix: prefix,
}),
},
Expand Down
Loading

0 comments on commit 5babd16

Please sign in to comment.