diff --git a/5.x/_gen/data/codecatalyst_dev_environment.libsonnet b/5.x/_gen/data/codecatalyst_dev_environment.libsonnet new file mode 100644 index 00000000..403e7b2c --- /dev/null +++ b/5.x/_gen/data/codecatalyst_dev_environment.libsonnet @@ -0,0 +1,134 @@ +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='codecatalyst_dev_environment', url='', help='`codecatalyst_dev_environment` represents the `aws_codecatalyst_dev_environment` 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.codecatalyst_dev_environment.new` injects a new `data_aws_codecatalyst_dev_environment` 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.codecatalyst_dev_environment.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.codecatalyst_dev_environment` using the reference:\n\n $._ref.data_aws_codecatalyst_dev_environment.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_codecatalyst_dev_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 - `dataSrcLabel` (`string`): The name label of the block.\n - `alias` (`string`): Set the `alias` field on the resulting data source block. When `null`, the `alias` field will be omitted from the resulting object.\n - `creator_id` (`string`): Set the `creator_id` field on the resulting data source block. When `null`, the `creator_id` field will be omitted from the resulting object.\n - `env_id` (`string`): Set the `env_id` field on the resulting data source block.\n - `project_name` (`string`): Set the `project_name` field on the resulting data source block.\n - `space_name` (`string`): Set the `space_name` field on the resulting data source block.\n - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object.\n - `repositories` (`list[obj]`): Set the `repositories` field on the resulting data source block. When `null`, the `repositories` 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.codecatalyst_dev_environment.repositories.new](#fn-repositoriesnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + new( + dataSrcLabel, + env_id, + project_name, + space_name, + alias=null, + creator_id=null, + repositories=null, + tags=null, + _meta={} + ):: tf.withData( + type='aws_codecatalyst_dev_environment', + label=dataSrcLabel, + attrs=self.newAttrs( + alias=alias, + creator_id=creator_id, + env_id=env_id, + project_name=project_name, + repositories=repositories, + space_name=space_name, + tags=tags + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.data.codecatalyst_dev_environment.newAttrs` constructs a new object with attributes and blocks configured for the `codecatalyst_dev_environment`\nTerraform data source.\n\nUnlike [aws.data.codecatalyst_dev_environment.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 - `alias` (`string`): Set the `alias` field on the resulting object. When `null`, the `alias` field will be omitted from the resulting object.\n - `creator_id` (`string`): Set the `creator_id` field on the resulting object. When `null`, the `creator_id` field will be omitted from the resulting object.\n - `env_id` (`string`): Set the `env_id` field on the resulting object.\n - `project_name` (`string`): Set the `project_name` field on the resulting object.\n - `space_name` (`string`): Set the `space_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 - `repositories` (`list[obj]`): Set the `repositories` field on the resulting object. When `null`, the `repositories` 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.codecatalyst_dev_environment.repositories.new](#fn-repositoriesnew) 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 `codecatalyst_dev_environment` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + env_id, + project_name, + space_name, + alias=null, + creator_id=null, + repositories=null, + tags=null + ):: std.prune(a={ + alias: alias, + creator_id: creator_id, + env_id: env_id, + project_name: project_name, + repositories: repositories, + space_name: space_name, + tags: tags, + }), + repositories:: { + '#new':: d.fn(help='\n`aws.codecatalyst_dev_environment.repositories.new` constructs a new object with attributes and blocks configured for the `repositories`\nTerraform sub block.\n\n\n\n**Returns**:\n - An attribute object that represents the `repositories` sub block.\n', args=[]), + new( + + ):: std.prune(a={}), + }, + '#withAlias':: d.fn(help='`aws.string.withAlias` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the alias 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 `alias` field.\n', args=[]), + withAlias(dataSrcLabel, value): { + data+: { + aws_codecatalyst_dev_environment+: { + [dataSrcLabel]+: { + alias: value, + }, + }, + }, + }, + '#withCreatorId':: d.fn(help='`aws.string.withCreatorId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the creator_id field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `creator_id` field.\n', args=[]), + withCreatorId(dataSrcLabel, value): { + data+: { + aws_codecatalyst_dev_environment+: { + [dataSrcLabel]+: { + creator_id: value, + }, + }, + }, + }, + '#withEnvId':: d.fn(help='`aws.string.withEnvId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the env_id field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `env_id` field.\n', args=[]), + withEnvId(dataSrcLabel, value): { + data+: { + aws_codecatalyst_dev_environment+: { + [dataSrcLabel]+: { + env_id: value, + }, + }, + }, + }, + '#withProjectName':: d.fn(help='`aws.string.withProjectName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the project_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 `project_name` field.\n', args=[]), + withProjectName(dataSrcLabel, value): { + data+: { + aws_codecatalyst_dev_environment+: { + [dataSrcLabel]+: { + project_name: value, + }, + }, + }, + }, + '#withRepositories':: d.fn(help='`aws.list[obj].withRepositories` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the repositories 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].withRepositoriesMixin](TODO) function.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `repositories` field.\n', args=[]), + withRepositories(dataSrcLabel, value): { + data+: { + aws_codecatalyst_dev_environment+: { + [dataSrcLabel]+: { + repositories: value, + }, + }, + }, + }, + '#withRepositoriesMixin':: d.fn(help='`aws.list[obj].withRepositoriesMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the repositories 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].withRepositories](TODO)\nfunction.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `repositories` field.\n', args=[]), + withRepositoriesMixin(dataSrcLabel, value): { + data+: { + aws_codecatalyst_dev_environment+: { + [dataSrcLabel]+: { + repositories+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withSpaceName':: d.fn(help='`aws.string.withSpaceName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the space_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 `space_name` field.\n', args=[]), + withSpaceName(dataSrcLabel, value): { + data+: { + aws_codecatalyst_dev_environment+: { + [dataSrcLabel]+: { + space_name: value, + }, + }, + }, + }, + '#withTags':: d.fn(help='`aws.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the tags field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]), + withTags(dataSrcLabel, value): { + data+: { + aws_codecatalyst_dev_environment+: { + [dataSrcLabel]+: { + tags: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/data/ec2_transit_gateway_route_table_routes.libsonnet b/5.x/_gen/data/ec2_transit_gateway_route_table_routes.libsonnet new file mode 100644 index 00000000..63841b84 --- /dev/null +++ b/5.x/_gen/data/ec2_transit_gateway_route_table_routes.libsonnet @@ -0,0 +1,65 @@ +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='ec2_transit_gateway_route_table_routes', url='', help='`ec2_transit_gateway_route_table_routes` represents the `aws_ec2_transit_gateway_route_table_routes` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'), + filter:: { + '#new':: d.fn(help='\n`aws.ec2_transit_gateway_route_table_routes.filter.new` constructs a new object with attributes and blocks configured for the `filter`\nTerraform sub block.\n\n\n\n**Args**:\n - `name` (`string`): Set the `name` field on the resulting object.\n - `values` (`list`): Set the `values` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `filter` sub block.\n', args=[]), + new( + name, + values + ):: std.prune(a={ + name: name, + values: values, + }), + }, + '#new':: d.fn(help="\n`aws.data.ec2_transit_gateway_route_table_routes.new` injects a new `data_aws_ec2_transit_gateway_route_table_routes` 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.ec2_transit_gateway_route_table_routes.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.ec2_transit_gateway_route_table_routes` using the reference:\n\n $._ref.data_aws_ec2_transit_gateway_route_table_routes.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_ec2_transit_gateway_route_table_routes.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 - `transit_gateway_route_table_id` (`string`): Set the `transit_gateway_route_table_id` field on the resulting data source block.\n - `filter` (`list[obj]`): Set the `filter` field on the resulting data source block. When `null`, the `filter` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.data.ec2_transit_gateway_route_table_routes.filter.new](#fn-filternew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + new( + dataSrcLabel, + transit_gateway_route_table_id, + filter=null, + _meta={} + ):: tf.withData( + type='aws_ec2_transit_gateway_route_table_routes', + label=dataSrcLabel, + attrs=self.newAttrs(filter=filter, transit_gateway_route_table_id=transit_gateway_route_table_id), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.data.ec2_transit_gateway_route_table_routes.newAttrs` constructs a new object with attributes and blocks configured for the `ec2_transit_gateway_route_table_routes`\nTerraform data source.\n\nUnlike [aws.data.ec2_transit_gateway_route_table_routes.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 - `transit_gateway_route_table_id` (`string`): Set the `transit_gateway_route_table_id` field on the resulting object.\n - `filter` (`list[obj]`): Set the `filter` field on the resulting object. When `null`, the `filter` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.data.ec2_transit_gateway_route_table_routes.filter.new](#fn-filternew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `ec2_transit_gateway_route_table_routes` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + transit_gateway_route_table_id, + filter=null + ):: std.prune(a={ + filter: filter, + transit_gateway_route_table_id: transit_gateway_route_table_id, + }), + '#withFilter':: d.fn(help='`aws.list[obj].withFilter` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the filter field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [aws.list[obj].withFilterMixin](TODO) function.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `filter` field.\n', args=[]), + withFilter(dataSrcLabel, value): { + data+: { + aws_ec2_transit_gateway_route_table_routes+: { + [dataSrcLabel]+: { + filter: value, + }, + }, + }, + }, + '#withFilterMixin':: d.fn(help='`aws.list[obj].withFilterMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the filter field.\n\nThis function will append the passed in array or object to the existing array. If you wish\nto instead replace the array with the passed in `value`, use the [aws.list[obj].withFilter](TODO)\nfunction.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `filter` field.\n', args=[]), + withFilterMixin(dataSrcLabel, value): { + data+: { + aws_ec2_transit_gateway_route_table_routes+: { + [dataSrcLabel]+: { + filter+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withTransitGatewayRouteTableId':: d.fn(help='`aws.string.withTransitGatewayRouteTableId` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the transit_gateway_route_table_id field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `transit_gateway_route_table_id` field.\n', args=[]), + withTransitGatewayRouteTableId(dataSrcLabel, value): { + data+: { + aws_ec2_transit_gateway_route_table_routes+: { + [dataSrcLabel]+: { + transit_gateway_route_table_id: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/data/main.libsonnet b/5.x/_gen/data/main.libsonnet index 6c20b6f6..c0a7a1ee 100644 --- a/5.x/_gen/data/main.libsonnet +++ b/5.x/_gen/data/main.libsonnet @@ -77,6 +77,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); cloudwatch_log_groups: (import 'cloudwatch_log_groups.libsonnet'), codeartifact_authorization_token: (import 'codeartifact_authorization_token.libsonnet'), codeartifact_repository_endpoint: (import 'codeartifact_repository_endpoint.libsonnet'), + codecatalyst_dev_environment: (import 'codecatalyst_dev_environment.libsonnet'), codecommit_approval_rule_template: (import 'codecommit_approval_rule_template.libsonnet'), codecommit_repository: (import 'codecommit_repository.libsonnet'), codestarconnections_connection: (import 'codestarconnections_connection.libsonnet'), @@ -168,6 +169,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ec2_transit_gateway_route_table: (import 'ec2_transit_gateway_route_table.libsonnet'), ec2_transit_gateway_route_table_associations: (import 'ec2_transit_gateway_route_table_associations.libsonnet'), ec2_transit_gateway_route_table_propagations: (import 'ec2_transit_gateway_route_table_propagations.libsonnet'), + ec2_transit_gateway_route_table_routes: (import 'ec2_transit_gateway_route_table_routes.libsonnet'), ec2_transit_gateway_route_tables: (import 'ec2_transit_gateway_route_tables.libsonnet'), ec2_transit_gateway_vpc_attachment: (import 'ec2_transit_gateway_vpc_attachment.libsonnet'), ec2_transit_gateway_vpc_attachments: (import 'ec2_transit_gateway_vpc_attachments.libsonnet'), @@ -317,6 +319,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); msk_cluster: (import 'msk_cluster.libsonnet'), msk_configuration: (import 'msk_configuration.libsonnet'), msk_kafka_version: (import 'msk_kafka_version.libsonnet'), + msk_vpc_connection: (import 'msk_vpc_connection.libsonnet'), mskconnect_connector: (import 'mskconnect_connector.libsonnet'), mskconnect_custom_plugin: (import 'mskconnect_custom_plugin.libsonnet'), mskconnect_worker_configuration: (import 'mskconnect_worker_configuration.libsonnet'), diff --git a/5.x/_gen/data/msk_vpc_connection.libsonnet b/5.x/_gen/data/msk_vpc_connection.libsonnet new file mode 100644 index 00000000..ffa626ac --- /dev/null +++ b/5.x/_gen/data/msk_vpc_connection.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='msk_vpc_connection', url='', help='`msk_vpc_connection` represents the `aws_msk_vpc_connection` 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_vpc_connection.new` injects a new `data_aws_msk_vpc_connection` 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_vpc_connection.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.msk_vpc_connection` using the reference:\n\n $._ref.data_aws_msk_vpc_connection.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_msk_vpc_connection.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.\n - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]), + new( + dataSrcLabel, + arn, + tags=null, + _meta={} + ):: tf.withData( + type='aws_msk_vpc_connection', + label=dataSrcLabel, + attrs=self.newAttrs(arn=arn, tags=tags), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.data.msk_vpc_connection.newAttrs` constructs a new object with attributes and blocks configured for the `msk_vpc_connection`\nTerraform data source.\n\nUnlike [aws.data.msk_vpc_connection.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.\n - `tags` (`obj`): Set the `tags` field on the resulting object. When `null`, the `tags` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `msk_vpc_connection` data source into the root Terraform configuration.\n', args=[]), + newAttrs( + arn, + tags=null + ):: std.prune(a={ + arn: arn, + tags: tags, + }), + '#withArn':: d.fn(help='`aws.string.withArn` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the 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 `arn` field.\n', args=[]), + withArn(dataSrcLabel, value): { + data+: { + aws_msk_vpc_connection+: { + [dataSrcLabel]+: { + arn: value, + }, + }, + }, + }, + '#withTags':: d.fn(help='`aws.obj.withTags` constructs a mixin object that can be merged into the `obj`\nTerraform data source block to set or update the tags field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `tags` field.\n', args=[]), + withTags(dataSrcLabel, value): { + data+: { + aws_msk_vpc_connection+: { + [dataSrcLabel]+: { + tags: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/main.libsonnet b/5.x/_gen/main.libsonnet index 9420cea5..85094712 100644 --- a/5.x/_gen/main.libsonnet +++ b/5.x/_gen/main.libsonnet @@ -173,6 +173,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); cloudformation_stack_set_instance: (import 'resources/cloudformation_stack_set_instance.libsonnet'), cloudformation_type: (import 'resources/cloudformation_type.libsonnet'), cloudfront_cache_policy: (import 'resources/cloudfront_cache_policy.libsonnet'), + cloudfront_continuous_deployment_policy: (import 'resources/cloudfront_continuous_deployment_policy.libsonnet'), cloudfront_distribution: (import 'resources/cloudfront_distribution.libsonnet'), cloudfront_field_level_encryption_config: (import 'resources/cloudfront_field_level_encryption_config.libsonnet'), cloudfront_field_level_encryption_profile: (import 'resources/cloudfront_field_level_encryption_profile.libsonnet'), @@ -222,6 +223,9 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); codebuild_resource_policy: (import 'resources/codebuild_resource_policy.libsonnet'), codebuild_source_credential: (import 'resources/codebuild_source_credential.libsonnet'), codebuild_webhook: (import 'resources/codebuild_webhook.libsonnet'), + codecatalyst_dev_environment: (import 'resources/codecatalyst_dev_environment.libsonnet'), + codecatalyst_project: (import 'resources/codecatalyst_project.libsonnet'), + codecatalyst_source_repository: (import 'resources/codecatalyst_source_repository.libsonnet'), codecommit_approval_rule_template: (import 'resources/codecommit_approval_rule_template.libsonnet'), codecommit_approval_rule_template_association: (import 'resources/codecommit_approval_rule_template_association.libsonnet'), codecommit_repository: (import 'resources/codecommit_repository.libsonnet'), @@ -747,6 +751,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); msk_configuration: (import 'resources/msk_configuration.libsonnet'), msk_scram_secret_association: (import 'resources/msk_scram_secret_association.libsonnet'), msk_serverless_cluster: (import 'resources/msk_serverless_cluster.libsonnet'), + msk_vpc_connection: (import 'resources/msk_vpc_connection.libsonnet'), mskconnect_connector: (import 'resources/mskconnect_connector.libsonnet'), mskconnect_custom_plugin: (import 'resources/mskconnect_custom_plugin.libsonnet'), mskconnect_worker_configuration: (import 'resources/mskconnect_worker_configuration.libsonnet'), diff --git a/5.x/_gen/provider_aws.libsonnet b/5.x/_gen/provider_aws.libsonnet index f2c363b6..f76443f5 100644 --- a/5.x/_gen/provider_aws.libsonnet +++ b/5.x/_gen/provider_aws.libsonnet @@ -188,7 +188,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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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 - `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( accessanalyzer=null, account=null, @@ -241,6 +241,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); cloudwatchrum=null, codeartifact=null, codebuild=null, + codecatalyst=null, codecommit=null, codedeploy=null, codegurureviewer=null, @@ -488,6 +489,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); cloudwatchrum: cloudwatchrum, codeartifact: codeartifact, codebuild: codebuild, + codecatalyst: codecatalyst, codecommit: codecommit, codedeploy: codedeploy, codegurureviewer: codegurureviewer, diff --git a/5.x/_gen/resources/autoscaling_group.libsonnet b/5.x/_gen/resources/autoscaling_group.libsonnet index 570af0fd..2399c624 100644 --- a/5.x/_gen/resources/autoscaling_group.libsonnet +++ b/5.x/_gen/resources/autoscaling_group.libsonnet @@ -280,7 +280,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); launch_template: launch_template, }), }, - '#new':: d.fn(help="\n`aws.autoscaling_group.new` injects a new `aws_autoscaling_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.autoscaling_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.autoscaling_group` using the reference:\n\n $._ref.aws_autoscaling_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_autoscaling_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 - `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 - `capacity_rebalance` (`bool`): Set the `capacity_rebalance` field on the resulting resource block. When `null`, the `capacity_rebalance` field will be omitted from the resulting object.\n - `context` (`string`): Set the `context` field on the resulting resource block. When `null`, the `context` field will be omitted from the resulting object.\n - `default_cooldown` (`number`): Set the `default_cooldown` field on the resulting resource block. When `null`, the `default_cooldown` field will be omitted from the resulting object.\n - `default_instance_warmup` (`number`): Set the `default_instance_warmup` field on the resulting resource block. When `null`, the `default_instance_warmup` field will be omitted from the resulting object.\n - `desired_capacity` (`number`): Set the `desired_capacity` field on the resulting resource block. When `null`, the `desired_capacity` field will be omitted from the resulting object.\n - `desired_capacity_type` (`string`): Set the `desired_capacity_type` field on the resulting resource block. When `null`, the `desired_capacity_type` field will be omitted from the resulting object.\n - `enabled_metrics` (`list`): Set the `enabled_metrics` field on the resulting resource block. When `null`, the `enabled_metrics` field will be omitted from the resulting object.\n - `force_delete` (`bool`): Set the `force_delete` field on the resulting resource block. When `null`, the `force_delete` field will be omitted from the resulting object.\n - `force_delete_warm_pool` (`bool`): Set the `force_delete_warm_pool` field on the resulting resource block. When `null`, the `force_delete_warm_pool` field will be omitted from the resulting object.\n - `health_check_grace_period` (`number`): Set the `health_check_grace_period` field on the resulting resource block. When `null`, the `health_check_grace_period` field will be omitted from the resulting object.\n - `health_check_type` (`string`): Set the `health_check_type` field on the resulting resource block. When `null`, the `health_check_type` field will be omitted from the resulting object.\n - `launch_configuration` (`string`): Set the `launch_configuration` field on the resulting resource block. When `null`, the `launch_configuration` field will be omitted from the resulting object.\n - `load_balancers` (`list`): Set the `load_balancers` field on the resulting resource block. When `null`, the `load_balancers` field will be omitted from the resulting object.\n - `max_instance_lifetime` (`number`): Set the `max_instance_lifetime` field on the resulting resource block. When `null`, the `max_instance_lifetime` field will be omitted from the resulting object.\n - `max_size` (`number`): Set the `max_size` field on the resulting resource block.\n - `metrics_granularity` (`string`): Set the `metrics_granularity` field on the resulting resource block. When `null`, the `metrics_granularity` field will be omitted from the resulting object.\n - `min_elb_capacity` (`number`): Set the `min_elb_capacity` field on the resulting resource block. When `null`, the `min_elb_capacity` field will be omitted from the resulting object.\n - `min_size` (`number`): Set the `min_size` 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 - `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 - `placement_group` (`string`): Set the `placement_group` field on the resulting resource block. When `null`, the `placement_group` field will be omitted from the resulting object.\n - `protect_from_scale_in` (`bool`): Set the `protect_from_scale_in` field on the resulting resource block. When `null`, the `protect_from_scale_in` field will be omitted from the resulting object.\n - `service_linked_role_arn` (`string`): Set the `service_linked_role_arn` field on the resulting resource block. When `null`, the `service_linked_role_arn` field will be omitted from the resulting object.\n - `suspended_processes` (`list`): Set the `suspended_processes` field on the resulting resource block. When `null`, the `suspended_processes` field will be omitted from the resulting object.\n - `target_group_arns` (`list`): Set the `target_group_arns` field on the resulting resource block. When `null`, the `target_group_arns` field will be omitted from the resulting object.\n - `termination_policies` (`list`): Set the `termination_policies` field on the resulting resource block. When `null`, the `termination_policies` field will be omitted from the resulting object.\n - `vpc_zone_identifier` (`list`): Set the `vpc_zone_identifier` field on the resulting resource block. When `null`, the `vpc_zone_identifier` field will be omitted from the resulting object.\n - `wait_for_capacity_timeout` (`string`): Set the `wait_for_capacity_timeout` field on the resulting resource block. When `null`, the `wait_for_capacity_timeout` field will be omitted from the resulting object.\n - `wait_for_elb_capacity` (`number`): Set the `wait_for_elb_capacity` field on the resulting resource block. When `null`, the `wait_for_elb_capacity` field will be omitted from the resulting object.\n - `initial_lifecycle_hook` (`list[obj]`): Set the `initial_lifecycle_hook` field on the resulting resource block. When `null`, the `initial_lifecycle_hook` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.initial_lifecycle_hook.new](#fn-initial_lifecycle_hooknew) constructor.\n - `instance_refresh` (`list[obj]`): Set the `instance_refresh` field on the resulting resource block. When `null`, the `instance_refresh` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.instance_refresh.new](#fn-instance_refreshnew) constructor.\n - `launch_template` (`list[obj]`): Set the `launch_template` field on the resulting resource block. When `null`, the `launch_template` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.launch_template.new](#fn-launch_templatenew) constructor.\n - `mixed_instances_policy` (`list[obj]`): Set the `mixed_instances_policy` field on the resulting resource block. When `null`, the `mixed_instances_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.autoscaling_group.mixed_instances_policy.new](#fn-mixed_instances_policynew) constructor.\n - `tag` (`list[obj]`): Set the `tag` field on the resulting resource block. When `null`, the `tag` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.tag.new](#fn-tagnew) 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.autoscaling_group.timeouts.new](#fn-timeoutsnew) constructor.\n - `traffic_source` (`list[obj]`): Set the `traffic_source` field on the resulting resource block. When `null`, the `traffic_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.autoscaling_group.traffic_source.new](#fn-traffic_sourcenew) constructor.\n - `warm_pool` (`list[obj]`): Set the `warm_pool` field on the resulting resource block. When `null`, the `warm_pool` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.warm_pool.new](#fn-warm_poolnew) 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.autoscaling_group.new` injects a new `aws_autoscaling_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.autoscaling_group.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.autoscaling_group` using the reference:\n\n $._ref.aws_autoscaling_group.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_autoscaling_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 - `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 - `capacity_rebalance` (`bool`): Set the `capacity_rebalance` field on the resulting resource block. When `null`, the `capacity_rebalance` field will be omitted from the resulting object.\n - `context` (`string`): Set the `context` field on the resulting resource block. When `null`, the `context` field will be omitted from the resulting object.\n - `default_cooldown` (`number`): Set the `default_cooldown` field on the resulting resource block. When `null`, the `default_cooldown` field will be omitted from the resulting object.\n - `default_instance_warmup` (`number`): Set the `default_instance_warmup` field on the resulting resource block. When `null`, the `default_instance_warmup` field will be omitted from the resulting object.\n - `desired_capacity` (`number`): Set the `desired_capacity` field on the resulting resource block. When `null`, the `desired_capacity` field will be omitted from the resulting object.\n - `desired_capacity_type` (`string`): Set the `desired_capacity_type` field on the resulting resource block. When `null`, the `desired_capacity_type` field will be omitted from the resulting object.\n - `enabled_metrics` (`list`): Set the `enabled_metrics` field on the resulting resource block. When `null`, the `enabled_metrics` field will be omitted from the resulting object.\n - `force_delete` (`bool`): Set the `force_delete` field on the resulting resource block. When `null`, the `force_delete` field will be omitted from the resulting object.\n - `force_delete_warm_pool` (`bool`): Set the `force_delete_warm_pool` field on the resulting resource block. When `null`, the `force_delete_warm_pool` field will be omitted from the resulting object.\n - `health_check_grace_period` (`number`): Set the `health_check_grace_period` field on the resulting resource block. When `null`, the `health_check_grace_period` field will be omitted from the resulting object.\n - `health_check_type` (`string`): Set the `health_check_type` field on the resulting resource block. When `null`, the `health_check_type` field will be omitted from the resulting object.\n - `ignore_failed_scaling_activities` (`bool`): Set the `ignore_failed_scaling_activities` field on the resulting resource block. When `null`, the `ignore_failed_scaling_activities` field will be omitted from the resulting object.\n - `launch_configuration` (`string`): Set the `launch_configuration` field on the resulting resource block. When `null`, the `launch_configuration` field will be omitted from the resulting object.\n - `load_balancers` (`list`): Set the `load_balancers` field on the resulting resource block. When `null`, the `load_balancers` field will be omitted from the resulting object.\n - `max_instance_lifetime` (`number`): Set the `max_instance_lifetime` field on the resulting resource block. When `null`, the `max_instance_lifetime` field will be omitted from the resulting object.\n - `max_size` (`number`): Set the `max_size` field on the resulting resource block.\n - `metrics_granularity` (`string`): Set the `metrics_granularity` field on the resulting resource block. When `null`, the `metrics_granularity` field will be omitted from the resulting object.\n - `min_elb_capacity` (`number`): Set the `min_elb_capacity` field on the resulting resource block. When `null`, the `min_elb_capacity` field will be omitted from the resulting object.\n - `min_size` (`number`): Set the `min_size` 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 - `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 - `placement_group` (`string`): Set the `placement_group` field on the resulting resource block. When `null`, the `placement_group` field will be omitted from the resulting object.\n - `protect_from_scale_in` (`bool`): Set the `protect_from_scale_in` field on the resulting resource block. When `null`, the `protect_from_scale_in` field will be omitted from the resulting object.\n - `service_linked_role_arn` (`string`): Set the `service_linked_role_arn` field on the resulting resource block. When `null`, the `service_linked_role_arn` field will be omitted from the resulting object.\n - `suspended_processes` (`list`): Set the `suspended_processes` field on the resulting resource block. When `null`, the `suspended_processes` field will be omitted from the resulting object.\n - `target_group_arns` (`list`): Set the `target_group_arns` field on the resulting resource block. When `null`, the `target_group_arns` field will be omitted from the resulting object.\n - `termination_policies` (`list`): Set the `termination_policies` field on the resulting resource block. When `null`, the `termination_policies` field will be omitted from the resulting object.\n - `vpc_zone_identifier` (`list`): Set the `vpc_zone_identifier` field on the resulting resource block. When `null`, the `vpc_zone_identifier` field will be omitted from the resulting object.\n - `wait_for_capacity_timeout` (`string`): Set the `wait_for_capacity_timeout` field on the resulting resource block. When `null`, the `wait_for_capacity_timeout` field will be omitted from the resulting object.\n - `wait_for_elb_capacity` (`number`): Set the `wait_for_elb_capacity` field on the resulting resource block. When `null`, the `wait_for_elb_capacity` field will be omitted from the resulting object.\n - `initial_lifecycle_hook` (`list[obj]`): Set the `initial_lifecycle_hook` field on the resulting resource block. When `null`, the `initial_lifecycle_hook` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.initial_lifecycle_hook.new](#fn-initial_lifecycle_hooknew) constructor.\n - `instance_refresh` (`list[obj]`): Set the `instance_refresh` field on the resulting resource block. When `null`, the `instance_refresh` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.instance_refresh.new](#fn-instance_refreshnew) constructor.\n - `launch_template` (`list[obj]`): Set the `launch_template` field on the resulting resource block. When `null`, the `launch_template` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.launch_template.new](#fn-launch_templatenew) constructor.\n - `mixed_instances_policy` (`list[obj]`): Set the `mixed_instances_policy` field on the resulting resource block. When `null`, the `mixed_instances_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.autoscaling_group.mixed_instances_policy.new](#fn-mixed_instances_policynew) constructor.\n - `tag` (`list[obj]`): Set the `tag` field on the resulting resource block. When `null`, the `tag` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.tag.new](#fn-tagnew) 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.autoscaling_group.timeouts.new](#fn-timeoutsnew) constructor.\n - `traffic_source` (`list[obj]`): Set the `traffic_source` field on the resulting resource block. When `null`, the `traffic_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.autoscaling_group.traffic_source.new](#fn-traffic_sourcenew) constructor.\n - `warm_pool` (`list[obj]`): Set the `warm_pool` field on the resulting resource block. When `null`, the `warm_pool` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.warm_pool.new](#fn-warm_poolnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, max_size, @@ -297,6 +297,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); force_delete_warm_pool=null, health_check_grace_period=null, health_check_type=null, + ignore_failed_scaling_activities=null, initial_lifecycle_hook=null, instance_refresh=null, launch_configuration=null, @@ -338,6 +339,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); force_delete_warm_pool=force_delete_warm_pool, health_check_grace_period=health_check_grace_period, health_check_type=health_check_type, + ignore_failed_scaling_activities=ignore_failed_scaling_activities, initial_lifecycle_hook=initial_lifecycle_hook, instance_refresh=instance_refresh, launch_configuration=launch_configuration, @@ -367,7 +369,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.autoscaling_group.newAttrs` constructs a new object with attributes and blocks configured for the `autoscaling_group`\nTerraform resource.\n\nUnlike [aws.autoscaling_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 - `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 - `capacity_rebalance` (`bool`): Set the `capacity_rebalance` field on the resulting object. When `null`, the `capacity_rebalance` field will be omitted from the resulting object.\n - `context` (`string`): Set the `context` field on the resulting object. When `null`, the `context` field will be omitted from the resulting object.\n - `default_cooldown` (`number`): Set the `default_cooldown` field on the resulting object. When `null`, the `default_cooldown` field will be omitted from the resulting object.\n - `default_instance_warmup` (`number`): Set the `default_instance_warmup` field on the resulting object. When `null`, the `default_instance_warmup` field will be omitted from the resulting object.\n - `desired_capacity` (`number`): Set the `desired_capacity` field on the resulting object. When `null`, the `desired_capacity` field will be omitted from the resulting object.\n - `desired_capacity_type` (`string`): Set the `desired_capacity_type` field on the resulting object. When `null`, the `desired_capacity_type` field will be omitted from the resulting object.\n - `enabled_metrics` (`list`): Set the `enabled_metrics` field on the resulting object. When `null`, the `enabled_metrics` field will be omitted from the resulting object.\n - `force_delete` (`bool`): Set the `force_delete` field on the resulting object. When `null`, the `force_delete` field will be omitted from the resulting object.\n - `force_delete_warm_pool` (`bool`): Set the `force_delete_warm_pool` field on the resulting object. When `null`, the `force_delete_warm_pool` field will be omitted from the resulting object.\n - `health_check_grace_period` (`number`): Set the `health_check_grace_period` field on the resulting object. When `null`, the `health_check_grace_period` field will be omitted from the resulting object.\n - `health_check_type` (`string`): Set the `health_check_type` field on the resulting object. When `null`, the `health_check_type` field will be omitted from the resulting object.\n - `launch_configuration` (`string`): Set the `launch_configuration` field on the resulting object. When `null`, the `launch_configuration` field will be omitted from the resulting object.\n - `load_balancers` (`list`): Set the `load_balancers` field on the resulting object. When `null`, the `load_balancers` field will be omitted from the resulting object.\n - `max_instance_lifetime` (`number`): Set the `max_instance_lifetime` field on the resulting object. When `null`, the `max_instance_lifetime` field will be omitted from the resulting object.\n - `max_size` (`number`): Set the `max_size` field on the resulting object.\n - `metrics_granularity` (`string`): Set the `metrics_granularity` field on the resulting object. When `null`, the `metrics_granularity` field will be omitted from the resulting object.\n - `min_elb_capacity` (`number`): Set the `min_elb_capacity` field on the resulting object. When `null`, the `min_elb_capacity` field will be omitted from the resulting object.\n - `min_size` (`number`): Set the `min_size` 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 - `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 - `placement_group` (`string`): Set the `placement_group` field on the resulting object. When `null`, the `placement_group` field will be omitted from the resulting object.\n - `protect_from_scale_in` (`bool`): Set the `protect_from_scale_in` field on the resulting object. When `null`, the `protect_from_scale_in` field will be omitted from the resulting object.\n - `service_linked_role_arn` (`string`): Set the `service_linked_role_arn` field on the resulting object. When `null`, the `service_linked_role_arn` field will be omitted from the resulting object.\n - `suspended_processes` (`list`): Set the `suspended_processes` field on the resulting object. When `null`, the `suspended_processes` field will be omitted from the resulting object.\n - `target_group_arns` (`list`): Set the `target_group_arns` field on the resulting object. When `null`, the `target_group_arns` field will be omitted from the resulting object.\n - `termination_policies` (`list`): Set the `termination_policies` field on the resulting object. When `null`, the `termination_policies` field will be omitted from the resulting object.\n - `vpc_zone_identifier` (`list`): Set the `vpc_zone_identifier` field on the resulting object. When `null`, the `vpc_zone_identifier` field will be omitted from the resulting object.\n - `wait_for_capacity_timeout` (`string`): Set the `wait_for_capacity_timeout` field on the resulting object. When `null`, the `wait_for_capacity_timeout` field will be omitted from the resulting object.\n - `wait_for_elb_capacity` (`number`): Set the `wait_for_elb_capacity` field on the resulting object. When `null`, the `wait_for_elb_capacity` field will be omitted from the resulting object.\n - `initial_lifecycle_hook` (`list[obj]`): Set the `initial_lifecycle_hook` field on the resulting object. When `null`, the `initial_lifecycle_hook` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.initial_lifecycle_hook.new](#fn-initial_lifecycle_hooknew) constructor.\n - `instance_refresh` (`list[obj]`): Set the `instance_refresh` field on the resulting object. When `null`, the `instance_refresh` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.instance_refresh.new](#fn-instance_refreshnew) constructor.\n - `launch_template` (`list[obj]`): Set the `launch_template` field on the resulting object. When `null`, the `launch_template` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.launch_template.new](#fn-launch_templatenew) constructor.\n - `mixed_instances_policy` (`list[obj]`): Set the `mixed_instances_policy` field on the resulting object. When `null`, the `mixed_instances_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.autoscaling_group.mixed_instances_policy.new](#fn-mixed_instances_policynew) constructor.\n - `tag` (`list[obj]`): Set the `tag` field on the resulting object. When `null`, the `tag` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.tag.new](#fn-tagnew) 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.autoscaling_group.timeouts.new](#fn-timeoutsnew) constructor.\n - `traffic_source` (`list[obj]`): Set the `traffic_source` field on the resulting object. When `null`, the `traffic_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.autoscaling_group.traffic_source.new](#fn-traffic_sourcenew) constructor.\n - `warm_pool` (`list[obj]`): Set the `warm_pool` field on the resulting object. When `null`, the `warm_pool` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.warm_pool.new](#fn-warm_poolnew) 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 `autoscaling_group` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.autoscaling_group.newAttrs` constructs a new object with attributes and blocks configured for the `autoscaling_group`\nTerraform resource.\n\nUnlike [aws.autoscaling_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 - `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 - `capacity_rebalance` (`bool`): Set the `capacity_rebalance` field on the resulting object. When `null`, the `capacity_rebalance` field will be omitted from the resulting object.\n - `context` (`string`): Set the `context` field on the resulting object. When `null`, the `context` field will be omitted from the resulting object.\n - `default_cooldown` (`number`): Set the `default_cooldown` field on the resulting object. When `null`, the `default_cooldown` field will be omitted from the resulting object.\n - `default_instance_warmup` (`number`): Set the `default_instance_warmup` field on the resulting object. When `null`, the `default_instance_warmup` field will be omitted from the resulting object.\n - `desired_capacity` (`number`): Set the `desired_capacity` field on the resulting object. When `null`, the `desired_capacity` field will be omitted from the resulting object.\n - `desired_capacity_type` (`string`): Set the `desired_capacity_type` field on the resulting object. When `null`, the `desired_capacity_type` field will be omitted from the resulting object.\n - `enabled_metrics` (`list`): Set the `enabled_metrics` field on the resulting object. When `null`, the `enabled_metrics` field will be omitted from the resulting object.\n - `force_delete` (`bool`): Set the `force_delete` field on the resulting object. When `null`, the `force_delete` field will be omitted from the resulting object.\n - `force_delete_warm_pool` (`bool`): Set the `force_delete_warm_pool` field on the resulting object. When `null`, the `force_delete_warm_pool` field will be omitted from the resulting object.\n - `health_check_grace_period` (`number`): Set the `health_check_grace_period` field on the resulting object. When `null`, the `health_check_grace_period` field will be omitted from the resulting object.\n - `health_check_type` (`string`): Set the `health_check_type` field on the resulting object. When `null`, the `health_check_type` field will be omitted from the resulting object.\n - `ignore_failed_scaling_activities` (`bool`): Set the `ignore_failed_scaling_activities` field on the resulting object. When `null`, the `ignore_failed_scaling_activities` field will be omitted from the resulting object.\n - `launch_configuration` (`string`): Set the `launch_configuration` field on the resulting object. When `null`, the `launch_configuration` field will be omitted from the resulting object.\n - `load_balancers` (`list`): Set the `load_balancers` field on the resulting object. When `null`, the `load_balancers` field will be omitted from the resulting object.\n - `max_instance_lifetime` (`number`): Set the `max_instance_lifetime` field on the resulting object. When `null`, the `max_instance_lifetime` field will be omitted from the resulting object.\n - `max_size` (`number`): Set the `max_size` field on the resulting object.\n - `metrics_granularity` (`string`): Set the `metrics_granularity` field on the resulting object. When `null`, the `metrics_granularity` field will be omitted from the resulting object.\n - `min_elb_capacity` (`number`): Set the `min_elb_capacity` field on the resulting object. When `null`, the `min_elb_capacity` field will be omitted from the resulting object.\n - `min_size` (`number`): Set the `min_size` 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 - `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 - `placement_group` (`string`): Set the `placement_group` field on the resulting object. When `null`, the `placement_group` field will be omitted from the resulting object.\n - `protect_from_scale_in` (`bool`): Set the `protect_from_scale_in` field on the resulting object. When `null`, the `protect_from_scale_in` field will be omitted from the resulting object.\n - `service_linked_role_arn` (`string`): Set the `service_linked_role_arn` field on the resulting object. When `null`, the `service_linked_role_arn` field will be omitted from the resulting object.\n - `suspended_processes` (`list`): Set the `suspended_processes` field on the resulting object. When `null`, the `suspended_processes` field will be omitted from the resulting object.\n - `target_group_arns` (`list`): Set the `target_group_arns` field on the resulting object. When `null`, the `target_group_arns` field will be omitted from the resulting object.\n - `termination_policies` (`list`): Set the `termination_policies` field on the resulting object. When `null`, the `termination_policies` field will be omitted from the resulting object.\n - `vpc_zone_identifier` (`list`): Set the `vpc_zone_identifier` field on the resulting object. When `null`, the `vpc_zone_identifier` field will be omitted from the resulting object.\n - `wait_for_capacity_timeout` (`string`): Set the `wait_for_capacity_timeout` field on the resulting object. When `null`, the `wait_for_capacity_timeout` field will be omitted from the resulting object.\n - `wait_for_elb_capacity` (`number`): Set the `wait_for_elb_capacity` field on the resulting object. When `null`, the `wait_for_elb_capacity` field will be omitted from the resulting object.\n - `initial_lifecycle_hook` (`list[obj]`): Set the `initial_lifecycle_hook` field on the resulting object. When `null`, the `initial_lifecycle_hook` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.initial_lifecycle_hook.new](#fn-initial_lifecycle_hooknew) constructor.\n - `instance_refresh` (`list[obj]`): Set the `instance_refresh` field on the resulting object. When `null`, the `instance_refresh` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.instance_refresh.new](#fn-instance_refreshnew) constructor.\n - `launch_template` (`list[obj]`): Set the `launch_template` field on the resulting object. When `null`, the `launch_template` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.launch_template.new](#fn-launch_templatenew) constructor.\n - `mixed_instances_policy` (`list[obj]`): Set the `mixed_instances_policy` field on the resulting object. When `null`, the `mixed_instances_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.autoscaling_group.mixed_instances_policy.new](#fn-mixed_instances_policynew) constructor.\n - `tag` (`list[obj]`): Set the `tag` field on the resulting object. When `null`, the `tag` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.tag.new](#fn-tagnew) 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.autoscaling_group.timeouts.new](#fn-timeoutsnew) constructor.\n - `traffic_source` (`list[obj]`): Set the `traffic_source` field on the resulting object. When `null`, the `traffic_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.autoscaling_group.traffic_source.new](#fn-traffic_sourcenew) constructor.\n - `warm_pool` (`list[obj]`): Set the `warm_pool` field on the resulting object. When `null`, the `warm_pool` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.autoscaling_group.warm_pool.new](#fn-warm_poolnew) 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 `autoscaling_group` resource into the root Terraform configuration.\n', args=[]), newAttrs( max_size, min_size, @@ -383,6 +385,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); force_delete_warm_pool=null, health_check_grace_period=null, health_check_type=null, + ignore_failed_scaling_activities=null, initial_lifecycle_hook=null, instance_refresh=null, launch_configuration=null, @@ -420,6 +423,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); force_delete_warm_pool: force_delete_warm_pool, health_check_grace_period: health_check_grace_period, health_check_type: health_check_type, + ignore_failed_scaling_activities: ignore_failed_scaling_activities, initial_lifecycle_hook: initial_lifecycle_hook, instance_refresh: instance_refresh, launch_configuration: launch_configuration, @@ -621,6 +625,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withIgnoreFailedScalingActivities':: d.fn(help='`aws.bool.withIgnoreFailedScalingActivities` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the ignore_failed_scaling_activities 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 `ignore_failed_scaling_activities` field.\n', args=[]), + withIgnoreFailedScalingActivities(resourceLabel, value): { + resource+: { + aws_autoscaling_group+: { + [resourceLabel]+: { + ignore_failed_scaling_activities: value, + }, + }, + }, + }, '#withInitialLifecycleHook':: d.fn(help='`aws.list[obj].withInitialLifecycleHook` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the initial_lifecycle_hook 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].withInitialLifecycleHookMixin](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 `initial_lifecycle_hook` field.\n', args=[]), withInitialLifecycleHook(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/cloudfront_continuous_deployment_policy.libsonnet b/5.x/_gen/resources/cloudfront_continuous_deployment_policy.libsonnet new file mode 100644 index 00000000..6760b8da --- /dev/null +++ b/5.x/_gen/resources/cloudfront_continuous_deployment_policy.libsonnet @@ -0,0 +1,130 @@ +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='cloudfront_continuous_deployment_policy', url='', help='`cloudfront_continuous_deployment_policy` represents the `aws_cloudfront_continuous_deployment_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.cloudfront_continuous_deployment_policy.new` injects a new `aws_cloudfront_continuous_deployment_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.cloudfront_continuous_deployment_policy.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.cloudfront_continuous_deployment_policy` using the reference:\n\n $._ref.aws_cloudfront_continuous_deployment_policy.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_cloudfront_continuous_deployment_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 - `enabled` (`bool`): Set the `enabled` field on the resulting resource block.\n - `staging_distribution_dns_names` (`list[obj]`): Set the `staging_distribution_dns_names` field on the resulting resource block. When `null`, the `staging_distribution_dns_names` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_continuous_deployment_policy.staging_distribution_dns_names.new](#fn-staging_distribution_dns_namesnew) constructor.\n - `traffic_config` (`list[obj]`): Set the `traffic_config` field on the resulting resource block. When `null`, the `traffic_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.cloudfront_continuous_deployment_policy.traffic_config.new](#fn-traffic_confignew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), + new( + resourceLabel, + enabled, + staging_distribution_dns_names=null, + traffic_config=null, + _meta={} + ):: tf.withResource( + type='aws_cloudfront_continuous_deployment_policy', + label=resourceLabel, + attrs=self.newAttrs(enabled=enabled, staging_distribution_dns_names=staging_distribution_dns_names, traffic_config=traffic_config), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.cloudfront_continuous_deployment_policy.newAttrs` constructs a new object with attributes and blocks configured for the `cloudfront_continuous_deployment_policy`\nTerraform resource.\n\nUnlike [aws.cloudfront_continuous_deployment_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 - `enabled` (`bool`): Set the `enabled` field on the resulting object.\n - `staging_distribution_dns_names` (`list[obj]`): Set the `staging_distribution_dns_names` field on the resulting object. When `null`, the `staging_distribution_dns_names` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_continuous_deployment_policy.staging_distribution_dns_names.new](#fn-staging_distribution_dns_namesnew) constructor.\n - `traffic_config` (`list[obj]`): Set the `traffic_config` field on the resulting object. When `null`, the `traffic_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.cloudfront_continuous_deployment_policy.traffic_config.new](#fn-traffic_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 `cloudfront_continuous_deployment_policy` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + enabled, + staging_distribution_dns_names=null, + traffic_config=null + ):: std.prune(a={ + enabled: enabled, + staging_distribution_dns_names: staging_distribution_dns_names, + traffic_config: traffic_config, + }), + staging_distribution_dns_names:: { + '#new':: d.fn(help='\n`aws.cloudfront_continuous_deployment_policy.staging_distribution_dns_names.new` constructs a new object with attributes and blocks configured for the `staging_distribution_dns_names`\nTerraform sub block.\n\n\n\n**Args**:\n - `items` (`list`): Set the `items` field on the resulting object. When `null`, the `items` field will be omitted from the resulting object.\n - `quantity` (`number`): Set the `quantity` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `staging_distribution_dns_names` sub block.\n', args=[]), + new( + quantity, + items=null + ):: std.prune(a={ + items: items, + quantity: quantity, + }), + }, + traffic_config:: { + '#new':: d.fn(help='\n`aws.cloudfront_continuous_deployment_policy.traffic_config.new` constructs a new object with attributes and blocks configured for the `traffic_config`\nTerraform sub block.\n\n\n\n**Args**:\n - `type` (`string`): Set the `type` field on the resulting object.\n - `single_header_config` (`list[obj]`): Set the `single_header_config` field on the resulting object. When `null`, the `single_header_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.cloudfront_continuous_deployment_policy.traffic_config.single_header_config.new](#fn-traffic_configsingle_header_confignew) constructor.\n - `single_weight_config` (`list[obj]`): Set the `single_weight_config` field on the resulting object. When `null`, the `single_weight_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.cloudfront_continuous_deployment_policy.traffic_config.single_weight_config.new](#fn-traffic_configsingle_weight_confignew) constructor.\n\n**Returns**:\n - An attribute object that represents the `traffic_config` sub block.\n', args=[]), + new( + type, + single_header_config=null, + single_weight_config=null + ):: std.prune(a={ + single_header_config: single_header_config, + single_weight_config: single_weight_config, + type: type, + }), + single_header_config:: { + '#new':: d.fn(help='\n`aws.cloudfront_continuous_deployment_policy.traffic_config.single_header_config.new` constructs a new object with attributes and blocks configured for the `single_header_config`\nTerraform sub block.\n\n\n\n**Args**:\n - `header` (`string`): Set the `header` 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 `single_header_config` sub block.\n', args=[]), + new( + header, + value + ):: std.prune(a={ + header: header, + value: value, + }), + }, + single_weight_config:: { + '#new':: d.fn(help='\n`aws.cloudfront_continuous_deployment_policy.traffic_config.single_weight_config.new` constructs a new object with attributes and blocks configured for the `single_weight_config`\nTerraform sub block.\n\n\n\n**Args**:\n - `weight` (`number`): Set the `weight` field on the resulting object.\n - `session_stickiness_config` (`list[obj]`): Set the `session_stickiness_config` field on the resulting object. When `null`, the `session_stickiness_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.cloudfront_continuous_deployment_policy.traffic_config.single_weight_config.session_stickiness_config.new](#fn-traffic_configtraffic_configsession_stickiness_confignew) constructor.\n\n**Returns**:\n - An attribute object that represents the `single_weight_config` sub block.\n', args=[]), + new( + weight, + session_stickiness_config=null + ):: std.prune(a={ + session_stickiness_config: session_stickiness_config, + weight: weight, + }), + session_stickiness_config:: { + '#new':: d.fn(help='\n`aws.cloudfront_continuous_deployment_policy.traffic_config.single_weight_config.session_stickiness_config.new` constructs a new object with attributes and blocks configured for the `session_stickiness_config`\nTerraform sub block.\n\n\n\n**Args**:\n - `idle_ttl` (`number`): Set the `idle_ttl` field on the resulting object.\n - `maximum_ttl` (`number`): Set the `maximum_ttl` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `session_stickiness_config` sub block.\n', args=[]), + new( + idle_ttl, + maximum_ttl + ):: std.prune(a={ + idle_ttl: idle_ttl, + maximum_ttl: maximum_ttl, + }), + }, + }, + }, + '#withEnabled':: d.fn(help='`aws.bool.withEnabled` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the enabled 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 `enabled` field.\n', args=[]), + withEnabled(resourceLabel, value): { + resource+: { + aws_cloudfront_continuous_deployment_policy+: { + [resourceLabel]+: { + enabled: value, + }, + }, + }, + }, + '#withStagingDistributionDnsNames':: d.fn(help='`aws.list[obj].withStagingDistributionDnsNames` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the staging_distribution_dns_names 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].withStagingDistributionDnsNamesMixin](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 `staging_distribution_dns_names` field.\n', args=[]), + withStagingDistributionDnsNames(resourceLabel, value): { + resource+: { + aws_cloudfront_continuous_deployment_policy+: { + [resourceLabel]+: { + staging_distribution_dns_names: value, + }, + }, + }, + }, + '#withStagingDistributionDnsNamesMixin':: d.fn(help='`aws.list[obj].withStagingDistributionDnsNamesMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the staging_distribution_dns_names 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].withStagingDistributionDnsNames](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 `staging_distribution_dns_names` field.\n', args=[]), + withStagingDistributionDnsNamesMixin(resourceLabel, value): { + resource+: { + aws_cloudfront_continuous_deployment_policy+: { + [resourceLabel]+: { + staging_distribution_dns_names+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withTrafficConfig':: d.fn(help='`aws.list[obj].withTrafficConfig` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the traffic_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].withTrafficConfigMixin](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 `traffic_config` field.\n', args=[]), + withTrafficConfig(resourceLabel, value): { + resource+: { + aws_cloudfront_continuous_deployment_policy+: { + [resourceLabel]+: { + traffic_config: value, + }, + }, + }, + }, + '#withTrafficConfigMixin':: d.fn(help='`aws.list[obj].withTrafficConfigMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the traffic_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].withTrafficConfig](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 `traffic_config` field.\n', args=[]), + withTrafficConfigMixin(resourceLabel, value): { + resource+: { + aws_cloudfront_continuous_deployment_policy+: { + [resourceLabel]+: { + traffic_config+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/cloudfront_distribution.libsonnet b/5.x/_gen/resources/cloudfront_distribution.libsonnet index 42c15c35..92b5ecb3 100644 --- a/5.x/_gen/resources/cloudfront_distribution.libsonnet +++ b/5.x/_gen/resources/cloudfront_distribution.libsonnet @@ -118,12 +118,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); prefix: prefix, }), }, - '#new':: d.fn(help="\n`aws.cloudfront_distribution.new` injects a new `aws_cloudfront_distribution` 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.cloudfront_distribution.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.cloudfront_distribution` using the reference:\n\n $._ref.aws_cloudfront_distribution.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_cloudfront_distribution.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 - `aliases` (`list`): Set the `aliases` field on the resulting resource block. When `null`, the `aliases` field will be omitted from the resulting object.\n - `comment` (`string`): Set the `comment` field on the resulting resource block. When `null`, the `comment` field will be omitted from the resulting object.\n - `default_root_object` (`string`): Set the `default_root_object` field on the resulting resource block. When `null`, the `default_root_object` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting resource block.\n - `http_version` (`string`): Set the `http_version` field on the resulting resource block. When `null`, the `http_version` field will be omitted from the resulting object.\n - `is_ipv6_enabled` (`bool`): Set the `is_ipv6_enabled` field on the resulting resource block. When `null`, the `is_ipv6_enabled` field will be omitted from the resulting object.\n - `price_class` (`string`): Set the `price_class` field on the resulting resource block. When `null`, the `price_class` field will be omitted from the resulting object.\n - `retain_on_delete` (`bool`): Set the `retain_on_delete` field on the resulting resource block. When `null`, the `retain_on_delete` 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 - `wait_for_deployment` (`bool`): Set the `wait_for_deployment` field on the resulting resource block. When `null`, the `wait_for_deployment` field will be omitted from the resulting object.\n - `web_acl_id` (`string`): Set the `web_acl_id` field on the resulting resource block. When `null`, the `web_acl_id` field will be omitted from the resulting object.\n - `custom_error_response` (`list[obj]`): Set the `custom_error_response` field on the resulting resource block. When `null`, the `custom_error_response` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.custom_error_response.new](#fn-custom_error_responsenew) constructor.\n - `default_cache_behavior` (`list[obj]`): Set the `default_cache_behavior` field on the resulting resource block. When `null`, the `default_cache_behavior` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.default_cache_behavior.new](#fn-default_cache_behaviornew) 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.cloudfront_distribution.logging_config.new](#fn-logging_confignew) constructor.\n - `ordered_cache_behavior` (`list[obj]`): Set the `ordered_cache_behavior` field on the resulting resource block. When `null`, the `ordered_cache_behavior` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.ordered_cache_behavior.new](#fn-ordered_cache_behaviornew) constructor.\n - `origin` (`list[obj]`): Set the `origin` field on the resulting resource block. When `null`, the `origin` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.origin.new](#fn-originnew) constructor.\n - `origin_group` (`list[obj]`): Set the `origin_group` field on the resulting resource block. When `null`, the `origin_group` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.origin_group.new](#fn-origin_groupnew) constructor.\n - `restrictions` (`list[obj]`): Set the `restrictions` field on the resulting resource block. When `null`, the `restrictions` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.restrictions.new](#fn-restrictionsnew) constructor.\n - `viewer_certificate` (`list[obj]`): Set the `viewer_certificate` field on the resulting resource block. When `null`, the `viewer_certificate` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.viewer_certificate.new](#fn-viewer_certificatenew) 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.cloudfront_distribution.new` injects a new `aws_cloudfront_distribution` 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.cloudfront_distribution.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.cloudfront_distribution` using the reference:\n\n $._ref.aws_cloudfront_distribution.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_cloudfront_distribution.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 - `aliases` (`list`): Set the `aliases` field on the resulting resource block. When `null`, the `aliases` field will be omitted from the resulting object.\n - `comment` (`string`): Set the `comment` field on the resulting resource block. When `null`, the `comment` field will be omitted from the resulting object.\n - `continuous_deployment_policy_id` (`string`): Set the `continuous_deployment_policy_id` field on the resulting resource block. When `null`, the `continuous_deployment_policy_id` field will be omitted from the resulting object.\n - `default_root_object` (`string`): Set the `default_root_object` field on the resulting resource block. When `null`, the `default_root_object` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting resource block.\n - `http_version` (`string`): Set the `http_version` field on the resulting resource block. When `null`, the `http_version` field will be omitted from the resulting object.\n - `is_ipv6_enabled` (`bool`): Set the `is_ipv6_enabled` field on the resulting resource block. When `null`, the `is_ipv6_enabled` field will be omitted from the resulting object.\n - `price_class` (`string`): Set the `price_class` field on the resulting resource block. When `null`, the `price_class` field will be omitted from the resulting object.\n - `retain_on_delete` (`bool`): Set the `retain_on_delete` field on the resulting resource block. When `null`, the `retain_on_delete` field will be omitted from the resulting object.\n - `staging` (`bool`): Set the `staging` field on the resulting resource block. When `null`, the `staging` 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 - `wait_for_deployment` (`bool`): Set the `wait_for_deployment` field on the resulting resource block. When `null`, the `wait_for_deployment` field will be omitted from the resulting object.\n - `web_acl_id` (`string`): Set the `web_acl_id` field on the resulting resource block. When `null`, the `web_acl_id` field will be omitted from the resulting object.\n - `custom_error_response` (`list[obj]`): Set the `custom_error_response` field on the resulting resource block. When `null`, the `custom_error_response` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.custom_error_response.new](#fn-custom_error_responsenew) constructor.\n - `default_cache_behavior` (`list[obj]`): Set the `default_cache_behavior` field on the resulting resource block. When `null`, the `default_cache_behavior` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.default_cache_behavior.new](#fn-default_cache_behaviornew) 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.cloudfront_distribution.logging_config.new](#fn-logging_confignew) constructor.\n - `ordered_cache_behavior` (`list[obj]`): Set the `ordered_cache_behavior` field on the resulting resource block. When `null`, the `ordered_cache_behavior` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.ordered_cache_behavior.new](#fn-ordered_cache_behaviornew) constructor.\n - `origin` (`list[obj]`): Set the `origin` field on the resulting resource block. When `null`, the `origin` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.origin.new](#fn-originnew) constructor.\n - `origin_group` (`list[obj]`): Set the `origin_group` field on the resulting resource block. When `null`, the `origin_group` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.origin_group.new](#fn-origin_groupnew) constructor.\n - `restrictions` (`list[obj]`): Set the `restrictions` field on the resulting resource block. When `null`, the `restrictions` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.restrictions.new](#fn-restrictionsnew) constructor.\n - `viewer_certificate` (`list[obj]`): Set the `viewer_certificate` field on the resulting resource block. When `null`, the `viewer_certificate` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.viewer_certificate.new](#fn-viewer_certificatenew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, enabled, aliases=null, comment=null, + continuous_deployment_policy_id=null, custom_error_response=null, default_cache_behavior=null, default_root_object=null, @@ -136,6 +137,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); price_class=null, restrictions=null, retain_on_delete=null, + staging=null, tags=null, tags_all=null, viewer_certificate=null, @@ -148,6 +150,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); attrs=self.newAttrs( aliases=aliases, comment=comment, + continuous_deployment_policy_id=continuous_deployment_policy_id, custom_error_response=custom_error_response, default_cache_behavior=default_cache_behavior, default_root_object=default_root_object, @@ -161,6 +164,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); price_class=price_class, restrictions=restrictions, retain_on_delete=retain_on_delete, + staging=staging, tags=tags, tags_all=tags_all, viewer_certificate=viewer_certificate, @@ -169,11 +173,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.cloudfront_distribution.newAttrs` constructs a new object with attributes and blocks configured for the `cloudfront_distribution`\nTerraform resource.\n\nUnlike [aws.cloudfront_distribution.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 - `aliases` (`list`): Set the `aliases` field on the resulting object. When `null`, the `aliases` field will be omitted from the resulting object.\n - `comment` (`string`): Set the `comment` field on the resulting object. When `null`, the `comment` field will be omitted from the resulting object.\n - `default_root_object` (`string`): Set the `default_root_object` field on the resulting object. When `null`, the `default_root_object` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object.\n - `http_version` (`string`): Set the `http_version` field on the resulting object. When `null`, the `http_version` field will be omitted from the resulting object.\n - `is_ipv6_enabled` (`bool`): Set the `is_ipv6_enabled` field on the resulting object. When `null`, the `is_ipv6_enabled` field will be omitted from the resulting object.\n - `price_class` (`string`): Set the `price_class` field on the resulting object. When `null`, the `price_class` field will be omitted from the resulting object.\n - `retain_on_delete` (`bool`): Set the `retain_on_delete` field on the resulting object. When `null`, the `retain_on_delete` 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 - `wait_for_deployment` (`bool`): Set the `wait_for_deployment` field on the resulting object. When `null`, the `wait_for_deployment` field will be omitted from the resulting object.\n - `web_acl_id` (`string`): Set the `web_acl_id` field on the resulting object. When `null`, the `web_acl_id` field will be omitted from the resulting object.\n - `custom_error_response` (`list[obj]`): Set the `custom_error_response` field on the resulting object. When `null`, the `custom_error_response` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.custom_error_response.new](#fn-custom_error_responsenew) constructor.\n - `default_cache_behavior` (`list[obj]`): Set the `default_cache_behavior` field on the resulting object. When `null`, the `default_cache_behavior` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.default_cache_behavior.new](#fn-default_cache_behaviornew) 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.cloudfront_distribution.logging_config.new](#fn-logging_confignew) constructor.\n - `ordered_cache_behavior` (`list[obj]`): Set the `ordered_cache_behavior` field on the resulting object. When `null`, the `ordered_cache_behavior` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.ordered_cache_behavior.new](#fn-ordered_cache_behaviornew) constructor.\n - `origin` (`list[obj]`): Set the `origin` field on the resulting object. When `null`, the `origin` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.origin.new](#fn-originnew) constructor.\n - `origin_group` (`list[obj]`): Set the `origin_group` field on the resulting object. When `null`, the `origin_group` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.origin_group.new](#fn-origin_groupnew) constructor.\n - `restrictions` (`list[obj]`): Set the `restrictions` field on the resulting object. When `null`, the `restrictions` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.restrictions.new](#fn-restrictionsnew) constructor.\n - `viewer_certificate` (`list[obj]`): Set the `viewer_certificate` field on the resulting object. When `null`, the `viewer_certificate` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.viewer_certificate.new](#fn-viewer_certificatenew) 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 `cloudfront_distribution` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.cloudfront_distribution.newAttrs` constructs a new object with attributes and blocks configured for the `cloudfront_distribution`\nTerraform resource.\n\nUnlike [aws.cloudfront_distribution.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 - `aliases` (`list`): Set the `aliases` field on the resulting object. When `null`, the `aliases` field will be omitted from the resulting object.\n - `comment` (`string`): Set the `comment` field on the resulting object. When `null`, the `comment` field will be omitted from the resulting object.\n - `continuous_deployment_policy_id` (`string`): Set the `continuous_deployment_policy_id` field on the resulting object. When `null`, the `continuous_deployment_policy_id` field will be omitted from the resulting object.\n - `default_root_object` (`string`): Set the `default_root_object` field on the resulting object. When `null`, the `default_root_object` field will be omitted from the resulting object.\n - `enabled` (`bool`): Set the `enabled` field on the resulting object.\n - `http_version` (`string`): Set the `http_version` field on the resulting object. When `null`, the `http_version` field will be omitted from the resulting object.\n - `is_ipv6_enabled` (`bool`): Set the `is_ipv6_enabled` field on the resulting object. When `null`, the `is_ipv6_enabled` field will be omitted from the resulting object.\n - `price_class` (`string`): Set the `price_class` field on the resulting object. When `null`, the `price_class` field will be omitted from the resulting object.\n - `retain_on_delete` (`bool`): Set the `retain_on_delete` field on the resulting object. When `null`, the `retain_on_delete` field will be omitted from the resulting object.\n - `staging` (`bool`): Set the `staging` field on the resulting object. When `null`, the `staging` 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 - `wait_for_deployment` (`bool`): Set the `wait_for_deployment` field on the resulting object. When `null`, the `wait_for_deployment` field will be omitted from the resulting object.\n - `web_acl_id` (`string`): Set the `web_acl_id` field on the resulting object. When `null`, the `web_acl_id` field will be omitted from the resulting object.\n - `custom_error_response` (`list[obj]`): Set the `custom_error_response` field on the resulting object. When `null`, the `custom_error_response` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.custom_error_response.new](#fn-custom_error_responsenew) constructor.\n - `default_cache_behavior` (`list[obj]`): Set the `default_cache_behavior` field on the resulting object. When `null`, the `default_cache_behavior` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.default_cache_behavior.new](#fn-default_cache_behaviornew) 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.cloudfront_distribution.logging_config.new](#fn-logging_confignew) constructor.\n - `ordered_cache_behavior` (`list[obj]`): Set the `ordered_cache_behavior` field on the resulting object. When `null`, the `ordered_cache_behavior` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.ordered_cache_behavior.new](#fn-ordered_cache_behaviornew) constructor.\n - `origin` (`list[obj]`): Set the `origin` field on the resulting object. When `null`, the `origin` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.origin.new](#fn-originnew) constructor.\n - `origin_group` (`list[obj]`): Set the `origin_group` field on the resulting object. When `null`, the `origin_group` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.origin_group.new](#fn-origin_groupnew) constructor.\n - `restrictions` (`list[obj]`): Set the `restrictions` field on the resulting object. When `null`, the `restrictions` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.restrictions.new](#fn-restrictionsnew) constructor.\n - `viewer_certificate` (`list[obj]`): Set the `viewer_certificate` field on the resulting object. When `null`, the `viewer_certificate` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_distribution.viewer_certificate.new](#fn-viewer_certificatenew) 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 `cloudfront_distribution` resource into the root Terraform configuration.\n', args=[]), newAttrs( enabled, aliases=null, comment=null, + continuous_deployment_policy_id=null, custom_error_response=null, default_cache_behavior=null, default_root_object=null, @@ -186,6 +191,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); price_class=null, restrictions=null, retain_on_delete=null, + staging=null, tags=null, tags_all=null, viewer_certificate=null, @@ -194,6 +200,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ):: std.prune(a={ aliases: aliases, comment: comment, + continuous_deployment_policy_id: continuous_deployment_policy_id, custom_error_response: custom_error_response, default_cache_behavior: default_cache_behavior, default_root_object: default_root_object, @@ -207,6 +214,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); price_class: price_class, restrictions: restrictions, retain_on_delete: retain_on_delete, + staging: staging, tags: tags, tags_all: tags_all, viewer_certificate: viewer_certificate, @@ -459,6 +467,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withContinuousDeploymentPolicyId':: d.fn(help='`aws.string.withContinuousDeploymentPolicyId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the continuous_deployment_policy_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 `continuous_deployment_policy_id` field.\n', args=[]), + withContinuousDeploymentPolicyId(resourceLabel, value): { + resource+: { + aws_cloudfront_distribution+: { + [resourceLabel]+: { + continuous_deployment_policy_id: value, + }, + }, + }, + }, '#withCustomErrorResponse':: d.fn(help='`aws.list[obj].withCustomErrorResponse` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the custom_error_response 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].withCustomErrorResponseMixin](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 `custom_error_response` field.\n', args=[]), withCustomErrorResponse(resourceLabel, value): { resource+: { @@ -659,6 +677,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withStaging':: d.fn(help='`aws.bool.withStaging` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the staging 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 `staging` field.\n', args=[]), + withStaging(resourceLabel, value): { + resource+: { + aws_cloudfront_distribution+: { + [resourceLabel]+: { + staging: 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/cloudwatch_composite_alarm.libsonnet b/5.x/_gen/resources/cloudwatch_composite_alarm.libsonnet index fb1ce4a3..0f09538e 100644 --- a/5.x/_gen/resources/cloudwatch_composite_alarm.libsonnet +++ b/5.x/_gen/resources/cloudwatch_composite_alarm.libsonnet @@ -2,12 +2,25 @@ 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='cloudwatch_composite_alarm', url='', help='`cloudwatch_composite_alarm` represents the `aws_cloudwatch_composite_alarm` 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.cloudwatch_composite_alarm.new` injects a new `aws_cloudwatch_composite_alarm` 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.cloudwatch_composite_alarm.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.cloudwatch_composite_alarm` using the reference:\n\n $._ref.aws_cloudwatch_composite_alarm.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_cloudwatch_composite_alarm.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 - `actions_enabled` (`bool`): Set the `actions_enabled` field on the resulting resource block. When `null`, the `actions_enabled` field will be omitted from the resulting object.\n - `alarm_actions` (`list`): Set the `alarm_actions` field on the resulting resource block. When `null`, the `alarm_actions` field will be omitted from the resulting object.\n - `alarm_description` (`string`): Set the `alarm_description` field on the resulting resource block. When `null`, the `alarm_description` field will be omitted from the resulting object.\n - `alarm_name` (`string`): Set the `alarm_name` field on the resulting resource block.\n - `alarm_rule` (`string`): Set the `alarm_rule` field on the resulting resource block.\n - `insufficient_data_actions` (`list`): Set the `insufficient_data_actions` field on the resulting resource block. When `null`, the `insufficient_data_actions` field will be omitted from the resulting object.\n - `ok_actions` (`list`): Set the `ok_actions` field on the resulting resource block. When `null`, the `ok_actions` 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=[]), + actions_suppressor:: { + '#new':: d.fn(help='\n`aws.cloudwatch_composite_alarm.actions_suppressor.new` constructs a new object with attributes and blocks configured for the `actions_suppressor`\nTerraform sub block.\n\n\n\n**Args**:\n - `alarm` (`string`): Set the `alarm` field on the resulting object.\n - `extension_period` (`number`): Set the `extension_period` field on the resulting object.\n - `wait_period` (`number`): Set the `wait_period` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `actions_suppressor` sub block.\n', args=[]), + new( + alarm, + extension_period, + wait_period + ):: std.prune(a={ + alarm: alarm, + extension_period: extension_period, + wait_period: wait_period, + }), + }, + '#new':: d.fn(help="\n`aws.cloudwatch_composite_alarm.new` injects a new `aws_cloudwatch_composite_alarm` 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.cloudwatch_composite_alarm.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.cloudwatch_composite_alarm` using the reference:\n\n $._ref.aws_cloudwatch_composite_alarm.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_cloudwatch_composite_alarm.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 - `actions_enabled` (`bool`): Set the `actions_enabled` field on the resulting resource block. When `null`, the `actions_enabled` field will be omitted from the resulting object.\n - `alarm_actions` (`list`): Set the `alarm_actions` field on the resulting resource block. When `null`, the `alarm_actions` field will be omitted from the resulting object.\n - `alarm_description` (`string`): Set the `alarm_description` field on the resulting resource block. When `null`, the `alarm_description` field will be omitted from the resulting object.\n - `alarm_name` (`string`): Set the `alarm_name` field on the resulting resource block.\n - `alarm_rule` (`string`): Set the `alarm_rule` field on the resulting resource block.\n - `insufficient_data_actions` (`list`): Set the `insufficient_data_actions` field on the resulting resource block. When `null`, the `insufficient_data_actions` field will be omitted from the resulting object.\n - `ok_actions` (`list`): Set the `ok_actions` field on the resulting resource block. When `null`, the `ok_actions` 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 - `actions_suppressor` (`list[obj]`): Set the `actions_suppressor` field on the resulting resource block. When `null`, the `actions_suppressor` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_composite_alarm.actions_suppressor.new](#fn-actions_suppressornew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, alarm_name, alarm_rule, actions_enabled=null, + actions_suppressor=null, alarm_actions=null, alarm_description=null, insufficient_data_actions=null, @@ -20,6 +33,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); label=resourceLabel, attrs=self.newAttrs( actions_enabled=actions_enabled, + actions_suppressor=actions_suppressor, alarm_actions=alarm_actions, alarm_description=alarm_description, alarm_name=alarm_name, @@ -31,11 +45,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.cloudwatch_composite_alarm.newAttrs` constructs a new object with attributes and blocks configured for the `cloudwatch_composite_alarm`\nTerraform resource.\n\nUnlike [aws.cloudwatch_composite_alarm.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 - `actions_enabled` (`bool`): Set the `actions_enabled` field on the resulting object. When `null`, the `actions_enabled` field will be omitted from the resulting object.\n - `alarm_actions` (`list`): Set the `alarm_actions` field on the resulting object. When `null`, the `alarm_actions` field will be omitted from the resulting object.\n - `alarm_description` (`string`): Set the `alarm_description` field on the resulting object. When `null`, the `alarm_description` field will be omitted from the resulting object.\n - `alarm_name` (`string`): Set the `alarm_name` field on the resulting object.\n - `alarm_rule` (`string`): Set the `alarm_rule` field on the resulting object.\n - `insufficient_data_actions` (`list`): Set the `insufficient_data_actions` field on the resulting object. When `null`, the `insufficient_data_actions` field will be omitted from the resulting object.\n - `ok_actions` (`list`): Set the `ok_actions` field on the resulting object. When `null`, the `ok_actions` 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 `cloudwatch_composite_alarm` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.cloudwatch_composite_alarm.newAttrs` constructs a new object with attributes and blocks configured for the `cloudwatch_composite_alarm`\nTerraform resource.\n\nUnlike [aws.cloudwatch_composite_alarm.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 - `actions_enabled` (`bool`): Set the `actions_enabled` field on the resulting object. When `null`, the `actions_enabled` field will be omitted from the resulting object.\n - `alarm_actions` (`list`): Set the `alarm_actions` field on the resulting object. When `null`, the `alarm_actions` field will be omitted from the resulting object.\n - `alarm_description` (`string`): Set the `alarm_description` field on the resulting object. When `null`, the `alarm_description` field will be omitted from the resulting object.\n - `alarm_name` (`string`): Set the `alarm_name` field on the resulting object.\n - `alarm_rule` (`string`): Set the `alarm_rule` field on the resulting object.\n - `insufficient_data_actions` (`list`): Set the `insufficient_data_actions` field on the resulting object. When `null`, the `insufficient_data_actions` field will be omitted from the resulting object.\n - `ok_actions` (`list`): Set the `ok_actions` field on the resulting object. When `null`, the `ok_actions` 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 - `actions_suppressor` (`list[obj]`): Set the `actions_suppressor` field on the resulting object. When `null`, the `actions_suppressor` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_composite_alarm.actions_suppressor.new](#fn-actions_suppressornew) 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 `cloudwatch_composite_alarm` resource into the root Terraform configuration.\n', args=[]), newAttrs( alarm_name, alarm_rule, actions_enabled=null, + actions_suppressor=null, alarm_actions=null, alarm_description=null, insufficient_data_actions=null, @@ -44,6 +59,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); tags_all=null ):: std.prune(a={ actions_enabled: actions_enabled, + actions_suppressor: actions_suppressor, alarm_actions: alarm_actions, alarm_description: alarm_description, alarm_name: alarm_name, @@ -63,6 +79,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withActionsSuppressor':: d.fn(help='`aws.list[obj].withActionsSuppressor` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the actions_suppressor 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].withActionsSuppressorMixin](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 `actions_suppressor` field.\n', args=[]), + withActionsSuppressor(resourceLabel, value): { + resource+: { + aws_cloudwatch_composite_alarm+: { + [resourceLabel]+: { + actions_suppressor: value, + }, + }, + }, + }, + '#withActionsSuppressorMixin':: d.fn(help='`aws.list[obj].withActionsSuppressorMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the actions_suppressor 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].withActionsSuppressor](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 `actions_suppressor` field.\n', args=[]), + withActionsSuppressorMixin(resourceLabel, value): { + resource+: { + aws_cloudwatch_composite_alarm+: { + [resourceLabel]+: { + actions_suppressor+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withAlarmActions':: d.fn(help='`aws.list.withAlarmActions` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the alarm_actions 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 `alarm_actions` field.\n', args=[]), withAlarmActions(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/cloudwatch_event_target.libsonnet b/5.x/_gen/resources/cloudwatch_event_target.libsonnet index 1699296f..5e492c51 100644 --- a/5.x/_gen/resources/cloudwatch_event_target.libsonnet +++ b/5.x/_gen/resources/cloudwatch_event_target.libsonnet @@ -130,7 +130,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); partition_key_path: partition_key_path, }), }, - '#new':: d.fn(help="\n`aws.cloudwatch_event_target.new` injects a new `aws_cloudwatch_event_target` 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.cloudwatch_event_target.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.cloudwatch_event_target` using the reference:\n\n $._ref.aws_cloudwatch_event_target.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_cloudwatch_event_target.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 - `arn` (`string`): Set the `arn` field on the resulting resource block.\n - `event_bus_name` (`string`): Set the `event_bus_name` field on the resulting resource block. When `null`, the `event_bus_name` field will be omitted from the resulting object.\n - `input` (`string`): Set the `input` field on the resulting resource block. When `null`, the `input` field will be omitted from the resulting object.\n - `input_path` (`string`): Set the `input_path` field on the resulting resource block. When `null`, the `input_path` field will be omitted from the resulting object.\n - `role_arn` (`string`): Set the `role_arn` field on the resulting resource block. When `null`, the `role_arn` field will be omitted from the resulting object.\n - `rule` (`string`): Set the `rule` field on the resulting resource block.\n - `target_id` (`string`): Set the `target_id` field on the resulting resource block. When `null`, the `target_id` field will be omitted from the resulting object.\n - `batch_target` (`list[obj]`): Set the `batch_target` field on the resulting resource block. When `null`, the `batch_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.batch_target.new](#fn-batch_targetnew) constructor.\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.cloudwatch_event_target.dead_letter_config.new](#fn-dead_letter_confignew) constructor.\n - `ecs_target` (`list[obj]`): Set the `ecs_target` field on the resulting resource block. When `null`, the `ecs_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.ecs_target.new](#fn-ecs_targetnew) constructor.\n - `http_target` (`list[obj]`): Set the `http_target` field on the resulting resource block. When `null`, the `http_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.http_target.new](#fn-http_targetnew) constructor.\n - `input_transformer` (`list[obj]`): Set the `input_transformer` field on the resulting resource block. When `null`, the `input_transformer` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.input_transformer.new](#fn-input_transformernew) constructor.\n - `kinesis_target` (`list[obj]`): Set the `kinesis_target` field on the resulting resource block. When `null`, the `kinesis_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.kinesis_target.new](#fn-kinesis_targetnew) constructor.\n - `redshift_target` (`list[obj]`): Set the `redshift_target` field on the resulting resource block. When `null`, the `redshift_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.redshift_target.new](#fn-redshift_targetnew) constructor.\n - `retry_policy` (`list[obj]`): Set the `retry_policy` field on the resulting resource block. When `null`, the `retry_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.cloudwatch_event_target.retry_policy.new](#fn-retry_policynew) constructor.\n - `run_command_targets` (`list[obj]`): Set the `run_command_targets` field on the resulting resource block. When `null`, the `run_command_targets` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.run_command_targets.new](#fn-run_command_targetsnew) constructor.\n - `sqs_target` (`list[obj]`): Set the `sqs_target` field on the resulting resource block. When `null`, the `sqs_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.sqs_target.new](#fn-sqs_targetnew) 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.cloudwatch_event_target.new` injects a new `aws_cloudwatch_event_target` 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.cloudwatch_event_target.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.cloudwatch_event_target` using the reference:\n\n $._ref.aws_cloudwatch_event_target.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_cloudwatch_event_target.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 - `arn` (`string`): Set the `arn` field on the resulting resource block.\n - `event_bus_name` (`string`): Set the `event_bus_name` field on the resulting resource block. When `null`, the `event_bus_name` field will be omitted from the resulting object.\n - `input` (`string`): Set the `input` field on the resulting resource block. When `null`, the `input` field will be omitted from the resulting object.\n - `input_path` (`string`): Set the `input_path` field on the resulting resource block. When `null`, the `input_path` field will be omitted from the resulting object.\n - `role_arn` (`string`): Set the `role_arn` field on the resulting resource block. When `null`, the `role_arn` field will be omitted from the resulting object.\n - `rule` (`string`): Set the `rule` field on the resulting resource block.\n - `target_id` (`string`): Set the `target_id` field on the resulting resource block. When `null`, the `target_id` field will be omitted from the resulting object.\n - `batch_target` (`list[obj]`): Set the `batch_target` field on the resulting resource block. When `null`, the `batch_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.batch_target.new](#fn-batch_targetnew) constructor.\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.cloudwatch_event_target.dead_letter_config.new](#fn-dead_letter_confignew) constructor.\n - `ecs_target` (`list[obj]`): Set the `ecs_target` field on the resulting resource block. When `null`, the `ecs_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.ecs_target.new](#fn-ecs_targetnew) constructor.\n - `http_target` (`list[obj]`): Set the `http_target` field on the resulting resource block. When `null`, the `http_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.http_target.new](#fn-http_targetnew) constructor.\n - `input_transformer` (`list[obj]`): Set the `input_transformer` field on the resulting resource block. When `null`, the `input_transformer` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.input_transformer.new](#fn-input_transformernew) constructor.\n - `kinesis_target` (`list[obj]`): Set the `kinesis_target` field on the resulting resource block. When `null`, the `kinesis_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.kinesis_target.new](#fn-kinesis_targetnew) constructor.\n - `redshift_target` (`list[obj]`): Set the `redshift_target` field on the resulting resource block. When `null`, the `redshift_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.redshift_target.new](#fn-redshift_targetnew) constructor.\n - `retry_policy` (`list[obj]`): Set the `retry_policy` field on the resulting resource block. When `null`, the `retry_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.cloudwatch_event_target.retry_policy.new](#fn-retry_policynew) constructor.\n - `run_command_targets` (`list[obj]`): Set the `run_command_targets` field on the resulting resource block. When `null`, the `run_command_targets` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.run_command_targets.new](#fn-run_command_targetsnew) constructor.\n - `sagemaker_pipeline_target` (`list[obj]`): Set the `sagemaker_pipeline_target` field on the resulting resource block. When `null`, the `sagemaker_pipeline_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.sagemaker_pipeline_target.new](#fn-sagemaker_pipeline_targetnew) constructor.\n - `sqs_target` (`list[obj]`): Set the `sqs_target` field on the resulting resource block. When `null`, the `sqs_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.sqs_target.new](#fn-sqs_targetnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, arn, @@ -148,6 +148,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); retry_policy=null, role_arn=null, run_command_targets=null, + sagemaker_pipeline_target=null, sqs_target=null, target_id=null, _meta={} @@ -170,12 +171,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); role_arn=role_arn, rule=rule, run_command_targets=run_command_targets, + sagemaker_pipeline_target=sagemaker_pipeline_target, sqs_target=sqs_target, target_id=target_id ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.cloudwatch_event_target.newAttrs` constructs a new object with attributes and blocks configured for the `cloudwatch_event_target`\nTerraform resource.\n\nUnlike [aws.cloudwatch_event_target.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 - `arn` (`string`): Set the `arn` field on the resulting object.\n - `event_bus_name` (`string`): Set the `event_bus_name` field on the resulting object. When `null`, the `event_bus_name` field will be omitted from the resulting object.\n - `input` (`string`): Set the `input` field on the resulting object. When `null`, the `input` field will be omitted from the resulting object.\n - `input_path` (`string`): Set the `input_path` field on the resulting object. When `null`, the `input_path` field will be omitted from the resulting object.\n - `role_arn` (`string`): Set the `role_arn` field on the resulting object. When `null`, the `role_arn` field will be omitted from the resulting object.\n - `rule` (`string`): Set the `rule` field on the resulting object.\n - `target_id` (`string`): Set the `target_id` field on the resulting object. When `null`, the `target_id` field will be omitted from the resulting object.\n - `batch_target` (`list[obj]`): Set the `batch_target` field on the resulting object. When `null`, the `batch_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.batch_target.new](#fn-batch_targetnew) constructor.\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.cloudwatch_event_target.dead_letter_config.new](#fn-dead_letter_confignew) constructor.\n - `ecs_target` (`list[obj]`): Set the `ecs_target` field on the resulting object. When `null`, the `ecs_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.ecs_target.new](#fn-ecs_targetnew) constructor.\n - `http_target` (`list[obj]`): Set the `http_target` field on the resulting object. When `null`, the `http_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.http_target.new](#fn-http_targetnew) constructor.\n - `input_transformer` (`list[obj]`): Set the `input_transformer` field on the resulting object. When `null`, the `input_transformer` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.input_transformer.new](#fn-input_transformernew) constructor.\n - `kinesis_target` (`list[obj]`): Set the `kinesis_target` field on the resulting object. When `null`, the `kinesis_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.kinesis_target.new](#fn-kinesis_targetnew) constructor.\n - `redshift_target` (`list[obj]`): Set the `redshift_target` field on the resulting object. When `null`, the `redshift_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.redshift_target.new](#fn-redshift_targetnew) constructor.\n - `retry_policy` (`list[obj]`): Set the `retry_policy` field on the resulting object. When `null`, the `retry_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.cloudwatch_event_target.retry_policy.new](#fn-retry_policynew) constructor.\n - `run_command_targets` (`list[obj]`): Set the `run_command_targets` field on the resulting object. When `null`, the `run_command_targets` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.run_command_targets.new](#fn-run_command_targetsnew) constructor.\n - `sqs_target` (`list[obj]`): Set the `sqs_target` field on the resulting object. When `null`, the `sqs_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.sqs_target.new](#fn-sqs_targetnew) 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 `cloudwatch_event_target` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.cloudwatch_event_target.newAttrs` constructs a new object with attributes and blocks configured for the `cloudwatch_event_target`\nTerraform resource.\n\nUnlike [aws.cloudwatch_event_target.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 - `arn` (`string`): Set the `arn` field on the resulting object.\n - `event_bus_name` (`string`): Set the `event_bus_name` field on the resulting object. When `null`, the `event_bus_name` field will be omitted from the resulting object.\n - `input` (`string`): Set the `input` field on the resulting object. When `null`, the `input` field will be omitted from the resulting object.\n - `input_path` (`string`): Set the `input_path` field on the resulting object. When `null`, the `input_path` field will be omitted from the resulting object.\n - `role_arn` (`string`): Set the `role_arn` field on the resulting object. When `null`, the `role_arn` field will be omitted from the resulting object.\n - `rule` (`string`): Set the `rule` field on the resulting object.\n - `target_id` (`string`): Set the `target_id` field on the resulting object. When `null`, the `target_id` field will be omitted from the resulting object.\n - `batch_target` (`list[obj]`): Set the `batch_target` field on the resulting object. When `null`, the `batch_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.batch_target.new](#fn-batch_targetnew) constructor.\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.cloudwatch_event_target.dead_letter_config.new](#fn-dead_letter_confignew) constructor.\n - `ecs_target` (`list[obj]`): Set the `ecs_target` field on the resulting object. When `null`, the `ecs_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.ecs_target.new](#fn-ecs_targetnew) constructor.\n - `http_target` (`list[obj]`): Set the `http_target` field on the resulting object. When `null`, the `http_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.http_target.new](#fn-http_targetnew) constructor.\n - `input_transformer` (`list[obj]`): Set the `input_transformer` field on the resulting object. When `null`, the `input_transformer` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.input_transformer.new](#fn-input_transformernew) constructor.\n - `kinesis_target` (`list[obj]`): Set the `kinesis_target` field on the resulting object. When `null`, the `kinesis_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.kinesis_target.new](#fn-kinesis_targetnew) constructor.\n - `redshift_target` (`list[obj]`): Set the `redshift_target` field on the resulting object. When `null`, the `redshift_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.redshift_target.new](#fn-redshift_targetnew) constructor.\n - `retry_policy` (`list[obj]`): Set the `retry_policy` field on the resulting object. When `null`, the `retry_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.cloudwatch_event_target.retry_policy.new](#fn-retry_policynew) constructor.\n - `run_command_targets` (`list[obj]`): Set the `run_command_targets` field on the resulting object. When `null`, the `run_command_targets` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.run_command_targets.new](#fn-run_command_targetsnew) constructor.\n - `sagemaker_pipeline_target` (`list[obj]`): Set the `sagemaker_pipeline_target` field on the resulting object. When `null`, the `sagemaker_pipeline_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.sagemaker_pipeline_target.new](#fn-sagemaker_pipeline_targetnew) constructor.\n - `sqs_target` (`list[obj]`): Set the `sqs_target` field on the resulting object. When `null`, the `sqs_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.sqs_target.new](#fn-sqs_targetnew) 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 `cloudwatch_event_target` resource into the root Terraform configuration.\n', args=[]), newAttrs( arn, rule, @@ -192,6 +194,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); retry_policy=null, role_arn=null, run_command_targets=null, + sagemaker_pipeline_target=null, sqs_target=null, target_id=null ):: std.prune(a={ @@ -210,6 +213,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); role_arn: role_arn, rule: rule, run_command_targets: run_command_targets, + sagemaker_pipeline_target: sagemaker_pipeline_target, sqs_target: sqs_target, target_id: target_id, }), @@ -251,6 +255,24 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); values: values, }), }, + sagemaker_pipeline_target:: { + '#new':: d.fn(help='\n`aws.cloudwatch_event_target.sagemaker_pipeline_target.new` constructs a new object with attributes and blocks configured for the `sagemaker_pipeline_target`\nTerraform sub block.\n\n\n\n**Args**:\n - `pipeline_parameter_list` (`list[obj]`): Set the `pipeline_parameter_list` field on the resulting object. When `null`, the `pipeline_parameter_list` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.sagemaker_pipeline_target.pipeline_parameter_list.new](#fn-sagemaker_pipeline_targetpipeline_parameter_listnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `sagemaker_pipeline_target` sub block.\n', args=[]), + new( + pipeline_parameter_list=null + ):: std.prune(a={ + pipeline_parameter_list: pipeline_parameter_list, + }), + pipeline_parameter_list:: { + '#new':: d.fn(help='\n`aws.cloudwatch_event_target.sagemaker_pipeline_target.pipeline_parameter_list.new` constructs a new object with attributes and blocks configured for the `pipeline_parameter_list`\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 `pipeline_parameter_list` sub block.\n', args=[]), + new( + name, + value + ):: std.prune(a={ + name: name, + value: value, + }), + }, + }, sqs_target:: { '#new':: d.fn(help='\n`aws.cloudwatch_event_target.sqs_target.new` constructs a new object with attributes and blocks configured for the `sqs_target`\nTerraform sub block.\n\n\n\n**Args**:\n - `message_group_id` (`string`): Set the `message_group_id` field on the resulting object. When `null`, the `message_group_id` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `sqs_target` sub block.\n', args=[]), new( @@ -499,6 +521,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withSagemakerPipelineTarget':: d.fn(help='`aws.list[obj].withSagemakerPipelineTarget` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the sagemaker_pipeline_target 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].withSagemakerPipelineTargetMixin](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 `sagemaker_pipeline_target` field.\n', args=[]), + withSagemakerPipelineTarget(resourceLabel, value): { + resource+: { + aws_cloudwatch_event_target+: { + [resourceLabel]+: { + sagemaker_pipeline_target: value, + }, + }, + }, + }, + '#withSagemakerPipelineTargetMixin':: d.fn(help='`aws.list[obj].withSagemakerPipelineTargetMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the sagemaker_pipeline_target 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].withSagemakerPipelineTarget](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 `sagemaker_pipeline_target` field.\n', args=[]), + withSagemakerPipelineTargetMixin(resourceLabel, value): { + resource+: { + aws_cloudwatch_event_target+: { + [resourceLabel]+: { + sagemaker_pipeline_target+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withSqsTarget':: d.fn(help='`aws.list[obj].withSqsTarget` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the sqs_target 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].withSqsTargetMixin](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 `sqs_target` field.\n', args=[]), withSqsTarget(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/codecatalyst_dev_environment.libsonnet b/5.x/_gen/resources/codecatalyst_dev_environment.libsonnet new file mode 100644 index 00000000..4bd26bbd --- /dev/null +++ b/5.x/_gen/resources/codecatalyst_dev_environment.libsonnet @@ -0,0 +1,226 @@ +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='codecatalyst_dev_environment', url='', help='`codecatalyst_dev_environment` represents the `aws_codecatalyst_dev_environment` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), + ides:: { + '#new':: d.fn(help='\n`aws.codecatalyst_dev_environment.ides.new` constructs a new object with attributes and blocks configured for the `ides`\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 - `runtime` (`string`): Set the `runtime` field on the resulting object. When `null`, the `runtime` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `ides` sub block.\n', args=[]), + new( + name=null, + runtime=null + ):: std.prune(a={ + name: name, + runtime: runtime, + }), + }, + '#new':: d.fn(help="\n`aws.codecatalyst_dev_environment.new` injects a new `aws_codecatalyst_dev_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.codecatalyst_dev_environment.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.codecatalyst_dev_environment` using the reference:\n\n $._ref.aws_codecatalyst_dev_environment.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_codecatalyst_dev_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 - `alias` (`string`): Set the `alias` field on the resulting resource block. When `null`, the `alias` field will be omitted from the resulting object.\n - `inactivity_timeout_minutes` (`number`): Set the `inactivity_timeout_minutes` field on the resulting resource block. When `null`, the `inactivity_timeout_minutes` field will be omitted from the resulting object.\n - `instance_type` (`string`): Set the `instance_type` field on the resulting resource block.\n - `project_name` (`string`): Set the `project_name` field on the resulting resource block.\n - `space_name` (`string`): Set the `space_name` field on the resulting resource block.\n - `ides` (`list[obj]`): Set the `ides` field on the resulting resource block. When `null`, the `ides` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codecatalyst_dev_environment.ides.new](#fn-idesnew) constructor.\n - `persistent_storage` (`list[obj]`): Set the `persistent_storage` field on the resulting resource block. When `null`, the `persistent_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.codecatalyst_dev_environment.persistent_storage.new](#fn-persistent_storagenew) constructor.\n - `repositories` (`list[obj]`): Set the `repositories` field on the resulting resource block. When `null`, the `repositories` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codecatalyst_dev_environment.repositories.new](#fn-repositoriesnew) 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.codecatalyst_dev_environment.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, + instance_type, + project_name, + space_name, + alias=null, + ides=null, + inactivity_timeout_minutes=null, + persistent_storage=null, + repositories=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='aws_codecatalyst_dev_environment', + label=resourceLabel, + attrs=self.newAttrs( + alias=alias, + ides=ides, + inactivity_timeout_minutes=inactivity_timeout_minutes, + instance_type=instance_type, + persistent_storage=persistent_storage, + project_name=project_name, + repositories=repositories, + space_name=space_name, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.codecatalyst_dev_environment.newAttrs` constructs a new object with attributes and blocks configured for the `codecatalyst_dev_environment`\nTerraform resource.\n\nUnlike [aws.codecatalyst_dev_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 - `alias` (`string`): Set the `alias` field on the resulting object. When `null`, the `alias` field will be omitted from the resulting object.\n - `inactivity_timeout_minutes` (`number`): Set the `inactivity_timeout_minutes` field on the resulting object. When `null`, the `inactivity_timeout_minutes` field will be omitted from the resulting object.\n - `instance_type` (`string`): Set the `instance_type` field on the resulting object.\n - `project_name` (`string`): Set the `project_name` field on the resulting object.\n - `space_name` (`string`): Set the `space_name` field on the resulting object.\n - `ides` (`list[obj]`): Set the `ides` field on the resulting object. When `null`, the `ides` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codecatalyst_dev_environment.ides.new](#fn-idesnew) constructor.\n - `persistent_storage` (`list[obj]`): Set the `persistent_storage` field on the resulting object. When `null`, the `persistent_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.codecatalyst_dev_environment.persistent_storage.new](#fn-persistent_storagenew) constructor.\n - `repositories` (`list[obj]`): Set the `repositories` field on the resulting object. When `null`, the `repositories` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codecatalyst_dev_environment.repositories.new](#fn-repositoriesnew) 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.codecatalyst_dev_environment.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 `codecatalyst_dev_environment` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + instance_type, + project_name, + space_name, + alias=null, + ides=null, + inactivity_timeout_minutes=null, + persistent_storage=null, + repositories=null, + timeouts=null + ):: std.prune(a={ + alias: alias, + ides: ides, + inactivity_timeout_minutes: inactivity_timeout_minutes, + instance_type: instance_type, + persistent_storage: persistent_storage, + project_name: project_name, + repositories: repositories, + space_name: space_name, + timeouts: timeouts, + }), + persistent_storage:: { + '#new':: d.fn(help='\n`aws.codecatalyst_dev_environment.persistent_storage.new` constructs a new object with attributes and blocks configured for the `persistent_storage`\nTerraform sub block.\n\n\n\n**Args**:\n - `size` (`number`): Set the `size` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `persistent_storage` sub block.\n', args=[]), + new( + size + ):: std.prune(a={ + size: size, + }), + }, + repositories:: { + '#new':: d.fn(help='\n`aws.codecatalyst_dev_environment.repositories.new` constructs a new object with attributes and blocks configured for the `repositories`\nTerraform sub block.\n\n\n\n**Args**:\n - `branch_name` (`string`): Set the `branch_name` field on the resulting object. When `null`, the `branch_name` field will be omitted from the resulting object.\n - `repository_name` (`string`): Set the `repository_name` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `repositories` sub block.\n', args=[]), + new( + repository_name, + branch_name=null + ):: std.prune(a={ + branch_name: branch_name, + repository_name: repository_name, + }), + }, + timeouts:: { + '#new':: d.fn(help='\n`aws.codecatalyst_dev_environment.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, + }), + }, + '#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_codecatalyst_dev_environment+: { + [resourceLabel]+: { + alias: value, + }, + }, + }, + }, + '#withIdes':: d.fn(help='`aws.list[obj].withIdes` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the ides 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].withIdesMixin](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 `ides` field.\n', args=[]), + withIdes(resourceLabel, value): { + resource+: { + aws_codecatalyst_dev_environment+: { + [resourceLabel]+: { + ides: value, + }, + }, + }, + }, + '#withIdesMixin':: d.fn(help='`aws.list[obj].withIdesMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the ides 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].withIdes](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 `ides` field.\n', args=[]), + withIdesMixin(resourceLabel, value): { + resource+: { + aws_codecatalyst_dev_environment+: { + [resourceLabel]+: { + ides+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withInactivityTimeoutMinutes':: d.fn(help='`aws.number.withInactivityTimeoutMinutes` constructs a mixin object that can be merged into the `number`\nTerraform resource block to set or update the inactivity_timeout_minutes 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 `inactivity_timeout_minutes` field.\n', args=[]), + withInactivityTimeoutMinutes(resourceLabel, value): { + resource+: { + aws_codecatalyst_dev_environment+: { + [resourceLabel]+: { + inactivity_timeout_minutes: value, + }, + }, + }, + }, + '#withInstanceType':: d.fn(help='`aws.string.withInstanceType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the instance_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 `instance_type` field.\n', args=[]), + withInstanceType(resourceLabel, value): { + resource+: { + aws_codecatalyst_dev_environment+: { + [resourceLabel]+: { + instance_type: value, + }, + }, + }, + }, + '#withPersistentStorage':: d.fn(help='`aws.list[obj].withPersistentStorage` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the persistent_storage 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].withPersistentStorageMixin](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 `persistent_storage` field.\n', args=[]), + withPersistentStorage(resourceLabel, value): { + resource+: { + aws_codecatalyst_dev_environment+: { + [resourceLabel]+: { + persistent_storage: value, + }, + }, + }, + }, + '#withPersistentStorageMixin':: d.fn(help='`aws.list[obj].withPersistentStorageMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the persistent_storage 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].withPersistentStorage](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 `persistent_storage` field.\n', args=[]), + withPersistentStorageMixin(resourceLabel, value): { + resource+: { + aws_codecatalyst_dev_environment+: { + [resourceLabel]+: { + persistent_storage+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withProjectName':: d.fn(help='`aws.string.withProjectName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the project_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 `project_name` field.\n', args=[]), + withProjectName(resourceLabel, value): { + resource+: { + aws_codecatalyst_dev_environment+: { + [resourceLabel]+: { + project_name: value, + }, + }, + }, + }, + '#withRepositories':: d.fn(help='`aws.list[obj].withRepositories` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the repositories 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].withRepositoriesMixin](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 `repositories` field.\n', args=[]), + withRepositories(resourceLabel, value): { + resource+: { + aws_codecatalyst_dev_environment+: { + [resourceLabel]+: { + repositories: value, + }, + }, + }, + }, + '#withRepositoriesMixin':: d.fn(help='`aws.list[obj].withRepositoriesMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the repositories 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].withRepositories](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 `repositories` field.\n', args=[]), + withRepositoriesMixin(resourceLabel, value): { + resource+: { + aws_codecatalyst_dev_environment+: { + [resourceLabel]+: { + repositories+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, + '#withSpaceName':: d.fn(help='`aws.string.withSpaceName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the space_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 `space_name` field.\n', args=[]), + withSpaceName(resourceLabel, value): { + resource+: { + aws_codecatalyst_dev_environment+: { + [resourceLabel]+: { + space_name: 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_codecatalyst_dev_environment+: { + [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_codecatalyst_dev_environment+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/codecatalyst_project.libsonnet b/5.x/_gen/resources/codecatalyst_project.libsonnet new file mode 100644 index 00000000..2964599a --- /dev/null +++ b/5.x/_gen/resources/codecatalyst_project.libsonnet @@ -0,0 +1,98 @@ +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='codecatalyst_project', url='', help='`codecatalyst_project` represents the `aws_codecatalyst_project` 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.codecatalyst_project.new` injects a new `aws_codecatalyst_project` 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.codecatalyst_project.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.codecatalyst_project` using the reference:\n\n $._ref.aws_codecatalyst_project.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_codecatalyst_project.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 - `display_name` (`string`): Set the `display_name` field on the resulting resource block.\n - `space_name` (`string`): Set the `space_name` 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.codecatalyst_project.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, + display_name, + space_name, + description=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='aws_codecatalyst_project', + label=resourceLabel, + attrs=self.newAttrs( + description=description, + display_name=display_name, + space_name=space_name, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.codecatalyst_project.newAttrs` constructs a new object with attributes and blocks configured for the `codecatalyst_project`\nTerraform resource.\n\nUnlike [aws.codecatalyst_project.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 - `display_name` (`string`): Set the `display_name` field on the resulting object.\n - `space_name` (`string`): Set the `space_name` 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.codecatalyst_project.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 `codecatalyst_project` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + display_name, + space_name, + description=null, + timeouts=null + ):: std.prune(a={ + description: description, + display_name: display_name, + space_name: space_name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`aws.codecatalyst_project.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, + }), + }, + '#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_codecatalyst_project+: { + [resourceLabel]+: { + description: value, + }, + }, + }, + }, + '#withDisplayName':: d.fn(help='`aws.string.withDisplayName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the display_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 `display_name` field.\n', args=[]), + withDisplayName(resourceLabel, value): { + resource+: { + aws_codecatalyst_project+: { + [resourceLabel]+: { + display_name: value, + }, + }, + }, + }, + '#withSpaceName':: d.fn(help='`aws.string.withSpaceName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the space_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 `space_name` field.\n', args=[]), + withSpaceName(resourceLabel, value): { + resource+: { + aws_codecatalyst_project+: { + [resourceLabel]+: { + space_name: 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_codecatalyst_project+: { + [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_codecatalyst_project+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/codecatalyst_source_repository.libsonnet b/5.x/_gen/resources/codecatalyst_source_repository.libsonnet new file mode 100644 index 00000000..f10b2fe3 --- /dev/null +++ b/5.x/_gen/resources/codecatalyst_source_repository.libsonnet @@ -0,0 +1,112 @@ +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='codecatalyst_source_repository', url='', help='`codecatalyst_source_repository` represents the `aws_codecatalyst_source_repository` 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.codecatalyst_source_repository.new` injects a new `aws_codecatalyst_source_repository` 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.codecatalyst_source_repository.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.codecatalyst_source_repository` using the reference:\n\n $._ref.aws_codecatalyst_source_repository.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_codecatalyst_source_repository.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 - `name` (`string`): Set the `name` field on the resulting resource block.\n - `project_name` (`string`): Set the `project_name` field on the resulting resource block.\n - `space_name` (`string`): Set the `space_name` 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.codecatalyst_source_repository.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, + name, + project_name, + space_name, + description=null, + timeouts=null, + _meta={} + ):: tf.withResource( + type='aws_codecatalyst_source_repository', + label=resourceLabel, + attrs=self.newAttrs( + description=description, + name=name, + project_name=project_name, + space_name=space_name, + timeouts=timeouts + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.codecatalyst_source_repository.newAttrs` constructs a new object with attributes and blocks configured for the `codecatalyst_source_repository`\nTerraform resource.\n\nUnlike [aws.codecatalyst_source_repository.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 - `name` (`string`): Set the `name` field on the resulting object.\n - `project_name` (`string`): Set the `project_name` field on the resulting object.\n - `space_name` (`string`): Set the `space_name` 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.codecatalyst_source_repository.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 `codecatalyst_source_repository` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + name, + project_name, + space_name, + description=null, + timeouts=null + ):: std.prune(a={ + description: description, + name: name, + project_name: project_name, + space_name: space_name, + timeouts: timeouts, + }), + timeouts:: { + '#new':: d.fn(help='\n`aws.codecatalyst_source_repository.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, + }), + }, + '#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_codecatalyst_source_repository+: { + [resourceLabel]+: { + description: 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_codecatalyst_source_repository+: { + [resourceLabel]+: { + name: value, + }, + }, + }, + }, + '#withProjectName':: d.fn(help='`aws.string.withProjectName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the project_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 `project_name` field.\n', args=[]), + withProjectName(resourceLabel, value): { + resource+: { + aws_codecatalyst_source_repository+: { + [resourceLabel]+: { + project_name: value, + }, + }, + }, + }, + '#withSpaceName':: d.fn(help='`aws.string.withSpaceName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the space_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 `space_name` field.\n', args=[]), + withSpaceName(resourceLabel, value): { + resource+: { + aws_codecatalyst_source_repository+: { + [resourceLabel]+: { + space_name: 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_codecatalyst_source_repository+: { + [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_codecatalyst_source_repository+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/fms_admin_account.libsonnet b/5.x/_gen/resources/fms_admin_account.libsonnet index f0ee220e..3f7bc9e4 100644 --- a/5.x/_gen/resources/fms_admin_account.libsonnet +++ b/5.x/_gen/resources/fms_admin_account.libsonnet @@ -2,23 +2,36 @@ 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='fms_admin_account', url='', help='`fms_admin_account` represents the `aws_fms_admin_account` 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.fms_admin_account.new` injects a new `aws_fms_admin_account` 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.fms_admin_account.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.fms_admin_account` using the reference:\n\n $._ref.aws_fms_admin_account.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_fms_admin_account.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 - `account_id` (`string`): Set the `account_id` field on the resulting resource block. When `null`, the `account_id` 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.fms_admin_account.new` injects a new `aws_fms_admin_account` 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.fms_admin_account.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.fms_admin_account` using the reference:\n\n $._ref.aws_fms_admin_account.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_fms_admin_account.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 - `account_id` (`string`): Set the `account_id` field on the resulting resource block. When `null`, the `account_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.fms_admin_account.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, account_id=null, + timeouts=null, _meta={} ):: tf.withResource( type='aws_fms_admin_account', label=resourceLabel, - attrs=self.newAttrs(account_id=account_id), + attrs=self.newAttrs(account_id=account_id, timeouts=timeouts), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.fms_admin_account.newAttrs` constructs a new object with attributes and blocks configured for the `fms_admin_account`\nTerraform resource.\n\nUnlike [aws.fms_admin_account.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 - `account_id` (`string`): Set the `account_id` field on the resulting object. When `null`, the `account_id` 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 `fms_admin_account` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.fms_admin_account.newAttrs` constructs a new object with attributes and blocks configured for the `fms_admin_account`\nTerraform resource.\n\nUnlike [aws.fms_admin_account.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 - `account_id` (`string`): Set the `account_id` field on the resulting object. When `null`, the `account_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.fms_admin_account.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 `fms_admin_account` resource into the root Terraform configuration.\n', args=[]), newAttrs( - account_id=null + account_id=null, + timeouts=null ):: std.prune(a={ account_id: account_id, + timeouts: timeouts, }), + timeouts:: { + '#new':: d.fn(help='\n`aws.fms_admin_account.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\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, + }), + }, '#withAccountId':: d.fn(help='`aws.string.withAccountId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the account_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 `account_id` field.\n', args=[]), withAccountId(resourceLabel, value): { resource+: { @@ -29,4 +42,24 @@ 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_fms_admin_account+: { + [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_fms_admin_account+: { + [resourceLabel]+: { + timeouts+: value, + }, + }, + }, + }, } diff --git a/5.x/_gen/resources/glue_crawler.libsonnet b/5.x/_gen/resources/glue_crawler.libsonnet index 41cbac32..918c93e9 100644 --- a/5.x/_gen/resources/glue_crawler.libsonnet +++ b/5.x/_gen/resources/glue_crawler.libsonnet @@ -44,6 +44,20 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); scan_rate: scan_rate, }), }, + hudi_target:: { + '#new':: d.fn(help='\n`aws.glue_crawler.hudi_target.new` constructs a new object with attributes and blocks configured for the `hudi_target`\nTerraform sub block.\n\n\n\n**Args**:\n - `connection_name` (`string`): Set the `connection_name` field on the resulting object. When `null`, the `connection_name` field will be omitted from the resulting object.\n - `exclusions` (`list`): Set the `exclusions` field on the resulting object. When `null`, the `exclusions` field will be omitted from the resulting object.\n - `maximum_traversal_depth` (`number`): Set the `maximum_traversal_depth` field on the resulting object.\n - `paths` (`list`): Set the `paths` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `hudi_target` sub block.\n', args=[]), + new( + maximum_traversal_depth, + paths, + connection_name=null, + exclusions=null + ):: std.prune(a={ + connection_name: connection_name, + exclusions: exclusions, + maximum_traversal_depth: maximum_traversal_depth, + paths: paths, + }), + }, iceberg_target:: { '#new':: d.fn(help='\n`aws.glue_crawler.iceberg_target.new` constructs a new object with attributes and blocks configured for the `iceberg_target`\nTerraform sub block.\n\n\n\n**Args**:\n - `connection_name` (`string`): Set the `connection_name` field on the resulting object. When `null`, the `connection_name` field will be omitted from the resulting object.\n - `exclusions` (`list`): Set the `exclusions` field on the resulting object. When `null`, the `exclusions` field will be omitted from the resulting object.\n - `maximum_traversal_depth` (`number`): Set the `maximum_traversal_depth` field on the resulting object.\n - `paths` (`list`): Set the `paths` field on the resulting object.\n\n**Returns**:\n - An attribute object that represents the `iceberg_target` sub block.\n', args=[]), new( @@ -102,7 +116,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); scan_all: scan_all, }), }, - '#new':: d.fn(help="\n`aws.glue_crawler.new` injects a new `aws_glue_crawler` 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.glue_crawler.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.glue_crawler` using the reference:\n\n $._ref.aws_glue_crawler.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_glue_crawler.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 - `classifiers` (`list`): Set the `classifiers` field on the resulting resource block. When `null`, the `classifiers` field will be omitted from the resulting object.\n - `configuration` (`string`): Set the `configuration` field on the resulting resource block. When `null`, the `configuration` field will be omitted from the resulting object.\n - `database_name` (`string`): Set the `database_name` 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 - `name` (`string`): Set the `name` field on the resulting resource block.\n - `role` (`string`): Set the `role` field on the resulting resource block.\n - `schedule` (`string`): Set the `schedule` field on the resulting resource block. When `null`, the `schedule` field will be omitted from the resulting object.\n - `security_configuration` (`string`): Set the `security_configuration` field on the resulting resource block. When `null`, the `security_configuration` field will be omitted from the resulting object.\n - `table_prefix` (`string`): Set the `table_prefix` field on the resulting resource block. When `null`, the `table_prefix` 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 - `catalog_target` (`list[obj]`): Set the `catalog_target` field on the resulting resource block. When `null`, the `catalog_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.catalog_target.new](#fn-catalog_targetnew) constructor.\n - `delta_target` (`list[obj]`): Set the `delta_target` field on the resulting resource block. When `null`, the `delta_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.delta_target.new](#fn-delta_targetnew) constructor.\n - `dynamodb_target` (`list[obj]`): Set the `dynamodb_target` field on the resulting resource block. When `null`, the `dynamodb_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.dynamodb_target.new](#fn-dynamodb_targetnew) constructor.\n - `iceberg_target` (`list[obj]`): Set the `iceberg_target` field on the resulting resource block. When `null`, the `iceberg_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.iceberg_target.new](#fn-iceberg_targetnew) constructor.\n - `jdbc_target` (`list[obj]`): Set the `jdbc_target` field on the resulting resource block. When `null`, the `jdbc_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.jdbc_target.new](#fn-jdbc_targetnew) constructor.\n - `lake_formation_configuration` (`list[obj]`): Set the `lake_formation_configuration` field on the resulting resource block. When `null`, the `lake_formation_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.glue_crawler.lake_formation_configuration.new](#fn-lake_formation_configurationnew) constructor.\n - `lineage_configuration` (`list[obj]`): Set the `lineage_configuration` field on the resulting resource block. When `null`, the `lineage_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.glue_crawler.lineage_configuration.new](#fn-lineage_configurationnew) constructor.\n - `mongodb_target` (`list[obj]`): Set the `mongodb_target` field on the resulting resource block. When `null`, the `mongodb_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.mongodb_target.new](#fn-mongodb_targetnew) constructor.\n - `recrawl_policy` (`list[obj]`): Set the `recrawl_policy` field on the resulting resource block. When `null`, the `recrawl_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.glue_crawler.recrawl_policy.new](#fn-recrawl_policynew) constructor.\n - `s3_target` (`list[obj]`): Set the `s3_target` field on the resulting resource block. When `null`, the `s3_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.s3_target.new](#fn-s3_targetnew) constructor.\n - `schema_change_policy` (`list[obj]`): Set the `schema_change_policy` field on the resulting resource block. When `null`, the `schema_change_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.glue_crawler.schema_change_policy.new](#fn-schema_change_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.glue_crawler.new` injects a new `aws_glue_crawler` 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.glue_crawler.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.glue_crawler` using the reference:\n\n $._ref.aws_glue_crawler.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_glue_crawler.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 - `classifiers` (`list`): Set the `classifiers` field on the resulting resource block. When `null`, the `classifiers` field will be omitted from the resulting object.\n - `configuration` (`string`): Set the `configuration` field on the resulting resource block. When `null`, the `configuration` field will be omitted from the resulting object.\n - `database_name` (`string`): Set the `database_name` 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 - `name` (`string`): Set the `name` field on the resulting resource block.\n - `role` (`string`): Set the `role` field on the resulting resource block.\n - `schedule` (`string`): Set the `schedule` field on the resulting resource block. When `null`, the `schedule` field will be omitted from the resulting object.\n - `security_configuration` (`string`): Set the `security_configuration` field on the resulting resource block. When `null`, the `security_configuration` field will be omitted from the resulting object.\n - `table_prefix` (`string`): Set the `table_prefix` field on the resulting resource block. When `null`, the `table_prefix` 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 - `catalog_target` (`list[obj]`): Set the `catalog_target` field on the resulting resource block. When `null`, the `catalog_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.catalog_target.new](#fn-catalog_targetnew) constructor.\n - `delta_target` (`list[obj]`): Set the `delta_target` field on the resulting resource block. When `null`, the `delta_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.delta_target.new](#fn-delta_targetnew) constructor.\n - `dynamodb_target` (`list[obj]`): Set the `dynamodb_target` field on the resulting resource block. When `null`, the `dynamodb_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.dynamodb_target.new](#fn-dynamodb_targetnew) constructor.\n - `hudi_target` (`list[obj]`): Set the `hudi_target` field on the resulting resource block. When `null`, the `hudi_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.hudi_target.new](#fn-hudi_targetnew) constructor.\n - `iceberg_target` (`list[obj]`): Set the `iceberg_target` field on the resulting resource block. When `null`, the `iceberg_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.iceberg_target.new](#fn-iceberg_targetnew) constructor.\n - `jdbc_target` (`list[obj]`): Set the `jdbc_target` field on the resulting resource block. When `null`, the `jdbc_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.jdbc_target.new](#fn-jdbc_targetnew) constructor.\n - `lake_formation_configuration` (`list[obj]`): Set the `lake_formation_configuration` field on the resulting resource block. When `null`, the `lake_formation_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.glue_crawler.lake_formation_configuration.new](#fn-lake_formation_configurationnew) constructor.\n - `lineage_configuration` (`list[obj]`): Set the `lineage_configuration` field on the resulting resource block. When `null`, the `lineage_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.glue_crawler.lineage_configuration.new](#fn-lineage_configurationnew) constructor.\n - `mongodb_target` (`list[obj]`): Set the `mongodb_target` field on the resulting resource block. When `null`, the `mongodb_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.mongodb_target.new](#fn-mongodb_targetnew) constructor.\n - `recrawl_policy` (`list[obj]`): Set the `recrawl_policy` field on the resulting resource block. When `null`, the `recrawl_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.glue_crawler.recrawl_policy.new](#fn-recrawl_policynew) constructor.\n - `s3_target` (`list[obj]`): Set the `s3_target` field on the resulting resource block. When `null`, the `s3_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.s3_target.new](#fn-s3_targetnew) constructor.\n - `schema_change_policy` (`list[obj]`): Set the `schema_change_policy` field on the resulting resource block. When `null`, the `schema_change_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.glue_crawler.schema_change_policy.new](#fn-schema_change_policynew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]), new( resourceLabel, database_name, @@ -114,6 +128,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); delta_target=null, description=null, dynamodb_target=null, + hudi_target=null, iceberg_target=null, jdbc_target=null, lake_formation_configuration=null, @@ -139,6 +154,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); delta_target=delta_target, description=description, dynamodb_target=dynamodb_target, + hudi_target=hudi_target, iceberg_target=iceberg_target, jdbc_target=jdbc_target, lake_formation_configuration=lake_formation_configuration, @@ -157,7 +173,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.glue_crawler.newAttrs` constructs a new object with attributes and blocks configured for the `glue_crawler`\nTerraform resource.\n\nUnlike [aws.glue_crawler.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 - `classifiers` (`list`): Set the `classifiers` field on the resulting object. When `null`, the `classifiers` field will be omitted from the resulting object.\n - `configuration` (`string`): Set the `configuration` field on the resulting object. When `null`, the `configuration` field will be omitted from the resulting object.\n - `database_name` (`string`): Set the `database_name` 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 - `name` (`string`): Set the `name` field on the resulting object.\n - `role` (`string`): Set the `role` field on the resulting object.\n - `schedule` (`string`): Set the `schedule` field on the resulting object. When `null`, the `schedule` field will be omitted from the resulting object.\n - `security_configuration` (`string`): Set the `security_configuration` field on the resulting object. When `null`, the `security_configuration` field will be omitted from the resulting object.\n - `table_prefix` (`string`): Set the `table_prefix` field on the resulting object. When `null`, the `table_prefix` 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 - `catalog_target` (`list[obj]`): Set the `catalog_target` field on the resulting object. When `null`, the `catalog_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.catalog_target.new](#fn-catalog_targetnew) constructor.\n - `delta_target` (`list[obj]`): Set the `delta_target` field on the resulting object. When `null`, the `delta_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.delta_target.new](#fn-delta_targetnew) constructor.\n - `dynamodb_target` (`list[obj]`): Set the `dynamodb_target` field on the resulting object. When `null`, the `dynamodb_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.dynamodb_target.new](#fn-dynamodb_targetnew) constructor.\n - `iceberg_target` (`list[obj]`): Set the `iceberg_target` field on the resulting object. When `null`, the `iceberg_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.iceberg_target.new](#fn-iceberg_targetnew) constructor.\n - `jdbc_target` (`list[obj]`): Set the `jdbc_target` field on the resulting object. When `null`, the `jdbc_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.jdbc_target.new](#fn-jdbc_targetnew) constructor.\n - `lake_formation_configuration` (`list[obj]`): Set the `lake_formation_configuration` field on the resulting object. When `null`, the `lake_formation_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.glue_crawler.lake_formation_configuration.new](#fn-lake_formation_configurationnew) constructor.\n - `lineage_configuration` (`list[obj]`): Set the `lineage_configuration` field on the resulting object. When `null`, the `lineage_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.glue_crawler.lineage_configuration.new](#fn-lineage_configurationnew) constructor.\n - `mongodb_target` (`list[obj]`): Set the `mongodb_target` field on the resulting object. When `null`, the `mongodb_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.mongodb_target.new](#fn-mongodb_targetnew) constructor.\n - `recrawl_policy` (`list[obj]`): Set the `recrawl_policy` field on the resulting object. When `null`, the `recrawl_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.glue_crawler.recrawl_policy.new](#fn-recrawl_policynew) constructor.\n - `s3_target` (`list[obj]`): Set the `s3_target` field on the resulting object. When `null`, the `s3_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.s3_target.new](#fn-s3_targetnew) constructor.\n - `schema_change_policy` (`list[obj]`): Set the `schema_change_policy` field on the resulting object. When `null`, the `schema_change_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.glue_crawler.schema_change_policy.new](#fn-schema_change_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 `glue_crawler` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.glue_crawler.newAttrs` constructs a new object with attributes and blocks configured for the `glue_crawler`\nTerraform resource.\n\nUnlike [aws.glue_crawler.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 - `classifiers` (`list`): Set the `classifiers` field on the resulting object. When `null`, the `classifiers` field will be omitted from the resulting object.\n - `configuration` (`string`): Set the `configuration` field on the resulting object. When `null`, the `configuration` field will be omitted from the resulting object.\n - `database_name` (`string`): Set the `database_name` 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 - `name` (`string`): Set the `name` field on the resulting object.\n - `role` (`string`): Set the `role` field on the resulting object.\n - `schedule` (`string`): Set the `schedule` field on the resulting object. When `null`, the `schedule` field will be omitted from the resulting object.\n - `security_configuration` (`string`): Set the `security_configuration` field on the resulting object. When `null`, the `security_configuration` field will be omitted from the resulting object.\n - `table_prefix` (`string`): Set the `table_prefix` field on the resulting object. When `null`, the `table_prefix` 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 - `catalog_target` (`list[obj]`): Set the `catalog_target` field on the resulting object. When `null`, the `catalog_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.catalog_target.new](#fn-catalog_targetnew) constructor.\n - `delta_target` (`list[obj]`): Set the `delta_target` field on the resulting object. When `null`, the `delta_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.delta_target.new](#fn-delta_targetnew) constructor.\n - `dynamodb_target` (`list[obj]`): Set the `dynamodb_target` field on the resulting object. When `null`, the `dynamodb_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.dynamodb_target.new](#fn-dynamodb_targetnew) constructor.\n - `hudi_target` (`list[obj]`): Set the `hudi_target` field on the resulting object. When `null`, the `hudi_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.hudi_target.new](#fn-hudi_targetnew) constructor.\n - `iceberg_target` (`list[obj]`): Set the `iceberg_target` field on the resulting object. When `null`, the `iceberg_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.iceberg_target.new](#fn-iceberg_targetnew) constructor.\n - `jdbc_target` (`list[obj]`): Set the `jdbc_target` field on the resulting object. When `null`, the `jdbc_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.jdbc_target.new](#fn-jdbc_targetnew) constructor.\n - `lake_formation_configuration` (`list[obj]`): Set the `lake_formation_configuration` field on the resulting object. When `null`, the `lake_formation_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.glue_crawler.lake_formation_configuration.new](#fn-lake_formation_configurationnew) constructor.\n - `lineage_configuration` (`list[obj]`): Set the `lineage_configuration` field on the resulting object. When `null`, the `lineage_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.glue_crawler.lineage_configuration.new](#fn-lineage_configurationnew) constructor.\n - `mongodb_target` (`list[obj]`): Set the `mongodb_target` field on the resulting object. When `null`, the `mongodb_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.mongodb_target.new](#fn-mongodb_targetnew) constructor.\n - `recrawl_policy` (`list[obj]`): Set the `recrawl_policy` field on the resulting object. When `null`, the `recrawl_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.glue_crawler.recrawl_policy.new](#fn-recrawl_policynew) constructor.\n - `s3_target` (`list[obj]`): Set the `s3_target` field on the resulting object. When `null`, the `s3_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.s3_target.new](#fn-s3_targetnew) constructor.\n - `schema_change_policy` (`list[obj]`): Set the `schema_change_policy` field on the resulting object. When `null`, the `schema_change_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.glue_crawler.schema_change_policy.new](#fn-schema_change_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 `glue_crawler` resource into the root Terraform configuration.\n', args=[]), newAttrs( database_name, name, @@ -168,6 +184,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); delta_target=null, description=null, dynamodb_target=null, + hudi_target=null, iceberg_target=null, jdbc_target=null, lake_formation_configuration=null, @@ -189,6 +206,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); delta_target: delta_target, description: description, dynamodb_target: dynamodb_target, + hudi_target: hudi_target, iceberg_target: iceberg_target, jdbc_target: jdbc_target, lake_formation_configuration: lake_formation_configuration, @@ -341,6 +359,26 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withHudiTarget':: d.fn(help='`aws.list[obj].withHudiTarget` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the hudi_target 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].withHudiTargetMixin](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 `hudi_target` field.\n', args=[]), + withHudiTarget(resourceLabel, value): { + resource+: { + aws_glue_crawler+: { + [resourceLabel]+: { + hudi_target: value, + }, + }, + }, + }, + '#withHudiTargetMixin':: d.fn(help='`aws.list[obj].withHudiTargetMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the hudi_target 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].withHudiTarget](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 `hudi_target` field.\n', args=[]), + withHudiTargetMixin(resourceLabel, value): { + resource+: { + aws_glue_crawler+: { + [resourceLabel]+: { + hudi_target+: if std.isArray(v=value) then value else [value], + }, + }, + }, + }, '#withIcebergTarget':: d.fn(help='`aws.list[obj].withIcebergTarget` constructs a mixin object that can be merged into the `list[obj]`\nTerraform resource block to set or update the iceberg_target 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].withIcebergTargetMixin](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 `iceberg_target` field.\n', args=[]), withIcebergTarget(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/instance.libsonnet b/5.x/_gen/resources/instance.libsonnet index 2248f01b..44429657 100644 --- a/5.x/_gen/resources/instance.libsonnet +++ b/5.x/_gen/resources/instance.libsonnet @@ -131,14 +131,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, metadata_options:: { - '#new':: d.fn(help='\n`aws.instance.metadata_options.new` constructs a new object with attributes and blocks configured for the `metadata_options`\nTerraform sub block.\n\n\n\n**Args**:\n - `http_endpoint` (`string`): Set the `http_endpoint` field on the resulting object. When `null`, the `http_endpoint` field will be omitted from the resulting object.\n - `http_put_response_hop_limit` (`number`): Set the `http_put_response_hop_limit` field on the resulting object. When `null`, the `http_put_response_hop_limit` field will be omitted from the resulting object.\n - `http_tokens` (`string`): Set the `http_tokens` field on the resulting object. When `null`, the `http_tokens` field will be omitted from the resulting object.\n - `instance_metadata_tags` (`string`): Set the `instance_metadata_tags` field on the resulting object. When `null`, the `instance_metadata_tags` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `metadata_options` sub block.\n', args=[]), + '#new':: d.fn(help='\n`aws.instance.metadata_options.new` constructs a new object with attributes and blocks configured for the `metadata_options`\nTerraform sub block.\n\n\n\n**Args**:\n - `http_endpoint` (`string`): Set the `http_endpoint` field on the resulting object. When `null`, the `http_endpoint` field will be omitted from the resulting object.\n - `http_protocol_ipv6` (`string`): Set the `http_protocol_ipv6` field on the resulting object. When `null`, the `http_protocol_ipv6` field will be omitted from the resulting object.\n - `http_put_response_hop_limit` (`number`): Set the `http_put_response_hop_limit` field on the resulting object. When `null`, the `http_put_response_hop_limit` field will be omitted from the resulting object.\n - `http_tokens` (`string`): Set the `http_tokens` field on the resulting object. When `null`, the `http_tokens` field will be omitted from the resulting object.\n - `instance_metadata_tags` (`string`): Set the `instance_metadata_tags` field on the resulting object. When `null`, the `instance_metadata_tags` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `metadata_options` sub block.\n', args=[]), new( http_endpoint=null, + http_protocol_ipv6=null, http_put_response_hop_limit=null, http_tokens=null, instance_metadata_tags=null ):: std.prune(a={ http_endpoint: http_endpoint, + http_protocol_ipv6: http_protocol_ipv6, http_put_response_hop_limit: http_put_response_hop_limit, http_tokens: http_tokens, instance_metadata_tags: instance_metadata_tags, diff --git a/5.x/_gen/resources/msk_cluster.libsonnet b/5.x/_gen/resources/msk_cluster.libsonnet index 19d489b7..61b49dd6 100644 --- a/5.x/_gen/resources/msk_cluster.libsonnet +++ b/5.x/_gen/resources/msk_cluster.libsonnet @@ -4,11 +4,13 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); '#':: d.pkg(name='msk_cluster', url='', help='`msk_cluster` represents the `aws_msk_cluster` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'), broker_node_group_info:: { connectivity_info:: { - '#new':: d.fn(help='\n`aws.msk_cluster.broker_node_group_info.connectivity_info.new` constructs a new object with attributes and blocks configured for the `connectivity_info`\nTerraform sub block.\n\n\n\n**Args**:\n - `public_access` (`list[obj]`): Set the `public_access` field on the resulting object. When `null`, the `public_access` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.msk_cluster.broker_node_group_info.connectivity_info.public_access.new](#fn-broker_node_group_infobroker_node_group_infopublic_accessnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `connectivity_info` sub block.\n', args=[]), + '#new':: d.fn(help='\n`aws.msk_cluster.broker_node_group_info.connectivity_info.new` constructs a new object with attributes and blocks configured for the `connectivity_info`\nTerraform sub block.\n\n\n\n**Args**:\n - `public_access` (`list[obj]`): Set the `public_access` field on the resulting object. When `null`, the `public_access` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.msk_cluster.broker_node_group_info.connectivity_info.public_access.new](#fn-broker_node_group_infobroker_node_group_infopublic_accessnew) constructor.\n - `vpc_connectivity` (`list[obj]`): Set the `vpc_connectivity` field on the resulting object. When `null`, the `vpc_connectivity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.msk_cluster.broker_node_group_info.connectivity_info.vpc_connectivity.new](#fn-broker_node_group_infobroker_node_group_infovpc_connectivitynew) constructor.\n\n**Returns**:\n - An attribute object that represents the `connectivity_info` sub block.\n', args=[]), new( - public_access=null + public_access=null, + vpc_connectivity=null ):: std.prune(a={ public_access: public_access, + vpc_connectivity: vpc_connectivity, }), public_access:: { '#new':: d.fn(help='\n`aws.msk_cluster.broker_node_group_info.connectivity_info.public_access.new` constructs a new object with attributes and blocks configured for the `public_access`\nTerraform sub block.\n\n\n\n**Args**:\n - `type` (`string`): Set the `type` field on the resulting object. When `null`, the `type` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `public_access` sub block.\n', args=[]), @@ -18,6 +20,34 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); type: type, }), }, + vpc_connectivity:: { + client_authentication:: { + '#new':: d.fn(help='\n`aws.msk_cluster.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.new` constructs a new object with attributes and blocks configured for the `client_authentication`\nTerraform sub block.\n\n\n\n**Args**:\n - `tls` (`bool`): Set the `tls` field on the resulting object. When `null`, the `tls` field will be omitted from the resulting object.\n - `sasl` (`list[obj]`): Set the `sasl` field on the resulting object. When `null`, the `sasl` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.msk_cluster.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.new](#fn-broker_node_group_infobroker_node_group_infoconnectivity_infovpc_connectivitysaslnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `client_authentication` sub block.\n', args=[]), + new( + sasl=null, + tls=null + ):: std.prune(a={ + sasl: sasl, + tls: tls, + }), + sasl:: { + '#new':: d.fn(help='\n`aws.msk_cluster.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.new` constructs a new object with attributes and blocks configured for the `sasl`\nTerraform sub block.\n\n\n\n**Args**:\n - `iam` (`bool`): Set the `iam` field on the resulting object. When `null`, the `iam` field will be omitted from the resulting object.\n - `scram` (`bool`): Set the `scram` field on the resulting object. When `null`, the `scram` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `sasl` sub block.\n', args=[]), + new( + iam=null, + scram=null + ):: std.prune(a={ + iam: iam, + scram: scram, + }), + }, + }, + '#new':: d.fn(help='\n`aws.msk_cluster.broker_node_group_info.connectivity_info.vpc_connectivity.new` constructs a new object with attributes and blocks configured for the `vpc_connectivity`\nTerraform sub block.\n\n\n\n**Args**:\n - `client_authentication` (`list[obj]`): Set the `client_authentication` field on the resulting object. When `null`, the `client_authentication` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.msk_cluster.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.new](#fn-broker_node_group_infobroker_node_group_infoconnectivity_infoclient_authenticationnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `vpc_connectivity` sub block.\n', args=[]), + new( + client_authentication=null + ):: std.prune(a={ + client_authentication: client_authentication, + }), + }, }, '#new':: d.fn(help='\n`aws.msk_cluster.broker_node_group_info.new` constructs a new object with attributes and blocks configured for the `broker_node_group_info`\nTerraform sub block.\n\n\n\n**Args**:\n - `az_distribution` (`string`): Set the `az_distribution` field on the resulting object. When `null`, the `az_distribution` field will be omitted from the resulting object.\n - `client_subnets` (`list`): Set the `client_subnets` field on the resulting object.\n - `instance_type` (`string`): Set the `instance_type` field on the resulting object.\n - `security_groups` (`list`): Set the `security_groups` field on the resulting object.\n - `connectivity_info` (`list[obj]`): Set the `connectivity_info` field on the resulting object. When `null`, the `connectivity_info` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.msk_cluster.broker_node_group_info.connectivity_info.new](#fn-broker_node_group_infoconnectivity_infonew) constructor.\n - `storage_info` (`list[obj]`): Set the `storage_info` field on the resulting object. When `null`, the `storage_info` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.msk_cluster.broker_node_group_info.storage_info.new](#fn-broker_node_group_infostorage_infonew) constructor.\n\n**Returns**:\n - An attribute object that represents the `broker_node_group_info` sub block.\n', args=[]), new( diff --git a/5.x/_gen/resources/msk_vpc_connection.libsonnet b/5.x/_gen/resources/msk_vpc_connection.libsonnet new file mode 100644 index 00000000..2a895ad0 --- /dev/null +++ b/5.x/_gen/resources/msk_vpc_connection.libsonnet @@ -0,0 +1,118 @@ +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_vpc_connection', url='', help='`msk_vpc_connection` represents the `aws_msk_vpc_connection` 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.msk_vpc_connection.new` injects a new `aws_msk_vpc_connection` 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.msk_vpc_connection.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.msk_vpc_connection` using the reference:\n\n $._ref.aws_msk_vpc_connection.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_msk_vpc_connection.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 - `authentication` (`string`): Set the `authentication` field on the resulting resource block.\n - `client_subnets` (`list`): Set the `client_subnets` field on the resulting resource block.\n - `security_groups` (`list`): Set the `security_groups` 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 - `target_cluster_arn` (`string`): Set the `target_cluster_arn` field on the resulting resource block.\n - `vpc_id` (`string`): Set the `vpc_id` 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, + authentication, + client_subnets, + security_groups, + target_cluster_arn, + vpc_id, + tags=null, + tags_all=null, + _meta={} + ):: tf.withResource( + type='aws_msk_vpc_connection', + label=resourceLabel, + attrs=self.newAttrs( + authentication=authentication, + client_subnets=client_subnets, + security_groups=security_groups, + tags=tags, + tags_all=tags_all, + target_cluster_arn=target_cluster_arn, + vpc_id=vpc_id + ), + _meta=_meta + ), + '#newAttrs':: d.fn(help='\n`aws.msk_vpc_connection.newAttrs` constructs a new object with attributes and blocks configured for the `msk_vpc_connection`\nTerraform resource.\n\nUnlike [aws.msk_vpc_connection.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 - `authentication` (`string`): Set the `authentication` field on the resulting object.\n - `client_subnets` (`list`): Set the `client_subnets` field on the resulting object.\n - `security_groups` (`list`): Set the `security_groups` 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 - `target_cluster_arn` (`string`): Set the `target_cluster_arn` field on the resulting object.\n - `vpc_id` (`string`): Set the `vpc_id` 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 `msk_vpc_connection` resource into the root Terraform configuration.\n', args=[]), + newAttrs( + authentication, + client_subnets, + security_groups, + target_cluster_arn, + vpc_id, + tags=null, + tags_all=null + ):: std.prune(a={ + authentication: authentication, + client_subnets: client_subnets, + security_groups: security_groups, + tags: tags, + tags_all: tags_all, + target_cluster_arn: target_cluster_arn, + vpc_id: vpc_id, + }), + '#withAuthentication':: d.fn(help='`aws.string.withAuthentication` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the authentication 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 `authentication` field.\n', args=[]), + withAuthentication(resourceLabel, value): { + resource+: { + aws_msk_vpc_connection+: { + [resourceLabel]+: { + authentication: value, + }, + }, + }, + }, + '#withClientSubnets':: d.fn(help='`aws.list.withClientSubnets` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the client_subnets 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 `client_subnets` field.\n', args=[]), + withClientSubnets(resourceLabel, value): { + resource+: { + aws_msk_vpc_connection+: { + [resourceLabel]+: { + client_subnets: value, + }, + }, + }, + }, + '#withSecurityGroups':: d.fn(help='`aws.list.withSecurityGroups` constructs a mixin object that can be merged into the `list`\nTerraform resource block to set or update the security_groups 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_groups` field.\n', args=[]), + withSecurityGroups(resourceLabel, value): { + resource+: { + aws_msk_vpc_connection+: { + [resourceLabel]+: { + security_groups: 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_msk_vpc_connection+: { + [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_msk_vpc_connection+: { + [resourceLabel]+: { + tags_all: value, + }, + }, + }, + }, + '#withTargetClusterArn':: d.fn(help='`aws.string.withTargetClusterArn` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the target_cluster_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 `target_cluster_arn` field.\n', args=[]), + withTargetClusterArn(resourceLabel, value): { + resource+: { + aws_msk_vpc_connection+: { + [resourceLabel]+: { + target_cluster_arn: 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+: { + aws_msk_vpc_connection+: { + [resourceLabel]+: { + vpc_id: value, + }, + }, + }, + }, +} diff --git a/5.x/_gen/resources/rds_cluster.libsonnet b/5.x/_gen/resources/rds_cluster.libsonnet index 36bd219e..09d57ee8 100644 --- a/5.x/_gen/resources/rds_cluster.libsonnet +++ b/5.x/_gen/resources/rds_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='rds_cluster', url='', help='`rds_cluster` represents the `aws_rds_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.rds_cluster.new` injects a new `aws_rds_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.rds_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.rds_cluster` using the reference:\n\n $._ref.aws_rds_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_rds_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 - `allocated_storage` (`number`): Set the `allocated_storage` field on the resulting resource block. When `null`, the `allocated_storage` field will be omitted from the resulting object.\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 - `backtrack_window` (`number`): Set the `backtrack_window` field on the resulting resource block. When `null`, the `backtrack_window` 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 - `cluster_members` (`list`): Set the `cluster_members` field on the resulting resource block. When `null`, the `cluster_members` 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 - `database_name` (`string`): Set the `database_name` field on the resulting resource block. When `null`, the `database_name` field will be omitted from the resulting object.\n - `db_cluster_instance_class` (`string`): Set the `db_cluster_instance_class` field on the resulting resource block. When `null`, the `db_cluster_instance_class` field will be omitted from the resulting object.\n - `db_cluster_parameter_group_name` (`string`): Set the `db_cluster_parameter_group_name` field on the resulting resource block. When `null`, the `db_cluster_parameter_group_name` field will be omitted from the resulting object.\n - `db_instance_parameter_group_name` (`string`): Set the `db_instance_parameter_group_name` field on the resulting resource block. When `null`, the `db_instance_parameter_group_name` field will be omitted from the resulting object.\n - `db_subnet_group_name` (`string`): Set the `db_subnet_group_name` field on the resulting resource block. When `null`, the `db_subnet_group_name` 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_global_write_forwarding` (`bool`): Set the `enable_global_write_forwarding` field on the resulting resource block. When `null`, the `enable_global_write_forwarding` field will be omitted from the resulting object.\n - `enable_http_endpoint` (`bool`): Set the `enable_http_endpoint` field on the resulting resource block. When `null`, the `enable_http_endpoint` field will be omitted from the resulting object.\n - `enabled_cloudwatch_logs_exports` (`list`): Set the `enabled_cloudwatch_logs_exports` field on the resulting resource block. When `null`, the `enabled_cloudwatch_logs_exports` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on the resulting resource block.\n - `engine_mode` (`string`): Set the `engine_mode` field on the resulting resource block. When `null`, the `engine_mode` 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 - `iops` (`number`): Set the `iops` field on the resulting resource block. When `null`, the `iops` 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 - `manage_master_user_password` (`bool`): Set the `manage_master_user_password` field on the resulting resource block. When `null`, the `manage_master_user_password` field will be omitted from the resulting object.\n - `master_password` (`string`): Set the `master_password` field on the resulting resource block. When `null`, the `master_password` field will be omitted from the resulting object.\n - `master_user_secret_kms_key_id` (`string`): Set the `master_user_secret_kms_key_id` field on the resulting resource block. When `null`, the `master_user_secret_kms_key_id` field will be omitted from the resulting object.\n - `master_username` (`string`): Set the `master_username` field on the resulting resource block. When `null`, the `master_username` field will be omitted from the resulting object.\n - `network_type` (`string`): Set the `network_type` field on the resulting resource block. When `null`, the `network_type` 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 - `source_region` (`string`): Set the `source_region` field on the resulting resource block. When `null`, the `source_region` 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 - `restore_to_point_in_time` (`list[obj]`): Set the `restore_to_point_in_time` field on the resulting resource block. When `null`, the `restore_to_point_in_time` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.rds_cluster.restore_to_point_in_time.new](#fn-restore_to_point_in_timenew) constructor.\n - `s3_import` (`list[obj]`): Set the `s3_import` field on the resulting resource block. When `null`, the `s3_import` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.rds_cluster.s3_import.new](#fn-s3_importnew) constructor.\n - `scaling_configuration` (`list[obj]`): Set the `scaling_configuration` field on the resulting resource block. When `null`, the `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.rds_cluster.scaling_configuration.new](#fn-scaling_configurationnew) constructor.\n - `serverlessv2_scaling_configuration` (`list[obj]`): Set the `serverlessv2_scaling_configuration` field on the resulting resource block. When `null`, the `serverlessv2_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.rds_cluster.serverlessv2_scaling_configuration.new](#fn-serverlessv2_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.rds_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.rds_cluster.new` injects a new `aws_rds_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.rds_cluster.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.rds_cluster` using the reference:\n\n $._ref.aws_rds_cluster.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_rds_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 - `allocated_storage` (`number`): Set the `allocated_storage` field on the resulting resource block. When `null`, the `allocated_storage` field will be omitted from the resulting object.\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 - `backtrack_window` (`number`): Set the `backtrack_window` field on the resulting resource block. When `null`, the `backtrack_window` 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 - `cluster_members` (`list`): Set the `cluster_members` field on the resulting resource block. When `null`, the `cluster_members` 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 - `database_name` (`string`): Set the `database_name` field on the resulting resource block. When `null`, the `database_name` field will be omitted from the resulting object.\n - `db_cluster_instance_class` (`string`): Set the `db_cluster_instance_class` field on the resulting resource block. When `null`, the `db_cluster_instance_class` field will be omitted from the resulting object.\n - `db_cluster_parameter_group_name` (`string`): Set the `db_cluster_parameter_group_name` field on the resulting resource block. When `null`, the `db_cluster_parameter_group_name` field will be omitted from the resulting object.\n - `db_instance_parameter_group_name` (`string`): Set the `db_instance_parameter_group_name` field on the resulting resource block. When `null`, the `db_instance_parameter_group_name` field will be omitted from the resulting object.\n - `db_subnet_group_name` (`string`): Set the `db_subnet_group_name` field on the resulting resource block. When `null`, the `db_subnet_group_name` field will be omitted from the resulting object.\n - `db_system_id` (`string`): Set the `db_system_id` field on the resulting resource block. When `null`, the `db_system_id` 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_global_write_forwarding` (`bool`): Set the `enable_global_write_forwarding` field on the resulting resource block. When `null`, the `enable_global_write_forwarding` field will be omitted from the resulting object.\n - `enable_http_endpoint` (`bool`): Set the `enable_http_endpoint` field on the resulting resource block. When `null`, the `enable_http_endpoint` field will be omitted from the resulting object.\n - `enabled_cloudwatch_logs_exports` (`list`): Set the `enabled_cloudwatch_logs_exports` field on the resulting resource block. When `null`, the `enabled_cloudwatch_logs_exports` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on the resulting resource block.\n - `engine_mode` (`string`): Set the `engine_mode` field on the resulting resource block. When `null`, the `engine_mode` 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 - `iops` (`number`): Set the `iops` field on the resulting resource block. When `null`, the `iops` 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 - `manage_master_user_password` (`bool`): Set the `manage_master_user_password` field on the resulting resource block. When `null`, the `manage_master_user_password` field will be omitted from the resulting object.\n - `master_password` (`string`): Set the `master_password` field on the resulting resource block. When `null`, the `master_password` field will be omitted from the resulting object.\n - `master_user_secret_kms_key_id` (`string`): Set the `master_user_secret_kms_key_id` field on the resulting resource block. When `null`, the `master_user_secret_kms_key_id` field will be omitted from the resulting object.\n - `master_username` (`string`): Set the `master_username` field on the resulting resource block. When `null`, the `master_username` field will be omitted from the resulting object.\n - `network_type` (`string`): Set the `network_type` field on the resulting resource block. When `null`, the `network_type` 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 - `source_region` (`string`): Set the `source_region` field on the resulting resource block. When `null`, the `source_region` 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 - `restore_to_point_in_time` (`list[obj]`): Set the `restore_to_point_in_time` field on the resulting resource block. When `null`, the `restore_to_point_in_time` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.rds_cluster.restore_to_point_in_time.new](#fn-restore_to_point_in_timenew) constructor.\n - `s3_import` (`list[obj]`): Set the `s3_import` field on the resulting resource block. When `null`, the `s3_import` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.rds_cluster.s3_import.new](#fn-s3_importnew) constructor.\n - `scaling_configuration` (`list[obj]`): Set the `scaling_configuration` field on the resulting resource block. When `null`, the `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.rds_cluster.scaling_configuration.new](#fn-scaling_configurationnew) constructor.\n - `serverlessv2_scaling_configuration` (`list[obj]`): Set the `serverlessv2_scaling_configuration` field on the resulting resource block. When `null`, the `serverlessv2_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.rds_cluster.serverlessv2_scaling_configuration.new](#fn-serverlessv2_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.rds_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, engine, @@ -21,6 +21,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); db_cluster_parameter_group_name=null, db_instance_parameter_group_name=null, db_subnet_group_name=null, + db_system_id=null, deletion_protection=null, enable_global_write_forwarding=null, enable_http_endpoint=null, @@ -75,6 +76,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); db_cluster_parameter_group_name=db_cluster_parameter_group_name, db_instance_parameter_group_name=db_instance_parameter_group_name, db_subnet_group_name=db_subnet_group_name, + db_system_id=db_system_id, deletion_protection=deletion_protection, enable_global_write_forwarding=enable_global_write_forwarding, enable_http_endpoint=enable_http_endpoint, @@ -113,7 +115,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.rds_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `rds_cluster`\nTerraform resource.\n\nUnlike [aws.rds_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 - `allocated_storage` (`number`): Set the `allocated_storage` field on the resulting object. When `null`, the `allocated_storage` field will be omitted from the resulting object.\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 - `backtrack_window` (`number`): Set the `backtrack_window` field on the resulting object. When `null`, the `backtrack_window` 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 - `cluster_members` (`list`): Set the `cluster_members` field on the resulting object. When `null`, the `cluster_members` 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 - `database_name` (`string`): Set the `database_name` field on the resulting object. When `null`, the `database_name` field will be omitted from the resulting object.\n - `db_cluster_instance_class` (`string`): Set the `db_cluster_instance_class` field on the resulting object. When `null`, the `db_cluster_instance_class` field will be omitted from the resulting object.\n - `db_cluster_parameter_group_name` (`string`): Set the `db_cluster_parameter_group_name` field on the resulting object. When `null`, the `db_cluster_parameter_group_name` field will be omitted from the resulting object.\n - `db_instance_parameter_group_name` (`string`): Set the `db_instance_parameter_group_name` field on the resulting object. When `null`, the `db_instance_parameter_group_name` field will be omitted from the resulting object.\n - `db_subnet_group_name` (`string`): Set the `db_subnet_group_name` field on the resulting object. When `null`, the `db_subnet_group_name` 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_global_write_forwarding` (`bool`): Set the `enable_global_write_forwarding` field on the resulting object. When `null`, the `enable_global_write_forwarding` field will be omitted from the resulting object.\n - `enable_http_endpoint` (`bool`): Set the `enable_http_endpoint` field on the resulting object. When `null`, the `enable_http_endpoint` field will be omitted from the resulting object.\n - `enabled_cloudwatch_logs_exports` (`list`): Set the `enabled_cloudwatch_logs_exports` field on the resulting object. When `null`, the `enabled_cloudwatch_logs_exports` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on the resulting object.\n - `engine_mode` (`string`): Set the `engine_mode` field on the resulting object. When `null`, the `engine_mode` 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 - `iops` (`number`): Set the `iops` field on the resulting object. When `null`, the `iops` 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 - `manage_master_user_password` (`bool`): Set the `manage_master_user_password` field on the resulting object. When `null`, the `manage_master_user_password` field will be omitted from the resulting object.\n - `master_password` (`string`): Set the `master_password` field on the resulting object. When `null`, the `master_password` field will be omitted from the resulting object.\n - `master_user_secret_kms_key_id` (`string`): Set the `master_user_secret_kms_key_id` field on the resulting object. When `null`, the `master_user_secret_kms_key_id` field will be omitted from the resulting object.\n - `master_username` (`string`): Set the `master_username` field on the resulting object. When `null`, the `master_username` field will be omitted from the resulting object.\n - `network_type` (`string`): Set the `network_type` field on the resulting object. When `null`, the `network_type` 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 - `source_region` (`string`): Set the `source_region` field on the resulting object. When `null`, the `source_region` 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 - `restore_to_point_in_time` (`list[obj]`): Set the `restore_to_point_in_time` field on the resulting object. When `null`, the `restore_to_point_in_time` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.rds_cluster.restore_to_point_in_time.new](#fn-restore_to_point_in_timenew) constructor.\n - `s3_import` (`list[obj]`): Set the `s3_import` field on the resulting object. When `null`, the `s3_import` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.rds_cluster.s3_import.new](#fn-s3_importnew) constructor.\n - `scaling_configuration` (`list[obj]`): Set the `scaling_configuration` field on the resulting object. When `null`, the `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.rds_cluster.scaling_configuration.new](#fn-scaling_configurationnew) constructor.\n - `serverlessv2_scaling_configuration` (`list[obj]`): Set the `serverlessv2_scaling_configuration` field on the resulting object. When `null`, the `serverlessv2_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.rds_cluster.serverlessv2_scaling_configuration.new](#fn-serverlessv2_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.rds_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 `rds_cluster` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.rds_cluster.newAttrs` constructs a new object with attributes and blocks configured for the `rds_cluster`\nTerraform resource.\n\nUnlike [aws.rds_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 - `allocated_storage` (`number`): Set the `allocated_storage` field on the resulting object. When `null`, the `allocated_storage` field will be omitted from the resulting object.\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 - `backtrack_window` (`number`): Set the `backtrack_window` field on the resulting object. When `null`, the `backtrack_window` 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 - `cluster_members` (`list`): Set the `cluster_members` field on the resulting object. When `null`, the `cluster_members` 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 - `database_name` (`string`): Set the `database_name` field on the resulting object. When `null`, the `database_name` field will be omitted from the resulting object.\n - `db_cluster_instance_class` (`string`): Set the `db_cluster_instance_class` field on the resulting object. When `null`, the `db_cluster_instance_class` field will be omitted from the resulting object.\n - `db_cluster_parameter_group_name` (`string`): Set the `db_cluster_parameter_group_name` field on the resulting object. When `null`, the `db_cluster_parameter_group_name` field will be omitted from the resulting object.\n - `db_instance_parameter_group_name` (`string`): Set the `db_instance_parameter_group_name` field on the resulting object. When `null`, the `db_instance_parameter_group_name` field will be omitted from the resulting object.\n - `db_subnet_group_name` (`string`): Set the `db_subnet_group_name` field on the resulting object. When `null`, the `db_subnet_group_name` field will be omitted from the resulting object.\n - `db_system_id` (`string`): Set the `db_system_id` field on the resulting object. When `null`, the `db_system_id` 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_global_write_forwarding` (`bool`): Set the `enable_global_write_forwarding` field on the resulting object. When `null`, the `enable_global_write_forwarding` field will be omitted from the resulting object.\n - `enable_http_endpoint` (`bool`): Set the `enable_http_endpoint` field on the resulting object. When `null`, the `enable_http_endpoint` field will be omitted from the resulting object.\n - `enabled_cloudwatch_logs_exports` (`list`): Set the `enabled_cloudwatch_logs_exports` field on the resulting object. When `null`, the `enabled_cloudwatch_logs_exports` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on the resulting object.\n - `engine_mode` (`string`): Set the `engine_mode` field on the resulting object. When `null`, the `engine_mode` 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 - `iops` (`number`): Set the `iops` field on the resulting object. When `null`, the `iops` 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 - `manage_master_user_password` (`bool`): Set the `manage_master_user_password` field on the resulting object. When `null`, the `manage_master_user_password` field will be omitted from the resulting object.\n - `master_password` (`string`): Set the `master_password` field on the resulting object. When `null`, the `master_password` field will be omitted from the resulting object.\n - `master_user_secret_kms_key_id` (`string`): Set the `master_user_secret_kms_key_id` field on the resulting object. When `null`, the `master_user_secret_kms_key_id` field will be omitted from the resulting object.\n - `master_username` (`string`): Set the `master_username` field on the resulting object. When `null`, the `master_username` field will be omitted from the resulting object.\n - `network_type` (`string`): Set the `network_type` field on the resulting object. When `null`, the `network_type` 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 - `source_region` (`string`): Set the `source_region` field on the resulting object. When `null`, the `source_region` 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 - `restore_to_point_in_time` (`list[obj]`): Set the `restore_to_point_in_time` field on the resulting object. When `null`, the `restore_to_point_in_time` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.rds_cluster.restore_to_point_in_time.new](#fn-restore_to_point_in_timenew) constructor.\n - `s3_import` (`list[obj]`): Set the `s3_import` field on the resulting object. When `null`, the `s3_import` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.rds_cluster.s3_import.new](#fn-s3_importnew) constructor.\n - `scaling_configuration` (`list[obj]`): Set the `scaling_configuration` field on the resulting object. When `null`, the `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.rds_cluster.scaling_configuration.new](#fn-scaling_configurationnew) constructor.\n - `serverlessv2_scaling_configuration` (`list[obj]`): Set the `serverlessv2_scaling_configuration` field on the resulting object. When `null`, the `serverlessv2_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.rds_cluster.serverlessv2_scaling_configuration.new](#fn-serverlessv2_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.rds_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 `rds_cluster` resource into the root Terraform configuration.\n', args=[]), newAttrs( engine, allocated_storage=null, @@ -131,6 +133,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); db_cluster_parameter_group_name=null, db_instance_parameter_group_name=null, db_subnet_group_name=null, + db_system_id=null, deletion_protection=null, enable_global_write_forwarding=null, enable_http_endpoint=null, @@ -181,6 +184,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); db_cluster_parameter_group_name: db_cluster_parameter_group_name, db_instance_parameter_group_name: db_instance_parameter_group_name, db_subnet_group_name: db_subnet_group_name, + db_system_id: db_system_id, deletion_protection: deletion_protection, enable_global_write_forwarding: enable_global_write_forwarding, enable_http_endpoint: enable_http_endpoint, @@ -435,6 +439,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withDbSystemId':: d.fn(help='`aws.string.withDbSystemId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the db_system_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 `db_system_id` field.\n', args=[]), + withDbSystemId(resourceLabel, value): { + resource+: { + aws_rds_cluster+: { + [resourceLabel]+: { + db_system_id: value, + }, + }, + }, + }, '#withDeletionProtection':: d.fn(help='`aws.bool.withDeletionProtection` constructs a mixin object that can be merged into the `bool`\nTerraform resource block to set or update the deletion_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 `deletion_protection` field.\n', args=[]), withDeletionProtection(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/rds_cluster_instance.libsonnet b/5.x/_gen/resources/rds_cluster_instance.libsonnet index 69505755..de7c32cb 100644 --- a/5.x/_gen/resources/rds_cluster_instance.libsonnet +++ b/5.x/_gen/resources/rds_cluster_instance.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='rds_cluster_instance', url='', help='`rds_cluster_instance` represents the `aws_rds_cluster_instance` 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.rds_cluster_instance.new` injects a new `aws_rds_cluster_instance` 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.rds_cluster_instance.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.rds_cluster_instance` using the reference:\n\n $._ref.aws_rds_cluster_instance.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_rds_cluster_instance.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 - `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 - `auto_minor_version_upgrade` (`bool`): Set the `auto_minor_version_upgrade` field on the resulting resource block. When `null`, the `auto_minor_version_upgrade` field will be omitted from the resulting object.\n - `availability_zone` (`string`): Set the `availability_zone` field on the resulting resource block. When `null`, the `availability_zone` field will be omitted from the resulting object.\n - `ca_cert_identifier` (`string`): Set the `ca_cert_identifier` field on the resulting resource block. When `null`, the `ca_cert_identifier` field will be omitted from the resulting object.\n - `cluster_identifier` (`string`): Set the `cluster_identifier` field on the resulting resource block.\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 - `db_parameter_group_name` (`string`): Set the `db_parameter_group_name` field on the resulting resource block. When `null`, the `db_parameter_group_name` field will be omitted from the resulting object.\n - `db_subnet_group_name` (`string`): Set the `db_subnet_group_name` field on the resulting resource block. When `null`, the `db_subnet_group_name` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on the resulting resource block.\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 - `identifier` (`string`): Set the `identifier` field on the resulting resource block. When `null`, the `identifier` field will be omitted from the resulting object.\n - `identifier_prefix` (`string`): Set the `identifier_prefix` field on the resulting resource block. When `null`, the `identifier_prefix` field will be omitted from the resulting object.\n - `instance_class` (`string`): Set the `instance_class` field on the resulting resource block.\n - `monitoring_interval` (`number`): Set the `monitoring_interval` field on the resulting resource block. When `null`, the `monitoring_interval` field will be omitted from the resulting object.\n - `monitoring_role_arn` (`string`): Set the `monitoring_role_arn` field on the resulting resource block. When `null`, the `monitoring_role_arn` field will be omitted from the resulting object.\n - `performance_insights_enabled` (`bool`): Set the `performance_insights_enabled` field on the resulting resource block. When `null`, the `performance_insights_enabled` field will be omitted from the resulting object.\n - `performance_insights_kms_key_id` (`string`): Set the `performance_insights_kms_key_id` field on the resulting resource block. When `null`, the `performance_insights_kms_key_id` field will be omitted from the resulting object.\n - `performance_insights_retention_period` (`number`): Set the `performance_insights_retention_period` field on the resulting resource block. When `null`, the `performance_insights_retention_period` 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 - `promotion_tier` (`number`): Set the `promotion_tier` field on the resulting resource block. When `null`, the `promotion_tier` 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 - `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.rds_cluster_instance.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.rds_cluster_instance.new` injects a new `aws_rds_cluster_instance` 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.rds_cluster_instance.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.rds_cluster_instance` using the reference:\n\n $._ref.aws_rds_cluster_instance.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_rds_cluster_instance.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 - `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 - `auto_minor_version_upgrade` (`bool`): Set the `auto_minor_version_upgrade` field on the resulting resource block. When `null`, the `auto_minor_version_upgrade` field will be omitted from the resulting object.\n - `availability_zone` (`string`): Set the `availability_zone` field on the resulting resource block. When `null`, the `availability_zone` field will be omitted from the resulting object.\n - `ca_cert_identifier` (`string`): Set the `ca_cert_identifier` field on the resulting resource block. When `null`, the `ca_cert_identifier` field will be omitted from the resulting object.\n - `cluster_identifier` (`string`): Set the `cluster_identifier` field on the resulting resource block.\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 - `custom_iam_instance_profile` (`string`): Set the `custom_iam_instance_profile` field on the resulting resource block. When `null`, the `custom_iam_instance_profile` field will be omitted from the resulting object.\n - `db_parameter_group_name` (`string`): Set the `db_parameter_group_name` field on the resulting resource block. When `null`, the `db_parameter_group_name` field will be omitted from the resulting object.\n - `db_subnet_group_name` (`string`): Set the `db_subnet_group_name` field on the resulting resource block. When `null`, the `db_subnet_group_name` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on the resulting resource block.\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 - `identifier` (`string`): Set the `identifier` field on the resulting resource block. When `null`, the `identifier` field will be omitted from the resulting object.\n - `identifier_prefix` (`string`): Set the `identifier_prefix` field on the resulting resource block. When `null`, the `identifier_prefix` field will be omitted from the resulting object.\n - `instance_class` (`string`): Set the `instance_class` field on the resulting resource block.\n - `monitoring_interval` (`number`): Set the `monitoring_interval` field on the resulting resource block. When `null`, the `monitoring_interval` field will be omitted from the resulting object.\n - `monitoring_role_arn` (`string`): Set the `monitoring_role_arn` field on the resulting resource block. When `null`, the `monitoring_role_arn` field will be omitted from the resulting object.\n - `performance_insights_enabled` (`bool`): Set the `performance_insights_enabled` field on the resulting resource block. When `null`, the `performance_insights_enabled` field will be omitted from the resulting object.\n - `performance_insights_kms_key_id` (`string`): Set the `performance_insights_kms_key_id` field on the resulting resource block. When `null`, the `performance_insights_kms_key_id` field will be omitted from the resulting object.\n - `performance_insights_retention_period` (`number`): Set the `performance_insights_retention_period` field on the resulting resource block. When `null`, the `performance_insights_retention_period` 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 - `promotion_tier` (`number`): Set the `promotion_tier` field on the resulting resource block. When `null`, the `promotion_tier` 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 - `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.rds_cluster_instance.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, cluster_identifier, @@ -13,6 +13,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); availability_zone=null, ca_cert_identifier=null, copy_tags_to_snapshot=null, + custom_iam_instance_profile=null, db_parameter_group_name=null, db_subnet_group_name=null, engine_version=null, @@ -41,6 +42,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ca_cert_identifier=ca_cert_identifier, cluster_identifier=cluster_identifier, copy_tags_to_snapshot=copy_tags_to_snapshot, + custom_iam_instance_profile=custom_iam_instance_profile, db_parameter_group_name=db_parameter_group_name, db_subnet_group_name=db_subnet_group_name, engine=engine, @@ -63,7 +65,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ), _meta=_meta ), - '#newAttrs':: d.fn(help='\n`aws.rds_cluster_instance.newAttrs` constructs a new object with attributes and blocks configured for the `rds_cluster_instance`\nTerraform resource.\n\nUnlike [aws.rds_cluster_instance.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 - `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 - `auto_minor_version_upgrade` (`bool`): Set the `auto_minor_version_upgrade` field on the resulting object. When `null`, the `auto_minor_version_upgrade` field will be omitted from the resulting object.\n - `availability_zone` (`string`): Set the `availability_zone` field on the resulting object. When `null`, the `availability_zone` field will be omitted from the resulting object.\n - `ca_cert_identifier` (`string`): Set the `ca_cert_identifier` field on the resulting object. When `null`, the `ca_cert_identifier` field will be omitted from the resulting object.\n - `cluster_identifier` (`string`): Set the `cluster_identifier` field on 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 - `db_parameter_group_name` (`string`): Set the `db_parameter_group_name` field on the resulting object. When `null`, the `db_parameter_group_name` field will be omitted from the resulting object.\n - `db_subnet_group_name` (`string`): Set the `db_subnet_group_name` field on the resulting object. When `null`, the `db_subnet_group_name` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on 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 - `identifier` (`string`): Set the `identifier` field on the resulting object. When `null`, the `identifier` field will be omitted from the resulting object.\n - `identifier_prefix` (`string`): Set the `identifier_prefix` field on the resulting object. When `null`, the `identifier_prefix` field will be omitted from the resulting object.\n - `instance_class` (`string`): Set the `instance_class` field on the resulting object.\n - `monitoring_interval` (`number`): Set the `monitoring_interval` field on the resulting object. When `null`, the `monitoring_interval` field will be omitted from the resulting object.\n - `monitoring_role_arn` (`string`): Set the `monitoring_role_arn` field on the resulting object. When `null`, the `monitoring_role_arn` field will be omitted from the resulting object.\n - `performance_insights_enabled` (`bool`): Set the `performance_insights_enabled` field on the resulting object. When `null`, the `performance_insights_enabled` field will be omitted from the resulting object.\n - `performance_insights_kms_key_id` (`string`): Set the `performance_insights_kms_key_id` field on the resulting object. When `null`, the `performance_insights_kms_key_id` field will be omitted from the resulting object.\n - `performance_insights_retention_period` (`number`): Set the `performance_insights_retention_period` field on the resulting object. When `null`, the `performance_insights_retention_period` 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 - `promotion_tier` (`number`): Set the `promotion_tier` field on the resulting object. When `null`, the `promotion_tier` 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 - `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.rds_cluster_instance.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 `rds_cluster_instance` resource into the root Terraform configuration.\n', args=[]), + '#newAttrs':: d.fn(help='\n`aws.rds_cluster_instance.newAttrs` constructs a new object with attributes and blocks configured for the `rds_cluster_instance`\nTerraform resource.\n\nUnlike [aws.rds_cluster_instance.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 - `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 - `auto_minor_version_upgrade` (`bool`): Set the `auto_minor_version_upgrade` field on the resulting object. When `null`, the `auto_minor_version_upgrade` field will be omitted from the resulting object.\n - `availability_zone` (`string`): Set the `availability_zone` field on the resulting object. When `null`, the `availability_zone` field will be omitted from the resulting object.\n - `ca_cert_identifier` (`string`): Set the `ca_cert_identifier` field on the resulting object. When `null`, the `ca_cert_identifier` field will be omitted from the resulting object.\n - `cluster_identifier` (`string`): Set the `cluster_identifier` field on 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 - `custom_iam_instance_profile` (`string`): Set the `custom_iam_instance_profile` field on the resulting object. When `null`, the `custom_iam_instance_profile` field will be omitted from the resulting object.\n - `db_parameter_group_name` (`string`): Set the `db_parameter_group_name` field on the resulting object. When `null`, the `db_parameter_group_name` field will be omitted from the resulting object.\n - `db_subnet_group_name` (`string`): Set the `db_subnet_group_name` field on the resulting object. When `null`, the `db_subnet_group_name` field will be omitted from the resulting object.\n - `engine` (`string`): Set the `engine` field on 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 - `identifier` (`string`): Set the `identifier` field on the resulting object. When `null`, the `identifier` field will be omitted from the resulting object.\n - `identifier_prefix` (`string`): Set the `identifier_prefix` field on the resulting object. When `null`, the `identifier_prefix` field will be omitted from the resulting object.\n - `instance_class` (`string`): Set the `instance_class` field on the resulting object.\n - `monitoring_interval` (`number`): Set the `monitoring_interval` field on the resulting object. When `null`, the `monitoring_interval` field will be omitted from the resulting object.\n - `monitoring_role_arn` (`string`): Set the `monitoring_role_arn` field on the resulting object. When `null`, the `monitoring_role_arn` field will be omitted from the resulting object.\n - `performance_insights_enabled` (`bool`): Set the `performance_insights_enabled` field on the resulting object. When `null`, the `performance_insights_enabled` field will be omitted from the resulting object.\n - `performance_insights_kms_key_id` (`string`): Set the `performance_insights_kms_key_id` field on the resulting object. When `null`, the `performance_insights_kms_key_id` field will be omitted from the resulting object.\n - `performance_insights_retention_period` (`number`): Set the `performance_insights_retention_period` field on the resulting object. When `null`, the `performance_insights_retention_period` 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 - `promotion_tier` (`number`): Set the `promotion_tier` field on the resulting object. When `null`, the `promotion_tier` 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 - `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.rds_cluster_instance.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 `rds_cluster_instance` resource into the root Terraform configuration.\n', args=[]), newAttrs( cluster_identifier, engine, @@ -73,6 +75,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); availability_zone=null, ca_cert_identifier=null, copy_tags_to_snapshot=null, + custom_iam_instance_profile=null, db_parameter_group_name=null, db_subnet_group_name=null, engine_version=null, @@ -97,6 +100,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); ca_cert_identifier: ca_cert_identifier, cluster_identifier: cluster_identifier, copy_tags_to_snapshot: copy_tags_to_snapshot, + custom_iam_instance_profile: custom_iam_instance_profile, db_parameter_group_name: db_parameter_group_name, db_subnet_group_name: db_subnet_group_name, engine: engine, @@ -189,6 +193,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }, }, }, + '#withCustomIamInstanceProfile':: d.fn(help='`aws.string.withCustomIamInstanceProfile` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the custom_iam_instance_profile 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 `custom_iam_instance_profile` field.\n', args=[]), + withCustomIamInstanceProfile(resourceLabel, value): { + resource+: { + aws_rds_cluster_instance+: { + [resourceLabel]+: { + custom_iam_instance_profile: value, + }, + }, + }, + }, '#withDbParameterGroupName':: d.fn(help='`aws.string.withDbParameterGroupName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the db_parameter_group_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 `db_parameter_group_name` field.\n', args=[]), withDbParameterGroupName(resourceLabel, value): { resource+: { diff --git a/5.x/_gen/resources/spot_instance_request.libsonnet b/5.x/_gen/resources/spot_instance_request.libsonnet index 21cd7dd1..23d86fa5 100644 --- a/5.x/_gen/resources/spot_instance_request.libsonnet +++ b/5.x/_gen/resources/spot_instance_request.libsonnet @@ -107,14 +107,16 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet'); }), }, metadata_options:: { - '#new':: d.fn(help='\n`aws.spot_instance_request.metadata_options.new` constructs a new object with attributes and blocks configured for the `metadata_options`\nTerraform sub block.\n\n\n\n**Args**:\n - `http_endpoint` (`string`): Set the `http_endpoint` field on the resulting object. When `null`, the `http_endpoint` field will be omitted from the resulting object.\n - `http_put_response_hop_limit` (`number`): Set the `http_put_response_hop_limit` field on the resulting object. When `null`, the `http_put_response_hop_limit` field will be omitted from the resulting object.\n - `http_tokens` (`string`): Set the `http_tokens` field on the resulting object. When `null`, the `http_tokens` field will be omitted from the resulting object.\n - `instance_metadata_tags` (`string`): Set the `instance_metadata_tags` field on the resulting object. When `null`, the `instance_metadata_tags` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `metadata_options` sub block.\n', args=[]), + '#new':: d.fn(help='\n`aws.spot_instance_request.metadata_options.new` constructs a new object with attributes and blocks configured for the `metadata_options`\nTerraform sub block.\n\n\n\n**Args**:\n - `http_endpoint` (`string`): Set the `http_endpoint` field on the resulting object. When `null`, the `http_endpoint` field will be omitted from the resulting object.\n - `http_protocol_ipv6` (`string`): Set the `http_protocol_ipv6` field on the resulting object. When `null`, the `http_protocol_ipv6` field will be omitted from the resulting object.\n - `http_put_response_hop_limit` (`number`): Set the `http_put_response_hop_limit` field on the resulting object. When `null`, the `http_put_response_hop_limit` field will be omitted from the resulting object.\n - `http_tokens` (`string`): Set the `http_tokens` field on the resulting object. When `null`, the `http_tokens` field will be omitted from the resulting object.\n - `instance_metadata_tags` (`string`): Set the `instance_metadata_tags` field on the resulting object. When `null`, the `instance_metadata_tags` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `metadata_options` sub block.\n', args=[]), new( http_endpoint=null, + http_protocol_ipv6=null, http_put_response_hop_limit=null, http_tokens=null, instance_metadata_tags=null ):: std.prune(a={ http_endpoint: http_endpoint, + http_protocol_ipv6: http_protocol_ipv6, http_put_response_hop_limit: http_put_response_hop_limit, http_tokens: http_tokens, instance_metadata_tags: instance_metadata_tags, diff --git a/docs/5.x/README.md b/docs/5.x/README.md index 664965d1..8f8a5f10 100644 --- a/docs/5.x/README.md +++ b/docs/5.x/README.md @@ -182,6 +182,7 @@ project. * [cloudformation_stack_set_instance](cloudformation_stack_set_instance.md) * [cloudformation_type](cloudformation_type.md) * [cloudfront_cache_policy](cloudfront_cache_policy.md) +* [cloudfront_continuous_deployment_policy](cloudfront_continuous_deployment_policy.md) * [cloudfront_distribution](cloudfront_distribution.md) * [cloudfront_field_level_encryption_config](cloudfront_field_level_encryption_config.md) * [cloudfront_field_level_encryption_profile](cloudfront_field_level_encryption_profile.md) @@ -231,6 +232,9 @@ project. * [codebuild_resource_policy](codebuild_resource_policy.md) * [codebuild_source_credential](codebuild_source_credential.md) * [codebuild_webhook](codebuild_webhook.md) +* [codecatalyst_dev_environment](codecatalyst_dev_environment.md) +* [codecatalyst_project](codecatalyst_project.md) +* [codecatalyst_source_repository](codecatalyst_source_repository.md) * [codecommit_approval_rule_template](codecommit_approval_rule_template.md) * [codecommit_approval_rule_template_association](codecommit_approval_rule_template_association.md) * [codecommit_repository](codecommit_repository.md) @@ -757,6 +761,7 @@ project. * [msk_configuration](msk_configuration.md) * [msk_scram_secret_association](msk_scram_secret_association.md) * [msk_serverless_cluster](msk_serverless_cluster.md) +* [msk_vpc_connection](msk_vpc_connection.md) * [mskconnect_connector](mskconnect_connector.md) * [mskconnect_custom_plugin](mskconnect_custom_plugin.md) * [mskconnect_worker_configuration](mskconnect_worker_configuration.md) diff --git a/docs/5.x/autoscaling_group.md b/docs/5.x/autoscaling_group.md index 44c8e589..4f5025d2 100644 --- a/docs/5.x/autoscaling_group.md +++ b/docs/5.x/autoscaling_group.md @@ -27,6 +27,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withForceDeleteWarmPool()`](#fn-withforcedeletewarmpool) * [`fn withHealthCheckGracePeriod()`](#fn-withhealthcheckgraceperiod) * [`fn withHealthCheckType()`](#fn-withhealthchecktype) +* [`fn withIgnoreFailedScalingActivities()`](#fn-withignorefailedscalingactivities) * [`fn withInitialLifecycleHook()`](#fn-withinitiallifecyclehook) * [`fn withInitialLifecycleHookMixin()`](#fn-withinitiallifecyclehookmixin) * [`fn withInstanceRefresh()`](#fn-withinstancerefresh) @@ -153,6 +154,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `force_delete_warm_pool` (`bool`): Set the `force_delete_warm_pool` field on the resulting resource block. When `null`, the `force_delete_warm_pool` field will be omitted from the resulting object. - `health_check_grace_period` (`number`): Set the `health_check_grace_period` field on the resulting resource block. When `null`, the `health_check_grace_period` field will be omitted from the resulting object. - `health_check_type` (`string`): Set the `health_check_type` field on the resulting resource block. When `null`, the `health_check_type` field will be omitted from the resulting object. + - `ignore_failed_scaling_activities` (`bool`): Set the `ignore_failed_scaling_activities` field on the resulting resource block. When `null`, the `ignore_failed_scaling_activities` field will be omitted from the resulting object. - `launch_configuration` (`string`): Set the `launch_configuration` field on the resulting resource block. When `null`, the `launch_configuration` field will be omitted from the resulting object. - `load_balancers` (`list`): Set the `load_balancers` field on the resulting resource block. When `null`, the `load_balancers` field will be omitted from the resulting object. - `max_instance_lifetime` (`number`): Set the `max_instance_lifetime` field on the resulting resource block. When `null`, the `max_instance_lifetime` field will be omitted from the resulting object. @@ -214,6 +216,7 @@ injecting into a complete block. - `force_delete_warm_pool` (`bool`): Set the `force_delete_warm_pool` field on the resulting object. When `null`, the `force_delete_warm_pool` field will be omitted from the resulting object. - `health_check_grace_period` (`number`): Set the `health_check_grace_period` field on the resulting object. When `null`, the `health_check_grace_period` field will be omitted from the resulting object. - `health_check_type` (`string`): Set the `health_check_type` field on the resulting object. When `null`, the `health_check_type` field will be omitted from the resulting object. + - `ignore_failed_scaling_activities` (`bool`): Set the `ignore_failed_scaling_activities` field on the resulting object. When `null`, the `ignore_failed_scaling_activities` field will be omitted from the resulting object. - `launch_configuration` (`string`): Set the `launch_configuration` field on the resulting object. When `null`, the `launch_configuration` field will be omitted from the resulting object. - `load_balancers` (`list`): Set the `load_balancers` field on the resulting object. When `null`, the `load_balancers` field will be omitted from the resulting object. - `max_instance_lifetime` (`number`): Set the `max_instance_lifetime` field on the resulting object. When `null`, the `max_instance_lifetime` field will be omitted from the resulting object. @@ -437,6 +440,22 @@ Terraform resource block to set or update the health_check_type field. - `value` (`string`): The value to set for the `health_check_type` field. +### fn withIgnoreFailedScalingActivities + +```ts +withIgnoreFailedScalingActivities() +``` + +`aws.bool.withIgnoreFailedScalingActivities` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the ignore_failed_scaling_activities field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `ignore_failed_scaling_activities` field. + + ### fn withInitialLifecycleHook ```ts diff --git a/docs/5.x/cloudfront_continuous_deployment_policy.md b/docs/5.x/cloudfront_continuous_deployment_policy.md new file mode 100644 index 00000000..3e0218f2 --- /dev/null +++ b/docs/5.x/cloudfront_continuous_deployment_policy.md @@ -0,0 +1,305 @@ +--- +permalink: /cloudfront_continuous_deployment_policy/ +--- + +# cloudfront_continuous_deployment_policy + +`cloudfront_continuous_deployment_policy` represents the `aws_cloudfront_continuous_deployment_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 withEnabled()`](#fn-withenabled) +* [`fn withStagingDistributionDnsNames()`](#fn-withstagingdistributiondnsnames) +* [`fn withStagingDistributionDnsNamesMixin()`](#fn-withstagingdistributiondnsnamesmixin) +* [`fn withTrafficConfig()`](#fn-withtrafficconfig) +* [`fn withTrafficConfigMixin()`](#fn-withtrafficconfigmixin) +* [`obj staging_distribution_dns_names`](#obj-staging_distribution_dns_names) + * [`fn new()`](#fn-staging_distribution_dns_namesnew) +* [`obj traffic_config`](#obj-traffic_config) + * [`fn new()`](#fn-traffic_confignew) + * [`obj traffic_config.single_header_config`](#obj-traffic_configsingle_header_config) + * [`fn new()`](#fn-traffic_configsingle_header_confignew) + * [`obj traffic_config.single_weight_config`](#obj-traffic_configsingle_weight_config) + * [`fn new()`](#fn-traffic_configsingle_weight_confignew) + * [`obj traffic_config.single_weight_config.session_stickiness_config`](#obj-traffic_configsingle_weight_configsession_stickiness_config) + * [`fn new()`](#fn-traffic_configsingle_weight_configsession_stickiness_confignew) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.cloudfront_continuous_deployment_policy.new` injects a new `aws_cloudfront_continuous_deployment_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.cloudfront_continuous_deployment_policy.new('some_id') + +You can get the reference to the `id` field of the created `aws.cloudfront_continuous_deployment_policy` using the reference: + + $._ref.aws_cloudfront_continuous_deployment_policy.some_id.get('id') + +This is the same as directly entering `"${ aws_cloudfront_continuous_deployment_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. + - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. + - `staging_distribution_dns_names` (`list[obj]`): Set the `staging_distribution_dns_names` field on the resulting resource block. When `null`, the `staging_distribution_dns_names` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_continuous_deployment_policy.staging_distribution_dns_names.new](#fn-staging_distribution_dns_namesnew) constructor. + - `traffic_config` (`list[obj]`): Set the `traffic_config` field on the resulting resource block. When `null`, the `traffic_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.cloudfront_continuous_deployment_policy.traffic_config.new](#fn-traffic_confignew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.cloudfront_continuous_deployment_policy.newAttrs` constructs a new object with attributes and blocks configured for the `cloudfront_continuous_deployment_policy` +Terraform resource. + +Unlike [aws.cloudfront_continuous_deployment_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**: + - `enabled` (`bool`): Set the `enabled` field on the resulting object. + - `staging_distribution_dns_names` (`list[obj]`): Set the `staging_distribution_dns_names` field on the resulting object. When `null`, the `staging_distribution_dns_names` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudfront_continuous_deployment_policy.staging_distribution_dns_names.new](#fn-staging_distribution_dns_namesnew) constructor. + - `traffic_config` (`list[obj]`): Set the `traffic_config` field on the resulting object. When `null`, the `traffic_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.cloudfront_continuous_deployment_policy.traffic_config.new](#fn-traffic_confignew) 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 `cloudfront_continuous_deployment_policy` resource into the root Terraform configuration. + + +### fn withEnabled + +```ts +withEnabled() +``` + +`aws.bool.withEnabled` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the enabled field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `enabled` field. + + +### fn withStagingDistributionDnsNames + +```ts +withStagingDistributionDnsNames() +``` + +`aws.list[obj].withStagingDistributionDnsNames` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the staging_distribution_dns_names 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].withStagingDistributionDnsNamesMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `staging_distribution_dns_names` field. + + +### fn withStagingDistributionDnsNamesMixin + +```ts +withStagingDistributionDnsNamesMixin() +``` + +`aws.list[obj].withStagingDistributionDnsNamesMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the staging_distribution_dns_names 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].withStagingDistributionDnsNames](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `staging_distribution_dns_names` field. + + +### fn withTrafficConfig + +```ts +withTrafficConfig() +``` + +`aws.list[obj].withTrafficConfig` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the traffic_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].withTrafficConfigMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `traffic_config` field. + + +### fn withTrafficConfigMixin + +```ts +withTrafficConfigMixin() +``` + +`aws.list[obj].withTrafficConfigMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the traffic_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].withTrafficConfig](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `traffic_config` field. + + +## obj staging_distribution_dns_names + + + +### fn staging_distribution_dns_names.new + +```ts +new() +``` + + +`aws.cloudfront_continuous_deployment_policy.staging_distribution_dns_names.new` constructs a new object with attributes and blocks configured for the `staging_distribution_dns_names` +Terraform sub block. + + + +**Args**: + - `items` (`list`): Set the `items` field on the resulting object. When `null`, the `items` field will be omitted from the resulting object. + - `quantity` (`number`): Set the `quantity` field on the resulting object. + +**Returns**: + - An attribute object that represents the `staging_distribution_dns_names` sub block. + + +## obj traffic_config + + + +### fn traffic_config.new + +```ts +new() +``` + + +`aws.cloudfront_continuous_deployment_policy.traffic_config.new` constructs a new object with attributes and blocks configured for the `traffic_config` +Terraform sub block. + + + +**Args**: + - `type` (`string`): Set the `type` field on the resulting object. + - `single_header_config` (`list[obj]`): Set the `single_header_config` field on the resulting object. When `null`, the `single_header_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.cloudfront_continuous_deployment_policy.traffic_config.single_header_config.new](#fn-traffic_configsingle_header_confignew) constructor. + - `single_weight_config` (`list[obj]`): Set the `single_weight_config` field on the resulting object. When `null`, the `single_weight_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.cloudfront_continuous_deployment_policy.traffic_config.single_weight_config.new](#fn-traffic_configsingle_weight_confignew) constructor. + +**Returns**: + - An attribute object that represents the `traffic_config` sub block. + + +## obj traffic_config.single_header_config + + + +### fn traffic_config.single_header_config.new + +```ts +new() +``` + + +`aws.cloudfront_continuous_deployment_policy.traffic_config.single_header_config.new` constructs a new object with attributes and blocks configured for the `single_header_config` +Terraform sub block. + + + +**Args**: + - `header` (`string`): Set the `header` field on the resulting object. + - `value` (`string`): Set the `value` field on the resulting object. + +**Returns**: + - An attribute object that represents the `single_header_config` sub block. + + +## obj traffic_config.single_weight_config + + + +### fn traffic_config.single_weight_config.new + +```ts +new() +``` + + +`aws.cloudfront_continuous_deployment_policy.traffic_config.single_weight_config.new` constructs a new object with attributes and blocks configured for the `single_weight_config` +Terraform sub block. + + + +**Args**: + - `weight` (`number`): Set the `weight` field on the resulting object. + - `session_stickiness_config` (`list[obj]`): Set the `session_stickiness_config` field on the resulting object. When `null`, the `session_stickiness_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.cloudfront_continuous_deployment_policy.traffic_config.single_weight_config.session_stickiness_config.new](#fn-traffic_configtraffic_configsession_stickiness_confignew) constructor. + +**Returns**: + - An attribute object that represents the `single_weight_config` sub block. + + +## obj traffic_config.single_weight_config.session_stickiness_config + + + +### fn traffic_config.single_weight_config.session_stickiness_config.new + +```ts +new() +``` + + +`aws.cloudfront_continuous_deployment_policy.traffic_config.single_weight_config.session_stickiness_config.new` constructs a new object with attributes and blocks configured for the `session_stickiness_config` +Terraform sub block. + + + +**Args**: + - `idle_ttl` (`number`): Set the `idle_ttl` field on the resulting object. + - `maximum_ttl` (`number`): Set the `maximum_ttl` field on the resulting object. + +**Returns**: + - An attribute object that represents the `session_stickiness_config` sub block. diff --git a/docs/5.x/cloudfront_distribution.md b/docs/5.x/cloudfront_distribution.md index c02d31c2..af87ee8f 100644 --- a/docs/5.x/cloudfront_distribution.md +++ b/docs/5.x/cloudfront_distribution.md @@ -17,6 +17,7 @@ This package contains functions and utilities for setting up the resource using * [`fn newAttrs()`](#fn-newattrs) * [`fn withAliases()`](#fn-withaliases) * [`fn withComment()`](#fn-withcomment) +* [`fn withContinuousDeploymentPolicyId()`](#fn-withcontinuousdeploymentpolicyid) * [`fn withCustomErrorResponse()`](#fn-withcustomerrorresponse) * [`fn withCustomErrorResponseMixin()`](#fn-withcustomerrorresponsemixin) * [`fn withDefaultCacheBehavior()`](#fn-withdefaultcachebehavior) @@ -37,6 +38,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withRestrictions()`](#fn-withrestrictions) * [`fn withRestrictionsMixin()`](#fn-withrestrictionsmixin) * [`fn withRetainOnDelete()`](#fn-withretainondelete) +* [`fn withStaging()`](#fn-withstaging) * [`fn withTags()`](#fn-withtags) * [`fn withTagsAll()`](#fn-withtagsall) * [`fn withViewerCertificate()`](#fn-withviewercertificate) @@ -121,12 +123,14 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `resourceLabel` (`string`): The name label of the block. - `aliases` (`list`): Set the `aliases` field on the resulting resource block. When `null`, the `aliases` field will be omitted from the resulting object. - `comment` (`string`): Set the `comment` field on the resulting resource block. When `null`, the `comment` field will be omitted from the resulting object. + - `continuous_deployment_policy_id` (`string`): Set the `continuous_deployment_policy_id` field on the resulting resource block. When `null`, the `continuous_deployment_policy_id` field will be omitted from the resulting object. - `default_root_object` (`string`): Set the `default_root_object` field on the resulting resource block. When `null`, the `default_root_object` field will be omitted from the resulting object. - `enabled` (`bool`): Set the `enabled` field on the resulting resource block. - `http_version` (`string`): Set the `http_version` field on the resulting resource block. When `null`, the `http_version` field will be omitted from the resulting object. - `is_ipv6_enabled` (`bool`): Set the `is_ipv6_enabled` field on the resulting resource block. When `null`, the `is_ipv6_enabled` field will be omitted from the resulting object. - `price_class` (`string`): Set the `price_class` field on the resulting resource block. When `null`, the `price_class` field will be omitted from the resulting object. - `retain_on_delete` (`bool`): Set the `retain_on_delete` field on the resulting resource block. When `null`, the `retain_on_delete` field will be omitted from the resulting object. + - `staging` (`bool`): Set the `staging` field on the resulting resource block. When `null`, the `staging` 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. - `wait_for_deployment` (`bool`): Set the `wait_for_deployment` field on the resulting resource block. When `null`, the `wait_for_deployment` field will be omitted from the resulting object. @@ -164,12 +168,14 @@ injecting into a complete block. **Args**: - `aliases` (`list`): Set the `aliases` field on the resulting object. When `null`, the `aliases` field will be omitted from the resulting object. - `comment` (`string`): Set the `comment` field on the resulting object. When `null`, the `comment` field will be omitted from the resulting object. + - `continuous_deployment_policy_id` (`string`): Set the `continuous_deployment_policy_id` field on the resulting object. When `null`, the `continuous_deployment_policy_id` field will be omitted from the resulting object. - `default_root_object` (`string`): Set the `default_root_object` field on the resulting object. When `null`, the `default_root_object` field will be omitted from the resulting object. - `enabled` (`bool`): Set the `enabled` field on the resulting object. - `http_version` (`string`): Set the `http_version` field on the resulting object. When `null`, the `http_version` field will be omitted from the resulting object. - `is_ipv6_enabled` (`bool`): Set the `is_ipv6_enabled` field on the resulting object. When `null`, the `is_ipv6_enabled` field will be omitted from the resulting object. - `price_class` (`string`): Set the `price_class` field on the resulting object. When `null`, the `price_class` field will be omitted from the resulting object. - `retain_on_delete` (`bool`): Set the `retain_on_delete` field on the resulting object. When `null`, the `retain_on_delete` field will be omitted from the resulting object. + - `staging` (`bool`): Set the `staging` field on the resulting object. When `null`, the `staging` 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. - `wait_for_deployment` (`bool`): Set the `wait_for_deployment` field on the resulting object. When `null`, the `wait_for_deployment` field will be omitted from the resulting object. @@ -219,6 +225,22 @@ Terraform resource block to set or update the comment field. - `value` (`string`): The value to set for the `comment` field. +### fn withContinuousDeploymentPolicyId + +```ts +withContinuousDeploymentPolicyId() +``` + +`aws.string.withContinuousDeploymentPolicyId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the continuous_deployment_policy_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `continuous_deployment_policy_id` field. + + ### fn withCustomErrorResponse ```ts @@ -574,6 +596,22 @@ Terraform resource block to set or update the retain_on_delete field. - `value` (`bool`): The value to set for the `retain_on_delete` field. +### fn withStaging + +```ts +withStaging() +``` + +`aws.bool.withStaging` constructs a mixin object that can be merged into the `bool` +Terraform resource block to set or update the staging field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`bool`): The value to set for the `staging` field. + + ### fn withTags ```ts diff --git a/docs/5.x/cloudwatch_composite_alarm.md b/docs/5.x/cloudwatch_composite_alarm.md index e88065a3..5282c517 100644 --- a/docs/5.x/cloudwatch_composite_alarm.md +++ b/docs/5.x/cloudwatch_composite_alarm.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 withActionsEnabled()`](#fn-withactionsenabled) +* [`fn withActionsSuppressor()`](#fn-withactionssuppressor) +* [`fn withActionsSuppressorMixin()`](#fn-withactionssuppressormixin) * [`fn withAlarmActions()`](#fn-withalarmactions) * [`fn withAlarmDescription()`](#fn-withalarmdescription) * [`fn withAlarmName()`](#fn-withalarmname) @@ -24,6 +26,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withOkActions()`](#fn-withokactions) * [`fn withTags()`](#fn-withtags) * [`fn withTagsAll()`](#fn-withtagsall) +* [`obj actions_suppressor`](#obj-actions_suppressor) + * [`fn new()`](#fn-actions_suppressornew) ## Fields @@ -63,6 +67,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `ok_actions` (`list`): Set the `ok_actions` field on the resulting resource block. When `null`, the `ok_actions` 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. + - `actions_suppressor` (`list[obj]`): Set the `actions_suppressor` field on the resulting resource block. When `null`, the `actions_suppressor` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_composite_alarm.actions_suppressor.new](#fn-actions_suppressornew) constructor. **Returns**: - A mixin object that injects the new resource into the root Terraform configuration. @@ -95,6 +100,7 @@ injecting into a complete block. - `ok_actions` (`list`): Set the `ok_actions` field on the resulting object. When `null`, the `ok_actions` 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. + - `actions_suppressor` (`list[obj]`): Set the `actions_suppressor` field on the resulting object. When `null`, the `actions_suppressor` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_composite_alarm.actions_suppressor.new](#fn-actions_suppressornew) 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 `cloudwatch_composite_alarm` resource into the root Terraform configuration. @@ -116,6 +122,43 @@ Terraform resource block to set or update the actions_enabled field. - `value` (`bool`): The value to set for the `actions_enabled` field. +### fn withActionsSuppressor + +```ts +withActionsSuppressor() +``` + +`aws.list[obj].withActionsSuppressor` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the actions_suppressor 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].withActionsSuppressorMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `actions_suppressor` field. + + +### fn withActionsSuppressorMixin + +```ts +withActionsSuppressorMixin() +``` + +`aws.list[obj].withActionsSuppressorMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the actions_suppressor 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].withActionsSuppressor](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `actions_suppressor` field. + + ### fn withAlarmActions ```ts @@ -242,3 +285,28 @@ 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. + + +## obj actions_suppressor + + + +### fn actions_suppressor.new + +```ts +new() +``` + + +`aws.cloudwatch_composite_alarm.actions_suppressor.new` constructs a new object with attributes and blocks configured for the `actions_suppressor` +Terraform sub block. + + + +**Args**: + - `alarm` (`string`): Set the `alarm` field on the resulting object. + - `extension_period` (`number`): Set the `extension_period` field on the resulting object. + - `wait_period` (`number`): Set the `wait_period` field on the resulting object. + +**Returns**: + - An attribute object that represents the `actions_suppressor` sub block. diff --git a/docs/5.x/cloudwatch_event_target.md b/docs/5.x/cloudwatch_event_target.md index c676f164..e548096f 100644 --- a/docs/5.x/cloudwatch_event_target.md +++ b/docs/5.x/cloudwatch_event_target.md @@ -39,6 +39,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withRule()`](#fn-withrule) * [`fn withRunCommandTargets()`](#fn-withruncommandtargets) * [`fn withRunCommandTargetsMixin()`](#fn-withruncommandtargetsmixin) +* [`fn withSagemakerPipelineTarget()`](#fn-withsagemakerpipelinetarget) +* [`fn withSagemakerPipelineTargetMixin()`](#fn-withsagemakerpipelinetargetmixin) * [`fn withSqsTarget()`](#fn-withsqstarget) * [`fn withSqsTargetMixin()`](#fn-withsqstargetmixin) * [`fn withTargetId()`](#fn-withtargetid) @@ -68,6 +70,10 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-retry_policynew) * [`obj run_command_targets`](#obj-run_command_targets) * [`fn new()`](#fn-run_command_targetsnew) +* [`obj sagemaker_pipeline_target`](#obj-sagemaker_pipeline_target) + * [`fn new()`](#fn-sagemaker_pipeline_targetnew) + * [`obj sagemaker_pipeline_target.pipeline_parameter_list`](#obj-sagemaker_pipeline_targetpipeline_parameter_list) + * [`fn new()`](#fn-sagemaker_pipeline_targetpipeline_parameter_listnew) * [`obj sqs_target`](#obj-sqs_target) * [`fn new()`](#fn-sqs_targetnew) @@ -116,6 +122,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `redshift_target` (`list[obj]`): Set the `redshift_target` field on the resulting resource block. When `null`, the `redshift_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.redshift_target.new](#fn-redshift_targetnew) constructor. - `retry_policy` (`list[obj]`): Set the `retry_policy` field on the resulting resource block. When `null`, the `retry_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.cloudwatch_event_target.retry_policy.new](#fn-retry_policynew) constructor. - `run_command_targets` (`list[obj]`): Set the `run_command_targets` field on the resulting resource block. When `null`, the `run_command_targets` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.run_command_targets.new](#fn-run_command_targetsnew) constructor. + - `sagemaker_pipeline_target` (`list[obj]`): Set the `sagemaker_pipeline_target` field on the resulting resource block. When `null`, the `sagemaker_pipeline_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.sagemaker_pipeline_target.new](#fn-sagemaker_pipeline_targetnew) constructor. - `sqs_target` (`list[obj]`): Set the `sqs_target` field on the resulting resource block. When `null`, the `sqs_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.sqs_target.new](#fn-sqs_targetnew) constructor. **Returns**: @@ -156,6 +163,7 @@ injecting into a complete block. - `redshift_target` (`list[obj]`): Set the `redshift_target` field on the resulting object. When `null`, the `redshift_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.redshift_target.new](#fn-redshift_targetnew) constructor. - `retry_policy` (`list[obj]`): Set the `retry_policy` field on the resulting object. When `null`, the `retry_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.cloudwatch_event_target.retry_policy.new](#fn-retry_policynew) constructor. - `run_command_targets` (`list[obj]`): Set the `run_command_targets` field on the resulting object. When `null`, the `run_command_targets` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.run_command_targets.new](#fn-run_command_targetsnew) constructor. + - `sagemaker_pipeline_target` (`list[obj]`): Set the `sagemaker_pipeline_target` field on the resulting object. When `null`, the `sagemaker_pipeline_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.sagemaker_pipeline_target.new](#fn-sagemaker_pipeline_targetnew) constructor. - `sqs_target` (`list[obj]`): Set the `sqs_target` field on the resulting object. When `null`, the `sqs_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.sqs_target.new](#fn-sqs_targetnew) constructor. **Returns**: @@ -591,6 +599,43 @@ function. - `value` (`list[obj]`): The value to set for the `run_command_targets` field. +### fn withSagemakerPipelineTarget + +```ts +withSagemakerPipelineTarget() +``` + +`aws.list[obj].withSagemakerPipelineTarget` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the sagemaker_pipeline_target 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].withSagemakerPipelineTargetMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `sagemaker_pipeline_target` field. + + +### fn withSagemakerPipelineTargetMixin + +```ts +withSagemakerPipelineTargetMixin() +``` + +`aws.list[obj].withSagemakerPipelineTargetMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the sagemaker_pipeline_target 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].withSagemakerPipelineTarget](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `sagemaker_pipeline_target` field. + + ### fn withSqsTarget ```ts @@ -974,6 +1019,53 @@ Terraform sub block. - An attribute object that represents the `run_command_targets` sub block. +## obj sagemaker_pipeline_target + + + +### fn sagemaker_pipeline_target.new + +```ts +new() +``` + + +`aws.cloudwatch_event_target.sagemaker_pipeline_target.new` constructs a new object with attributes and blocks configured for the `sagemaker_pipeline_target` +Terraform sub block. + + + +**Args**: + - `pipeline_parameter_list` (`list[obj]`): Set the `pipeline_parameter_list` field on the resulting object. When `null`, the `pipeline_parameter_list` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.cloudwatch_event_target.sagemaker_pipeline_target.pipeline_parameter_list.new](#fn-sagemaker_pipeline_targetpipeline_parameter_listnew) constructor. + +**Returns**: + - An attribute object that represents the `sagemaker_pipeline_target` sub block. + + +## obj sagemaker_pipeline_target.pipeline_parameter_list + + + +### fn sagemaker_pipeline_target.pipeline_parameter_list.new + +```ts +new() +``` + + +`aws.cloudwatch_event_target.sagemaker_pipeline_target.pipeline_parameter_list.new` constructs a new object with attributes and blocks configured for the `pipeline_parameter_list` +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 `pipeline_parameter_list` sub block. + + ## obj sqs_target diff --git a/docs/5.x/codecatalyst_dev_environment.md b/docs/5.x/codecatalyst_dev_environment.md new file mode 100644 index 00000000..ff61c113 --- /dev/null +++ b/docs/5.x/codecatalyst_dev_environment.md @@ -0,0 +1,435 @@ +--- +permalink: /codecatalyst_dev_environment/ +--- + +# codecatalyst_dev_environment + +`codecatalyst_dev_environment` represents the `aws_codecatalyst_dev_environment` 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 withIdes()`](#fn-withides) +* [`fn withIdesMixin()`](#fn-withidesmixin) +* [`fn withInactivityTimeoutMinutes()`](#fn-withinactivitytimeoutminutes) +* [`fn withInstanceType()`](#fn-withinstancetype) +* [`fn withPersistentStorage()`](#fn-withpersistentstorage) +* [`fn withPersistentStorageMixin()`](#fn-withpersistentstoragemixin) +* [`fn withProjectName()`](#fn-withprojectname) +* [`fn withRepositories()`](#fn-withrepositories) +* [`fn withRepositoriesMixin()`](#fn-withrepositoriesmixin) +* [`fn withSpaceName()`](#fn-withspacename) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj ides`](#obj-ides) + * [`fn new()`](#fn-idesnew) +* [`obj persistent_storage`](#obj-persistent_storage) + * [`fn new()`](#fn-persistent_storagenew) +* [`obj repositories`](#obj-repositories) + * [`fn new()`](#fn-repositoriesnew) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.codecatalyst_dev_environment.new` injects a new `aws_codecatalyst_dev_environment` 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.codecatalyst_dev_environment.new('some_id') + +You can get the reference to the `id` field of the created `aws.codecatalyst_dev_environment` using the reference: + + $._ref.aws_codecatalyst_dev_environment.some_id.get('id') + +This is the same as directly entering `"${ aws_codecatalyst_dev_environment.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. + - `inactivity_timeout_minutes` (`number`): Set the `inactivity_timeout_minutes` field on the resulting resource block. When `null`, the `inactivity_timeout_minutes` field will be omitted from the resulting object. + - `instance_type` (`string`): Set the `instance_type` field on the resulting resource block. + - `project_name` (`string`): Set the `project_name` field on the resulting resource block. + - `space_name` (`string`): Set the `space_name` field on the resulting resource block. + - `ides` (`list[obj]`): Set the `ides` field on the resulting resource block. When `null`, the `ides` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codecatalyst_dev_environment.ides.new](#fn-idesnew) constructor. + - `persistent_storage` (`list[obj]`): Set the `persistent_storage` field on the resulting resource block. When `null`, the `persistent_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.codecatalyst_dev_environment.persistent_storage.new](#fn-persistent_storagenew) constructor. + - `repositories` (`list[obj]`): Set the `repositories` field on the resulting resource block. When `null`, the `repositories` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codecatalyst_dev_environment.repositories.new](#fn-repositoriesnew) 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.codecatalyst_dev_environment.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.codecatalyst_dev_environment.newAttrs` constructs a new object with attributes and blocks configured for the `codecatalyst_dev_environment` +Terraform resource. + +Unlike [aws.codecatalyst_dev_environment.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. + - `inactivity_timeout_minutes` (`number`): Set the `inactivity_timeout_minutes` field on the resulting object. When `null`, the `inactivity_timeout_minutes` field will be omitted from the resulting object. + - `instance_type` (`string`): Set the `instance_type` field on the resulting object. + - `project_name` (`string`): Set the `project_name` field on the resulting object. + - `space_name` (`string`): Set the `space_name` field on the resulting object. + - `ides` (`list[obj]`): Set the `ides` field on the resulting object. When `null`, the `ides` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codecatalyst_dev_environment.ides.new](#fn-idesnew) constructor. + - `persistent_storage` (`list[obj]`): Set the `persistent_storage` field on the resulting object. When `null`, the `persistent_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.codecatalyst_dev_environment.persistent_storage.new](#fn-persistent_storagenew) constructor. + - `repositories` (`list[obj]`): Set the `repositories` field on the resulting object. When `null`, the `repositories` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.codecatalyst_dev_environment.repositories.new](#fn-repositoriesnew) 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.codecatalyst_dev_environment.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 `codecatalyst_dev_environment` 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 withIdes + +```ts +withIdes() +``` + +`aws.list[obj].withIdes` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the ides 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].withIdesMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `ides` field. + + +### fn withIdesMixin + +```ts +withIdesMixin() +``` + +`aws.list[obj].withIdesMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the ides 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].withIdes](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `ides` field. + + +### fn withInactivityTimeoutMinutes + +```ts +withInactivityTimeoutMinutes() +``` + +`aws.number.withInactivityTimeoutMinutes` constructs a mixin object that can be merged into the `number` +Terraform resource block to set or update the inactivity_timeout_minutes field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`number`): The value to set for the `inactivity_timeout_minutes` field. + + +### fn withInstanceType + +```ts +withInstanceType() +``` + +`aws.string.withInstanceType` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the instance_type field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `instance_type` field. + + +### fn withPersistentStorage + +```ts +withPersistentStorage() +``` + +`aws.list[obj].withPersistentStorage` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the persistent_storage 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].withPersistentStorageMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `persistent_storage` field. + + +### fn withPersistentStorageMixin + +```ts +withPersistentStorageMixin() +``` + +`aws.list[obj].withPersistentStorageMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the persistent_storage 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].withPersistentStorage](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `persistent_storage` field. + + +### fn withProjectName + +```ts +withProjectName() +``` + +`aws.string.withProjectName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the project_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `project_name` field. + + +### fn withRepositories + +```ts +withRepositories() +``` + +`aws.list[obj].withRepositories` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the repositories 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].withRepositoriesMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `repositories` field. + + +### fn withRepositoriesMixin + +```ts +withRepositoriesMixin() +``` + +`aws.list[obj].withRepositoriesMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the repositories 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].withRepositories](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `repositories` field. + + +### fn withSpaceName + +```ts +withSpaceName() +``` + +`aws.string.withSpaceName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the space_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `space_name` 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 ides + + + +### fn ides.new + +```ts +new() +``` + + +`aws.codecatalyst_dev_environment.ides.new` constructs a new object with attributes and blocks configured for the `ides` +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. + - `runtime` (`string`): Set the `runtime` field on the resulting object. When `null`, the `runtime` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `ides` sub block. + + +## obj persistent_storage + + + +### fn persistent_storage.new + +```ts +new() +``` + + +`aws.codecatalyst_dev_environment.persistent_storage.new` constructs a new object with attributes and blocks configured for the `persistent_storage` +Terraform sub block. + + + +**Args**: + - `size` (`number`): Set the `size` field on the resulting object. + +**Returns**: + - An attribute object that represents the `persistent_storage` sub block. + + +## obj repositories + + + +### fn repositories.new + +```ts +new() +``` + + +`aws.codecatalyst_dev_environment.repositories.new` constructs a new object with attributes and blocks configured for the `repositories` +Terraform sub block. + + + +**Args**: + - `branch_name` (`string`): Set the `branch_name` field on the resulting object. When `null`, the `branch_name` field will be omitted from the resulting object. + - `repository_name` (`string`): Set the `repository_name` field on the resulting object. + +**Returns**: + - An attribute object that represents the `repositories` sub block. + + +## obj timeouts + + + +### fn timeouts.new + +```ts +new() +``` + + +`aws.codecatalyst_dev_environment.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/codecatalyst_project.md b/docs/5.x/codecatalyst_project.md new file mode 100644 index 00000000..942db689 --- /dev/null +++ b/docs/5.x/codecatalyst_project.md @@ -0,0 +1,197 @@ +--- +permalink: /codecatalyst_project/ +--- + +# codecatalyst_project + +`codecatalyst_project` represents the `aws_codecatalyst_project` 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 withDisplayName()`](#fn-withdisplayname) +* [`fn withSpaceName()`](#fn-withspacename) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.codecatalyst_project.new` injects a new `aws_codecatalyst_project` 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.codecatalyst_project.new('some_id') + +You can get the reference to the `id` field of the created `aws.codecatalyst_project` using the reference: + + $._ref.aws_codecatalyst_project.some_id.get('id') + +This is the same as directly entering `"${ aws_codecatalyst_project.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. + - `display_name` (`string`): Set the `display_name` field on the resulting resource block. + - `space_name` (`string`): Set the `space_name` 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.codecatalyst_project.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.codecatalyst_project.newAttrs` constructs a new object with attributes and blocks configured for the `codecatalyst_project` +Terraform resource. + +Unlike [aws.codecatalyst_project.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. + - `display_name` (`string`): Set the `display_name` field on the resulting object. + - `space_name` (`string`): Set the `space_name` 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.codecatalyst_project.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 `codecatalyst_project` 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 withDisplayName + +```ts +withDisplayName() +``` + +`aws.string.withDisplayName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the display_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `display_name` field. + + +### fn withSpaceName + +```ts +withSpaceName() +``` + +`aws.string.withSpaceName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the space_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `space_name` 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.codecatalyst_project.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/codecatalyst_source_repository.md b/docs/5.x/codecatalyst_source_repository.md new file mode 100644 index 00000000..46bffce9 --- /dev/null +++ b/docs/5.x/codecatalyst_source_repository.md @@ -0,0 +1,216 @@ +--- +permalink: /codecatalyst_source_repository/ +--- + +# codecatalyst_source_repository + +`codecatalyst_source_repository` represents the `aws_codecatalyst_source_repository` 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 withName()`](#fn-withname) +* [`fn withProjectName()`](#fn-withprojectname) +* [`fn withSpaceName()`](#fn-withspacename) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.codecatalyst_source_repository.new` injects a new `aws_codecatalyst_source_repository` 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.codecatalyst_source_repository.new('some_id') + +You can get the reference to the `id` field of the created `aws.codecatalyst_source_repository` using the reference: + + $._ref.aws_codecatalyst_source_repository.some_id.get('id') + +This is the same as directly entering `"${ aws_codecatalyst_source_repository.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. + - `name` (`string`): Set the `name` field on the resulting resource block. + - `project_name` (`string`): Set the `project_name` field on the resulting resource block. + - `space_name` (`string`): Set the `space_name` 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.codecatalyst_source_repository.timeouts.new](#fn-timeoutsnew) constructor. + +**Returns**: +- A mixin object that injects the new resource into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.codecatalyst_source_repository.newAttrs` constructs a new object with attributes and blocks configured for the `codecatalyst_source_repository` +Terraform resource. + +Unlike [aws.codecatalyst_source_repository.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. + - `name` (`string`): Set the `name` field on the resulting object. + - `project_name` (`string`): Set the `project_name` field on the resulting object. + - `space_name` (`string`): Set the `space_name` 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.codecatalyst_source_repository.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 `codecatalyst_source_repository` 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 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 withProjectName + +```ts +withProjectName() +``` + +`aws.string.withProjectName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the project_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `project_name` field. + + +### fn withSpaceName + +```ts +withSpaceName() +``` + +`aws.string.withSpaceName` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the space_name field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `space_name` 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.codecatalyst_source_repository.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/data/codecatalyst_dev_environment.md b/docs/5.x/data/codecatalyst_dev_environment.md new file mode 100644 index 00000000..94b3e453 --- /dev/null +++ b/docs/5.x/data/codecatalyst_dev_environment.md @@ -0,0 +1,250 @@ +--- +permalink: /data/codecatalyst_dev_environment/ +--- + +# data.codecatalyst_dev_environment + +`codecatalyst_dev_environment` represents the `aws_codecatalyst_dev_environment` 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 withAlias()`](#fn-withalias) +* [`fn withCreatorId()`](#fn-withcreatorid) +* [`fn withEnvId()`](#fn-withenvid) +* [`fn withProjectName()`](#fn-withprojectname) +* [`fn withRepositories()`](#fn-withrepositories) +* [`fn withRepositoriesMixin()`](#fn-withrepositoriesmixin) +* [`fn withSpaceName()`](#fn-withspacename) +* [`fn withTags()`](#fn-withtags) +* [`obj repositories`](#obj-repositories) + * [`fn new()`](#fn-repositoriesnew) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.data.codecatalyst_dev_environment.new` injects a new `data_aws_codecatalyst_dev_environment` 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.codecatalyst_dev_environment.new('some_id') + +You can get the reference to the `id` field of the created `aws.data.codecatalyst_dev_environment` using the reference: + + $._ref.data_aws_codecatalyst_dev_environment.some_id.get('id') + +This is the same as directly entering `"${ data_aws_codecatalyst_dev_environment.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. + - `alias` (`string`): Set the `alias` field on the resulting data source block. When `null`, the `alias` field will be omitted from the resulting object. + - `creator_id` (`string`): Set the `creator_id` field on the resulting data source block. When `null`, the `creator_id` field will be omitted from the resulting object. + - `env_id` (`string`): Set the `env_id` field on the resulting data source block. + - `project_name` (`string`): Set the `project_name` field on the resulting data source block. + - `space_name` (`string`): Set the `space_name` field on the resulting data source block. + - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` field will be omitted from the resulting object. + - `repositories` (`list[obj]`): Set the `repositories` field on the resulting data source block. When `null`, the `repositories` 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.codecatalyst_dev_environment.repositories.new](#fn-repositoriesnew) constructor. + +**Returns**: +- A mixin object that injects the new data source into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.data.codecatalyst_dev_environment.newAttrs` constructs a new object with attributes and blocks configured for the `codecatalyst_dev_environment` +Terraform data source. + +Unlike [aws.data.codecatalyst_dev_environment.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**: + - `alias` (`string`): Set the `alias` field on the resulting object. When `null`, the `alias` field will be omitted from the resulting object. + - `creator_id` (`string`): Set the `creator_id` field on the resulting object. When `null`, the `creator_id` field will be omitted from the resulting object. + - `env_id` (`string`): Set the `env_id` field on the resulting object. + - `project_name` (`string`): Set the `project_name` field on the resulting object. + - `space_name` (`string`): Set the `space_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. + - `repositories` (`list[obj]`): Set the `repositories` field on the resulting object. When `null`, the `repositories` 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.codecatalyst_dev_environment.repositories.new](#fn-repositoriesnew) constructor. + +**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 `codecatalyst_dev_environment` data source into the root Terraform configuration. + + +### fn withAlias + +```ts +withAlias() +``` + +`aws.string.withAlias` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the alias field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `alias` field. + + +### fn withCreatorId + +```ts +withCreatorId() +``` + +`aws.string.withCreatorId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the creator_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `creator_id` field. + + +### fn withEnvId + +```ts +withEnvId() +``` + +`aws.string.withEnvId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the env_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `env_id` field. + + +### fn withProjectName + +```ts +withProjectName() +``` + +`aws.string.withProjectName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the project_name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `project_name` field. + + +### fn withRepositories + +```ts +withRepositories() +``` + +`aws.list[obj].withRepositories` constructs a mixin object that can be merged into the `list[obj]` +Terraform data source block to set or update the repositories 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].withRepositoriesMixin](TODO) function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `repositories` field. + + +### fn withRepositoriesMixin + +```ts +withRepositoriesMixin() +``` + +`aws.list[obj].withRepositoriesMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform data source block to set or update the repositories 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].withRepositories](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `repositories` field. + + +### fn withSpaceName + +```ts +withSpaceName() +``` + +`aws.string.withSpaceName` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the space_name field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `space_name` field. + + +### fn withTags + +```ts +withTags() +``` + +`aws.obj.withTags` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the tags field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `tags` field. + + +## obj repositories + + + +### fn repositories.new + +```ts +new() +``` + + +`aws.codecatalyst_dev_environment.repositories.new` constructs a new object with attributes and blocks configured for the `repositories` +Terraform sub block. + + + +**Returns**: + - An attribute object that represents the `repositories` sub block. diff --git a/docs/5.x/data/ec2_transit_gateway_route_table_routes.md b/docs/5.x/data/ec2_transit_gateway_route_table_routes.md new file mode 100644 index 00000000..9dda0a79 --- /dev/null +++ b/docs/5.x/data/ec2_transit_gateway_route_table_routes.md @@ -0,0 +1,159 @@ +--- +permalink: /data/ec2_transit_gateway_route_table_routes/ +--- + +# data.ec2_transit_gateway_route_table_routes + +`ec2_transit_gateway_route_table_routes` represents the `aws_ec2_transit_gateway_route_table_routes` 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 withFilter()`](#fn-withfilter) +* [`fn withFilterMixin()`](#fn-withfiltermixin) +* [`fn withTransitGatewayRouteTableId()`](#fn-withtransitgatewayroutetableid) +* [`obj filter`](#obj-filter) + * [`fn new()`](#fn-filternew) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.data.ec2_transit_gateway_route_table_routes.new` injects a new `data_aws_ec2_transit_gateway_route_table_routes` 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.ec2_transit_gateway_route_table_routes.new('some_id') + +You can get the reference to the `id` field of the created `aws.data.ec2_transit_gateway_route_table_routes` using the reference: + + $._ref.data_aws_ec2_transit_gateway_route_table_routes.some_id.get('id') + +This is the same as directly entering `"${ data_aws_ec2_transit_gateway_route_table_routes.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. + - `transit_gateway_route_table_id` (`string`): Set the `transit_gateway_route_table_id` field on the resulting data source block. + - `filter` (`list[obj]`): Set the `filter` field on the resulting data source block. When `null`, the `filter` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.data.ec2_transit_gateway_route_table_routes.filter.new](#fn-filternew) constructor. + +**Returns**: +- A mixin object that injects the new data source into the root Terraform configuration. + + +### fn newAttrs + +```ts +newAttrs() +``` + + +`aws.data.ec2_transit_gateway_route_table_routes.newAttrs` constructs a new object with attributes and blocks configured for the `ec2_transit_gateway_route_table_routes` +Terraform data source. + +Unlike [aws.data.ec2_transit_gateway_route_table_routes.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**: + - `transit_gateway_route_table_id` (`string`): Set the `transit_gateway_route_table_id` field on the resulting object. + - `filter` (`list[obj]`): Set the `filter` field on the resulting object. When `null`, the `filter` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.data.ec2_transit_gateway_route_table_routes.filter.new](#fn-filternew) constructor. + +**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 `ec2_transit_gateway_route_table_routes` data source into the root Terraform configuration. + + +### fn withFilter + +```ts +withFilter() +``` + +`aws.list[obj].withFilter` constructs a mixin object that can be merged into the `list[obj]` +Terraform data source block to set or update the filter field. + +This function will replace the array with the passed in `value`. If you wish to instead append the +passed in value to the existing array, use the [aws.list[obj].withFilterMixin](TODO) function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `filter` field. + + +### fn withFilterMixin + +```ts +withFilterMixin() +``` + +`aws.list[obj].withFilterMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform data source block to set or update the filter field. + +This function will append the passed in array or object to the existing array. If you wish +to instead replace the array with the passed in `value`, use the [aws.list[obj].withFilter](TODO) +function. + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `filter` field. + + +### fn withTransitGatewayRouteTableId + +```ts +withTransitGatewayRouteTableId() +``` + +`aws.string.withTransitGatewayRouteTableId` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the transit_gateway_route_table_id field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `transit_gateway_route_table_id` field. + + +## obj filter + + + +### fn filter.new + +```ts +new() +``` + + +`aws.ec2_transit_gateway_route_table_routes.filter.new` constructs a new object with attributes and blocks configured for the `filter` +Terraform sub block. + + + +**Args**: + - `name` (`string`): Set the `name` field on the resulting object. + - `values` (`list`): Set the `values` field on the resulting object. + +**Returns**: + - An attribute object that represents the `filter` sub block. diff --git a/docs/5.x/data/index.md b/docs/5.x/data/index.md index e1820e84..3696e0c2 100644 --- a/docs/5.x/data/index.md +++ b/docs/5.x/data/index.md @@ -82,6 +82,7 @@ permalink: /data/ * [cloudwatch_log_groups](cloudwatch_log_groups.md) * [codeartifact_authorization_token](codeartifact_authorization_token.md) * [codeartifact_repository_endpoint](codeartifact_repository_endpoint.md) +* [codecatalyst_dev_environment](codecatalyst_dev_environment.md) * [codecommit_approval_rule_template](codecommit_approval_rule_template.md) * [codecommit_repository](codecommit_repository.md) * [codestarconnections_connection](codestarconnections_connection.md) @@ -173,6 +174,7 @@ permalink: /data/ * [ec2_transit_gateway_route_table](ec2_transit_gateway_route_table.md) * [ec2_transit_gateway_route_table_associations](ec2_transit_gateway_route_table_associations.md) * [ec2_transit_gateway_route_table_propagations](ec2_transit_gateway_route_table_propagations.md) +* [ec2_transit_gateway_route_table_routes](ec2_transit_gateway_route_table_routes.md) * [ec2_transit_gateway_route_tables](ec2_transit_gateway_route_tables.md) * [ec2_transit_gateway_vpc_attachment](ec2_transit_gateway_vpc_attachment.md) * [ec2_transit_gateway_vpc_attachments](ec2_transit_gateway_vpc_attachments.md) @@ -322,6 +324,7 @@ permalink: /data/ * [msk_cluster](msk_cluster.md) * [msk_configuration](msk_configuration.md) * [msk_kafka_version](msk_kafka_version.md) +* [msk_vpc_connection](msk_vpc_connection.md) * [mskconnect_connector](mskconnect_connector.md) * [mskconnect_custom_plugin](mskconnect_custom_plugin.md) * [mskconnect_worker_configuration](mskconnect_worker_configuration.md) diff --git a/docs/5.x/data/msk_vpc_connection.md b/docs/5.x/data/msk_vpc_connection.md new file mode 100644 index 00000000..534fd32b --- /dev/null +++ b/docs/5.x/data/msk_vpc_connection.md @@ -0,0 +1,111 @@ +--- +permalink: /data/msk_vpc_connection/ +--- + +# data.msk_vpc_connection + +`msk_vpc_connection` represents the `aws_msk_vpc_connection` 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 withArn()`](#fn-witharn) +* [`fn withTags()`](#fn-withtags) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.data.msk_vpc_connection.new` injects a new `data_aws_msk_vpc_connection` 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_vpc_connection.new('some_id') + +You can get the reference to the `id` field of the created `aws.data.msk_vpc_connection` using the reference: + + $._ref.data_aws_msk_vpc_connection.some_id.get('id') + +This is the same as directly entering `"${ data_aws_msk_vpc_connection.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. + - `arn` (`string`): Set the `arn` field on the resulting data source block. + - `tags` (`obj`): Set the `tags` field on the resulting data source block. When `null`, the `tags` 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.msk_vpc_connection.newAttrs` constructs a new object with attributes and blocks configured for the `msk_vpc_connection` +Terraform data source. + +Unlike [aws.data.msk_vpc_connection.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**: + - `arn` (`string`): Set the `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. + +**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_vpc_connection` data source into the root Terraform configuration. + + +### fn withArn + +```ts +withArn() +``` + +`aws.string.withArn` constructs a mixin object that can be merged into the `string` +Terraform data source block to set or update the arn field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `arn` field. + + +### fn withTags + +```ts +withTags() +``` + +`aws.obj.withTags` constructs a mixin object that can be merged into the `obj` +Terraform data source block to set or update the tags field. + + + +**Args**: + - `dataSrcLabel` (`string`): The name label of the block to update. + - `value` (`obj`): The value to set for the `tags` field. diff --git a/docs/5.x/fms_admin_account.md b/docs/5.x/fms_admin_account.md index e18f0bec..b32a0c39 100644 --- a/docs/5.x/fms_admin_account.md +++ b/docs/5.x/fms_admin_account.md @@ -16,6 +16,10 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-new) * [`fn newAttrs()`](#fn-newattrs) * [`fn withAccountId()`](#fn-withaccountid) +* [`fn withTimeouts()`](#fn-withtimeouts) +* [`fn withTimeoutsMixin()`](#fn-withtimeoutsmixin) +* [`obj timeouts`](#obj-timeouts) + * [`fn new()`](#fn-timeoutsnew) ## Fields @@ -47,6 +51,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using **Args**: - `resourceLabel` (`string`): The name label of the block. - `account_id` (`string`): Set the `account_id` field on the resulting resource block. When `null`, the `account_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.fms_admin_account.timeouts.new](#fn-timeoutsnew) constructor. **Returns**: - A mixin object that injects the new resource into the root Terraform configuration. @@ -71,6 +76,7 @@ injecting into a complete block. **Args**: - `account_id` (`string`): Set the `account_id` field on the resulting object. When `null`, the `account_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.fms_admin_account.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 `fms_admin_account` resource into the root Terraform configuration. @@ -90,3 +96,63 @@ Terraform resource block to set or update the account_id field. **Args**: - `resourceLabel` (`string`): The name label of the block to update. - `value` (`string`): The value to set for the `account_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.fms_admin_account.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. + +**Returns**: + - An attribute object that represents the `timeouts` sub block. diff --git a/docs/5.x/glue_crawler.md b/docs/5.x/glue_crawler.md index 07a2e6ec..4955194f 100644 --- a/docs/5.x/glue_crawler.md +++ b/docs/5.x/glue_crawler.md @@ -25,6 +25,8 @@ This package contains functions and utilities for setting up the resource using * [`fn withDescription()`](#fn-withdescription) * [`fn withDynamodbTarget()`](#fn-withdynamodbtarget) * [`fn withDynamodbTargetMixin()`](#fn-withdynamodbtargetmixin) +* [`fn withHudiTarget()`](#fn-withhuditarget) +* [`fn withHudiTargetMixin()`](#fn-withhuditargetmixin) * [`fn withIcebergTarget()`](#fn-withicebergtarget) * [`fn withIcebergTargetMixin()`](#fn-withicebergtargetmixin) * [`fn withJdbcTarget()`](#fn-withjdbctarget) @@ -54,6 +56,8 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-delta_targetnew) * [`obj dynamodb_target`](#obj-dynamodb_target) * [`fn new()`](#fn-dynamodb_targetnew) +* [`obj hudi_target`](#obj-hudi_target) + * [`fn new()`](#fn-hudi_targetnew) * [`obj iceberg_target`](#obj-iceberg_target) * [`fn new()`](#fn-iceberg_targetnew) * [`obj jdbc_target`](#obj-jdbc_target) @@ -114,6 +118,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `catalog_target` (`list[obj]`): Set the `catalog_target` field on the resulting resource block. When `null`, the `catalog_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.catalog_target.new](#fn-catalog_targetnew) constructor. - `delta_target` (`list[obj]`): Set the `delta_target` field on the resulting resource block. When `null`, the `delta_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.delta_target.new](#fn-delta_targetnew) constructor. - `dynamodb_target` (`list[obj]`): Set the `dynamodb_target` field on the resulting resource block. When `null`, the `dynamodb_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.dynamodb_target.new](#fn-dynamodb_targetnew) constructor. + - `hudi_target` (`list[obj]`): Set the `hudi_target` field on the resulting resource block. When `null`, the `hudi_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.hudi_target.new](#fn-hudi_targetnew) constructor. - `iceberg_target` (`list[obj]`): Set the `iceberg_target` field on the resulting resource block. When `null`, the `iceberg_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.iceberg_target.new](#fn-iceberg_targetnew) constructor. - `jdbc_target` (`list[obj]`): Set the `jdbc_target` field on the resulting resource block. When `null`, the `jdbc_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.jdbc_target.new](#fn-jdbc_targetnew) constructor. - `lake_formation_configuration` (`list[obj]`): Set the `lake_formation_configuration` field on the resulting resource block. When `null`, the `lake_formation_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.glue_crawler.lake_formation_configuration.new](#fn-lake_formation_configurationnew) constructor. @@ -159,6 +164,7 @@ injecting into a complete block. - `catalog_target` (`list[obj]`): Set the `catalog_target` field on the resulting object. When `null`, the `catalog_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.catalog_target.new](#fn-catalog_targetnew) constructor. - `delta_target` (`list[obj]`): Set the `delta_target` field on the resulting object. When `null`, the `delta_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.delta_target.new](#fn-delta_targetnew) constructor. - `dynamodb_target` (`list[obj]`): Set the `dynamodb_target` field on the resulting object. When `null`, the `dynamodb_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.dynamodb_target.new](#fn-dynamodb_targetnew) constructor. + - `hudi_target` (`list[obj]`): Set the `hudi_target` field on the resulting object. When `null`, the `hudi_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.hudi_target.new](#fn-hudi_targetnew) constructor. - `iceberg_target` (`list[obj]`): Set the `iceberg_target` field on the resulting object. When `null`, the `iceberg_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.iceberg_target.new](#fn-iceberg_targetnew) constructor. - `jdbc_target` (`list[obj]`): Set the `jdbc_target` field on the resulting object. When `null`, the `jdbc_target` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.glue_crawler.jdbc_target.new](#fn-jdbc_targetnew) constructor. - `lake_formation_configuration` (`list[obj]`): Set the `lake_formation_configuration` field on the resulting object. When `null`, the `lake_formation_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.glue_crawler.lake_formation_configuration.new](#fn-lake_formation_configurationnew) constructor. @@ -347,6 +353,43 @@ function. - `value` (`list[obj]`): The value to set for the `dynamodb_target` field. +### fn withHudiTarget + +```ts +withHudiTarget() +``` + +`aws.list[obj].withHudiTarget` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the hudi_target 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].withHudiTargetMixin](TODO) function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `hudi_target` field. + + +### fn withHudiTargetMixin + +```ts +withHudiTargetMixin() +``` + +`aws.list[obj].withHudiTargetMixin` constructs a mixin object that can be merged into the `list[obj]` +Terraform resource block to set or update the hudi_target 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].withHudiTarget](TODO) +function. + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list[obj]`): The value to set for the `hudi_target` field. + + ### fn withIcebergTarget ```ts @@ -833,6 +876,32 @@ Terraform sub block. - An attribute object that represents the `dynamodb_target` sub block. +## obj hudi_target + + + +### fn hudi_target.new + +```ts +new() +``` + + +`aws.glue_crawler.hudi_target.new` constructs a new object with attributes and blocks configured for the `hudi_target` +Terraform sub block. + + + +**Args**: + - `connection_name` (`string`): Set the `connection_name` field on the resulting object. When `null`, the `connection_name` field will be omitted from the resulting object. + - `exclusions` (`list`): Set the `exclusions` field on the resulting object. When `null`, the `exclusions` field will be omitted from the resulting object. + - `maximum_traversal_depth` (`number`): Set the `maximum_traversal_depth` field on the resulting object. + - `paths` (`list`): Set the `paths` field on the resulting object. + +**Returns**: + - An attribute object that represents the `hudi_target` sub block. + + ## obj iceberg_target diff --git a/docs/5.x/instance.md b/docs/5.x/instance.md index 85cac157..710a41ec 100644 --- a/docs/5.x/instance.md +++ b/docs/5.x/instance.md @@ -1615,6 +1615,7 @@ Terraform sub block. **Args**: - `http_endpoint` (`string`): Set the `http_endpoint` field on the resulting object. When `null`, the `http_endpoint` field will be omitted from the resulting object. + - `http_protocol_ipv6` (`string`): Set the `http_protocol_ipv6` field on the resulting object. When `null`, the `http_protocol_ipv6` field will be omitted from the resulting object. - `http_put_response_hop_limit` (`number`): Set the `http_put_response_hop_limit` field on the resulting object. When `null`, the `http_put_response_hop_limit` field will be omitted from the resulting object. - `http_tokens` (`string`): Set the `http_tokens` field on the resulting object. When `null`, the `http_tokens` field will be omitted from the resulting object. - `instance_metadata_tags` (`string`): Set the `instance_metadata_tags` field on the resulting object. When `null`, the `instance_metadata_tags` field will be omitted from the resulting object. diff --git a/docs/5.x/msk_cluster.md b/docs/5.x/msk_cluster.md index 86fb4726..4d375362 100644 --- a/docs/5.x/msk_cluster.md +++ b/docs/5.x/msk_cluster.md @@ -42,6 +42,12 @@ This package contains functions and utilities for setting up the resource using * [`fn new()`](#fn-broker_node_group_infoconnectivity_infonew) * [`obj broker_node_group_info.connectivity_info.public_access`](#obj-broker_node_group_infoconnectivity_infopublic_access) * [`fn new()`](#fn-broker_node_group_infoconnectivity_infopublic_accessnew) + * [`obj broker_node_group_info.connectivity_info.vpc_connectivity`](#obj-broker_node_group_infoconnectivity_infovpc_connectivity) + * [`fn new()`](#fn-broker_node_group_infoconnectivity_infovpc_connectivitynew) + * [`obj broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication`](#obj-broker_node_group_infoconnectivity_infovpc_connectivityclient_authentication) + * [`fn new()`](#fn-broker_node_group_infoconnectivity_infovpc_connectivityclient_authenticationnew) + * [`obj broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl`](#obj-broker_node_group_infoconnectivity_infovpc_connectivityclient_authenticationsasl) + * [`fn new()`](#fn-broker_node_group_infoconnectivity_infovpc_connectivityclient_authenticationsaslnew) * [`obj broker_node_group_info.storage_info`](#obj-broker_node_group_infostorage_info) * [`fn new()`](#fn-broker_node_group_infostorage_infonew) * [`obj broker_node_group_info.storage_info.ebs_storage_info`](#obj-broker_node_group_infostorage_infoebs_storage_info) @@ -582,6 +588,7 @@ Terraform sub block. **Args**: - `public_access` (`list[obj]`): Set the `public_access` field on the resulting object. When `null`, the `public_access` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.msk_cluster.broker_node_group_info.connectivity_info.public_access.new](#fn-broker_node_group_infobroker_node_group_infopublic_accessnew) constructor. + - `vpc_connectivity` (`list[obj]`): Set the `vpc_connectivity` field on the resulting object. When `null`, the `vpc_connectivity` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.msk_cluster.broker_node_group_info.connectivity_info.vpc_connectivity.new](#fn-broker_node_group_infobroker_node_group_infovpc_connectivitynew) constructor. **Returns**: - An attribute object that represents the `connectivity_info` sub block. @@ -610,6 +617,77 @@ Terraform sub block. - An attribute object that represents the `public_access` sub block. +## obj broker_node_group_info.connectivity_info.vpc_connectivity + + + +### fn broker_node_group_info.connectivity_info.vpc_connectivity.new + +```ts +new() +``` + + +`aws.msk_cluster.broker_node_group_info.connectivity_info.vpc_connectivity.new` constructs a new object with attributes and blocks configured for the `vpc_connectivity` +Terraform sub block. + + + +**Args**: + - `client_authentication` (`list[obj]`): Set the `client_authentication` field on the resulting object. When `null`, the `client_authentication` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.msk_cluster.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.new](#fn-broker_node_group_infobroker_node_group_infoconnectivity_infoclient_authenticationnew) constructor. + +**Returns**: + - An attribute object that represents the `vpc_connectivity` sub block. + + +## obj broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication + + + +### fn broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.new + +```ts +new() +``` + + +`aws.msk_cluster.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.new` constructs a new object with attributes and blocks configured for the `client_authentication` +Terraform sub block. + + + +**Args**: + - `tls` (`bool`): Set the `tls` field on the resulting object. When `null`, the `tls` field will be omitted from the resulting object. + - `sasl` (`list[obj]`): Set the `sasl` field on the resulting object. When `null`, the `sasl` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.msk_cluster.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.new](#fn-broker_node_group_infobroker_node_group_infoconnectivity_infovpc_connectivitysaslnew) constructor. + +**Returns**: + - An attribute object that represents the `client_authentication` sub block. + + +## obj broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl + + + +### fn broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.new + +```ts +new() +``` + + +`aws.msk_cluster.broker_node_group_info.connectivity_info.vpc_connectivity.client_authentication.sasl.new` constructs a new object with attributes and blocks configured for the `sasl` +Terraform sub block. + + + +**Args**: + - `iam` (`bool`): Set the `iam` field on the resulting object. When `null`, the `iam` field will be omitted from the resulting object. + - `scram` (`bool`): Set the `scram` field on the resulting object. When `null`, the `scram` field will be omitted from the resulting object. + +**Returns**: + - An attribute object that represents the `sasl` sub block. + + ## obj broker_node_group_info.storage_info diff --git a/docs/5.x/msk_vpc_connection.md b/docs/5.x/msk_vpc_connection.md new file mode 100644 index 00000000..eb4d91c0 --- /dev/null +++ b/docs/5.x/msk_vpc_connection.md @@ -0,0 +1,206 @@ +--- +permalink: /msk_vpc_connection/ +--- + +# msk_vpc_connection + +`msk_vpc_connection` represents the `aws_msk_vpc_connection` 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 withAuthentication()`](#fn-withauthentication) +* [`fn withClientSubnets()`](#fn-withclientsubnets) +* [`fn withSecurityGroups()`](#fn-withsecuritygroups) +* [`fn withTags()`](#fn-withtags) +* [`fn withTagsAll()`](#fn-withtagsall) +* [`fn withTargetClusterArn()`](#fn-withtargetclusterarn) +* [`fn withVpcId()`](#fn-withvpcid) + +## Fields + +### fn new + +```ts +new() +``` + + +`aws.msk_vpc_connection.new` injects a new `aws_msk_vpc_connection` 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.msk_vpc_connection.new('some_id') + +You can get the reference to the `id` field of the created `aws.msk_vpc_connection` using the reference: + + $._ref.aws_msk_vpc_connection.some_id.get('id') + +This is the same as directly entering `"${ aws_msk_vpc_connection.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. + - `authentication` (`string`): Set the `authentication` field on the resulting resource block. + - `client_subnets` (`list`): Set the `client_subnets` field on the resulting resource block. + - `security_groups` (`list`): Set the `security_groups` 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. + - `target_cluster_arn` (`string`): Set the `target_cluster_arn` field on the resulting resource block. + - `vpc_id` (`string`): Set the `vpc_id` 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.msk_vpc_connection.newAttrs` constructs a new object with attributes and blocks configured for the `msk_vpc_connection` +Terraform resource. + +Unlike [aws.msk_vpc_connection.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**: + - `authentication` (`string`): Set the `authentication` field on the resulting object. + - `client_subnets` (`list`): Set the `client_subnets` field on the resulting object. + - `security_groups` (`list`): Set the `security_groups` 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. + - `target_cluster_arn` (`string`): Set the `target_cluster_arn` field on the resulting object. + - `vpc_id` (`string`): Set the `vpc_id` 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 `msk_vpc_connection` resource into the root Terraform configuration. + + +### fn withAuthentication + +```ts +withAuthentication() +``` + +`aws.string.withAuthentication` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the authentication field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `authentication` field. + + +### fn withClientSubnets + +```ts +withClientSubnets() +``` + +`aws.list.withClientSubnets` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the client_subnets field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `client_subnets` field. + + +### fn withSecurityGroups + +```ts +withSecurityGroups() +``` + +`aws.list.withSecurityGroups` constructs a mixin object that can be merged into the `list` +Terraform resource block to set or update the security_groups field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`list`): The value to set for the `security_groups` 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 withTargetClusterArn + +```ts +withTargetClusterArn() +``` + +`aws.string.withTargetClusterArn` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the target_cluster_arn field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `target_cluster_arn` field. + + +### fn withVpcId + +```ts +withVpcId() +``` + +`aws.string.withVpcId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the vpc_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `vpc_id` field. diff --git a/docs/5.x/provider.md b/docs/5.x/provider.md index 6d6bcf7a..c73fbce5 100644 --- a/docs/5.x/provider.md +++ b/docs/5.x/provider.md @@ -311,6 +311,7 @@ Terraform sub block. - `cloudwatchrum` (`string`): Use this to override the default service endpoint URL When `null`, the `cloudwatchrum` field will be omitted from the resulting object. - `codeartifact` (`string`): Use this to override the default service endpoint URL When `null`, the `codeartifact` field will be omitted from the resulting object. - `codebuild` (`string`): Use this to override the default service endpoint URL When `null`, the `codebuild` field will be omitted from the resulting object. + - `codecatalyst` (`string`): Use this to override the default service endpoint URL When `null`, the `codecatalyst` field will be omitted from the resulting object. - `codecommit` (`string`): Use this to override the default service endpoint URL When `null`, the `codecommit` field will be omitted from the resulting object. - `codedeploy` (`string`): Use this to override the default service endpoint URL When `null`, the `codedeploy` field will be omitted from the resulting object. - `codegurureviewer` (`string`): Use this to override the default service endpoint URL When `null`, the `codegurureviewer` field will be omitted from the resulting object. diff --git a/docs/5.x/rds_cluster.md b/docs/5.x/rds_cluster.md index 36602c3c..bace62fc 100644 --- a/docs/5.x/rds_cluster.md +++ b/docs/5.x/rds_cluster.md @@ -30,6 +30,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withDbClusterParameterGroupName()`](#fn-withdbclusterparametergroupname) * [`fn withDbInstanceParameterGroupName()`](#fn-withdbinstanceparametergroupname) * [`fn withDbSubnetGroupName()`](#fn-withdbsubnetgroupname) +* [`fn withDbSystemId()`](#fn-withdbsystemid) * [`fn withDeletionProtection()`](#fn-withdeletionprotection) * [`fn withEnableGlobalWriteForwarding()`](#fn-withenableglobalwriteforwarding) * [`fn withEnableHttpEndpoint()`](#fn-withenablehttpendpoint) @@ -125,6 +126,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `db_cluster_parameter_group_name` (`string`): Set the `db_cluster_parameter_group_name` field on the resulting resource block. When `null`, the `db_cluster_parameter_group_name` field will be omitted from the resulting object. - `db_instance_parameter_group_name` (`string`): Set the `db_instance_parameter_group_name` field on the resulting resource block. When `null`, the `db_instance_parameter_group_name` field will be omitted from the resulting object. - `db_subnet_group_name` (`string`): Set the `db_subnet_group_name` field on the resulting resource block. When `null`, the `db_subnet_group_name` field will be omitted from the resulting object. + - `db_system_id` (`string`): Set the `db_system_id` field on the resulting resource block. When `null`, the `db_system_id` field will be omitted from the resulting object. - `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. - `enable_global_write_forwarding` (`bool`): Set the `enable_global_write_forwarding` field on the resulting resource block. When `null`, the `enable_global_write_forwarding` field will be omitted from the resulting object. - `enable_http_endpoint` (`bool`): Set the `enable_http_endpoint` field on the resulting resource block. When `null`, the `enable_http_endpoint` field will be omitted from the resulting object. @@ -198,6 +200,7 @@ injecting into a complete block. - `db_cluster_parameter_group_name` (`string`): Set the `db_cluster_parameter_group_name` field on the resulting object. When `null`, the `db_cluster_parameter_group_name` field will be omitted from the resulting object. - `db_instance_parameter_group_name` (`string`): Set the `db_instance_parameter_group_name` field on the resulting object. When `null`, the `db_instance_parameter_group_name` field will be omitted from the resulting object. - `db_subnet_group_name` (`string`): Set the `db_subnet_group_name` field on the resulting object. When `null`, the `db_subnet_group_name` field will be omitted from the resulting object. + - `db_system_id` (`string`): Set the `db_system_id` field on the resulting object. When `null`, the `db_system_id` field will be omitted from the resulting object. - `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. - `enable_global_write_forwarding` (`bool`): Set the `enable_global_write_forwarding` field on the resulting object. When `null`, the `enable_global_write_forwarding` field will be omitted from the resulting object. - `enable_http_endpoint` (`bool`): Set the `enable_http_endpoint` field on the resulting object. When `null`, the `enable_http_endpoint` field will be omitted from the resulting object. @@ -478,6 +481,22 @@ Terraform resource block to set or update the db_subnet_group_name field. - `value` (`string`): The value to set for the `db_subnet_group_name` field. +### fn withDbSystemId + +```ts +withDbSystemId() +``` + +`aws.string.withDbSystemId` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the db_system_id field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `db_system_id` field. + + ### fn withDeletionProtection ```ts diff --git a/docs/5.x/rds_cluster_instance.md b/docs/5.x/rds_cluster_instance.md index c2171088..7b9d3bc0 100644 --- a/docs/5.x/rds_cluster_instance.md +++ b/docs/5.x/rds_cluster_instance.md @@ -21,6 +21,7 @@ This package contains functions and utilities for setting up the resource using * [`fn withCaCertIdentifier()`](#fn-withcacertidentifier) * [`fn withClusterIdentifier()`](#fn-withclusteridentifier) * [`fn withCopyTagsToSnapshot()`](#fn-withcopytagstosnapshot) +* [`fn withCustomIamInstanceProfile()`](#fn-withcustomiaminstanceprofile) * [`fn withDbParameterGroupName()`](#fn-withdbparametergroupname) * [`fn withDbSubnetGroupName()`](#fn-withdbsubnetgroupname) * [`fn withEngine()`](#fn-withengine) @@ -79,6 +80,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using - `ca_cert_identifier` (`string`): Set the `ca_cert_identifier` field on the resulting resource block. When `null`, the `ca_cert_identifier` field will be omitted from the resulting object. - `cluster_identifier` (`string`): Set the `cluster_identifier` field on the resulting resource block. - `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. + - `custom_iam_instance_profile` (`string`): Set the `custom_iam_instance_profile` field on the resulting resource block. When `null`, the `custom_iam_instance_profile` field will be omitted from the resulting object. - `db_parameter_group_name` (`string`): Set the `db_parameter_group_name` field on the resulting resource block. When `null`, the `db_parameter_group_name` field will be omitted from the resulting object. - `db_subnet_group_name` (`string`): Set the `db_subnet_group_name` field on the resulting resource block. When `null`, the `db_subnet_group_name` field will be omitted from the resulting object. - `engine` (`string`): Set the `engine` field on the resulting resource block. @@ -127,6 +129,7 @@ injecting into a complete block. - `ca_cert_identifier` (`string`): Set the `ca_cert_identifier` field on the resulting object. When `null`, the `ca_cert_identifier` field will be omitted from the resulting object. - `cluster_identifier` (`string`): Set the `cluster_identifier` field on the resulting object. - `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. + - `custom_iam_instance_profile` (`string`): Set the `custom_iam_instance_profile` field on the resulting object. When `null`, the `custom_iam_instance_profile` field will be omitted from the resulting object. - `db_parameter_group_name` (`string`): Set the `db_parameter_group_name` field on the resulting object. When `null`, the `db_parameter_group_name` field will be omitted from the resulting object. - `db_subnet_group_name` (`string`): Set the `db_subnet_group_name` field on the resulting object. When `null`, the `db_subnet_group_name` field will be omitted from the resulting object. - `engine` (`string`): Set the `engine` field on the resulting object. @@ -247,6 +250,22 @@ Terraform resource block to set or update the copy_tags_to_snapshot field. - `value` (`bool`): The value to set for the `copy_tags_to_snapshot` field. +### fn withCustomIamInstanceProfile + +```ts +withCustomIamInstanceProfile() +``` + +`aws.string.withCustomIamInstanceProfile` constructs a mixin object that can be merged into the `string` +Terraform resource block to set or update the custom_iam_instance_profile field. + + + +**Args**: + - `resourceLabel` (`string`): The name label of the block to update. + - `value` (`string`): The value to set for the `custom_iam_instance_profile` field. + + ### fn withDbParameterGroupName ```ts diff --git a/docs/5.x/spot_instance_request.md b/docs/5.x/spot_instance_request.md index 67a6b8bd..a3a77ae1 100644 --- a/docs/5.x/spot_instance_request.md +++ b/docs/5.x/spot_instance_request.md @@ -1672,6 +1672,7 @@ Terraform sub block. **Args**: - `http_endpoint` (`string`): Set the `http_endpoint` field on the resulting object. When `null`, the `http_endpoint` field will be omitted from the resulting object. + - `http_protocol_ipv6` (`string`): Set the `http_protocol_ipv6` field on the resulting object. When `null`, the `http_protocol_ipv6` field will be omitted from the resulting object. - `http_put_response_hop_limit` (`number`): Set the `http_put_response_hop_limit` field on the resulting object. When `null`, the `http_put_response_hop_limit` field will be omitted from the resulting object. - `http_tokens` (`string`): Set the `http_tokens` field on the resulting object. When `null`, the `http_tokens` field will be omitted from the resulting object. - `instance_metadata_tags` (`string`): Set the `instance_metadata_tags` field on the resulting object. When `null`, the `instance_metadata_tags` field will be omitted from the resulting object.