From 14486b4519beb026089d6b0f23b3d85a3f967f1e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Fri, 12 Jan 2024 02:19:23 +0000 Subject: [PATCH] Generate libsonnet source from libgenerator PR https://github.com/tf-libsonnet/libgenerator/pull/238 Signed-off-by: tflibsonnet-ci <120686569+tflibsonnet-ci@users.noreply.github.com> --- 5.x/_gen/data/alb_target_group.libsonnet | 18 +- 5.x/_gen/data/lb_target_group.libsonnet | 18 +- 5.x/_gen/data/main.libsonnet | 3 + .../data/mq_broker_engine_types.libsonnet | 32 ++ 5.x/_gen/data/msk_bootstrap_brokers.libsonnet | 32 ++ ...verifiedpermissions_policy_store.libsonnet | 19 + 5.x/_gen/main.libsonnet | 10 + 5.x/_gen/provider_aws.libsonnet | 18 +- 5.x/_gen/resources/alb_target_group.libsonnet | 18 +- 5.x/_gen/resources/appflow_flow.libsonnet | 6 +- .../resources/autoscaling_group.libsonnet | 4 +- .../batch_compute_environment.libsonnet | 42 +- .../resources/batch_job_definition.libsonnet | 190 ++++++- .../cloud9_environment_ec2.libsonnet | 8 +- 5.x/_gen/resources/codepipeline.libsonnet | 58 ++- .../ebs_fast_snapshot_restore.libsonnet | 78 +++ 5.x/_gen/resources/efs_file_system.libsonnet | 40 +- .../efs_replication_configuration.libsonnet | 4 +- .../elasticache_serverless_cache.libsonnet | 276 ++++++++++ .../resources/fsx_ontap_file_system.libsonnet | 36 +- .../resources/glue_catalog_table.libsonnet | 6 +- 5.x/_gen/resources/glue_classifier.libsonnet | 6 +- .../resources/imagebuilder_workflow.libsonnet | 160 ++++++ ...kinesis_firehose_delivery_stream.libsonnet | 18 +- .../kinesis_resource_policy.libsonnet | 45 ++ 5.x/_gen/resources/kms_key.libsonnet | 22 +- 5.x/_gen/resources/lambda_function.libsonnet | 42 +- 5.x/_gen/resources/lb_target_group.libsonnet | 18 +- 5.x/_gen/resources/neptune_cluster.libsonnet | 18 +- .../networkfirewall_firewall.libsonnet | 42 +- .../networkfirewall_firewall_policy.libsonnet | 6 +- .../resources/prometheus_scraper.libsonnet | 180 +++++++ .../resources/prometheus_workspace.libsonnet | 18 +- .../redshiftserverless_workgroup.libsonnet | 18 +- .../route53_resolver_endpoint.libsonnet | 32 +- .../securitylake_aws_log_source.libsonnet | 56 ++ ...soadmin_application_access_scope.libsonnet | 58 +++ .../verifiedaccess_endpoint.libsonnet | 18 +- ...verifiedpermissions_policy_store.libsonnet | 63 +++ ...ifiedpermissions_policy_template.libsonnet | 58 +++ .../verifiedpermissions_schema.libsonnet | 63 +++ docs/5.x/README.md | 10 + docs/5.x/alb_target_group.md | 19 + docs/5.x/appflow_flow.md | 1 + docs/5.x/autoscaling_group.md | 1 + docs/5.x/batch_compute_environment.md | 67 +++ docs/5.x/batch_job_definition.md | 386 ++++++++++++++ docs/5.x/cloud9_environment_ec2.md | 4 +- docs/5.x/codepipeline.md | 87 ++++ docs/5.x/data/alb_target_group.md | 19 + docs/5.x/data/index.md | 3 + docs/5.x/data/lb_target_group.md | 19 + docs/5.x/data/mq_broker_engine_types.md | 92 ++++ docs/5.x/data/msk_bootstrap_brokers.md | 92 ++++ .../data/verifiedpermissions_policy_store.md | 71 +++ docs/5.x/ebs_fast_snapshot_restore.md | 177 +++++++ docs/5.x/efs_file_system.md | 67 +++ docs/5.x/efs_replication_configuration.md | 1 + docs/5.x/elasticache_serverless_cache.md | 486 ++++++++++++++++++ docs/5.x/fsx_ontap_file_system.md | 42 +- docs/5.x/glue_catalog_table.md | 1 + docs/5.x/glue_classifier.md | 1 + docs/5.x/imagebuilder_workflow.md | 263 ++++++++++ docs/5.x/kinesis_firehose_delivery_stream.md | 28 + docs/5.x/kinesis_resource_policy.md | 111 ++++ docs/5.x/kms_key.md | 19 + docs/5.x/lambda_function.md | 69 +++ docs/5.x/lb_target_group.md | 19 + docs/5.x/neptune_cluster.md | 19 + docs/5.x/networkfirewall_firewall.md | 67 +++ docs/5.x/networkfirewall_firewall_policy.md | 1 + docs/5.x/prometheus_scraper.md | 380 ++++++++++++++ docs/5.x/prometheus_workspace.md | 19 + docs/5.x/provider.md | 8 + docs/5.x/redshiftserverless_workgroup.md | 19 + docs/5.x/route53_resolver_endpoint.md | 38 ++ docs/5.x/securitylake_aws_log_source.md | 142 +++++ docs/5.x/ssoadmin_application_access_scope.md | 130 +++++ docs/5.x/verifiedaccess_endpoint.md | 19 + docs/5.x/verifiedpermissions_policy_store.md | 158 ++++++ .../verifiedpermissions_policy_template.md | 130 +++++ docs/5.x/verifiedpermissions_schema.md | 157 ++++++ 82 files changed, 5234 insertions(+), 65 deletions(-) create mode 100644 5.x/_gen/data/mq_broker_engine_types.libsonnet create mode 100644 5.x/_gen/data/msk_bootstrap_brokers.libsonnet create mode 100644 5.x/_gen/data/verifiedpermissions_policy_store.libsonnet create mode 100644 5.x/_gen/resources/ebs_fast_snapshot_restore.libsonnet create mode 100644 5.x/_gen/resources/elasticache_serverless_cache.libsonnet create mode 100644 5.x/_gen/resources/imagebuilder_workflow.libsonnet create mode 100644 5.x/_gen/resources/kinesis_resource_policy.libsonnet create mode 100644 5.x/_gen/resources/prometheus_scraper.libsonnet create mode 100644 5.x/_gen/resources/securitylake_aws_log_source.libsonnet create mode 100644 5.x/_gen/resources/ssoadmin_application_access_scope.libsonnet create mode 100644 5.x/_gen/resources/verifiedpermissions_policy_store.libsonnet create mode 100644 5.x/_gen/resources/verifiedpermissions_policy_template.libsonnet create mode 100644 5.x/_gen/resources/verifiedpermissions_schema.libsonnet create mode 100644 docs/5.x/data/mq_broker_engine_types.md create mode 100644 docs/5.x/data/msk_bootstrap_brokers.md create mode 100644 docs/5.x/data/verifiedpermissions_policy_store.md create mode 100644 docs/5.x/ebs_fast_snapshot_restore.md create mode 100644 docs/5.x/elasticache_serverless_cache.md create mode 100644 docs/5.x/imagebuilder_workflow.md create mode 100644 docs/5.x/kinesis_resource_policy.md create mode 100644 docs/5.x/prometheus_scraper.md create mode 100644 docs/5.x/securitylake_aws_log_source.md create mode 100644 docs/5.x/ssoadmin_application_access_scope.md create mode 100644 docs/5.x/verifiedpermissions_policy_store.md create mode 100644 docs/5.x/verifiedpermissions_policy_template.md create mode 100644 docs/5.x/verifiedpermissions_schema.md diff --git a/5.x/_gen/data/alb_target_group.libsonnet b/5.x/_gen/data/alb_target_group.libsonnet index 649e3ff6..0ebbec4e 100644 --- a/5.x/_gen/data/alb_target_group.libsonnet +++ b/5.x/_gen/data/alb_target_group.libsonnet @@ -2,10 +2,11 @@ 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='alb_target_group', url='', help='`alb_target_group` represents the `aws_alb_target_group` 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.alb_target_group.new` injects a new `data_aws_alb_target_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.alb_target_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.alb_target_group` using the reference:\n\n $._ref.data_aws_alb_target_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_alb_target_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 - `arn` (`string`): Set the `arn` field on the resulting data source block. When `null`, the `arn` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting data source block. When `null`, the `name` field will be omitted from the resulting object.\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 - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` 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.alb_target_group.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.data.alb_target_group.new` injects a new `data_aws_alb_target_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.alb_target_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.alb_target_group` using the reference:\n\n $._ref.data_aws_alb_target_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_alb_target_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 - `arn` (`string`): Set the `arn` field on the resulting data source block. When `null`, the `arn` field will be omitted from the resulting object.\n - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting data source block. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting data source block. When `null`, the `name` field will be omitted from the resulting object.\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 - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` 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.alb_target_group.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), new( dataSrcLabel, arn=null, + load_balancing_anomaly_mitigation=null, name=null, tags=null, timeouts=null, @@ -15,20 +16,23 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=dataSrcLabel, attrs=self.newAttrs( arn=arn, + load_balancing_anomaly_mitigation=load_balancing_anomaly_mitigation, name=name, tags=tags, timeouts=timeouts ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.data.alb_target_group.newAttrs` constructs a new object with attributes and blocks configured for the `alb_target_group`\nTerraform data source.\n\nUnlike [aws.data.alb_target_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 - `arn` (`string`): Set the `arn` field on the resulting object. When `null`, the `arn` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from 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 - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` 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.alb_target_group.timeouts.new](#fn-timeoutsnew) 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 `alb_target_group` data source into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.data.alb_target_group.newAttrs` constructs a new object with attributes and blocks configured for the `alb_target_group`\nTerraform data source.\n\nUnlike [aws.data.alb_target_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 - `arn` (`string`): Set the `arn` field on the resulting object. When `null`, the `arn` field will be omitted from the resulting object.\n - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting object. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from 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 - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` 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.alb_target_group.timeouts.new](#fn-timeoutsnew) 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 `alb_target_group` data source into the root Terraform configuration.\n', args=[]), newAttrs( arn=null, + load_balancing_anomaly_mitigation=null, name=null, tags=null, timeouts=null ):: std.prune(a={ arn: arn, + load_balancing_anomaly_mitigation: load_balancing_anomaly_mitigation, name: name, tags: tags, timeouts: timeouts, @@ -51,6 +55,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withLoadBalancingAnomalyMitigation':: d.fn(help='`aws.string.withLoadBalancingAnomalyMitigation` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the load_balancing_anomaly_mitigation 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 `load_balancing_anomaly_mitigation` field.\n', args=[]), + withLoadBalancingAnomalyMitigation(dataSrcLabel, value): { + data+: { + aws_alb_target_group+: { + [dataSrcLabel]+: { + load_balancing_anomaly_mitigation: 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+: { diff --git a/5.x/_gen/data/lb_target_group.libsonnet b/5.x/_gen/data/lb_target_group.libsonnet index 0b322302..9b54274a 100644 --- a/5.x/_gen/data/lb_target_group.libsonnet +++ b/5.x/_gen/data/lb_target_group.libsonnet @@ -2,10 +2,11 @@ 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='lb_target_group', url='', help='`lb_target_group` represents the `aws_lb_target_group` 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.lb_target_group.new` injects a new `data_aws_lb_target_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.lb_target_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.lb_target_group` using the reference:\n\n $._ref.data_aws_lb_target_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_lb_target_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 - `arn` (`string`): Set the `arn` field on the resulting data source block. When `null`, the `arn` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting data source block. When `null`, the `name` field will be omitted from the resulting object.\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 - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` 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.lb_target_group.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.data.lb_target_group.new` injects a new `data_aws_lb_target_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.lb_target_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.lb_target_group` using the reference:\n\n $._ref.data_aws_lb_target_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_lb_target_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 - `arn` (`string`): Set the `arn` field on the resulting data source block. When `null`, the `arn` field will be omitted from the resulting object.\n - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting data source block. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting data source block. When `null`, the `name` field will be omitted from the resulting object.\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 - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` 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.lb_target_group.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), new( dataSrcLabel, arn=null, + load_balancing_anomaly_mitigation=null, name=null, tags=null, timeouts=null, @@ -15,20 +16,23 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=dataSrcLabel, attrs=self.newAttrs( arn=arn, + load_balancing_anomaly_mitigation=load_balancing_anomaly_mitigation, name=name, tags=tags, timeouts=timeouts ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.data.lb_target_group.newAttrs` constructs a new object with attributes and blocks configured for the `lb_target_group`\nTerraform data source.\n\nUnlike [aws.data.lb_target_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 - `arn` (`string`): Set the `arn` field on the resulting object. When `null`, the `arn` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from 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 - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` 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.lb_target_group.timeouts.new](#fn-timeoutsnew) 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 `lb_target_group` data source into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.data.lb_target_group.newAttrs` constructs a new object with attributes and blocks configured for the `lb_target_group`\nTerraform data source.\n\nUnlike [aws.data.lb_target_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 - `arn` (`string`): Set the `arn` field on the resulting object. When `null`, the `arn` field will be omitted from the resulting object.\n - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting object. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from 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 - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` 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.lb_target_group.timeouts.new](#fn-timeoutsnew) 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 `lb_target_group` data source into the root Terraform configuration.\n', args=[]), newAttrs( arn=null, + load_balancing_anomaly_mitigation=null, name=null, tags=null, timeouts=null ):: std.prune(a={ arn: arn, + load_balancing_anomaly_mitigation: load_balancing_anomaly_mitigation, name: name, tags: tags, timeouts: timeouts, @@ -51,6 +55,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withLoadBalancingAnomalyMitigation':: d.fn(help='`aws.string.withLoadBalancingAnomalyMitigation` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the load_balancing_anomaly_mitigation 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 `load_balancing_anomaly_mitigation` field.\n', args=[]), + withLoadBalancingAnomalyMitigation(dataSrcLabel, value): { + data+: { + aws_lb_target_group+: { + [dataSrcLabel]+: { + load_balancing_anomaly_mitigation: 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+: { diff --git a/5.x/_gen/data/main.libsonnet b/5.x/_gen/data/main.libsonnet index b4a0c7b5..d011e60b 100644 --- a/5.x/_gen/data/main.libsonnet +++ b/5.x/_gen/data/main.libsonnet @@ -328,7 +328,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); memorydb_subnet_group: (import 'memorydb_subnet_group.libsonnet'), memorydb_user: (import 'memorydb_user.libsonnet'), mq_broker: (import 'mq_broker.libsonnet'), + mq_broker_engine_types: (import 'mq_broker_engine_types.libsonnet'), mq_broker_instance_type_offerings: (import 'mq_broker_instance_type_offerings.libsonnet'), + msk_bootstrap_brokers: (import 'msk_bootstrap_brokers.libsonnet'), msk_broker_nodes: (import 'msk_broker_nodes.libsonnet'), msk_cluster: (import 'msk_cluster.libsonnet'), msk_configuration: (import 'msk_configuration.libsonnet'), @@ -500,6 +502,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); subnet: (import 'subnet.libsonnet'), subnets: (import 'subnets.libsonnet'), transfer_server: (import 'transfer_server.libsonnet'), + verifiedpermissions_policy_store: (import 'verifiedpermissions_policy_store.libsonnet'), vpc: (import 'vpc.libsonnet'), vpc_dhcp_options: (import 'vpc_dhcp_options.libsonnet'), vpc_endpoint: (import 'vpc_endpoint.libsonnet'), diff --git a/5.x/_gen/data/mq_broker_engine_types.libsonnet b/5.x/_gen/data/mq_broker_engine_types.libsonnet new file mode 100644 index 00000000..cee331d3 --- /dev/null +++ b/5.x/_gen/data/mq_broker_engine_types.libsonnet @@ -0,0 +1,32 @@ +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='mq_broker_engine_types', url='', help='`mq_broker_engine_types` represents the `aws_mq_broker_engine_types` 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.mq_broker_engine_types.new` injects a new `data_aws_mq_broker_engine_types` 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.mq_broker_engine_types.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.mq_broker_engine_types` using the reference:\n\n $._ref.data_aws_mq_broker_engine_types.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_mq_broker_engine_types.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 - `engine_type` (`string`): Set the `engine_type` field on the resulting data source block. When `null`, the `engine_type` 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, + engine_type=null, + _meta={} + ):: tf.withData( + type='aws_mq_broker_engine_types', + label=dataSrcLabel, + attrs=self.newAttrs(engine_type=engine_type), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.data.mq_broker_engine_types.newAttrs` constructs a new object with attributes and blocks configured for the `mq_broker_engine_types`\nTerraform data source.\n\nUnlike [aws.data.mq_broker_engine_types.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 - `engine_type` (`string`): Set the `engine_type` field on the resulting object. When `null`, the `engine_type` 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 `mq_broker_engine_types` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + engine_type=null + ):: std.prune(a={ + engine_type: engine_type, + }), + '#withEngineType':: d.fn(help='`aws.string.withEngineType` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the engine_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 `engine_type` field.\n', args=[]), + withEngineType(dataSrcLabel, value): { + data+: { + aws_mq_broker_engine_types+: { + [dataSrcLabel]+: { + engine_type: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/data/msk_bootstrap_brokers.libsonnet b/5.x/_gen/data/msk_bootstrap_brokers.libsonnet new file mode 100644 index 00000000..fec69b62 --- /dev/null +++ b/5.x/_gen/data/msk_bootstrap_brokers.libsonnet @@ -0,0 +1,32 @@ +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='msk_bootstrap_brokers', url='', help='`msk_bootstrap_brokers` represents the `aws_msk_bootstrap_brokers` 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.msk_bootstrap_brokers.new` injects a new `data_aws_msk_bootstrap_brokers` 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.msk_bootstrap_brokers.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.msk_bootstrap_brokers` using the reference:\n\n $._ref.data_aws_msk_bootstrap_brokers.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_msk_bootstrap_brokers.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 - `cluster_arn` (`string`): Set the `cluster_arn` field on the resulting data source block.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + new( + dataSrcLabel, + cluster_arn, + _meta={} + ):: tf.withData( + type='aws_msk_bootstrap_brokers', + label=dataSrcLabel, + attrs=self.newAttrs(cluster_arn=cluster_arn), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.data.msk_bootstrap_brokers.newAttrs` constructs a new object with attributes and blocks configured for the `msk_bootstrap_brokers`\nTerraform data source.\n\nUnlike [aws.data.msk_bootstrap_brokers.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 - `cluster_arn` (`string`): Set the `cluster_arn` field on 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 `msk_bootstrap_brokers` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + cluster_arn + ):: std.prune(a={ + cluster_arn: cluster_arn, + }), + '#withClusterArn':: d.fn(help='`aws.string.withClusterArn` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the cluster_arn 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 `cluster_arn` field.\n', args=[]), + withClusterArn(dataSrcLabel, value): { + data+: { + aws_msk_bootstrap_brokers+: { + [dataSrcLabel]+: { + cluster_arn: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/data/verifiedpermissions_policy_store.libsonnet b/5.x/_gen/data/verifiedpermissions_policy_store.libsonnet new file mode 100644 index 00000000..76069e86 --- /dev/null +++ b/5.x/_gen/data/verifiedpermissions_policy_store.libsonnet @@ -0,0 +1,19 @@ +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='verifiedpermissions_policy_store', url='', help='`verifiedpermissions_policy_store` represents the `aws_verifiedpermissions_policy_store` 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.verifiedpermissions_policy_store.new` injects a new `data_aws_verifiedpermissions_policy_store` 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.verifiedpermissions_policy_store.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.verifiedpermissions_policy_store` using the reference:\n\n $._ref.data_aws_verifiedpermissions_policy_store.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_verifiedpermissions_policy_store.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\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + new( + dataSrcLabel, + _meta={} + ):: tf.withData( + type='aws_verifiedpermissions_policy_store', + label=dataSrcLabel, + attrs=self.newAttrs(), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.data.verifiedpermissions_policy_store.newAttrs` constructs a new object with attributes and blocks configured for the `verifiedpermissions_policy_store`\nTerraform data source.\n\nUnlike [aws.data.verifiedpermissions_policy_store.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**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 `verifiedpermissions_policy_store` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + + ):: std.prune(a={}), +} diff --git a/5.x/_gen/main.libsonnet b/5.x/_gen/main.libsonnet index 8b4138a8..730de9f4 100644 --- a/5.x/_gen/main.libsonnet +++ b/5.x/_gen/main.libsonnet @@ -398,6 +398,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); dynamodb_tag: (import 'resources/dynamodb_tag.libsonnet'), ebs_default_kms_key: (import 'resources/ebs_default_kms_key.libsonnet'), ebs_encryption_by_default: (import 'resources/ebs_encryption_by_default.libsonnet'), + ebs_fast_snapshot_restore: (import 'resources/ebs_fast_snapshot_restore.libsonnet'), ebs_snapshot: (import 'resources/ebs_snapshot.libsonnet'), ebs_snapshot_copy: (import 'resources/ebs_snapshot_copy.libsonnet'), ebs_snapshot_import: (import 'resources/ebs_snapshot_import.libsonnet'), @@ -485,6 +486,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); elasticache_global_replication_group: (import 'resources/elasticache_global_replication_group.libsonnet'), elasticache_parameter_group: (import 'resources/elasticache_parameter_group.libsonnet'), elasticache_replication_group: (import 'resources/elasticache_replication_group.libsonnet'), + elasticache_serverless_cache: (import 'resources/elasticache_serverless_cache.libsonnet'), elasticache_subnet_group: (import 'resources/elasticache_subnet_group.libsonnet'), elasticache_user: (import 'resources/elasticache_user.libsonnet'), elasticache_user_group: (import 'resources/elasticache_user_group.libsonnet'), @@ -620,6 +622,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); imagebuilder_image_pipeline: (import 'resources/imagebuilder_image_pipeline.libsonnet'), imagebuilder_image_recipe: (import 'resources/imagebuilder_image_recipe.libsonnet'), imagebuilder_infrastructure_configuration: (import 'resources/imagebuilder_infrastructure_configuration.libsonnet'), + imagebuilder_workflow: (import 'resources/imagebuilder_workflow.libsonnet'), inspector2_delegated_admin_account: (import 'resources/inspector2_delegated_admin_account.libsonnet'), inspector2_enabler: (import 'resources/inspector2_enabler.libsonnet'), inspector2_member_association: (import 'resources/inspector2_member_association.libsonnet'), @@ -666,6 +669,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); keyspaces_table: (import 'resources/keyspaces_table.libsonnet'), kinesis_analytics_application: (import 'resources/kinesis_analytics_application.libsonnet'), kinesis_firehose_delivery_stream: (import 'resources/kinesis_firehose_delivery_stream.libsonnet'), + kinesis_resource_policy: (import 'resources/kinesis_resource_policy.libsonnet'), kinesis_stream: (import 'resources/kinesis_stream.libsonnet'), kinesis_stream_consumer: (import 'resources/kinesis_stream_consumer.libsonnet'), kinesis_video_stream: (import 'resources/kinesis_video_stream.libsonnet'), @@ -883,6 +887,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); placement_group: (import 'resources/placement_group.libsonnet'), prometheus_alert_manager_definition: (import 'resources/prometheus_alert_manager_definition.libsonnet'), prometheus_rule_group_namespace: (import 'resources/prometheus_rule_group_namespace.libsonnet'), + prometheus_scraper: (import 'resources/prometheus_scraper.libsonnet'), prometheus_workspace: (import 'resources/prometheus_workspace.libsonnet'), proxy_protocol_policy: (import 'resources/proxy_protocol_policy.libsonnet'), qldb_ledger: (import 'resources/qldb_ledger.libsonnet'), @@ -1082,6 +1087,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); securityhub_product_subscription: (import 'resources/securityhub_product_subscription.libsonnet'), securityhub_standards_control: (import 'resources/securityhub_standards_control.libsonnet'), securityhub_standards_subscription: (import 'resources/securityhub_standards_subscription.libsonnet'), + securitylake_aws_log_source: (import 'resources/securitylake_aws_log_source.libsonnet'), securitylake_data_lake: (import 'resources/securitylake_data_lake.libsonnet'), serverlessapplicationrepository_cloudformation_stack: (import 'resources/serverlessapplicationrepository_cloudformation_stack.libsonnet'), service_discovery_http_namespace: (import 'resources/service_discovery_http_namespace.libsonnet'), @@ -1174,6 +1180,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ssmincidents_response_plan: (import 'resources/ssmincidents_response_plan.libsonnet'), ssoadmin_account_assignment: (import 'resources/ssoadmin_account_assignment.libsonnet'), ssoadmin_application: (import 'resources/ssoadmin_application.libsonnet'), + ssoadmin_application_access_scope: (import 'resources/ssoadmin_application_access_scope.libsonnet'), ssoadmin_application_assignment: (import 'resources/ssoadmin_application_assignment.libsonnet'), ssoadmin_application_assignment_configuration: (import 'resources/ssoadmin_application_assignment_configuration.libsonnet'), ssoadmin_customer_managed_policy_attachment: (import 'resources/ssoadmin_customer_managed_policy_attachment.libsonnet'), @@ -1220,6 +1227,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); verifiedaccess_instance_logging_configuration: (import 'resources/verifiedaccess_instance_logging_configuration.libsonnet'), verifiedaccess_instance_trust_provider_attachment: (import 'resources/verifiedaccess_instance_trust_provider_attachment.libsonnet'), verifiedaccess_trust_provider: (import 'resources/verifiedaccess_trust_provider.libsonnet'), + verifiedpermissions_policy_store: (import 'resources/verifiedpermissions_policy_store.libsonnet'), + verifiedpermissions_policy_template: (import 'resources/verifiedpermissions_policy_template.libsonnet'), + verifiedpermissions_schema: (import 'resources/verifiedpermissions_schema.libsonnet'), volume_attachment: (import 'resources/volume_attachment.libsonnet'), vpc: (import 'resources/vpc.libsonnet'), vpc_dhcp_options: (import 'resources/vpc_dhcp_options.libsonnet'), diff --git a/5.x/_gen/provider_aws.libsonnet b/5.x/_gen/provider_aws.libsonnet index a100670a..79b58b19 100644 --- a/5.x/_gen/provider_aws.libsonnet +++ b/5.x/_gen/provider_aws.libsonnet @@ -200,7 +200,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, endpoints:: { - '#new':: d.fn(help='\n`aws.endpoints.new` constructs a new object with attributes and blocks configured for the `endpoints`\nTerraform sub block.\n\n\n\n**Args**:\n - `accessanalyzer` (`string`): Use this to override the default service endpoint URL When `null`, the `accessanalyzer` field will be omitted from the resulting object.\n - `account` (`string`): Use this to override the default service endpoint URL When `null`, the `account` field will be omitted from the resulting object.\n - `acm` (`string`): Use this to override the default service endpoint URL When `null`, the `acm` field will be omitted from the resulting object.\n - `acmpca` (`string`): Use this to override the default service endpoint URL When `null`, the `acmpca` field will be omitted from the resulting object.\n - `amg` (`string`): Use this to override the default service endpoint URL When `null`, the `amg` field will be omitted from the resulting object.\n - `amp` (`string`): Use this to override the default service endpoint URL When `null`, the `amp` field will be omitted from the resulting object.\n - `amplify` (`string`): Use this to override the default service endpoint URL When `null`, the `amplify` field will be omitted from the resulting object.\n - `apigateway` (`string`): Use this to override the default service endpoint URL When `null`, the `apigateway` field will be omitted from the resulting object.\n - `apigatewayv2` (`string`): Use this to override the default service endpoint URL When `null`, the `apigatewayv2` field will be omitted from the resulting object.\n - `appautoscaling` (`string`): Use this to override the default service endpoint URL When `null`, the `appautoscaling` field will be omitted from the resulting object.\n - `appconfig` (`string`): Use this to override the default service endpoint URL When `null`, the `appconfig` field will be omitted from the resulting object.\n - `appfabric` (`string`): Use this to override the default service endpoint URL When `null`, the `appfabric` field will be omitted from the resulting object.\n - `appflow` (`string`): Use this to override the default service endpoint URL When `null`, the `appflow` field will be omitted from the resulting object.\n - `appintegrations` (`string`): Use this to override the default service endpoint URL When `null`, the `appintegrations` field will be omitted from the resulting object.\n - `appintegrationsservice` (`string`): Use this to override the default service endpoint URL When `null`, the `appintegrationsservice` field will be omitted from the resulting object.\n - `applicationautoscaling` (`string`): Use this to override the default service endpoint URL When `null`, the `applicationautoscaling` field will be omitted from the resulting object.\n - `applicationinsights` (`string`): Use this to override the default service endpoint URL When `null`, the `applicationinsights` field will be omitted from the resulting object.\n - `appmesh` (`string`): Use this to override the default service endpoint URL When `null`, the `appmesh` field will be omitted from the resulting object.\n - `apprunner` (`string`): Use this to override the default service endpoint URL When `null`, the `apprunner` field will be omitted from the resulting object.\n - `appstream` (`string`): Use this to override the default service endpoint URL When `null`, the `appstream` field will be omitted from the resulting object.\n - `appsync` (`string`): Use this to override the default service endpoint URL When `null`, the `appsync` field will be omitted from the resulting object.\n - `athena` (`string`): Use this to override the default service endpoint URL When `null`, the `athena` field will be omitted from the resulting object.\n - `auditmanager` (`string`): Use this to override the default service endpoint URL When `null`, the `auditmanager` field will be omitted from the resulting object.\n - `autoscaling` (`string`): Use this to override the default service endpoint URL When `null`, the `autoscaling` field will be omitted from the resulting object.\n - `autoscalingplans` (`string`): Use this to override the default service endpoint URL When `null`, the `autoscalingplans` field will be omitted from the resulting object.\n - `backup` (`string`): Use this to override the default service endpoint URL When `null`, the `backup` field will be omitted from the resulting object.\n - `batch` (`string`): Use this to override the default service endpoint URL When `null`, the `batch` field will be omitted from the resulting object.\n - `beanstalk` (`string`): Use this to override the default service endpoint URL When `null`, the `beanstalk` field will be omitted from the resulting object.\n - `bedrock` (`string`): Use this to override the default service endpoint URL When `null`, the `bedrock` field will be omitted from the resulting object.\n - `budgets` (`string`): Use this to override the default service endpoint URL When `null`, the `budgets` field will be omitted from the resulting object.\n - `ce` (`string`): Use this to override the default service endpoint URL When `null`, the `ce` field will be omitted from the resulting object.\n - `chime` (`string`): Use this to override the default service endpoint URL When `null`, the `chime` field will be omitted from the resulting object.\n - `chimesdkmediapipelines` (`string`): Use this to override the default service endpoint URL When `null`, the `chimesdkmediapipelines` field will be omitted from the resulting object.\n - `chimesdkvoice` (`string`): Use this to override the default service endpoint URL When `null`, the `chimesdkvoice` field will be omitted from the resulting object.\n - `cleanrooms` (`string`): Use this to override the default service endpoint URL When `null`, the `cleanrooms` field will be omitted from the resulting object.\n - `cloud9` (`string`): Use this to override the default service endpoint URL When `null`, the `cloud9` field will be omitted from the resulting object.\n - `cloudcontrol` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudcontrol` field will be omitted from the resulting object.\n - `cloudcontrolapi` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudcontrolapi` field will be omitted from the resulting object.\n - `cloudformation` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudformation` field will be omitted from the resulting object.\n - `cloudfront` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudfront` field will be omitted from the resulting object.\n - `cloudhsm` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudhsm` field will be omitted from the resulting object.\n - `cloudhsmv2` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudhsmv2` field will be omitted from the resulting object.\n - `cloudsearch` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudsearch` field will be omitted from the resulting object.\n - `cloudtrail` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudtrail` field will be omitted from the resulting object.\n - `cloudwatch` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatch` field will be omitted from the resulting object.\n - `cloudwatchevents` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchevents` field will be omitted from the resulting object.\n - `cloudwatchevidently` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchevidently` field will be omitted from the resulting object.\n - `cloudwatchlog` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchlog` field will be omitted from the resulting object.\n - `cloudwatchlogs` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchlogs` field will be omitted from the resulting object.\n - `cloudwatchobservabilityaccessmanager` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchobservabilityaccessmanager` field will be omitted from the resulting object.\n - `cloudwatchrum` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchrum` field will be omitted from the resulting object.\n - `codeartifact` (`string`): Use this to override the default service endpoint URL When `null`, the `codeartifact` field will be omitted from the resulting object.\n - `codebuild` (`string`): Use this to override the default service endpoint URL When `null`, the `codebuild` field will be omitted from the resulting object.\n - `codecatalyst` (`string`): Use this to override the default service endpoint URL When `null`, the `codecatalyst` field will be omitted from the resulting object.\n - `codecommit` (`string`): Use this to override the default service endpoint URL When `null`, the `codecommit` field will be omitted from the resulting object.\n - `codedeploy` (`string`): Use this to override the default service endpoint URL When `null`, the `codedeploy` field will be omitted from the resulting object.\n - `codeguruprofiler` (`string`): Use this to override the default service endpoint URL When `null`, the `codeguruprofiler` field will be omitted from the resulting object.\n - `codegurureviewer` (`string`): Use this to override the default service endpoint URL When `null`, the `codegurureviewer` field will be omitted from the resulting object.\n - `codepipeline` (`string`): Use this to override the default service endpoint URL When `null`, the `codepipeline` field will be omitted from the resulting object.\n - `codestarconnections` (`string`): Use this to override the default service endpoint URL When `null`, the `codestarconnections` field will be omitted from the resulting object.\n - `codestarnotifications` (`string`): Use this to override the default service endpoint URL When `null`, the `codestarnotifications` field will be omitted from the resulting object.\n - `cognitoidentity` (`string`): Use this to override the default service endpoint URL When `null`, the `cognitoidentity` field will be omitted from the resulting object.\n - `cognitoidentityprovider` (`string`): Use this to override the default service endpoint URL When `null`, the `cognitoidentityprovider` field will be omitted from the resulting object.\n - `cognitoidp` (`string`): Use this to override the default service endpoint URL When `null`, the `cognitoidp` field will be omitted from the resulting object.\n - `comprehend` (`string`): Use this to override the default service endpoint URL When `null`, the `comprehend` field will be omitted from the resulting object.\n - `computeoptimizer` (`string`): Use this to override the default service endpoint URL When `null`, the `computeoptimizer` field will be omitted from the resulting object.\n - `config` (`string`): Use this to override the default service endpoint URL When `null`, the `config` field will be omitted from the resulting object.\n - `configservice` (`string`): Use this to override the default service endpoint URL When `null`, the `configservice` field will be omitted from the resulting object.\n - `connect` (`string`): Use this to override the default service endpoint URL When `null`, the `connect` field will be omitted from the resulting object.\n - `connectcases` (`string`): Use this to override the default service endpoint URL When `null`, the `connectcases` field will be omitted from the resulting object.\n - `controltower` (`string`): Use this to override the default service endpoint URL When `null`, the `controltower` field will be omitted from the resulting object.\n - `costandusagereportservice` (`string`): Use this to override the default service endpoint URL When `null`, the `costandusagereportservice` field will be omitted from the resulting object.\n - `costexplorer` (`string`): Use this to override the default service endpoint URL When `null`, the `costexplorer` field will be omitted from the resulting object.\n - `cur` (`string`): Use this to override the default service endpoint URL When `null`, the `cur` field will be omitted from the resulting object.\n - `customerprofiles` (`string`): Use this to override the default service endpoint URL When `null`, the `customerprofiles` field will be omitted from the resulting object.\n - `databasemigration` (`string`): Use this to override the default service endpoint URL When `null`, the `databasemigration` field will be omitted from the resulting object.\n - `databasemigrationservice` (`string`): Use this to override the default service endpoint URL When `null`, the `databasemigrationservice` field will be omitted from the resulting object.\n - `dataexchange` (`string`): Use this to override the default service endpoint URL When `null`, the `dataexchange` field will be omitted from the resulting object.\n - `datapipeline` (`string`): Use this to override the default service endpoint URL When `null`, the `datapipeline` field will be omitted from the resulting object.\n - `datasync` (`string`): Use this to override the default service endpoint URL When `null`, the `datasync` field will be omitted from the resulting object.\n - `dax` (`string`): Use this to override the default service endpoint URL When `null`, the `dax` field will be omitted from the resulting object.\n - `deploy` (`string`): Use this to override the default service endpoint URL When `null`, the `deploy` field will be omitted from the resulting object.\n - `detective` (`string`): Use this to override the default service endpoint URL When `null`, the `detective` field will be omitted from the resulting object.\n - `devicefarm` (`string`): Use this to override the default service endpoint URL When `null`, the `devicefarm` field will be omitted from the resulting object.\n - `directconnect` (`string`): Use this to override the default service endpoint URL When `null`, the `directconnect` field will be omitted from the resulting object.\n - `directoryservice` (`string`): Use this to override the default service endpoint URL When `null`, the `directoryservice` field will be omitted from the resulting object.\n - `dlm` (`string`): Use this to override the default service endpoint URL When `null`, the `dlm` field will be omitted from the resulting object.\n - `dms` (`string`): Use this to override the default service endpoint URL When `null`, the `dms` field will be omitted from the resulting object.\n - `docdb` (`string`): Use this to override the default service endpoint URL When `null`, the `docdb` field will be omitted from the resulting object.\n - `docdbelastic` (`string`): Use this to override the default service endpoint URL When `null`, the `docdbelastic` field will be omitted from the resulting object.\n - `ds` (`string`): Use this to override the default service endpoint URL When `null`, the `ds` field will be omitted from the resulting object.\n - `dynamodb` (`string`): Use this to override the default service endpoint URL When `null`, the `dynamodb` field will be omitted from the resulting object.\n - `ec2` (`string`): Use this to override the default service endpoint URL When `null`, the `ec2` field will be omitted from the resulting object.\n - `ecr` (`string`): Use this to override the default service endpoint URL When `null`, the `ecr` field will be omitted from the resulting object.\n - `ecrpublic` (`string`): Use this to override the default service endpoint URL When `null`, the `ecrpublic` field will be omitted from the resulting object.\n - `ecs` (`string`): Use this to override the default service endpoint URL When `null`, the `ecs` field will be omitted from the resulting object.\n - `efs` (`string`): Use this to override the default service endpoint URL When `null`, the `efs` field will be omitted from the resulting object.\n - `eks` (`string`): Use this to override the default service endpoint URL When `null`, the `eks` field will be omitted from the resulting object.\n - `elasticache` (`string`): Use this to override the default service endpoint URL When `null`, the `elasticache` field will be omitted from the resulting object.\n - `elasticbeanstalk` (`string`): Use this to override the default service endpoint URL When `null`, the `elasticbeanstalk` field will be omitted from the resulting object.\n - `elasticloadbalancing` (`string`): Use this to override the default service endpoint URL When `null`, the `elasticloadbalancing` field will be omitted from the resulting object.\n - `elasticloadbalancingv2` (`string`): Use this to override the default service endpoint URL When `null`, the `elasticloadbalancingv2` field will be omitted from the resulting object.\n - `elasticsearch` (`string`): Use this to override the default service endpoint URL When `null`, the `elasticsearch` field will be omitted from the resulting object.\n - `elasticsearchservice` (`string`): Use this to override the default service endpoint URL When `null`, the `elasticsearchservice` field will be omitted from the resulting object.\n - `elastictranscoder` (`string`): Use this to override the default service endpoint URL When `null`, the `elastictranscoder` field will be omitted from the resulting object.\n - `elb` (`string`): Use this to override the default service endpoint URL When `null`, the `elb` field will be omitted from the resulting object.\n - `elbv2` (`string`): Use this to override the default service endpoint URL When `null`, the `elbv2` field will be omitted from the resulting object.\n - `emr` (`string`): Use this to override the default service endpoint URL When `null`, the `emr` field will be omitted from the resulting object.\n - `emrcontainers` (`string`): Use this to override the default service endpoint URL When `null`, the `emrcontainers` field will be omitted from the resulting object.\n - `emrserverless` (`string`): Use this to override the default service endpoint URL When `null`, the `emrserverless` field will be omitted from the resulting object.\n - `es` (`string`): Use this to override the default service endpoint URL When `null`, the `es` field will be omitted from the resulting object.\n - `eventbridge` (`string`): Use this to override the default service endpoint URL When `null`, the `eventbridge` field will be omitted from the resulting object.\n - `events` (`string`): Use this to override the default service endpoint URL When `null`, the `events` field will be omitted from the resulting object.\n - `evidently` (`string`): Use this to override the default service endpoint URL When `null`, the `evidently` field will be omitted from the resulting object.\n - `finspace` (`string`): Use this to override the default service endpoint URL When `null`, the `finspace` field will be omitted from the resulting object.\n - `firehose` (`string`): Use this to override the default service endpoint URL When `null`, the `firehose` field will be omitted from the resulting object.\n - `fis` (`string`): Use this to override the default service endpoint URL When `null`, the `fis` field will be omitted from the resulting object.\n - `fms` (`string`): Use this to override the default service endpoint URL When `null`, the `fms` field will be omitted from the resulting object.\n - `fsx` (`string`): Use this to override the default service endpoint URL When `null`, the `fsx` field will be omitted from the resulting object.\n - `gamelift` (`string`): Use this to override the default service endpoint URL When `null`, the `gamelift` field will be omitted from the resulting object.\n - `glacier` (`string`): Use this to override the default service endpoint URL When `null`, the `glacier` field will be omitted from the resulting object.\n - `globalaccelerator` (`string`): Use this to override the default service endpoint URL When `null`, the `globalaccelerator` field will be omitted from the resulting object.\n - `glue` (`string`): Use this to override the default service endpoint URL When `null`, the `glue` field will be omitted from the resulting object.\n - `grafana` (`string`): Use this to override the default service endpoint URL When `null`, the `grafana` field will be omitted from the resulting object.\n - `greengrass` (`string`): Use this to override the default service endpoint URL When `null`, the `greengrass` field will be omitted from the resulting object.\n - `guardduty` (`string`): Use this to override the default service endpoint URL When `null`, the `guardduty` field will be omitted from the resulting object.\n - `healthlake` (`string`): Use this to override the default service endpoint URL When `null`, the `healthlake` field will be omitted from the resulting object.\n - `iam` (`string`): Use this to override the default service endpoint URL When `null`, the `iam` field will be omitted from the resulting object.\n - `identitystore` (`string`): Use this to override the default service endpoint URL When `null`, the `identitystore` field will be omitted from the resulting object.\n - `imagebuilder` (`string`): Use this to override the default service endpoint URL When `null`, the `imagebuilder` field will be omitted from the resulting object.\n - `inspector` (`string`): Use this to override the default service endpoint URL When `null`, the `inspector` field will be omitted from the resulting object.\n - `inspector2` (`string`): Use this to override the default service endpoint URL When `null`, the `inspector2` field will be omitted from the resulting object.\n - `inspectorv2` (`string`): Use this to override the default service endpoint URL When `null`, the `inspectorv2` field will be omitted from the resulting object.\n - `internetmonitor` (`string`): Use this to override the default service endpoint URL When `null`, the `internetmonitor` field will be omitted from the resulting object.\n - `iot` (`string`): Use this to override the default service endpoint URL When `null`, the `iot` field will be omitted from the resulting object.\n - `iotanalytics` (`string`): Use this to override the default service endpoint URL When `null`, the `iotanalytics` field will be omitted from the resulting object.\n - `iotevents` (`string`): Use this to override the default service endpoint URL When `null`, the `iotevents` field will be omitted from the resulting object.\n - `ivs` (`string`): Use this to override the default service endpoint URL When `null`, the `ivs` field will be omitted from the resulting object.\n - `ivschat` (`string`): Use this to override the default service endpoint URL When `null`, the `ivschat` field will be omitted from the resulting object.\n - `kafka` (`string`): Use this to override the default service endpoint URL When `null`, the `kafka` field will be omitted from the resulting object.\n - `kafkaconnect` (`string`): Use this to override the default service endpoint URL When `null`, the `kafkaconnect` field will be omitted from the resulting object.\n - `kendra` (`string`): Use this to override the default service endpoint URL When `null`, the `kendra` field will be omitted from the resulting object.\n - `keyspaces` (`string`): Use this to override the default service endpoint URL When `null`, the `keyspaces` field will be omitted from the resulting object.\n - `kinesis` (`string`): Use this to override the default service endpoint URL When `null`, the `kinesis` field will be omitted from the resulting object.\n - `kinesisanalytics` (`string`): Use this to override the default service endpoint URL When `null`, the `kinesisanalytics` field will be omitted from the resulting object.\n - `kinesisanalyticsv2` (`string`): Use this to override the default service endpoint URL When `null`, the `kinesisanalyticsv2` field will be omitted from the resulting object.\n - `kinesisvideo` (`string`): Use this to override the default service endpoint URL When `null`, the `kinesisvideo` field will be omitted from the resulting object.\n - `kms` (`string`): Use this to override the default service endpoint URL When `null`, the `kms` field will be omitted from the resulting object.\n - `lakeformation` (`string`): Use this to override the default service endpoint URL When `null`, the `lakeformation` field will be omitted from the resulting object.\n - `lambda` (`string`): Use this to override the default service endpoint URL When `null`, the `lambda` field will be omitted from the resulting object.\n - `lex` (`string`): Use this to override the default service endpoint URL When `null`, the `lex` field will be omitted from the resulting object.\n - `lexmodelbuilding` (`string`): Use this to override the default service endpoint URL When `null`, the `lexmodelbuilding` field will be omitted from the resulting object.\n - `lexmodelbuildingservice` (`string`): Use this to override the default service endpoint URL When `null`, the `lexmodelbuildingservice` field will be omitted from the resulting object.\n - `lexmodels` (`string`): Use this to override the default service endpoint URL When `null`, the `lexmodels` field will be omitted from the resulting object.\n - `lexmodelsv2` (`string`): Use this to override the default service endpoint URL When `null`, the `lexmodelsv2` field will be omitted from the resulting object.\n - `lexv2models` (`string`): Use this to override the default service endpoint URL When `null`, the `lexv2models` field will be omitted from the resulting object.\n - `licensemanager` (`string`): Use this to override the default service endpoint URL When `null`, the `licensemanager` field will be omitted from the resulting object.\n - `lightsail` (`string`): Use this to override the default service endpoint URL When `null`, the `lightsail` field will be omitted from the resulting object.\n - `location` (`string`): Use this to override the default service endpoint URL When `null`, the `location` field will be omitted from the resulting object.\n - `locationservice` (`string`): Use this to override the default service endpoint URL When `null`, the `locationservice` field will be omitted from the resulting object.\n - `logs` (`string`): Use this to override the default service endpoint URL When `null`, the `logs` field will be omitted from the resulting object.\n - `lookoutmetrics` (`string`): Use this to override the default service endpoint URL When `null`, the `lookoutmetrics` field will be omitted from the resulting object.\n - `macie2` (`string`): Use this to override the default service endpoint URL When `null`, the `macie2` field will be omitted from the resulting object.\n - `managedgrafana` (`string`): Use this to override the default service endpoint URL When `null`, the `managedgrafana` field will be omitted from the resulting object.\n - `mediaconnect` (`string`): Use this to override the default service endpoint URL When `null`, the `mediaconnect` field will be omitted from the resulting object.\n - `mediaconvert` (`string`): Use this to override the default service endpoint URL When `null`, the `mediaconvert` field will be omitted from the resulting object.\n - `medialive` (`string`): Use this to override the default service endpoint URL When `null`, the `medialive` field will be omitted from the resulting object.\n - `mediapackage` (`string`): Use this to override the default service endpoint URL When `null`, the `mediapackage` field will be omitted from the resulting object.\n - `mediapackagev2` (`string`): Use this to override the default service endpoint URL When `null`, the `mediapackagev2` field will be omitted from the resulting object.\n - `mediastore` (`string`): Use this to override the default service endpoint URL When `null`, the `mediastore` field will be omitted from the resulting object.\n - `memorydb` (`string`): Use this to override the default service endpoint URL When `null`, the `memorydb` field will be omitted from the resulting object.\n - `mq` (`string`): Use this to override the default service endpoint URL When `null`, the `mq` field will be omitted from the resulting object.\n - `msk` (`string`): Use this to override the default service endpoint URL When `null`, the `msk` field will be omitted from the resulting object.\n - `mwaa` (`string`): Use this to override the default service endpoint URL When `null`, the `mwaa` field will be omitted from the resulting object.\n - `neptune` (`string`): Use this to override the default service endpoint URL When `null`, the `neptune` field will be omitted from the resulting object.\n - `networkfirewall` (`string`): Use this to override the default service endpoint URL When `null`, the `networkfirewall` field will be omitted from the resulting object.\n - `networkmanager` (`string`): Use this to override the default service endpoint URL When `null`, the `networkmanager` field will be omitted from the resulting object.\n - `oam` (`string`): Use this to override the default service endpoint URL When `null`, the `oam` field will be omitted from the resulting object.\n - `opensearch` (`string`): Use this to override the default service endpoint URL When `null`, the `opensearch` field will be omitted from the resulting object.\n - `opensearchingestion` (`string`): Use this to override the default service endpoint URL When `null`, the `opensearchingestion` field will be omitted from the resulting object.\n - `opensearchserverless` (`string`): Use this to override the default service endpoint URL When `null`, the `opensearchserverless` field will be omitted from the resulting object.\n - `opensearchservice` (`string`): Use this to override the default service endpoint URL When `null`, the `opensearchservice` field will be omitted from the resulting object.\n - `opsworks` (`string`): Use this to override the default service endpoint URL When `null`, the `opsworks` field will be omitted from the resulting object.\n - `organizations` (`string`): Use this to override the default service endpoint URL When `null`, the `organizations` field will be omitted from the resulting object.\n - `osis` (`string`): Use this to override the default service endpoint URL When `null`, the `osis` field will be omitted from the resulting object.\n - `outposts` (`string`): Use this to override the default service endpoint URL When `null`, the `outposts` field will be omitted from the resulting object.\n - `pinpoint` (`string`): Use this to override the default service endpoint URL When `null`, the `pinpoint` field will be omitted from the resulting object.\n - `pipes` (`string`): Use this to override the default service endpoint URL When `null`, the `pipes` field will be omitted from the resulting object.\n - `polly` (`string`): Use this to override the default service endpoint URL When `null`, the `polly` field will be omitted from the resulting object.\n - `pricing` (`string`): Use this to override the default service endpoint URL When `null`, the `pricing` field will be omitted from the resulting object.\n - `prometheus` (`string`): Use this to override the default service endpoint URL When `null`, the `prometheus` field will be omitted from the resulting object.\n - `prometheusservice` (`string`): Use this to override the default service endpoint URL When `null`, the `prometheusservice` field will be omitted from the resulting object.\n - `qldb` (`string`): Use this to override the default service endpoint URL When `null`, the `qldb` field will be omitted from the resulting object.\n - `quicksight` (`string`): Use this to override the default service endpoint URL When `null`, the `quicksight` field will be omitted from the resulting object.\n - `ram` (`string`): Use this to override the default service endpoint URL When `null`, the `ram` field will be omitted from the resulting object.\n - `rbin` (`string`): Use this to override the default service endpoint URL When `null`, the `rbin` field will be omitted from the resulting object.\n - `rds` (`string`): Use this to override the default service endpoint URL When `null`, the `rds` field will be omitted from the resulting object.\n - `recyclebin` (`string`): Use this to override the default service endpoint URL When `null`, the `recyclebin` field will be omitted from the resulting object.\n - `redshift` (`string`): Use this to override the default service endpoint URL When `null`, the `redshift` field will be omitted from the resulting object.\n - `redshiftdata` (`string`): Use this to override the default service endpoint URL When `null`, the `redshiftdata` field will be omitted from the resulting object.\n - `redshiftdataapiservice` (`string`): Use this to override the default service endpoint URL When `null`, the `redshiftdataapiservice` field will be omitted from the resulting object.\n - `redshiftserverless` (`string`): Use this to override the default service endpoint URL When `null`, the `redshiftserverless` field will be omitted from the resulting object.\n - `resourceexplorer2` (`string`): Use this to override the default service endpoint URL When `null`, the `resourceexplorer2` field will be omitted from the resulting object.\n - `resourcegroups` (`string`): Use this to override the default service endpoint URL When `null`, the `resourcegroups` field will be omitted from the resulting object.\n - `resourcegroupstagging` (`string`): Use this to override the default service endpoint URL When `null`, the `resourcegroupstagging` field will be omitted from the resulting object.\n - `resourcegroupstaggingapi` (`string`): Use this to override the default service endpoint URL When `null`, the `resourcegroupstaggingapi` field will be omitted from the resulting object.\n - `rolesanywhere` (`string`): Use this to override the default service endpoint URL When `null`, the `rolesanywhere` field will be omitted from the resulting object.\n - `route53` (`string`): Use this to override the default service endpoint URL When `null`, the `route53` field will be omitted from the resulting object.\n - `route53domains` (`string`): Use this to override the default service endpoint URL When `null`, the `route53domains` field will be omitted from the resulting object.\n - `route53recoverycontrolconfig` (`string`): Use this to override the default service endpoint URL When `null`, the `route53recoverycontrolconfig` field will be omitted from the resulting object.\n - `route53recoveryreadiness` (`string`): Use this to override the default service endpoint URL When `null`, the `route53recoveryreadiness` field will be omitted from the resulting object.\n - `route53resolver` (`string`): Use this to override the default service endpoint URL When `null`, the `route53resolver` field will be omitted from the resulting object.\n - `rum` (`string`): Use this to override the default service endpoint URL When `null`, the `rum` field will be omitted from the resulting object.\n - `s3` (`string`): Use this to override the default service endpoint URL When `null`, the `s3` field will be omitted from the resulting object.\n - `s3api` (`string`): Use this to override the default service endpoint URL When `null`, the `s3api` field will be omitted from the resulting object.\n - `s3control` (`string`): Use this to override the default service endpoint URL When `null`, the `s3control` field will be omitted from the resulting object.\n - `s3outposts` (`string`): Use this to override the default service endpoint URL When `null`, the `s3outposts` field will be omitted from the resulting object.\n - `sagemaker` (`string`): Use this to override the default service endpoint URL When `null`, the `sagemaker` field will be omitted from the resulting object.\n - `scheduler` (`string`): Use this to override the default service endpoint URL When `null`, the `scheduler` field will be omitted from the resulting object.\n - `schemas` (`string`): Use this to override the default service endpoint URL When `null`, the `schemas` field will be omitted from the resulting object.\n - `sdb` (`string`): Use this to override the default service endpoint URL When `null`, the `sdb` field will be omitted from the resulting object.\n - `secretsmanager` (`string`): Use this to override the default service endpoint URL When `null`, the `secretsmanager` field will be omitted from the resulting object.\n - `securityhub` (`string`): Use this to override the default service endpoint URL When `null`, the `securityhub` field will be omitted from the resulting object.\n - `securitylake` (`string`): Use this to override the default service endpoint URL When `null`, the `securitylake` field will be omitted from the resulting object.\n - `serverlessapplicationrepository` (`string`): Use this to override the default service endpoint URL When `null`, the `serverlessapplicationrepository` field will be omitted from the resulting object.\n - `serverlessapprepo` (`string`): Use this to override the default service endpoint URL When `null`, the `serverlessapprepo` field will be omitted from the resulting object.\n - `serverlessrepo` (`string`): Use this to override the default service endpoint URL When `null`, the `serverlessrepo` field will be omitted from the resulting object.\n - `servicecatalog` (`string`): Use this to override the default service endpoint URL When `null`, the `servicecatalog` field will be omitted from the resulting object.\n - `servicediscovery` (`string`): Use this to override the default service endpoint URL When `null`, the `servicediscovery` field will be omitted from the resulting object.\n - `servicequotas` (`string`): Use this to override the default service endpoint URL When `null`, the `servicequotas` field will be omitted from the resulting object.\n - `ses` (`string`): Use this to override the default service endpoint URL When `null`, the `ses` field will be omitted from the resulting object.\n - `sesv2` (`string`): Use this to override the default service endpoint URL When `null`, the `sesv2` field will be omitted from the resulting object.\n - `sfn` (`string`): Use this to override the default service endpoint URL When `null`, the `sfn` field will be omitted from the resulting object.\n - `shield` (`string`): Use this to override the default service endpoint URL When `null`, the `shield` field will be omitted from the resulting object.\n - `signer` (`string`): Use this to override the default service endpoint URL When `null`, the `signer` field will be omitted from the resulting object.\n - `simpledb` (`string`): Use this to override the default service endpoint URL When `null`, the `simpledb` field will be omitted from the resulting object.\n - `sns` (`string`): Use this to override the default service endpoint URL When `null`, the `sns` field will be omitted from the resulting object.\n - `sqs` (`string`): Use this to override the default service endpoint URL When `null`, the `sqs` field will be omitted from the resulting object.\n - `ssm` (`string`): Use this to override the default service endpoint URL When `null`, the `ssm` field will be omitted from the resulting object.\n - `ssmcontacts` (`string`): Use this to override the default service endpoint URL When `null`, the `ssmcontacts` field will be omitted from the resulting object.\n - `ssmincidents` (`string`): Use this to override the default service endpoint URL When `null`, the `ssmincidents` field will be omitted from the resulting object.\n - `sso` (`string`): Use this to override the default service endpoint URL When `null`, the `sso` field will be omitted from the resulting object.\n - `ssoadmin` (`string`): Use this to override the default service endpoint URL When `null`, the `ssoadmin` field will be omitted from the resulting object.\n - `stepfunctions` (`string`): Use this to override the default service endpoint URL When `null`, the `stepfunctions` field will be omitted from the resulting object.\n - `storagegateway` (`string`): Use this to override the default service endpoint URL When `null`, the `storagegateway` field will be omitted from the resulting object.\n - `sts` (`string`): Use this to override the default service endpoint URL When `null`, the `sts` field will be omitted from the resulting object.\n - `swf` (`string`): Use this to override the default service endpoint URL When `null`, the `swf` field will be omitted from the resulting object.\n - `synthetics` (`string`): Use this to override the default service endpoint URL When `null`, the `synthetics` field will be omitted from the resulting object.\n - `timestreamwrite` (`string`): Use this to override the default service endpoint URL When `null`, the `timestreamwrite` field will be omitted from the resulting object.\n - `transcribe` (`string`): Use this to override the default service endpoint URL When `null`, the `transcribe` field will be omitted from the resulting object.\n - `transcribeservice` (`string`): Use this to override the default service endpoint URL When `null`, the `transcribeservice` field will be omitted from the resulting object.\n - `transfer` (`string`): Use this to override the default service endpoint URL When `null`, the `transfer` field will be omitted from the resulting object.\n - `verifiedpermissions` (`string`): Use this to override the default service endpoint URL When `null`, the `verifiedpermissions` field will be omitted from the resulting object.\n - `vpclattice` (`string`): Use this to override the default service endpoint URL When `null`, the `vpclattice` field will be omitted from the resulting object.\n - `waf` (`string`): Use this to override the default service endpoint URL When `null`, the `waf` field will be omitted from the resulting object.\n - `wafregional` (`string`): Use this to override the default service endpoint URL When `null`, the `wafregional` field will be omitted from the resulting object.\n - `wafv2` (`string`): Use this to override the default service endpoint URL When `null`, the `wafv2` field will be omitted from the resulting object.\n - `worklink` (`string`): Use this to override the default service endpoint URL When `null`, the `worklink` field will be omitted from the resulting object.\n - `workspaces` (`string`): Use this to override the default service endpoint URL When `null`, the `workspaces` field will be omitted from the resulting object.\n - `xray` (`string`): Use this to override the default service endpoint URL When `null`, the `xray` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `endpoints` sub block.\n', args=[]), + '#new':: d.fn(help='\n`aws.endpoints.new` constructs a new object with attributes and blocks configured for the `endpoints`\nTerraform sub block.\n\n\n\n**Args**:\n - `accessanalyzer` (`string`): Use this to override the default service endpoint URL When `null`, the `accessanalyzer` field will be omitted from the resulting object.\n - `account` (`string`): Use this to override the default service endpoint URL When `null`, the `account` field will be omitted from the resulting object.\n - `acm` (`string`): Use this to override the default service endpoint URL When `null`, the `acm` field will be omitted from the resulting object.\n - `acmpca` (`string`): Use this to override the default service endpoint URL When `null`, the `acmpca` field will be omitted from the resulting object.\n - `amg` (`string`): Use this to override the default service endpoint URL When `null`, the `amg` field will be omitted from the resulting object.\n - `amp` (`string`): Use this to override the default service endpoint URL When `null`, the `amp` field will be omitted from the resulting object.\n - `amplify` (`string`): Use this to override the default service endpoint URL When `null`, the `amplify` field will be omitted from the resulting object.\n - `apigateway` (`string`): Use this to override the default service endpoint URL When `null`, the `apigateway` field will be omitted from the resulting object.\n - `apigatewayv2` (`string`): Use this to override the default service endpoint URL When `null`, the `apigatewayv2` field will be omitted from the resulting object.\n - `appautoscaling` (`string`): Use this to override the default service endpoint URL When `null`, the `appautoscaling` field will be omitted from the resulting object.\n - `appconfig` (`string`): Use this to override the default service endpoint URL When `null`, the `appconfig` field will be omitted from the resulting object.\n - `appfabric` (`string`): Use this to override the default service endpoint URL When `null`, the `appfabric` field will be omitted from the resulting object.\n - `appflow` (`string`): Use this to override the default service endpoint URL When `null`, the `appflow` field will be omitted from the resulting object.\n - `appintegrations` (`string`): Use this to override the default service endpoint URL When `null`, the `appintegrations` field will be omitted from the resulting object.\n - `appintegrationsservice` (`string`): Use this to override the default service endpoint URL When `null`, the `appintegrationsservice` field will be omitted from the resulting object.\n - `applicationautoscaling` (`string`): Use this to override the default service endpoint URL When `null`, the `applicationautoscaling` field will be omitted from the resulting object.\n - `applicationinsights` (`string`): Use this to override the default service endpoint URL When `null`, the `applicationinsights` field will be omitted from the resulting object.\n - `appmesh` (`string`): Use this to override the default service endpoint URL When `null`, the `appmesh` field will be omitted from the resulting object.\n - `appregistry` (`string`): Use this to override the default service endpoint URL When `null`, the `appregistry` field will be omitted from the resulting object.\n - `apprunner` (`string`): Use this to override the default service endpoint URL When `null`, the `apprunner` field will be omitted from the resulting object.\n - `appstream` (`string`): Use this to override the default service endpoint URL When `null`, the `appstream` field will be omitted from the resulting object.\n - `appsync` (`string`): Use this to override the default service endpoint URL When `null`, the `appsync` field will be omitted from the resulting object.\n - `athena` (`string`): Use this to override the default service endpoint URL When `null`, the `athena` field will be omitted from the resulting object.\n - `auditmanager` (`string`): Use this to override the default service endpoint URL When `null`, the `auditmanager` field will be omitted from the resulting object.\n - `autoscaling` (`string`): Use this to override the default service endpoint URL When `null`, the `autoscaling` field will be omitted from the resulting object.\n - `autoscalingplans` (`string`): Use this to override the default service endpoint URL When `null`, the `autoscalingplans` field will be omitted from the resulting object.\n - `backup` (`string`): Use this to override the default service endpoint URL When `null`, the `backup` field will be omitted from the resulting object.\n - `batch` (`string`): Use this to override the default service endpoint URL When `null`, the `batch` field will be omitted from the resulting object.\n - `beanstalk` (`string`): Use this to override the default service endpoint URL When `null`, the `beanstalk` field will be omitted from the resulting object.\n - `bedrock` (`string`): Use this to override the default service endpoint URL When `null`, the `bedrock` field will be omitted from the resulting object.\n - `budgets` (`string`): Use this to override the default service endpoint URL When `null`, the `budgets` field will be omitted from the resulting object.\n - `ce` (`string`): Use this to override the default service endpoint URL When `null`, the `ce` field will be omitted from the resulting object.\n - `chime` (`string`): Use this to override the default service endpoint URL When `null`, the `chime` field will be omitted from the resulting object.\n - `chimesdkmediapipelines` (`string`): Use this to override the default service endpoint URL When `null`, the `chimesdkmediapipelines` field will be omitted from the resulting object.\n - `chimesdkvoice` (`string`): Use this to override the default service endpoint URL When `null`, the `chimesdkvoice` field will be omitted from the resulting object.\n - `cleanrooms` (`string`): Use this to override the default service endpoint URL When `null`, the `cleanrooms` field will be omitted from the resulting object.\n - `cloud9` (`string`): Use this to override the default service endpoint URL When `null`, the `cloud9` field will be omitted from the resulting object.\n - `cloudcontrol` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudcontrol` field will be omitted from the resulting object.\n - `cloudcontrolapi` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudcontrolapi` field will be omitted from the resulting object.\n - `cloudformation` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudformation` field will be omitted from the resulting object.\n - `cloudfront` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudfront` field will be omitted from the resulting object.\n - `cloudhsm` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudhsm` field will be omitted from the resulting object.\n - `cloudhsmv2` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudhsmv2` field will be omitted from the resulting object.\n - `cloudsearch` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudsearch` field will be omitted from the resulting object.\n - `cloudtrail` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudtrail` field will be omitted from the resulting object.\n - `cloudwatch` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatch` field will be omitted from the resulting object.\n - `cloudwatchevents` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchevents` field will be omitted from the resulting object.\n - `cloudwatchevidently` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchevidently` field will be omitted from the resulting object.\n - `cloudwatchlog` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchlog` field will be omitted from the resulting object.\n - `cloudwatchlogs` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchlogs` field will be omitted from the resulting object.\n - `cloudwatchobservabilityaccessmanager` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchobservabilityaccessmanager` field will be omitted from the resulting object.\n - `cloudwatchrum` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchrum` field will be omitted from the resulting object.\n - `codeartifact` (`string`): Use this to override the default service endpoint URL When `null`, the `codeartifact` field will be omitted from the resulting object.\n - `codebuild` (`string`): Use this to override the default service endpoint URL When `null`, the `codebuild` field will be omitted from the resulting object.\n - `codecatalyst` (`string`): Use this to override the default service endpoint URL When `null`, the `codecatalyst` field will be omitted from the resulting object.\n - `codecommit` (`string`): Use this to override the default service endpoint URL When `null`, the `codecommit` field will be omitted from the resulting object.\n - `codedeploy` (`string`): Use this to override the default service endpoint URL When `null`, the `codedeploy` field will be omitted from the resulting object.\n - `codeguruprofiler` (`string`): Use this to override the default service endpoint URL When `null`, the `codeguruprofiler` field will be omitted from the resulting object.\n - `codegurureviewer` (`string`): Use this to override the default service endpoint URL When `null`, the `codegurureviewer` field will be omitted from the resulting object.\n - `codepipeline` (`string`): Use this to override the default service endpoint URL When `null`, the `codepipeline` field will be omitted from the resulting object.\n - `codestarconnections` (`string`): Use this to override the default service endpoint URL When `null`, the `codestarconnections` field will be omitted from the resulting object.\n - `codestarnotifications` (`string`): Use this to override the default service endpoint URL When `null`, the `codestarnotifications` field will be omitted from the resulting object.\n - `cognitoidentity` (`string`): Use this to override the default service endpoint URL When `null`, the `cognitoidentity` field will be omitted from the resulting object.\n - `cognitoidentityprovider` (`string`): Use this to override the default service endpoint URL When `null`, the `cognitoidentityprovider` field will be omitted from the resulting object.\n - `cognitoidp` (`string`): Use this to override the default service endpoint URL When `null`, the `cognitoidp` field will be omitted from the resulting object.\n - `comprehend` (`string`): Use this to override the default service endpoint URL When `null`, the `comprehend` field will be omitted from the resulting object.\n - `computeoptimizer` (`string`): Use this to override the default service endpoint URL When `null`, the `computeoptimizer` field will be omitted from the resulting object.\n - `config` (`string`): Use this to override the default service endpoint URL When `null`, the `config` field will be omitted from the resulting object.\n - `configservice` (`string`): Use this to override the default service endpoint URL When `null`, the `configservice` field will be omitted from the resulting object.\n - `connect` (`string`): Use this to override the default service endpoint URL When `null`, the `connect` field will be omitted from the resulting object.\n - `connectcases` (`string`): Use this to override the default service endpoint URL When `null`, the `connectcases` field will be omitted from the resulting object.\n - `controltower` (`string`): Use this to override the default service endpoint URL When `null`, the `controltower` field will be omitted from the resulting object.\n - `costandusagereportservice` (`string`): Use this to override the default service endpoint URL When `null`, the `costandusagereportservice` field will be omitted from the resulting object.\n - `costexplorer` (`string`): Use this to override the default service endpoint URL When `null`, the `costexplorer` field will be omitted from the resulting object.\n - `cur` (`string`): Use this to override the default service endpoint URL When `null`, the `cur` field will be omitted from the resulting object.\n - `customerprofiles` (`string`): Use this to override the default service endpoint URL When `null`, the `customerprofiles` field will be omitted from the resulting object.\n - `databasemigration` (`string`): Use this to override the default service endpoint URL When `null`, the `databasemigration` field will be omitted from the resulting object.\n - `databasemigrationservice` (`string`): Use this to override the default service endpoint URL When `null`, the `databasemigrationservice` field will be omitted from the resulting object.\n - `dataexchange` (`string`): Use this to override the default service endpoint URL When `null`, the `dataexchange` field will be omitted from the resulting object.\n - `datapipeline` (`string`): Use this to override the default service endpoint URL When `null`, the `datapipeline` field will be omitted from the resulting object.\n - `datasync` (`string`): Use this to override the default service endpoint URL When `null`, the `datasync` field will be omitted from the resulting object.\n - `dax` (`string`): Use this to override the default service endpoint URL When `null`, the `dax` field will be omitted from the resulting object.\n - `deploy` (`string`): Use this to override the default service endpoint URL When `null`, the `deploy` field will be omitted from the resulting object.\n - `detective` (`string`): Use this to override the default service endpoint URL When `null`, the `detective` field will be omitted from the resulting object.\n - `devicefarm` (`string`): Use this to override the default service endpoint URL When `null`, the `devicefarm` field will be omitted from the resulting object.\n - `directconnect` (`string`): Use this to override the default service endpoint URL When `null`, the `directconnect` field will be omitted from the resulting object.\n - `directoryservice` (`string`): Use this to override the default service endpoint URL When `null`, the `directoryservice` field will be omitted from the resulting object.\n - `dlm` (`string`): Use this to override the default service endpoint URL When `null`, the `dlm` field will be omitted from the resulting object.\n - `dms` (`string`): Use this to override the default service endpoint URL When `null`, the `dms` field will be omitted from the resulting object.\n - `docdb` (`string`): Use this to override the default service endpoint URL When `null`, the `docdb` field will be omitted from the resulting object.\n - `docdbelastic` (`string`): Use this to override the default service endpoint URL When `null`, the `docdbelastic` field will be omitted from the resulting object.\n - `ds` (`string`): Use this to override the default service endpoint URL When `null`, the `ds` field will be omitted from the resulting object.\n - `dynamodb` (`string`): Use this to override the default service endpoint URL When `null`, the `dynamodb` field will be omitted from the resulting object.\n - `ec2` (`string`): Use this to override the default service endpoint URL When `null`, the `ec2` field will be omitted from the resulting object.\n - `ecr` (`string`): Use this to override the default service endpoint URL When `null`, the `ecr` field will be omitted from the resulting object.\n - `ecrpublic` (`string`): Use this to override the default service endpoint URL When `null`, the `ecrpublic` field will be omitted from the resulting object.\n - `ecs` (`string`): Use this to override the default service endpoint URL When `null`, the `ecs` field will be omitted from the resulting object.\n - `efs` (`string`): Use this to override the default service endpoint URL When `null`, the `efs` field will be omitted from the resulting object.\n - `eks` (`string`): Use this to override the default service endpoint URL When `null`, the `eks` field will be omitted from the resulting object.\n - `elasticache` (`string`): Use this to override the default service endpoint URL When `null`, the `elasticache` field will be omitted from the resulting object.\n - `elasticbeanstalk` (`string`): Use this to override the default service endpoint URL When `null`, the `elasticbeanstalk` field will be omitted from the resulting object.\n - `elasticloadbalancing` (`string`): Use this to override the default service endpoint URL When `null`, the `elasticloadbalancing` field will be omitted from the resulting object.\n - `elasticloadbalancingv2` (`string`): Use this to override the default service endpoint URL When `null`, the `elasticloadbalancingv2` field will be omitted from the resulting object.\n - `elasticsearch` (`string`): Use this to override the default service endpoint URL When `null`, the `elasticsearch` field will be omitted from the resulting object.\n - `elasticsearchservice` (`string`): Use this to override the default service endpoint URL When `null`, the `elasticsearchservice` field will be omitted from the resulting object.\n - `elastictranscoder` (`string`): Use this to override the default service endpoint URL When `null`, the `elastictranscoder` field will be omitted from the resulting object.\n - `elb` (`string`): Use this to override the default service endpoint URL When `null`, the `elb` field will be omitted from the resulting object.\n - `elbv2` (`string`): Use this to override the default service endpoint URL When `null`, the `elbv2` field will be omitted from the resulting object.\n - `emr` (`string`): Use this to override the default service endpoint URL When `null`, the `emr` field will be omitted from the resulting object.\n - `emrcontainers` (`string`): Use this to override the default service endpoint URL When `null`, the `emrcontainers` field will be omitted from the resulting object.\n - `emrserverless` (`string`): Use this to override the default service endpoint URL When `null`, the `emrserverless` field will be omitted from the resulting object.\n - `es` (`string`): Use this to override the default service endpoint URL When `null`, the `es` field will be omitted from the resulting object.\n - `eventbridge` (`string`): Use this to override the default service endpoint URL When `null`, the `eventbridge` field will be omitted from the resulting object.\n - `events` (`string`): Use this to override the default service endpoint URL When `null`, the `events` field will be omitted from the resulting object.\n - `evidently` (`string`): Use this to override the default service endpoint URL When `null`, the `evidently` field will be omitted from the resulting object.\n - `finspace` (`string`): Use this to override the default service endpoint URL When `null`, the `finspace` field will be omitted from the resulting object.\n - `firehose` (`string`): Use this to override the default service endpoint URL When `null`, the `firehose` field will be omitted from the resulting object.\n - `fis` (`string`): Use this to override the default service endpoint URL When `null`, the `fis` field will be omitted from the resulting object.\n - `fms` (`string`): Use this to override the default service endpoint URL When `null`, the `fms` field will be omitted from the resulting object.\n - `fsx` (`string`): Use this to override the default service endpoint URL When `null`, the `fsx` field will be omitted from the resulting object.\n - `gamelift` (`string`): Use this to override the default service endpoint URL When `null`, the `gamelift` field will be omitted from the resulting object.\n - `glacier` (`string`): Use this to override the default service endpoint URL When `null`, the `glacier` field will be omitted from the resulting object.\n - `globalaccelerator` (`string`): Use this to override the default service endpoint URL When `null`, the `globalaccelerator` field will be omitted from the resulting object.\n - `glue` (`string`): Use this to override the default service endpoint URL When `null`, the `glue` field will be omitted from the resulting object.\n - `grafana` (`string`): Use this to override the default service endpoint URL When `null`, the `grafana` field will be omitted from the resulting object.\n - `greengrass` (`string`): Use this to override the default service endpoint URL When `null`, the `greengrass` field will be omitted from the resulting object.\n - `groundstation` (`string`): Use this to override the default service endpoint URL When `null`, the `groundstation` field will be omitted from the resulting object.\n - `guardduty` (`string`): Use this to override the default service endpoint URL When `null`, the `guardduty` field will be omitted from the resulting object.\n - `healthlake` (`string`): Use this to override the default service endpoint URL When `null`, the `healthlake` field will be omitted from the resulting object.\n - `iam` (`string`): Use this to override the default service endpoint URL When `null`, the `iam` field will be omitted from the resulting object.\n - `identitystore` (`string`): Use this to override the default service endpoint URL When `null`, the `identitystore` field will be omitted from the resulting object.\n - `imagebuilder` (`string`): Use this to override the default service endpoint URL When `null`, the `imagebuilder` field will be omitted from the resulting object.\n - `inspector` (`string`): Use this to override the default service endpoint URL When `null`, the `inspector` field will be omitted from the resulting object.\n - `inspector2` (`string`): Use this to override the default service endpoint URL When `null`, the `inspector2` field will be omitted from the resulting object.\n - `inspectorv2` (`string`): Use this to override the default service endpoint URL When `null`, the `inspectorv2` field will be omitted from the resulting object.\n - `internetmonitor` (`string`): Use this to override the default service endpoint URL When `null`, the `internetmonitor` field will be omitted from the resulting object.\n - `iot` (`string`): Use this to override the default service endpoint URL When `null`, the `iot` field will be omitted from the resulting object.\n - `iotanalytics` (`string`): Use this to override the default service endpoint URL When `null`, the `iotanalytics` field will be omitted from the resulting object.\n - `iotevents` (`string`): Use this to override the default service endpoint URL When `null`, the `iotevents` field will be omitted from the resulting object.\n - `ivs` (`string`): Use this to override the default service endpoint URL When `null`, the `ivs` field will be omitted from the resulting object.\n - `ivschat` (`string`): Use this to override the default service endpoint URL When `null`, the `ivschat` field will be omitted from the resulting object.\n - `kafka` (`string`): Use this to override the default service endpoint URL When `null`, the `kafka` field will be omitted from the resulting object.\n - `kafkaconnect` (`string`): Use this to override the default service endpoint URL When `null`, the `kafkaconnect` field will be omitted from the resulting object.\n - `kendra` (`string`): Use this to override the default service endpoint URL When `null`, the `kendra` field will be omitted from the resulting object.\n - `keyspaces` (`string`): Use this to override the default service endpoint URL When `null`, the `keyspaces` field will be omitted from the resulting object.\n - `kinesis` (`string`): Use this to override the default service endpoint URL When `null`, the `kinesis` field will be omitted from the resulting object.\n - `kinesisanalytics` (`string`): Use this to override the default service endpoint URL When `null`, the `kinesisanalytics` field will be omitted from the resulting object.\n - `kinesisanalyticsv2` (`string`): Use this to override the default service endpoint URL When `null`, the `kinesisanalyticsv2` field will be omitted from the resulting object.\n - `kinesisvideo` (`string`): Use this to override the default service endpoint URL When `null`, the `kinesisvideo` field will be omitted from the resulting object.\n - `kms` (`string`): Use this to override the default service endpoint URL When `null`, the `kms` field will be omitted from the resulting object.\n - `lakeformation` (`string`): Use this to override the default service endpoint URL When `null`, the `lakeformation` field will be omitted from the resulting object.\n - `lambda` (`string`): Use this to override the default service endpoint URL When `null`, the `lambda` field will be omitted from the resulting object.\n - `launchwizard` (`string`): Use this to override the default service endpoint URL When `null`, the `launchwizard` field will be omitted from the resulting object.\n - `lex` (`string`): Use this to override the default service endpoint URL When `null`, the `lex` field will be omitted from the resulting object.\n - `lexmodelbuilding` (`string`): Use this to override the default service endpoint URL When `null`, the `lexmodelbuilding` field will be omitted from the resulting object.\n - `lexmodelbuildingservice` (`string`): Use this to override the default service endpoint URL When `null`, the `lexmodelbuildingservice` field will be omitted from the resulting object.\n - `lexmodels` (`string`): Use this to override the default service endpoint URL When `null`, the `lexmodels` field will be omitted from the resulting object.\n - `lexmodelsv2` (`string`): Use this to override the default service endpoint URL When `null`, the `lexmodelsv2` field will be omitted from the resulting object.\n - `lexv2models` (`string`): Use this to override the default service endpoint URL When `null`, the `lexv2models` field will be omitted from the resulting object.\n - `licensemanager` (`string`): Use this to override the default service endpoint URL When `null`, the `licensemanager` field will be omitted from the resulting object.\n - `lightsail` (`string`): Use this to override the default service endpoint URL When `null`, the `lightsail` field will be omitted from the resulting object.\n - `location` (`string`): Use this to override the default service endpoint URL When `null`, the `location` field will be omitted from the resulting object.\n - `locationservice` (`string`): Use this to override the default service endpoint URL When `null`, the `locationservice` field will be omitted from the resulting object.\n - `logs` (`string`): Use this to override the default service endpoint URL When `null`, the `logs` field will be omitted from the resulting object.\n - `lookoutmetrics` (`string`): Use this to override the default service endpoint URL When `null`, the `lookoutmetrics` field will be omitted from the resulting object.\n - `macie2` (`string`): Use this to override the default service endpoint URL When `null`, the `macie2` field will be omitted from the resulting object.\n - `managedgrafana` (`string`): Use this to override the default service endpoint URL When `null`, the `managedgrafana` field will be omitted from the resulting object.\n - `mediaconnect` (`string`): Use this to override the default service endpoint URL When `null`, the `mediaconnect` field will be omitted from the resulting object.\n - `mediaconvert` (`string`): Use this to override the default service endpoint URL When `null`, the `mediaconvert` field will be omitted from the resulting object.\n - `medialive` (`string`): Use this to override the default service endpoint URL When `null`, the `medialive` field will be omitted from the resulting object.\n - `mediapackage` (`string`): Use this to override the default service endpoint URL When `null`, the `mediapackage` field will be omitted from the resulting object.\n - `mediapackagev2` (`string`): Use this to override the default service endpoint URL When `null`, the `mediapackagev2` field will be omitted from the resulting object.\n - `mediastore` (`string`): Use this to override the default service endpoint URL When `null`, the `mediastore` field will be omitted from the resulting object.\n - `memorydb` (`string`): Use this to override the default service endpoint URL When `null`, the `memorydb` field will be omitted from the resulting object.\n - `mq` (`string`): Use this to override the default service endpoint URL When `null`, the `mq` field will be omitted from the resulting object.\n - `msk` (`string`): Use this to override the default service endpoint URL When `null`, the `msk` field will be omitted from the resulting object.\n - `mwaa` (`string`): Use this to override the default service endpoint URL When `null`, the `mwaa` field will be omitted from the resulting object.\n - `neptune` (`string`): Use this to override the default service endpoint URL When `null`, the `neptune` field will be omitted from the resulting object.\n - `networkfirewall` (`string`): Use this to override the default service endpoint URL When `null`, the `networkfirewall` field will be omitted from the resulting object.\n - `networkmanager` (`string`): Use this to override the default service endpoint URL When `null`, the `networkmanager` field will be omitted from the resulting object.\n - `oam` (`string`): Use this to override the default service endpoint URL When `null`, the `oam` field will be omitted from the resulting object.\n - `opensearch` (`string`): Use this to override the default service endpoint URL When `null`, the `opensearch` field will be omitted from the resulting object.\n - `opensearchingestion` (`string`): Use this to override the default service endpoint URL When `null`, the `opensearchingestion` field will be omitted from the resulting object.\n - `opensearchserverless` (`string`): Use this to override the default service endpoint URL When `null`, the `opensearchserverless` field will be omitted from the resulting object.\n - `opensearchservice` (`string`): Use this to override the default service endpoint URL When `null`, the `opensearchservice` field will be omitted from the resulting object.\n - `opsworks` (`string`): Use this to override the default service endpoint URL When `null`, the `opsworks` field will be omitted from the resulting object.\n - `organizations` (`string`): Use this to override the default service endpoint URL When `null`, the `organizations` field will be omitted from the resulting object.\n - `osis` (`string`): Use this to override the default service endpoint URL When `null`, the `osis` field will be omitted from the resulting object.\n - `outposts` (`string`): Use this to override the default service endpoint URL When `null`, the `outposts` field will be omitted from the resulting object.\n - `pcaconnectorad` (`string`): Use this to override the default service endpoint URL When `null`, the `pcaconnectorad` field will be omitted from the resulting object.\n - `pinpoint` (`string`): Use this to override the default service endpoint URL When `null`, the `pinpoint` field will be omitted from the resulting object.\n - `pipes` (`string`): Use this to override the default service endpoint URL When `null`, the `pipes` field will be omitted from the resulting object.\n - `polly` (`string`): Use this to override the default service endpoint URL When `null`, the `polly` field will be omitted from the resulting object.\n - `pricing` (`string`): Use this to override the default service endpoint URL When `null`, the `pricing` field will be omitted from the resulting object.\n - `prometheus` (`string`): Use this to override the default service endpoint URL When `null`, the `prometheus` field will be omitted from the resulting object.\n - `prometheusservice` (`string`): Use this to override the default service endpoint URL When `null`, the `prometheusservice` field will be omitted from the resulting object.\n - `qbusiness` (`string`): Use this to override the default service endpoint URL When `null`, the `qbusiness` field will be omitted from the resulting object.\n - `qldb` (`string`): Use this to override the default service endpoint URL When `null`, the `qldb` field will be omitted from the resulting object.\n - `quicksight` (`string`): Use this to override the default service endpoint URL When `null`, the `quicksight` field will be omitted from the resulting object.\n - `ram` (`string`): Use this to override the default service endpoint URL When `null`, the `ram` field will be omitted from the resulting object.\n - `rbin` (`string`): Use this to override the default service endpoint URL When `null`, the `rbin` field will be omitted from the resulting object.\n - `rds` (`string`): Use this to override the default service endpoint URL When `null`, the `rds` field will be omitted from the resulting object.\n - `recyclebin` (`string`): Use this to override the default service endpoint URL When `null`, the `recyclebin` field will be omitted from the resulting object.\n - `redshift` (`string`): Use this to override the default service endpoint URL When `null`, the `redshift` field will be omitted from the resulting object.\n - `redshiftdata` (`string`): Use this to override the default service endpoint URL When `null`, the `redshiftdata` field will be omitted from the resulting object.\n - `redshiftdataapiservice` (`string`): Use this to override the default service endpoint URL When `null`, the `redshiftdataapiservice` field will be omitted from the resulting object.\n - `redshiftserverless` (`string`): Use this to override the default service endpoint URL When `null`, the `redshiftserverless` field will be omitted from the resulting object.\n - `resourceexplorer2` (`string`): Use this to override the default service endpoint URL When `null`, the `resourceexplorer2` field will be omitted from the resulting object.\n - `resourcegroups` (`string`): Use this to override the default service endpoint URL When `null`, the `resourcegroups` field will be omitted from the resulting object.\n - `resourcegroupstagging` (`string`): Use this to override the default service endpoint URL When `null`, the `resourcegroupstagging` field will be omitted from the resulting object.\n - `resourcegroupstaggingapi` (`string`): Use this to override the default service endpoint URL When `null`, the `resourcegroupstaggingapi` field will be omitted from the resulting object.\n - `rolesanywhere` (`string`): Use this to override the default service endpoint URL When `null`, the `rolesanywhere` field will be omitted from the resulting object.\n - `route53` (`string`): Use this to override the default service endpoint URL When `null`, the `route53` field will be omitted from the resulting object.\n - `route53domains` (`string`): Use this to override the default service endpoint URL When `null`, the `route53domains` field will be omitted from the resulting object.\n - `route53recoverycontrolconfig` (`string`): Use this to override the default service endpoint URL When `null`, the `route53recoverycontrolconfig` field will be omitted from the resulting object.\n - `route53recoveryreadiness` (`string`): Use this to override the default service endpoint URL When `null`, the `route53recoveryreadiness` field will be omitted from the resulting object.\n - `route53resolver` (`string`): Use this to override the default service endpoint URL When `null`, the `route53resolver` field will be omitted from the resulting object.\n - `rum` (`string`): Use this to override the default service endpoint URL When `null`, the `rum` field will be omitted from the resulting object.\n - `s3` (`string`): Use this to override the default service endpoint URL When `null`, the `s3` field will be omitted from the resulting object.\n - `s3api` (`string`): Use this to override the default service endpoint URL When `null`, the `s3api` field will be omitted from the resulting object.\n - `s3control` (`string`): Use this to override the default service endpoint URL When `null`, the `s3control` field will be omitted from the resulting object.\n - `s3outposts` (`string`): Use this to override the default service endpoint URL When `null`, the `s3outposts` field will be omitted from the resulting object.\n - `sagemaker` (`string`): Use this to override the default service endpoint URL When `null`, the `sagemaker` field will be omitted from the resulting object.\n - `scheduler` (`string`): Use this to override the default service endpoint URL When `null`, the `scheduler` field will be omitted from the resulting object.\n - `schemas` (`string`): Use this to override the default service endpoint URL When `null`, the `schemas` field will be omitted from the resulting object.\n - `sdb` (`string`): Use this to override the default service endpoint URL When `null`, the `sdb` field will be omitted from the resulting object.\n - `secretsmanager` (`string`): Use this to override the default service endpoint URL When `null`, the `secretsmanager` field will be omitted from the resulting object.\n - `securityhub` (`string`): Use this to override the default service endpoint URL When `null`, the `securityhub` field will be omitted from the resulting object.\n - `securitylake` (`string`): Use this to override the default service endpoint URL When `null`, the `securitylake` field will be omitted from the resulting object.\n - `serverlessapplicationrepository` (`string`): Use this to override the default service endpoint URL When `null`, the `serverlessapplicationrepository` field will be omitted from the resulting object.\n - `serverlessapprepo` (`string`): Use this to override the default service endpoint URL When `null`, the `serverlessapprepo` field will be omitted from the resulting object.\n - `serverlessrepo` (`string`): Use this to override the default service endpoint URL When `null`, the `serverlessrepo` field will be omitted from the resulting object.\n - `servicecatalog` (`string`): Use this to override the default service endpoint URL When `null`, the `servicecatalog` field will be omitted from the resulting object.\n - `servicecatalogappregistry` (`string`): Use this to override the default service endpoint URL When `null`, the `servicecatalogappregistry` field will be omitted from the resulting object.\n - `servicediscovery` (`string`): Use this to override the default service endpoint URL When `null`, the `servicediscovery` field will be omitted from the resulting object.\n - `servicequotas` (`string`): Use this to override the default service endpoint URL When `null`, the `servicequotas` field will be omitted from the resulting object.\n - `ses` (`string`): Use this to override the default service endpoint URL When `null`, the `ses` field will be omitted from the resulting object.\n - `sesv2` (`string`): Use this to override the default service endpoint URL When `null`, the `sesv2` field will be omitted from the resulting object.\n - `sfn` (`string`): Use this to override the default service endpoint URL When `null`, the `sfn` field will be omitted from the resulting object.\n - `shield` (`string`): Use this to override the default service endpoint URL When `null`, the `shield` field will be omitted from the resulting object.\n - `signer` (`string`): Use this to override the default service endpoint URL When `null`, the `signer` field will be omitted from the resulting object.\n - `simpledb` (`string`): Use this to override the default service endpoint URL When `null`, the `simpledb` field will be omitted from the resulting object.\n - `sns` (`string`): Use this to override the default service endpoint URL When `null`, the `sns` field will be omitted from the resulting object.\n - `sqs` (`string`): Use this to override the default service endpoint URL When `null`, the `sqs` field will be omitted from the resulting object.\n - `ssm` (`string`): Use this to override the default service endpoint URL When `null`, the `ssm` field will be omitted from the resulting object.\n - `ssmcontacts` (`string`): Use this to override the default service endpoint URL When `null`, the `ssmcontacts` field will be omitted from the resulting object.\n - `ssmincidents` (`string`): Use this to override the default service endpoint URL When `null`, the `ssmincidents` field will be omitted from the resulting object.\n - `ssmsap` (`string`): Use this to override the default service endpoint URL When `null`, the `ssmsap` field will be omitted from the resulting object.\n - `sso` (`string`): Use this to override the default service endpoint URL When `null`, the `sso` field will be omitted from the resulting object.\n - `ssoadmin` (`string`): Use this to override the default service endpoint URL When `null`, the `ssoadmin` field will be omitted from the resulting object.\n - `stepfunctions` (`string`): Use this to override the default service endpoint URL When `null`, the `stepfunctions` field will be omitted from the resulting object.\n - `storagegateway` (`string`): Use this to override the default service endpoint URL When `null`, the `storagegateway` field will be omitted from the resulting object.\n - `sts` (`string`): Use this to override the default service endpoint URL When `null`, the `sts` field will be omitted from the resulting object.\n - `swf` (`string`): Use this to override the default service endpoint URL When `null`, the `swf` field will be omitted from the resulting object.\n - `synthetics` (`string`): Use this to override the default service endpoint URL When `null`, the `synthetics` field will be omitted from the resulting object.\n - `timestreamwrite` (`string`): Use this to override the default service endpoint URL When `null`, the `timestreamwrite` field will be omitted from the resulting object.\n - `transcribe` (`string`): Use this to override the default service endpoint URL When `null`, the `transcribe` field will be omitted from the resulting object.\n - `transcribeservice` (`string`): Use this to override the default service endpoint URL When `null`, the `transcribeservice` field will be omitted from the resulting object.\n - `transfer` (`string`): Use this to override the default service endpoint URL When `null`, the `transfer` field will be omitted from the resulting object.\n - `verifiedpermissions` (`string`): Use this to override the default service endpoint URL When `null`, the `verifiedpermissions` field will be omitted from the resulting object.\n - `vpclattice` (`string`): Use this to override the default service endpoint URL When `null`, the `vpclattice` field will be omitted from the resulting object.\n - `waf` (`string`): Use this to override the default service endpoint URL When `null`, the `waf` field will be omitted from the resulting object.\n - `wafregional` (`string`): Use this to override the default service endpoint URL When `null`, the `wafregional` field will be omitted from the resulting object.\n - `wafv2` (`string`): Use this to override the default service endpoint URL When `null`, the `wafv2` field will be omitted from the resulting object.\n - `wellarchitected` (`string`): Use this to override the default service endpoint URL When `null`, the `wellarchitected` field will be omitted from the resulting object.\n - `worklink` (`string`): Use this to override the default service endpoint URL When `null`, the `worklink` field will be omitted from the resulting object.\n - `workspaces` (`string`): Use this to override the default service endpoint URL When `null`, the `workspaces` field will be omitted from the resulting object.\n - `xray` (`string`): Use this to override the default service endpoint URL When `null`, the `xray` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `endpoints` sub block.\n', args=[]), new( accessanalyzer=null, account=null, @@ -220,6 +220,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); applicationautoscaling=null, applicationinsights=null, appmesh=null, + appregistry=null, apprunner=null, appstream=null, appsync=null, @@ -327,6 +328,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); glue=null, grafana=null, greengrass=null, + groundstation=null, guardduty=null, healthlake=null, iam=null, @@ -352,6 +354,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); kms=null, lakeformation=null, lambda=null, + launchwizard=null, lex=null, lexmodelbuilding=null, lexmodelbuildingservice=null, @@ -388,12 +391,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); organizations=null, osis=null, outposts=null, + pcaconnectorad=null, pinpoint=null, pipes=null, polly=null, pricing=null, prometheus=null, prometheusservice=null, + qbusiness=null, qldb=null, quicksight=null, ram=null, @@ -430,6 +435,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); serverlessapprepo=null, serverlessrepo=null, servicecatalog=null, + servicecatalogappregistry=null, servicediscovery=null, servicequotas=null, ses=null, @@ -443,6 +449,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ssm=null, ssmcontacts=null, ssmincidents=null, + ssmsap=null, sso=null, ssoadmin=null, stepfunctions=null, @@ -459,6 +466,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); waf=null, wafregional=null, wafv2=null, + wellarchitected=null, worklink=null, workspaces=null, xray=null @@ -481,6 +489,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); applicationautoscaling: applicationautoscaling, applicationinsights: applicationinsights, appmesh: appmesh, + appregistry: appregistry, apprunner: apprunner, appstream: appstream, appsync: appsync, @@ -588,6 +597,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); glue: glue, grafana: grafana, greengrass: greengrass, + groundstation: groundstation, guardduty: guardduty, healthlake: healthlake, iam: iam, @@ -613,6 +623,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); kms: kms, lakeformation: lakeformation, lambda: lambda, + launchwizard: launchwizard, lex: lex, lexmodelbuilding: lexmodelbuilding, lexmodelbuildingservice: lexmodelbuildingservice, @@ -649,12 +660,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); organizations: organizations, osis: osis, outposts: outposts, + pcaconnectorad: pcaconnectorad, pinpoint: pinpoint, pipes: pipes, polly: polly, pricing: pricing, prometheus: prometheus, prometheusservice: prometheusservice, + qbusiness: qbusiness, qldb: qldb, quicksight: quicksight, ram: ram, @@ -691,6 +704,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); serverlessapprepo: serverlessapprepo, serverlessrepo: serverlessrepo, servicecatalog: servicecatalog, + servicecatalogappregistry: servicecatalogappregistry, servicediscovery: servicediscovery, servicequotas: servicequotas, ses: ses, @@ -704,6 +718,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ssm: ssm, ssmcontacts: ssmcontacts, ssmincidents: ssmincidents, + ssmsap: ssmsap, sso: sso, ssoadmin: ssoadmin, stepfunctions: stepfunctions, @@ -720,6 +735,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); waf: waf, wafregional: wafregional, wafv2: wafv2, + wellarchitected: wellarchitected, worklink: worklink, workspaces: workspaces, xray: xray, diff --git a/5.x/_gen/resources/alb_target_group.libsonnet b/5.x/_gen/resources/alb_target_group.libsonnet index 85d3bd4b..1d2a5617 100644 --- a/5.x/_gen/resources/alb_target_group.libsonnet +++ b/5.x/_gen/resources/alb_target_group.libsonnet @@ -26,7 +26,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); unhealthy_threshold: unhealthy_threshold, }), }, - '#new':: d.fn(help="\n`aws.alb_target_group.new` injects a new `aws_alb_target_group` Terraform `resource`\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.alb_target_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.alb_target_group` using the reference:\n\n $._ref.aws_alb_target_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_alb_target_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 - `resourceLabel` (`string`): The name label of the block.\n - `connection_termination` (`bool`): Set the `connection_termination` field on the resulting resource block. When `null`, the `connection_termination` field will be omitted from the resulting object.\n - `deregistration_delay` (`string`): Set the `deregistration_delay` field on the resulting resource block. When `null`, the `deregistration_delay` field will be omitted from the resulting object.\n - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting resource block. When `null`, the `ip_address_type` field will be omitted from the resulting object.\n - `lambda_multi_value_headers_enabled` (`bool`): Set the `lambda_multi_value_headers_enabled` field on the resulting resource block. When `null`, the `lambda_multi_value_headers_enabled` field will be omitted from the resulting object.\n - `load_balancing_algorithm_type` (`string`): Set the `load_balancing_algorithm_type` field on the resulting resource block. When `null`, the `load_balancing_algorithm_type` field will be omitted from the resulting object.\n - `load_balancing_cross_zone_enabled` (`string`): Set the `load_balancing_cross_zone_enabled` field on the resulting resource block. When `null`, the `load_balancing_cross_zone_enabled` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block. When `null`, the `name` field will be omitted from the resulting object.\n - `name_prefix` (`string`): Set the `name_prefix` field on the resulting resource block. When `null`, the `name_prefix` field will be omitted from the resulting object.\n - `port` (`number`): Set the `port` field on the resulting resource block. When `null`, the `port` field will be omitted from the resulting object.\n - `preserve_client_ip` (`string`): Set the `preserve_client_ip` field on the resulting resource block. When `null`, the `preserve_client_ip` field will be omitted from the resulting object.\n - `protocol` (`string`): Set the `protocol` field on the resulting resource block. When `null`, the `protocol` field will be omitted from the resulting object.\n - `protocol_version` (`string`): Set the `protocol_version` field on the resulting resource block. When `null`, the `protocol_version` field will be omitted from the resulting object.\n - `proxy_protocol_v2` (`bool`): Set the `proxy_protocol_v2` field on the resulting resource block. When `null`, the `proxy_protocol_v2` field will be omitted from the resulting object.\n - `slow_start` (`number`): Set the `slow_start` field on the resulting resource block. When `null`, the `slow_start` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `target_type` (`string`): Set the `target_type` field on the resulting resource block. When `null`, the `target_type` field will be omitted from the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` field on the resulting resource block. When `null`, the `vpc_id` field will be omitted from the resulting object.\n - `health_check` (`list[obj]`): Set the `health_check` field on the resulting resource block. When `null`, the `health_check` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.health_check.new](#fn-health_checknew) constructor.\n - `stickiness` (`list[obj]`): Set the `stickiness` field on the resulting resource block. When `null`, the `stickiness` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.stickiness.new](#fn-stickinessnew) constructor.\n - `target_failover` (`list[obj]`): Set the `target_failover` field on the resulting resource block. When `null`, the `target_failover` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.target_failover.new](#fn-target_failovernew) constructor.\n - `target_health_state` (`list[obj]`): Set the `target_health_state` field on the resulting resource block. When `null`, the `target_health_state` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.target_health_state.new](#fn-target_health_statenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.alb_target_group.new` injects a new `aws_alb_target_group` Terraform `resource`\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.alb_target_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.alb_target_group` using the reference:\n\n $._ref.aws_alb_target_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_alb_target_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 - `resourceLabel` (`string`): The name label of the block.\n - `connection_termination` (`bool`): Set the `connection_termination` field on the resulting resource block. When `null`, the `connection_termination` field will be omitted from the resulting object.\n - `deregistration_delay` (`string`): Set the `deregistration_delay` field on the resulting resource block. When `null`, the `deregistration_delay` field will be omitted from the resulting object.\n - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting resource block. When `null`, the `ip_address_type` field will be omitted from the resulting object.\n - `lambda_multi_value_headers_enabled` (`bool`): Set the `lambda_multi_value_headers_enabled` field on the resulting resource block. When `null`, the `lambda_multi_value_headers_enabled` field will be omitted from the resulting object.\n - `load_balancing_algorithm_type` (`string`): Set the `load_balancing_algorithm_type` field on the resulting resource block. When `null`, the `load_balancing_algorithm_type` field will be omitted from the resulting object.\n - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting resource block. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object.\n - `load_balancing_cross_zone_enabled` (`string`): Set the `load_balancing_cross_zone_enabled` field on the resulting resource block. When `null`, the `load_balancing_cross_zone_enabled` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block. When `null`, the `name` field will be omitted from the resulting object.\n - `name_prefix` (`string`): Set the `name_prefix` field on the resulting resource block. When `null`, the `name_prefix` field will be omitted from the resulting object.\n - `port` (`number`): Set the `port` field on the resulting resource block. When `null`, the `port` field will be omitted from the resulting object.\n - `preserve_client_ip` (`string`): Set the `preserve_client_ip` field on the resulting resource block. When `null`, the `preserve_client_ip` field will be omitted from the resulting object.\n - `protocol` (`string`): Set the `protocol` field on the resulting resource block. When `null`, the `protocol` field will be omitted from the resulting object.\n - `protocol_version` (`string`): Set the `protocol_version` field on the resulting resource block. When `null`, the `protocol_version` field will be omitted from the resulting object.\n - `proxy_protocol_v2` (`bool`): Set the `proxy_protocol_v2` field on the resulting resource block. When `null`, the `proxy_protocol_v2` field will be omitted from the resulting object.\n - `slow_start` (`number`): Set the `slow_start` field on the resulting resource block. When `null`, the `slow_start` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `target_type` (`string`): Set the `target_type` field on the resulting resource block. When `null`, the `target_type` field will be omitted from the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` field on the resulting resource block. When `null`, the `vpc_id` field will be omitted from the resulting object.\n - `health_check` (`list[obj]`): Set the `health_check` field on the resulting resource block. When `null`, the `health_check` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.health_check.new](#fn-health_checknew) constructor.\n - `stickiness` (`list[obj]`): Set the `stickiness` field on the resulting resource block. When `null`, the `stickiness` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.stickiness.new](#fn-stickinessnew) constructor.\n - `target_failover` (`list[obj]`): Set the `target_failover` field on the resulting resource block. When `null`, the `target_failover` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.target_failover.new](#fn-target_failovernew) constructor.\n - `target_health_state` (`list[obj]`): Set the `target_health_state` field on the resulting resource block. When `null`, the `target_health_state` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.target_health_state.new](#fn-target_health_statenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, connection_termination=null, @@ -35,6 +35,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ip_address_type=null, lambda_multi_value_headers_enabled=null, load_balancing_algorithm_type=null, + load_balancing_anomaly_mitigation=null, load_balancing_cross_zone_enabled=null, name=null, name_prefix=null, @@ -62,6 +63,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ip_address_type=ip_address_type, lambda_multi_value_headers_enabled=lambda_multi_value_headers_enabled, load_balancing_algorithm_type=load_balancing_algorithm_type, + load_balancing_anomaly_mitigation=load_balancing_anomaly_mitigation, load_balancing_cross_zone_enabled=load_balancing_cross_zone_enabled, name=name, name_prefix=name_prefix, @@ -81,7 +83,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.alb_target_group.newAttrs` constructs a new object with attributes and blocks configured for the `alb_target_group`\nTerraform resource.\n\nUnlike [aws.alb_target_group.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `connection_termination` (`bool`): Set the `connection_termination` field on the resulting object. When `null`, the `connection_termination` field will be omitted from the resulting object.\n - `deregistration_delay` (`string`): Set the `deregistration_delay` field on the resulting object. When `null`, the `deregistration_delay` field will be omitted from the resulting object.\n - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting object. When `null`, the `ip_address_type` field will be omitted from the resulting object.\n - `lambda_multi_value_headers_enabled` (`bool`): Set the `lambda_multi_value_headers_enabled` field on the resulting object. When `null`, the `lambda_multi_value_headers_enabled` field will be omitted from the resulting object.\n - `load_balancing_algorithm_type` (`string`): Set the `load_balancing_algorithm_type` field on the resulting object. When `null`, the `load_balancing_algorithm_type` field will be omitted from the resulting object.\n - `load_balancing_cross_zone_enabled` (`string`): Set the `load_balancing_cross_zone_enabled` field on the resulting object. When `null`, the `load_balancing_cross_zone_enabled` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object.\n - `name_prefix` (`string`): Set the `name_prefix` field on the resulting object. When `null`, the `name_prefix` field will be omitted from the resulting object.\n - `port` (`number`): Set the `port` field on the resulting object. When `null`, the `port` field will be omitted from the resulting object.\n - `preserve_client_ip` (`string`): Set the `preserve_client_ip` field on the resulting object. When `null`, the `preserve_client_ip` field will be omitted from the resulting object.\n - `protocol` (`string`): Set the `protocol` field on the resulting object. When `null`, the `protocol` field will be omitted from the resulting object.\n - `protocol_version` (`string`): Set the `protocol_version` field on the resulting object. When `null`, the `protocol_version` field will be omitted from the resulting object.\n - `proxy_protocol_v2` (`bool`): Set the `proxy_protocol_v2` field on the resulting object. When `null`, the `proxy_protocol_v2` field will be omitted from the resulting object.\n - `slow_start` (`number`): Set the `slow_start` field on the resulting object. When `null`, the `slow_start` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `target_type` (`string`): Set the `target_type` field on the resulting object. When `null`, the `target_type` field will be omitted from the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` field on the resulting object. When `null`, the `vpc_id` field will be omitted from the resulting object.\n - `health_check` (`list[obj]`): Set the `health_check` field on the resulting object. When `null`, the `health_check` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.health_check.new](#fn-health_checknew) constructor.\n - `stickiness` (`list[obj]`): Set the `stickiness` field on the resulting object. When `null`, the `stickiness` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.stickiness.new](#fn-stickinessnew) constructor.\n - `target_failover` (`list[obj]`): Set the `target_failover` field on the resulting object. When `null`, the `target_failover` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.target_failover.new](#fn-target_failovernew) constructor.\n - `target_health_state` (`list[obj]`): Set the `target_health_state` field on the resulting object. When `null`, the `target_health_state` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.target_health_state.new](#fn-target_health_statenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `alb_target_group` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.alb_target_group.newAttrs` constructs a new object with attributes and blocks configured for the `alb_target_group`\nTerraform resource.\n\nUnlike [aws.alb_target_group.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `connection_termination` (`bool`): Set the `connection_termination` field on the resulting object. When `null`, the `connection_termination` field will be omitted from the resulting object.\n - `deregistration_delay` (`string`): Set the `deregistration_delay` field on the resulting object. When `null`, the `deregistration_delay` field will be omitted from the resulting object.\n - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting object. When `null`, the `ip_address_type` field will be omitted from the resulting object.\n - `lambda_multi_value_headers_enabled` (`bool`): Set the `lambda_multi_value_headers_enabled` field on the resulting object. When `null`, the `lambda_multi_value_headers_enabled` field will be omitted from the resulting object.\n - `load_balancing_algorithm_type` (`string`): Set the `load_balancing_algorithm_type` field on the resulting object. When `null`, the `load_balancing_algorithm_type` field will be omitted from the resulting object.\n - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting object. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object.\n - `load_balancing_cross_zone_enabled` (`string`): Set the `load_balancing_cross_zone_enabled` field on the resulting object. When `null`, the `load_balancing_cross_zone_enabled` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object.\n - `name_prefix` (`string`): Set the `name_prefix` field on the resulting object. When `null`, the `name_prefix` field will be omitted from the resulting object.\n - `port` (`number`): Set the `port` field on the resulting object. When `null`, the `port` field will be omitted from the resulting object.\n - `preserve_client_ip` (`string`): Set the `preserve_client_ip` field on the resulting object. When `null`, the `preserve_client_ip` field will be omitted from the resulting object.\n - `protocol` (`string`): Set the `protocol` field on the resulting object. When `null`, the `protocol` field will be omitted from the resulting object.\n - `protocol_version` (`string`): Set the `protocol_version` field on the resulting object. When `null`, the `protocol_version` field will be omitted from the resulting object.\n - `proxy_protocol_v2` (`bool`): Set the `proxy_protocol_v2` field on the resulting object. When `null`, the `proxy_protocol_v2` field will be omitted from the resulting object.\n - `slow_start` (`number`): Set the `slow_start` field on the resulting object. When `null`, the `slow_start` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `target_type` (`string`): Set the `target_type` field on the resulting object. When `null`, the `target_type` field will be omitted from the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` field on the resulting object. When `null`, the `vpc_id` field will be omitted from the resulting object.\n - `health_check` (`list[obj]`): Set the `health_check` field on the resulting object. When `null`, the `health_check` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.health_check.new](#fn-health_checknew) constructor.\n - `stickiness` (`list[obj]`): Set the `stickiness` field on the resulting object. When `null`, the `stickiness` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.stickiness.new](#fn-stickinessnew) constructor.\n - `target_failover` (`list[obj]`): Set the `target_failover` field on the resulting object. When `null`, the `target_failover` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.target_failover.new](#fn-target_failovernew) constructor.\n - `target_health_state` (`list[obj]`): Set the `target_health_state` field on the resulting object. When `null`, the `target_health_state` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.alb_target_group.target_health_state.new](#fn-target_health_statenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `alb_target_group` resource into the root Terraform configuration.\n', args=[]), newAttrs( connection_termination=null, deregistration_delay=null, @@ -89,6 +91,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ip_address_type=null, lambda_multi_value_headers_enabled=null, load_balancing_algorithm_type=null, + load_balancing_anomaly_mitigation=null, load_balancing_cross_zone_enabled=null, name=null, name_prefix=null, @@ -112,6 +115,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ip_address_type: ip_address_type, lambda_multi_value_headers_enabled: lambda_multi_value_headers_enabled, load_balancing_algorithm_type: load_balancing_algorithm_type, + load_balancing_anomaly_mitigation: load_balancing_anomaly_mitigation, load_balancing_cross_zone_enabled: load_balancing_cross_zone_enabled, name: name, name_prefix: name_prefix, @@ -231,6 +235,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withLoadBalancingAnomalyMitigation':: d.fn(help='`aws.string.withLoadBalancingAnomalyMitigation` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the load_balancing_anomaly_mitigation field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `load_balancing_anomaly_mitigation` field.\n', args=[]), + withLoadBalancingAnomalyMitigation(resourceLabel, value): { + resource+: { + aws_alb_target_group+: { + [resourceLabel]+: { + load_balancing_anomaly_mitigation: value, + }, + }, + }, + }, '#withLoadBalancingCrossZoneEnabled':: d.fn(help='`aws.string.withLoadBalancingCrossZoneEnabled` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the load_balancing_cross_zone_enabled field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `load_balancing_cross_zone_enabled` field.\n', args=[]), withLoadBalancingCrossZoneEnabled(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/appflow_flow.libsonnet b/5.x/_gen/resources/appflow_flow.libsonnet index 694d2b2a..4e928a3b 100644 --- a/5.x/_gen/resources/appflow_flow.libsonnet +++ b/5.x/_gen/resources/appflow_flow.libsonnet @@ -183,11 +183,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), s3_output_format_config:: { aggregation_config:: { - '#new':: d.fn(help='\n`aws.appflow_flow.destination_flow_config.destination_connector_properties.s3.s3_output_format_config.aggregation_config.new` constructs a new object with attributes and blocks configured for the `aggregation_config`\nTerraform sub block.\n\n\n\n**Args**:\n - `aggregation_type` (`string`): Set the `aggregation_type` field on the resulting object. When `null`, the `aggregation_type` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `aggregation_config` sub block.\n', args=[]), + '#new':: d.fn(help='\n`aws.appflow_flow.destination_flow_config.destination_connector_properties.s3.s3_output_format_config.aggregation_config.new` constructs a new object with attributes and blocks configured for the `aggregation_config`\nTerraform sub block.\n\n\n\n**Args**:\n - `aggregation_type` (`string`): Set the `aggregation_type` field on the resulting object. When `null`, the `aggregation_type` field will be omitted from the resulting object.\n - `target_file_size` (`number`): Set the `target_file_size` field on the resulting object. When `null`, the `target_file_size` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `aggregation_config` sub block.\n', args=[]), new( - aggregation_type=null + aggregation_type=null, + target_file_size=null ):: std.prune(a={ aggregation_type: aggregation_type, + target_file_size: target_file_size, }), }, '#new':: d.fn(help='\n`aws.appflow_flow.destination_flow_config.destination_connector_properties.s3.s3_output_format_config.new` constructs a new object with attributes and blocks configured for the `s3_output_format_config`\nTerraform sub block.\n\n\n\n**Args**:\n - `file_type` (`string`): Set the `file_type` field on the resulting object. When `null`, the `file_type` field will be omitted from the resulting object.\n - `preserve_source_data_typing` (`bool`): Set the `preserve_source_data_typing` field on the resulting object. When `null`, the `preserve_source_data_typing` field will be omitted from the resulting object.\n - `aggregation_config` (`list[obj]`): Set the `aggregation_config` field on the resulting object. When `null`, the `aggregation_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.appflow_flow.destination_flow_config.destination_connector_properties.s3.s3_output_format_config.aggregation_config.new](#fn-destination_flow_configdestination_flow_configdestination_connector_propertiess3aggregation_confignew) constructor.\n - `prefix_config` (`list[obj]`): Set the `prefix_config` field on the resulting object. When `null`, the `prefix_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.appflow_flow.destination_flow_config.destination_connector_properties.s3.s3_output_format_config.prefix_config.new](#fn-destination_flow_configdestination_flow_configdestination_connector_propertiess3prefix_confignew) constructor.\n\n**Returns**:\n - An attribute object that represents the `s3_output_format_config` sub block.\n', args=[]), diff --git a/5.x/_gen/resources/autoscaling_group.libsonnet b/5.x/_gen/resources/autoscaling_group.libsonnet index f6655421..f44cab7f 100644 --- a/5.x/_gen/resources/autoscaling_group.libsonnet +++ b/5.x/_gen/resources/autoscaling_group.libsonnet @@ -44,12 +44,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); triggers: triggers, }), preferences:: { - '#new':: d.fn(help='\n`aws.autoscaling_group.instance_refresh.preferences.new` constructs a new object with attributes and blocks configured for the `preferences`\nTerraform sub block.\n\n\n\n**Args**:\n - `auto_rollback` (`bool`): Set the `auto_rollback` field on the resulting object. When `null`, the `auto_rollback` field will be omitted from the resulting object.\n - `checkpoint_delay` (`string`): Set the `checkpoint_delay` field on the resulting object. When `null`, the `checkpoint_delay` field will be omitted from the resulting object.\n - `checkpoint_percentages` (`list`): Set the `checkpoint_percentages` field on the resulting object. When `null`, the `checkpoint_percentages` field will be omitted from the resulting object.\n - `instance_warmup` (`string`): Set the `instance_warmup` field on the resulting object. When `null`, the `instance_warmup` field will be omitted from the resulting object.\n - `min_healthy_percentage` (`number`): Set the `min_healthy_percentage` field on the resulting object. When `null`, the `min_healthy_percentage` field will be omitted from the resulting object.\n - `scale_in_protected_instances` (`string`): Set the `scale_in_protected_instances` field on the resulting object. When `null`, the `scale_in_protected_instances` field will be omitted from the resulting object.\n - `skip_matching` (`bool`): Set the `skip_matching` field on the resulting object. When `null`, the `skip_matching` field will be omitted from the resulting object.\n - `standby_instances` (`string`): Set the `standby_instances` field on the resulting object. When `null`, the `standby_instances` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `preferences` sub block.\n', args=[]), + '#new':: d.fn(help='\n`aws.autoscaling_group.instance_refresh.preferences.new` constructs a new object with attributes and blocks configured for the `preferences`\nTerraform sub block.\n\n\n\n**Args**:\n - `auto_rollback` (`bool`): Set the `auto_rollback` field on the resulting object. When `null`, the `auto_rollback` field will be omitted from the resulting object.\n - `checkpoint_delay` (`string`): Set the `checkpoint_delay` field on the resulting object. When `null`, the `checkpoint_delay` field will be omitted from the resulting object.\n - `checkpoint_percentages` (`list`): Set the `checkpoint_percentages` field on the resulting object. When `null`, the `checkpoint_percentages` field will be omitted from the resulting object.\n - `instance_warmup` (`string`): Set the `instance_warmup` field on the resulting object. When `null`, the `instance_warmup` field will be omitted from the resulting object.\n - `max_healthy_percentage` (`number`): Set the `max_healthy_percentage` field on the resulting object. When `null`, the `max_healthy_percentage` field will be omitted from the resulting object.\n - `min_healthy_percentage` (`number`): Set the `min_healthy_percentage` field on the resulting object. When `null`, the `min_healthy_percentage` field will be omitted from the resulting object.\n - `scale_in_protected_instances` (`string`): Set the `scale_in_protected_instances` field on the resulting object. When `null`, the `scale_in_protected_instances` field will be omitted from the resulting object.\n - `skip_matching` (`bool`): Set the `skip_matching` field on the resulting object. When `null`, the `skip_matching` field will be omitted from the resulting object.\n - `standby_instances` (`string`): Set the `standby_instances` field on the resulting object. When `null`, the `standby_instances` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `preferences` sub block.\n', args=[]), new( auto_rollback=null, checkpoint_delay=null, checkpoint_percentages=null, instance_warmup=null, + max_healthy_percentage=null, min_healthy_percentage=null, scale_in_protected_instances=null, skip_matching=null, @@ -59,6 +60,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); checkpoint_delay: checkpoint_delay, checkpoint_percentages: checkpoint_percentages, instance_warmup: instance_warmup, + max_healthy_percentage: max_healthy_percentage, min_healthy_percentage: min_healthy_percentage, scale_in_protected_instances: scale_in_protected_instances, skip_matching: skip_matching, diff --git a/5.x/_gen/resources/batch_compute_environment.libsonnet b/5.x/_gen/resources/batch_compute_environment.libsonnet index 702c517c..73a6eff7 100644 --- a/5.x/_gen/resources/batch_compute_environment.libsonnet +++ b/5.x/_gen/resources/batch_compute_environment.libsonnet @@ -74,7 +74,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); kubernetes_namespace: kubernetes_namespace, }), }, - '#new':: d.fn(help="\n`aws.batch_compute_environment.new` injects a new `aws_batch_compute_environment` Terraform `resource`\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.batch_compute_environment.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.batch_compute_environment` using the reference:\n\n $._ref.aws_batch_compute_environment.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_batch_compute_environment.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 - `resourceLabel` (`string`): The name label of the block.\n - `compute_environment_name` (`string`): Set the `compute_environment_name` field on the resulting resource block. When `null`, the `compute_environment_name` field will be omitted from the resulting object.\n - `compute_environment_name_prefix` (`string`): Set the `compute_environment_name_prefix` field on the resulting resource block. When `null`, the `compute_environment_name_prefix` field will be omitted from the resulting object.\n - `service_role` (`string`): Set the `service_role` field on the resulting resource block. When `null`, the `service_role` field will be omitted from the resulting object.\n - `state` (`string`): Set the `state` field on the resulting resource block. When `null`, the `state` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting resource block.\n - `compute_resources` (`list[obj]`): Set the `compute_resources` field on the resulting resource block. When `null`, the `compute_resources` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_compute_environment.compute_resources.new](#fn-compute_resourcesnew) constructor.\n - `eks_configuration` (`list[obj]`): Set the `eks_configuration` field on the resulting resource block. When `null`, the `eks_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_compute_environment.eks_configuration.new](#fn-eks_configurationnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.batch_compute_environment.new` injects a new `aws_batch_compute_environment` Terraform `resource`\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.batch_compute_environment.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.batch_compute_environment` using the reference:\n\n $._ref.aws_batch_compute_environment.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_batch_compute_environment.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 - `resourceLabel` (`string`): The name label of the block.\n - `compute_environment_name` (`string`): Set the `compute_environment_name` field on the resulting resource block. When `null`, the `compute_environment_name` field will be omitted from the resulting object.\n - `compute_environment_name_prefix` (`string`): Set the `compute_environment_name_prefix` field on the resulting resource block. When `null`, the `compute_environment_name_prefix` field will be omitted from the resulting object.\n - `service_role` (`string`): Set the `service_role` field on the resulting resource block. When `null`, the `service_role` field will be omitted from the resulting object.\n - `state` (`string`): Set the `state` field on the resulting resource block. When `null`, the `state` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting resource block.\n - `compute_resources` (`list[obj]`): Set the `compute_resources` field on the resulting resource block. When `null`, the `compute_resources` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_compute_environment.compute_resources.new](#fn-compute_resourcesnew) constructor.\n - `eks_configuration` (`list[obj]`): Set the `eks_configuration` field on the resulting resource block. When `null`, the `eks_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_compute_environment.eks_configuration.new](#fn-eks_configurationnew) constructor.\n - `update_policy` (`list[obj]`): Set the `update_policy` field on the resulting resource block. When `null`, the `update_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.batch_compute_environment.update_policy.new](#fn-update_policynew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, type, @@ -86,6 +86,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); state=null, tags=null, tags_all=null, + update_policy=null, _meta={} ):: tf.withResource( type='aws_batch_compute_environment', @@ -99,11 +100,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); state=state, tags=tags, tags_all=tags_all, - type=type + type=type, + update_policy=update_policy ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.batch_compute_environment.newAttrs` constructs a new object with attributes and blocks configured for the `batch_compute_environment`\nTerraform resource.\n\nUnlike [aws.batch_compute_environment.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `compute_environment_name` (`string`): Set the `compute_environment_name` field on the resulting object. When `null`, the `compute_environment_name` field will be omitted from the resulting object.\n - `compute_environment_name_prefix` (`string`): Set the `compute_environment_name_prefix` field on the resulting object. When `null`, the `compute_environment_name_prefix` field will be omitted from the resulting object.\n - `service_role` (`string`): Set the `service_role` field on the resulting object. When `null`, the `service_role` field will be omitted from the resulting object.\n - `state` (`string`): Set the `state` field on the resulting object. When `null`, the `state` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n - `compute_resources` (`list[obj]`): Set the `compute_resources` field on the resulting object. When `null`, the `compute_resources` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_compute_environment.compute_resources.new](#fn-compute_resourcesnew) constructor.\n - `eks_configuration` (`list[obj]`): Set the `eks_configuration` field on the resulting object. When `null`, the `eks_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_compute_environment.eks_configuration.new](#fn-eks_configurationnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `batch_compute_environment` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.batch_compute_environment.newAttrs` constructs a new object with attributes and blocks configured for the `batch_compute_environment`\nTerraform resource.\n\nUnlike [aws.batch_compute_environment.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `compute_environment_name` (`string`): Set the `compute_environment_name` field on the resulting object. When `null`, the `compute_environment_name` field will be omitted from the resulting object.\n - `compute_environment_name_prefix` (`string`): Set the `compute_environment_name_prefix` field on the resulting object. When `null`, the `compute_environment_name_prefix` field will be omitted from the resulting object.\n - `service_role` (`string`): Set the `service_role` field on the resulting object. When `null`, the `service_role` field will be omitted from the resulting object.\n - `state` (`string`): Set the `state` field on the resulting object. When `null`, the `state` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n - `compute_resources` (`list[obj]`): Set the `compute_resources` field on the resulting object. When `null`, the `compute_resources` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_compute_environment.compute_resources.new](#fn-compute_resourcesnew) constructor.\n - `eks_configuration` (`list[obj]`): Set the `eks_configuration` field on the resulting object. When `null`, the `eks_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_compute_environment.eks_configuration.new](#fn-eks_configurationnew) constructor.\n - `update_policy` (`list[obj]`): Set the `update_policy` field on the resulting object. When `null`, the `update_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.batch_compute_environment.update_policy.new](#fn-update_policynew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `batch_compute_environment` resource into the root Terraform configuration.\n', args=[]), newAttrs( type, compute_environment_name=null, @@ -113,7 +115,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); service_role=null, state=null, tags=null, - tags_all=null + tags_all=null, + update_policy=null ):: std.prune(a={ compute_environment_name: compute_environment_name, compute_environment_name_prefix: compute_environment_name_prefix, @@ -124,7 +127,18 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, tags_all: tags_all, type: type, + update_policy: update_policy, }), + update_policy:: { + '#new':: d.fn(help='\n`aws.batch_compute_environment.update_policy.new` constructs a new object with attributes and blocks configured for the `update_policy`\nTerraform sub block.\n\n\n\n**Args**:\n - `job_execution_timeout_minutes` (`number`): Set the `job_execution_timeout_minutes` field on the resulting object.\n - `terminate_jobs_on_update` (`bool`): Set the `terminate_jobs_on_update` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `update_policy` sub block.\n', args=[]), + new( + job_execution_timeout_minutes, + terminate_jobs_on_update + ):: std.prune(a={ + job_execution_timeout_minutes: job_execution_timeout_minutes, + terminate_jobs_on_update: terminate_jobs_on_update, + }), + }, '#withComputeEnvironmentName':: d.fn(help='`aws.string.withComputeEnvironmentName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the compute_environment_name field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `compute_environment_name` field.\n', args=[]), withComputeEnvironmentName(resourceLabel, value): { resource+: { @@ -235,4 +249,24 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withUpdatePolicy':: d.fn(help='`aws.list[obj].withUpdatePolicy` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the update_policy 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].withUpdatePolicyMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `update_policy` field.\n', args=[]), + withUpdatePolicy(resourceLabel, value): { + resource+: { + aws_batch_compute_environment+: { + [resourceLabel]+: { + update_policy: value, + }, + }, + }, + }, + '#withUpdatePolicyMixin':: d.fn(help='`aws.list[obj].withUpdatePolicyMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the update_policy 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].withUpdatePolicy](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `update_policy` field.\n', args=[]), + withUpdatePolicyMixin(resourceLabel, value): { + resource+: { + aws_batch_compute_environment+: { + [resourceLabel]+: { + update_policy+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, } diff --git a/5.x/_gen/resources/batch_job_definition.libsonnet b/5.x/_gen/resources/batch_job_definition.libsonnet index f5136871..f3385a6a 100644 --- a/5.x/_gen/resources/batch_job_definition.libsonnet +++ b/5.x/_gen/resources/batch_job_definition.libsonnet @@ -2,17 +2,167 @@ 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='batch_job_definition', url='', help='`batch_job_definition` represents the `aws_batch_job_definition` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), - '#new':: d.fn(help="\n`aws.batch_job_definition.new` injects a new `aws_batch_job_definition` Terraform `resource`\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.batch_job_definition.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.batch_job_definition` using the reference:\n\n $._ref.aws_batch_job_definition.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_batch_job_definition.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 - `resourceLabel` (`string`): The name label of the block.\n - `container_properties` (`string`): Set the `container_properties` field on the resulting resource block. When `null`, the `container_properties` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `node_properties` (`string`): Set the `node_properties` field on the resulting resource block. When `null`, the `node_properties` field will be omitted from the resulting object.\n - `parameters` (`obj`): Set the `parameters` field on the resulting resource block. When `null`, the `parameters` field will be omitted from the resulting object.\n - `platform_capabilities` (`list`): Set the `platform_capabilities` field on the resulting resource block. When `null`, the `platform_capabilities` field will be omitted from the resulting object.\n - `propagate_tags` (`bool`): Set the `propagate_tags` field on the resulting resource block. When `null`, the `propagate_tags` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting resource block.\n - `retry_strategy` (`list[obj]`): Set the `retry_strategy` field on the resulting resource block. When `null`, the `retry_strategy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.retry_strategy.new](#fn-retry_strategynew) constructor.\n - `timeout` (`list[obj]`): Set the `timeout` field on the resulting resource block. When `null`, the `timeout` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.timeout.new](#fn-timeoutnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + eks_properties:: { + '#new':: d.fn(help='\n`aws.batch_job_definition.eks_properties.new` constructs a new object with attributes and blocks configured for the `eks_properties`\nTerraform sub block.\n\n\n\n**Args**:\n - `pod_properties` (`list[obj]`): Set the `pod_properties` field on the resulting object. When `null`, the `pod_properties` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.new](#fn-eks_propertiespod_propertiesnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `eks_properties` sub block.\n', args=[]), + new( + pod_properties=null + ):: std.prune(a={ + pod_properties: pod_properties, + }), + pod_properties:: { + containers:: { + env:: { + '#new':: d.fn(help='\n`aws.batch_job_definition.eks_properties.pod_properties.containers.env.new` constructs a new object with attributes and blocks configured for the `env`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `value` (`string`): Set the `value` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `env` sub block.\n', args=[]), + new( + name, + value + ):: std.prune(a={ + name: name, + value: value, + }), + }, + '#new':: d.fn(help='\n`aws.batch_job_definition.eks_properties.pod_properties.containers.new` constructs a new object with attributes and blocks configured for the `containers`\nTerraform sub block.\n\n\n\n**Args**:\n - `args` (`list`): Set the `args` field on the resulting object. When `null`, the `args` field will be omitted from the resulting object.\n - `command` (`list`): Set the `command` field on the resulting object. When `null`, the `command` field will be omitted from the resulting object.\n - `image` (`string`): Set the `image` field on the resulting object.\n - `image_pull_policy` (`string`): Set the `image_pull_policy` field on the resulting object. When `null`, the `image_pull_policy` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object.\n - `env` (`list[obj]`): Set the `env` field on the resulting object. When `null`, the `env` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.containers.env.new](#fn-eks_propertieseks_propertiespod_propertiesenvnew) constructor.\n - `resources` (`list[obj]`): Set the `resources` field on the resulting object. When `null`, the `resources` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.containers.resources.new](#fn-eks_propertieseks_propertiespod_propertiesresourcesnew) constructor.\n - `security_context` (`list[obj]`): Set the `security_context` field on the resulting object. When `null`, the `security_context` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.containers.security_context.new](#fn-eks_propertieseks_propertiespod_propertiessecurity_contextnew) constructor.\n - `volume_mounts` (`list[obj]`): Set the `volume_mounts` field on the resulting object. When `null`, the `volume_mounts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.containers.volume_mounts.new](#fn-eks_propertieseks_propertiespod_propertiesvolume_mountsnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `containers` sub block.\n', args=[]), + new( + image, + args=null, + command=null, + env=null, + image_pull_policy=null, + name=null, + resources=null, + security_context=null, + volume_mounts=null + ):: std.prune(a={ + args: args, + command: command, + env: env, + image: image, + image_pull_policy: image_pull_policy, + name: name, + resources: resources, + security_context: security_context, + volume_mounts: volume_mounts, + }), + resources:: { + '#new':: d.fn(help='\n`aws.batch_job_definition.eks_properties.pod_properties.containers.resources.new` constructs a new object with attributes and blocks configured for the `resources`\nTerraform sub block.\n\n\n\n**Args**:\n - `limits` (`obj`): Set the `limits` field on the resulting object. When `null`, the `limits` field will be omitted from the resulting object.\n - `requests` (`obj`): Set the `requests` field on the resulting object. When `null`, the `requests` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `resources` sub block.\n', args=[]), + new( + limits=null, + requests=null + ):: std.prune(a={ + limits: limits, + requests: requests, + }), + }, + security_context:: { + '#new':: d.fn(help='\n`aws.batch_job_definition.eks_properties.pod_properties.containers.security_context.new` constructs a new object with attributes and blocks configured for the `security_context`\nTerraform sub block.\n\n\n\n**Args**:\n - `privileged` (`bool`): Set the `privileged` field on the resulting object. When `null`, the `privileged` field will be omitted from the resulting object.\n - `read_only_root_file_system` (`bool`): Set the `read_only_root_file_system` field on the resulting object. When `null`, the `read_only_root_file_system` field will be omitted from the resulting object.\n - `run_as_group` (`number`): Set the `run_as_group` field on the resulting object. When `null`, the `run_as_group` field will be omitted from the resulting object.\n - `run_as_non_root` (`bool`): Set the `run_as_non_root` field on the resulting object. When `null`, the `run_as_non_root` field will be omitted from the resulting object.\n - `run_as_user` (`number`): Set the `run_as_user` field on the resulting object. When `null`, the `run_as_user` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `security_context` sub block.\n', args=[]), + new( + privileged=null, + read_only_root_file_system=null, + run_as_group=null, + run_as_non_root=null, + run_as_user=null + ):: std.prune(a={ + privileged: privileged, + read_only_root_file_system: read_only_root_file_system, + run_as_group: run_as_group, + run_as_non_root: run_as_non_root, + run_as_user: run_as_user, + }), + }, + volume_mounts:: { + '#new':: d.fn(help='\n`aws.batch_job_definition.eks_properties.pod_properties.containers.volume_mounts.new` constructs a new object with attributes and blocks configured for the `volume_mounts`\nTerraform sub block.\n\n\n\n**Args**:\n - `mount_path` (`string`): Set the `mount_path` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `read_only` (`bool`): Set the `read_only` field on the resulting object. When `null`, the `read_only` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `volume_mounts` sub block.\n', args=[]), + new( + mount_path, + name, + read_only=null + ):: std.prune(a={ + mount_path: mount_path, + name: name, + read_only: read_only, + }), + }, + }, + metadata:: { + '#new':: d.fn(help='\n`aws.batch_job_definition.eks_properties.pod_properties.metadata.new` constructs a new object with attributes and blocks configured for the `metadata`\nTerraform sub block.\n\n\n\n**Args**:\n - `labels` (`obj`): Set the `labels` field on the resulting object. When `null`, the `labels` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `metadata` sub block.\n', args=[]), + new( + labels=null + ):: std.prune(a={ + labels: labels, + }), + }, + '#new':: d.fn(help='\n`aws.batch_job_definition.eks_properties.pod_properties.new` constructs a new object with attributes and blocks configured for the `pod_properties`\nTerraform sub block.\n\n\n\n**Args**:\n - `dns_policy` (`string`): Set the `dns_policy` field on the resulting object. When `null`, the `dns_policy` field will be omitted from the resulting object.\n - `host_network` (`bool`): Set the `host_network` field on the resulting object. When `null`, the `host_network` field will be omitted from the resulting object.\n - `service_account_name` (`string`): Set the `service_account_name` field on the resulting object. When `null`, the `service_account_name` field will be omitted from the resulting object.\n - `containers` (`list[obj]`): Set the `containers` field on the resulting object. When `null`, the `containers` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.containers.new](#fn-eks_propertieseks_propertiescontainersnew) constructor.\n - `metadata` (`list[obj]`): Set the `metadata` field on the resulting object. When `null`, the `metadata` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.metadata.new](#fn-eks_propertieseks_propertiesmetadatanew) constructor.\n - `volumes` (`list[obj]`): Set the `volumes` field on the resulting object. When `null`, the `volumes` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.volumes.new](#fn-eks_propertieseks_propertiesvolumesnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `pod_properties` sub block.\n', args=[]), + new( + containers=null, + dns_policy=null, + host_network=null, + metadata=null, + service_account_name=null, + volumes=null + ):: std.prune(a={ + containers: containers, + dns_policy: dns_policy, + host_network: host_network, + metadata: metadata, + service_account_name: service_account_name, + volumes: volumes, + }), + volumes:: { + empty_dir:: { + '#new':: d.fn(help='\n`aws.batch_job_definition.eks_properties.pod_properties.volumes.empty_dir.new` constructs a new object with attributes and blocks configured for the `empty_dir`\nTerraform sub block.\n\n\n\n**Args**:\n - `medium` (`string`): Set the `medium` field on the resulting object. When `null`, the `medium` field will be omitted from the resulting object.\n - `size_limit` (`string`): Set the `size_limit` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `empty_dir` sub block.\n', args=[]), + new( + size_limit, + medium=null + ):: std.prune(a={ + medium: medium, + size_limit: size_limit, + }), + }, + host_path:: { + '#new':: d.fn(help='\n`aws.batch_job_definition.eks_properties.pod_properties.volumes.host_path.new` constructs a new object with attributes and blocks configured for the `host_path`\nTerraform sub block.\n\n\n\n**Args**:\n - `path` (`string`): Set the `path` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `host_path` sub block.\n', args=[]), + new( + path + ):: std.prune(a={ + path: path, + }), + }, + '#new':: d.fn(help='\n`aws.batch_job_definition.eks_properties.pod_properties.volumes.new` constructs a new object with attributes and blocks configured for the `volumes`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object.\n - `empty_dir` (`list[obj]`): Set the `empty_dir` field on the resulting object. When `null`, the `empty_dir` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.volumes.empty_dir.new](#fn-eks_propertieseks_propertiespod_propertiesempty_dirnew) constructor.\n - `host_path` (`list[obj]`): Set the `host_path` field on the resulting object. When `null`, the `host_path` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.volumes.host_path.new](#fn-eks_propertieseks_propertiespod_propertieshost_pathnew) constructor.\n - `secret` (`list[obj]`): Set the `secret` field on the resulting object. When `null`, the `secret` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.volumes.secret.new](#fn-eks_propertieseks_propertiespod_propertiessecretnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `volumes` sub block.\n', args=[]), + new( + empty_dir=null, + host_path=null, + name=null, + secret=null + ):: std.prune(a={ + empty_dir: empty_dir, + host_path: host_path, + name: name, + secret: secret, + }), + secret:: { + '#new':: d.fn(help='\n`aws.batch_job_definition.eks_properties.pod_properties.volumes.secret.new` constructs a new object with attributes and blocks configured for the `secret`\nTerraform sub block.\n\n\n\n**Args**:\n - `optional` (`bool`): Set the `optional` field on the resulting object. When `null`, the `optional` field will be omitted from the resulting object.\n - `secret_name` (`string`): Set the `secret_name` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `secret` sub block.\n', args=[]), + new( + secret_name, + optional=null + ):: std.prune(a={ + optional: optional, + secret_name: secret_name, + }), + }, + }, + }, + }, + '#new':: d.fn(help="\n`aws.batch_job_definition.new` injects a new `aws_batch_job_definition` Terraform `resource`\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.batch_job_definition.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.batch_job_definition` using the reference:\n\n $._ref.aws_batch_job_definition.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_batch_job_definition.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 - `resourceLabel` (`string`): The name label of the block.\n - `container_properties` (`string`): Set the `container_properties` field on the resulting resource block. When `null`, the `container_properties` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `node_properties` (`string`): Set the `node_properties` field on the resulting resource block. When `null`, the `node_properties` field will be omitted from the resulting object.\n - `parameters` (`obj`): Set the `parameters` field on the resulting resource block. When `null`, the `parameters` field will be omitted from the resulting object.\n - `platform_capabilities` (`list`): Set the `platform_capabilities` field on the resulting resource block. When `null`, the `platform_capabilities` field will be omitted from the resulting object.\n - `propagate_tags` (`bool`): Set the `propagate_tags` field on the resulting resource block. When `null`, the `propagate_tags` field will be omitted from the resulting object.\n - `scheduling_priority` (`number`): Set the `scheduling_priority` field on the resulting resource block. When `null`, the `scheduling_priority` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting resource block.\n - `eks_properties` (`list[obj]`): Set the `eks_properties` field on the resulting resource block. When `null`, the `eks_properties` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.new](#fn-eks_propertiesnew) constructor.\n - `retry_strategy` (`list[obj]`): Set the `retry_strategy` field on the resulting resource block. When `null`, the `retry_strategy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.retry_strategy.new](#fn-retry_strategynew) constructor.\n - `timeout` (`list[obj]`): Set the `timeout` field on the resulting resource block. When `null`, the `timeout` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.timeout.new](#fn-timeoutnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, name, type, container_properties=null, + eks_properties=null, node_properties=null, parameters=null, platform_capabilities=null, propagate_tags=null, retry_strategy=null, + scheduling_priority=null, tags=null, tags_all=null, timeout=null, @@ -22,12 +172,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=resourceLabel, attrs=self.newAttrs( container_properties=container_properties, + eks_properties=eks_properties, name=name, node_properties=node_properties, parameters=parameters, platform_capabilities=platform_capabilities, propagate_tags=propagate_tags, retry_strategy=retry_strategy, + scheduling_priority=scheduling_priority, tags=tags, tags_all=tags_all, timeout=timeout, @@ -35,27 +187,31 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.batch_job_definition.newAttrs` constructs a new object with attributes and blocks configured for the `batch_job_definition`\nTerraform resource.\n\nUnlike [aws.batch_job_definition.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `container_properties` (`string`): Set the `container_properties` field on the resulting object. When `null`, the `container_properties` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `node_properties` (`string`): Set the `node_properties` field on the resulting object. When `null`, the `node_properties` field will be omitted from the resulting object.\n - `parameters` (`obj`): Set the `parameters` field on the resulting object. When `null`, the `parameters` field will be omitted from the resulting object.\n - `platform_capabilities` (`list`): Set the `platform_capabilities` field on the resulting object. When `null`, the `platform_capabilities` field will be omitted from the resulting object.\n - `propagate_tags` (`bool`): Set the `propagate_tags` field on the resulting object. When `null`, the `propagate_tags` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n - `retry_strategy` (`list[obj]`): Set the `retry_strategy` field on the resulting object. When `null`, the `retry_strategy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.retry_strategy.new](#fn-retry_strategynew) constructor.\n - `timeout` (`list[obj]`): Set the `timeout` field on the resulting object. When `null`, the `timeout` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.timeout.new](#fn-timeoutnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `batch_job_definition` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.batch_job_definition.newAttrs` constructs a new object with attributes and blocks configured for the `batch_job_definition`\nTerraform resource.\n\nUnlike [aws.batch_job_definition.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `container_properties` (`string`): Set the `container_properties` field on the resulting object. When `null`, the `container_properties` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `node_properties` (`string`): Set the `node_properties` field on the resulting object. When `null`, the `node_properties` field will be omitted from the resulting object.\n - `parameters` (`obj`): Set the `parameters` field on the resulting object. When `null`, the `parameters` field will be omitted from the resulting object.\n - `platform_capabilities` (`list`): Set the `platform_capabilities` field on the resulting object. When `null`, the `platform_capabilities` field will be omitted from the resulting object.\n - `propagate_tags` (`bool`): Set the `propagate_tags` field on the resulting object. When `null`, the `propagate_tags` field will be omitted from the resulting object.\n - `scheduling_priority` (`number`): Set the `scheduling_priority` field on the resulting object. When `null`, the `scheduling_priority` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n - `eks_properties` (`list[obj]`): Set the `eks_properties` field on the resulting object. When `null`, the `eks_properties` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.new](#fn-eks_propertiesnew) constructor.\n - `retry_strategy` (`list[obj]`): Set the `retry_strategy` field on the resulting object. When `null`, the `retry_strategy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.retry_strategy.new](#fn-retry_strategynew) constructor.\n - `timeout` (`list[obj]`): Set the `timeout` field on the resulting object. When `null`, the `timeout` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.timeout.new](#fn-timeoutnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `batch_job_definition` resource into the root Terraform configuration.\n', args=[]), newAttrs( name, type, container_properties=null, + eks_properties=null, node_properties=null, parameters=null, platform_capabilities=null, propagate_tags=null, retry_strategy=null, + scheduling_priority=null, tags=null, tags_all=null, timeout=null ):: std.prune(a={ container_properties: container_properties, + eks_properties: eks_properties, name: name, node_properties: node_properties, parameters: parameters, platform_capabilities: platform_capabilities, propagate_tags: propagate_tags, retry_strategy: retry_strategy, + scheduling_priority: scheduling_priority, tags: tags, tags_all: tags_all, timeout: timeout, @@ -103,6 +259,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withEksProperties':: d.fn(help='`aws.list[obj].withEksProperties` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the eks_properties 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].withEksPropertiesMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `eks_properties` field.\n', args=[]), + withEksProperties(resourceLabel, value): { + resource+: { + aws_batch_job_definition+: { + [resourceLabel]+: { + eks_properties: value, + }, + }, + }, + }, + '#withEksPropertiesMixin':: d.fn(help='`aws.list[obj].withEksPropertiesMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the eks_properties 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].withEksProperties](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `eks_properties` field.\n', args=[]), + withEksPropertiesMixin(resourceLabel, value): { + resource+: { + aws_batch_job_definition+: { + [resourceLabel]+: { + eks_properties+: 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 resource block to set or update the name field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), withName(resourceLabel, value): { resource+: { @@ -173,6 +349,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withSchedulingPriority':: d.fn(help='`aws.number.withSchedulingPriority` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the scheduling_priority field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`number`): The value to set for the `scheduling_priority` field.\n', args=[]), + withSchedulingPriority(resourceLabel, value): { + resource+: { + aws_batch_job_definition+: { + [resourceLabel]+: { + scheduling_priority: value, + }, + }, + }, + }, '#withTags':: d.fn(help='`aws.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the tags field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]), withTags(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/cloud9_environment_ec2.libsonnet b/5.x/_gen/resources/cloud9_environment_ec2.libsonnet index fa33e4ec..152ae7cd 100644 --- a/5.x/_gen/resources/cloud9_environment_ec2.libsonnet +++ b/5.x/_gen/resources/cloud9_environment_ec2.libsonnet @@ -2,15 +2,15 @@ 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='cloud9_environment_ec2', url='', help='`cloud9_environment_ec2` represents the `aws_cloud9_environment_ec2` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), - '#new':: d.fn(help="\n`aws.cloud9_environment_ec2.new` injects a new `aws_cloud9_environment_ec2` Terraform `resource`\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.cloud9_environment_ec2.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.cloud9_environment_ec2` using the reference:\n\n $._ref.aws_cloud9_environment_ec2.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_cloud9_environment_ec2.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 - `resourceLabel` (`string`): The name label of the block.\n - `automatic_stop_time_minutes` (`number`): Set the `automatic_stop_time_minutes` field on the resulting resource block. When `null`, the `automatic_stop_time_minutes` field will be omitted from the resulting object.\n - `connection_type` (`string`): Set the `connection_type` field on the resulting resource block. When `null`, the `connection_type` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `image_id` (`string`): Set the `image_id` field on the resulting resource block. When `null`, the `image_id` field will be omitted from the resulting object.\n - `instance_type` (`string`): Set the `instance_type` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `owner_arn` (`string`): Set the `owner_arn` field on the resulting resource block. When `null`, the `owner_arn` field will be omitted from the resulting object.\n - `subnet_id` (`string`): Set the `subnet_id` field on the resulting resource block. When `null`, the `subnet_id` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.cloud9_environment_ec2.new` injects a new `aws_cloud9_environment_ec2` Terraform `resource`\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.cloud9_environment_ec2.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.cloud9_environment_ec2` using the reference:\n\n $._ref.aws_cloud9_environment_ec2.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_cloud9_environment_ec2.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 - `resourceLabel` (`string`): The name label of the block.\n - `automatic_stop_time_minutes` (`number`): Set the `automatic_stop_time_minutes` field on the resulting resource block. When `null`, the `automatic_stop_time_minutes` field will be omitted from the resulting object.\n - `connection_type` (`string`): Set the `connection_type` field on the resulting resource block. When `null`, the `connection_type` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `image_id` (`string`): Set the `image_id` field on the resulting resource block.\n - `instance_type` (`string`): Set the `instance_type` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `owner_arn` (`string`): Set the `owner_arn` field on the resulting resource block. When `null`, the `owner_arn` field will be omitted from the resulting object.\n - `subnet_id` (`string`): Set the `subnet_id` field on the resulting resource block. When `null`, the `subnet_id` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, + image_id, instance_type, name, automatic_stop_time_minutes=null, connection_type=null, description=null, - image_id=null, owner_arn=null, subnet_id=null, tags=null, @@ -33,14 +33,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.cloud9_environment_ec2.newAttrs` constructs a new object with attributes and blocks configured for the `cloud9_environment_ec2`\nTerraform resource.\n\nUnlike [aws.cloud9_environment_ec2.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `automatic_stop_time_minutes` (`number`): Set the `automatic_stop_time_minutes` field on the resulting object. When `null`, the `automatic_stop_time_minutes` field will be omitted from the resulting object.\n - `connection_type` (`string`): Set the `connection_type` field on the resulting object. When `null`, the `connection_type` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `image_id` (`string`): Set the `image_id` field on the resulting object. When `null`, the `image_id` field will be omitted from the resulting object.\n - `instance_type` (`string`): Set the `instance_type` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `owner_arn` (`string`): Set the `owner_arn` field on the resulting object. When `null`, the `owner_arn` field will be omitted from the resulting object.\n - `subnet_id` (`string`): Set the `subnet_id` field on the resulting object. When `null`, the `subnet_id` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `cloud9_environment_ec2` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.cloud9_environment_ec2.newAttrs` constructs a new object with attributes and blocks configured for the `cloud9_environment_ec2`\nTerraform resource.\n\nUnlike [aws.cloud9_environment_ec2.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `automatic_stop_time_minutes` (`number`): Set the `automatic_stop_time_minutes` field on the resulting object. When `null`, the `automatic_stop_time_minutes` field will be omitted from the resulting object.\n - `connection_type` (`string`): Set the `connection_type` field on the resulting object. When `null`, the `connection_type` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `image_id` (`string`): Set the `image_id` field on the resulting object.\n - `instance_type` (`string`): Set the `instance_type` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `owner_arn` (`string`): Set the `owner_arn` field on the resulting object. When `null`, the `owner_arn` field will be omitted from the resulting object.\n - `subnet_id` (`string`): Set the `subnet_id` field on the resulting object. When `null`, the `subnet_id` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `cloud9_environment_ec2` resource into the root Terraform configuration.\n', args=[]), newAttrs( + image_id, instance_type, name, automatic_stop_time_minutes=null, connection_type=null, description=null, - image_id=null, owner_arn=null, subnet_id=null, tags=null, diff --git a/5.x/_gen/resources/codepipeline.libsonnet b/5.x/_gen/resources/codepipeline.libsonnet index d5695521..92de335c 100644 --- a/5.x/_gen/resources/codepipeline.libsonnet +++ b/5.x/_gen/resources/codepipeline.libsonnet @@ -24,15 +24,17 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type: type, }), }, - '#new':: d.fn(help="\n`aws.codepipeline.new` injects a new `aws_codepipeline` Terraform `resource`\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.codepipeline.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.codepipeline` using the reference:\n\n $._ref.aws_codepipeline.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_codepipeline.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 - `resourceLabel` (`string`): The name label of the block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `role_arn` (`string`): Set the `role_arn` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `artifact_store` (`list[obj]`): Set the `artifact_store` field on the resulting resource block. When `null`, the `artifact_store` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.artifact_store.new](#fn-artifact_storenew) constructor.\n - `stage` (`list[obj]`): Set the `stage` field on the resulting resource block. When `null`, the `stage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.stage.new](#fn-stagenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.codepipeline.new` injects a new `aws_codepipeline` Terraform `resource`\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.codepipeline.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.codepipeline` using the reference:\n\n $._ref.aws_codepipeline.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_codepipeline.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 - `resourceLabel` (`string`): The name label of the block.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `pipeline_type` (`string`): Set the `pipeline_type` field on the resulting resource block. When `null`, the `pipeline_type` field will be omitted from the resulting object.\n - `role_arn` (`string`): Set the `role_arn` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `artifact_store` (`list[obj]`): Set the `artifact_store` field on the resulting resource block. When `null`, the `artifact_store` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.artifact_store.new](#fn-artifact_storenew) constructor.\n - `stage` (`list[obj]`): Set the `stage` field on the resulting resource block. When `null`, the `stage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.stage.new](#fn-stagenew) constructor.\n - `variable` (`list[obj]`): Set the `variable` field on the resulting resource block. When `null`, the `variable` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.variable.new](#fn-variablenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, name, role_arn, artifact_store=null, + pipeline_type=null, stage=null, tags=null, tags_all=null, + variable=null, _meta={} ):: tf.withResource( type='aws_codepipeline', @@ -40,28 +42,34 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); attrs=self.newAttrs( artifact_store=artifact_store, name=name, + pipeline_type=pipeline_type, role_arn=role_arn, stage=stage, tags=tags, - tags_all=tags_all + tags_all=tags_all, + variable=variable ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.codepipeline.newAttrs` constructs a new object with attributes and blocks configured for the `codepipeline`\nTerraform resource.\n\nUnlike [aws.codepipeline.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `role_arn` (`string`): Set the `role_arn` 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `artifact_store` (`list[obj]`): Set the `artifact_store` field on the resulting object. When `null`, the `artifact_store` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.artifact_store.new](#fn-artifact_storenew) constructor.\n - `stage` (`list[obj]`): Set the `stage` field on the resulting object. When `null`, the `stage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.stage.new](#fn-stagenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `codepipeline` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.codepipeline.newAttrs` constructs a new object with attributes and blocks configured for the `codepipeline`\nTerraform resource.\n\nUnlike [aws.codepipeline.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `pipeline_type` (`string`): Set the `pipeline_type` field on the resulting object. When `null`, the `pipeline_type` field will be omitted from the resulting object.\n - `role_arn` (`string`): Set the `role_arn` 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `artifact_store` (`list[obj]`): Set the `artifact_store` field on the resulting object. When `null`, the `artifact_store` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.artifact_store.new](#fn-artifact_storenew) constructor.\n - `stage` (`list[obj]`): Set the `stage` field on the resulting object. When `null`, the `stage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.stage.new](#fn-stagenew) constructor.\n - `variable` (`list[obj]`): Set the `variable` field on the resulting object. When `null`, the `variable` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.variable.new](#fn-variablenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `codepipeline` resource into the root Terraform configuration.\n', args=[]), newAttrs( name, role_arn, artifact_store=null, + pipeline_type=null, stage=null, tags=null, - tags_all=null + tags_all=null, + variable=null ):: std.prune(a={ artifact_store: artifact_store, name: name, + pipeline_type: pipeline_type, role_arn: role_arn, stage: stage, tags: tags, tags_all: tags_all, + variable: variable, }), stage:: { action:: { @@ -103,6 +111,18 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); name: name, }), }, + variable:: { + '#new':: d.fn(help='\n`aws.codepipeline.variable.new` constructs a new object with attributes and blocks configured for the `variable`\nTerraform sub block.\n\n\n\n**Args**:\n - `default_value` (`string`): Set the `default_value` field on the resulting object. When `null`, the `default_value` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `variable` sub block.\n', args=[]), + new( + name, + default_value=null, + description=null + ):: std.prune(a={ + default_value: default_value, + description: description, + name: name, + }), + }, '#withArtifactStore':: d.fn(help='`aws.list[obj].withArtifactStore` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the artifact_store 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].withArtifactStoreMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `artifact_store` field.\n', args=[]), withArtifactStore(resourceLabel, value): { resource+: { @@ -133,6 +153,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withPipelineType':: d.fn(help='`aws.string.withPipelineType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the pipeline_type field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `pipeline_type` field.\n', args=[]), + withPipelineType(resourceLabel, value): { + resource+: { + aws_codepipeline+: { + [resourceLabel]+: { + pipeline_type: value, + }, + }, + }, + }, '#withRoleArn':: d.fn(help='`aws.string.withRoleArn` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the role_arn field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `role_arn` field.\n', args=[]), withRoleArn(resourceLabel, value): { resource+: { @@ -183,4 +213,24 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withVariable':: d.fn(help='`aws.list[obj].withVariable` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the variable 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].withVariableMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `variable` field.\n', args=[]), + withVariable(resourceLabel, value): { + resource+: { + aws_codepipeline+: { + [resourceLabel]+: { + variable: value, + }, + }, + }, + }, + '#withVariableMixin':: d.fn(help='`aws.list[obj].withVariableMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the variable 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].withVariable](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `variable` field.\n', args=[]), + withVariableMixin(resourceLabel, value): { + resource+: { + aws_codepipeline+: { + [resourceLabel]+: { + variable+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, } diff --git a/5.x/_gen/resources/ebs_fast_snapshot_restore.libsonnet b/5.x/_gen/resources/ebs_fast_snapshot_restore.libsonnet new file mode 100644 index 00000000..d74ad25d --- /dev/null +++ b/5.x/_gen/resources/ebs_fast_snapshot_restore.libsonnet @@ -0,0 +1,78 @@ +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='ebs_fast_snapshot_restore', url='', help='`ebs_fast_snapshot_restore` represents the `aws_ebs_fast_snapshot_restore` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + '#new':: d.fn(help="\n`aws.ebs_fast_snapshot_restore.new` injects a new `aws_ebs_fast_snapshot_restore` Terraform `resource`\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.ebs_fast_snapshot_restore.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.ebs_fast_snapshot_restore` using the reference:\n\n $._ref.aws_ebs_fast_snapshot_restore.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_ebs_fast_snapshot_restore.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 - `resourceLabel` (`string`): The name label of the block.\n - `availability_zone` (`string`): Set the `availability_zone` field on the resulting resource block.\n - `snapshot_id` (`string`): Set the `snapshot_id` field on the resulting resource block.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.ebs_fast_snapshot_restore.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + availability_zone, + snapshot_id, + timeouts=null, + _meta={} + ):: tf.withResource( + type='aws_ebs_fast_snapshot_restore', + label=resourceLabel, + attrs=self.newAttrs(availability_zone=availability_zone, snapshot_id=snapshot_id, timeouts=timeouts), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.ebs_fast_snapshot_restore.newAttrs` constructs a new object with attributes and blocks configured for the `ebs_fast_snapshot_restore`\nTerraform resource.\n\nUnlike [aws.ebs_fast_snapshot_restore.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `availability_zone` (`string`): Set the `availability_zone` field on the resulting object.\n - `snapshot_id` (`string`): Set the `snapshot_id` field on the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.ebs_fast_snapshot_restore.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `ebs_fast_snapshot_restore` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + availability_zone, + snapshot_id, + timeouts=null + ):: std.prune(a={ + availability_zone: availability_zone, + snapshot_id: snapshot_id, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`aws.ebs_fast_snapshot_restore.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `create` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). When `null`, the `create` field will be omitted from the resulting object.\n - `delete` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. When `null`, the `delete` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + create=null, + delete=null + ):: std.prune(a={ + create: create, + delete: delete, + }), + }, + '#withAvailabilityZone':: d.fn(help='`aws.string.withAvailabilityZone` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the availability_zone field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `availability_zone` field.\n', args=[]), + withAvailabilityZone(resourceLabel, value): { + resource+: { + aws_ebs_fast_snapshot_restore+: { + [resourceLabel]+: { + availability_zone: value, + }, + }, + }, + }, + '#withSnapshotId':: d.fn(help='`aws.string.withSnapshotId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the snapshot_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `snapshot_id` field.\n', args=[]), + withSnapshotId(resourceLabel, value): { + resource+: { + aws_ebs_fast_snapshot_restore+: { + [resourceLabel]+: { + snapshot_id: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`aws.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [aws.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(resourceLabel, value): { + resource+: { + aws_ebs_fast_snapshot_restore+: { + [resourceLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`aws.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the timeouts field.\n\nThis function will merge the passed in value to the existing map. If you wish\nto instead replace the entire map with the passed in `value`, use the [aws.obj.withTimeouts](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(resourceLabel, value): { + resource+: { + aws_ebs_fast_snapshot_restore+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/efs_file_system.libsonnet b/5.x/_gen/resources/efs_file_system.libsonnet index 535a5f03..619989d1 100644 --- a/5.x/_gen/resources/efs_file_system.libsonnet +++ b/5.x/_gen/resources/efs_file_system.libsonnet @@ -3,16 +3,18 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); { '#':: d.pkg(name='efs_file_system', url='', help='`efs_file_system` represents the `aws_efs_file_system` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), lifecycle_policy:: { - '#new':: d.fn(help='\n`aws.efs_file_system.lifecycle_policy.new` constructs a new object with attributes and blocks configured for the `lifecycle_policy`\nTerraform sub block.\n\n\n\n**Args**:\n - `transition_to_ia` (`string`): Set the `transition_to_ia` field on the resulting object. When `null`, the `transition_to_ia` field will be omitted from the resulting object.\n - `transition_to_primary_storage_class` (`string`): Set the `transition_to_primary_storage_class` field on the resulting object. When `null`, the `transition_to_primary_storage_class` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `lifecycle_policy` sub block.\n', args=[]), + '#new':: d.fn(help='\n`aws.efs_file_system.lifecycle_policy.new` constructs a new object with attributes and blocks configured for the `lifecycle_policy`\nTerraform sub block.\n\n\n\n**Args**:\n - `transition_to_archive` (`string`): Set the `transition_to_archive` field on the resulting object. When `null`, the `transition_to_archive` field will be omitted from the resulting object.\n - `transition_to_ia` (`string`): Set the `transition_to_ia` field on the resulting object. When `null`, the `transition_to_ia` field will be omitted from the resulting object.\n - `transition_to_primary_storage_class` (`string`): Set the `transition_to_primary_storage_class` field on the resulting object. When `null`, the `transition_to_primary_storage_class` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `lifecycle_policy` sub block.\n', args=[]), new( + transition_to_archive=null, transition_to_ia=null, transition_to_primary_storage_class=null ):: std.prune(a={ + transition_to_archive: transition_to_archive, transition_to_ia: transition_to_ia, transition_to_primary_storage_class: transition_to_primary_storage_class, }), }, - '#new':: d.fn(help="\n`aws.efs_file_system.new` injects a new `aws_efs_file_system` Terraform `resource`\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.efs_file_system.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.efs_file_system` using the reference:\n\n $._ref.aws_efs_file_system.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_efs_file_system.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 - `resourceLabel` (`string`): The name label of the block.\n - `availability_zone_name` (`string`): Set the `availability_zone_name` field on the resulting resource block. When `null`, the `availability_zone_name` field will be omitted from the resulting object.\n - `creation_token` (`string`): Set the `creation_token` field on the resulting resource block. When `null`, the `creation_token` field will be omitted from the resulting object.\n - `encrypted` (`bool`): Set the `encrypted` field on the resulting resource block. When `null`, the `encrypted` field will be omitted from the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting resource block. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `performance_mode` (`string`): Set the `performance_mode` field on the resulting resource block. When `null`, the `performance_mode` field will be omitted from the resulting object.\n - `provisioned_throughput_in_mibps` (`number`): Set the `provisioned_throughput_in_mibps` field on the resulting resource block. When `null`, the `provisioned_throughput_in_mibps` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `throughput_mode` (`string`): Set the `throughput_mode` field on the resulting resource block. When `null`, the `throughput_mode` field will be omitted from the resulting object.\n - `lifecycle_policy` (`list[obj]`): Set the `lifecycle_policy` field on the resulting resource block. When `null`, the `lifecycle_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.efs_file_system.lifecycle_policy.new](#fn-lifecycle_policynew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.efs_file_system.new` injects a new `aws_efs_file_system` Terraform `resource`\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.efs_file_system.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.efs_file_system` using the reference:\n\n $._ref.aws_efs_file_system.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_efs_file_system.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 - `resourceLabel` (`string`): The name label of the block.\n - `availability_zone_name` (`string`): Set the `availability_zone_name` field on the resulting resource block. When `null`, the `availability_zone_name` field will be omitted from the resulting object.\n - `creation_token` (`string`): Set the `creation_token` field on the resulting resource block. When `null`, the `creation_token` field will be omitted from the resulting object.\n - `encrypted` (`bool`): Set the `encrypted` field on the resulting resource block. When `null`, the `encrypted` field will be omitted from the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting resource block. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `performance_mode` (`string`): Set the `performance_mode` field on the resulting resource block. When `null`, the `performance_mode` field will be omitted from the resulting object.\n - `provisioned_throughput_in_mibps` (`number`): Set the `provisioned_throughput_in_mibps` field on the resulting resource block. When `null`, the `provisioned_throughput_in_mibps` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `throughput_mode` (`string`): Set the `throughput_mode` field on the resulting resource block. When `null`, the `throughput_mode` field will be omitted from the resulting object.\n - `lifecycle_policy` (`list[obj]`): Set the `lifecycle_policy` field on the resulting resource block. When `null`, the `lifecycle_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.efs_file_system.lifecycle_policy.new](#fn-lifecycle_policynew) constructor.\n - `protection` (`list[obj]`): Set the `protection` field on the resulting resource block. When `null`, the `protection` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.efs_file_system.protection.new](#fn-protectionnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, availability_zone_name=null, @@ -21,6 +23,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); kms_key_id=null, lifecycle_policy=null, performance_mode=null, + protection=null, provisioned_throughput_in_mibps=null, tags=null, tags_all=null, @@ -36,6 +39,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); kms_key_id=kms_key_id, lifecycle_policy=lifecycle_policy, performance_mode=performance_mode, + protection=protection, provisioned_throughput_in_mibps=provisioned_throughput_in_mibps, tags=tags, tags_all=tags_all, @@ -43,7 +47,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.efs_file_system.newAttrs` constructs a new object with attributes and blocks configured for the `efs_file_system`\nTerraform resource.\n\nUnlike [aws.efs_file_system.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `availability_zone_name` (`string`): Set the `availability_zone_name` field on the resulting object. When `null`, the `availability_zone_name` field will be omitted from the resulting object.\n - `creation_token` (`string`): Set the `creation_token` field on the resulting object. When `null`, the `creation_token` field will be omitted from the resulting object.\n - `encrypted` (`bool`): Set the `encrypted` field on the resulting object. When `null`, the `encrypted` field will be omitted from the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting object. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `performance_mode` (`string`): Set the `performance_mode` field on the resulting object. When `null`, the `performance_mode` field will be omitted from the resulting object.\n - `provisioned_throughput_in_mibps` (`number`): Set the `provisioned_throughput_in_mibps` field on the resulting object. When `null`, the `provisioned_throughput_in_mibps` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `throughput_mode` (`string`): Set the `throughput_mode` field on the resulting object. When `null`, the `throughput_mode` field will be omitted from the resulting object.\n - `lifecycle_policy` (`list[obj]`): Set the `lifecycle_policy` field on the resulting object. When `null`, the `lifecycle_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.efs_file_system.lifecycle_policy.new](#fn-lifecycle_policynew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `efs_file_system` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.efs_file_system.newAttrs` constructs a new object with attributes and blocks configured for the `efs_file_system`\nTerraform resource.\n\nUnlike [aws.efs_file_system.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `availability_zone_name` (`string`): Set the `availability_zone_name` field on the resulting object. When `null`, the `availability_zone_name` field will be omitted from the resulting object.\n - `creation_token` (`string`): Set the `creation_token` field on the resulting object. When `null`, the `creation_token` field will be omitted from the resulting object.\n - `encrypted` (`bool`): Set the `encrypted` field on the resulting object. When `null`, the `encrypted` field will be omitted from the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting object. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `performance_mode` (`string`): Set the `performance_mode` field on the resulting object. When `null`, the `performance_mode` field will be omitted from the resulting object.\n - `provisioned_throughput_in_mibps` (`number`): Set the `provisioned_throughput_in_mibps` field on the resulting object. When `null`, the `provisioned_throughput_in_mibps` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `throughput_mode` (`string`): Set the `throughput_mode` field on the resulting object. When `null`, the `throughput_mode` field will be omitted from the resulting object.\n - `lifecycle_policy` (`list[obj]`): Set the `lifecycle_policy` field on the resulting object. When `null`, the `lifecycle_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.efs_file_system.lifecycle_policy.new](#fn-lifecycle_policynew) constructor.\n - `protection` (`list[obj]`): Set the `protection` field on the resulting object. When `null`, the `protection` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.efs_file_system.protection.new](#fn-protectionnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `efs_file_system` resource into the root Terraform configuration.\n', args=[]), newAttrs( availability_zone_name=null, creation_token=null, @@ -51,6 +55,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); kms_key_id=null, lifecycle_policy=null, performance_mode=null, + protection=null, provisioned_throughput_in_mibps=null, tags=null, tags_all=null, @@ -62,11 +67,20 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); kms_key_id: kms_key_id, lifecycle_policy: lifecycle_policy, performance_mode: performance_mode, + protection: protection, provisioned_throughput_in_mibps: provisioned_throughput_in_mibps, tags: tags, tags_all: tags_all, throughput_mode: throughput_mode, }), + protection:: { + '#new':: d.fn(help='\n`aws.efs_file_system.protection.new` constructs a new object with attributes and blocks configured for the `protection`\nTerraform sub block.\n\n\n\n**Args**:\n - `replication_overwrite` (`string`): Set the `replication_overwrite` field on the resulting object. When `null`, the `replication_overwrite` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `protection` sub block.\n', args=[]), + new( + replication_overwrite=null + ):: std.prune(a={ + replication_overwrite: replication_overwrite, + }), + }, '#withAvailabilityZoneName':: d.fn(help='`aws.string.withAvailabilityZoneName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the availability_zone_name field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `availability_zone_name` field.\n', args=[]), withAvailabilityZoneName(resourceLabel, value): { resource+: { @@ -137,6 +151,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withProtection':: d.fn(help='`aws.list[obj].withProtection` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the protection 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].withProtectionMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `protection` field.\n', args=[]), + withProtection(resourceLabel, value): { + resource+: { + aws_efs_file_system+: { + [resourceLabel]+: { + protection: value, + }, + }, + }, + }, + '#withProtectionMixin':: d.fn(help='`aws.list[obj].withProtectionMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the protection 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].withProtection](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `protection` field.\n', args=[]), + withProtectionMixin(resourceLabel, value): { + resource+: { + aws_efs_file_system+: { + [resourceLabel]+: { + protection+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withProvisionedThroughputInMibps':: d.fn(help='`aws.number.withProvisionedThroughputInMibps` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the provisioned_throughput_in_mibps field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`number`): The value to set for the `provisioned_throughput_in_mibps` field.\n', args=[]), withProvisionedThroughputInMibps(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/efs_replication_configuration.libsonnet b/5.x/_gen/resources/efs_replication_configuration.libsonnet index 21555567..0312b6cd 100644 --- a/5.x/_gen/resources/efs_replication_configuration.libsonnet +++ b/5.x/_gen/resources/efs_replication_configuration.libsonnet @@ -3,13 +3,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); { '#':: d.pkg(name='efs_replication_configuration', url='', help='`efs_replication_configuration` represents the `aws_efs_replication_configuration` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), destination:: { - '#new':: d.fn(help='\n`aws.efs_replication_configuration.destination.new` constructs a new object with attributes and blocks configured for the `destination`\nTerraform sub block.\n\n\n\n**Args**:\n - `availability_zone_name` (`string`): Set the `availability_zone_name` field on the resulting object. When `null`, the `availability_zone_name` field will be omitted from the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting object. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `region` (`string`): Set the `region` field on the resulting object. When `null`, the `region` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `destination` sub block.\n', args=[]), + '#new':: d.fn(help='\n`aws.efs_replication_configuration.destination.new` constructs a new object with attributes and blocks configured for the `destination`\nTerraform sub block.\n\n\n\n**Args**:\n - `availability_zone_name` (`string`): Set the `availability_zone_name` field on the resulting object. When `null`, the `availability_zone_name` field will be omitted from the resulting object.\n - `file_system_id` (`string`): Set the `file_system_id` field on the resulting object. When `null`, the `file_system_id` field will be omitted from the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting object. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `region` (`string`): Set the `region` field on the resulting object. When `null`, the `region` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `destination` sub block.\n', args=[]), new( availability_zone_name=null, + file_system_id=null, kms_key_id=null, region=null ):: std.prune(a={ availability_zone_name: availability_zone_name, + file_system_id: file_system_id, kms_key_id: kms_key_id, region: region, }), diff --git a/5.x/_gen/resources/elasticache_serverless_cache.libsonnet b/5.x/_gen/resources/elasticache_serverless_cache.libsonnet new file mode 100644 index 00000000..def4b654 --- /dev/null +++ b/5.x/_gen/resources/elasticache_serverless_cache.libsonnet @@ -0,0 +1,276 @@ +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='elasticache_serverless_cache', url='', help='`elasticache_serverless_cache` represents the `aws_elasticache_serverless_cache` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + cache_usage_limits:: { + data_storage:: { + '#new':: d.fn(help='\n`aws.elasticache_serverless_cache.cache_usage_limits.data_storage.new` constructs a new object with attributes and blocks configured for the `data_storage`\nTerraform sub block.\n\n\n\n**Args**:\n - `maximum` (`number`): Set the `maximum` field on the resulting object.\n - `unit` (`string`): Set the `unit` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `data_storage` sub block.\n', args=[]), + new( + maximum, + unit + ):: std.prune(a={ + maximum: maximum, + unit: unit, + }), + }, + ecpu_per_second:: { + '#new':: d.fn(help='\n`aws.elasticache_serverless_cache.cache_usage_limits.ecpu_per_second.new` constructs a new object with attributes and blocks configured for the `ecpu_per_second`\nTerraform sub block.\n\n\n\n**Args**:\n - `maximum` (`number`): Set the `maximum` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `ecpu_per_second` sub block.\n', args=[]), + new( + maximum + ):: std.prune(a={ + maximum: maximum, + }), + }, + '#new':: d.fn(help='\n`aws.elasticache_serverless_cache.cache_usage_limits.new` constructs a new object with attributes and blocks configured for the `cache_usage_limits`\nTerraform sub block.\n\n\n\n**Args**:\n - `data_storage` (`list[obj]`): Set the `data_storage` field on the resulting object. When `null`, the `data_storage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.elasticache_serverless_cache.cache_usage_limits.data_storage.new](#fn-cache_usage_limitsdata_storagenew) constructor.\n - `ecpu_per_second` (`list[obj]`): Set the `ecpu_per_second` field on the resulting object. When `null`, the `ecpu_per_second` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.elasticache_serverless_cache.cache_usage_limits.ecpu_per_second.new](#fn-cache_usage_limitsecpu_per_secondnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `cache_usage_limits` sub block.\n', args=[]), + new( + data_storage=null, + ecpu_per_second=null + ):: std.prune(a={ + data_storage: data_storage, + ecpu_per_second: ecpu_per_second, + }), + }, + '#new':: d.fn(help="\n`aws.elasticache_serverless_cache.new` injects a new `aws_elasticache_serverless_cache` Terraform `resource`\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.elasticache_serverless_cache.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.elasticache_serverless_cache` using the reference:\n\n $._ref.aws_elasticache_serverless_cache.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_elasticache_serverless_cache.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 - `resourceLabel` (`string`): The name label of the block.\n - `daily_snapshot_time` (`string`): Set the `daily_snapshot_time` field on the resulting resource block. When `null`, the `daily_snapshot_time` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on the resulting resource block.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting resource block. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `major_engine_version` (`string`): Set the `major_engine_version` field on the resulting resource block. When `null`, the `major_engine_version` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `snapshot_arns_to_restore` (`list`): Set the `snapshot_arns_to_restore` field on the resulting resource block. When `null`, the `snapshot_arns_to_restore` field will be omitted from the resulting object.\n - `snapshot_retention_limit` (`number`): Set the `snapshot_retention_limit` field on the resulting resource block. When `null`, the `snapshot_retention_limit` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting resource block. When `null`, the `subnet_ids` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `user_group_id` (`string`): Set the `user_group_id` field on the resulting resource block. When `null`, the `user_group_id` field will be omitted from the resulting object.\n - `cache_usage_limits` (`list[obj]`): Set the `cache_usage_limits` field on the resulting resource block. When `null`, the `cache_usage_limits` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.elasticache_serverless_cache.cache_usage_limits.new](#fn-cache_usage_limitsnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.elasticache_serverless_cache.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + engine, + name, + cache_usage_limits=null, + daily_snapshot_time=null, + description=null, + kms_key_id=null, + major_engine_version=null, + security_group_ids=null, + snapshot_arns_to_restore=null, + snapshot_retention_limit=null, + subnet_ids=null, + tags=null, + timeouts=null, + user_group_id=null, + _meta={} + ):: tf.withResource( + type='aws_elasticache_serverless_cache', + label=resourceLabel, + attrs=self.newAttrs( + cache_usage_limits=cache_usage_limits, + daily_snapshot_time=daily_snapshot_time, + description=description, + engine=engine, + kms_key_id=kms_key_id, + major_engine_version=major_engine_version, + name=name, + security_group_ids=security_group_ids, + snapshot_arns_to_restore=snapshot_arns_to_restore, + snapshot_retention_limit=snapshot_retention_limit, + subnet_ids=subnet_ids, + tags=tags, + timeouts=timeouts, + user_group_id=user_group_id + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.elasticache_serverless_cache.newAttrs` constructs a new object with attributes and blocks configured for the `elasticache_serverless_cache`\nTerraform resource.\n\nUnlike [aws.elasticache_serverless_cache.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `daily_snapshot_time` (`string`): Set the `daily_snapshot_time` field on the resulting object. When `null`, the `daily_snapshot_time` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting object. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `major_engine_version` (`string`): Set the `major_engine_version` field on the resulting object. When `null`, the `major_engine_version` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `snapshot_arns_to_restore` (`list`): Set the `snapshot_arns_to_restore` field on the resulting object. When `null`, the `snapshot_arns_to_restore` field will be omitted from the resulting object.\n - `snapshot_retention_limit` (`number`): Set the `snapshot_retention_limit` field on the resulting object. When `null`, the `snapshot_retention_limit` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting object. When `null`, the `subnet_ids` field will be omitted from 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 - `user_group_id` (`string`): Set the `user_group_id` field on the resulting object. When `null`, the `user_group_id` field will be omitted from the resulting object.\n - `cache_usage_limits` (`list[obj]`): Set the `cache_usage_limits` field on the resulting object. When `null`, the `cache_usage_limits` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.elasticache_serverless_cache.cache_usage_limits.new](#fn-cache_usage_limitsnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.elasticache_serverless_cache.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `elasticache_serverless_cache` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + engine, + name, + cache_usage_limits=null, + daily_snapshot_time=null, + description=null, + kms_key_id=null, + major_engine_version=null, + security_group_ids=null, + snapshot_arns_to_restore=null, + snapshot_retention_limit=null, + subnet_ids=null, + tags=null, + timeouts=null, + user_group_id=null + ):: std.prune(a={ + cache_usage_limits: cache_usage_limits, + daily_snapshot_time: daily_snapshot_time, + description: description, + engine: engine, + kms_key_id: kms_key_id, + major_engine_version: major_engine_version, + name: name, + security_group_ids: security_group_ids, + snapshot_arns_to_restore: snapshot_arns_to_restore, + snapshot_retention_limit: snapshot_retention_limit, + subnet_ids: subnet_ids, + tags: tags, + timeouts: timeouts, + user_group_id: user_group_id, + }), + timeouts:: { + '#new':: d.fn(help='\n`aws.elasticache_serverless_cache.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `create` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). When `null`, the `create` field will be omitted from the resulting object.\n - `delete` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. When `null`, the `delete` field will be omitted from the resulting object.\n - `update` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). When `null`, the `update` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + create=null, + delete=null, + update=null + ):: std.prune(a={ + create: create, + delete: delete, + update: update, + }), + }, + '#withCacheUsageLimits':: d.fn(help='`aws.list[obj].withCacheUsageLimits` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the cache_usage_limits 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].withCacheUsageLimitsMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `cache_usage_limits` field.\n', args=[]), + withCacheUsageLimits(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + cache_usage_limits: value, + }, + }, + }, + }, + '#withCacheUsageLimitsMixin':: d.fn(help='`aws.list[obj].withCacheUsageLimitsMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the cache_usage_limits 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].withCacheUsageLimits](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `cache_usage_limits` field.\n', args=[]), + withCacheUsageLimitsMixin(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + cache_usage_limits+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withDailySnapshotTime':: d.fn(help='`aws.string.withDailySnapshotTime` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the daily_snapshot_time field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `daily_snapshot_time` field.\n', args=[]), + withDailySnapshotTime(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + daily_snapshot_time: value, + }, + }, + }, + }, + '#withDescription':: d.fn(help='`aws.string.withDescription` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the description field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `description` field.\n', args=[]), + withDescription(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + description: value, + }, + }, + }, + }, + '#withEngine':: d.fn(help='`aws.string.withEngine` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the engine field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `engine` field.\n', args=[]), + withEngine(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + engine: value, + }, + }, + }, + }, + '#withKmsKeyId':: d.fn(help='`aws.string.withKmsKeyId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the kms_key_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `kms_key_id` field.\n', args=[]), + withKmsKeyId(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + kms_key_id: value, + }, + }, + }, + }, + '#withMajorEngineVersion':: d.fn(help='`aws.string.withMajorEngineVersion` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the major_engine_version field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `major_engine_version` field.\n', args=[]), + withMajorEngineVersion(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + major_engine_version: value, + }, + }, + }, + }, + '#withName':: d.fn(help='`aws.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the name field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), + withName(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withSecurityGroupIds':: d.fn(help='`aws.list.withSecurityGroupIds` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the security_group_ids field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list`): The value to set for the `security_group_ids` field.\n', args=[]), + withSecurityGroupIds(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + security_group_ids: value, + }, + }, + }, + }, + '#withSnapshotArnsToRestore':: d.fn(help='`aws.list.withSnapshotArnsToRestore` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the snapshot_arns_to_restore field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list`): The value to set for the `snapshot_arns_to_restore` field.\n', args=[]), + withSnapshotArnsToRestore(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + snapshot_arns_to_restore: value, + }, + }, + }, + }, + '#withSnapshotRetentionLimit':: d.fn(help='`aws.number.withSnapshotRetentionLimit` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the snapshot_retention_limit field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`number`): The value to set for the `snapshot_retention_limit` field.\n', args=[]), + withSnapshotRetentionLimit(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + snapshot_retention_limit: value, + }, + }, + }, + }, + '#withSubnetIds':: d.fn(help='`aws.list.withSubnetIds` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the subnet_ids field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list`): The value to set for the `subnet_ids` field.\n', args=[]), + withSubnetIds(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + subnet_ids: value, + }, + }, + }, + }, + '#withTags':: d.fn(help='`aws.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the tags field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]), + withTags(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + tags: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`aws.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [aws.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`aws.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the timeouts field.\n\nThis function will merge the passed in value to the existing map. If you wish\nto instead replace the entire map with the passed in `value`, use the [aws.obj.withTimeouts](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, + '#withUserGroupId':: d.fn(help='`aws.string.withUserGroupId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the user_group_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `user_group_id` field.\n', args=[]), + withUserGroupId(resourceLabel, value): { + resource+: { + aws_elasticache_serverless_cache+: { + [resourceLabel]+: { + user_group_id: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/fsx_ontap_file_system.libsonnet b/5.x/_gen/resources/fsx_ontap_file_system.libsonnet index 67da6add..4b542fb6 100644 --- a/5.x/_gen/resources/fsx_ontap_file_system.libsonnet +++ b/5.x/_gen/resources/fsx_ontap_file_system.libsonnet @@ -12,18 +12,18 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); mode: mode, }), }, - '#new':: d.fn(help="\n`aws.fsx_ontap_file_system.new` injects a new `aws_fsx_ontap_file_system` Terraform `resource`\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.fsx_ontap_file_system.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.fsx_ontap_file_system` using the reference:\n\n $._ref.aws_fsx_ontap_file_system.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_fsx_ontap_file_system.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 - `resourceLabel` (`string`): The name label of the block.\n - `automatic_backup_retention_days` (`number`): Set the `automatic_backup_retention_days` field on the resulting resource block. When `null`, the `automatic_backup_retention_days` field will be omitted from the resulting object.\n - `daily_automatic_backup_start_time` (`string`): Set the `daily_automatic_backup_start_time` field on the resulting resource block. When `null`, the `daily_automatic_backup_start_time` field will be omitted from the resulting object.\n - `deployment_type` (`string`): Set the `deployment_type` field on the resulting resource block.\n - `endpoint_ip_address_range` (`string`): Set the `endpoint_ip_address_range` field on the resulting resource block. When `null`, the `endpoint_ip_address_range` field will be omitted from the resulting object.\n - `fsx_admin_password` (`string`): Set the `fsx_admin_password` field on the resulting resource block. When `null`, the `fsx_admin_password` field will be omitted from the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting resource block. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `preferred_subnet_id` (`string`): Set the `preferred_subnet_id` field on the resulting resource block.\n - `route_table_ids` (`list`): Set the `route_table_ids` field on the resulting resource block. When `null`, the `route_table_ids` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `storage_capacity` (`number`): Set the `storage_capacity` field on the resulting resource block. When `null`, the `storage_capacity` field will be omitted from the resulting object.\n - `storage_type` (`string`): Set the `storage_type` field on the resulting resource block. When `null`, the `storage_type` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `throughput_capacity` (`number`): Set the `throughput_capacity` field on the resulting resource block.\n - `weekly_maintenance_start_time` (`string`): Set the `weekly_maintenance_start_time` field on the resulting resource block. When `null`, the `weekly_maintenance_start_time` field will be omitted from the resulting object.\n - `disk_iops_configuration` (`list[obj]`): Set the `disk_iops_configuration` field on the resulting resource block. When `null`, the `disk_iops_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.fsx_ontap_file_system.disk_iops_configuration.new](#fn-disk_iops_configurationnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.fsx_ontap_file_system.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.fsx_ontap_file_system.new` injects a new `aws_fsx_ontap_file_system` Terraform `resource`\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.fsx_ontap_file_system.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.fsx_ontap_file_system` using the reference:\n\n $._ref.aws_fsx_ontap_file_system.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_fsx_ontap_file_system.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 - `resourceLabel` (`string`): The name label of the block.\n - `automatic_backup_retention_days` (`number`): Set the `automatic_backup_retention_days` field on the resulting resource block. When `null`, the `automatic_backup_retention_days` field will be omitted from the resulting object.\n - `daily_automatic_backup_start_time` (`string`): Set the `daily_automatic_backup_start_time` field on the resulting resource block. When `null`, the `daily_automatic_backup_start_time` field will be omitted from the resulting object.\n - `deployment_type` (`string`): Set the `deployment_type` field on the resulting resource block.\n - `endpoint_ip_address_range` (`string`): Set the `endpoint_ip_address_range` field on the resulting resource block. When `null`, the `endpoint_ip_address_range` field will be omitted from the resulting object.\n - `fsx_admin_password` (`string`): Set the `fsx_admin_password` field on the resulting resource block. When `null`, the `fsx_admin_password` field will be omitted from the resulting object.\n - `ha_pairs` (`number`): Set the `ha_pairs` field on the resulting resource block. When `null`, the `ha_pairs` field will be omitted from the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting resource block. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `preferred_subnet_id` (`string`): Set the `preferred_subnet_id` field on the resulting resource block.\n - `route_table_ids` (`list`): Set the `route_table_ids` field on the resulting resource block. When `null`, the `route_table_ids` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `storage_capacity` (`number`): Set the `storage_capacity` field on the resulting resource block. When `null`, the `storage_capacity` field will be omitted from the resulting object.\n - `storage_type` (`string`): Set the `storage_type` field on the resulting resource block. When `null`, the `storage_type` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `throughput_capacity` (`number`): Set the `throughput_capacity` field on the resulting resource block. When `null`, the `throughput_capacity` field will be omitted from the resulting object.\n - `throughput_capacity_per_ha_pair` (`number`): Set the `throughput_capacity_per_ha_pair` field on the resulting resource block. When `null`, the `throughput_capacity_per_ha_pair` field will be omitted from the resulting object.\n - `weekly_maintenance_start_time` (`string`): Set the `weekly_maintenance_start_time` field on the resulting resource block. When `null`, the `weekly_maintenance_start_time` field will be omitted from the resulting object.\n - `disk_iops_configuration` (`list[obj]`): Set the `disk_iops_configuration` field on the resulting resource block. When `null`, the `disk_iops_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.fsx_ontap_file_system.disk_iops_configuration.new](#fn-disk_iops_configurationnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.fsx_ontap_file_system.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, deployment_type, preferred_subnet_id, subnet_ids, - throughput_capacity, automatic_backup_retention_days=null, daily_automatic_backup_start_time=null, disk_iops_configuration=null, endpoint_ip_address_range=null, fsx_admin_password=null, + ha_pairs=null, kms_key_id=null, route_table_ids=null, security_group_ids=null, @@ -31,6 +31,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_type=null, tags=null, tags_all=null, + throughput_capacity=null, + throughput_capacity_per_ha_pair=null, timeouts=null, weekly_maintenance_start_time=null, _meta={} @@ -44,6 +46,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); disk_iops_configuration=disk_iops_configuration, endpoint_ip_address_range=endpoint_ip_address_range, fsx_admin_password=fsx_admin_password, + ha_pairs=ha_pairs, kms_key_id=kms_key_id, preferred_subnet_id=preferred_subnet_id, route_table_ids=route_table_ids, @@ -54,22 +57,23 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=tags, tags_all=tags_all, throughput_capacity=throughput_capacity, + throughput_capacity_per_ha_pair=throughput_capacity_per_ha_pair, timeouts=timeouts, weekly_maintenance_start_time=weekly_maintenance_start_time ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.fsx_ontap_file_system.newAttrs` constructs a new object with attributes and blocks configured for the `fsx_ontap_file_system`\nTerraform resource.\n\nUnlike [aws.fsx_ontap_file_system.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `automatic_backup_retention_days` (`number`): Set the `automatic_backup_retention_days` field on the resulting object. When `null`, the `automatic_backup_retention_days` field will be omitted from the resulting object.\n - `daily_automatic_backup_start_time` (`string`): Set the `daily_automatic_backup_start_time` field on the resulting object. When `null`, the `daily_automatic_backup_start_time` field will be omitted from the resulting object.\n - `deployment_type` (`string`): Set the `deployment_type` field on the resulting object.\n - `endpoint_ip_address_range` (`string`): Set the `endpoint_ip_address_range` field on the resulting object. When `null`, the `endpoint_ip_address_range` field will be omitted from the resulting object.\n - `fsx_admin_password` (`string`): Set the `fsx_admin_password` field on the resulting object. When `null`, the `fsx_admin_password` field will be omitted from the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting object. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `preferred_subnet_id` (`string`): Set the `preferred_subnet_id` field on the resulting object.\n - `route_table_ids` (`list`): Set the `route_table_ids` field on the resulting object. When `null`, the `route_table_ids` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `storage_capacity` (`number`): Set the `storage_capacity` field on the resulting object. When `null`, the `storage_capacity` field will be omitted from the resulting object.\n - `storage_type` (`string`): Set the `storage_type` field on the resulting object. When `null`, the `storage_type` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `throughput_capacity` (`number`): Set the `throughput_capacity` field on the resulting object.\n - `weekly_maintenance_start_time` (`string`): Set the `weekly_maintenance_start_time` field on the resulting object. When `null`, the `weekly_maintenance_start_time` field will be omitted from the resulting object.\n - `disk_iops_configuration` (`list[obj]`): Set the `disk_iops_configuration` field on the resulting object. When `null`, the `disk_iops_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.fsx_ontap_file_system.disk_iops_configuration.new](#fn-disk_iops_configurationnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.fsx_ontap_file_system.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `fsx_ontap_file_system` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.fsx_ontap_file_system.newAttrs` constructs a new object with attributes and blocks configured for the `fsx_ontap_file_system`\nTerraform resource.\n\nUnlike [aws.fsx_ontap_file_system.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `automatic_backup_retention_days` (`number`): Set the `automatic_backup_retention_days` field on the resulting object. When `null`, the `automatic_backup_retention_days` field will be omitted from the resulting object.\n - `daily_automatic_backup_start_time` (`string`): Set the `daily_automatic_backup_start_time` field on the resulting object. When `null`, the `daily_automatic_backup_start_time` field will be omitted from the resulting object.\n - `deployment_type` (`string`): Set the `deployment_type` field on the resulting object.\n - `endpoint_ip_address_range` (`string`): Set the `endpoint_ip_address_range` field on the resulting object. When `null`, the `endpoint_ip_address_range` field will be omitted from the resulting object.\n - `fsx_admin_password` (`string`): Set the `fsx_admin_password` field on the resulting object. When `null`, the `fsx_admin_password` field will be omitted from the resulting object.\n - `ha_pairs` (`number`): Set the `ha_pairs` field on the resulting object. When `null`, the `ha_pairs` field will be omitted from the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting object. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `preferred_subnet_id` (`string`): Set the `preferred_subnet_id` field on the resulting object.\n - `route_table_ids` (`list`): Set the `route_table_ids` field on the resulting object. When `null`, the `route_table_ids` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `storage_capacity` (`number`): Set the `storage_capacity` field on the resulting object. When `null`, the `storage_capacity` field will be omitted from the resulting object.\n - `storage_type` (`string`): Set the `storage_type` field on the resulting object. When `null`, the `storage_type` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `throughput_capacity` (`number`): Set the `throughput_capacity` field on the resulting object. When `null`, the `throughput_capacity` field will be omitted from the resulting object.\n - `throughput_capacity_per_ha_pair` (`number`): Set the `throughput_capacity_per_ha_pair` field on the resulting object. When `null`, the `throughput_capacity_per_ha_pair` field will be omitted from the resulting object.\n - `weekly_maintenance_start_time` (`string`): Set the `weekly_maintenance_start_time` field on the resulting object. When `null`, the `weekly_maintenance_start_time` field will be omitted from the resulting object.\n - `disk_iops_configuration` (`list[obj]`): Set the `disk_iops_configuration` field on the resulting object. When `null`, the `disk_iops_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.fsx_ontap_file_system.disk_iops_configuration.new](#fn-disk_iops_configurationnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.fsx_ontap_file_system.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `fsx_ontap_file_system` resource into the root Terraform configuration.\n', args=[]), newAttrs( deployment_type, preferred_subnet_id, subnet_ids, - throughput_capacity, automatic_backup_retention_days=null, daily_automatic_backup_start_time=null, disk_iops_configuration=null, endpoint_ip_address_range=null, fsx_admin_password=null, + ha_pairs=null, kms_key_id=null, route_table_ids=null, security_group_ids=null, @@ -77,6 +81,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); storage_type=null, tags=null, tags_all=null, + throughput_capacity=null, + throughput_capacity_per_ha_pair=null, timeouts=null, weekly_maintenance_start_time=null ):: std.prune(a={ @@ -86,6 +92,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); disk_iops_configuration: disk_iops_configuration, endpoint_ip_address_range: endpoint_ip_address_range, fsx_admin_password: fsx_admin_password, + ha_pairs: ha_pairs, kms_key_id: kms_key_id, preferred_subnet_id: preferred_subnet_id, route_table_ids: route_table_ids, @@ -96,6 +103,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, tags_all: tags_all, throughput_capacity: throughput_capacity, + throughput_capacity_per_ha_pair: throughput_capacity_per_ha_pair, timeouts: timeouts, weekly_maintenance_start_time: weekly_maintenance_start_time, }), @@ -181,6 +189,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withHaPairs':: d.fn(help='`aws.number.withHaPairs` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the ha_pairs field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`number`): The value to set for the `ha_pairs` field.\n', args=[]), + withHaPairs(resourceLabel, value): { + resource+: { + aws_fsx_ontap_file_system+: { + [resourceLabel]+: { + ha_pairs: value, + }, + }, + }, + }, '#withKmsKeyId':: d.fn(help='`aws.string.withKmsKeyId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the kms_key_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `kms_key_id` field.\n', args=[]), withKmsKeyId(resourceLabel, value): { resource+: { @@ -281,6 +299,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withThroughputCapacityPerHaPair':: d.fn(help='`aws.number.withThroughputCapacityPerHaPair` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the throughput_capacity_per_ha_pair field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`number`): The value to set for the `throughput_capacity_per_ha_pair` field.\n', args=[]), + withThroughputCapacityPerHaPair(resourceLabel, value): { + resource+: { + aws_fsx_ontap_file_system+: { + [resourceLabel]+: { + throughput_capacity_per_ha_pair: value, + }, + }, + }, + }, '#withTimeouts':: d.fn(help='`aws.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [aws.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), withTimeouts(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/glue_catalog_table.libsonnet b/5.x/_gen/resources/glue_catalog_table.libsonnet index 039caad5..66603c14 100644 --- a/5.x/_gen/resources/glue_catalog_table.libsonnet +++ b/5.x/_gen/resources/glue_catalog_table.libsonnet @@ -222,15 +222,17 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, target_table:: { - '#new':: d.fn(help='\n`aws.glue_catalog_table.target_table.new` constructs a new object with attributes and blocks configured for the `target_table`\nTerraform sub block.\n\n\n\n**Args**:\n - `catalog_id` (`string`): Set the `catalog_id` field on the resulting object.\n - `database_name` (`string`): Set the `database_name` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `target_table` sub block.\n', args=[]), + '#new':: d.fn(help='\n`aws.glue_catalog_table.target_table.new` constructs a new object with attributes and blocks configured for the `target_table`\nTerraform sub block.\n\n\n\n**Args**:\n - `catalog_id` (`string`): Set the `catalog_id` field on the resulting object.\n - `database_name` (`string`): Set the `database_name` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `region` (`string`): Set the `region` field on the resulting object. When `null`, the `region` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `target_table` sub block.\n', args=[]), new( catalog_id, database_name, - name + name, + region=null ):: std.prune(a={ catalog_id: catalog_id, database_name: database_name, name: name, + region: region, }), }, '#withCatalogId':: d.fn(help='`aws.string.withCatalogId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the catalog_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `catalog_id` field.\n', args=[]), diff --git a/5.x/_gen/resources/glue_classifier.libsonnet b/5.x/_gen/resources/glue_classifier.libsonnet index 6ff9fca2..36188fee 100644 --- a/5.x/_gen/resources/glue_classifier.libsonnet +++ b/5.x/_gen/resources/glue_classifier.libsonnet @@ -3,7 +3,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); { '#':: d.pkg(name='glue_classifier', url='', help='`glue_classifier` represents the `aws_glue_classifier` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), csv_classifier:: { - '#new':: d.fn(help='\n`aws.glue_classifier.csv_classifier.new` constructs a new object with attributes and blocks configured for the `csv_classifier`\nTerraform sub block.\n\n\n\n**Args**:\n - `allow_single_column` (`bool`): Set the `allow_single_column` field on the resulting object. When `null`, the `allow_single_column` field will be omitted from the resulting object.\n - `contains_header` (`string`): Set the `contains_header` field on the resulting object. When `null`, the `contains_header` field will be omitted from the resulting object.\n - `custom_datatype_configured` (`bool`): Set the `custom_datatype_configured` field on the resulting object. When `null`, the `custom_datatype_configured` field will be omitted from the resulting object.\n - `custom_datatypes` (`list`): Set the `custom_datatypes` field on the resulting object. When `null`, the `custom_datatypes` field will be omitted from the resulting object.\n - `delimiter` (`string`): Set the `delimiter` field on the resulting object. When `null`, the `delimiter` field will be omitted from the resulting object.\n - `disable_value_trimming` (`bool`): Set the `disable_value_trimming` field on the resulting object. When `null`, the `disable_value_trimming` field will be omitted from the resulting object.\n - `header` (`list`): Set the `header` field on the resulting object. When `null`, the `header` field will be omitted from the resulting object.\n - `quote_symbol` (`string`): Set the `quote_symbol` field on the resulting object. When `null`, the `quote_symbol` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `csv_classifier` sub block.\n', args=[]), + '#new':: d.fn(help='\n`aws.glue_classifier.csv_classifier.new` constructs a new object with attributes and blocks configured for the `csv_classifier`\nTerraform sub block.\n\n\n\n**Args**:\n - `allow_single_column` (`bool`): Set the `allow_single_column` field on the resulting object. When `null`, the `allow_single_column` field will be omitted from the resulting object.\n - `contains_header` (`string`): Set the `contains_header` field on the resulting object. When `null`, the `contains_header` field will be omitted from the resulting object.\n - `custom_datatype_configured` (`bool`): Set the `custom_datatype_configured` field on the resulting object. When `null`, the `custom_datatype_configured` field will be omitted from the resulting object.\n - `custom_datatypes` (`list`): Set the `custom_datatypes` field on the resulting object. When `null`, the `custom_datatypes` field will be omitted from the resulting object.\n - `delimiter` (`string`): Set the `delimiter` field on the resulting object. When `null`, the `delimiter` field will be omitted from the resulting object.\n - `disable_value_trimming` (`bool`): Set the `disable_value_trimming` field on the resulting object. When `null`, the `disable_value_trimming` field will be omitted from the resulting object.\n - `header` (`list`): Set the `header` field on the resulting object. When `null`, the `header` field will be omitted from the resulting object.\n - `quote_symbol` (`string`): Set the `quote_symbol` field on the resulting object. When `null`, the `quote_symbol` field will be omitted from the resulting object.\n - `serde` (`string`): Set the `serde` field on the resulting object. When `null`, the `serde` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `csv_classifier` sub block.\n', args=[]), new( allow_single_column=null, contains_header=null, @@ -12,7 +12,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); delimiter=null, disable_value_trimming=null, header=null, - quote_symbol=null + quote_symbol=null, + serde=null ):: std.prune(a={ allow_single_column: allow_single_column, contains_header: contains_header, @@ -22,6 +23,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); disable_value_trimming: disable_value_trimming, header: header, quote_symbol: quote_symbol, + serde: serde, }), }, grok_classifier:: { diff --git a/5.x/_gen/resources/imagebuilder_workflow.libsonnet b/5.x/_gen/resources/imagebuilder_workflow.libsonnet new file mode 100644 index 00000000..365dbfbe --- /dev/null +++ b/5.x/_gen/resources/imagebuilder_workflow.libsonnet @@ -0,0 +1,160 @@ +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='imagebuilder_workflow', url='', help='`imagebuilder_workflow` represents the `aws_imagebuilder_workflow` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + '#new':: d.fn(help="\n`aws.imagebuilder_workflow.new` injects a new `aws_imagebuilder_workflow` Terraform `resource`\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.imagebuilder_workflow.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.imagebuilder_workflow` using the reference:\n\n $._ref.aws_imagebuilder_workflow.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_imagebuilder_workflow.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 - `resourceLabel` (`string`): The name label of the block.\n - `change_description` (`string`): Set the `change_description` field on the resulting resource block. When `null`, the `change_description` field will be omitted from the resulting object.\n - `data` (`string`): Set the `data` field on the resulting resource block. When `null`, the `data` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting resource block. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting resource block.\n - `uri` (`string`): Set the `uri` field on the resulting resource block. When `null`, the `uri` field will be omitted from the resulting object.\n - `version` (`string`): Set the `version` field on the resulting resource block.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + name, + type, + version, + change_description=null, + data=null, + description=null, + kms_key_id=null, + tags=null, + tags_all=null, + uri=null, + _meta={} + ):: tf.withResource( + type='aws_imagebuilder_workflow', + label=resourceLabel, + attrs=self.newAttrs( + change_description=change_description, + data=data, + description=description, + kms_key_id=kms_key_id, + name=name, + tags=tags, + tags_all=tags_all, + type=type, + uri=uri, + version=version + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.imagebuilder_workflow.newAttrs` constructs a new object with attributes and blocks configured for the `imagebuilder_workflow`\nTerraform resource.\n\nUnlike [aws.imagebuilder_workflow.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `change_description` (`string`): Set the `change_description` field on the resulting object. When `null`, the `change_description` field will be omitted from the resulting object.\n - `data` (`string`): Set the `data` field on the resulting object. When `null`, the `data` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting object. When `null`, the `kms_key_id` field will be omitted from the resulting object.\n - `name` (`string`): Set the `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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `type` (`string`): Set the `type` field on the resulting object.\n - `uri` (`string`): Set the `uri` field on the resulting object. When `null`, the `uri` field will be omitted from the resulting object.\n - `version` (`string`): Set the `version` field on the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `imagebuilder_workflow` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + type, + version, + change_description=null, + data=null, + description=null, + kms_key_id=null, + tags=null, + tags_all=null, + uri=null + ):: std.prune(a={ + change_description: change_description, + data: data, + description: description, + kms_key_id: kms_key_id, + name: name, + tags: tags, + tags_all: tags_all, + type: type, + uri: uri, + version: version, + }), + '#withChangeDescription':: d.fn(help='`aws.string.withChangeDescription` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the change_description field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `change_description` field.\n', args=[]), + withChangeDescription(resourceLabel, value): { + resource+: { + aws_imagebuilder_workflow+: { + [resourceLabel]+: { + change_description: value, + }, + }, + }, + }, + '#withData':: d.fn(help='`aws.string.withData` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the data field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `data` field.\n', args=[]), + withData(resourceLabel, value): { + resource+: { + aws_imagebuilder_workflow+: { + [resourceLabel]+: { + data: value, + }, + }, + }, + }, + '#withDescription':: d.fn(help='`aws.string.withDescription` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the description field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `description` field.\n', args=[]), + withDescription(resourceLabel, value): { + resource+: { + aws_imagebuilder_workflow+: { + [resourceLabel]+: { + description: value, + }, + }, + }, + }, + '#withKmsKeyId':: d.fn(help='`aws.string.withKmsKeyId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the kms_key_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `kms_key_id` field.\n', args=[]), + withKmsKeyId(resourceLabel, value): { + resource+: { + aws_imagebuilder_workflow+: { + [resourceLabel]+: { + kms_key_id: value, + }, + }, + }, + }, + '#withName':: d.fn(help='`aws.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the name field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]), + withName(resourceLabel, value): { + resource+: { + aws_imagebuilder_workflow+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withTags':: d.fn(help='`aws.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the tags field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]), + withTags(resourceLabel, value): { + resource+: { + aws_imagebuilder_workflow+: { + [resourceLabel]+: { + tags: value, + }, + }, + }, + }, + '#withTagsAll':: d.fn(help='`aws.obj.withTagsAll` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the tags_all field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags_all` field.\n', args=[]), + withTagsAll(resourceLabel, value): { + resource+: { + aws_imagebuilder_workflow+: { + [resourceLabel]+: { + tags_all: value, + }, + }, + }, + }, + '#withType':: d.fn(help='`aws.string.withType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the type field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `type` field.\n', args=[]), + withType(resourceLabel, value): { + resource+: { + aws_imagebuilder_workflow+: { + [resourceLabel]+: { + type: value, + }, + }, + }, + }, + '#withUri':: d.fn(help='`aws.string.withUri` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the uri field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `uri` field.\n', args=[]), + withUri(resourceLabel, value): { + resource+: { + aws_imagebuilder_workflow+: { + [resourceLabel]+: { + uri: value, + }, + }, + }, + }, + '#withVersion':: d.fn(help='`aws.string.withVersion` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the version field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `version` field.\n', args=[]), + withVersion(resourceLabel, value): { + resource+: { + aws_imagebuilder_workflow+: { + [resourceLabel]+: { + version: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/kinesis_firehose_delivery_stream.libsonnet b/5.x/_gen/resources/kinesis_firehose_delivery_stream.libsonnet index a35f923f..82a30b74 100644 --- a/5.x/_gen/resources/kinesis_firehose_delivery_stream.libsonnet +++ b/5.x/_gen/resources/kinesis_firehose_delivery_stream.libsonnet @@ -640,7 +640,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); log_stream_name: log_stream_name, }), }, - '#new':: d.fn(help='\n`aws.kinesis_firehose_delivery_stream.opensearch_configuration.new` constructs a new object with attributes and blocks configured for the `opensearch_configuration`\nTerraform sub block.\n\n\n\n**Args**:\n - `buffering_interval` (`number`): Set the `buffering_interval` field on the resulting object. When `null`, the `buffering_interval` field will be omitted from the resulting object.\n - `buffering_size` (`number`): Set the `buffering_size` field on the resulting object. When `null`, the `buffering_size` field will be omitted from the resulting object.\n - `cluster_endpoint` (`string`): Set the `cluster_endpoint` field on the resulting object. When `null`, the `cluster_endpoint` field will be omitted from the resulting object.\n - `domain_arn` (`string`): Set the `domain_arn` field on the resulting object. When `null`, the `domain_arn` field will be omitted from the resulting object.\n - `index_name` (`string`): Set the `index_name` field on the resulting object.\n - `index_rotation_period` (`string`): Set the `index_rotation_period` field on the resulting object. When `null`, the `index_rotation_period` field will be omitted from the resulting object.\n - `retry_duration` (`number`): Set the `retry_duration` field on the resulting object. When `null`, the `retry_duration` field will be omitted from the resulting object.\n - `role_arn` (`string`): Set the `role_arn` field on the resulting object.\n - `s3_backup_mode` (`string`): Set the `s3_backup_mode` field on the resulting object. When `null`, the `s3_backup_mode` field will be omitted from the resulting object.\n - `type_name` (`string`): Set the `type_name` field on the resulting object. When `null`, the `type_name` field will be omitted from the resulting object.\n - `cloudwatch_logging_options` (`list[obj]`): Set the `cloudwatch_logging_options` field on the resulting object. When `null`, the `cloudwatch_logging_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.cloudwatch_logging_options.new](#fn-opensearch_configurationcloudwatch_logging_optionsnew) constructor.\n - `processing_configuration` (`list[obj]`): Set the `processing_configuration` field on the resulting object. When `null`, the `processing_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.processing_configuration.new](#fn-opensearch_configurationprocessing_configurationnew) constructor.\n - `s3_configuration` (`list[obj]`): Set the `s3_configuration` field on the resulting object. When `null`, the `s3_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.s3_configuration.new](#fn-opensearch_configurations3_configurationnew) constructor.\n - `vpc_config` (`list[obj]`): Set the `vpc_config` field on the resulting object. When `null`, the `vpc_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.vpc_config.new](#fn-opensearch_configurationvpc_confignew) constructor.\n\n**Returns**:\n - An attribute object that represents the `opensearch_configuration` sub block.\n', args=[]), + document_id_options:: { + '#new':: d.fn(help='\n`aws.kinesis_firehose_delivery_stream.opensearch_configuration.document_id_options.new` constructs a new object with attributes and blocks configured for the `document_id_options`\nTerraform sub block.\n\n\n\n**Args**:\n - `default_document_id_format` (`string`): Set the `default_document_id_format` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `document_id_options` sub block.\n', args=[]), + new( + default_document_id_format + ):: std.prune(a={ + default_document_id_format: default_document_id_format, + }), + }, + '#new':: d.fn(help='\n`aws.kinesis_firehose_delivery_stream.opensearch_configuration.new` constructs a new object with attributes and blocks configured for the `opensearch_configuration`\nTerraform sub block.\n\n\n\n**Args**:\n - `buffering_interval` (`number`): Set the `buffering_interval` field on the resulting object. When `null`, the `buffering_interval` field will be omitted from the resulting object.\n - `buffering_size` (`number`): Set the `buffering_size` field on the resulting object. When `null`, the `buffering_size` field will be omitted from the resulting object.\n - `cluster_endpoint` (`string`): Set the `cluster_endpoint` field on the resulting object. When `null`, the `cluster_endpoint` field will be omitted from the resulting object.\n - `domain_arn` (`string`): Set the `domain_arn` field on the resulting object. When `null`, the `domain_arn` field will be omitted from the resulting object.\n - `index_name` (`string`): Set the `index_name` field on the resulting object.\n - `index_rotation_period` (`string`): Set the `index_rotation_period` field on the resulting object. When `null`, the `index_rotation_period` field will be omitted from the resulting object.\n - `retry_duration` (`number`): Set the `retry_duration` field on the resulting object. When `null`, the `retry_duration` field will be omitted from the resulting object.\n - `role_arn` (`string`): Set the `role_arn` field on the resulting object.\n - `s3_backup_mode` (`string`): Set the `s3_backup_mode` field on the resulting object. When `null`, the `s3_backup_mode` field will be omitted from the resulting object.\n - `type_name` (`string`): Set the `type_name` field on the resulting object. When `null`, the `type_name` field will be omitted from the resulting object.\n - `cloudwatch_logging_options` (`list[obj]`): Set the `cloudwatch_logging_options` field on the resulting object. When `null`, the `cloudwatch_logging_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.cloudwatch_logging_options.new](#fn-opensearch_configurationcloudwatch_logging_optionsnew) constructor.\n - `document_id_options` (`list[obj]`): Set the `document_id_options` field on the resulting object. When `null`, the `document_id_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.document_id_options.new](#fn-opensearch_configurationdocument_id_optionsnew) constructor.\n - `processing_configuration` (`list[obj]`): Set the `processing_configuration` field on the resulting object. When `null`, the `processing_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.processing_configuration.new](#fn-opensearch_configurationprocessing_configurationnew) constructor.\n - `s3_configuration` (`list[obj]`): Set the `s3_configuration` field on the resulting object. When `null`, the `s3_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.s3_configuration.new](#fn-opensearch_configurations3_configurationnew) constructor.\n - `vpc_config` (`list[obj]`): Set the `vpc_config` field on the resulting object. When `null`, the `vpc_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.vpc_config.new](#fn-opensearch_configurationvpc_confignew) constructor.\n\n**Returns**:\n - An attribute object that represents the `opensearch_configuration` sub block.\n', args=[]), new( index_name, role_arn, @@ -648,6 +656,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); buffering_size=null, cloudwatch_logging_options=null, cluster_endpoint=null, + document_id_options=null, domain_arn=null, index_rotation_period=null, processing_configuration=null, @@ -661,6 +670,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); buffering_size: buffering_size, cloudwatch_logging_options: cloudwatch_logging_options, cluster_endpoint: cluster_endpoint, + document_id_options: document_id_options, domain_arn: domain_arn, index_name: index_name, index_rotation_period: index_rotation_period, @@ -1040,10 +1050,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); log_stream_name: log_stream_name, }), }, - '#new':: d.fn(help='\n`aws.kinesis_firehose_delivery_stream.splunk_configuration.new` constructs a new object with attributes and blocks configured for the `splunk_configuration`\nTerraform sub block.\n\n\n\n**Args**:\n - `hec_acknowledgment_timeout` (`number`): Set the `hec_acknowledgment_timeout` field on the resulting object. When `null`, the `hec_acknowledgment_timeout` field will be omitted from the resulting object.\n - `hec_endpoint` (`string`): Set the `hec_endpoint` field on the resulting object.\n - `hec_endpoint_type` (`string`): Set the `hec_endpoint_type` field on the resulting object. When `null`, the `hec_endpoint_type` field will be omitted from the resulting object.\n - `hec_token` (`string`): Set the `hec_token` field on the resulting object.\n - `retry_duration` (`number`): Set the `retry_duration` field on the resulting object. When `null`, the `retry_duration` field will be omitted from the resulting object.\n - `s3_backup_mode` (`string`): Set the `s3_backup_mode` field on the resulting object. When `null`, the `s3_backup_mode` field will be omitted from the resulting object.\n - `cloudwatch_logging_options` (`list[obj]`): Set the `cloudwatch_logging_options` field on the resulting object. When `null`, the `cloudwatch_logging_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.splunk_configuration.cloudwatch_logging_options.new](#fn-splunk_configurationcloudwatch_logging_optionsnew) constructor.\n - `processing_configuration` (`list[obj]`): Set the `processing_configuration` field on the resulting object. When `null`, the `processing_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.splunk_configuration.processing_configuration.new](#fn-splunk_configurationprocessing_configurationnew) constructor.\n - `s3_configuration` (`list[obj]`): Set the `s3_configuration` field on the resulting object. When `null`, the `s3_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.splunk_configuration.s3_configuration.new](#fn-splunk_configurations3_configurationnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `splunk_configuration` sub block.\n', args=[]), + '#new':: d.fn(help='\n`aws.kinesis_firehose_delivery_stream.splunk_configuration.new` constructs a new object with attributes and blocks configured for the `splunk_configuration`\nTerraform sub block.\n\n\n\n**Args**:\n - `buffering_interval` (`number`): Set the `buffering_interval` field on the resulting object. When `null`, the `buffering_interval` field will be omitted from the resulting object.\n - `buffering_size` (`number`): Set the `buffering_size` field on the resulting object. When `null`, the `buffering_size` field will be omitted from the resulting object.\n - `hec_acknowledgment_timeout` (`number`): Set the `hec_acknowledgment_timeout` field on the resulting object. When `null`, the `hec_acknowledgment_timeout` field will be omitted from the resulting object.\n - `hec_endpoint` (`string`): Set the `hec_endpoint` field on the resulting object.\n - `hec_endpoint_type` (`string`): Set the `hec_endpoint_type` field on the resulting object. When `null`, the `hec_endpoint_type` field will be omitted from the resulting object.\n - `hec_token` (`string`): Set the `hec_token` field on the resulting object.\n - `retry_duration` (`number`): Set the `retry_duration` field on the resulting object. When `null`, the `retry_duration` field will be omitted from the resulting object.\n - `s3_backup_mode` (`string`): Set the `s3_backup_mode` field on the resulting object. When `null`, the `s3_backup_mode` field will be omitted from the resulting object.\n - `cloudwatch_logging_options` (`list[obj]`): Set the `cloudwatch_logging_options` field on the resulting object. When `null`, the `cloudwatch_logging_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.splunk_configuration.cloudwatch_logging_options.new](#fn-splunk_configurationcloudwatch_logging_optionsnew) constructor.\n - `processing_configuration` (`list[obj]`): Set the `processing_configuration` field on the resulting object. When `null`, the `processing_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.splunk_configuration.processing_configuration.new](#fn-splunk_configurationprocessing_configurationnew) constructor.\n - `s3_configuration` (`list[obj]`): Set the `s3_configuration` field on the resulting object. When `null`, the `s3_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.splunk_configuration.s3_configuration.new](#fn-splunk_configurations3_configurationnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `splunk_configuration` sub block.\n', args=[]), new( hec_endpoint, hec_token, + buffering_interval=null, + buffering_size=null, cloudwatch_logging_options=null, hec_acknowledgment_timeout=null, hec_endpoint_type=null, @@ -1052,6 +1064,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); s3_backup_mode=null, s3_configuration=null ):: std.prune(a={ + buffering_interval: buffering_interval, + buffering_size: buffering_size, cloudwatch_logging_options: cloudwatch_logging_options, hec_acknowledgment_timeout: hec_acknowledgment_timeout, hec_endpoint: hec_endpoint, diff --git a/5.x/_gen/resources/kinesis_resource_policy.libsonnet b/5.x/_gen/resources/kinesis_resource_policy.libsonnet new file mode 100644 index 00000000..bb618159 --- /dev/null +++ b/5.x/_gen/resources/kinesis_resource_policy.libsonnet @@ -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='kinesis_resource_policy', url='', help='`kinesis_resource_policy` represents the `aws_kinesis_resource_policy` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + '#new':: d.fn(help="\n`aws.kinesis_resource_policy.new` injects a new `aws_kinesis_resource_policy` Terraform `resource`\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.kinesis_resource_policy.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.kinesis_resource_policy` using the reference:\n\n $._ref.aws_kinesis_resource_policy.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_kinesis_resource_policy.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 - `resourceLabel` (`string`): The name label of the block.\n - `policy` (`string`): Set the `policy` field on the resulting resource block.\n - `resource_arn` (`string`): Set the `resource_arn` field on the resulting resource block.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + policy, + resource_arn, + _meta={} + ):: tf.withResource( + type='aws_kinesis_resource_policy', + label=resourceLabel, + attrs=self.newAttrs(policy=policy, resource_arn=resource_arn), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.kinesis_resource_policy.newAttrs` constructs a new object with attributes and blocks configured for the `kinesis_resource_policy`\nTerraform resource.\n\nUnlike [aws.kinesis_resource_policy.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `policy` (`string`): Set the `policy` field on the resulting object.\n - `resource_arn` (`string`): Set the `resource_arn` field on the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `kinesis_resource_policy` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + policy, + resource_arn + ):: std.prune(a={ + policy: policy, + resource_arn: resource_arn, + }), + '#withPolicy':: d.fn(help='`aws.string.withPolicy` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the policy field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `policy` field.\n', args=[]), + withPolicy(resourceLabel, value): { + resource+: { + aws_kinesis_resource_policy+: { + [resourceLabel]+: { + policy: value, + }, + }, + }, + }, + '#withResourceArn':: d.fn(help='`aws.string.withResourceArn` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the resource_arn field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `resource_arn` field.\n', args=[]), + withResourceArn(resourceLabel, value): { + resource+: { + aws_kinesis_resource_policy+: { + [resourceLabel]+: { + resource_arn: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/kms_key.libsonnet b/5.x/_gen/resources/kms_key.libsonnet index aa713f1d..1dcf6bfb 100644 --- a/5.x/_gen/resources/kms_key.libsonnet +++ b/5.x/_gen/resources/kms_key.libsonnet @@ -2,7 +2,7 @@ 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='kms_key', url='', help='`kms_key` represents the `aws_kms_key` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), - '#new':: d.fn(help="\n`aws.kms_key.new` injects a new `aws_kms_key` Terraform `resource`\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.kms_key.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.kms_key` using the reference:\n\n $._ref.aws_kms_key.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_kms_key.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 - `resourceLabel` (`string`): The name label of the block.\n - `bypass_policy_lockout_safety_check` (`bool`): Set the `bypass_policy_lockout_safety_check` field on the resulting resource block. When `null`, the `bypass_policy_lockout_safety_check` field will be omitted from the resulting object.\n - `custom_key_store_id` (`string`): Set the `custom_key_store_id` field on the resulting resource block. When `null`, the `custom_key_store_id` field will be omitted from the resulting object.\n - `customer_master_key_spec` (`string`): Set the `customer_master_key_spec` field on the resulting resource block. When `null`, the `customer_master_key_spec` field will be omitted from the resulting object.\n - `deletion_window_in_days` (`number`): Set the `deletion_window_in_days` field on the resulting resource block. When `null`, the `deletion_window_in_days` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `enable_key_rotation` (`bool`): Set the `enable_key_rotation` field on the resulting resource block. When `null`, the `enable_key_rotation` field will be omitted from the resulting object.\n - `is_enabled` (`bool`): Set the `is_enabled` field on the resulting resource block. When `null`, the `is_enabled` field will be omitted from the resulting object.\n - `key_usage` (`string`): Set the `key_usage` field on the resulting resource block. When `null`, the `key_usage` field will be omitted from the resulting object.\n - `multi_region` (`bool`): Set the `multi_region` field on the resulting resource block. When `null`, the `multi_region` field will be omitted from the resulting object.\n - `policy` (`string`): Set the `policy` field on the resulting resource block. When `null`, the `policy` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kms_key.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.kms_key.new` injects a new `aws_kms_key` Terraform `resource`\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.kms_key.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.kms_key` using the reference:\n\n $._ref.aws_kms_key.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_kms_key.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 - `resourceLabel` (`string`): The name label of the block.\n - `bypass_policy_lockout_safety_check` (`bool`): Set the `bypass_policy_lockout_safety_check` field on the resulting resource block. When `null`, the `bypass_policy_lockout_safety_check` field will be omitted from the resulting object.\n - `custom_key_store_id` (`string`): Set the `custom_key_store_id` field on the resulting resource block. When `null`, the `custom_key_store_id` field will be omitted from the resulting object.\n - `customer_master_key_spec` (`string`): Set the `customer_master_key_spec` field on the resulting resource block. When `null`, the `customer_master_key_spec` field will be omitted from the resulting object.\n - `deletion_window_in_days` (`number`): Set the `deletion_window_in_days` field on the resulting resource block. When `null`, the `deletion_window_in_days` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `enable_key_rotation` (`bool`): Set the `enable_key_rotation` field on the resulting resource block. When `null`, the `enable_key_rotation` field will be omitted from the resulting object.\n - `is_enabled` (`bool`): Set the `is_enabled` field on the resulting resource block. When `null`, the `is_enabled` field will be omitted from the resulting object.\n - `key_usage` (`string`): Set the `key_usage` field on the resulting resource block. When `null`, the `key_usage` field will be omitted from the resulting object.\n - `multi_region` (`bool`): Set the `multi_region` field on the resulting resource block. When `null`, the `multi_region` field will be omitted from the resulting object.\n - `policy` (`string`): Set the `policy` field on the resulting resource block. When `null`, the `policy` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `xks_key_id` (`string`): Set the `xks_key_id` field on the resulting resource block. When `null`, the `xks_key_id` field will be omitted from the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kms_key.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, bypass_policy_lockout_safety_check=null, @@ -18,6 +18,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags=null, tags_all=null, timeouts=null, + xks_key_id=null, _meta={} ):: tf.withResource( type='aws_kms_key', @@ -35,11 +36,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); policy=policy, tags=tags, tags_all=tags_all, - timeouts=timeouts + timeouts=timeouts, + xks_key_id=xks_key_id ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.kms_key.newAttrs` constructs a new object with attributes and blocks configured for the `kms_key`\nTerraform resource.\n\nUnlike [aws.kms_key.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `bypass_policy_lockout_safety_check` (`bool`): Set the `bypass_policy_lockout_safety_check` field on the resulting object. When `null`, the `bypass_policy_lockout_safety_check` field will be omitted from the resulting object.\n - `custom_key_store_id` (`string`): Set the `custom_key_store_id` field on the resulting object. When `null`, the `custom_key_store_id` field will be omitted from the resulting object.\n - `customer_master_key_spec` (`string`): Set the `customer_master_key_spec` field on the resulting object. When `null`, the `customer_master_key_spec` field will be omitted from the resulting object.\n - `deletion_window_in_days` (`number`): Set the `deletion_window_in_days` field on the resulting object. When `null`, the `deletion_window_in_days` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `enable_key_rotation` (`bool`): Set the `enable_key_rotation` field on the resulting object. When `null`, the `enable_key_rotation` field will be omitted from the resulting object.\n - `is_enabled` (`bool`): Set the `is_enabled` field on the resulting object. When `null`, the `is_enabled` field will be omitted from the resulting object.\n - `key_usage` (`string`): Set the `key_usage` field on the resulting object. When `null`, the `key_usage` field will be omitted from the resulting object.\n - `multi_region` (`bool`): Set the `multi_region` field on the resulting object. When `null`, the `multi_region` field will be omitted from the resulting object.\n - `policy` (`string`): Set the `policy` field on the resulting object. When `null`, the `policy` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kms_key.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `kms_key` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.kms_key.newAttrs` constructs a new object with attributes and blocks configured for the `kms_key`\nTerraform resource.\n\nUnlike [aws.kms_key.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `bypass_policy_lockout_safety_check` (`bool`): Set the `bypass_policy_lockout_safety_check` field on the resulting object. When `null`, the `bypass_policy_lockout_safety_check` field will be omitted from the resulting object.\n - `custom_key_store_id` (`string`): Set the `custom_key_store_id` field on the resulting object. When `null`, the `custom_key_store_id` field will be omitted from the resulting object.\n - `customer_master_key_spec` (`string`): Set the `customer_master_key_spec` field on the resulting object. When `null`, the `customer_master_key_spec` field will be omitted from the resulting object.\n - `deletion_window_in_days` (`number`): Set the `deletion_window_in_days` field on the resulting object. When `null`, the `deletion_window_in_days` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `enable_key_rotation` (`bool`): Set the `enable_key_rotation` field on the resulting object. When `null`, the `enable_key_rotation` field will be omitted from the resulting object.\n - `is_enabled` (`bool`): Set the `is_enabled` field on the resulting object. When `null`, the `is_enabled` field will be omitted from the resulting object.\n - `key_usage` (`string`): Set the `key_usage` field on the resulting object. When `null`, the `key_usage` field will be omitted from the resulting object.\n - `multi_region` (`bool`): Set the `multi_region` field on the resulting object. When `null`, the `multi_region` field will be omitted from the resulting object.\n - `policy` (`string`): Set the `policy` field on the resulting object. When `null`, the `policy` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `xks_key_id` (`string`): Set the `xks_key_id` field on the resulting object. When `null`, the `xks_key_id` field will be omitted from the resulting object.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kms_key.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `kms_key` resource into the root Terraform configuration.\n', args=[]), newAttrs( bypass_policy_lockout_safety_check=null, custom_key_store_id=null, @@ -53,7 +55,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); policy=null, tags=null, tags_all=null, - timeouts=null + timeouts=null, + xks_key_id=null ):: std.prune(a={ bypass_policy_lockout_safety_check: bypass_policy_lockout_safety_check, custom_key_store_id: custom_key_store_id, @@ -68,6 +71,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags: tags, tags_all: tags_all, timeouts: timeouts, + xks_key_id: xks_key_id, }), timeouts:: { '#new':: d.fn(help='\n`aws.kms_key.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), @@ -217,4 +221,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withXksKeyId':: d.fn(help='`aws.string.withXksKeyId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the xks_key_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `xks_key_id` field.\n', args=[]), + withXksKeyId(resourceLabel, value): { + resource+: { + aws_kms_key+: { + [resourceLabel]+: { + xks_key_id: value, + }, + }, + }, + }, } diff --git a/5.x/_gen/resources/lambda_function.libsonnet b/5.x/_gen/resources/lambda_function.libsonnet index feef8762..6ed33558 100644 --- a/5.x/_gen/resources/lambda_function.libsonnet +++ b/5.x/_gen/resources/lambda_function.libsonnet @@ -48,7 +48,21 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); working_directory: working_directory, }), }, - '#new':: d.fn(help="\n`aws.lambda_function.new` injects a new `aws_lambda_function` Terraform `resource`\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.lambda_function.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.lambda_function` using the reference:\n\n $._ref.aws_lambda_function.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_lambda_function.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 - `resourceLabel` (`string`): The name label of the block.\n - `architectures` (`list`): Set the `architectures` field on the resulting resource block. When `null`, the `architectures` field will be omitted from the resulting object.\n - `code_signing_config_arn` (`string`): Set the `code_signing_config_arn` field on the resulting resource block. When `null`, the `code_signing_config_arn` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `filename` (`string`): Set the `filename` field on the resulting resource block. When `null`, the `filename` field will be omitted from the resulting object.\n - `function_name` (`string`): Set the `function_name` field on the resulting resource block.\n - `handler` (`string`): Set the `handler` field on the resulting resource block. When `null`, the `handler` field will be omitted from the resulting object.\n - `image_uri` (`string`): Set the `image_uri` field on the resulting resource block. When `null`, the `image_uri` field will be omitted from the resulting object.\n - `kms_key_arn` (`string`): Set the `kms_key_arn` field on the resulting resource block. When `null`, the `kms_key_arn` field will be omitted from the resulting object.\n - `layers` (`list`): Set the `layers` field on the resulting resource block. When `null`, the `layers` field will be omitted from the resulting object.\n - `memory_size` (`number`): Set the `memory_size` field on the resulting resource block. When `null`, the `memory_size` field will be omitted from the resulting object.\n - `package_type` (`string`): Set the `package_type` field on the resulting resource block. When `null`, the `package_type` field will be omitted from the resulting object.\n - `publish` (`bool`): Set the `publish` field on the resulting resource block. When `null`, the `publish` field will be omitted from the resulting object.\n - `replace_security_groups_on_destroy` (`bool`): Set the `replace_security_groups_on_destroy` field on the resulting resource block. When `null`, the `replace_security_groups_on_destroy` field will be omitted from the resulting object.\n - `replacement_security_group_ids` (`list`): Set the `replacement_security_group_ids` field on the resulting resource block. When `null`, the `replacement_security_group_ids` field will be omitted from the resulting object.\n - `reserved_concurrent_executions` (`number`): Set the `reserved_concurrent_executions` field on the resulting resource block. When `null`, the `reserved_concurrent_executions` field will be omitted from the resulting object.\n - `role` (`string`): Set the `role` field on the resulting resource block.\n - `runtime` (`string`): Set the `runtime` field on the resulting resource block. When `null`, the `runtime` field will be omitted from the resulting object.\n - `s3_bucket` (`string`): Set the `s3_bucket` field on the resulting resource block. When `null`, the `s3_bucket` field will be omitted from the resulting object.\n - `s3_key` (`string`): Set the `s3_key` field on the resulting resource block. When `null`, the `s3_key` field will be omitted from the resulting object.\n - `s3_object_version` (`string`): Set the `s3_object_version` field on the resulting resource block. When `null`, the `s3_object_version` field will be omitted from the resulting object.\n - `skip_destroy` (`bool`): Set the `skip_destroy` field on the resulting resource block. When `null`, the `skip_destroy` field will be omitted from the resulting object.\n - `source_code_hash` (`string`): Set the `source_code_hash` field on the resulting resource block. When `null`, the `source_code_hash` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `timeout` (`number`): Set the `timeout` field on the resulting resource block. When `null`, the `timeout` field will be omitted from the resulting object.\n - `dead_letter_config` (`list[obj]`): Set the `dead_letter_config` field on the resulting resource block. When `null`, the `dead_letter_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.dead_letter_config.new](#fn-dead_letter_confignew) constructor.\n - `environment` (`list[obj]`): Set the `environment` field on the resulting resource block. When `null`, the `environment` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.environment.new](#fn-environmentnew) constructor.\n - `ephemeral_storage` (`list[obj]`): Set the `ephemeral_storage` field on the resulting resource block. When `null`, the `ephemeral_storage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.ephemeral_storage.new](#fn-ephemeral_storagenew) constructor.\n - `file_system_config` (`list[obj]`): Set the `file_system_config` field on the resulting resource block. When `null`, the `file_system_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.file_system_config.new](#fn-file_system_confignew) constructor.\n - `image_config` (`list[obj]`): Set the `image_config` field on the resulting resource block. When `null`, the `image_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.image_config.new](#fn-image_confignew) constructor.\n - `snap_start` (`list[obj]`): Set the `snap_start` field on the resulting resource block. When `null`, the `snap_start` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.snap_start.new](#fn-snap_startnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.timeouts.new](#fn-timeoutsnew) constructor.\n - `tracing_config` (`list[obj]`): Set the `tracing_config` field on the resulting resource block. When `null`, the `tracing_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.tracing_config.new](#fn-tracing_confignew) constructor.\n - `vpc_config` (`list[obj]`): Set the `vpc_config` field on the resulting resource block. When `null`, the `vpc_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.vpc_config.new](#fn-vpc_confignew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + logging_config:: { + '#new':: d.fn(help='\n`aws.lambda_function.logging_config.new` constructs a new object with attributes and blocks configured for the `logging_config`\nTerraform sub block.\n\n\n\n**Args**:\n - `application_log_level` (`string`): Set the `application_log_level` field on the resulting object. When `null`, the `application_log_level` field will be omitted from the resulting object.\n - `log_format` (`string`): Set the `log_format` field on the resulting object.\n - `log_group` (`string`): Set the `log_group` field on the resulting object. When `null`, the `log_group` field will be omitted from the resulting object.\n - `system_log_level` (`string`): Set the `system_log_level` field on the resulting object. When `null`, the `system_log_level` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `logging_config` sub block.\n', args=[]), + new( + log_format, + application_log_level=null, + log_group=null, + system_log_level=null + ):: std.prune(a={ + application_log_level: application_log_level, + log_format: log_format, + log_group: log_group, + system_log_level: system_log_level, + }), + }, + '#new':: d.fn(help="\n`aws.lambda_function.new` injects a new `aws_lambda_function` Terraform `resource`\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.lambda_function.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.lambda_function` using the reference:\n\n $._ref.aws_lambda_function.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_lambda_function.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 - `resourceLabel` (`string`): The name label of the block.\n - `architectures` (`list`): Set the `architectures` field on the resulting resource block. When `null`, the `architectures` field will be omitted from the resulting object.\n - `code_signing_config_arn` (`string`): Set the `code_signing_config_arn` field on the resulting resource block. When `null`, the `code_signing_config_arn` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `filename` (`string`): Set the `filename` field on the resulting resource block. When `null`, the `filename` field will be omitted from the resulting object.\n - `function_name` (`string`): Set the `function_name` field on the resulting resource block.\n - `handler` (`string`): Set the `handler` field on the resulting resource block. When `null`, the `handler` field will be omitted from the resulting object.\n - `image_uri` (`string`): Set the `image_uri` field on the resulting resource block. When `null`, the `image_uri` field will be omitted from the resulting object.\n - `kms_key_arn` (`string`): Set the `kms_key_arn` field on the resulting resource block. When `null`, the `kms_key_arn` field will be omitted from the resulting object.\n - `layers` (`list`): Set the `layers` field on the resulting resource block. When `null`, the `layers` field will be omitted from the resulting object.\n - `memory_size` (`number`): Set the `memory_size` field on the resulting resource block. When `null`, the `memory_size` field will be omitted from the resulting object.\n - `package_type` (`string`): Set the `package_type` field on the resulting resource block. When `null`, the `package_type` field will be omitted from the resulting object.\n - `publish` (`bool`): Set the `publish` field on the resulting resource block. When `null`, the `publish` field will be omitted from the resulting object.\n - `replace_security_groups_on_destroy` (`bool`): Set the `replace_security_groups_on_destroy` field on the resulting resource block. When `null`, the `replace_security_groups_on_destroy` field will be omitted from the resulting object.\n - `replacement_security_group_ids` (`list`): Set the `replacement_security_group_ids` field on the resulting resource block. When `null`, the `replacement_security_group_ids` field will be omitted from the resulting object.\n - `reserved_concurrent_executions` (`number`): Set the `reserved_concurrent_executions` field on the resulting resource block. When `null`, the `reserved_concurrent_executions` field will be omitted from the resulting object.\n - `role` (`string`): Set the `role` field on the resulting resource block.\n - `runtime` (`string`): Set the `runtime` field on the resulting resource block. When `null`, the `runtime` field will be omitted from the resulting object.\n - `s3_bucket` (`string`): Set the `s3_bucket` field on the resulting resource block. When `null`, the `s3_bucket` field will be omitted from the resulting object.\n - `s3_key` (`string`): Set the `s3_key` field on the resulting resource block. When `null`, the `s3_key` field will be omitted from the resulting object.\n - `s3_object_version` (`string`): Set the `s3_object_version` field on the resulting resource block. When `null`, the `s3_object_version` field will be omitted from the resulting object.\n - `skip_destroy` (`bool`): Set the `skip_destroy` field on the resulting resource block. When `null`, the `skip_destroy` field will be omitted from the resulting object.\n - `source_code_hash` (`string`): Set the `source_code_hash` field on the resulting resource block. When `null`, the `source_code_hash` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `timeout` (`number`): Set the `timeout` field on the resulting resource block. When `null`, the `timeout` field will be omitted from the resulting object.\n - `dead_letter_config` (`list[obj]`): Set the `dead_letter_config` field on the resulting resource block. When `null`, the `dead_letter_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.dead_letter_config.new](#fn-dead_letter_confignew) constructor.\n - `environment` (`list[obj]`): Set the `environment` field on the resulting resource block. When `null`, the `environment` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.environment.new](#fn-environmentnew) constructor.\n - `ephemeral_storage` (`list[obj]`): Set the `ephemeral_storage` field on the resulting resource block. When `null`, the `ephemeral_storage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.ephemeral_storage.new](#fn-ephemeral_storagenew) constructor.\n - `file_system_config` (`list[obj]`): Set the `file_system_config` field on the resulting resource block. When `null`, the `file_system_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.file_system_config.new](#fn-file_system_confignew) constructor.\n - `image_config` (`list[obj]`): Set the `image_config` field on the resulting resource block. When `null`, the `image_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.image_config.new](#fn-image_confignew) constructor.\n - `logging_config` (`list[obj]`): Set the `logging_config` field on the resulting resource block. When `null`, the `logging_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.logging_config.new](#fn-logging_confignew) constructor.\n - `snap_start` (`list[obj]`): Set the `snap_start` field on the resulting resource block. When `null`, the `snap_start` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.snap_start.new](#fn-snap_startnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.timeouts.new](#fn-timeoutsnew) constructor.\n - `tracing_config` (`list[obj]`): Set the `tracing_config` field on the resulting resource block. When `null`, the `tracing_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.tracing_config.new](#fn-tracing_confignew) constructor.\n - `vpc_config` (`list[obj]`): Set the `vpc_config` field on the resulting resource block. When `null`, the `vpc_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.vpc_config.new](#fn-vpc_confignew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, function_name, @@ -66,6 +80,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); image_uri=null, kms_key_arn=null, layers=null, + logging_config=null, memory_size=null, package_type=null, publish=null, @@ -104,6 +119,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); image_uri=image_uri, kms_key_arn=kms_key_arn, layers=layers, + logging_config=logging_config, memory_size=memory_size, package_type=package_type, publish=publish, @@ -127,7 +143,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.lambda_function.newAttrs` constructs a new object with attributes and blocks configured for the `lambda_function`\nTerraform resource.\n\nUnlike [aws.lambda_function.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `architectures` (`list`): Set the `architectures` field on the resulting object. When `null`, the `architectures` field will be omitted from the resulting object.\n - `code_signing_config_arn` (`string`): Set the `code_signing_config_arn` field on the resulting object. When `null`, the `code_signing_config_arn` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `filename` (`string`): Set the `filename` field on the resulting object. When `null`, the `filename` field will be omitted from the resulting object.\n - `function_name` (`string`): Set the `function_name` field on the resulting object.\n - `handler` (`string`): Set the `handler` field on the resulting object. When `null`, the `handler` field will be omitted from the resulting object.\n - `image_uri` (`string`): Set the `image_uri` field on the resulting object. When `null`, the `image_uri` field will be omitted from the resulting object.\n - `kms_key_arn` (`string`): Set the `kms_key_arn` field on the resulting object. When `null`, the `kms_key_arn` field will be omitted from the resulting object.\n - `layers` (`list`): Set the `layers` field on the resulting object. When `null`, the `layers` field will be omitted from the resulting object.\n - `memory_size` (`number`): Set the `memory_size` field on the resulting object. When `null`, the `memory_size` field will be omitted from the resulting object.\n - `package_type` (`string`): Set the `package_type` field on the resulting object. When `null`, the `package_type` field will be omitted from the resulting object.\n - `publish` (`bool`): Set the `publish` field on the resulting object. When `null`, the `publish` field will be omitted from the resulting object.\n - `replace_security_groups_on_destroy` (`bool`): Set the `replace_security_groups_on_destroy` field on the resulting object. When `null`, the `replace_security_groups_on_destroy` field will be omitted from the resulting object.\n - `replacement_security_group_ids` (`list`): Set the `replacement_security_group_ids` field on the resulting object. When `null`, the `replacement_security_group_ids` field will be omitted from the resulting object.\n - `reserved_concurrent_executions` (`number`): Set the `reserved_concurrent_executions` field on the resulting object. When `null`, the `reserved_concurrent_executions` field will be omitted from the resulting object.\n - `role` (`string`): Set the `role` field on the resulting object.\n - `runtime` (`string`): Set the `runtime` field on the resulting object. When `null`, the `runtime` field will be omitted from the resulting object.\n - `s3_bucket` (`string`): Set the `s3_bucket` field on the resulting object. When `null`, the `s3_bucket` field will be omitted from the resulting object.\n - `s3_key` (`string`): Set the `s3_key` field on the resulting object. When `null`, the `s3_key` field will be omitted from the resulting object.\n - `s3_object_version` (`string`): Set the `s3_object_version` field on the resulting object. When `null`, the `s3_object_version` field will be omitted from the resulting object.\n - `skip_destroy` (`bool`): Set the `skip_destroy` field on the resulting object. When `null`, the `skip_destroy` field will be omitted from the resulting object.\n - `source_code_hash` (`string`): Set the `source_code_hash` field on the resulting object. When `null`, the `source_code_hash` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `timeout` (`number`): Set the `timeout` field on the resulting object. When `null`, the `timeout` field will be omitted from the resulting object.\n - `dead_letter_config` (`list[obj]`): Set the `dead_letter_config` field on the resulting object. When `null`, the `dead_letter_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.dead_letter_config.new](#fn-dead_letter_confignew) constructor.\n - `environment` (`list[obj]`): Set the `environment` field on the resulting object. When `null`, the `environment` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.environment.new](#fn-environmentnew) constructor.\n - `ephemeral_storage` (`list[obj]`): Set the `ephemeral_storage` field on the resulting object. When `null`, the `ephemeral_storage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.ephemeral_storage.new](#fn-ephemeral_storagenew) constructor.\n - `file_system_config` (`list[obj]`): Set the `file_system_config` field on the resulting object. When `null`, the `file_system_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.file_system_config.new](#fn-file_system_confignew) constructor.\n - `image_config` (`list[obj]`): Set the `image_config` field on the resulting object. When `null`, the `image_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.image_config.new](#fn-image_confignew) constructor.\n - `snap_start` (`list[obj]`): Set the `snap_start` field on the resulting object. When `null`, the `snap_start` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.snap_start.new](#fn-snap_startnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.timeouts.new](#fn-timeoutsnew) constructor.\n - `tracing_config` (`list[obj]`): Set the `tracing_config` field on the resulting object. When `null`, the `tracing_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.tracing_config.new](#fn-tracing_confignew) constructor.\n - `vpc_config` (`list[obj]`): Set the `vpc_config` field on the resulting object. When `null`, the `vpc_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.vpc_config.new](#fn-vpc_confignew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `lambda_function` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.lambda_function.newAttrs` constructs a new object with attributes and blocks configured for the `lambda_function`\nTerraform resource.\n\nUnlike [aws.lambda_function.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `architectures` (`list`): Set the `architectures` field on the resulting object. When `null`, the `architectures` field will be omitted from the resulting object.\n - `code_signing_config_arn` (`string`): Set the `code_signing_config_arn` field on the resulting object. When `null`, the `code_signing_config_arn` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `filename` (`string`): Set the `filename` field on the resulting object. When `null`, the `filename` field will be omitted from the resulting object.\n - `function_name` (`string`): Set the `function_name` field on the resulting object.\n - `handler` (`string`): Set the `handler` field on the resulting object. When `null`, the `handler` field will be omitted from the resulting object.\n - `image_uri` (`string`): Set the `image_uri` field on the resulting object. When `null`, the `image_uri` field will be omitted from the resulting object.\n - `kms_key_arn` (`string`): Set the `kms_key_arn` field on the resulting object. When `null`, the `kms_key_arn` field will be omitted from the resulting object.\n - `layers` (`list`): Set the `layers` field on the resulting object. When `null`, the `layers` field will be omitted from the resulting object.\n - `memory_size` (`number`): Set the `memory_size` field on the resulting object. When `null`, the `memory_size` field will be omitted from the resulting object.\n - `package_type` (`string`): Set the `package_type` field on the resulting object. When `null`, the `package_type` field will be omitted from the resulting object.\n - `publish` (`bool`): Set the `publish` field on the resulting object. When `null`, the `publish` field will be omitted from the resulting object.\n - `replace_security_groups_on_destroy` (`bool`): Set the `replace_security_groups_on_destroy` field on the resulting object. When `null`, the `replace_security_groups_on_destroy` field will be omitted from the resulting object.\n - `replacement_security_group_ids` (`list`): Set the `replacement_security_group_ids` field on the resulting object. When `null`, the `replacement_security_group_ids` field will be omitted from the resulting object.\n - `reserved_concurrent_executions` (`number`): Set the `reserved_concurrent_executions` field on the resulting object. When `null`, the `reserved_concurrent_executions` field will be omitted from the resulting object.\n - `role` (`string`): Set the `role` field on the resulting object.\n - `runtime` (`string`): Set the `runtime` field on the resulting object. When `null`, the `runtime` field will be omitted from the resulting object.\n - `s3_bucket` (`string`): Set the `s3_bucket` field on the resulting object. When `null`, the `s3_bucket` field will be omitted from the resulting object.\n - `s3_key` (`string`): Set the `s3_key` field on the resulting object. When `null`, the `s3_key` field will be omitted from the resulting object.\n - `s3_object_version` (`string`): Set the `s3_object_version` field on the resulting object. When `null`, the `s3_object_version` field will be omitted from the resulting object.\n - `skip_destroy` (`bool`): Set the `skip_destroy` field on the resulting object. When `null`, the `skip_destroy` field will be omitted from the resulting object.\n - `source_code_hash` (`string`): Set the `source_code_hash` field on the resulting object. When `null`, the `source_code_hash` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `timeout` (`number`): Set the `timeout` field on the resulting object. When `null`, the `timeout` field will be omitted from the resulting object.\n - `dead_letter_config` (`list[obj]`): Set the `dead_letter_config` field on the resulting object. When `null`, the `dead_letter_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.dead_letter_config.new](#fn-dead_letter_confignew) constructor.\n - `environment` (`list[obj]`): Set the `environment` field on the resulting object. When `null`, the `environment` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.environment.new](#fn-environmentnew) constructor.\n - `ephemeral_storage` (`list[obj]`): Set the `ephemeral_storage` field on the resulting object. When `null`, the `ephemeral_storage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.ephemeral_storage.new](#fn-ephemeral_storagenew) constructor.\n - `file_system_config` (`list[obj]`): Set the `file_system_config` field on the resulting object. When `null`, the `file_system_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.file_system_config.new](#fn-file_system_confignew) constructor.\n - `image_config` (`list[obj]`): Set the `image_config` field on the resulting object. When `null`, the `image_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.image_config.new](#fn-image_confignew) constructor.\n - `logging_config` (`list[obj]`): Set the `logging_config` field on the resulting object. When `null`, the `logging_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.logging_config.new](#fn-logging_confignew) constructor.\n - `snap_start` (`list[obj]`): Set the `snap_start` field on the resulting object. When `null`, the `snap_start` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.snap_start.new](#fn-snap_startnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.timeouts.new](#fn-timeoutsnew) constructor.\n - `tracing_config` (`list[obj]`): Set the `tracing_config` field on the resulting object. When `null`, the `tracing_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.tracing_config.new](#fn-tracing_confignew) constructor.\n - `vpc_config` (`list[obj]`): Set the `vpc_config` field on the resulting object. When `null`, the `vpc_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.vpc_config.new](#fn-vpc_confignew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `lambda_function` resource into the root Terraform configuration.\n', args=[]), newAttrs( function_name, role, @@ -144,6 +160,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); image_uri=null, kms_key_arn=null, layers=null, + logging_config=null, memory_size=null, package_type=null, publish=null, @@ -178,6 +195,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); image_uri: image_uri, kms_key_arn: kms_key_arn, layers: layers, + logging_config: logging_config, memory_size: memory_size, package_type: package_type, publish: publish, @@ -429,6 +447,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withLoggingConfig':: d.fn(help='`aws.list[obj].withLoggingConfig` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the logging_config 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].withLoggingConfigMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `logging_config` field.\n', args=[]), + withLoggingConfig(resourceLabel, value): { + resource+: { + aws_lambda_function+: { + [resourceLabel]+: { + logging_config: value, + }, + }, + }, + }, + '#withLoggingConfigMixin':: d.fn(help='`aws.list[obj].withLoggingConfigMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the logging_config 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].withLoggingConfig](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `logging_config` field.\n', args=[]), + withLoggingConfigMixin(resourceLabel, value): { + resource+: { + aws_lambda_function+: { + [resourceLabel]+: { + logging_config+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withMemorySize':: d.fn(help='`aws.number.withMemorySize` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the memory_size field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`number`): The value to set for the `memory_size` field.\n', args=[]), withMemorySize(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/lb_target_group.libsonnet b/5.x/_gen/resources/lb_target_group.libsonnet index 8757a519..1552f36c 100644 --- a/5.x/_gen/resources/lb_target_group.libsonnet +++ b/5.x/_gen/resources/lb_target_group.libsonnet @@ -26,7 +26,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); unhealthy_threshold: unhealthy_threshold, }), }, - '#new':: d.fn(help="\n`aws.lb_target_group.new` injects a new `aws_lb_target_group` Terraform `resource`\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.lb_target_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.lb_target_group` using the reference:\n\n $._ref.aws_lb_target_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_lb_target_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 - `resourceLabel` (`string`): The name label of the block.\n - `connection_termination` (`bool`): Set the `connection_termination` field on the resulting resource block. When `null`, the `connection_termination` field will be omitted from the resulting object.\n - `deregistration_delay` (`string`): Set the `deregistration_delay` field on the resulting resource block. When `null`, the `deregistration_delay` field will be omitted from the resulting object.\n - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting resource block. When `null`, the `ip_address_type` field will be omitted from the resulting object.\n - `lambda_multi_value_headers_enabled` (`bool`): Set the `lambda_multi_value_headers_enabled` field on the resulting resource block. When `null`, the `lambda_multi_value_headers_enabled` field will be omitted from the resulting object.\n - `load_balancing_algorithm_type` (`string`): Set the `load_balancing_algorithm_type` field on the resulting resource block. When `null`, the `load_balancing_algorithm_type` field will be omitted from the resulting object.\n - `load_balancing_cross_zone_enabled` (`string`): Set the `load_balancing_cross_zone_enabled` field on the resulting resource block. When `null`, the `load_balancing_cross_zone_enabled` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block. When `null`, the `name` field will be omitted from the resulting object.\n - `name_prefix` (`string`): Set the `name_prefix` field on the resulting resource block. When `null`, the `name_prefix` field will be omitted from the resulting object.\n - `port` (`number`): Set the `port` field on the resulting resource block. When `null`, the `port` field will be omitted from the resulting object.\n - `preserve_client_ip` (`string`): Set the `preserve_client_ip` field on the resulting resource block. When `null`, the `preserve_client_ip` field will be omitted from the resulting object.\n - `protocol` (`string`): Set the `protocol` field on the resulting resource block. When `null`, the `protocol` field will be omitted from the resulting object.\n - `protocol_version` (`string`): Set the `protocol_version` field on the resulting resource block. When `null`, the `protocol_version` field will be omitted from the resulting object.\n - `proxy_protocol_v2` (`bool`): Set the `proxy_protocol_v2` field on the resulting resource block. When `null`, the `proxy_protocol_v2` field will be omitted from the resulting object.\n - `slow_start` (`number`): Set the `slow_start` field on the resulting resource block. When `null`, the `slow_start` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `target_type` (`string`): Set the `target_type` field on the resulting resource block. When `null`, the `target_type` field will be omitted from the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` field on the resulting resource block. When `null`, the `vpc_id` field will be omitted from the resulting object.\n - `health_check` (`list[obj]`): Set the `health_check` field on the resulting resource block. When `null`, the `health_check` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.health_check.new](#fn-health_checknew) constructor.\n - `stickiness` (`list[obj]`): Set the `stickiness` field on the resulting resource block. When `null`, the `stickiness` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.stickiness.new](#fn-stickinessnew) constructor.\n - `target_failover` (`list[obj]`): Set the `target_failover` field on the resulting resource block. When `null`, the `target_failover` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.target_failover.new](#fn-target_failovernew) constructor.\n - `target_health_state` (`list[obj]`): Set the `target_health_state` field on the resulting resource block. When `null`, the `target_health_state` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.target_health_state.new](#fn-target_health_statenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.lb_target_group.new` injects a new `aws_lb_target_group` Terraform `resource`\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.lb_target_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.lb_target_group` using the reference:\n\n $._ref.aws_lb_target_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_lb_target_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 - `resourceLabel` (`string`): The name label of the block.\n - `connection_termination` (`bool`): Set the `connection_termination` field on the resulting resource block. When `null`, the `connection_termination` field will be omitted from the resulting object.\n - `deregistration_delay` (`string`): Set the `deregistration_delay` field on the resulting resource block. When `null`, the `deregistration_delay` field will be omitted from the resulting object.\n - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting resource block. When `null`, the `ip_address_type` field will be omitted from the resulting object.\n - `lambda_multi_value_headers_enabled` (`bool`): Set the `lambda_multi_value_headers_enabled` field on the resulting resource block. When `null`, the `lambda_multi_value_headers_enabled` field will be omitted from the resulting object.\n - `load_balancing_algorithm_type` (`string`): Set the `load_balancing_algorithm_type` field on the resulting resource block. When `null`, the `load_balancing_algorithm_type` field will be omitted from the resulting object.\n - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting resource block. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object.\n - `load_balancing_cross_zone_enabled` (`string`): Set the `load_balancing_cross_zone_enabled` field on the resulting resource block. When `null`, the `load_balancing_cross_zone_enabled` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block. When `null`, the `name` field will be omitted from the resulting object.\n - `name_prefix` (`string`): Set the `name_prefix` field on the resulting resource block. When `null`, the `name_prefix` field will be omitted from the resulting object.\n - `port` (`number`): Set the `port` field on the resulting resource block. When `null`, the `port` field will be omitted from the resulting object.\n - `preserve_client_ip` (`string`): Set the `preserve_client_ip` field on the resulting resource block. When `null`, the `preserve_client_ip` field will be omitted from the resulting object.\n - `protocol` (`string`): Set the `protocol` field on the resulting resource block. When `null`, the `protocol` field will be omitted from the resulting object.\n - `protocol_version` (`string`): Set the `protocol_version` field on the resulting resource block. When `null`, the `protocol_version` field will be omitted from the resulting object.\n - `proxy_protocol_v2` (`bool`): Set the `proxy_protocol_v2` field on the resulting resource block. When `null`, the `proxy_protocol_v2` field will be omitted from the resulting object.\n - `slow_start` (`number`): Set the `slow_start` field on the resulting resource block. When `null`, the `slow_start` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `target_type` (`string`): Set the `target_type` field on the resulting resource block. When `null`, the `target_type` field will be omitted from the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` field on the resulting resource block. When `null`, the `vpc_id` field will be omitted from the resulting object.\n - `health_check` (`list[obj]`): Set the `health_check` field on the resulting resource block. When `null`, the `health_check` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.health_check.new](#fn-health_checknew) constructor.\n - `stickiness` (`list[obj]`): Set the `stickiness` field on the resulting resource block. When `null`, the `stickiness` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.stickiness.new](#fn-stickinessnew) constructor.\n - `target_failover` (`list[obj]`): Set the `target_failover` field on the resulting resource block. When `null`, the `target_failover` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.target_failover.new](#fn-target_failovernew) constructor.\n - `target_health_state` (`list[obj]`): Set the `target_health_state` field on the resulting resource block. When `null`, the `target_health_state` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.target_health_state.new](#fn-target_health_statenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, connection_termination=null, @@ -35,6 +35,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ip_address_type=null, lambda_multi_value_headers_enabled=null, load_balancing_algorithm_type=null, + load_balancing_anomaly_mitigation=null, load_balancing_cross_zone_enabled=null, name=null, name_prefix=null, @@ -62,6 +63,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ip_address_type=ip_address_type, lambda_multi_value_headers_enabled=lambda_multi_value_headers_enabled, load_balancing_algorithm_type=load_balancing_algorithm_type, + load_balancing_anomaly_mitigation=load_balancing_anomaly_mitigation, load_balancing_cross_zone_enabled=load_balancing_cross_zone_enabled, name=name, name_prefix=name_prefix, @@ -81,7 +83,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.lb_target_group.newAttrs` constructs a new object with attributes and blocks configured for the `lb_target_group`\nTerraform resource.\n\nUnlike [aws.lb_target_group.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `connection_termination` (`bool`): Set the `connection_termination` field on the resulting object. When `null`, the `connection_termination` field will be omitted from the resulting object.\n - `deregistration_delay` (`string`): Set the `deregistration_delay` field on the resulting object. When `null`, the `deregistration_delay` field will be omitted from the resulting object.\n - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting object. When `null`, the `ip_address_type` field will be omitted from the resulting object.\n - `lambda_multi_value_headers_enabled` (`bool`): Set the `lambda_multi_value_headers_enabled` field on the resulting object. When `null`, the `lambda_multi_value_headers_enabled` field will be omitted from the resulting object.\n - `load_balancing_algorithm_type` (`string`): Set the `load_balancing_algorithm_type` field on the resulting object. When `null`, the `load_balancing_algorithm_type` field will be omitted from the resulting object.\n - `load_balancing_cross_zone_enabled` (`string`): Set the `load_balancing_cross_zone_enabled` field on the resulting object. When `null`, the `load_balancing_cross_zone_enabled` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object.\n - `name_prefix` (`string`): Set the `name_prefix` field on the resulting object. When `null`, the `name_prefix` field will be omitted from the resulting object.\n - `port` (`number`): Set the `port` field on the resulting object. When `null`, the `port` field will be omitted from the resulting object.\n - `preserve_client_ip` (`string`): Set the `preserve_client_ip` field on the resulting object. When `null`, the `preserve_client_ip` field will be omitted from the resulting object.\n - `protocol` (`string`): Set the `protocol` field on the resulting object. When `null`, the `protocol` field will be omitted from the resulting object.\n - `protocol_version` (`string`): Set the `protocol_version` field on the resulting object. When `null`, the `protocol_version` field will be omitted from the resulting object.\n - `proxy_protocol_v2` (`bool`): Set the `proxy_protocol_v2` field on the resulting object. When `null`, the `proxy_protocol_v2` field will be omitted from the resulting object.\n - `slow_start` (`number`): Set the `slow_start` field on the resulting object. When `null`, the `slow_start` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `target_type` (`string`): Set the `target_type` field on the resulting object. When `null`, the `target_type` field will be omitted from the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` field on the resulting object. When `null`, the `vpc_id` field will be omitted from the resulting object.\n - `health_check` (`list[obj]`): Set the `health_check` field on the resulting object. When `null`, the `health_check` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.health_check.new](#fn-health_checknew) constructor.\n - `stickiness` (`list[obj]`): Set the `stickiness` field on the resulting object. When `null`, the `stickiness` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.stickiness.new](#fn-stickinessnew) constructor.\n - `target_failover` (`list[obj]`): Set the `target_failover` field on the resulting object. When `null`, the `target_failover` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.target_failover.new](#fn-target_failovernew) constructor.\n - `target_health_state` (`list[obj]`): Set the `target_health_state` field on the resulting object. When `null`, the `target_health_state` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.target_health_state.new](#fn-target_health_statenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `lb_target_group` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.lb_target_group.newAttrs` constructs a new object with attributes and blocks configured for the `lb_target_group`\nTerraform resource.\n\nUnlike [aws.lb_target_group.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `connection_termination` (`bool`): Set the `connection_termination` field on the resulting object. When `null`, the `connection_termination` field will be omitted from the resulting object.\n - `deregistration_delay` (`string`): Set the `deregistration_delay` field on the resulting object. When `null`, the `deregistration_delay` field will be omitted from the resulting object.\n - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting object. When `null`, the `ip_address_type` field will be omitted from the resulting object.\n - `lambda_multi_value_headers_enabled` (`bool`): Set the `lambda_multi_value_headers_enabled` field on the resulting object. When `null`, the `lambda_multi_value_headers_enabled` field will be omitted from the resulting object.\n - `load_balancing_algorithm_type` (`string`): Set the `load_balancing_algorithm_type` field on the resulting object. When `null`, the `load_balancing_algorithm_type` field will be omitted from the resulting object.\n - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting object. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object.\n - `load_balancing_cross_zone_enabled` (`string`): Set the `load_balancing_cross_zone_enabled` field on the resulting object. When `null`, the `load_balancing_cross_zone_enabled` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object.\n - `name_prefix` (`string`): Set the `name_prefix` field on the resulting object. When `null`, the `name_prefix` field will be omitted from the resulting object.\n - `port` (`number`): Set the `port` field on the resulting object. When `null`, the `port` field will be omitted from the resulting object.\n - `preserve_client_ip` (`string`): Set the `preserve_client_ip` field on the resulting object. When `null`, the `preserve_client_ip` field will be omitted from the resulting object.\n - `protocol` (`string`): Set the `protocol` field on the resulting object. When `null`, the `protocol` field will be omitted from the resulting object.\n - `protocol_version` (`string`): Set the `protocol_version` field on the resulting object. When `null`, the `protocol_version` field will be omitted from the resulting object.\n - `proxy_protocol_v2` (`bool`): Set the `proxy_protocol_v2` field on the resulting object. When `null`, the `proxy_protocol_v2` field will be omitted from the resulting object.\n - `slow_start` (`number`): Set the `slow_start` field on the resulting object. When `null`, the `slow_start` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `target_type` (`string`): Set the `target_type` field on the resulting object. When `null`, the `target_type` field will be omitted from the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` field on the resulting object. When `null`, the `vpc_id` field will be omitted from the resulting object.\n - `health_check` (`list[obj]`): Set the `health_check` field on the resulting object. When `null`, the `health_check` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.health_check.new](#fn-health_checknew) constructor.\n - `stickiness` (`list[obj]`): Set the `stickiness` field on the resulting object. When `null`, the `stickiness` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.stickiness.new](#fn-stickinessnew) constructor.\n - `target_failover` (`list[obj]`): Set the `target_failover` field on the resulting object. When `null`, the `target_failover` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.target_failover.new](#fn-target_failovernew) constructor.\n - `target_health_state` (`list[obj]`): Set the `target_health_state` field on the resulting object. When `null`, the `target_health_state` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lb_target_group.target_health_state.new](#fn-target_health_statenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `lb_target_group` resource into the root Terraform configuration.\n', args=[]), newAttrs( connection_termination=null, deregistration_delay=null, @@ -89,6 +91,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ip_address_type=null, lambda_multi_value_headers_enabled=null, load_balancing_algorithm_type=null, + load_balancing_anomaly_mitigation=null, load_balancing_cross_zone_enabled=null, name=null, name_prefix=null, @@ -112,6 +115,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ip_address_type: ip_address_type, lambda_multi_value_headers_enabled: lambda_multi_value_headers_enabled, load_balancing_algorithm_type: load_balancing_algorithm_type, + load_balancing_anomaly_mitigation: load_balancing_anomaly_mitigation, load_balancing_cross_zone_enabled: load_balancing_cross_zone_enabled, name: name, name_prefix: name_prefix, @@ -231,6 +235,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withLoadBalancingAnomalyMitigation':: d.fn(help='`aws.string.withLoadBalancingAnomalyMitigation` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the load_balancing_anomaly_mitigation field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `load_balancing_anomaly_mitigation` field.\n', args=[]), + withLoadBalancingAnomalyMitigation(resourceLabel, value): { + resource+: { + aws_lb_target_group+: { + [resourceLabel]+: { + load_balancing_anomaly_mitigation: value, + }, + }, + }, + }, '#withLoadBalancingCrossZoneEnabled':: d.fn(help='`aws.string.withLoadBalancingCrossZoneEnabled` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the load_balancing_cross_zone_enabled field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `load_balancing_cross_zone_enabled` field.\n', args=[]), withLoadBalancingCrossZoneEnabled(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/neptune_cluster.libsonnet b/5.x/_gen/resources/neptune_cluster.libsonnet index 07b79ee5..7a1c4d65 100644 --- a/5.x/_gen/resources/neptune_cluster.libsonnet +++ b/5.x/_gen/resources/neptune_cluster.libsonnet @@ -2,7 +2,7 @@ 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='neptune_cluster', url='', help='`neptune_cluster` represents the `aws_neptune_cluster` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), - '#new':: d.fn(help="\n`aws.neptune_cluster.new` injects a new `aws_neptune_cluster` Terraform `resource`\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.neptune_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.neptune_cluster` using the reference:\n\n $._ref.aws_neptune_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_neptune_cluster.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 - `resourceLabel` (`string`): The name label of the block.\n - `allow_major_version_upgrade` (`bool`): Set the `allow_major_version_upgrade` field on the resulting resource block. When `null`, the `allow_major_version_upgrade` field will be omitted from the resulting object.\n - `apply_immediately` (`bool`): Set the `apply_immediately` field on the resulting resource block. When `null`, the `apply_immediately` field will be omitted from the resulting object.\n - `availability_zones` (`list`): Set the `availability_zones` field on the resulting resource block. When `null`, the `availability_zones` field will be omitted from the resulting object.\n - `backup_retention_period` (`number`): Set the `backup_retention_period` field on the resulting resource block. When `null`, the `backup_retention_period` field will be omitted from the resulting object.\n - `cluster_identifier` (`string`): Set the `cluster_identifier` field on the resulting resource block. When `null`, the `cluster_identifier` field will be omitted from the resulting object.\n - `cluster_identifier_prefix` (`string`): Set the `cluster_identifier_prefix` field on the resulting resource block. When `null`, the `cluster_identifier_prefix` field will be omitted from the resulting object.\n - `copy_tags_to_snapshot` (`bool`): Set the `copy_tags_to_snapshot` field on the resulting resource block. When `null`, the `copy_tags_to_snapshot` field will be omitted from the resulting object.\n - `deletion_protection` (`bool`): Set the `deletion_protection` field on the resulting resource block. When `null`, the `deletion_protection` field will be omitted from the resulting object.\n - `enable_cloudwatch_logs_exports` (`list`): Set the `enable_cloudwatch_logs_exports` field on the resulting resource block. When `null`, the `enable_cloudwatch_logs_exports` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on the resulting resource block. When `null`, the `engine` field will be omitted from the resulting object.\n - `engine_version` (`string`): Set the `engine_version` field on the resulting resource block. When `null`, the `engine_version` field will be omitted from the resulting object.\n - `final_snapshot_identifier` (`string`): Set the `final_snapshot_identifier` field on the resulting resource block. When `null`, the `final_snapshot_identifier` field will be omitted from the resulting object.\n - `global_cluster_identifier` (`string`): Set the `global_cluster_identifier` field on the resulting resource block. When `null`, the `global_cluster_identifier` field will be omitted from the resulting object.\n - `iam_database_authentication_enabled` (`bool`): Set the `iam_database_authentication_enabled` field on the resulting resource block. When `null`, the `iam_database_authentication_enabled` field will be omitted from the resulting object.\n - `iam_roles` (`list`): Set the `iam_roles` field on the resulting resource block. When `null`, the `iam_roles` field will be omitted from the resulting object.\n - `kms_key_arn` (`string`): Set the `kms_key_arn` field on the resulting resource block. When `null`, the `kms_key_arn` field will be omitted from the resulting object.\n - `neptune_cluster_parameter_group_name` (`string`): Set the `neptune_cluster_parameter_group_name` field on the resulting resource block. When `null`, the `neptune_cluster_parameter_group_name` field will be omitted from the resulting object.\n - `neptune_instance_parameter_group_name` (`string`): Set the `neptune_instance_parameter_group_name` field on the resulting resource block. When `null`, the `neptune_instance_parameter_group_name` field will be omitted from the resulting object.\n - `neptune_subnet_group_name` (`string`): Set the `neptune_subnet_group_name` field on the resulting resource block. When `null`, the `neptune_subnet_group_name` field will be omitted from the resulting object.\n - `port` (`number`): Set the `port` field on the resulting resource block. When `null`, the `port` field will be omitted from the resulting object.\n - `preferred_backup_window` (`string`): Set the `preferred_backup_window` field on the resulting resource block. When `null`, the `preferred_backup_window` field will be omitted from the resulting object.\n - `preferred_maintenance_window` (`string`): Set the `preferred_maintenance_window` field on the resulting resource block. When `null`, the `preferred_maintenance_window` field will be omitted from the resulting object.\n - `replication_source_identifier` (`string`): Set the `replication_source_identifier` field on the resulting resource block. When `null`, the `replication_source_identifier` field will be omitted from the resulting object.\n - `skip_final_snapshot` (`bool`): Set the `skip_final_snapshot` field on the resulting resource block. When `null`, the `skip_final_snapshot` field will be omitted from the resulting object.\n - `snapshot_identifier` (`string`): Set the `snapshot_identifier` field on the resulting resource block. When `null`, the `snapshot_identifier` field will be omitted from the resulting object.\n - `storage_encrypted` (`bool`): Set the `storage_encrypted` field on the resulting resource block. When `null`, the `storage_encrypted` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `vpc_security_group_ids` (`list`): Set the `vpc_security_group_ids` field on the resulting resource block. When `null`, the `vpc_security_group_ids` field will be omitted from the resulting object.\n - `serverless_v2_scaling_configuration` (`list[obj]`): Set the `serverless_v2_scaling_configuration` field on the resulting resource block. When `null`, the `serverless_v2_scaling_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.neptune_cluster.serverless_v2_scaling_configuration.new](#fn-serverless_v2_scaling_configurationnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.neptune_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.neptune_cluster.new` injects a new `aws_neptune_cluster` Terraform `resource`\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.neptune_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.neptune_cluster` using the reference:\n\n $._ref.aws_neptune_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_neptune_cluster.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 - `resourceLabel` (`string`): The name label of the block.\n - `allow_major_version_upgrade` (`bool`): Set the `allow_major_version_upgrade` field on the resulting resource block. When `null`, the `allow_major_version_upgrade` field will be omitted from the resulting object.\n - `apply_immediately` (`bool`): Set the `apply_immediately` field on the resulting resource block. When `null`, the `apply_immediately` field will be omitted from the resulting object.\n - `availability_zones` (`list`): Set the `availability_zones` field on the resulting resource block. When `null`, the `availability_zones` field will be omitted from the resulting object.\n - `backup_retention_period` (`number`): Set the `backup_retention_period` field on the resulting resource block. When `null`, the `backup_retention_period` field will be omitted from the resulting object.\n - `cluster_identifier` (`string`): Set the `cluster_identifier` field on the resulting resource block. When `null`, the `cluster_identifier` field will be omitted from the resulting object.\n - `cluster_identifier_prefix` (`string`): Set the `cluster_identifier_prefix` field on the resulting resource block. When `null`, the `cluster_identifier_prefix` field will be omitted from the resulting object.\n - `copy_tags_to_snapshot` (`bool`): Set the `copy_tags_to_snapshot` field on the resulting resource block. When `null`, the `copy_tags_to_snapshot` field will be omitted from the resulting object.\n - `deletion_protection` (`bool`): Set the `deletion_protection` field on the resulting resource block. When `null`, the `deletion_protection` field will be omitted from the resulting object.\n - `enable_cloudwatch_logs_exports` (`list`): Set the `enable_cloudwatch_logs_exports` field on the resulting resource block. When `null`, the `enable_cloudwatch_logs_exports` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on the resulting resource block. When `null`, the `engine` field will be omitted from the resulting object.\n - `engine_version` (`string`): Set the `engine_version` field on the resulting resource block. When `null`, the `engine_version` field will be omitted from the resulting object.\n - `final_snapshot_identifier` (`string`): Set the `final_snapshot_identifier` field on the resulting resource block. When `null`, the `final_snapshot_identifier` field will be omitted from the resulting object.\n - `global_cluster_identifier` (`string`): Set the `global_cluster_identifier` field on the resulting resource block. When `null`, the `global_cluster_identifier` field will be omitted from the resulting object.\n - `iam_database_authentication_enabled` (`bool`): Set the `iam_database_authentication_enabled` field on the resulting resource block. When `null`, the `iam_database_authentication_enabled` field will be omitted from the resulting object.\n - `iam_roles` (`list`): Set the `iam_roles` field on the resulting resource block. When `null`, the `iam_roles` field will be omitted from the resulting object.\n - `kms_key_arn` (`string`): Set the `kms_key_arn` field on the resulting resource block. When `null`, the `kms_key_arn` field will be omitted from the resulting object.\n - `neptune_cluster_parameter_group_name` (`string`): Set the `neptune_cluster_parameter_group_name` field on the resulting resource block. When `null`, the `neptune_cluster_parameter_group_name` field will be omitted from the resulting object.\n - `neptune_instance_parameter_group_name` (`string`): Set the `neptune_instance_parameter_group_name` field on the resulting resource block. When `null`, the `neptune_instance_parameter_group_name` field will be omitted from the resulting object.\n - `neptune_subnet_group_name` (`string`): Set the `neptune_subnet_group_name` field on the resulting resource block. When `null`, the `neptune_subnet_group_name` field will be omitted from the resulting object.\n - `port` (`number`): Set the `port` field on the resulting resource block. When `null`, the `port` field will be omitted from the resulting object.\n - `preferred_backup_window` (`string`): Set the `preferred_backup_window` field on the resulting resource block. When `null`, the `preferred_backup_window` field will be omitted from the resulting object.\n - `preferred_maintenance_window` (`string`): Set the `preferred_maintenance_window` field on the resulting resource block. When `null`, the `preferred_maintenance_window` field will be omitted from the resulting object.\n - `replication_source_identifier` (`string`): Set the `replication_source_identifier` field on the resulting resource block. When `null`, the `replication_source_identifier` field will be omitted from the resulting object.\n - `skip_final_snapshot` (`bool`): Set the `skip_final_snapshot` field on the resulting resource block. When `null`, the `skip_final_snapshot` field will be omitted from the resulting object.\n - `snapshot_identifier` (`string`): Set the `snapshot_identifier` field on the resulting resource block. When `null`, the `snapshot_identifier` field will be omitted from the resulting object.\n - `storage_encrypted` (`bool`): Set the `storage_encrypted` field on the resulting resource block. When `null`, the `storage_encrypted` field will be omitted from the resulting object.\n - `storage_type` (`string`): Set the `storage_type` field on the resulting resource block. When `null`, the `storage_type` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `vpc_security_group_ids` (`list`): Set the `vpc_security_group_ids` field on the resulting resource block. When `null`, the `vpc_security_group_ids` field will be omitted from the resulting object.\n - `serverless_v2_scaling_configuration` (`list[obj]`): Set the `serverless_v2_scaling_configuration` field on the resulting resource block. When `null`, the `serverless_v2_scaling_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.neptune_cluster.serverless_v2_scaling_configuration.new](#fn-serverless_v2_scaling_configurationnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.neptune_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, allow_major_version_upgrade=null, @@ -32,6 +32,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); skip_final_snapshot=null, snapshot_identifier=null, storage_encrypted=null, + storage_type=null, tags=null, tags_all=null, timeouts=null, @@ -68,6 +69,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); skip_final_snapshot=skip_final_snapshot, snapshot_identifier=snapshot_identifier, storage_encrypted=storage_encrypted, + storage_type=storage_type, tags=tags, tags_all=tags_all, timeouts=timeouts, @@ -75,7 +77,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.neptune_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `neptune_cluster`\nTerraform resource.\n\nUnlike [aws.neptune_cluster.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `allow_major_version_upgrade` (`bool`): Set the `allow_major_version_upgrade` field on the resulting object. When `null`, the `allow_major_version_upgrade` field will be omitted from the resulting object.\n - `apply_immediately` (`bool`): Set the `apply_immediately` field on the resulting object. When `null`, the `apply_immediately` field will be omitted from the resulting object.\n - `availability_zones` (`list`): Set the `availability_zones` field on the resulting object. When `null`, the `availability_zones` field will be omitted from the resulting object.\n - `backup_retention_period` (`number`): Set the `backup_retention_period` field on the resulting object. When `null`, the `backup_retention_period` field will be omitted from the resulting object.\n - `cluster_identifier` (`string`): Set the `cluster_identifier` field on the resulting object. When `null`, the `cluster_identifier` field will be omitted from the resulting object.\n - `cluster_identifier_prefix` (`string`): Set the `cluster_identifier_prefix` field on the resulting object. When `null`, the `cluster_identifier_prefix` field will be omitted from the resulting object.\n - `copy_tags_to_snapshot` (`bool`): Set the `copy_tags_to_snapshot` field on the resulting object. When `null`, the `copy_tags_to_snapshot` field will be omitted from the resulting object.\n - `deletion_protection` (`bool`): Set the `deletion_protection` field on the resulting object. When `null`, the `deletion_protection` field will be omitted from the resulting object.\n - `enable_cloudwatch_logs_exports` (`list`): Set the `enable_cloudwatch_logs_exports` field on the resulting object. When `null`, the `enable_cloudwatch_logs_exports` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on the resulting object. When `null`, the `engine` field will be omitted from the resulting object.\n - `engine_version` (`string`): Set the `engine_version` field on the resulting object. When `null`, the `engine_version` field will be omitted from the resulting object.\n - `final_snapshot_identifier` (`string`): Set the `final_snapshot_identifier` field on the resulting object. When `null`, the `final_snapshot_identifier` field will be omitted from the resulting object.\n - `global_cluster_identifier` (`string`): Set the `global_cluster_identifier` field on the resulting object. When `null`, the `global_cluster_identifier` field will be omitted from the resulting object.\n - `iam_database_authentication_enabled` (`bool`): Set the `iam_database_authentication_enabled` field on the resulting object. When `null`, the `iam_database_authentication_enabled` field will be omitted from the resulting object.\n - `iam_roles` (`list`): Set the `iam_roles` field on the resulting object. When `null`, the `iam_roles` field will be omitted from the resulting object.\n - `kms_key_arn` (`string`): Set the `kms_key_arn` field on the resulting object. When `null`, the `kms_key_arn` field will be omitted from the resulting object.\n - `neptune_cluster_parameter_group_name` (`string`): Set the `neptune_cluster_parameter_group_name` field on the resulting object. When `null`, the `neptune_cluster_parameter_group_name` field will be omitted from the resulting object.\n - `neptune_instance_parameter_group_name` (`string`): Set the `neptune_instance_parameter_group_name` field on the resulting object. When `null`, the `neptune_instance_parameter_group_name` field will be omitted from the resulting object.\n - `neptune_subnet_group_name` (`string`): Set the `neptune_subnet_group_name` field on the resulting object. When `null`, the `neptune_subnet_group_name` field will be omitted from the resulting object.\n - `port` (`number`): Set the `port` field on the resulting object. When `null`, the `port` field will be omitted from the resulting object.\n - `preferred_backup_window` (`string`): Set the `preferred_backup_window` field on the resulting object. When `null`, the `preferred_backup_window` field will be omitted from the resulting object.\n - `preferred_maintenance_window` (`string`): Set the `preferred_maintenance_window` field on the resulting object. When `null`, the `preferred_maintenance_window` field will be omitted from the resulting object.\n - `replication_source_identifier` (`string`): Set the `replication_source_identifier` field on the resulting object. When `null`, the `replication_source_identifier` field will be omitted from the resulting object.\n - `skip_final_snapshot` (`bool`): Set the `skip_final_snapshot` field on the resulting object. When `null`, the `skip_final_snapshot` field will be omitted from the resulting object.\n - `snapshot_identifier` (`string`): Set the `snapshot_identifier` field on the resulting object. When `null`, the `snapshot_identifier` field will be omitted from the resulting object.\n - `storage_encrypted` (`bool`): Set the `storage_encrypted` field on the resulting object. When `null`, the `storage_encrypted` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `vpc_security_group_ids` (`list`): Set the `vpc_security_group_ids` field on the resulting object. When `null`, the `vpc_security_group_ids` field will be omitted from the resulting object.\n - `serverless_v2_scaling_configuration` (`list[obj]`): Set the `serverless_v2_scaling_configuration` field on the resulting object. When `null`, the `serverless_v2_scaling_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.neptune_cluster.serverless_v2_scaling_configuration.new](#fn-serverless_v2_scaling_configurationnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.neptune_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `neptune_cluster` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.neptune_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `neptune_cluster`\nTerraform resource.\n\nUnlike [aws.neptune_cluster.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `allow_major_version_upgrade` (`bool`): Set the `allow_major_version_upgrade` field on the resulting object. When `null`, the `allow_major_version_upgrade` field will be omitted from the resulting object.\n - `apply_immediately` (`bool`): Set the `apply_immediately` field on the resulting object. When `null`, the `apply_immediately` field will be omitted from the resulting object.\n - `availability_zones` (`list`): Set the `availability_zones` field on the resulting object. When `null`, the `availability_zones` field will be omitted from the resulting object.\n - `backup_retention_period` (`number`): Set the `backup_retention_period` field on the resulting object. When `null`, the `backup_retention_period` field will be omitted from the resulting object.\n - `cluster_identifier` (`string`): Set the `cluster_identifier` field on the resulting object. When `null`, the `cluster_identifier` field will be omitted from the resulting object.\n - `cluster_identifier_prefix` (`string`): Set the `cluster_identifier_prefix` field on the resulting object. When `null`, the `cluster_identifier_prefix` field will be omitted from the resulting object.\n - `copy_tags_to_snapshot` (`bool`): Set the `copy_tags_to_snapshot` field on the resulting object. When `null`, the `copy_tags_to_snapshot` field will be omitted from the resulting object.\n - `deletion_protection` (`bool`): Set the `deletion_protection` field on the resulting object. When `null`, the `deletion_protection` field will be omitted from the resulting object.\n - `enable_cloudwatch_logs_exports` (`list`): Set the `enable_cloudwatch_logs_exports` field on the resulting object. When `null`, the `enable_cloudwatch_logs_exports` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on the resulting object. When `null`, the `engine` field will be omitted from the resulting object.\n - `engine_version` (`string`): Set the `engine_version` field on the resulting object. When `null`, the `engine_version` field will be omitted from the resulting object.\n - `final_snapshot_identifier` (`string`): Set the `final_snapshot_identifier` field on the resulting object. When `null`, the `final_snapshot_identifier` field will be omitted from the resulting object.\n - `global_cluster_identifier` (`string`): Set the `global_cluster_identifier` field on the resulting object. When `null`, the `global_cluster_identifier` field will be omitted from the resulting object.\n - `iam_database_authentication_enabled` (`bool`): Set the `iam_database_authentication_enabled` field on the resulting object. When `null`, the `iam_database_authentication_enabled` field will be omitted from the resulting object.\n - `iam_roles` (`list`): Set the `iam_roles` field on the resulting object. When `null`, the `iam_roles` field will be omitted from the resulting object.\n - `kms_key_arn` (`string`): Set the `kms_key_arn` field on the resulting object. When `null`, the `kms_key_arn` field will be omitted from the resulting object.\n - `neptune_cluster_parameter_group_name` (`string`): Set the `neptune_cluster_parameter_group_name` field on the resulting object. When `null`, the `neptune_cluster_parameter_group_name` field will be omitted from the resulting object.\n - `neptune_instance_parameter_group_name` (`string`): Set the `neptune_instance_parameter_group_name` field on the resulting object. When `null`, the `neptune_instance_parameter_group_name` field will be omitted from the resulting object.\n - `neptune_subnet_group_name` (`string`): Set the `neptune_subnet_group_name` field on the resulting object. When `null`, the `neptune_subnet_group_name` field will be omitted from the resulting object.\n - `port` (`number`): Set the `port` field on the resulting object. When `null`, the `port` field will be omitted from the resulting object.\n - `preferred_backup_window` (`string`): Set the `preferred_backup_window` field on the resulting object. When `null`, the `preferred_backup_window` field will be omitted from the resulting object.\n - `preferred_maintenance_window` (`string`): Set the `preferred_maintenance_window` field on the resulting object. When `null`, the `preferred_maintenance_window` field will be omitted from the resulting object.\n - `replication_source_identifier` (`string`): Set the `replication_source_identifier` field on the resulting object. When `null`, the `replication_source_identifier` field will be omitted from the resulting object.\n - `skip_final_snapshot` (`bool`): Set the `skip_final_snapshot` field on the resulting object. When `null`, the `skip_final_snapshot` field will be omitted from the resulting object.\n - `snapshot_identifier` (`string`): Set the `snapshot_identifier` field on the resulting object. When `null`, the `snapshot_identifier` field will be omitted from the resulting object.\n - `storage_encrypted` (`bool`): Set the `storage_encrypted` field on the resulting object. When `null`, the `storage_encrypted` field will be omitted from the resulting object.\n - `storage_type` (`string`): Set the `storage_type` field on the resulting object. When `null`, the `storage_type` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `vpc_security_group_ids` (`list`): Set the `vpc_security_group_ids` field on the resulting object. When `null`, the `vpc_security_group_ids` field will be omitted from the resulting object.\n - `serverless_v2_scaling_configuration` (`list[obj]`): Set the `serverless_v2_scaling_configuration` field on the resulting object. When `null`, the `serverless_v2_scaling_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.neptune_cluster.serverless_v2_scaling_configuration.new](#fn-serverless_v2_scaling_configurationnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.neptune_cluster.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `neptune_cluster` resource into the root Terraform configuration.\n', args=[]), newAttrs( allow_major_version_upgrade=null, apply_immediately=null, @@ -104,6 +106,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); skip_final_snapshot=null, snapshot_identifier=null, storage_encrypted=null, + storage_type=null, tags=null, tags_all=null, timeouts=null, @@ -136,6 +139,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); skip_final_snapshot: skip_final_snapshot, snapshot_identifier: snapshot_identifier, storage_encrypted: storage_encrypted, + storage_type: storage_type, tags: tags, tags_all: tags_all, timeouts: timeouts, @@ -443,6 +447,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withStorageType':: d.fn(help='`aws.string.withStorageType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the storage_type field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `storage_type` field.\n', args=[]), + withStorageType(resourceLabel, value): { + resource+: { + aws_neptune_cluster+: { + [resourceLabel]+: { + storage_type: value, + }, + }, + }, + }, '#withTags':: d.fn(help='`aws.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the tags field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]), withTags(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/networkfirewall_firewall.libsonnet b/5.x/_gen/resources/networkfirewall_firewall.libsonnet index 4a510ded..8a24f5f9 100644 --- a/5.x/_gen/resources/networkfirewall_firewall.libsonnet +++ b/5.x/_gen/resources/networkfirewall_firewall.libsonnet @@ -12,7 +12,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type: type, }), }, - '#new':: d.fn(help="\n`aws.networkfirewall_firewall.new` injects a new `aws_networkfirewall_firewall` Terraform `resource`\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.networkfirewall_firewall.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.networkfirewall_firewall` using the reference:\n\n $._ref.aws_networkfirewall_firewall.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_networkfirewall_firewall.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 - `resourceLabel` (`string`): The name label of the block.\n - `delete_protection` (`bool`): Set the `delete_protection` field on the resulting resource block. When `null`, the `delete_protection` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `firewall_policy_arn` (`string`): Set the `firewall_policy_arn` field on the resulting resource block.\n - `firewall_policy_change_protection` (`bool`): Set the `firewall_policy_change_protection` field on the resulting resource block. When `null`, the `firewall_policy_change_protection` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `subnet_change_protection` (`bool`): Set the `subnet_change_protection` field on the resulting resource block. When `null`, the `subnet_change_protection` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` field on the resulting resource block.\n - `encryption_configuration` (`list[obj]`): Set the `encryption_configuration` field on the resulting resource block. When `null`, the `encryption_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.encryption_configuration.new](#fn-encryption_configurationnew) constructor.\n - `subnet_mapping` (`list[obj]`): Set the `subnet_mapping` field on the resulting resource block. When `null`, the `subnet_mapping` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.subnet_mapping.new](#fn-subnet_mappingnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.networkfirewall_firewall.new` injects a new `aws_networkfirewall_firewall` Terraform `resource`\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.networkfirewall_firewall.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.networkfirewall_firewall` using the reference:\n\n $._ref.aws_networkfirewall_firewall.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_networkfirewall_firewall.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 - `resourceLabel` (`string`): The name label of the block.\n - `delete_protection` (`bool`): Set the `delete_protection` field on the resulting resource block. When `null`, the `delete_protection` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `firewall_policy_arn` (`string`): Set the `firewall_policy_arn` field on the resulting resource block.\n - `firewall_policy_change_protection` (`bool`): Set the `firewall_policy_change_protection` field on the resulting resource block. When `null`, the `firewall_policy_change_protection` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting resource block.\n - `subnet_change_protection` (`bool`): Set the `subnet_change_protection` field on the resulting resource block. When `null`, the `subnet_change_protection` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` field on the resulting resource block.\n - `encryption_configuration` (`list[obj]`): Set the `encryption_configuration` field on the resulting resource block. When `null`, the `encryption_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.encryption_configuration.new](#fn-encryption_configurationnew) constructor.\n - `subnet_mapping` (`list[obj]`): Set the `subnet_mapping` field on the resulting resource block. When `null`, the `subnet_mapping` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.subnet_mapping.new](#fn-subnet_mappingnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, firewall_policy_arn, @@ -26,6 +26,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); subnet_mapping=null, tags=null, tags_all=null, + timeouts=null, _meta={} ):: tf.withResource( type='aws_networkfirewall_firewall', @@ -41,11 +42,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); subnet_mapping=subnet_mapping, tags=tags, tags_all=tags_all, + timeouts=timeouts, vpc_id=vpc_id ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.networkfirewall_firewall.newAttrs` constructs a new object with attributes and blocks configured for the `networkfirewall_firewall`\nTerraform resource.\n\nUnlike [aws.networkfirewall_firewall.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `delete_protection` (`bool`): Set the `delete_protection` field on the resulting object. When `null`, the `delete_protection` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `firewall_policy_arn` (`string`): Set the `firewall_policy_arn` field on the resulting object.\n - `firewall_policy_change_protection` (`bool`): Set the `firewall_policy_change_protection` field on the resulting object. When `null`, the `firewall_policy_change_protection` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `subnet_change_protection` (`bool`): Set the `subnet_change_protection` field on the resulting object. When `null`, the `subnet_change_protection` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` field on the resulting object.\n - `encryption_configuration` (`list[obj]`): Set the `encryption_configuration` field on the resulting object. When `null`, the `encryption_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.encryption_configuration.new](#fn-encryption_configurationnew) constructor.\n - `subnet_mapping` (`list[obj]`): Set the `subnet_mapping` field on the resulting object. When `null`, the `subnet_mapping` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.subnet_mapping.new](#fn-subnet_mappingnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `networkfirewall_firewall` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.networkfirewall_firewall.newAttrs` constructs a new object with attributes and blocks configured for the `networkfirewall_firewall`\nTerraform resource.\n\nUnlike [aws.networkfirewall_firewall.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `delete_protection` (`bool`): Set the `delete_protection` field on the resulting object. When `null`, the `delete_protection` field will be omitted from the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `firewall_policy_arn` (`string`): Set the `firewall_policy_arn` field on the resulting object.\n - `firewall_policy_change_protection` (`bool`): Set the `firewall_policy_change_protection` field on the resulting object. When `null`, the `firewall_policy_change_protection` field will be omitted from the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `subnet_change_protection` (`bool`): Set the `subnet_change_protection` field on the resulting object. When `null`, the `subnet_change_protection` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` field on the resulting object.\n - `encryption_configuration` (`list[obj]`): Set the `encryption_configuration` field on the resulting object. When `null`, the `encryption_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.encryption_configuration.new](#fn-encryption_configurationnew) constructor.\n - `subnet_mapping` (`list[obj]`): Set the `subnet_mapping` field on the resulting object. When `null`, the `subnet_mapping` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.subnet_mapping.new](#fn-subnet_mappingnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `networkfirewall_firewall` resource into the root Terraform configuration.\n', args=[]), newAttrs( firewall_policy_arn, name, @@ -57,7 +59,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); subnet_change_protection=null, subnet_mapping=null, tags=null, - tags_all=null + tags_all=null, + timeouts=null ):: std.prune(a={ delete_protection: delete_protection, description: description, @@ -69,6 +72,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); subnet_mapping: subnet_mapping, tags: tags, tags_all: tags_all, + timeouts: timeouts, vpc_id: vpc_id, }), subnet_mapping:: { @@ -81,6 +85,18 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); subnet_id: subnet_id, }), }, + timeouts:: { + '#new':: d.fn(help='\n`aws.networkfirewall_firewall.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object.\n - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object.\n - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + create=null, + delete=null, + update=null + ):: std.prune(a={ + create: create, + delete: delete, + update: update, + }), + }, '#withDeleteProtection':: d.fn(help='`aws.bool.withDeleteProtection` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the delete_protection field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`bool`): The value to set for the `delete_protection` field.\n', args=[]), withDeleteProtection(resourceLabel, value): { resource+: { @@ -201,6 +217,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withTimeouts':: d.fn(help='`aws.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [aws.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(resourceLabel, value): { + resource+: { + aws_networkfirewall_firewall+: { + [resourceLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`aws.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the timeouts field.\n\nThis function will merge the passed in value to the existing map. If you wish\nto instead replace the entire map with the passed in `value`, use the [aws.obj.withTimeouts](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(resourceLabel, value): { + resource+: { + aws_networkfirewall_firewall+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, '#withVpcId':: d.fn(help='`aws.string.withVpcId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the vpc_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `vpc_id` field.\n', args=[]), withVpcId(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/networkfirewall_firewall_policy.libsonnet b/5.x/_gen/resources/networkfirewall_firewall_policy.libsonnet index 01df8811..01d9f9ee 100644 --- a/5.x/_gen/resources/networkfirewall_firewall_policy.libsonnet +++ b/5.x/_gen/resources/networkfirewall_firewall_policy.libsonnet @@ -13,7 +13,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, firewall_policy:: { - '#new':: d.fn(help='\n`aws.networkfirewall_firewall_policy.firewall_policy.new` constructs a new object with attributes and blocks configured for the `firewall_policy`\nTerraform sub block.\n\n\n\n**Args**:\n - `stateful_default_actions` (`list`): Set the `stateful_default_actions` field on the resulting object. When `null`, the `stateful_default_actions` field will be omitted from the resulting object.\n - `stateless_default_actions` (`list`): Set the `stateless_default_actions` field on the resulting object.\n - `stateless_fragment_default_actions` (`list`): Set the `stateless_fragment_default_actions` field on the resulting object.\n - `policy_variables` (`list[obj]`): Set the `policy_variables` field on the resulting object. When `null`, the `policy_variables` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.policy_variables.new](#fn-firewall_policypolicy_variablesnew) constructor.\n - `stateful_engine_options` (`list[obj]`): Set the `stateful_engine_options` field on the resulting object. When `null`, the `stateful_engine_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.stateful_engine_options.new](#fn-firewall_policystateful_engine_optionsnew) constructor.\n - `stateful_rule_group_reference` (`list[obj]`): Set the `stateful_rule_group_reference` field on the resulting object. When `null`, the `stateful_rule_group_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.stateful_rule_group_reference.new](#fn-firewall_policystateful_rule_group_referencenew) constructor.\n - `stateless_custom_action` (`list[obj]`): Set the `stateless_custom_action` field on the resulting object. When `null`, the `stateless_custom_action` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.stateless_custom_action.new](#fn-firewall_policystateless_custom_actionnew) constructor.\n - `stateless_rule_group_reference` (`list[obj]`): Set the `stateless_rule_group_reference` field on the resulting object. When `null`, the `stateless_rule_group_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.stateless_rule_group_reference.new](#fn-firewall_policystateless_rule_group_referencenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `firewall_policy` sub block.\n', args=[]), + '#new':: d.fn(help='\n`aws.networkfirewall_firewall_policy.firewall_policy.new` constructs a new object with attributes and blocks configured for the `firewall_policy`\nTerraform sub block.\n\n\n\n**Args**:\n - `stateful_default_actions` (`list`): Set the `stateful_default_actions` field on the resulting object. When `null`, the `stateful_default_actions` field will be omitted from the resulting object.\n - `stateless_default_actions` (`list`): Set the `stateless_default_actions` field on the resulting object.\n - `stateless_fragment_default_actions` (`list`): Set the `stateless_fragment_default_actions` field on the resulting object.\n - `tls_inspection_configuration_arn` (`string`): Set the `tls_inspection_configuration_arn` field on the resulting object. When `null`, the `tls_inspection_configuration_arn` field will be omitted from the resulting object.\n - `policy_variables` (`list[obj]`): Set the `policy_variables` field on the resulting object. When `null`, the `policy_variables` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.policy_variables.new](#fn-firewall_policypolicy_variablesnew) constructor.\n - `stateful_engine_options` (`list[obj]`): Set the `stateful_engine_options` field on the resulting object. When `null`, the `stateful_engine_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.stateful_engine_options.new](#fn-firewall_policystateful_engine_optionsnew) constructor.\n - `stateful_rule_group_reference` (`list[obj]`): Set the `stateful_rule_group_reference` field on the resulting object. When `null`, the `stateful_rule_group_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.stateful_rule_group_reference.new](#fn-firewall_policystateful_rule_group_referencenew) constructor.\n - `stateless_custom_action` (`list[obj]`): Set the `stateless_custom_action` field on the resulting object. When `null`, the `stateless_custom_action` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.stateless_custom_action.new](#fn-firewall_policystateless_custom_actionnew) constructor.\n - `stateless_rule_group_reference` (`list[obj]`): Set the `stateless_rule_group_reference` field on the resulting object. When `null`, the `stateless_rule_group_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.stateless_rule_group_reference.new](#fn-firewall_policystateless_rule_group_referencenew) constructor.\n\n**Returns**:\n - An attribute object that represents the `firewall_policy` sub block.\n', args=[]), new( stateless_default_actions, stateless_fragment_default_actions, @@ -22,7 +22,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); stateful_engine_options=null, stateful_rule_group_reference=null, stateless_custom_action=null, - stateless_rule_group_reference=null + stateless_rule_group_reference=null, + tls_inspection_configuration_arn=null ):: std.prune(a={ policy_variables: policy_variables, stateful_default_actions: stateful_default_actions, @@ -32,6 +33,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); stateless_default_actions: stateless_default_actions, stateless_fragment_default_actions: stateless_fragment_default_actions, stateless_rule_group_reference: stateless_rule_group_reference, + tls_inspection_configuration_arn: tls_inspection_configuration_arn, }), policy_variables:: { '#new':: d.fn(help='\n`aws.networkfirewall_firewall_policy.firewall_policy.policy_variables.new` constructs a new object with attributes and blocks configured for the `policy_variables`\nTerraform sub block.\n\n\n\n**Args**:\n - `rule_variables` (`list[obj]`): Set the `rule_variables` field on the resulting object. When `null`, the `rule_variables` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.policy_variables.rule_variables.new](#fn-firewall_policyfirewall_policyrule_variablesnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `policy_variables` sub block.\n', args=[]), diff --git a/5.x/_gen/resources/prometheus_scraper.libsonnet b/5.x/_gen/resources/prometheus_scraper.libsonnet new file mode 100644 index 00000000..6ea70d31 --- /dev/null +++ b/5.x/_gen/resources/prometheus_scraper.libsonnet @@ -0,0 +1,180 @@ +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='prometheus_scraper', url='', help='`prometheus_scraper` represents the `aws_prometheus_scraper` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + destination:: { + amp:: { + '#new':: d.fn(help='\n`aws.prometheus_scraper.destination.amp.new` constructs a new object with attributes and blocks configured for the `amp`\nTerraform sub block.\n\n\n\n**Args**:\n - `workspace_arn` (`string`): Set the `workspace_arn` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `amp` sub block.\n', args=[]), + new( + workspace_arn + ):: std.prune(a={ + workspace_arn: workspace_arn, + }), + }, + '#new':: d.fn(help='\n`aws.prometheus_scraper.destination.new` constructs a new object with attributes and blocks configured for the `destination`\nTerraform sub block.\n\n\n\n**Args**:\n - `amp` (`list[obj]`): Set the `amp` field on the resulting object. When `null`, the `amp` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.destination.amp.new](#fn-destinationampnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `destination` sub block.\n', args=[]), + new( + amp=null + ):: std.prune(a={ + amp: amp, + }), + }, + '#new':: d.fn(help="\n`aws.prometheus_scraper.new` injects a new `aws_prometheus_scraper` Terraform `resource`\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.prometheus_scraper.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.prometheus_scraper` using the reference:\n\n $._ref.aws_prometheus_scraper.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_prometheus_scraper.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 - `resourceLabel` (`string`): The name label of the block.\n - `alias` (`string`): Set the `alias` field on the resulting resource block. When `null`, the `alias` field will be omitted from the resulting object.\n - `scrape_configuration` (`string`): Set the `scrape_configuration` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `destination` (`list[obj]`): Set the `destination` field on the resulting resource block. When `null`, the `destination` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.destination.new](#fn-destinationnew) constructor.\n - `source` (`list[obj]`): Set the `source` field on the resulting resource block. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.source.new](#fn-sourcenew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + scrape_configuration, + alias=null, + destination=null, + source=null, + tags=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='aws_prometheus_scraper', + label=resourceLabel, + attrs=self.newAttrs( + alias=alias, + destination=destination, + scrape_configuration=scrape_configuration, + source=source, + tags=tags, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.prometheus_scraper.newAttrs` constructs a new object with attributes and blocks configured for the `prometheus_scraper`\nTerraform resource.\n\nUnlike [aws.prometheus_scraper.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `alias` (`string`): Set the `alias` field on the resulting object. When `null`, the `alias` field will be omitted from the resulting object.\n - `scrape_configuration` (`string`): Set the `scrape_configuration` 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 - `destination` (`list[obj]`): Set the `destination` field on the resulting object. When `null`, the `destination` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.destination.new](#fn-destinationnew) constructor.\n - `source` (`list[obj]`): Set the `source` field on the resulting object. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.source.new](#fn-sourcenew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `prometheus_scraper` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + scrape_configuration, + alias=null, + destination=null, + source=null, + tags=null, + timeouts=null + ):: std.prune(a={ + alias: alias, + destination: destination, + scrape_configuration: scrape_configuration, + source: source, + tags: tags, + timeouts: timeouts, + }), + source:: { + eks:: { + '#new':: d.fn(help='\n`aws.prometheus_scraper.source.eks.new` constructs a new object with attributes and blocks configured for the `eks`\nTerraform sub block.\n\n\n\n**Args**:\n - `cluster_arn` (`string`): Set the `cluster_arn` field on the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `eks` sub block.\n', args=[]), + new( + cluster_arn, + subnet_ids, + security_group_ids=null + ):: std.prune(a={ + cluster_arn: cluster_arn, + security_group_ids: security_group_ids, + subnet_ids: subnet_ids, + }), + }, + '#new':: d.fn(help='\n`aws.prometheus_scraper.source.new` constructs a new object with attributes and blocks configured for the `source`\nTerraform sub block.\n\n\n\n**Args**:\n - `eks` (`list[obj]`): Set the `eks` field on the resulting object. When `null`, the `eks` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.source.eks.new](#fn-sourceeksnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `source` sub block.\n', args=[]), + new( + eks=null + ):: std.prune(a={ + eks: eks, + }), + }, + timeouts:: { + '#new':: d.fn(help='\n`aws.prometheus_scraper.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `create` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). When `null`, the `create` field will be omitted from the resulting object.\n - `delete` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. When `null`, the `delete` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]), + new( + create=null, + delete=null + ):: std.prune(a={ + create: create, + delete: delete, + }), + }, + '#withAlias':: d.fn(help='`aws.string.withAlias` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the alias field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `alias` field.\n', args=[]), + withAlias(resourceLabel, value): { + resource+: { + aws_prometheus_scraper+: { + [resourceLabel]+: { + alias: value, + }, + }, + }, + }, + '#withDestination':: d.fn(help='`aws.list[obj].withDestination` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the destination 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].withDestinationMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `destination` field.\n', args=[]), + withDestination(resourceLabel, value): { + resource+: { + aws_prometheus_scraper+: { + [resourceLabel]+: { + destination: value, + }, + }, + }, + }, + '#withDestinationMixin':: d.fn(help='`aws.list[obj].withDestinationMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the destination 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].withDestination](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `destination` field.\n', args=[]), + withDestinationMixin(resourceLabel, value): { + resource+: { + aws_prometheus_scraper+: { + [resourceLabel]+: { + destination+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withScrapeConfiguration':: d.fn(help='`aws.string.withScrapeConfiguration` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the scrape_configuration field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `scrape_configuration` field.\n', args=[]), + withScrapeConfiguration(resourceLabel, value): { + resource+: { + aws_prometheus_scraper+: { + [resourceLabel]+: { + scrape_configuration: value, + }, + }, + }, + }, + '#withSource':: d.fn(help='`aws.list[obj].withSource` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the source 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].withSourceMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `source` field.\n', args=[]), + withSource(resourceLabel, value): { + resource+: { + aws_prometheus_scraper+: { + [resourceLabel]+: { + source: value, + }, + }, + }, + }, + '#withSourceMixin':: d.fn(help='`aws.list[obj].withSourceMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the source 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].withSource](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `source` field.\n', args=[]), + withSourceMixin(resourceLabel, value): { + resource+: { + aws_prometheus_scraper+: { + [resourceLabel]+: { + source+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withTags':: d.fn(help='`aws.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the tags field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]), + withTags(resourceLabel, value): { + resource+: { + aws_prometheus_scraper+: { + [resourceLabel]+: { + tags: value, + }, + }, + }, + }, + '#withTimeouts':: d.fn(help='`aws.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [aws.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeouts(resourceLabel, value): { + resource+: { + aws_prometheus_scraper+: { + [resourceLabel]+: { + timeouts: value, + }, + }, + }, + }, + '#withTimeoutsMixin':: d.fn(help='`aws.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the timeouts field.\n\nThis function will merge the passed in value to the existing map. If you wish\nto instead replace the entire map with the passed in `value`, use the [aws.obj.withTimeouts](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]), + withTimeoutsMixin(resourceLabel, value): { + resource+: { + aws_prometheus_scraper+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/prometheus_workspace.libsonnet b/5.x/_gen/resources/prometheus_workspace.libsonnet index f9a944a6..249b3dc1 100644 --- a/5.x/_gen/resources/prometheus_workspace.libsonnet +++ b/5.x/_gen/resources/prometheus_workspace.libsonnet @@ -10,10 +10,11 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); log_group_arn: log_group_arn, }), }, - '#new':: d.fn(help="\n`aws.prometheus_workspace.new` injects a new `aws_prometheus_workspace` Terraform `resource`\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.prometheus_workspace.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.prometheus_workspace` using the reference:\n\n $._ref.aws_prometheus_workspace.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_prometheus_workspace.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 - `resourceLabel` (`string`): The name label of the block.\n - `alias` (`string`): Set the `alias` field on the resulting resource block. When `null`, the `alias` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `logging_configuration` (`list[obj]`): Set the `logging_configuration` field on the resulting resource block. When `null`, the `logging_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_workspace.logging_configuration.new](#fn-logging_configurationnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.prometheus_workspace.new` injects a new `aws_prometheus_workspace` Terraform `resource`\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.prometheus_workspace.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.prometheus_workspace` using the reference:\n\n $._ref.aws_prometheus_workspace.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_prometheus_workspace.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 - `resourceLabel` (`string`): The name label of the block.\n - `alias` (`string`): Set the `alias` field on the resulting resource block. When `null`, the `alias` field will be omitted from the resulting object.\n - `kms_key_arn` (`string`): Set the `kms_key_arn` field on the resulting resource block. When `null`, the `kms_key_arn` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `logging_configuration` (`list[obj]`): Set the `logging_configuration` field on the resulting resource block. When `null`, the `logging_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_workspace.logging_configuration.new](#fn-logging_configurationnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, alias=null, + kms_key_arn=null, logging_configuration=null, tags=null, tags_all=null, @@ -23,20 +24,23 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=resourceLabel, attrs=self.newAttrs( alias=alias, + kms_key_arn=kms_key_arn, logging_configuration=logging_configuration, tags=tags, tags_all=tags_all ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.prometheus_workspace.newAttrs` constructs a new object with attributes and blocks configured for the `prometheus_workspace`\nTerraform resource.\n\nUnlike [aws.prometheus_workspace.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `alias` (`string`): Set the `alias` field on the resulting object. When `null`, the `alias` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `logging_configuration` (`list[obj]`): Set the `logging_configuration` field on the resulting object. When `null`, the `logging_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_workspace.logging_configuration.new](#fn-logging_configurationnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `prometheus_workspace` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.prometheus_workspace.newAttrs` constructs a new object with attributes and blocks configured for the `prometheus_workspace`\nTerraform resource.\n\nUnlike [aws.prometheus_workspace.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `alias` (`string`): Set the `alias` field on the resulting object. When `null`, the `alias` field will be omitted from the resulting object.\n - `kms_key_arn` (`string`): Set the `kms_key_arn` field on the resulting object. When `null`, the `kms_key_arn` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `logging_configuration` (`list[obj]`): Set the `logging_configuration` field on the resulting object. When `null`, the `logging_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_workspace.logging_configuration.new](#fn-logging_configurationnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `prometheus_workspace` resource into the root Terraform configuration.\n', args=[]), newAttrs( alias=null, + kms_key_arn=null, logging_configuration=null, tags=null, tags_all=null ):: std.prune(a={ alias: alias, + kms_key_arn: kms_key_arn, logging_configuration: logging_configuration, tags: tags, tags_all: tags_all, @@ -51,6 +55,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withKmsKeyArn':: d.fn(help='`aws.string.withKmsKeyArn` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the kms_key_arn field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `kms_key_arn` field.\n', args=[]), + withKmsKeyArn(resourceLabel, value): { + resource+: { + aws_prometheus_workspace+: { + [resourceLabel]+: { + kms_key_arn: value, + }, + }, + }, + }, '#withLoggingConfiguration':: d.fn(help='`aws.list[obj].withLoggingConfiguration` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the logging_configuration 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].withLoggingConfigurationMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `logging_configuration` field.\n', args=[]), withLoggingConfiguration(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/redshiftserverless_workgroup.libsonnet b/5.x/_gen/resources/redshiftserverless_workgroup.libsonnet index 99d530bb..6302a10d 100644 --- a/5.x/_gen/resources/redshiftserverless_workgroup.libsonnet +++ b/5.x/_gen/resources/redshiftserverless_workgroup.libsonnet @@ -12,7 +12,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); parameter_value: parameter_value, }), }, - '#new':: d.fn(help="\n`aws.redshiftserverless_workgroup.new` injects a new `aws_redshiftserverless_workgroup` Terraform `resource`\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.redshiftserverless_workgroup.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.redshiftserverless_workgroup` using the reference:\n\n $._ref.aws_redshiftserverless_workgroup.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_redshiftserverless_workgroup.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 - `resourceLabel` (`string`): The name label of the block.\n - `base_capacity` (`number`): Set the `base_capacity` field on the resulting resource block. When `null`, the `base_capacity` field will be omitted from the resulting object.\n - `enhanced_vpc_routing` (`bool`): Set the `enhanced_vpc_routing` field on the resulting resource block. When `null`, the `enhanced_vpc_routing` field will be omitted from the resulting object.\n - `namespace_name` (`string`): Set the `namespace_name` field on the resulting resource block.\n - `publicly_accessible` (`bool`): Set the `publicly_accessible` field on the resulting resource block. When `null`, the `publicly_accessible` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting resource block. When `null`, the `subnet_ids` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `workgroup_name` (`string`): Set the `workgroup_name` field on the resulting resource block.\n - `config_parameter` (`list[obj]`): Set the `config_parameter` field on the resulting resource block. When `null`, the `config_parameter` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.redshiftserverless_workgroup.config_parameter.new](#fn-config_parameternew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.redshiftserverless_workgroup.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.redshiftserverless_workgroup.new` injects a new `aws_redshiftserverless_workgroup` Terraform `resource`\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.redshiftserverless_workgroup.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.redshiftserverless_workgroup` using the reference:\n\n $._ref.aws_redshiftserverless_workgroup.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_redshiftserverless_workgroup.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 - `resourceLabel` (`string`): The name label of the block.\n - `base_capacity` (`number`): Set the `base_capacity` field on the resulting resource block. When `null`, the `base_capacity` field will be omitted from the resulting object.\n - `enhanced_vpc_routing` (`bool`): Set the `enhanced_vpc_routing` field on the resulting resource block. When `null`, the `enhanced_vpc_routing` field will be omitted from the resulting object.\n - `namespace_name` (`string`): Set the `namespace_name` field on the resulting resource block.\n - `port` (`number`): Set the `port` field on the resulting resource block. When `null`, the `port` field will be omitted from the resulting object.\n - `publicly_accessible` (`bool`): Set the `publicly_accessible` field on the resulting resource block. When `null`, the `publicly_accessible` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting resource block. When `null`, the `subnet_ids` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `workgroup_name` (`string`): Set the `workgroup_name` field on the resulting resource block.\n - `config_parameter` (`list[obj]`): Set the `config_parameter` field on the resulting resource block. When `null`, the `config_parameter` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.redshiftserverless_workgroup.config_parameter.new](#fn-config_parameternew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.redshiftserverless_workgroup.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, namespace_name, @@ -20,6 +20,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); base_capacity=null, config_parameter=null, enhanced_vpc_routing=null, + port=null, publicly_accessible=null, security_group_ids=null, subnet_ids=null, @@ -35,6 +36,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); config_parameter=config_parameter, enhanced_vpc_routing=enhanced_vpc_routing, namespace_name=namespace_name, + port=port, publicly_accessible=publicly_accessible, security_group_ids=security_group_ids, subnet_ids=subnet_ids, @@ -45,13 +47,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.redshiftserverless_workgroup.newAttrs` constructs a new object with attributes and blocks configured for the `redshiftserverless_workgroup`\nTerraform resource.\n\nUnlike [aws.redshiftserverless_workgroup.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `base_capacity` (`number`): Set the `base_capacity` field on the resulting object. When `null`, the `base_capacity` field will be omitted from the resulting object.\n - `enhanced_vpc_routing` (`bool`): Set the `enhanced_vpc_routing` field on the resulting object. When `null`, the `enhanced_vpc_routing` field will be omitted from the resulting object.\n - `namespace_name` (`string`): Set the `namespace_name` field on the resulting object.\n - `publicly_accessible` (`bool`): Set the `publicly_accessible` field on the resulting object. When `null`, the `publicly_accessible` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting object. When `null`, the `subnet_ids` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `workgroup_name` (`string`): Set the `workgroup_name` field on the resulting object.\n - `config_parameter` (`list[obj]`): Set the `config_parameter` field on the resulting object. When `null`, the `config_parameter` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.redshiftserverless_workgroup.config_parameter.new](#fn-config_parameternew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.redshiftserverless_workgroup.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `redshiftserverless_workgroup` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.redshiftserverless_workgroup.newAttrs` constructs a new object with attributes and blocks configured for the `redshiftserverless_workgroup`\nTerraform resource.\n\nUnlike [aws.redshiftserverless_workgroup.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `base_capacity` (`number`): Set the `base_capacity` field on the resulting object. When `null`, the `base_capacity` field will be omitted from the resulting object.\n - `enhanced_vpc_routing` (`bool`): Set the `enhanced_vpc_routing` field on the resulting object. When `null`, the `enhanced_vpc_routing` field will be omitted from the resulting object.\n - `namespace_name` (`string`): Set the `namespace_name` field on the resulting object.\n - `port` (`number`): Set the `port` field on the resulting object. When `null`, the `port` field will be omitted from the resulting object.\n - `publicly_accessible` (`bool`): Set the `publicly_accessible` field on the resulting object. When `null`, the `publicly_accessible` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting object. When `null`, the `subnet_ids` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `workgroup_name` (`string`): Set the `workgroup_name` field on the resulting object.\n - `config_parameter` (`list[obj]`): Set the `config_parameter` field on the resulting object. When `null`, the `config_parameter` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.redshiftserverless_workgroup.config_parameter.new](#fn-config_parameternew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.redshiftserverless_workgroup.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `redshiftserverless_workgroup` resource into the root Terraform configuration.\n', args=[]), newAttrs( namespace_name, workgroup_name, base_capacity=null, config_parameter=null, enhanced_vpc_routing=null, + port=null, publicly_accessible=null, security_group_ids=null, subnet_ids=null, @@ -63,6 +66,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); config_parameter: config_parameter, enhanced_vpc_routing: enhanced_vpc_routing, namespace_name: namespace_name, + port: port, publicly_accessible: publicly_accessible, security_group_ids: security_group_ids, subnet_ids: subnet_ids, @@ -133,6 +137,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withPort':: d.fn(help='`aws.number.withPort` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the port field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`number`): The value to set for the `port` field.\n', args=[]), + withPort(resourceLabel, value): { + resource+: { + aws_redshiftserverless_workgroup+: { + [resourceLabel]+: { + port: value, + }, + }, + }, + }, '#withPubliclyAccessible':: d.fn(help='`aws.bool.withPubliclyAccessible` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the publicly_accessible field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`bool`): The value to set for the `publicly_accessible` field.\n', args=[]), withPubliclyAccessible(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/route53_resolver_endpoint.libsonnet b/5.x/_gen/resources/route53_resolver_endpoint.libsonnet index fa704d9d..819a2777 100644 --- a/5.x/_gen/resources/route53_resolver_endpoint.libsonnet +++ b/5.x/_gen/resources/route53_resolver_endpoint.libsonnet @@ -12,13 +12,15 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); subnet_id: subnet_id, }), }, - '#new':: d.fn(help="\n`aws.route53_resolver_endpoint.new` injects a new `aws_route53_resolver_endpoint` Terraform `resource`\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.route53_resolver_endpoint.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.route53_resolver_endpoint` using the reference:\n\n $._ref.aws_route53_resolver_endpoint.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_route53_resolver_endpoint.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 - `resourceLabel` (`string`): The name label of the block.\n - `direction` (`string`): Set the `direction` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block. When `null`, the `name` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `ip_address` (`list[obj]`): Set the `ip_address` field on the resulting resource block. When `null`, the `ip_address` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.route53_resolver_endpoint.ip_address.new](#fn-ip_addressnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.route53_resolver_endpoint.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.route53_resolver_endpoint.new` injects a new `aws_route53_resolver_endpoint` Terraform `resource`\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.route53_resolver_endpoint.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.route53_resolver_endpoint` using the reference:\n\n $._ref.aws_route53_resolver_endpoint.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_route53_resolver_endpoint.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 - `resourceLabel` (`string`): The name label of the block.\n - `direction` (`string`): Set the `direction` field on the resulting resource block.\n - `name` (`string`): Set the `name` field on the resulting resource block. When `null`, the `name` field will be omitted from the resulting object.\n - `protocols` (`list`): Set the `protocols` field on the resulting resource block. When `null`, the `protocols` field will be omitted from the resulting object.\n - `resolver_endpoint_type` (`string`): Set the `resolver_endpoint_type` field on the resulting resource block. When `null`, the `resolver_endpoint_type` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `ip_address` (`list[obj]`): Set the `ip_address` field on the resulting resource block. When `null`, the `ip_address` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.route53_resolver_endpoint.ip_address.new](#fn-ip_addressnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.route53_resolver_endpoint.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, direction, security_group_ids, ip_address=null, name=null, + protocols=null, + resolver_endpoint_type=null, tags=null, tags_all=null, timeouts=null, @@ -30,6 +32,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); direction=direction, ip_address=ip_address, name=name, + protocols=protocols, + resolver_endpoint_type=resolver_endpoint_type, security_group_ids=security_group_ids, tags=tags, tags_all=tags_all, @@ -37,12 +41,14 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.route53_resolver_endpoint.newAttrs` constructs a new object with attributes and blocks configured for the `route53_resolver_endpoint`\nTerraform resource.\n\nUnlike [aws.route53_resolver_endpoint.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `direction` (`string`): Set the `direction` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `ip_address` (`list[obj]`): Set the `ip_address` field on the resulting object. When `null`, the `ip_address` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.route53_resolver_endpoint.ip_address.new](#fn-ip_addressnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.route53_resolver_endpoint.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `route53_resolver_endpoint` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.route53_resolver_endpoint.newAttrs` constructs a new object with attributes and blocks configured for the `route53_resolver_endpoint`\nTerraform resource.\n\nUnlike [aws.route53_resolver_endpoint.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `direction` (`string`): Set the `direction` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object.\n - `protocols` (`list`): Set the `protocols` field on the resulting object. When `null`, the `protocols` field will be omitted from the resulting object.\n - `resolver_endpoint_type` (`string`): Set the `resolver_endpoint_type` field on the resulting object. When `null`, the `resolver_endpoint_type` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `ip_address` (`list[obj]`): Set the `ip_address` field on the resulting object. When `null`, the `ip_address` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.route53_resolver_endpoint.ip_address.new](#fn-ip_addressnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.route53_resolver_endpoint.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `route53_resolver_endpoint` resource into the root Terraform configuration.\n', args=[]), newAttrs( direction, security_group_ids, ip_address=null, name=null, + protocols=null, + resolver_endpoint_type=null, tags=null, tags_all=null, timeouts=null @@ -50,6 +56,8 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); direction: direction, ip_address: ip_address, name: name, + protocols: protocols, + resolver_endpoint_type: resolver_endpoint_type, security_group_ids: security_group_ids, tags: tags, tags_all: tags_all, @@ -107,6 +115,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withProtocols':: d.fn(help='`aws.list.withProtocols` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the protocols field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list`): The value to set for the `protocols` field.\n', args=[]), + withProtocols(resourceLabel, value): { + resource+: { + aws_route53_resolver_endpoint+: { + [resourceLabel]+: { + protocols: value, + }, + }, + }, + }, + '#withResolverEndpointType':: d.fn(help='`aws.string.withResolverEndpointType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the resolver_endpoint_type field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `resolver_endpoint_type` field.\n', args=[]), + withResolverEndpointType(resourceLabel, value): { + resource+: { + aws_route53_resolver_endpoint+: { + [resourceLabel]+: { + resolver_endpoint_type: value, + }, + }, + }, + }, '#withSecurityGroupIds':: d.fn(help='`aws.list.withSecurityGroupIds` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the security_group_ids field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list`): The value to set for the `security_group_ids` field.\n', args=[]), withSecurityGroupIds(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/securitylake_aws_log_source.libsonnet b/5.x/_gen/resources/securitylake_aws_log_source.libsonnet new file mode 100644 index 00000000..4e7c3ca3 --- /dev/null +++ b/5.x/_gen/resources/securitylake_aws_log_source.libsonnet @@ -0,0 +1,56 @@ +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='securitylake_aws_log_source', url='', help='`securitylake_aws_log_source` represents the `aws_securitylake_aws_log_source` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + '#new':: d.fn(help="\n`aws.securitylake_aws_log_source.new` injects a new `aws_securitylake_aws_log_source` Terraform `resource`\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.securitylake_aws_log_source.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.securitylake_aws_log_source` using the reference:\n\n $._ref.aws_securitylake_aws_log_source.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_securitylake_aws_log_source.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 - `resourceLabel` (`string`): The name label of the block.\n - `source` (`list[obj]`): Set the `source` field on the resulting resource block. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.securitylake_aws_log_source.source.new](#fn-sourcenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + source=null, + _meta={} + ):: tf.withResource( + type='aws_securitylake_aws_log_source', + label=resourceLabel, + attrs=self.newAttrs(source=source), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.securitylake_aws_log_source.newAttrs` constructs a new object with attributes and blocks configured for the `securitylake_aws_log_source`\nTerraform resource.\n\nUnlike [aws.securitylake_aws_log_source.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `source` (`list[obj]`): Set the `source` field on the resulting object. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.securitylake_aws_log_source.source.new](#fn-sourcenew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `securitylake_aws_log_source` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + source=null + ):: std.prune(a={ + source: source, + }), + source:: { + '#new':: d.fn(help='\n`aws.securitylake_aws_log_source.source.new` constructs a new object with attributes and blocks configured for the `source`\nTerraform sub block.\n\n\n\n**Args**:\n - `accounts` (`list`): Set the `accounts` field on the resulting object. When `null`, the `accounts` field will be omitted from the resulting object.\n - `regions` (`list`): Set the `regions` field on the resulting object.\n - `source_name` (`string`): Set the `source_name` field on the resulting object.\n - `source_version` (`string`): Set the `source_version` field on the resulting object. When `null`, the `source_version` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `source` sub block.\n', args=[]), + new( + regions, + source_name, + accounts=null, + source_version=null + ):: std.prune(a={ + accounts: accounts, + regions: regions, + source_name: source_name, + source_version: source_version, + }), + }, + '#withSource':: d.fn(help='`aws.list[obj].withSource` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the source 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].withSourceMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `source` field.\n', args=[]), + withSource(resourceLabel, value): { + resource+: { + aws_securitylake_aws_log_source+: { + [resourceLabel]+: { + source: value, + }, + }, + }, + }, + '#withSourceMixin':: d.fn(help='`aws.list[obj].withSourceMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the source 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].withSource](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `source` field.\n', args=[]), + withSourceMixin(resourceLabel, value): { + resource+: { + aws_securitylake_aws_log_source+: { + [resourceLabel]+: { + source+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/ssoadmin_application_access_scope.libsonnet b/5.x/_gen/resources/ssoadmin_application_access_scope.libsonnet new file mode 100644 index 00000000..c2d875c8 --- /dev/null +++ b/5.x/_gen/resources/ssoadmin_application_access_scope.libsonnet @@ -0,0 +1,58 @@ +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='ssoadmin_application_access_scope', url='', help='`ssoadmin_application_access_scope` represents the `aws_ssoadmin_application_access_scope` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + '#new':: d.fn(help="\n`aws.ssoadmin_application_access_scope.new` injects a new `aws_ssoadmin_application_access_scope` Terraform `resource`\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.ssoadmin_application_access_scope.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.ssoadmin_application_access_scope` using the reference:\n\n $._ref.aws_ssoadmin_application_access_scope.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_ssoadmin_application_access_scope.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 - `resourceLabel` (`string`): The name label of the block.\n - `application_arn` (`string`): Set the `application_arn` field on the resulting resource block.\n - `authorized_targets` (`list`): Set the `authorized_targets` field on the resulting resource block. When `null`, the `authorized_targets` field will be omitted from the resulting object.\n - `scope` (`string`): Set the `scope` field on the resulting resource block.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + application_arn, + scope, + authorized_targets=null, + _meta={} + ):: tf.withResource( + type='aws_ssoadmin_application_access_scope', + label=resourceLabel, + attrs=self.newAttrs(application_arn=application_arn, authorized_targets=authorized_targets, scope=scope), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.ssoadmin_application_access_scope.newAttrs` constructs a new object with attributes and blocks configured for the `ssoadmin_application_access_scope`\nTerraform resource.\n\nUnlike [aws.ssoadmin_application_access_scope.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `application_arn` (`string`): Set the `application_arn` field on the resulting object.\n - `authorized_targets` (`list`): Set the `authorized_targets` field on the resulting object. When `null`, the `authorized_targets` field will be omitted from the resulting object.\n - `scope` (`string`): Set the `scope` field on the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `ssoadmin_application_access_scope` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + application_arn, + scope, + authorized_targets=null + ):: std.prune(a={ + application_arn: application_arn, + authorized_targets: authorized_targets, + scope: scope, + }), + '#withApplicationArn':: d.fn(help='`aws.string.withApplicationArn` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the application_arn field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `application_arn` field.\n', args=[]), + withApplicationArn(resourceLabel, value): { + resource+: { + aws_ssoadmin_application_access_scope+: { + [resourceLabel]+: { + application_arn: value, + }, + }, + }, + }, + '#withAuthorizedTargets':: d.fn(help='`aws.list.withAuthorizedTargets` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the authorized_targets field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list`): The value to set for the `authorized_targets` field.\n', args=[]), + withAuthorizedTargets(resourceLabel, value): { + resource+: { + aws_ssoadmin_application_access_scope+: { + [resourceLabel]+: { + authorized_targets: value, + }, + }, + }, + }, + '#withScope':: d.fn(help='`aws.string.withScope` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the scope field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `scope` field.\n', args=[]), + withScope(resourceLabel, value): { + resource+: { + aws_ssoadmin_application_access_scope+: { + [resourceLabel]+: { + scope: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/verifiedaccess_endpoint.libsonnet b/5.x/_gen/resources/verifiedaccess_endpoint.libsonnet index 97f54d9a..317192cb 100644 --- a/5.x/_gen/resources/verifiedaccess_endpoint.libsonnet +++ b/5.x/_gen/resources/verifiedaccess_endpoint.libsonnet @@ -28,7 +28,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); protocol: protocol, }), }, - '#new':: d.fn(help="\n`aws.verifiedaccess_endpoint.new` injects a new `aws_verifiedaccess_endpoint` Terraform `resource`\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.verifiedaccess_endpoint.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.verifiedaccess_endpoint` using the reference:\n\n $._ref.aws_verifiedaccess_endpoint.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_verifiedaccess_endpoint.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 - `resourceLabel` (`string`): The name label of the block.\n - `application_domain` (`string`): Set the `application_domain` field on the resulting resource block.\n - `attachment_type` (`string`): Set the `attachment_type` field on the resulting resource block.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `domain_certificate_arn` (`string`): Set the `domain_certificate_arn` field on the resulting resource block.\n - `endpoint_domain_prefix` (`string`): Set the `endpoint_domain_prefix` field on the resulting resource block.\n - `endpoint_type` (`string`): Set the `endpoint_type` field on the resulting resource block.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `verified_access_group_id` (`string`): Set the `verified_access_group_id` field on the resulting resource block.\n - `load_balancer_options` (`list[obj]`): Set the `load_balancer_options` field on the resulting resource block. When `null`, the `load_balancer_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.load_balancer_options.new](#fn-load_balancer_optionsnew) constructor.\n - `network_interface_options` (`list[obj]`): Set the `network_interface_options` field on the resulting resource block. When `null`, the `network_interface_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.network_interface_options.new](#fn-network_interface_optionsnew) constructor.\n - `sse_specification` (`list[obj]`): Set the `sse_specification` field on the resulting resource block. When `null`, the `sse_specification` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.sse_specification.new](#fn-sse_specificationnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + '#new':: d.fn(help="\n`aws.verifiedaccess_endpoint.new` injects a new `aws_verifiedaccess_endpoint` Terraform `resource`\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.verifiedaccess_endpoint.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.verifiedaccess_endpoint` using the reference:\n\n $._ref.aws_verifiedaccess_endpoint.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_verifiedaccess_endpoint.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 - `resourceLabel` (`string`): The name label of the block.\n - `application_domain` (`string`): Set the `application_domain` field on the resulting resource block.\n - `attachment_type` (`string`): Set the `attachment_type` field on the resulting resource block.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `domain_certificate_arn` (`string`): Set the `domain_certificate_arn` field on the resulting resource block.\n - `endpoint_domain_prefix` (`string`): Set the `endpoint_domain_prefix` field on the resulting resource block.\n - `endpoint_type` (`string`): Set the `endpoint_type` field on the resulting resource block.\n - `policy_document` (`string`): Set the `policy_document` field on the resulting resource block. When `null`, the `policy_document` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block. When `null`, the `security_group_ids` field will be omitted from the resulting object.\n - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object.\n - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `verified_access_group_id` (`string`): Set the `verified_access_group_id` field on the resulting resource block.\n - `load_balancer_options` (`list[obj]`): Set the `load_balancer_options` field on the resulting resource block. When `null`, the `load_balancer_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.load_balancer_options.new](#fn-load_balancer_optionsnew) constructor.\n - `network_interface_options` (`list[obj]`): Set the `network_interface_options` field on the resulting resource block. When `null`, the `network_interface_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.network_interface_options.new](#fn-network_interface_optionsnew) constructor.\n - `sse_specification` (`list[obj]`): Set the `sse_specification` field on the resulting resource block. When `null`, the `sse_specification` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.sse_specification.new](#fn-sse_specificationnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, application_domain, @@ -40,6 +40,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); description=null, load_balancer_options=null, network_interface_options=null, + policy_document=null, security_group_ids=null, sse_specification=null, tags=null, @@ -58,6 +59,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); endpoint_type=endpoint_type, load_balancer_options=load_balancer_options, network_interface_options=network_interface_options, + policy_document=policy_document, security_group_ids=security_group_ids, sse_specification=sse_specification, tags=tags, @@ -67,7 +69,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.verifiedaccess_endpoint.newAttrs` constructs a new object with attributes and blocks configured for the `verifiedaccess_endpoint`\nTerraform resource.\n\nUnlike [aws.verifiedaccess_endpoint.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `application_domain` (`string`): Set the `application_domain` field on the resulting object.\n - `attachment_type` (`string`): Set the `attachment_type` field on the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `domain_certificate_arn` (`string`): Set the `domain_certificate_arn` field on the resulting object.\n - `endpoint_domain_prefix` (`string`): Set the `endpoint_domain_prefix` field on the resulting object.\n - `endpoint_type` (`string`): Set the `endpoint_type` field on the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. When `null`, the `security_group_ids` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `verified_access_group_id` (`string`): Set the `verified_access_group_id` field on the resulting object.\n - `load_balancer_options` (`list[obj]`): Set the `load_balancer_options` field on the resulting object. When `null`, the `load_balancer_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.load_balancer_options.new](#fn-load_balancer_optionsnew) constructor.\n - `network_interface_options` (`list[obj]`): Set the `network_interface_options` field on the resulting object. When `null`, the `network_interface_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.network_interface_options.new](#fn-network_interface_optionsnew) constructor.\n - `sse_specification` (`list[obj]`): Set the `sse_specification` field on the resulting object. When `null`, the `sse_specification` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.sse_specification.new](#fn-sse_specificationnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `verifiedaccess_endpoint` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.verifiedaccess_endpoint.newAttrs` constructs a new object with attributes and blocks configured for the `verifiedaccess_endpoint`\nTerraform resource.\n\nUnlike [aws.verifiedaccess_endpoint.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `application_domain` (`string`): Set the `application_domain` field on the resulting object.\n - `attachment_type` (`string`): Set the `attachment_type` field on the resulting object.\n - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `domain_certificate_arn` (`string`): Set the `domain_certificate_arn` field on the resulting object.\n - `endpoint_domain_prefix` (`string`): Set the `endpoint_domain_prefix` field on the resulting object.\n - `endpoint_type` (`string`): Set the `endpoint_type` field on the resulting object.\n - `policy_document` (`string`): Set the `policy_document` field on the resulting object. When `null`, the `policy_document` field will be omitted from the resulting object.\n - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. When `null`, the `security_group_ids` field will be omitted from 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 - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object.\n - `verified_access_group_id` (`string`): Set the `verified_access_group_id` field on the resulting object.\n - `load_balancer_options` (`list[obj]`): Set the `load_balancer_options` field on the resulting object. When `null`, the `load_balancer_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.load_balancer_options.new](#fn-load_balancer_optionsnew) constructor.\n - `network_interface_options` (`list[obj]`): Set the `network_interface_options` field on the resulting object. When `null`, the `network_interface_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.network_interface_options.new](#fn-network_interface_optionsnew) constructor.\n - `sse_specification` (`list[obj]`): Set the `sse_specification` field on the resulting object. When `null`, the `sse_specification` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.sse_specification.new](#fn-sse_specificationnew) constructor.\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedaccess_endpoint.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `verifiedaccess_endpoint` resource into the root Terraform configuration.\n', args=[]), newAttrs( application_domain, attachment_type, @@ -78,6 +80,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); description=null, load_balancer_options=null, network_interface_options=null, + policy_document=null, security_group_ids=null, sse_specification=null, tags=null, @@ -92,6 +95,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); endpoint_type: endpoint_type, load_balancer_options: load_balancer_options, network_interface_options: network_interface_options, + policy_document: policy_document, security_group_ids: security_group_ids, sse_specification: sse_specification, tags: tags, @@ -221,6 +225,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withPolicyDocument':: d.fn(help='`aws.string.withPolicyDocument` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the policy_document field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `policy_document` field.\n', args=[]), + withPolicyDocument(resourceLabel, value): { + resource+: { + aws_verifiedaccess_endpoint+: { + [resourceLabel]+: { + policy_document: value, + }, + }, + }, + }, '#withSecurityGroupIds':: d.fn(help='`aws.list.withSecurityGroupIds` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the security_group_ids field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list`): The value to set for the `security_group_ids` field.\n', args=[]), withSecurityGroupIds(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/verifiedpermissions_policy_store.libsonnet b/5.x/_gen/resources/verifiedpermissions_policy_store.libsonnet new file mode 100644 index 00000000..2117c60d --- /dev/null +++ b/5.x/_gen/resources/verifiedpermissions_policy_store.libsonnet @@ -0,0 +1,63 @@ +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='verifiedpermissions_policy_store', url='', help='`verifiedpermissions_policy_store` represents the `aws_verifiedpermissions_policy_store` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + '#new':: d.fn(help="\n`aws.verifiedpermissions_policy_store.new` injects a new `aws_verifiedpermissions_policy_store` Terraform `resource`\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.verifiedpermissions_policy_store.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.verifiedpermissions_policy_store` using the reference:\n\n $._ref.aws_verifiedpermissions_policy_store.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_verifiedpermissions_policy_store.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 - `resourceLabel` (`string`): The name label of the block.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `validation_settings` (`list[obj]`): Set the `validation_settings` field on the resulting resource block. When `null`, the `validation_settings` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedpermissions_policy_store.validation_settings.new](#fn-validation_settingsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + description=null, + validation_settings=null, + _meta={} + ):: tf.withResource( + type='aws_verifiedpermissions_policy_store', + label=resourceLabel, + attrs=self.newAttrs(description=description, validation_settings=validation_settings), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.verifiedpermissions_policy_store.newAttrs` constructs a new object with attributes and blocks configured for the `verifiedpermissions_policy_store`\nTerraform resource.\n\nUnlike [aws.verifiedpermissions_policy_store.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `validation_settings` (`list[obj]`): Set the `validation_settings` field on the resulting object. When `null`, the `validation_settings` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedpermissions_policy_store.validation_settings.new](#fn-validation_settingsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `verifiedpermissions_policy_store` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + description=null, + validation_settings=null + ):: std.prune(a={ + description: description, + validation_settings: validation_settings, + }), + validation_settings:: { + '#new':: d.fn(help='\n`aws.verifiedpermissions_policy_store.validation_settings.new` constructs a new object with attributes and blocks configured for the `validation_settings`\nTerraform sub block.\n\n\n\n**Args**:\n - `mode` (`string`): Set the `mode` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `validation_settings` sub block.\n', args=[]), + new( + mode + ):: std.prune(a={ + mode: mode, + }), + }, + '#withDescription':: d.fn(help='`aws.string.withDescription` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the description field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `description` field.\n', args=[]), + withDescription(resourceLabel, value): { + resource+: { + aws_verifiedpermissions_policy_store+: { + [resourceLabel]+: { + description: value, + }, + }, + }, + }, + '#withValidationSettings':: d.fn(help='`aws.list[obj].withValidationSettings` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the validation_settings 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].withValidationSettingsMixin](TODO) function.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `validation_settings` field.\n', args=[]), + withValidationSettings(resourceLabel, value): { + resource+: { + aws_verifiedpermissions_policy_store+: { + [resourceLabel]+: { + validation_settings: value, + }, + }, + }, + }, + '#withValidationSettingsMixin':: d.fn(help='`aws.list[obj].withValidationSettingsMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the validation_settings 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].withValidationSettings](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `validation_settings` field.\n', args=[]), + withValidationSettingsMixin(resourceLabel, value): { + resource+: { + aws_verifiedpermissions_policy_store+: { + [resourceLabel]+: { + validation_settings+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/verifiedpermissions_policy_template.libsonnet b/5.x/_gen/resources/verifiedpermissions_policy_template.libsonnet new file mode 100644 index 00000000..9312e91f --- /dev/null +++ b/5.x/_gen/resources/verifiedpermissions_policy_template.libsonnet @@ -0,0 +1,58 @@ +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='verifiedpermissions_policy_template', url='', help='`verifiedpermissions_policy_template` represents the `aws_verifiedpermissions_policy_template` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + '#new':: d.fn(help="\n`aws.verifiedpermissions_policy_template.new` injects a new `aws_verifiedpermissions_policy_template` Terraform `resource`\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.verifiedpermissions_policy_template.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.verifiedpermissions_policy_template` using the reference:\n\n $._ref.aws_verifiedpermissions_policy_template.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_verifiedpermissions_policy_template.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 - `resourceLabel` (`string`): The name label of the block.\n - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object.\n - `policy_store_id` (`string`): Set the `policy_store_id` field on the resulting resource block.\n - `statement` (`string`): Set the `statement` field on the resulting resource block.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + policy_store_id, + statement, + description=null, + _meta={} + ):: tf.withResource( + type='aws_verifiedpermissions_policy_template', + label=resourceLabel, + attrs=self.newAttrs(description=description, policy_store_id=policy_store_id, statement=statement), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.verifiedpermissions_policy_template.newAttrs` constructs a new object with attributes and blocks configured for the `verifiedpermissions_policy_template`\nTerraform resource.\n\nUnlike [aws.verifiedpermissions_policy_template.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object.\n - `policy_store_id` (`string`): Set the `policy_store_id` field on the resulting object.\n - `statement` (`string`): Set the `statement` field on the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `verifiedpermissions_policy_template` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + policy_store_id, + statement, + description=null + ):: std.prune(a={ + description: description, + policy_store_id: policy_store_id, + statement: statement, + }), + '#withDescription':: d.fn(help='`aws.string.withDescription` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the description field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `description` field.\n', args=[]), + withDescription(resourceLabel, value): { + resource+: { + aws_verifiedpermissions_policy_template+: { + [resourceLabel]+: { + description: value, + }, + }, + }, + }, + '#withPolicyStoreId':: d.fn(help='`aws.string.withPolicyStoreId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the policy_store_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `policy_store_id` field.\n', args=[]), + withPolicyStoreId(resourceLabel, value): { + resource+: { + aws_verifiedpermissions_policy_template+: { + [resourceLabel]+: { + policy_store_id: value, + }, + }, + }, + }, + '#withStatement':: d.fn(help='`aws.string.withStatement` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the statement field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `statement` field.\n', args=[]), + withStatement(resourceLabel, value): { + resource+: { + aws_verifiedpermissions_policy_template+: { + [resourceLabel]+: { + statement: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/verifiedpermissions_schema.libsonnet b/5.x/_gen/resources/verifiedpermissions_schema.libsonnet new file mode 100644 index 00000000..cbc947d9 --- /dev/null +++ b/5.x/_gen/resources/verifiedpermissions_schema.libsonnet @@ -0,0 +1,63 @@ +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='verifiedpermissions_schema', url='', help='`verifiedpermissions_schema` represents the `aws_verifiedpermissions_schema` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + definition:: { + '#new':: d.fn(help='\n`aws.verifiedpermissions_schema.definition.new` constructs a new object with attributes and blocks configured for the `definition`\nTerraform sub block.\n\n\n\n**Args**:\n - `value` (`string`): Set the `value` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `definition` sub block.\n', args=[]), + new( + value + ):: std.prune(a={ + value: value, + }), + }, + '#new':: d.fn(help="\n`aws.verifiedpermissions_schema.new` injects a new `aws_verifiedpermissions_schema` Terraform `resource`\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.verifiedpermissions_schema.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.verifiedpermissions_schema` using the reference:\n\n $._ref.aws_verifiedpermissions_schema.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_verifiedpermissions_schema.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 - `resourceLabel` (`string`): The name label of the block.\n - `policy_store_id` (`string`): Set the `policy_store_id` field on the resulting resource block.\n - `definition` (`obj`): Set the `definition` field on the resulting resource block. When `null`, the `definition` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedpermissions_schema.definition.new](#fn-definitionnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + policy_store_id, + definition=null, + _meta={} + ):: tf.withResource( + type='aws_verifiedpermissions_schema', + label=resourceLabel, + attrs=self.newAttrs(definition=definition, policy_store_id=policy_store_id), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.verifiedpermissions_schema.newAttrs` constructs a new object with attributes and blocks configured for the `verifiedpermissions_schema`\nTerraform resource.\n\nUnlike [aws.verifiedpermissions_schema.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) 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 - `policy_store_id` (`string`): Set the `policy_store_id` field on the resulting object.\n - `definition` (`obj`): Set the `definition` field on the resulting object. When `null`, the `definition` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedpermissions_schema.definition.new](#fn-definitionnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `verifiedpermissions_schema` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + policy_store_id, + definition=null + ):: std.prune(a={ + definition: definition, + policy_store_id: policy_store_id, + }), + '#withDefinition':: d.fn(help='`aws.obj.withDefinition` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the definition field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [aws.obj.withDefinitionMixin](TODO) function.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `definition` field.\n', args=[]), + withDefinition(resourceLabel, value): { + resource+: { + aws_verifiedpermissions_schema+: { + [resourceLabel]+: { + definition: value, + }, + }, + }, + }, + '#withDefinitionMixin':: d.fn(help='`aws.obj.withDefinitionMixin` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the definition field.\n\nThis function will merge the passed in value to the existing map. If you wish\nto instead replace the entire map with the passed in `value`, use the [aws.obj.withDefinition](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `definition` field.\n', args=[]), + withDefinitionMixin(resourceLabel, value): { + resource+: { + aws_verifiedpermissions_schema+: { + [resourceLabel]+: { + definition+: value, + }, + }, + }, + }, + '#withPolicyStoreId':: d.fn(help='`aws.string.withPolicyStoreId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the policy_store_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `policy_store_id` field.\n', args=[]), + withPolicyStoreId(resourceLabel, value): { + resource+: { + aws_verifiedpermissions_schema+: { + [resourceLabel]+: { + policy_store_id: value, + }, + }, + }, + }, +} diff --git a/docs/5.x/README.md b/docs/5.x/README.md index 76ad8263..eb18f203 100644 --- a/docs/5.x/README.md +++ b/docs/5.x/README.md @@ -408,6 +408,7 @@ project. * [dynamodb_tag](dynamodb_tag.md) * [ebs_default_kms_key](ebs_default_kms_key.md) * [ebs_encryption_by_default](ebs_encryption_by_default.md) +* [ebs_fast_snapshot_restore](ebs_fast_snapshot_restore.md) * [ebs_snapshot](ebs_snapshot.md) * [ebs_snapshot_copy](ebs_snapshot_copy.md) * [ebs_snapshot_import](ebs_snapshot_import.md) @@ -495,6 +496,7 @@ project. * [elasticache_global_replication_group](elasticache_global_replication_group.md) * [elasticache_parameter_group](elasticache_parameter_group.md) * [elasticache_replication_group](elasticache_replication_group.md) +* [elasticache_serverless_cache](elasticache_serverless_cache.md) * [elasticache_subnet_group](elasticache_subnet_group.md) * [elasticache_user](elasticache_user.md) * [elasticache_user_group](elasticache_user_group.md) @@ -630,6 +632,7 @@ project. * [imagebuilder_image_pipeline](imagebuilder_image_pipeline.md) * [imagebuilder_image_recipe](imagebuilder_image_recipe.md) * [imagebuilder_infrastructure_configuration](imagebuilder_infrastructure_configuration.md) +* [imagebuilder_workflow](imagebuilder_workflow.md) * [inspector2_delegated_admin_account](inspector2_delegated_admin_account.md) * [inspector2_enabler](inspector2_enabler.md) * [inspector2_member_association](inspector2_member_association.md) @@ -676,6 +679,7 @@ project. * [keyspaces_table](keyspaces_table.md) * [kinesis_analytics_application](kinesis_analytics_application.md) * [kinesis_firehose_delivery_stream](kinesis_firehose_delivery_stream.md) +* [kinesis_resource_policy](kinesis_resource_policy.md) * [kinesis_stream](kinesis_stream.md) * [kinesis_stream_consumer](kinesis_stream_consumer.md) * [kinesis_video_stream](kinesis_video_stream.md) @@ -893,6 +897,7 @@ project. * [placement_group](placement_group.md) * [prometheus_alert_manager_definition](prometheus_alert_manager_definition.md) * [prometheus_rule_group_namespace](prometheus_rule_group_namespace.md) +* [prometheus_scraper](prometheus_scraper.md) * [prometheus_workspace](prometheus_workspace.md) * [provider](provider.md) * [proxy_protocol_policy](proxy_protocol_policy.md) @@ -1093,6 +1098,7 @@ project. * [securityhub_product_subscription](securityhub_product_subscription.md) * [securityhub_standards_control](securityhub_standards_control.md) * [securityhub_standards_subscription](securityhub_standards_subscription.md) +* [securitylake_aws_log_source](securitylake_aws_log_source.md) * [securitylake_data_lake](securitylake_data_lake.md) * [serverlessapplicationrepository_cloudformation_stack](serverlessapplicationrepository_cloudformation_stack.md) * [service_discovery_http_namespace](service_discovery_http_namespace.md) @@ -1185,6 +1191,7 @@ project. * [ssmincidents_response_plan](ssmincidents_response_plan.md) * [ssoadmin_account_assignment](ssoadmin_account_assignment.md) * [ssoadmin_application](ssoadmin_application.md) +* [ssoadmin_application_access_scope](ssoadmin_application_access_scope.md) * [ssoadmin_application_assignment](ssoadmin_application_assignment.md) * [ssoadmin_application_assignment_configuration](ssoadmin_application_assignment_configuration.md) * [ssoadmin_customer_managed_policy_attachment](ssoadmin_customer_managed_policy_attachment.md) @@ -1231,6 +1238,9 @@ project. * [verifiedaccess_instance_logging_configuration](verifiedaccess_instance_logging_configuration.md) * [verifiedaccess_instance_trust_provider_attachment](verifiedaccess_instance_trust_provider_attachment.md) * [verifiedaccess_trust_provider](verifiedaccess_trust_provider.md) +* [verifiedpermissions_policy_store](verifiedpermissions_policy_store.md) +* [verifiedpermissions_policy_template](verifiedpermissions_policy_template.md) +* [verifiedpermissions_schema](verifiedpermissions_schema.md) * [volume_attachment](volume_attachment.md) * [vpc](vpc.md) * [vpc_dhcp_options](vpc_dhcp_options.md) diff --git a/docs/5.x/alb_target_group.md b/docs/5.x/alb_target_group.md index 0089ee77..9139b831 100644 --- a/docs/5.x/alb_target_group.md +++ b/docs/5.x/alb_target_group.md @@ -22,6 +22,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withIpAddressType()`](#fn-withipaddresstype) * [`fn withLambdaMultiValueHeadersEnabled()`](#fn-withlambdamultivalueheadersenabled) * [`fn withLoadBalancingAlgorithmType()`](#fn-withloadbalancingalgorithmtype) +* [`fn withLoadBalancingAnomalyMitigation()`](#fn-withloadbalancinganomalymitigation) * [`fn withLoadBalancingCrossZoneEnabled()`](#fn-withloadbalancingcrosszoneenabled) * [`fn withName()`](#fn-withname) * [`fn withNamePrefix()`](#fn-withnameprefix) @@ -84,6 +85,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting resource block. When `null`, the `ip_address_type` field will be omitted from the resulting object. - `lambda_multi_value_headers_enabled` (`bool`): Set the `lambda_multi_value_headers_enabled` field on the resulting resource block. When `null`, the `lambda_multi_value_headers_enabled` field will be omitted from the resulting object. - `load_balancing_algorithm_type` (`string`): Set the `load_balancing_algorithm_type` field on the resulting resource block. When `null`, the `load_balancing_algorithm_type` field will be omitted from the resulting object. + - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting resource block. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object. - `load_balancing_cross_zone_enabled` (`string`): Set the `load_balancing_cross_zone_enabled` field on the resulting resource block. When `null`, the `load_balancing_cross_zone_enabled` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting resource block. When `null`, the `name` field will be omitted from the resulting object. - `name_prefix` (`string`): Set the `name_prefix` field on the resulting resource block. When `null`, the `name_prefix` field will be omitted from the resulting object. @@ -129,6 +131,7 @@ injecting into a complete block. - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting object. When `null`, the `ip_address_type` field will be omitted from the resulting object. - `lambda_multi_value_headers_enabled` (`bool`): Set the `lambda_multi_value_headers_enabled` field on the resulting object. When `null`, the `lambda_multi_value_headers_enabled` field will be omitted from the resulting object. - `load_balancing_algorithm_type` (`string`): Set the `load_balancing_algorithm_type` field on the resulting object. When `null`, the `load_balancing_algorithm_type` field will be omitted from the resulting object. + - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting object. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object. - `load_balancing_cross_zone_enabled` (`string`): Set the `load_balancing_cross_zone_enabled` field on the resulting object. When `null`, the `load_balancing_cross_zone_enabled` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object. - `name_prefix` (`string`): Set the `name_prefix` field on the resulting object. When `null`, the `name_prefix` field will be omitted from the resulting object. @@ -268,6 +271,22 @@ Terraform resource block to set or update the load_balancing_algorithm_type fiel - `value` (`string`): The value to set for the `load_balancing_algorithm_type` field. +### fn withLoadBalancingAnomalyMitigation + +```ts +withLoadBalancingAnomalyMitigation() +``` + +`aws.string.withLoadBalancingAnomalyMitigation` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the load_balancing_anomaly_mitigation field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `load_balancing_anomaly_mitigation` field. + + ### fn withLoadBalancingCrossZoneEnabled ```ts diff --git a/docs/5.x/appflow_flow.md b/docs/5.x/appflow_flow.md index e9da5856..a2b5bc42 100644 --- a/docs/5.x/appflow_flow.md +++ b/docs/5.x/appflow_flow.md @@ -868,6 +868,7 @@ Terraform sub block. **Args**: - `aggregation_type` (`string`): Set the `aggregation_type` field on the resulting object. When `null`, the `aggregation_type` field will be omitted from the resulting object. + - `target_file_size` (`number`): Set the `target_file_size` field on the resulting object. When `null`, the `target_file_size` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `aggregation_config` sub block. diff --git a/docs/5.x/autoscaling_group.md b/docs/5.x/autoscaling_group.md index 00034b58..c0828bb7 100644 --- a/docs/5.x/autoscaling_group.md +++ b/docs/5.x/autoscaling_group.md @@ -1181,6 +1181,7 @@ Terraform sub block. - `checkpoint_delay` (`string`): Set the `checkpoint_delay` field on the resulting object. When `null`, the `checkpoint_delay` field will be omitted from the resulting object. - `checkpoint_percentages` (`list`): Set the `checkpoint_percentages` field on the resulting object. When `null`, the `checkpoint_percentages` field will be omitted from the resulting object. - `instance_warmup` (`string`): Set the `instance_warmup` field on the resulting object. When `null`, the `instance_warmup` field will be omitted from the resulting object. + - `max_healthy_percentage` (`number`): Set the `max_healthy_percentage` field on the resulting object. When `null`, the `max_healthy_percentage` field will be omitted from the resulting object. - `min_healthy_percentage` (`number`): Set the `min_healthy_percentage` field on the resulting object. When `null`, the `min_healthy_percentage` field will be omitted from the resulting object. - `scale_in_protected_instances` (`string`): Set the `scale_in_protected_instances` field on the resulting object. When `null`, the `scale_in_protected_instances` field will be omitted from the resulting object. - `skip_matching` (`bool`): Set the `skip_matching` field on the resulting object. When `null`, the `skip_matching` field will be omitted from the resulting object. diff --git a/docs/5.x/batch_compute_environment.md b/docs/5.x/batch_compute_environment.md index 94cb2abd..8cf83cf1 100644 --- a/docs/5.x/batch_compute_environment.md +++ b/docs/5.x/batch_compute_environment.md @@ -26,6 +26,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withTags()`](#fn-withtags) * [`fn withTagsAll()`](#fn-withtagsall) * [`fn withType()`](#fn-withtype) +* [`fn withUpdatePolicy()`](#fn-withupdatepolicy) +* [`fn withUpdatePolicyMixin()`](#fn-withupdatepolicymixin) * [`obj compute_resources`](#obj-compute_resources) * [`fn new()`](#fn-compute_resourcesnew) * [`obj compute_resources.ec2_configuration`](#obj-compute_resourcesec2_configuration) @@ -34,6 +36,8 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-compute_resourceslaunch_templatenew) * [`obj eks_configuration`](#obj-eks_configuration) * [`fn new()`](#fn-eks_configurationnew) +* [`obj update_policy`](#obj-update_policy) + * [`fn new()`](#fn-update_policynew) ## Fields @@ -73,6 +77,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `type` (`string`): Set the `type` field on the resulting resource block. - `compute_resources` (`list[obj]`): Set the `compute_resources` field on the resulting resource block. When `null`, the `compute_resources` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_compute_environment.compute_resources.new](#fn-compute_resourcesnew) constructor. - `eks_configuration` (`list[obj]`): Set the `eks_configuration` field on the resulting resource block. When `null`, the `eks_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_compute_environment.eks_configuration.new](#fn-eks_configurationnew) constructor. + - `update_policy` (`list[obj]`): Set the `update_policy` field on the resulting resource block. When `null`, the `update_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.batch_compute_environment.update_policy.new](#fn-update_policynew) constructor. **Returns**: - A mixin object that injects the new resource into the root Terraform configuration. @@ -105,6 +110,7 @@ injecting into a complete block. - `type` (`string`): Set the `type` field on the resulting object. - `compute_resources` (`list[obj]`): Set the `compute_resources` field on the resulting object. When `null`, the `compute_resources` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_compute_environment.compute_resources.new](#fn-compute_resourcesnew) constructor. - `eks_configuration` (`list[obj]`): Set the `eks_configuration` field on the resulting object. When `null`, the `eks_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_compute_environment.eks_configuration.new](#fn-eks_configurationnew) constructor. + - `update_policy` (`list[obj]`): Set the `update_policy` field on the resulting object. When `null`, the `update_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.batch_compute_environment.update_policy.new](#fn-update_policynew) constructor. **Returns**: - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `batch_compute_environment` resource into the root Terraform configuration. @@ -296,6 +302,43 @@ Terraform resource block to set or update the type field. - `value` (`string`): The value to set for the `type` field. +### fn withUpdatePolicy + +```ts +withUpdatePolicy() +``` + +`aws.list[obj].withUpdatePolicy` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the update_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].withUpdatePolicyMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `update_policy` field. + + +### fn withUpdatePolicyMixin + +```ts +withUpdatePolicyMixin() +``` + +`aws.list[obj].withUpdatePolicyMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the update_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].withUpdatePolicy](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `update_policy` field. + + ## obj compute_resources @@ -406,3 +449,27 @@ Terraform sub block. **Returns**: - An attribute object that represents the `eks_configuration` sub block. + + +## obj update_policy + + + +### fn update_policy.new + +```ts +new() +``` + + +`aws.batch_compute_environment.update_policy.new` constructs a new object with attributes and blocks configured for the `update_policy` +Terraform sub block. + + + +**Args**: + - `job_execution_timeout_minutes` (`number`): Set the `job_execution_timeout_minutes` field on the resulting object. + - `terminate_jobs_on_update` (`bool`): Set the `terminate_jobs_on_update` field on the resulting object. + +**Returns**: + - An attribute object that represents the `update_policy` sub block. diff --git a/docs/5.x/batch_job_definition.md b/docs/5.x/batch_job_definition.md index 5f6badea..24698534 100644 --- a/docs/5.x/batch_job_definition.md +++ b/docs/5.x/batch_job_definition.md @@ -16,6 +16,8 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) * [`fn withContainerProperties()`](#fn-withcontainerproperties) +* [`fn withEksProperties()`](#fn-witheksproperties) +* [`fn withEksPropertiesMixin()`](#fn-withekspropertiesmixin) * [`fn withName()`](#fn-withname) * [`fn withNodeProperties()`](#fn-withnodeproperties) * [`fn withParameters()`](#fn-withparameters) @@ -23,11 +25,36 @@ This package contains functions and utilities for setting up the resource using * [`fn withPropagateTags()`](#fn-withpropagatetags) * [`fn withRetryStrategy()`](#fn-withretrystrategy) * [`fn withRetryStrategyMixin()`](#fn-withretrystrategymixin) +* [`fn withSchedulingPriority()`](#fn-withschedulingpriority) * [`fn withTags()`](#fn-withtags) * [`fn withTagsAll()`](#fn-withtagsall) * [`fn withTimeout()`](#fn-withtimeout) * [`fn withTimeoutMixin()`](#fn-withtimeoutmixin) * [`fn withType()`](#fn-withtype) +* [`obj eks_properties`](#obj-eks_properties) + * [`fn new()`](#fn-eks_propertiesnew) + * [`obj eks_properties.pod_properties`](#obj-eks_propertiespod_properties) + * [`fn new()`](#fn-eks_propertiespod_propertiesnew) + * [`obj eks_properties.pod_properties.containers`](#obj-eks_propertiespod_propertiescontainers) + * [`fn new()`](#fn-eks_propertiespod_propertiescontainersnew) + * [`obj eks_properties.pod_properties.containers.env`](#obj-eks_propertiespod_propertiescontainersenv) + * [`fn new()`](#fn-eks_propertiespod_propertiescontainersenvnew) + * [`obj eks_properties.pod_properties.containers.resources`](#obj-eks_propertiespod_propertiescontainersresources) + * [`fn new()`](#fn-eks_propertiespod_propertiescontainersresourcesnew) + * [`obj eks_properties.pod_properties.containers.security_context`](#obj-eks_propertiespod_propertiescontainerssecurity_context) + * [`fn new()`](#fn-eks_propertiespod_propertiescontainerssecurity_contextnew) + * [`obj eks_properties.pod_properties.containers.volume_mounts`](#obj-eks_propertiespod_propertiescontainersvolume_mounts) + * [`fn new()`](#fn-eks_propertiespod_propertiescontainersvolume_mountsnew) + * [`obj eks_properties.pod_properties.metadata`](#obj-eks_propertiespod_propertiesmetadata) + * [`fn new()`](#fn-eks_propertiespod_propertiesmetadatanew) + * [`obj eks_properties.pod_properties.volumes`](#obj-eks_propertiespod_propertiesvolumes) + * [`fn new()`](#fn-eks_propertiespod_propertiesvolumesnew) + * [`obj eks_properties.pod_properties.volumes.empty_dir`](#obj-eks_propertiespod_propertiesvolumesempty_dir) + * [`fn new()`](#fn-eks_propertiespod_propertiesvolumesempty_dirnew) + * [`obj eks_properties.pod_properties.volumes.host_path`](#obj-eks_propertiespod_propertiesvolumeshost_path) + * [`fn new()`](#fn-eks_propertiespod_propertiesvolumeshost_pathnew) + * [`obj eks_properties.pod_properties.volumes.secret`](#obj-eks_propertiespod_propertiesvolumessecret) + * [`fn new()`](#fn-eks_propertiespod_propertiesvolumessecretnew) * [`obj retry_strategy`](#obj-retry_strategy) * [`fn new()`](#fn-retry_strategynew) * [`obj retry_strategy.evaluate_on_exit`](#obj-retry_strategyevaluate_on_exit) @@ -70,9 +97,11 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `parameters` (`obj`): Set the `parameters` field on the resulting resource block. When `null`, the `parameters` field will be omitted from the resulting object. - `platform_capabilities` (`list`): Set the `platform_capabilities` field on the resulting resource block. When `null`, the `platform_capabilities` field will be omitted from the resulting object. - `propagate_tags` (`bool`): Set the `propagate_tags` field on the resulting resource block. When `null`, the `propagate_tags` field will be omitted from the resulting object. + - `scheduling_priority` (`number`): Set the `scheduling_priority` field on the resulting resource block. When `null`, the `scheduling_priority` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object. - `type` (`string`): Set the `type` field on the resulting resource block. + - `eks_properties` (`list[obj]`): Set the `eks_properties` field on the resulting resource block. When `null`, the `eks_properties` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.new](#fn-eks_propertiesnew) constructor. - `retry_strategy` (`list[obj]`): Set the `retry_strategy` field on the resulting resource block. When `null`, the `retry_strategy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.retry_strategy.new](#fn-retry_strategynew) constructor. - `timeout` (`list[obj]`): Set the `timeout` field on the resulting resource block. When `null`, the `timeout` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.timeout.new](#fn-timeoutnew) constructor. @@ -104,9 +133,11 @@ injecting into a complete block. - `parameters` (`obj`): Set the `parameters` field on the resulting object. When `null`, the `parameters` field will be omitted from the resulting object. - `platform_capabilities` (`list`): Set the `platform_capabilities` field on the resulting object. When `null`, the `platform_capabilities` field will be omitted from the resulting object. - `propagate_tags` (`bool`): Set the `propagate_tags` field on the resulting object. When `null`, the `propagate_tags` field will be omitted from the resulting object. + - `scheduling_priority` (`number`): Set the `scheduling_priority` field on the resulting object. When `null`, the `scheduling_priority` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object. - `type` (`string`): Set the `type` field on the resulting object. + - `eks_properties` (`list[obj]`): Set the `eks_properties` field on the resulting object. When `null`, the `eks_properties` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.new](#fn-eks_propertiesnew) constructor. - `retry_strategy` (`list[obj]`): Set the `retry_strategy` field on the resulting object. When `null`, the `retry_strategy` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.retry_strategy.new](#fn-retry_strategynew) constructor. - `timeout` (`list[obj]`): Set the `timeout` field on the resulting object. When `null`, the `timeout` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.timeout.new](#fn-timeoutnew) constructor. @@ -130,6 +161,43 @@ Terraform resource block to set or update the container_properties field. - `value` (`string`): The value to set for the `container_properties` field. +### fn withEksProperties + +```ts +withEksProperties() +``` + +`aws.list[obj].withEksProperties` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the eks_properties 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].withEksPropertiesMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `eks_properties` field. + + +### fn withEksPropertiesMixin + +```ts +withEksPropertiesMixin() +``` + +`aws.list[obj].withEksPropertiesMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the eks_properties 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].withEksProperties](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `eks_properties` field. + + ### fn withName ```ts @@ -247,6 +315,22 @@ function. - `value` (`list[obj]`): The value to set for the `retry_strategy` field. +### fn withSchedulingPriority + +```ts +withSchedulingPriority() +``` + +`aws.number.withSchedulingPriority` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the scheduling_priority field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `scheduling_priority` field. + + ### fn withTags ```ts @@ -332,6 +416,308 @@ Terraform resource block to set or update the type field. - `value` (`string`): The value to set for the `type` field. +## obj eks_properties + + + +### fn eks_properties.new + +```ts +new() +``` + + +`aws.batch_job_definition.eks_properties.new` constructs a new object with attributes and blocks configured for the `eks_properties` +Terraform sub block. + + + +**Args**: + - `pod_properties` (`list[obj]`): Set the `pod_properties` field on the resulting object. When `null`, the `pod_properties` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.new](#fn-eks_propertiespod_propertiesnew) constructor. + +**Returns**: + - An attribute object that represents the `eks_properties` sub block. + + +## obj eks_properties.pod_properties + + + +### fn eks_properties.pod_properties.new + +```ts +new() +``` + + +`aws.batch_job_definition.eks_properties.pod_properties.new` constructs a new object with attributes and blocks configured for the `pod_properties` +Terraform sub block. + + + +**Args**: + - `dns_policy` (`string`): Set the `dns_policy` field on the resulting object. When `null`, the `dns_policy` field will be omitted from the resulting object. + - `host_network` (`bool`): Set the `host_network` field on the resulting object. When `null`, the `host_network` field will be omitted from the resulting object. + - `service_account_name` (`string`): Set the `service_account_name` field on the resulting object. When `null`, the `service_account_name` field will be omitted from the resulting object. + - `containers` (`list[obj]`): Set the `containers` field on the resulting object. When `null`, the `containers` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.containers.new](#fn-eks_propertieseks_propertiescontainersnew) constructor. + - `metadata` (`list[obj]`): Set the `metadata` field on the resulting object. When `null`, the `metadata` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.metadata.new](#fn-eks_propertieseks_propertiesmetadatanew) constructor. + - `volumes` (`list[obj]`): Set the `volumes` field on the resulting object. When `null`, the `volumes` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.volumes.new](#fn-eks_propertieseks_propertiesvolumesnew) constructor. + +**Returns**: + - An attribute object that represents the `pod_properties` sub block. + + +## obj eks_properties.pod_properties.containers + + + +### fn eks_properties.pod_properties.containers.new + +```ts +new() +``` + + +`aws.batch_job_definition.eks_properties.pod_properties.containers.new` constructs a new object with attributes and blocks configured for the `containers` +Terraform sub block. + + + +**Args**: + - `args` (`list`): Set the `args` field on the resulting object. When `null`, the `args` field will be omitted from the resulting object. + - `command` (`list`): Set the `command` field on the resulting object. When `null`, the `command` field will be omitted from the resulting object. + - `image` (`string`): Set the `image` field on the resulting object. + - `image_pull_policy` (`string`): Set the `image_pull_policy` field on the resulting object. When `null`, the `image_pull_policy` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object. + - `env` (`list[obj]`): Set the `env` field on the resulting object. When `null`, the `env` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.containers.env.new](#fn-eks_propertieseks_propertiespod_propertiesenvnew) constructor. + - `resources` (`list[obj]`): Set the `resources` field on the resulting object. When `null`, the `resources` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.containers.resources.new](#fn-eks_propertieseks_propertiespod_propertiesresourcesnew) constructor. + - `security_context` (`list[obj]`): Set the `security_context` field on the resulting object. When `null`, the `security_context` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.containers.security_context.new](#fn-eks_propertieseks_propertiespod_propertiessecurity_contextnew) constructor. + - `volume_mounts` (`list[obj]`): Set the `volume_mounts` field on the resulting object. When `null`, the `volume_mounts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.containers.volume_mounts.new](#fn-eks_propertieseks_propertiespod_propertiesvolume_mountsnew) constructor. + +**Returns**: + - An attribute object that represents the `containers` sub block. + + +## obj eks_properties.pod_properties.containers.env + + + +### fn eks_properties.pod_properties.containers.env.new + +```ts +new() +``` + + +`aws.batch_job_definition.eks_properties.pod_properties.containers.env.new` constructs a new object with attributes and blocks configured for the `env` +Terraform sub block. + + + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `value` (`string`): Set the `value` field on the resulting object. + +**Returns**: + - An attribute object that represents the `env` sub block. + + +## obj eks_properties.pod_properties.containers.resources + + + +### fn eks_properties.pod_properties.containers.resources.new + +```ts +new() +``` + + +`aws.batch_job_definition.eks_properties.pod_properties.containers.resources.new` constructs a new object with attributes and blocks configured for the `resources` +Terraform sub block. + + + +**Args**: + - `limits` (`obj`): Set the `limits` field on the resulting object. When `null`, the `limits` field will be omitted from the resulting object. + - `requests` (`obj`): Set the `requests` field on the resulting object. When `null`, the `requests` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `resources` sub block. + + +## obj eks_properties.pod_properties.containers.security_context + + + +### fn eks_properties.pod_properties.containers.security_context.new + +```ts +new() +``` + + +`aws.batch_job_definition.eks_properties.pod_properties.containers.security_context.new` constructs a new object with attributes and blocks configured for the `security_context` +Terraform sub block. + + + +**Args**: + - `privileged` (`bool`): Set the `privileged` field on the resulting object. When `null`, the `privileged` field will be omitted from the resulting object. + - `read_only_root_file_system` (`bool`): Set the `read_only_root_file_system` field on the resulting object. When `null`, the `read_only_root_file_system` field will be omitted from the resulting object. + - `run_as_group` (`number`): Set the `run_as_group` field on the resulting object. When `null`, the `run_as_group` field will be omitted from the resulting object. + - `run_as_non_root` (`bool`): Set the `run_as_non_root` field on the resulting object. When `null`, the `run_as_non_root` field will be omitted from the resulting object. + - `run_as_user` (`number`): Set the `run_as_user` field on the resulting object. When `null`, the `run_as_user` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `security_context` sub block. + + +## obj eks_properties.pod_properties.containers.volume_mounts + + + +### fn eks_properties.pod_properties.containers.volume_mounts.new + +```ts +new() +``` + + +`aws.batch_job_definition.eks_properties.pod_properties.containers.volume_mounts.new` constructs a new object with attributes and blocks configured for the `volume_mounts` +Terraform sub block. + + + +**Args**: + - `mount_path` (`string`): Set the `mount_path` field on the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `read_only` (`bool`): Set the `read_only` field on the resulting object. When `null`, the `read_only` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `volume_mounts` sub block. + + +## obj eks_properties.pod_properties.metadata + + + +### fn eks_properties.pod_properties.metadata.new + +```ts +new() +``` + + +`aws.batch_job_definition.eks_properties.pod_properties.metadata.new` constructs a new object with attributes and blocks configured for the `metadata` +Terraform sub block. + + + +**Args**: + - `labels` (`obj`): Set the `labels` field on the resulting object. When `null`, the `labels` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `metadata` sub block. + + +## obj eks_properties.pod_properties.volumes + + + +### fn eks_properties.pod_properties.volumes.new + +```ts +new() +``` + + +`aws.batch_job_definition.eks_properties.pod_properties.volumes.new` constructs a new object with attributes and blocks configured for the `volumes` +Terraform sub block. + + + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object. + - `empty_dir` (`list[obj]`): Set the `empty_dir` field on the resulting object. When `null`, the `empty_dir` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.volumes.empty_dir.new](#fn-eks_propertieseks_propertiespod_propertiesempty_dirnew) constructor. + - `host_path` (`list[obj]`): Set the `host_path` field on the resulting object. When `null`, the `host_path` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.volumes.host_path.new](#fn-eks_propertieseks_propertiespod_propertieshost_pathnew) constructor. + - `secret` (`list[obj]`): Set the `secret` field on the resulting object. When `null`, the `secret` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.batch_job_definition.eks_properties.pod_properties.volumes.secret.new](#fn-eks_propertieseks_propertiespod_propertiessecretnew) constructor. + +**Returns**: + - An attribute object that represents the `volumes` sub block. + + +## obj eks_properties.pod_properties.volumes.empty_dir + + + +### fn eks_properties.pod_properties.volumes.empty_dir.new + +```ts +new() +``` + + +`aws.batch_job_definition.eks_properties.pod_properties.volumes.empty_dir.new` constructs a new object with attributes and blocks configured for the `empty_dir` +Terraform sub block. + + + +**Args**: + - `medium` (`string`): Set the `medium` field on the resulting object. When `null`, the `medium` field will be omitted from the resulting object. + - `size_limit` (`string`): Set the `size_limit` field on the resulting object. + +**Returns**: + - An attribute object that represents the `empty_dir` sub block. + + +## obj eks_properties.pod_properties.volumes.host_path + + + +### fn eks_properties.pod_properties.volumes.host_path.new + +```ts +new() +``` + + +`aws.batch_job_definition.eks_properties.pod_properties.volumes.host_path.new` constructs a new object with attributes and blocks configured for the `host_path` +Terraform sub block. + + + +**Args**: + - `path` (`string`): Set the `path` field on the resulting object. + +**Returns**: + - An attribute object that represents the `host_path` sub block. + + +## obj eks_properties.pod_properties.volumes.secret + + + +### fn eks_properties.pod_properties.volumes.secret.new + +```ts +new() +``` + + +`aws.batch_job_definition.eks_properties.pod_properties.volumes.secret.new` constructs a new object with attributes and blocks configured for the `secret` +Terraform sub block. + + + +**Args**: + - `optional` (`bool`): Set the `optional` field on the resulting object. When `null`, the `optional` field will be omitted from the resulting object. + - `secret_name` (`string`): Set the `secret_name` field on the resulting object. + +**Returns**: + - An attribute object that represents the `secret` sub block. + + ## obj retry_strategy diff --git a/docs/5.x/cloud9_environment_ec2.md b/docs/5.x/cloud9_environment_ec2.md index b121fa85..aed0d1a7 100644 --- a/docs/5.x/cloud9_environment_ec2.md +++ b/docs/5.x/cloud9_environment_ec2.md @@ -58,7 +58,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `automatic_stop_time_minutes` (`number`): Set the `automatic_stop_time_minutes` field on the resulting resource block. When `null`, the `automatic_stop_time_minutes` field will be omitted from the resulting object. - `connection_type` (`string`): Set the `connection_type` field on the resulting resource block. When `null`, the `connection_type` field will be omitted from the resulting object. - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object. - - `image_id` (`string`): Set the `image_id` field on the resulting resource block. When `null`, the `image_id` field will be omitted from the resulting object. + - `image_id` (`string`): Set the `image_id` field on the resulting resource block. - `instance_type` (`string`): Set the `instance_type` field on the resulting resource block. - `name` (`string`): Set the `name` field on the resulting resource block. - `owner_arn` (`string`): Set the `owner_arn` field on the resulting resource block. When `null`, the `owner_arn` field will be omitted from the resulting object. @@ -91,7 +91,7 @@ injecting into a complete block. - `automatic_stop_time_minutes` (`number`): Set the `automatic_stop_time_minutes` field on the resulting object. When `null`, the `automatic_stop_time_minutes` field will be omitted from the resulting object. - `connection_type` (`string`): Set the `connection_type` field on the resulting object. When `null`, the `connection_type` field will be omitted from the resulting object. - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object. - - `image_id` (`string`): Set the `image_id` field on the resulting object. When `null`, the `image_id` field will be omitted from the resulting object. + - `image_id` (`string`): Set the `image_id` field on the resulting object. - `instance_type` (`string`): Set the `instance_type` field on the resulting object. - `name` (`string`): Set the `name` field on the resulting object. - `owner_arn` (`string`): Set the `owner_arn` field on the resulting object. When `null`, the `owner_arn` field will be omitted from the resulting object. diff --git a/docs/5.x/codepipeline.md b/docs/5.x/codepipeline.md index 5c0486a5..65b3f8c0 100644 --- a/docs/5.x/codepipeline.md +++ b/docs/5.x/codepipeline.md @@ -18,11 +18,14 @@ This package contains functions and utilities for setting up the resource using * [`fn withArtifactStore()`](#fn-withartifactstore) * [`fn withArtifactStoreMixin()`](#fn-withartifactstoremixin) * [`fn withName()`](#fn-withname) +* [`fn withPipelineType()`](#fn-withpipelinetype) * [`fn withRoleArn()`](#fn-withrolearn) * [`fn withStage()`](#fn-withstage) * [`fn withStageMixin()`](#fn-withstagemixin) * [`fn withTags()`](#fn-withtags) * [`fn withTagsAll()`](#fn-withtagsall) +* [`fn withVariable()`](#fn-withvariable) +* [`fn withVariableMixin()`](#fn-withvariablemixin) * [`obj artifact_store`](#obj-artifact_store) * [`fn new()`](#fn-artifact_storenew) * [`obj artifact_store.encryption_key`](#obj-artifact_storeencryption_key) @@ -31,6 +34,8 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-stagenew) * [`obj stage.action`](#obj-stageaction) * [`fn new()`](#fn-stageactionnew) +* [`obj variable`](#obj-variable) + * [`fn new()`](#fn-variablenew) ## Fields @@ -62,11 +67,13 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. - `name` (`string`): Set the `name` field on the resulting resource block. + - `pipeline_type` (`string`): Set the `pipeline_type` field on the resulting resource block. When `null`, the `pipeline_type` field will be omitted from the resulting object. - `role_arn` (`string`): Set the `role_arn` field on the resulting resource block. - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object. - `artifact_store` (`list[obj]`): Set the `artifact_store` field on the resulting resource block. When `null`, the `artifact_store` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.artifact_store.new](#fn-artifact_storenew) constructor. - `stage` (`list[obj]`): Set the `stage` field on the resulting resource block. When `null`, the `stage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.stage.new](#fn-stagenew) constructor. + - `variable` (`list[obj]`): Set the `variable` field on the resulting resource block. When `null`, the `variable` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.variable.new](#fn-variablenew) constructor. **Returns**: - A mixin object that injects the new resource into the root Terraform configuration. @@ -91,11 +98,13 @@ injecting into a complete block. **Args**: - `name` (`string`): Set the `name` field on the resulting object. + - `pipeline_type` (`string`): Set the `pipeline_type` field on the resulting object. When `null`, the `pipeline_type` field will be omitted from the resulting object. - `role_arn` (`string`): Set the `role_arn` field on the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object. - `artifact_store` (`list[obj]`): Set the `artifact_store` field on the resulting object. When `null`, the `artifact_store` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.artifact_store.new](#fn-artifact_storenew) constructor. - `stage` (`list[obj]`): Set the `stage` field on the resulting object. When `null`, the `stage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.stage.new](#fn-stagenew) constructor. + - `variable` (`list[obj]`): Set the `variable` field on the resulting object. When `null`, the `variable` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codepipeline.variable.new](#fn-variablenew) constructor. **Returns**: - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `codepipeline` resource into the root Terraform configuration. @@ -154,6 +163,22 @@ Terraform resource block to set or update the name field. - `value` (`string`): The value to set for the `name` field. +### fn withPipelineType + +```ts +withPipelineType() +``` + +`aws.string.withPipelineType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the pipeline_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `pipeline_type` field. + + ### fn withRoleArn ```ts @@ -239,6 +264,43 @@ Terraform resource block to set or update the tags_all field. - `value` (`obj`): The value to set for the `tags_all` field. +### fn withVariable + +```ts +withVariable() +``` + +`aws.list[obj].withVariable` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the variable 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].withVariableMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `variable` field. + + +### fn withVariableMixin + +```ts +withVariableMixin() +``` + +`aws.list[obj].withVariableMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the variable 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].withVariable](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `variable` field. + + ## obj artifact_store @@ -344,3 +406,28 @@ Terraform sub block. **Returns**: - An attribute object that represents the `action` sub block. + + +## obj variable + + + +### fn variable.new + +```ts +new() +``` + + +`aws.codepipeline.variable.new` constructs a new object with attributes and blocks configured for the `variable` +Terraform sub block. + + + +**Args**: + - `default_value` (`string`): Set the `default_value` field on the resulting object. When `null`, the `default_value` field will be omitted from the resulting object. + - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + +**Returns**: + - An attribute object that represents the `variable` sub block. diff --git a/docs/5.x/data/alb_target_group.md b/docs/5.x/data/alb_target_group.md index 45ef3750..cd2d5085 100644 --- a/docs/5.x/data/alb_target_group.md +++ b/docs/5.x/data/alb_target_group.md @@ -16,6 +16,7 @@ This package contains functions and utilities for setting up the data source usi * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) * [`fn withArn()`](#fn-witharn) +* [`fn withLoadBalancingAnomalyMitigation()`](#fn-withloadbalancinganomalymitigation) * [`fn withName()`](#fn-withname) * [`fn withTags()`](#fn-withtags) * [`fn withTimeouts()`](#fn-withtimeouts) @@ -53,6 +54,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `dataSrcLabel` (`string`): The name label of the block. - `arn` (`string`): Set the `arn` field on the resulting data source block. When `null`, the `arn` field will be omitted from the resulting object. + - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting data source block. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting data source block. When `null`, the `name` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object. - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` 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.alb_target_group.timeouts.new](#fn-timeoutsnew) constructor. @@ -80,6 +82,7 @@ injecting into a complete block. **Args**: - `arn` (`string`): Set the `arn` field on the resulting object. When `null`, the `arn` field will be omitted from the resulting object. + - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting object. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` 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.alb_target_group.timeouts.new](#fn-timeoutsnew) constructor. @@ -104,6 +107,22 @@ Terraform data source block to set or update the arn field. - `value` (`string`): The value to set for the `arn` field. +### fn withLoadBalancingAnomalyMitigation + +```ts +withLoadBalancingAnomalyMitigation() +``` + +`aws.string.withLoadBalancingAnomalyMitigation` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the load_balancing_anomaly_mitigation field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `load_balancing_anomaly_mitigation` field. + + ### fn withName ```ts diff --git a/docs/5.x/data/index.md b/docs/5.x/data/index.md index 7d6dd0f7..e9f82f4f 100644 --- a/docs/5.x/data/index.md +++ b/docs/5.x/data/index.md @@ -333,7 +333,9 @@ permalink: /data/ * [memorydb_subnet_group](memorydb_subnet_group.md) * [memorydb_user](memorydb_user.md) * [mq_broker](mq_broker.md) +* [mq_broker_engine_types](mq_broker_engine_types.md) * [mq_broker_instance_type_offerings](mq_broker_instance_type_offerings.md) +* [msk_bootstrap_brokers](msk_bootstrap_brokers.md) * [msk_broker_nodes](msk_broker_nodes.md) * [msk_cluster](msk_cluster.md) * [msk_configuration](msk_configuration.md) @@ -505,6 +507,7 @@ permalink: /data/ * [subnet](subnet.md) * [subnets](subnets.md) * [transfer_server](transfer_server.md) +* [verifiedpermissions_policy_store](verifiedpermissions_policy_store.md) * [vpc](vpc.md) * [vpc_dhcp_options](vpc_dhcp_options.md) * [vpc_endpoint](vpc_endpoint.md) diff --git a/docs/5.x/data/lb_target_group.md b/docs/5.x/data/lb_target_group.md index 80a879ac..165f8f0d 100644 --- a/docs/5.x/data/lb_target_group.md +++ b/docs/5.x/data/lb_target_group.md @@ -16,6 +16,7 @@ This package contains functions and utilities for setting up the data source usi * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) * [`fn withArn()`](#fn-witharn) +* [`fn withLoadBalancingAnomalyMitigation()`](#fn-withloadbalancinganomalymitigation) * [`fn withName()`](#fn-withname) * [`fn withTags()`](#fn-withtags) * [`fn withTimeouts()`](#fn-withtimeouts) @@ -53,6 +54,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `dataSrcLabel` (`string`): The name label of the block. - `arn` (`string`): Set the `arn` field on the resulting data source block. When `null`, the `arn` field will be omitted from the resulting object. + - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting data source block. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting data source block. When `null`, the `name` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object. - `timeouts` (`obj`): Set the `timeouts` field on the resulting data source block. When `null`, the `timeouts` 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.lb_target_group.timeouts.new](#fn-timeoutsnew) constructor. @@ -80,6 +82,7 @@ injecting into a complete block. **Args**: - `arn` (`string`): Set the `arn` field on the resulting object. When `null`, the `arn` field will be omitted from the resulting object. + - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting object. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` 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.lb_target_group.timeouts.new](#fn-timeoutsnew) constructor. @@ -104,6 +107,22 @@ Terraform data source block to set or update the arn field. - `value` (`string`): The value to set for the `arn` field. +### fn withLoadBalancingAnomalyMitigation + +```ts +withLoadBalancingAnomalyMitigation() +``` + +`aws.string.withLoadBalancingAnomalyMitigation` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the load_balancing_anomaly_mitigation field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `load_balancing_anomaly_mitigation` field. + + ### fn withName ```ts diff --git a/docs/5.x/data/mq_broker_engine_types.md b/docs/5.x/data/mq_broker_engine_types.md new file mode 100644 index 00000000..71826ae9 --- /dev/null +++ b/docs/5.x/data/mq_broker_engine_types.md @@ -0,0 +1,92 @@ +--- +permalink: /data/mq_broker_engine_types/ +--- + +# data.mq_broker_engine_types + +`mq_broker_engine_types` represents the `aws_mq_broker_engine_types` Terraform data source. + + + +This package contains functions and utilities for setting up the data source using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withEngineType()`](#fn-withenginetype) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.data.mq_broker_engine_types.new` injects a new `data_aws_mq_broker_engine_types` 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.mq_broker_engine_types.new('some_id') + +You can get the reference to the `id` field of the created `aws.data.mq_broker_engine_types` using the reference: + + $._ref.data_aws_mq_broker_engine_types.some_id.get('id') + +This is the same as directly entering `"${ data_aws_mq_broker_engine_types.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. + - `engine_type` (`string`): Set the `engine_type` field on the resulting data source block. When `null`, the `engine_type` field will be omitted from the resulting object. + +**Returns**: +- A mixin object that injects the new data source into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.data.mq_broker_engine_types.newAttrs` constructs a new object with attributes and blocks configured for the `mq_broker_engine_types` +Terraform data source. + +Unlike [aws.data.mq_broker_engine_types.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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**: + - `engine_type` (`string`): Set the `engine_type` field on the resulting object. When `null`, the `engine_type` field will be omitted from the resulting object. + +**Returns**: + - 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 `mq_broker_engine_types` data source into the root Terraform configuration. + + +### fn withEngineType + +```ts +withEngineType() +``` + +`aws.string.withEngineType` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the engine_type field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `engine_type` field. diff --git a/docs/5.x/data/msk_bootstrap_brokers.md b/docs/5.x/data/msk_bootstrap_brokers.md new file mode 100644 index 00000000..1fd56e63 --- /dev/null +++ b/docs/5.x/data/msk_bootstrap_brokers.md @@ -0,0 +1,92 @@ +--- +permalink: /data/msk_bootstrap_brokers/ +--- + +# data.msk_bootstrap_brokers + +`msk_bootstrap_brokers` represents the `aws_msk_bootstrap_brokers` Terraform data source. + + + +This package contains functions and utilities for setting up the data source using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withClusterArn()`](#fn-withclusterarn) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.data.msk_bootstrap_brokers.new` injects a new `data_aws_msk_bootstrap_brokers` 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.msk_bootstrap_brokers.new('some_id') + +You can get the reference to the `id` field of the created `aws.data.msk_bootstrap_brokers` using the reference: + + $._ref.data_aws_msk_bootstrap_brokers.some_id.get('id') + +This is the same as directly entering `"${ data_aws_msk_bootstrap_brokers.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. + - `cluster_arn` (`string`): Set the `cluster_arn` field on the resulting data source block. + +**Returns**: +- A mixin object that injects the new data source into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.data.msk_bootstrap_brokers.newAttrs` constructs a new object with attributes and blocks configured for the `msk_bootstrap_brokers` +Terraform data source. + +Unlike [aws.data.msk_bootstrap_brokers.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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**: + - `cluster_arn` (`string`): Set the `cluster_arn` field on the resulting object. + +**Returns**: + - 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 `msk_bootstrap_brokers` data source into the root Terraform configuration. + + +### fn withClusterArn + +```ts +withClusterArn() +``` + +`aws.string.withClusterArn` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the cluster_arn field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `cluster_arn` field. diff --git a/docs/5.x/data/verifiedpermissions_policy_store.md b/docs/5.x/data/verifiedpermissions_policy_store.md new file mode 100644 index 00000000..381c55e5 --- /dev/null +++ b/docs/5.x/data/verifiedpermissions_policy_store.md @@ -0,0 +1,71 @@ +--- +permalink: /data/verifiedpermissions_policy_store/ +--- + +# data.verifiedpermissions_policy_store + +`verifiedpermissions_policy_store` represents the `aws_verifiedpermissions_policy_store` Terraform data source. + + + +This package contains functions and utilities for setting up the data source using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.data.verifiedpermissions_policy_store.new` injects a new `data_aws_verifiedpermissions_policy_store` 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.verifiedpermissions_policy_store.new('some_id') + +You can get the reference to the `id` field of the created `aws.data.verifiedpermissions_policy_store` using the reference: + + $._ref.data_aws_verifiedpermissions_policy_store.some_id.get('id') + +This is the same as directly entering `"${ data_aws_verifiedpermissions_policy_store.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. + +**Returns**: +- A mixin object that injects the new data source into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.data.verifiedpermissions_policy_store.newAttrs` constructs a new object with attributes and blocks configured for the `verifiedpermissions_policy_store` +Terraform data source. + +Unlike [aws.data.verifiedpermissions_policy_store.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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. + +**Returns**: + - 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 `verifiedpermissions_policy_store` data source into the root Terraform configuration. diff --git a/docs/5.x/ebs_fast_snapshot_restore.md b/docs/5.x/ebs_fast_snapshot_restore.md new file mode 100644 index 00000000..98606b96 --- /dev/null +++ b/docs/5.x/ebs_fast_snapshot_restore.md @@ -0,0 +1,177 @@ +--- +permalink: /ebs_fast_snapshot_restore/ +--- + +# ebs_fast_snapshot_restore + +`ebs_fast_snapshot_restore` represents the `aws_ebs_fast_snapshot_restore` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withAvailabilityZone()`](#fn-withavailabilityzone) +* [`fn withSnapshotId()`](#fn-withsnapshotid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.ebs_fast_snapshot_restore.new` injects a new `aws_ebs_fast_snapshot_restore` 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.ebs_fast_snapshot_restore.new('some_id') + +You can get the reference to the `id` field of the created `aws.ebs_fast_snapshot_restore` using the reference: + + $._ref.aws_ebs_fast_snapshot_restore.some_id.get('id') + +This is the same as directly entering `"${ aws_ebs_fast_snapshot_restore.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. + - `availability_zone` (`string`): Set the `availability_zone` field on the resulting resource block. + - `snapshot_id` (`string`): Set the `snapshot_id` field on the resulting resource block. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.ebs_fast_snapshot_restore.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.ebs_fast_snapshot_restore.newAttrs` constructs a new object with attributes and blocks configured for the `ebs_fast_snapshot_restore` +Terraform resource. + +Unlike [aws.ebs_fast_snapshot_restore.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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**: + - `availability_zone` (`string`): Set the `availability_zone` field on the resulting object. + - `snapshot_id` (`string`): Set the `snapshot_id` field on the resulting object. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.ebs_fast_snapshot_restore.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: + - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `ebs_fast_snapshot_restore` resource into the root Terraform configuration. + + +### fn withAvailabilityZone + +```ts +withAvailabilityZone() +``` + +`aws.string.withAvailabilityZone` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the availability_zone field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `availability_zone` field. + + +### fn withSnapshotId + +```ts +withSnapshotId() +``` + +`aws.string.withSnapshotId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the snapshot_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `snapshot_id` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`aws.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [aws.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`aws.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [aws.obj.withTimeouts](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`aws.ebs_fast_snapshot_restore.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts` +Terraform sub block. + + + +**Args**: + - `create` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). When `null`, the `create` field will be omitted from the resulting object. + - `delete` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. When `null`, the `delete` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `timeouts` sub block. diff --git a/docs/5.x/efs_file_system.md b/docs/5.x/efs_file_system.md index bff6b313..cb724ee2 100644 --- a/docs/5.x/efs_file_system.md +++ b/docs/5.x/efs_file_system.md @@ -22,12 +22,16 @@ This package contains functions and utilities for setting up the resource using * [`fn withLifecyclePolicy()`](#fn-withlifecyclepolicy) * [`fn withLifecyclePolicyMixin()`](#fn-withlifecyclepolicymixin) * [`fn withPerformanceMode()`](#fn-withperformancemode) +* [`fn withProtection()`](#fn-withprotection) +* [`fn withProtectionMixin()`](#fn-withprotectionmixin) * [`fn withProvisionedThroughputInMibps()`](#fn-withprovisionedthroughputinmibps) * [`fn withTags()`](#fn-withtags) * [`fn withTagsAll()`](#fn-withtagsall) * [`fn withThroughputMode()`](#fn-withthroughputmode) * [`obj lifecycle_policy`](#obj-lifecycle_policy) * [`fn new()`](#fn-lifecycle_policynew) +* [`obj protection`](#obj-protection) + * [`fn new()`](#fn-protectionnew) ## Fields @@ -68,6 +72,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object. - `throughput_mode` (`string`): Set the `throughput_mode` field on the resulting resource block. When `null`, the `throughput_mode` field will be omitted from the resulting object. - `lifecycle_policy` (`list[obj]`): Set the `lifecycle_policy` field on the resulting resource block. When `null`, the `lifecycle_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.efs_file_system.lifecycle_policy.new](#fn-lifecycle_policynew) constructor. + - `protection` (`list[obj]`): Set the `protection` field on the resulting resource block. When `null`, the `protection` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.efs_file_system.protection.new](#fn-protectionnew) constructor. **Returns**: - A mixin object that injects the new resource into the root Terraform configuration. @@ -101,6 +106,7 @@ injecting into a complete block. - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object. - `throughput_mode` (`string`): Set the `throughput_mode` field on the resulting object. When `null`, the `throughput_mode` field will be omitted from the resulting object. - `lifecycle_policy` (`list[obj]`): Set the `lifecycle_policy` field on the resulting object. When `null`, the `lifecycle_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.efs_file_system.lifecycle_policy.new](#fn-lifecycle_policynew) constructor. + - `protection` (`list[obj]`): Set the `protection` field on the resulting object. When `null`, the `protection` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.efs_file_system.protection.new](#fn-protectionnew) constructor. **Returns**: - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `efs_file_system` resource into the root Terraform configuration. @@ -223,6 +229,43 @@ Terraform resource block to set or update the performance_mode field. - `value` (`string`): The value to set for the `performance_mode` field. +### fn withProtection + +```ts +withProtection() +``` + +`aws.list[obj].withProtection` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the protection 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].withProtectionMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `protection` field. + + +### fn withProtectionMixin + +```ts +withProtectionMixin() +``` + +`aws.list[obj].withProtectionMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the protection 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].withProtection](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `protection` field. + + ### fn withProvisionedThroughputInMibps ```ts @@ -304,8 +347,32 @@ Terraform sub block. **Args**: + - `transition_to_archive` (`string`): Set the `transition_to_archive` field on the resulting object. When `null`, the `transition_to_archive` field will be omitted from the resulting object. - `transition_to_ia` (`string`): Set the `transition_to_ia` field on the resulting object. When `null`, the `transition_to_ia` field will be omitted from the resulting object. - `transition_to_primary_storage_class` (`string`): Set the `transition_to_primary_storage_class` field on the resulting object. When `null`, the `transition_to_primary_storage_class` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `lifecycle_policy` sub block. + + +## obj protection + + + +### fn protection.new + +```ts +new() +``` + + +`aws.efs_file_system.protection.new` constructs a new object with attributes and blocks configured for the `protection` +Terraform sub block. + + + +**Args**: + - `replication_overwrite` (`string`): Set the `replication_overwrite` field on the resulting object. When `null`, the `replication_overwrite` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `protection` sub block. diff --git a/docs/5.x/efs_replication_configuration.md b/docs/5.x/efs_replication_configuration.md index 8ee83614..013e6ca5 100644 --- a/docs/5.x/efs_replication_configuration.md +++ b/docs/5.x/efs_replication_configuration.md @@ -195,6 +195,7 @@ Terraform sub block. **Args**: - `availability_zone_name` (`string`): Set the `availability_zone_name` field on the resulting object. When `null`, the `availability_zone_name` field will be omitted from the resulting object. + - `file_system_id` (`string`): Set the `file_system_id` field on the resulting object. When `null`, the `file_system_id` field will be omitted from the resulting object. - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting object. When `null`, the `kms_key_id` field will be omitted from the resulting object. - `region` (`string`): Set the `region` field on the resulting object. When `null`, the `region` field will be omitted from the resulting object. diff --git a/docs/5.x/elasticache_serverless_cache.md b/docs/5.x/elasticache_serverless_cache.md new file mode 100644 index 00000000..3445aed5 --- /dev/null +++ b/docs/5.x/elasticache_serverless_cache.md @@ -0,0 +1,486 @@ +--- +permalink: /elasticache_serverless_cache/ +--- + +# elasticache_serverless_cache + +`elasticache_serverless_cache` represents the `aws_elasticache_serverless_cache` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withCacheUsageLimits()`](#fn-withcacheusagelimits) +* [`fn withCacheUsageLimitsMixin()`](#fn-withcacheusagelimitsmixin) +* [`fn withDailySnapshotTime()`](#fn-withdailysnapshottime) +* [`fn withDescription()`](#fn-withdescription) +* [`fn withEngine()`](#fn-withengine) +* [`fn withKmsKeyId()`](#fn-withkmskeyid) +* [`fn withMajorEngineVersion()`](#fn-withmajorengineversion) +* [`fn withName()`](#fn-withname) +* [`fn withSecurityGroupIds()`](#fn-withsecuritygroupids) +* [`fn withSnapshotArnsToRestore()`](#fn-withsnapshotarnstorestore) +* [`fn withSnapshotRetentionLimit()`](#fn-withsnapshotretentionlimit) +* [`fn withSubnetIds()`](#fn-withsubnetids) +* [`fn withTags()`](#fn-withtags) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withUserGroupId()`](#fn-withusergroupid) +* [`obj cache_usage_limits`](#obj-cache_usage_limits) + * [`fn new()`](#fn-cache_usage_limitsnew) + * [`obj cache_usage_limits.data_storage`](#obj-cache_usage_limitsdata_storage) + * [`fn new()`](#fn-cache_usage_limitsdata_storagenew) + * [`obj cache_usage_limits.ecpu_per_second`](#obj-cache_usage_limitsecpu_per_second) + * [`fn new()`](#fn-cache_usage_limitsecpu_per_secondnew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.elasticache_serverless_cache.new` injects a new `aws_elasticache_serverless_cache` 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.elasticache_serverless_cache.new('some_id') + +You can get the reference to the `id` field of the created `aws.elasticache_serverless_cache` using the reference: + + $._ref.aws_elasticache_serverless_cache.some_id.get('id') + +This is the same as directly entering `"${ aws_elasticache_serverless_cache.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. + - `daily_snapshot_time` (`string`): Set the `daily_snapshot_time` field on the resulting resource block. When `null`, the `daily_snapshot_time` field will be omitted from the resulting object. + - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object. + - `engine` (`string`): Set the `engine` field on the resulting resource block. + - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting resource block. When `null`, the `kms_key_id` field will be omitted from the resulting object. + - `major_engine_version` (`string`): Set the `major_engine_version` field on the resulting resource block. When `null`, the `major_engine_version` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block. When `null`, the `security_group_ids` field will be omitted from the resulting object. + - `snapshot_arns_to_restore` (`list`): Set the `snapshot_arns_to_restore` field on the resulting resource block. When `null`, the `snapshot_arns_to_restore` field will be omitted from the resulting object. + - `snapshot_retention_limit` (`number`): Set the `snapshot_retention_limit` field on the resulting resource block. When `null`, the `snapshot_retention_limit` field will be omitted from the resulting object. + - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting resource block. When `null`, the `subnet_ids` field will be omitted from the resulting object. + - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. + - `user_group_id` (`string`): Set the `user_group_id` field on the resulting resource block. When `null`, the `user_group_id` field will be omitted from the resulting object. + - `cache_usage_limits` (`list[obj]`): Set the `cache_usage_limits` field on the resulting resource block. When `null`, the `cache_usage_limits` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.elasticache_serverless_cache.cache_usage_limits.new](#fn-cache_usage_limitsnew) constructor. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.elasticache_serverless_cache.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.elasticache_serverless_cache.newAttrs` constructs a new object with attributes and blocks configured for the `elasticache_serverless_cache` +Terraform resource. + +Unlike [aws.elasticache_serverless_cache.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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**: + - `daily_snapshot_time` (`string`): Set the `daily_snapshot_time` field on the resulting object. When `null`, the `daily_snapshot_time` field will be omitted from the resulting object. + - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object. + - `engine` (`string`): Set the `engine` field on the resulting object. + - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting object. When `null`, the `kms_key_id` field will be omitted from the resulting object. + - `major_engine_version` (`string`): Set the `major_engine_version` field on the resulting object. When `null`, the `major_engine_version` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. When `null`, the `security_group_ids` field will be omitted from the resulting object. + - `snapshot_arns_to_restore` (`list`): Set the `snapshot_arns_to_restore` field on the resulting object. When `null`, the `snapshot_arns_to_restore` field will be omitted from the resulting object. + - `snapshot_retention_limit` (`number`): Set the `snapshot_retention_limit` field on the resulting object. When `null`, the `snapshot_retention_limit` field will be omitted from the resulting object. + - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting object. When `null`, the `subnet_ids` field will be omitted from the resulting object. + - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. + - `user_group_id` (`string`): Set the `user_group_id` field on the resulting object. When `null`, the `user_group_id` field will be omitted from the resulting object. + - `cache_usage_limits` (`list[obj]`): Set the `cache_usage_limits` field on the resulting object. When `null`, the `cache_usage_limits` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.elasticache_serverless_cache.cache_usage_limits.new](#fn-cache_usage_limitsnew) constructor. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.elasticache_serverless_cache.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: + - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `elasticache_serverless_cache` resource into the root Terraform configuration. + + +### fn withCacheUsageLimits + +```ts +withCacheUsageLimits() +``` + +`aws.list[obj].withCacheUsageLimits` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the cache_usage_limits 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].withCacheUsageLimitsMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `cache_usage_limits` field. + + +### fn withCacheUsageLimitsMixin + +```ts +withCacheUsageLimitsMixin() +``` + +`aws.list[obj].withCacheUsageLimitsMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the cache_usage_limits 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].withCacheUsageLimits](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `cache_usage_limits` field. + + +### fn withDailySnapshotTime + +```ts +withDailySnapshotTime() +``` + +`aws.string.withDailySnapshotTime` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the daily_snapshot_time field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `daily_snapshot_time` field. + + +### fn withDescription + +```ts +withDescription() +``` + +`aws.string.withDescription` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the description field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `description` field. + + +### fn withEngine + +```ts +withEngine() +``` + +`aws.string.withEngine` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the engine field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `engine` field. + + +### fn withKmsKeyId + +```ts +withKmsKeyId() +``` + +`aws.string.withKmsKeyId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the kms_key_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `kms_key_id` field. + + +### fn withMajorEngineVersion + +```ts +withMajorEngineVersion() +``` + +`aws.string.withMajorEngineVersion` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the major_engine_version field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `major_engine_version` field. + + +### fn withName + +```ts +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 the `name` field. + + +### fn withSecurityGroupIds + +```ts +withSecurityGroupIds() +``` + +`aws.list.withSecurityGroupIds` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the security_group_ids field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `security_group_ids` field. + + +### fn withSnapshotArnsToRestore + +```ts +withSnapshotArnsToRestore() +``` + +`aws.list.withSnapshotArnsToRestore` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the snapshot_arns_to_restore field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `snapshot_arns_to_restore` field. + + +### fn withSnapshotRetentionLimit + +```ts +withSnapshotRetentionLimit() +``` + +`aws.number.withSnapshotRetentionLimit` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the snapshot_retention_limit field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `snapshot_retention_limit` field. + + +### fn withSubnetIds + +```ts +withSubnetIds() +``` + +`aws.list.withSubnetIds` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the subnet_ids field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `subnet_ids` field. + + +### fn withTags + +```ts +withTags() +``` + +`aws.obj.withTags` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the tags field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `tags` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`aws.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [aws.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`aws.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [aws.obj.withTimeouts](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withUserGroupId + +```ts +withUserGroupId() +``` + +`aws.string.withUserGroupId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the user_group_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `user_group_id` field. + + +## obj cache_usage_limits + + + +### fn cache_usage_limits.new + +```ts +new() +``` + + +`aws.elasticache_serverless_cache.cache_usage_limits.new` constructs a new object with attributes and blocks configured for the `cache_usage_limits` +Terraform sub block. + + + +**Args**: + - `data_storage` (`list[obj]`): Set the `data_storage` field on the resulting object. When `null`, the `data_storage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.elasticache_serverless_cache.cache_usage_limits.data_storage.new](#fn-cache_usage_limitsdata_storagenew) constructor. + - `ecpu_per_second` (`list[obj]`): Set the `ecpu_per_second` field on the resulting object. When `null`, the `ecpu_per_second` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.elasticache_serverless_cache.cache_usage_limits.ecpu_per_second.new](#fn-cache_usage_limitsecpu_per_secondnew) constructor. + +**Returns**: + - An attribute object that represents the `cache_usage_limits` sub block. + + +## obj cache_usage_limits.data_storage + + + +### fn cache_usage_limits.data_storage.new + +```ts +new() +``` + + +`aws.elasticache_serverless_cache.cache_usage_limits.data_storage.new` constructs a new object with attributes and blocks configured for the `data_storage` +Terraform sub block. + + + +**Args**: + - `maximum` (`number`): Set the `maximum` field on the resulting object. + - `unit` (`string`): Set the `unit` field on the resulting object. + +**Returns**: + - An attribute object that represents the `data_storage` sub block. + + +## obj cache_usage_limits.ecpu_per_second + + + +### fn cache_usage_limits.ecpu_per_second.new + +```ts +new() +``` + + +`aws.elasticache_serverless_cache.cache_usage_limits.ecpu_per_second.new` constructs a new object with attributes and blocks configured for the `ecpu_per_second` +Terraform sub block. + + + +**Args**: + - `maximum` (`number`): Set the `maximum` field on the resulting object. + +**Returns**: + - An attribute object that represents the `ecpu_per_second` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`aws.elasticache_serverless_cache.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts` +Terraform sub block. + + + +**Args**: + - `create` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). When `null`, the `create` field will be omitted from the resulting object. + - `delete` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. When `null`, the `delete` field will be omitted from the resulting object. + - `update` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). When `null`, the `update` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `timeouts` sub block. diff --git a/docs/5.x/fsx_ontap_file_system.md b/docs/5.x/fsx_ontap_file_system.md index c1ed6f09..93b87400 100644 --- a/docs/5.x/fsx_ontap_file_system.md +++ b/docs/5.x/fsx_ontap_file_system.md @@ -22,6 +22,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withDiskIopsConfigurationMixin()`](#fn-withdiskiopsconfigurationmixin) * [`fn withEndpointIpAddressRange()`](#fn-withendpointipaddressrange) * [`fn withFsxAdminPassword()`](#fn-withfsxadminpassword) +* [`fn withHaPairs()`](#fn-withhapairs) * [`fn withKmsKeyId()`](#fn-withkmskeyid) * [`fn withPreferredSubnetId()`](#fn-withpreferredsubnetid) * [`fn withRouteTableIds()`](#fn-withroutetableids) @@ -32,6 +33,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withTags()`](#fn-withtags) * [`fn withTagsAll()`](#fn-withtagsall) * [`fn withThroughputCapacity()`](#fn-withthroughputcapacity) +* [`fn withThroughputCapacityPerHaPair()`](#fn-withthroughputcapacityperhapair) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withWeeklyMaintenanceStartTime()`](#fn-withweeklymaintenancestarttime) @@ -74,6 +76,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `deployment_type` (`string`): Set the `deployment_type` field on the resulting resource block. - `endpoint_ip_address_range` (`string`): Set the `endpoint_ip_address_range` field on the resulting resource block. When `null`, the `endpoint_ip_address_range` field will be omitted from the resulting object. - `fsx_admin_password` (`string`): Set the `fsx_admin_password` field on the resulting resource block. When `null`, the `fsx_admin_password` field will be omitted from the resulting object. + - `ha_pairs` (`number`): Set the `ha_pairs` field on the resulting resource block. When `null`, the `ha_pairs` field will be omitted from the resulting object. - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting resource block. When `null`, the `kms_key_id` field will be omitted from the resulting object. - `preferred_subnet_id` (`string`): Set the `preferred_subnet_id` field on the resulting resource block. - `route_table_ids` (`list`): Set the `route_table_ids` field on the resulting resource block. When `null`, the `route_table_ids` field will be omitted from the resulting object. @@ -83,7 +86,8 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting resource block. - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object. - - `throughput_capacity` (`number`): Set the `throughput_capacity` field on the resulting resource block. + - `throughput_capacity` (`number`): Set the `throughput_capacity` field on the resulting resource block. When `null`, the `throughput_capacity` field will be omitted from the resulting object. + - `throughput_capacity_per_ha_pair` (`number`): Set the `throughput_capacity_per_ha_pair` field on the resulting resource block. When `null`, the `throughput_capacity_per_ha_pair` field will be omitted from the resulting object. - `weekly_maintenance_start_time` (`string`): Set the `weekly_maintenance_start_time` field on the resulting resource block. When `null`, the `weekly_maintenance_start_time` field will be omitted from the resulting object. - `disk_iops_configuration` (`list[obj]`): Set the `disk_iops_configuration` field on the resulting resource block. When `null`, the `disk_iops_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.fsx_ontap_file_system.disk_iops_configuration.new](#fn-disk_iops_configurationnew) constructor. - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.fsx_ontap_file_system.timeouts.new](#fn-timeoutsnew) constructor. @@ -115,6 +119,7 @@ injecting into a complete block. - `deployment_type` (`string`): Set the `deployment_type` field on the resulting object. - `endpoint_ip_address_range` (`string`): Set the `endpoint_ip_address_range` field on the resulting object. When `null`, the `endpoint_ip_address_range` field will be omitted from the resulting object. - `fsx_admin_password` (`string`): Set the `fsx_admin_password` field on the resulting object. When `null`, the `fsx_admin_password` field will be omitted from the resulting object. + - `ha_pairs` (`number`): Set the `ha_pairs` field on the resulting object. When `null`, the `ha_pairs` field will be omitted from the resulting object. - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting object. When `null`, the `kms_key_id` field will be omitted from the resulting object. - `preferred_subnet_id` (`string`): Set the `preferred_subnet_id` field on the resulting object. - `route_table_ids` (`list`): Set the `route_table_ids` field on the resulting object. When `null`, the `route_table_ids` field will be omitted from the resulting object. @@ -124,7 +129,8 @@ injecting into a complete block. - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object. - - `throughput_capacity` (`number`): Set the `throughput_capacity` field on the resulting object. + - `throughput_capacity` (`number`): Set the `throughput_capacity` field on the resulting object. When `null`, the `throughput_capacity` field will be omitted from the resulting object. + - `throughput_capacity_per_ha_pair` (`number`): Set the `throughput_capacity_per_ha_pair` field on the resulting object. When `null`, the `throughput_capacity_per_ha_pair` field will be omitted from the resulting object. - `weekly_maintenance_start_time` (`string`): Set the `weekly_maintenance_start_time` field on the resulting object. When `null`, the `weekly_maintenance_start_time` field will be omitted from the resulting object. - `disk_iops_configuration` (`list[obj]`): Set the `disk_iops_configuration` field on the resulting object. When `null`, the `disk_iops_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.fsx_ontap_file_system.disk_iops_configuration.new](#fn-disk_iops_configurationnew) constructor. - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.fsx_ontap_file_system.timeouts.new](#fn-timeoutsnew) constructor. @@ -250,6 +256,22 @@ Terraform resource block to set or update the fsx_admin_password field. - `value` (`string`): The value to set for the `fsx_admin_password` field. +### fn withHaPairs + +```ts +withHaPairs() +``` + +`aws.number.withHaPairs` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the ha_pairs field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `ha_pairs` field. + + ### fn withKmsKeyId ```ts @@ -410,6 +432,22 @@ Terraform resource block to set or update the throughput_capacity field. - `value` (`number`): The value to set for the `throughput_capacity` field. +### fn withThroughputCapacityPerHaPair + +```ts +withThroughputCapacityPerHaPair() +``` + +`aws.number.withThroughputCapacityPerHaPair` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the throughput_capacity_per_ha_pair field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `throughput_capacity_per_ha_pair` field. + + ### fn withTimeouts ```ts diff --git a/docs/5.x/glue_catalog_table.md b/docs/5.x/glue_catalog_table.md index 7cc52e94..cce41244 100644 --- a/docs/5.x/glue_catalog_table.md +++ b/docs/5.x/glue_catalog_table.md @@ -793,6 +793,7 @@ Terraform sub block. - `catalog_id` (`string`): Set the `catalog_id` field on the resulting object. - `database_name` (`string`): Set the `database_name` field on the resulting object. - `name` (`string`): Set the `name` field on the resulting object. + - `region` (`string`): Set the `region` field on the resulting object. When `null`, the `region` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `target_table` sub block. diff --git a/docs/5.x/glue_classifier.md b/docs/5.x/glue_classifier.md index 36e4a8e5..971b8376 100644 --- a/docs/5.x/glue_classifier.md +++ b/docs/5.x/glue_classifier.md @@ -289,6 +289,7 @@ Terraform sub block. - `disable_value_trimming` (`bool`): Set the `disable_value_trimming` field on the resulting object. When `null`, the `disable_value_trimming` field will be omitted from the resulting object. - `header` (`list`): Set the `header` field on the resulting object. When `null`, the `header` field will be omitted from the resulting object. - `quote_symbol` (`string`): Set the `quote_symbol` field on the resulting object. When `null`, the `quote_symbol` field will be omitted from the resulting object. + - `serde` (`string`): Set the `serde` field on the resulting object. When `null`, the `serde` field will be omitted from the resulting object. **Returns**: - An attribute object that represents the `csv_classifier` sub block. diff --git a/docs/5.x/imagebuilder_workflow.md b/docs/5.x/imagebuilder_workflow.md new file mode 100644 index 00000000..309797b1 --- /dev/null +++ b/docs/5.x/imagebuilder_workflow.md @@ -0,0 +1,263 @@ +--- +permalink: /imagebuilder_workflow/ +--- + +# imagebuilder_workflow + +`imagebuilder_workflow` represents the `aws_imagebuilder_workflow` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withChangeDescription()`](#fn-withchangedescription) +* [`fn withData()`](#fn-withdata) +* [`fn withDescription()`](#fn-withdescription) +* [`fn withKmsKeyId()`](#fn-withkmskeyid) +* [`fn withName()`](#fn-withname) +* [`fn withTags()`](#fn-withtags) +* [`fn withTagsAll()`](#fn-withtagsall) +* [`fn withType()`](#fn-withtype) +* [`fn withUri()`](#fn-withuri) +* [`fn withVersion()`](#fn-withversion) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.imagebuilder_workflow.new` injects a new `aws_imagebuilder_workflow` 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.imagebuilder_workflow.new('some_id') + +You can get the reference to the `id` field of the created `aws.imagebuilder_workflow` using the reference: + + $._ref.aws_imagebuilder_workflow.some_id.get('id') + +This is the same as directly entering `"${ aws_imagebuilder_workflow.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. + - `change_description` (`string`): Set the `change_description` field on the resulting resource block. When `null`, the `change_description` field will be omitted from the resulting object. + - `data` (`string`): Set the `data` field on the resulting resource block. When `null`, the `data` field will be omitted from the resulting object. + - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object. + - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting resource block. When `null`, the `kms_key_id` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. + - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object. + - `type` (`string`): Set the `type` field on the resulting resource block. + - `uri` (`string`): Set the `uri` field on the resulting resource block. When `null`, the `uri` field will be omitted from the resulting object. + - `version` (`string`): Set the `version` field on the resulting resource block. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.imagebuilder_workflow.newAttrs` constructs a new object with attributes and blocks configured for the `imagebuilder_workflow` +Terraform resource. + +Unlike [aws.imagebuilder_workflow.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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**: + - `change_description` (`string`): Set the `change_description` field on the resulting object. When `null`, the `change_description` field will be omitted from the resulting object. + - `data` (`string`): Set the `data` field on the resulting object. When `null`, the `data` field will be omitted from the resulting object. + - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object. + - `kms_key_id` (`string`): Set the `kms_key_id` field on the resulting object. When `null`, the `kms_key_id` field will be omitted from the resulting object. + - `name` (`string`): Set the `name` field on the resulting object. + - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. + - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object. + - `type` (`string`): Set the `type` field on the resulting object. + - `uri` (`string`): Set the `uri` field on the resulting object. When `null`, the `uri` field will be omitted from the resulting object. + - `version` (`string`): Set the `version` field on the resulting object. + +**Returns**: + - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `imagebuilder_workflow` resource into the root Terraform configuration. + + +### fn withChangeDescription + +```ts +withChangeDescription() +``` + +`aws.string.withChangeDescription` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the change_description field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `change_description` field. + + +### fn withData + +```ts +withData() +``` + +`aws.string.withData` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the data field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `data` field. + + +### fn withDescription + +```ts +withDescription() +``` + +`aws.string.withDescription` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the description field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `description` field. + + +### fn withKmsKeyId + +```ts +withKmsKeyId() +``` + +`aws.string.withKmsKeyId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the kms_key_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `kms_key_id` field. + + +### fn withName + +```ts +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 the `name` field. + + +### fn withTags + +```ts +withTags() +``` + +`aws.obj.withTags` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the tags field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `tags` field. + + +### fn withTagsAll + +```ts +withTagsAll() +``` + +`aws.obj.withTagsAll` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the tags_all field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `tags_all` field. + + +### fn withType + +```ts +withType() +``` + +`aws.string.withType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `type` field. + + +### fn withUri + +```ts +withUri() +``` + +`aws.string.withUri` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the uri field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `uri` field. + + +### fn withVersion + +```ts +withVersion() +``` + +`aws.string.withVersion` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the version field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `version` field. diff --git a/docs/5.x/kinesis_firehose_delivery_stream.md b/docs/5.x/kinesis_firehose_delivery_stream.md index 356cd286..73e36a71 100644 --- a/docs/5.x/kinesis_firehose_delivery_stream.md +++ b/docs/5.x/kinesis_firehose_delivery_stream.md @@ -124,6 +124,8 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-opensearch_configurationnew) * [`obj opensearch_configuration.cloudwatch_logging_options`](#obj-opensearch_configurationcloudwatch_logging_options) * [`fn new()`](#fn-opensearch_configurationcloudwatch_logging_optionsnew) + * [`obj opensearch_configuration.document_id_options`](#obj-opensearch_configurationdocument_id_options) + * [`fn new()`](#fn-opensearch_configurationdocument_id_optionsnew) * [`obj opensearch_configuration.processing_configuration`](#obj-opensearch_configurationprocessing_configuration) * [`fn new()`](#fn-opensearch_configurationprocessing_configurationnew) * [`obj opensearch_configuration.processing_configuration.processors`](#obj-opensearch_configurationprocessing_configurationprocessors) @@ -1819,6 +1821,7 @@ Terraform sub block. - `s3_backup_mode` (`string`): Set the `s3_backup_mode` field on the resulting object. When `null`, the `s3_backup_mode` field will be omitted from the resulting object. - `type_name` (`string`): Set the `type_name` field on the resulting object. When `null`, the `type_name` field will be omitted from the resulting object. - `cloudwatch_logging_options` (`list[obj]`): Set the `cloudwatch_logging_options` field on the resulting object. When `null`, the `cloudwatch_logging_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.cloudwatch_logging_options.new](#fn-opensearch_configurationcloudwatch_logging_optionsnew) constructor. + - `document_id_options` (`list[obj]`): Set the `document_id_options` field on the resulting object. When `null`, the `document_id_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.document_id_options.new](#fn-opensearch_configurationdocument_id_optionsnew) constructor. - `processing_configuration` (`list[obj]`): Set the `processing_configuration` field on the resulting object. When `null`, the `processing_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.processing_configuration.new](#fn-opensearch_configurationprocessing_configurationnew) constructor. - `s3_configuration` (`list[obj]`): Set the `s3_configuration` field on the resulting object. When `null`, the `s3_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.s3_configuration.new](#fn-opensearch_configurations3_configurationnew) constructor. - `vpc_config` (`list[obj]`): Set the `vpc_config` field on the resulting object. When `null`, the `vpc_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kinesis_firehose_delivery_stream.opensearch_configuration.vpc_config.new](#fn-opensearch_configurationvpc_confignew) constructor. @@ -1852,6 +1855,29 @@ Terraform sub block. - An attribute object that represents the `cloudwatch_logging_options` sub block. +## obj opensearch_configuration.document_id_options + + + +### fn opensearch_configuration.document_id_options.new + +```ts +new() +``` + + +`aws.kinesis_firehose_delivery_stream.opensearch_configuration.document_id_options.new` constructs a new object with attributes and blocks configured for the `document_id_options` +Terraform sub block. + + + +**Args**: + - `default_document_id_format` (`string`): Set the `default_document_id_format` field on the resulting object. + +**Returns**: + - An attribute object that represents the `document_id_options` sub block. + + ## obj opensearch_configuration.processing_configuration @@ -2502,6 +2528,8 @@ Terraform sub block. **Args**: + - `buffering_interval` (`number`): Set the `buffering_interval` field on the resulting object. When `null`, the `buffering_interval` field will be omitted from the resulting object. + - `buffering_size` (`number`): Set the `buffering_size` field on the resulting object. When `null`, the `buffering_size` field will be omitted from the resulting object. - `hec_acknowledgment_timeout` (`number`): Set the `hec_acknowledgment_timeout` field on the resulting object. When `null`, the `hec_acknowledgment_timeout` field will be omitted from the resulting object. - `hec_endpoint` (`string`): Set the `hec_endpoint` field on the resulting object. - `hec_endpoint_type` (`string`): Set the `hec_endpoint_type` field on the resulting object. When `null`, the `hec_endpoint_type` field will be omitted from the resulting object. diff --git a/docs/5.x/kinesis_resource_policy.md b/docs/5.x/kinesis_resource_policy.md new file mode 100644 index 00000000..d32a30bb --- /dev/null +++ b/docs/5.x/kinesis_resource_policy.md @@ -0,0 +1,111 @@ +--- +permalink: /kinesis_resource_policy/ +--- + +# kinesis_resource_policy + +`kinesis_resource_policy` represents the `aws_kinesis_resource_policy` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withPolicy()`](#fn-withpolicy) +* [`fn withResourceArn()`](#fn-withresourcearn) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.kinesis_resource_policy.new` injects a new `aws_kinesis_resource_policy` 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.kinesis_resource_policy.new('some_id') + +You can get the reference to the `id` field of the created `aws.kinesis_resource_policy` using the reference: + + $._ref.aws_kinesis_resource_policy.some_id.get('id') + +This is the same as directly entering `"${ aws_kinesis_resource_policy.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. + - `policy` (`string`): Set the `policy` field on the resulting resource block. + - `resource_arn` (`string`): Set the `resource_arn` field on the resulting resource block. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.kinesis_resource_policy.newAttrs` constructs a new object with attributes and blocks configured for the `kinesis_resource_policy` +Terraform resource. + +Unlike [aws.kinesis_resource_policy.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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**: + - `policy` (`string`): Set the `policy` field on the resulting object. + - `resource_arn` (`string`): Set the `resource_arn` field on the resulting object. + +**Returns**: + - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `kinesis_resource_policy` resource into the root Terraform configuration. + + +### fn withPolicy + +```ts +withPolicy() +``` + +`aws.string.withPolicy` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the policy field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `policy` field. + + +### fn withResourceArn + +```ts +withResourceArn() +``` + +`aws.string.withResourceArn` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the resource_arn field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resource_arn` field. diff --git a/docs/5.x/kms_key.md b/docs/5.x/kms_key.md index 930abf22..0b66f948 100644 --- a/docs/5.x/kms_key.md +++ b/docs/5.x/kms_key.md @@ -29,6 +29,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withTagsAll()`](#fn-withtagsall) * [`fn withTimeouts()`](#fn-withtimeouts) * [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`fn withXksKeyId()`](#fn-withxkskeyid) * [`obj timeouts`](#obj-timeouts) * [`fn new()`](#fn-timeoutsnew) @@ -73,6 +74,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `policy` (`string`): Set the `policy` field on the resulting resource block. When `null`, the `policy` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object. + - `xks_key_id` (`string`): Set the `xks_key_id` field on the resulting resource block. When `null`, the `xks_key_id` field will be omitted from the resulting object. - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kms_key.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -109,6 +111,7 @@ injecting into a complete block. - `policy` (`string`): Set the `policy` field on the resulting object. When `null`, the `policy` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object. + - `xks_key_id` (`string`): Set the `xks_key_id` field on the resulting object. When `null`, the `xks_key_id` field will be omitted from the resulting object. - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.kms_key.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: @@ -343,6 +346,22 @@ function. - `value` (`obj`): The value to set for the `timeouts` field. +### fn withXksKeyId + +```ts +withXksKeyId() +``` + +`aws.string.withXksKeyId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the xks_key_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `xks_key_id` field. + + ## obj timeouts diff --git a/docs/5.x/lambda_function.md b/docs/5.x/lambda_function.md index d6ce3f7e..aa611ea6 100644 --- a/docs/5.x/lambda_function.md +++ b/docs/5.x/lambda_function.md @@ -34,6 +34,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withImageUri()`](#fn-withimageuri) * [`fn withKmsKeyArn()`](#fn-withkmskeyarn) * [`fn withLayers()`](#fn-withlayers) +* [`fn withLoggingConfig()`](#fn-withloggingconfig) +* [`fn withLoggingConfigMixin()`](#fn-withloggingconfigmixin) * [`fn withMemorySize()`](#fn-withmemorysize) * [`fn withPackageType()`](#fn-withpackagetype) * [`fn withPublish()`](#fn-withpublish) @@ -68,6 +70,8 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-file_system_confignew) * [`obj image_config`](#obj-image_config) * [`fn new()`](#fn-image_confignew) +* [`obj logging_config`](#obj-logging_config) + * [`fn new()`](#fn-logging_confignew) * [`obj snap_start`](#obj-snap_start) * [`fn new()`](#fn-snap_startnew) * [`obj timeouts`](#obj-timeouts) @@ -136,6 +140,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `ephemeral_storage` (`list[obj]`): Set the `ephemeral_storage` field on the resulting resource block. When `null`, the `ephemeral_storage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.ephemeral_storage.new](#fn-ephemeral_storagenew) constructor. - `file_system_config` (`list[obj]`): Set the `file_system_config` field on the resulting resource block. When `null`, the `file_system_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.file_system_config.new](#fn-file_system_confignew) constructor. - `image_config` (`list[obj]`): Set the `image_config` field on the resulting resource block. When `null`, the `image_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.image_config.new](#fn-image_confignew) constructor. + - `logging_config` (`list[obj]`): Set the `logging_config` field on the resulting resource block. When `null`, the `logging_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.logging_config.new](#fn-logging_confignew) constructor. - `snap_start` (`list[obj]`): Set the `snap_start` field on the resulting resource block. When `null`, the `snap_start` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.snap_start.new](#fn-snap_startnew) constructor. - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.timeouts.new](#fn-timeoutsnew) constructor. - `tracing_config` (`list[obj]`): Set the `tracing_config` field on the resulting resource block. When `null`, the `tracing_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.tracing_config.new](#fn-tracing_confignew) constructor. @@ -193,6 +198,7 @@ injecting into a complete block. - `ephemeral_storage` (`list[obj]`): Set the `ephemeral_storage` field on the resulting object. When `null`, the `ephemeral_storage` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.ephemeral_storage.new](#fn-ephemeral_storagenew) constructor. - `file_system_config` (`list[obj]`): Set the `file_system_config` field on the resulting object. When `null`, the `file_system_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.file_system_config.new](#fn-file_system_confignew) constructor. - `image_config` (`list[obj]`): Set the `image_config` field on the resulting object. When `null`, the `image_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.image_config.new](#fn-image_confignew) constructor. + - `logging_config` (`list[obj]`): Set the `logging_config` field on the resulting object. When `null`, the `logging_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.logging_config.new](#fn-logging_confignew) constructor. - `snap_start` (`list[obj]`): Set the `snap_start` field on the resulting object. When `null`, the `snap_start` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.snap_start.new](#fn-snap_startnew) constructor. - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.timeouts.new](#fn-timeoutsnew) constructor. - `tracing_config` (`list[obj]`): Set the `tracing_config` field on the resulting object. When `null`, the `tracing_config` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.lambda_function.tracing_config.new](#fn-tracing_confignew) constructor. @@ -531,6 +537,43 @@ Terraform resource block to set or update the layers field. - `value` (`list`): The value to set for the `layers` field. +### fn withLoggingConfig + +```ts +withLoggingConfig() +``` + +`aws.list[obj].withLoggingConfig` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the logging_config 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].withLoggingConfigMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `logging_config` field. + + +### fn withLoggingConfigMixin + +```ts +withLoggingConfigMixin() +``` + +`aws.list[obj].withLoggingConfigMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the logging_config 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].withLoggingConfig](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `logging_config` field. + + ### fn withMemorySize ```ts @@ -1052,6 +1095,32 @@ Terraform sub block. - An attribute object that represents the `image_config` sub block. +## obj logging_config + + + +### fn logging_config.new + +```ts +new() +``` + + +`aws.lambda_function.logging_config.new` constructs a new object with attributes and blocks configured for the `logging_config` +Terraform sub block. + + + +**Args**: + - `application_log_level` (`string`): Set the `application_log_level` field on the resulting object. When `null`, the `application_log_level` field will be omitted from the resulting object. + - `log_format` (`string`): Set the `log_format` field on the resulting object. + - `log_group` (`string`): Set the `log_group` field on the resulting object. When `null`, the `log_group` field will be omitted from the resulting object. + - `system_log_level` (`string`): Set the `system_log_level` field on the resulting object. When `null`, the `system_log_level` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `logging_config` sub block. + + ## obj snap_start diff --git a/docs/5.x/lb_target_group.md b/docs/5.x/lb_target_group.md index 75d1d588..0bfe7644 100644 --- a/docs/5.x/lb_target_group.md +++ b/docs/5.x/lb_target_group.md @@ -22,6 +22,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withIpAddressType()`](#fn-withipaddresstype) * [`fn withLambdaMultiValueHeadersEnabled()`](#fn-withlambdamultivalueheadersenabled) * [`fn withLoadBalancingAlgorithmType()`](#fn-withloadbalancingalgorithmtype) +* [`fn withLoadBalancingAnomalyMitigation()`](#fn-withloadbalancinganomalymitigation) * [`fn withLoadBalancingCrossZoneEnabled()`](#fn-withloadbalancingcrosszoneenabled) * [`fn withName()`](#fn-withname) * [`fn withNamePrefix()`](#fn-withnameprefix) @@ -84,6 +85,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting resource block. When `null`, the `ip_address_type` field will be omitted from the resulting object. - `lambda_multi_value_headers_enabled` (`bool`): Set the `lambda_multi_value_headers_enabled` field on the resulting resource block. When `null`, the `lambda_multi_value_headers_enabled` field will be omitted from the resulting object. - `load_balancing_algorithm_type` (`string`): Set the `load_balancing_algorithm_type` field on the resulting resource block. When `null`, the `load_balancing_algorithm_type` field will be omitted from the resulting object. + - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting resource block. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object. - `load_balancing_cross_zone_enabled` (`string`): Set the `load_balancing_cross_zone_enabled` field on the resulting resource block. When `null`, the `load_balancing_cross_zone_enabled` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting resource block. When `null`, the `name` field will be omitted from the resulting object. - `name_prefix` (`string`): Set the `name_prefix` field on the resulting resource block. When `null`, the `name_prefix` field will be omitted from the resulting object. @@ -129,6 +131,7 @@ injecting into a complete block. - `ip_address_type` (`string`): Set the `ip_address_type` field on the resulting object. When `null`, the `ip_address_type` field will be omitted from the resulting object. - `lambda_multi_value_headers_enabled` (`bool`): Set the `lambda_multi_value_headers_enabled` field on the resulting object. When `null`, the `lambda_multi_value_headers_enabled` field will be omitted from the resulting object. - `load_balancing_algorithm_type` (`string`): Set the `load_balancing_algorithm_type` field on the resulting object. When `null`, the `load_balancing_algorithm_type` field will be omitted from the resulting object. + - `load_balancing_anomaly_mitigation` (`string`): Set the `load_balancing_anomaly_mitigation` field on the resulting object. When `null`, the `load_balancing_anomaly_mitigation` field will be omitted from the resulting object. - `load_balancing_cross_zone_enabled` (`string`): Set the `load_balancing_cross_zone_enabled` field on the resulting object. When `null`, the `load_balancing_cross_zone_enabled` field will be omitted from the resulting object. - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object. - `name_prefix` (`string`): Set the `name_prefix` field on the resulting object. When `null`, the `name_prefix` field will be omitted from the resulting object. @@ -268,6 +271,22 @@ Terraform resource block to set or update the load_balancing_algorithm_type fiel - `value` (`string`): The value to set for the `load_balancing_algorithm_type` field. +### fn withLoadBalancingAnomalyMitigation + +```ts +withLoadBalancingAnomalyMitigation() +``` + +`aws.string.withLoadBalancingAnomalyMitigation` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the load_balancing_anomaly_mitigation field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `load_balancing_anomaly_mitigation` field. + + ### fn withLoadBalancingCrossZoneEnabled ```ts diff --git a/docs/5.x/neptune_cluster.md b/docs/5.x/neptune_cluster.md index 51e9223d..eab9f8f2 100644 --- a/docs/5.x/neptune_cluster.md +++ b/docs/5.x/neptune_cluster.md @@ -43,6 +43,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withSkipFinalSnapshot()`](#fn-withskipfinalsnapshot) * [`fn withSnapshotIdentifier()`](#fn-withsnapshotidentifier) * [`fn withStorageEncrypted()`](#fn-withstorageencrypted) +* [`fn withStorageType()`](#fn-withstoragetype) * [`fn withTags()`](#fn-withtags) * [`fn withTagsAll()`](#fn-withtagsall) * [`fn withTimeouts()`](#fn-withtimeouts) @@ -108,6 +109,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `skip_final_snapshot` (`bool`): Set the `skip_final_snapshot` field on the resulting resource block. When `null`, the `skip_final_snapshot` field will be omitted from the resulting object. - `snapshot_identifier` (`string`): Set the `snapshot_identifier` field on the resulting resource block. When `null`, the `snapshot_identifier` field will be omitted from the resulting object. - `storage_encrypted` (`bool`): Set the `storage_encrypted` field on the resulting resource block. When `null`, the `storage_encrypted` field will be omitted from the resulting object. + - `storage_type` (`string`): Set the `storage_type` field on the resulting resource block. When `null`, the `storage_type` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object. - `vpc_security_group_ids` (`list`): Set the `vpc_security_group_ids` field on the resulting resource block. When `null`, the `vpc_security_group_ids` field will be omitted from the resulting object. @@ -162,6 +164,7 @@ injecting into a complete block. - `skip_final_snapshot` (`bool`): Set the `skip_final_snapshot` field on the resulting object. When `null`, the `skip_final_snapshot` field will be omitted from the resulting object. - `snapshot_identifier` (`string`): Set the `snapshot_identifier` field on the resulting object. When `null`, the `snapshot_identifier` field will be omitted from the resulting object. - `storage_encrypted` (`bool`): Set the `storage_encrypted` field on the resulting object. When `null`, the `storage_encrypted` field will be omitted from the resulting object. + - `storage_type` (`string`): Set the `storage_type` field on the resulting object. When `null`, the `storage_type` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object. - `vpc_security_group_ids` (`list`): Set the `vpc_security_group_ids` field on the resulting object. When `null`, the `vpc_security_group_ids` field will be omitted from the resulting object. @@ -625,6 +628,22 @@ Terraform resource block to set or update the storage_encrypted field. - `value` (`bool`): The value to set for the `storage_encrypted` field. +### fn withStorageType + +```ts +withStorageType() +``` + +`aws.string.withStorageType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the storage_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `storage_type` field. + + ### fn withTags ```ts diff --git a/docs/5.x/networkfirewall_firewall.md b/docs/5.x/networkfirewall_firewall.md index 785fb939..8ae6b67a 100644 --- a/docs/5.x/networkfirewall_firewall.md +++ b/docs/5.x/networkfirewall_firewall.md @@ -27,11 +27,15 @@ This package contains functions and utilities for setting up the resource using * [`fn withSubnetMappingMixin()`](#fn-withsubnetmappingmixin) * [`fn withTags()`](#fn-withtags) * [`fn withTagsAll()`](#fn-withtagsall) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) * [`fn withVpcId()`](#fn-withvpcid) * [`obj encryption_configuration`](#obj-encryption_configuration) * [`fn new()`](#fn-encryption_configurationnew) * [`obj subnet_mapping`](#obj-subnet_mapping) * [`fn new()`](#fn-subnet_mappingnew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) ## Fields @@ -73,6 +77,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `vpc_id` (`string`): Set the `vpc_id` field on the resulting resource block. - `encryption_configuration` (`list[obj]`): Set the `encryption_configuration` field on the resulting resource block. When `null`, the `encryption_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.encryption_configuration.new](#fn-encryption_configurationnew) constructor. - `subnet_mapping` (`list[obj]`): Set the `subnet_mapping` field on the resulting resource block. When `null`, the `subnet_mapping` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.subnet_mapping.new](#fn-subnet_mappingnew) constructor. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: - A mixin object that injects the new resource into the root Terraform configuration. @@ -107,6 +112,7 @@ injecting into a complete block. - `vpc_id` (`string`): Set the `vpc_id` field on the resulting object. - `encryption_configuration` (`list[obj]`): Set the `encryption_configuration` field on the resulting object. When `null`, the `encryption_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.encryption_configuration.new](#fn-encryption_configurationnew) constructor. - `subnet_mapping` (`list[obj]`): Set the `subnet_mapping` field on the resulting object. When `null`, the `subnet_mapping` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.subnet_mapping.new](#fn-subnet_mappingnew) constructor. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `networkfirewall_firewall` resource into the root Terraform configuration. @@ -314,6 +320,42 @@ Terraform resource block to set or update the tags_all field. - `value` (`obj`): The value to set for the `tags_all` field. +### fn withTimeouts + +```ts +withTimeouts() +``` + +`aws.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [aws.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`aws.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [aws.obj.withTimeouts](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + ### fn withVpcId ```ts @@ -376,3 +418,28 @@ Terraform sub block. **Returns**: - An attribute object that represents the `subnet_mapping` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`aws.networkfirewall_firewall.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts` +Terraform sub block. + + + +**Args**: + - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object. + - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object. + - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `timeouts` sub block. diff --git a/docs/5.x/networkfirewall_firewall_policy.md b/docs/5.x/networkfirewall_firewall_policy.md index efcac6cf..bba2560c 100644 --- a/docs/5.x/networkfirewall_firewall_policy.md +++ b/docs/5.x/networkfirewall_firewall_policy.md @@ -301,6 +301,7 @@ Terraform sub block. - `stateful_default_actions` (`list`): Set the `stateful_default_actions` field on the resulting object. When `null`, the `stateful_default_actions` field will be omitted from the resulting object. - `stateless_default_actions` (`list`): Set the `stateless_default_actions` field on the resulting object. - `stateless_fragment_default_actions` (`list`): Set the `stateless_fragment_default_actions` field on the resulting object. + - `tls_inspection_configuration_arn` (`string`): Set the `tls_inspection_configuration_arn` field on the resulting object. When `null`, the `tls_inspection_configuration_arn` field will be omitted from the resulting object. - `policy_variables` (`list[obj]`): Set the `policy_variables` field on the resulting object. When `null`, the `policy_variables` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.policy_variables.new](#fn-firewall_policypolicy_variablesnew) constructor. - `stateful_engine_options` (`list[obj]`): Set the `stateful_engine_options` field on the resulting object. When `null`, the `stateful_engine_options` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.stateful_engine_options.new](#fn-firewall_policystateful_engine_optionsnew) constructor. - `stateful_rule_group_reference` (`list[obj]`): Set the `stateful_rule_group_reference` field on the resulting object. When `null`, the `stateful_rule_group_reference` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.networkfirewall_firewall_policy.firewall_policy.stateful_rule_group_reference.new](#fn-firewall_policystateful_rule_group_referencenew) constructor. diff --git a/docs/5.x/prometheus_scraper.md b/docs/5.x/prometheus_scraper.md new file mode 100644 index 00000000..78afaffd --- /dev/null +++ b/docs/5.x/prometheus_scraper.md @@ -0,0 +1,380 @@ +--- +permalink: /prometheus_scraper/ +--- + +# prometheus_scraper + +`prometheus_scraper` represents the `aws_prometheus_scraper` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withAlias()`](#fn-withalias) +* [`fn withDestination()`](#fn-withdestination) +* [`fn withDestinationMixin()`](#fn-withdestinationmixin) +* [`fn withScrapeConfiguration()`](#fn-withscrapeconfiguration) +* [`fn withSource()`](#fn-withsource) +* [`fn withSourceMixin()`](#fn-withsourcemixin) +* [`fn withTags()`](#fn-withtags) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj destination`](#obj-destination) + * [`fn new()`](#fn-destinationnew) + * [`obj destination.amp`](#obj-destinationamp) + * [`fn new()`](#fn-destinationampnew) +* [`obj source`](#obj-source) + * [`fn new()`](#fn-sourcenew) + * [`obj source.eks`](#obj-sourceeks) + * [`fn new()`](#fn-sourceeksnew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.prometheus_scraper.new` injects a new `aws_prometheus_scraper` 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.prometheus_scraper.new('some_id') + +You can get the reference to the `id` field of the created `aws.prometheus_scraper` using the reference: + + $._ref.aws_prometheus_scraper.some_id.get('id') + +This is the same as directly entering `"${ aws_prometheus_scraper.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. + - `alias` (`string`): Set the `alias` field on the resulting resource block. When `null`, the `alias` field will be omitted from the resulting object. + - `scrape_configuration` (`string`): Set the `scrape_configuration` field on the resulting resource block. + - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. + - `destination` (`list[obj]`): Set the `destination` field on the resulting resource block. When `null`, the `destination` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.destination.new](#fn-destinationnew) constructor. + - `source` (`list[obj]`): Set the `source` field on the resulting resource block. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.source.new](#fn-sourcenew) constructor. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.prometheus_scraper.newAttrs` constructs a new object with attributes and blocks configured for the `prometheus_scraper` +Terraform resource. + +Unlike [aws.prometheus_scraper.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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**: + - `alias` (`string`): Set the `alias` field on the resulting object. When `null`, the `alias` field will be omitted from the resulting object. + - `scrape_configuration` (`string`): Set the `scrape_configuration` field on the resulting object. + - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. + - `destination` (`list[obj]`): Set the `destination` field on the resulting object. When `null`, the `destination` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.destination.new](#fn-destinationnew) constructor. + - `source` (`list[obj]`): Set the `source` field on the resulting object. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.source.new](#fn-sourcenew) constructor. + - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: + - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `prometheus_scraper` resource into the root Terraform configuration. + + +### fn withAlias + +```ts +withAlias() +``` + +`aws.string.withAlias` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the alias field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `alias` field. + + +### fn withDestination + +```ts +withDestination() +``` + +`aws.list[obj].withDestination` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the destination 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].withDestinationMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `destination` field. + + +### fn withDestinationMixin + +```ts +withDestinationMixin() +``` + +`aws.list[obj].withDestinationMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the destination 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].withDestination](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `destination` field. + + +### fn withScrapeConfiguration + +```ts +withScrapeConfiguration() +``` + +`aws.string.withScrapeConfiguration` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the scrape_configuration field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `scrape_configuration` field. + + +### fn withSource + +```ts +withSource() +``` + +`aws.list[obj].withSource` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the source 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].withSourceMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `source` field. + + +### fn withSourceMixin + +```ts +withSourceMixin() +``` + +`aws.list[obj].withSourceMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the source 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].withSource](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `source` field. + + +### fn withTags + +```ts +withTags() +``` + +`aws.obj.withTags` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the tags field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `tags` field. + + +### fn withTimeouts + +```ts +withTimeouts() +``` + +`aws.obj.withTimeouts` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the timeouts field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [aws.obj.withTimeoutsMixin](TODO) function. + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +### fn withTimeoutsMixin + +```ts +withTimeoutsMixin() +``` + +`aws.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the timeouts field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [aws.obj.withTimeouts](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `timeouts` field. + + +## obj destination + + + +### fn destination.new + +```ts +new() +``` + + +`aws.prometheus_scraper.destination.new` constructs a new object with attributes and blocks configured for the `destination` +Terraform sub block. + + + +**Args**: + - `amp` (`list[obj]`): Set the `amp` field on the resulting object. When `null`, the `amp` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.destination.amp.new](#fn-destinationampnew) constructor. + +**Returns**: + - An attribute object that represents the `destination` sub block. + + +## obj destination.amp + + + +### fn destination.amp.new + +```ts +new() +``` + + +`aws.prometheus_scraper.destination.amp.new` constructs a new object with attributes and blocks configured for the `amp` +Terraform sub block. + + + +**Args**: + - `workspace_arn` (`string`): Set the `workspace_arn` field on the resulting object. + +**Returns**: + - An attribute object that represents the `amp` sub block. + + +## obj source + + + +### fn source.new + +```ts +new() +``` + + +`aws.prometheus_scraper.source.new` constructs a new object with attributes and blocks configured for the `source` +Terraform sub block. + + + +**Args**: + - `eks` (`list[obj]`): Set the `eks` field on the resulting object. When `null`, the `eks` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_scraper.source.eks.new](#fn-sourceeksnew) constructor. + +**Returns**: + - An attribute object that represents the `source` sub block. + + +## obj source.eks + + + +### fn source.eks.new + +```ts +new() +``` + + +`aws.prometheus_scraper.source.eks.new` constructs a new object with attributes and blocks configured for the `eks` +Terraform sub block. + + + +**Args**: + - `cluster_arn` (`string`): Set the `cluster_arn` field on the resulting object. + - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. When `null`, the `security_group_ids` field will be omitted from the resulting object. + - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting object. + +**Returns**: + - An attribute object that represents the `eks` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`aws.prometheus_scraper.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts` +Terraform sub block. + + + +**Args**: + - `create` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). When `null`, the `create` field will be omitted from the resulting object. + - `delete` (`string`): A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. When `null`, the `delete` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `timeouts` sub block. diff --git a/docs/5.x/prometheus_workspace.md b/docs/5.x/prometheus_workspace.md index f3448708..48f9ba49 100644 --- a/docs/5.x/prometheus_workspace.md +++ b/docs/5.x/prometheus_workspace.md @@ -16,6 +16,7 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) * [`fn withAlias()`](#fn-withalias) +* [`fn withKmsKeyArn()`](#fn-withkmskeyarn) * [`fn withLoggingConfiguration()`](#fn-withloggingconfiguration) * [`fn withLoggingConfigurationMixin()`](#fn-withloggingconfigurationmixin) * [`fn withTags()`](#fn-withtags) @@ -53,6 +54,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. - `alias` (`string`): Set the `alias` field on the resulting resource block. When `null`, the `alias` field will be omitted from the resulting object. + - `kms_key_arn` (`string`): Set the `kms_key_arn` field on the resulting resource block. When `null`, the `kms_key_arn` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object. - `logging_configuration` (`list[obj]`): Set the `logging_configuration` field on the resulting resource block. When `null`, the `logging_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_workspace.logging_configuration.new](#fn-logging_configurationnew) constructor. @@ -80,6 +82,7 @@ injecting into a complete block. **Args**: - `alias` (`string`): Set the `alias` field on the resulting object. When `null`, the `alias` field will be omitted from the resulting object. + - `kms_key_arn` (`string`): Set the `kms_key_arn` field on the resulting object. When `null`, the `kms_key_arn` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object. - `logging_configuration` (`list[obj]`): Set the `logging_configuration` field on the resulting object. When `null`, the `logging_configuration` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.prometheus_workspace.logging_configuration.new](#fn-logging_configurationnew) constructor. @@ -104,6 +107,22 @@ Terraform resource block to set or update the alias field. - `value` (`string`): The value to set for the `alias` field. +### fn withKmsKeyArn + +```ts +withKmsKeyArn() +``` + +`aws.string.withKmsKeyArn` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the kms_key_arn field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `kms_key_arn` field. + + ### fn withLoggingConfiguration ```ts diff --git a/docs/5.x/provider.md b/docs/5.x/provider.md index a3d00777..f599fa35 100644 --- a/docs/5.x/provider.md +++ b/docs/5.x/provider.md @@ -284,6 +284,7 @@ Terraform sub block. - `applicationautoscaling` (`string`): Use this to override the default service endpoint URL When `null`, the `applicationautoscaling` field will be omitted from the resulting object. - `applicationinsights` (`string`): Use this to override the default service endpoint URL When `null`, the `applicationinsights` field will be omitted from the resulting object. - `appmesh` (`string`): Use this to override the default service endpoint URL When `null`, the `appmesh` field will be omitted from the resulting object. + - `appregistry` (`string`): Use this to override the default service endpoint URL When `null`, the `appregistry` field will be omitted from the resulting object. - `apprunner` (`string`): Use this to override the default service endpoint URL When `null`, the `apprunner` field will be omitted from the resulting object. - `appstream` (`string`): Use this to override the default service endpoint URL When `null`, the `appstream` field will be omitted from the resulting object. - `appsync` (`string`): Use this to override the default service endpoint URL When `null`, the `appsync` field will be omitted from the resulting object. @@ -391,6 +392,7 @@ Terraform sub block. - `glue` (`string`): Use this to override the default service endpoint URL When `null`, the `glue` field will be omitted from the resulting object. - `grafana` (`string`): Use this to override the default service endpoint URL When `null`, the `grafana` field will be omitted from the resulting object. - `greengrass` (`string`): Use this to override the default service endpoint URL When `null`, the `greengrass` field will be omitted from the resulting object. + - `groundstation` (`string`): Use this to override the default service endpoint URL When `null`, the `groundstation` field will be omitted from the resulting object. - `guardduty` (`string`): Use this to override the default service endpoint URL When `null`, the `guardduty` field will be omitted from the resulting object. - `healthlake` (`string`): Use this to override the default service endpoint URL When `null`, the `healthlake` field will be omitted from the resulting object. - `iam` (`string`): Use this to override the default service endpoint URL When `null`, the `iam` field will be omitted from the resulting object. @@ -416,6 +418,7 @@ Terraform sub block. - `kms` (`string`): Use this to override the default service endpoint URL When `null`, the `kms` field will be omitted from the resulting object. - `lakeformation` (`string`): Use this to override the default service endpoint URL When `null`, the `lakeformation` field will be omitted from the resulting object. - `lambda` (`string`): Use this to override the default service endpoint URL When `null`, the `lambda` field will be omitted from the resulting object. + - `launchwizard` (`string`): Use this to override the default service endpoint URL When `null`, the `launchwizard` field will be omitted from the resulting object. - `lex` (`string`): Use this to override the default service endpoint URL When `null`, the `lex` field will be omitted from the resulting object. - `lexmodelbuilding` (`string`): Use this to override the default service endpoint URL When `null`, the `lexmodelbuilding` field will be omitted from the resulting object. - `lexmodelbuildingservice` (`string`): Use this to override the default service endpoint URL When `null`, the `lexmodelbuildingservice` field will be omitted from the resulting object. @@ -452,12 +455,14 @@ Terraform sub block. - `organizations` (`string`): Use this to override the default service endpoint URL When `null`, the `organizations` field will be omitted from the resulting object. - `osis` (`string`): Use this to override the default service endpoint URL When `null`, the `osis` field will be omitted from the resulting object. - `outposts` (`string`): Use this to override the default service endpoint URL When `null`, the `outposts` field will be omitted from the resulting object. + - `pcaconnectorad` (`string`): Use this to override the default service endpoint URL When `null`, the `pcaconnectorad` field will be omitted from the resulting object. - `pinpoint` (`string`): Use this to override the default service endpoint URL When `null`, the `pinpoint` field will be omitted from the resulting object. - `pipes` (`string`): Use this to override the default service endpoint URL When `null`, the `pipes` field will be omitted from the resulting object. - `polly` (`string`): Use this to override the default service endpoint URL When `null`, the `polly` field will be omitted from the resulting object. - `pricing` (`string`): Use this to override the default service endpoint URL When `null`, the `pricing` field will be omitted from the resulting object. - `prometheus` (`string`): Use this to override the default service endpoint URL When `null`, the `prometheus` field will be omitted from the resulting object. - `prometheusservice` (`string`): Use this to override the default service endpoint URL When `null`, the `prometheusservice` field will be omitted from the resulting object. + - `qbusiness` (`string`): Use this to override the default service endpoint URL When `null`, the `qbusiness` field will be omitted from the resulting object. - `qldb` (`string`): Use this to override the default service endpoint URL When `null`, the `qldb` field will be omitted from the resulting object. - `quicksight` (`string`): Use this to override the default service endpoint URL When `null`, the `quicksight` field will be omitted from the resulting object. - `ram` (`string`): Use this to override the default service endpoint URL When `null`, the `ram` field will be omitted from the resulting object. @@ -494,6 +499,7 @@ Terraform sub block. - `serverlessapprepo` (`string`): Use this to override the default service endpoint URL When `null`, the `serverlessapprepo` field will be omitted from the resulting object. - `serverlessrepo` (`string`): Use this to override the default service endpoint URL When `null`, the `serverlessrepo` field will be omitted from the resulting object. - `servicecatalog` (`string`): Use this to override the default service endpoint URL When `null`, the `servicecatalog` field will be omitted from the resulting object. + - `servicecatalogappregistry` (`string`): Use this to override the default service endpoint URL When `null`, the `servicecatalogappregistry` field will be omitted from the resulting object. - `servicediscovery` (`string`): Use this to override the default service endpoint URL When `null`, the `servicediscovery` field will be omitted from the resulting object. - `servicequotas` (`string`): Use this to override the default service endpoint URL When `null`, the `servicequotas` field will be omitted from the resulting object. - `ses` (`string`): Use this to override the default service endpoint URL When `null`, the `ses` field will be omitted from the resulting object. @@ -507,6 +513,7 @@ Terraform sub block. - `ssm` (`string`): Use this to override the default service endpoint URL When `null`, the `ssm` field will be omitted from the resulting object. - `ssmcontacts` (`string`): Use this to override the default service endpoint URL When `null`, the `ssmcontacts` field will be omitted from the resulting object. - `ssmincidents` (`string`): Use this to override the default service endpoint URL When `null`, the `ssmincidents` field will be omitted from the resulting object. + - `ssmsap` (`string`): Use this to override the default service endpoint URL When `null`, the `ssmsap` field will be omitted from the resulting object. - `sso` (`string`): Use this to override the default service endpoint URL When `null`, the `sso` field will be omitted from the resulting object. - `ssoadmin` (`string`): Use this to override the default service endpoint URL When `null`, the `ssoadmin` field will be omitted from the resulting object. - `stepfunctions` (`string`): Use this to override the default service endpoint URL When `null`, the `stepfunctions` field will be omitted from the resulting object. @@ -523,6 +530,7 @@ Terraform sub block. - `waf` (`string`): Use this to override the default service endpoint URL When `null`, the `waf` field will be omitted from the resulting object. - `wafregional` (`string`): Use this to override the default service endpoint URL When `null`, the `wafregional` field will be omitted from the resulting object. - `wafv2` (`string`): Use this to override the default service endpoint URL When `null`, the `wafv2` field will be omitted from the resulting object. + - `wellarchitected` (`string`): Use this to override the default service endpoint URL When `null`, the `wellarchitected` field will be omitted from the resulting object. - `worklink` (`string`): Use this to override the default service endpoint URL When `null`, the `worklink` field will be omitted from the resulting object. - `workspaces` (`string`): Use this to override the default service endpoint URL When `null`, the `workspaces` field will be omitted from the resulting object. - `xray` (`string`): Use this to override the default service endpoint URL When `null`, the `xray` field will be omitted from the resulting object. diff --git a/docs/5.x/redshiftserverless_workgroup.md b/docs/5.x/redshiftserverless_workgroup.md index 25587a49..a427883a 100644 --- a/docs/5.x/redshiftserverless_workgroup.md +++ b/docs/5.x/redshiftserverless_workgroup.md @@ -20,6 +20,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withConfigParameterMixin()`](#fn-withconfigparametermixin) * [`fn withEnhancedVpcRouting()`](#fn-withenhancedvpcrouting) * [`fn withNamespaceName()`](#fn-withnamespacename) +* [`fn withPort()`](#fn-withport) * [`fn withPubliclyAccessible()`](#fn-withpubliclyaccessible) * [`fn withSecurityGroupIds()`](#fn-withsecuritygroupids) * [`fn withSubnetIds()`](#fn-withsubnetids) @@ -65,6 +66,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `base_capacity` (`number`): Set the `base_capacity` field on the resulting resource block. When `null`, the `base_capacity` field will be omitted from the resulting object. - `enhanced_vpc_routing` (`bool`): Set the `enhanced_vpc_routing` field on the resulting resource block. When `null`, the `enhanced_vpc_routing` field will be omitted from the resulting object. - `namespace_name` (`string`): Set the `namespace_name` field on the resulting resource block. + - `port` (`number`): Set the `port` field on the resulting resource block. When `null`, the `port` field will be omitted from the resulting object. - `publicly_accessible` (`bool`): Set the `publicly_accessible` field on the resulting resource block. When `null`, the `publicly_accessible` field will be omitted from the resulting object. - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block. When `null`, the `security_group_ids` field will be omitted from the resulting object. - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting resource block. When `null`, the `subnet_ids` field will be omitted from the resulting object. @@ -99,6 +101,7 @@ injecting into a complete block. - `base_capacity` (`number`): Set the `base_capacity` field on the resulting object. When `null`, the `base_capacity` field will be omitted from the resulting object. - `enhanced_vpc_routing` (`bool`): Set the `enhanced_vpc_routing` field on the resulting object. When `null`, the `enhanced_vpc_routing` field will be omitted from the resulting object. - `namespace_name` (`string`): Set the `namespace_name` field on the resulting object. + - `port` (`number`): Set the `port` field on the resulting object. When `null`, the `port` field will be omitted from the resulting object. - `publicly_accessible` (`bool`): Set the `publicly_accessible` field on the resulting object. When `null`, the `publicly_accessible` field will be omitted from the resulting object. - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. When `null`, the `security_group_ids` field will be omitted from the resulting object. - `subnet_ids` (`list`): Set the `subnet_ids` field on the resulting object. When `null`, the `subnet_ids` field will be omitted from the resulting object. @@ -197,6 +200,22 @@ Terraform resource block to set or update the namespace_name field. - `value` (`string`): The value to set for the `namespace_name` field. +### fn withPort + +```ts +withPort() +``` + +`aws.number.withPort` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the port field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `port` field. + + ### fn withPubliclyAccessible ```ts diff --git a/docs/5.x/route53_resolver_endpoint.md b/docs/5.x/route53_resolver_endpoint.md index 6a89f34b..61dd18d7 100644 --- a/docs/5.x/route53_resolver_endpoint.md +++ b/docs/5.x/route53_resolver_endpoint.md @@ -19,6 +19,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withIpAddress()`](#fn-withipaddress) * [`fn withIpAddressMixin()`](#fn-withipaddressmixin) * [`fn withName()`](#fn-withname) +* [`fn withProtocols()`](#fn-withprotocols) +* [`fn withResolverEndpointType()`](#fn-withresolverendpointtype) * [`fn withSecurityGroupIds()`](#fn-withsecuritygroupids) * [`fn withTags()`](#fn-withtags) * [`fn withTagsAll()`](#fn-withtagsall) @@ -60,6 +62,8 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `resourceLabel` (`string`): The name label of the block. - `direction` (`string`): Set the `direction` field on the resulting resource block. - `name` (`string`): Set the `name` field on the resulting resource block. When `null`, the `name` field will be omitted from the resulting object. + - `protocols` (`list`): Set the `protocols` field on the resulting resource block. When `null`, the `protocols` field will be omitted from the resulting object. + - `resolver_endpoint_type` (`string`): Set the `resolver_endpoint_type` field on the resulting resource block. When `null`, the `resolver_endpoint_type` field will be omitted from the resulting object. - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block. - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object. @@ -90,6 +94,8 @@ injecting into a complete block. **Args**: - `direction` (`string`): Set the `direction` field on the resulting object. - `name` (`string`): Set the `name` field on the resulting object. When `null`, the `name` field will be omitted from the resulting object. + - `protocols` (`list`): Set the `protocols` field on the resulting object. When `null`, the `protocols` field will be omitted from the resulting object. + - `resolver_endpoint_type` (`string`): Set the `resolver_endpoint_type` field on the resulting object. When `null`, the `resolver_endpoint_type` field will be omitted from the resulting object. - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object. @@ -169,6 +175,38 @@ Terraform resource block to set or update the name field. - `value` (`string`): The value to set for the `name` field. +### fn withProtocols + +```ts +withProtocols() +``` + +`aws.list.withProtocols` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the protocols field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `protocols` field. + + +### fn withResolverEndpointType + +```ts +withResolverEndpointType() +``` + +`aws.string.withResolverEndpointType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the resolver_endpoint_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `resolver_endpoint_type` field. + + ### fn withSecurityGroupIds ```ts diff --git a/docs/5.x/securitylake_aws_log_source.md b/docs/5.x/securitylake_aws_log_source.md new file mode 100644 index 00000000..39de6667 --- /dev/null +++ b/docs/5.x/securitylake_aws_log_source.md @@ -0,0 +1,142 @@ +--- +permalink: /securitylake_aws_log_source/ +--- + +# securitylake_aws_log_source + +`securitylake_aws_log_source` represents the `aws_securitylake_aws_log_source` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withSource()`](#fn-withsource) +* [`fn withSourceMixin()`](#fn-withsourcemixin) +* [`obj source`](#obj-source) + * [`fn new()`](#fn-sourcenew) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.securitylake_aws_log_source.new` injects a new `aws_securitylake_aws_log_source` 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.securitylake_aws_log_source.new('some_id') + +You can get the reference to the `id` field of the created `aws.securitylake_aws_log_source` using the reference: + + $._ref.aws_securitylake_aws_log_source.some_id.get('id') + +This is the same as directly entering `"${ aws_securitylake_aws_log_source.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. + - `source` (`list[obj]`): Set the `source` field on the resulting resource block. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.securitylake_aws_log_source.source.new](#fn-sourcenew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.securitylake_aws_log_source.newAttrs` constructs a new object with attributes and blocks configured for the `securitylake_aws_log_source` +Terraform resource. + +Unlike [aws.securitylake_aws_log_source.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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**: + - `source` (`list[obj]`): Set the `source` field on the resulting object. When `null`, the `source` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.securitylake_aws_log_source.source.new](#fn-sourcenew) constructor. + +**Returns**: + - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `securitylake_aws_log_source` resource into the root Terraform configuration. + + +### fn withSource + +```ts +withSource() +``` + +`aws.list[obj].withSource` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the source 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].withSourceMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `source` field. + + +### fn withSourceMixin + +```ts +withSourceMixin() +``` + +`aws.list[obj].withSourceMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the source 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].withSource](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `source` field. + + +## obj source + + + +### fn source.new + +```ts +new() +``` + + +`aws.securitylake_aws_log_source.source.new` constructs a new object with attributes and blocks configured for the `source` +Terraform sub block. + + + +**Args**: + - `accounts` (`list`): Set the `accounts` field on the resulting object. When `null`, the `accounts` field will be omitted from the resulting object. + - `regions` (`list`): Set the `regions` field on the resulting object. + - `source_name` (`string`): Set the `source_name` field on the resulting object. + - `source_version` (`string`): Set the `source_version` field on the resulting object. When `null`, the `source_version` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `source` sub block. diff --git a/docs/5.x/ssoadmin_application_access_scope.md b/docs/5.x/ssoadmin_application_access_scope.md new file mode 100644 index 00000000..ef07027d --- /dev/null +++ b/docs/5.x/ssoadmin_application_access_scope.md @@ -0,0 +1,130 @@ +--- +permalink: /ssoadmin_application_access_scope/ +--- + +# ssoadmin_application_access_scope + +`ssoadmin_application_access_scope` represents the `aws_ssoadmin_application_access_scope` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withApplicationArn()`](#fn-withapplicationarn) +* [`fn withAuthorizedTargets()`](#fn-withauthorizedtargets) +* [`fn withScope()`](#fn-withscope) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.ssoadmin_application_access_scope.new` injects a new `aws_ssoadmin_application_access_scope` 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.ssoadmin_application_access_scope.new('some_id') + +You can get the reference to the `id` field of the created `aws.ssoadmin_application_access_scope` using the reference: + + $._ref.aws_ssoadmin_application_access_scope.some_id.get('id') + +This is the same as directly entering `"${ aws_ssoadmin_application_access_scope.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. + - `application_arn` (`string`): Set the `application_arn` field on the resulting resource block. + - `authorized_targets` (`list`): Set the `authorized_targets` field on the resulting resource block. When `null`, the `authorized_targets` field will be omitted from the resulting object. + - `scope` (`string`): Set the `scope` field on the resulting resource block. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.ssoadmin_application_access_scope.newAttrs` constructs a new object with attributes and blocks configured for the `ssoadmin_application_access_scope` +Terraform resource. + +Unlike [aws.ssoadmin_application_access_scope.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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**: + - `application_arn` (`string`): Set the `application_arn` field on the resulting object. + - `authorized_targets` (`list`): Set the `authorized_targets` field on the resulting object. When `null`, the `authorized_targets` field will be omitted from the resulting object. + - `scope` (`string`): Set the `scope` field on the resulting object. + +**Returns**: + - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `ssoadmin_application_access_scope` resource into the root Terraform configuration. + + +### fn withApplicationArn + +```ts +withApplicationArn() +``` + +`aws.string.withApplicationArn` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the application_arn field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `application_arn` field. + + +### fn withAuthorizedTargets + +```ts +withAuthorizedTargets() +``` + +`aws.list.withAuthorizedTargets` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the authorized_targets field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `authorized_targets` field. + + +### fn withScope + +```ts +withScope() +``` + +`aws.string.withScope` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the scope field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `scope` field. diff --git a/docs/5.x/verifiedaccess_endpoint.md b/docs/5.x/verifiedaccess_endpoint.md index dcc98abf..0846395d 100644 --- a/docs/5.x/verifiedaccess_endpoint.md +++ b/docs/5.x/verifiedaccess_endpoint.md @@ -25,6 +25,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withLoadBalancerOptionsMixin()`](#fn-withloadbalanceroptionsmixin) * [`fn withNetworkInterfaceOptions()`](#fn-withnetworkinterfaceoptions) * [`fn withNetworkInterfaceOptionsMixin()`](#fn-withnetworkinterfaceoptionsmixin) +* [`fn withPolicyDocument()`](#fn-withpolicydocument) * [`fn withSecurityGroupIds()`](#fn-withsecuritygroupids) * [`fn withSseSpecification()`](#fn-withssespecification) * [`fn withSseSpecificationMixin()`](#fn-withssespecificationmixin) @@ -77,6 +78,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `domain_certificate_arn` (`string`): Set the `domain_certificate_arn` field on the resulting resource block. - `endpoint_domain_prefix` (`string`): Set the `endpoint_domain_prefix` field on the resulting resource block. - `endpoint_type` (`string`): Set the `endpoint_type` field on the resulting resource block. + - `policy_document` (`string`): Set the `policy_document` field on the resulting resource block. When `null`, the `policy_document` field will be omitted from the resulting object. - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting resource block. When `null`, the `security_group_ids` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting resource block. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting resource block. When `null`, the `tags_all` field will be omitted from the resulting object. @@ -114,6 +116,7 @@ injecting into a complete block. - `domain_certificate_arn` (`string`): Set the `domain_certificate_arn` field on the resulting object. - `endpoint_domain_prefix` (`string`): Set the `endpoint_domain_prefix` field on the resulting object. - `endpoint_type` (`string`): Set the `endpoint_type` field on the resulting object. + - `policy_document` (`string`): Set the `policy_document` field on the resulting object. When `null`, the `policy_document` field will be omitted from the resulting object. - `security_group_ids` (`list`): Set the `security_group_ids` field on the resulting object. When `null`, the `security_group_ids` field will be omitted from the resulting object. - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object. - `tags_all` (`obj`): Set the `tags_all` field on the resulting object. When `null`, the `tags_all` field will be omitted from the resulting object. @@ -297,6 +300,22 @@ function. - `value` (`list[obj]`): The value to set for the `network_interface_options` field. +### fn withPolicyDocument + +```ts +withPolicyDocument() +``` + +`aws.string.withPolicyDocument` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the policy_document field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `policy_document` field. + + ### fn withSecurityGroupIds ```ts diff --git a/docs/5.x/verifiedpermissions_policy_store.md b/docs/5.x/verifiedpermissions_policy_store.md new file mode 100644 index 00000000..f1df9105 --- /dev/null +++ b/docs/5.x/verifiedpermissions_policy_store.md @@ -0,0 +1,158 @@ +--- +permalink: /verifiedpermissions_policy_store/ +--- + +# verifiedpermissions_policy_store + +`verifiedpermissions_policy_store` represents the `aws_verifiedpermissions_policy_store` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withDescription()`](#fn-withdescription) +* [`fn withValidationSettings()`](#fn-withvalidationsettings) +* [`fn withValidationSettingsMixin()`](#fn-withvalidationsettingsmixin) +* [`obj validation_settings`](#obj-validation_settings) + * [`fn new()`](#fn-validation_settingsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.verifiedpermissions_policy_store.new` injects a new `aws_verifiedpermissions_policy_store` 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.verifiedpermissions_policy_store.new('some_id') + +You can get the reference to the `id` field of the created `aws.verifiedpermissions_policy_store` using the reference: + + $._ref.aws_verifiedpermissions_policy_store.some_id.get('id') + +This is the same as directly entering `"${ aws_verifiedpermissions_policy_store.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. + - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object. + - `validation_settings` (`list[obj]`): Set the `validation_settings` field on the resulting resource block. When `null`, the `validation_settings` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedpermissions_policy_store.validation_settings.new](#fn-validation_settingsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.verifiedpermissions_policy_store.newAttrs` constructs a new object with attributes and blocks configured for the `verifiedpermissions_policy_store` +Terraform resource. + +Unlike [aws.verifiedpermissions_policy_store.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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**: + - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object. + - `validation_settings` (`list[obj]`): Set the `validation_settings` field on the resulting object. When `null`, the `validation_settings` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedpermissions_policy_store.validation_settings.new](#fn-validation_settingsnew) constructor. + +**Returns**: + - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `verifiedpermissions_policy_store` resource into the root Terraform configuration. + + +### fn withDescription + +```ts +withDescription() +``` + +`aws.string.withDescription` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the description field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `description` field. + + +### fn withValidationSettings + +```ts +withValidationSettings() +``` + +`aws.list[obj].withValidationSettings` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the validation_settings 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].withValidationSettingsMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `validation_settings` field. + + +### fn withValidationSettingsMixin + +```ts +withValidationSettingsMixin() +``` + +`aws.list[obj].withValidationSettingsMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the validation_settings 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].withValidationSettings](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `validation_settings` field. + + +## obj validation_settings + + + +### fn validation_settings.new + +```ts +new() +``` + + +`aws.verifiedpermissions_policy_store.validation_settings.new` constructs a new object with attributes and blocks configured for the `validation_settings` +Terraform sub block. + + + +**Args**: + - `mode` (`string`): Set the `mode` field on the resulting object. + +**Returns**: + - An attribute object that represents the `validation_settings` sub block. diff --git a/docs/5.x/verifiedpermissions_policy_template.md b/docs/5.x/verifiedpermissions_policy_template.md new file mode 100644 index 00000000..134ca15c --- /dev/null +++ b/docs/5.x/verifiedpermissions_policy_template.md @@ -0,0 +1,130 @@ +--- +permalink: /verifiedpermissions_policy_template/ +--- + +# verifiedpermissions_policy_template + +`verifiedpermissions_policy_template` represents the `aws_verifiedpermissions_policy_template` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withDescription()`](#fn-withdescription) +* [`fn withPolicyStoreId()`](#fn-withpolicystoreid) +* [`fn withStatement()`](#fn-withstatement) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.verifiedpermissions_policy_template.new` injects a new `aws_verifiedpermissions_policy_template` 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.verifiedpermissions_policy_template.new('some_id') + +You can get the reference to the `id` field of the created `aws.verifiedpermissions_policy_template` using the reference: + + $._ref.aws_verifiedpermissions_policy_template.some_id.get('id') + +This is the same as directly entering `"${ aws_verifiedpermissions_policy_template.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. + - `description` (`string`): Set the `description` field on the resulting resource block. When `null`, the `description` field will be omitted from the resulting object. + - `policy_store_id` (`string`): Set the `policy_store_id` field on the resulting resource block. + - `statement` (`string`): Set the `statement` field on the resulting resource block. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.verifiedpermissions_policy_template.newAttrs` constructs a new object with attributes and blocks configured for the `verifiedpermissions_policy_template` +Terraform resource. + +Unlike [aws.verifiedpermissions_policy_template.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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**: + - `description` (`string`): Set the `description` field on the resulting object. When `null`, the `description` field will be omitted from the resulting object. + - `policy_store_id` (`string`): Set the `policy_store_id` field on the resulting object. + - `statement` (`string`): Set the `statement` field on the resulting object. + +**Returns**: + - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `verifiedpermissions_policy_template` resource into the root Terraform configuration. + + +### fn withDescription + +```ts +withDescription() +``` + +`aws.string.withDescription` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the description field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `description` field. + + +### fn withPolicyStoreId + +```ts +withPolicyStoreId() +``` + +`aws.string.withPolicyStoreId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the policy_store_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `policy_store_id` field. + + +### fn withStatement + +```ts +withStatement() +``` + +`aws.string.withStatement` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the statement field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `statement` field. diff --git a/docs/5.x/verifiedpermissions_schema.md b/docs/5.x/verifiedpermissions_schema.md new file mode 100644 index 00000000..b0d9cf47 --- /dev/null +++ b/docs/5.x/verifiedpermissions_schema.md @@ -0,0 +1,157 @@ +--- +permalink: /verifiedpermissions_schema/ +--- + +# verifiedpermissions_schema + +`verifiedpermissions_schema` represents the `aws_verifiedpermissions_schema` Terraform resource. + + + +This package contains functions and utilities for setting up the resource using Jsonnet code. + + +## Index + +* [`fn new()`](#fn-new) +* [`fn newAttrs()`](#fn-newattrs) +* [`fn withDefinition()`](#fn-withdefinition) +* [`fn withDefinitionMixin()`](#fn-withdefinitionmixin) +* [`fn withPolicyStoreId()`](#fn-withpolicystoreid) +* [`obj definition`](#obj-definition) + * [`fn new()`](#fn-definitionnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.verifiedpermissions_schema.new` injects a new `aws_verifiedpermissions_schema` 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.verifiedpermissions_schema.new('some_id') + +You can get the reference to the `id` field of the created `aws.verifiedpermissions_schema` using the reference: + + $._ref.aws_verifiedpermissions_schema.some_id.get('id') + +This is the same as directly entering `"${ aws_verifiedpermissions_schema.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. + - `policy_store_id` (`string`): Set the `policy_store_id` field on the resulting resource block. + - `definition` (`obj`): Set the `definition` field on the resulting resource block. When `null`, the `definition` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedpermissions_schema.definition.new](#fn-definitionnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.verifiedpermissions_schema.newAttrs` constructs a new object with attributes and blocks configured for the `verifiedpermissions_schema` +Terraform resource. + +Unlike [aws.verifiedpermissions_schema.new](#fn-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](https://github.com/tf-libsonnet/core/tree/main/docs#fn-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**: + - `policy_store_id` (`string`): Set the `policy_store_id` field on the resulting object. + - `definition` (`obj`): Set the `definition` field on the resulting object. When `null`, the `definition` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.verifiedpermissions_schema.definition.new](#fn-definitionnew) constructor. + +**Returns**: + - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `verifiedpermissions_schema` resource into the root Terraform configuration. + + +### fn withDefinition + +```ts +withDefinition() +``` + +`aws.obj.withDefinition` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the definition field. + +This function will replace the map with the passed in `value`. If you wish to instead merge the +passed in value to the existing map, use the [aws.obj.withDefinitionMixin](TODO) function. + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `definition` field. + + +### fn withDefinitionMixin + +```ts +withDefinitionMixin() +``` + +`aws.obj.withDefinitionMixin` constructs a mixin object that can be merged into the `obj` +Terraform resource block to set or update the definition field. + +This function will merge the passed in value to the existing map. If you wish +to instead replace the entire map with the passed in `value`, use the [aws.obj.withDefinition](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `definition` field. + + +### fn withPolicyStoreId + +```ts +withPolicyStoreId() +``` + +`aws.string.withPolicyStoreId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the policy_store_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `policy_store_id` field. + + +## obj definition + + + +### fn definition.new + +```ts +new() +``` + + +`aws.verifiedpermissions_schema.definition.new` constructs a new object with attributes and blocks configured for the `definition` +Terraform sub block. + + + +**Args**: + - `value` (`string`): Set the `value` field on the resulting object. + +**Returns**: + - An attribute object that represents the `definition` sub block.