diff --git a/website/docs/cdktf/python/d/ssm_patch_baselines.html.markdown b/website/docs/cdktf/python/d/ssm_patch_baselines.html.markdown new file mode 100644 index 00000000000..88d4c203946 --- /dev/null +++ b/website/docs/cdktf/python/d/ssm_patch_baselines.html.markdown @@ -0,0 +1,86 @@ +--- +subcategory: "SSM (Systems Manager)" +layout: "aws" +page_title: "AWS: aws_ssm_patch_baselines" +description: |- + Terraform data source for retrieving AWS SSM (Systems Manager) Patch Baselines. +--- + + + +# Data Source: aws_ssm_patch_baselines + +Terraform data source for retrieving AWS SSM (Systems Manager) Patch Baselines. + +## Example Usage + +### Basic Usage + +```python +# DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug +from constructs import Construct +from cdktf import TerraformStack +# +# Provider bindings are generated by running `cdktf get`. +# See https://cdk.tf/provider-generation for more details. +# +from imports.aws. import DataAwsSsmPatchBaselines +class MyConvertedCode(TerraformStack): + def __init__(self, scope, name): + super().__init__(scope, name) + DataAwsSsmPatchBaselines(self, "example") +``` + +### With Filters + +```python +# DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug +from constructs import Construct +from cdktf import TerraformStack +# +# Provider bindings are generated by running `cdktf get`. +# See https://cdk.tf/provider-generation for more details. +# +from imports.aws. import DataAwsSsmPatchBaselines +class MyConvertedCode(TerraformStack): + def __init__(self, scope, name): + super().__init__(scope, name) + DataAwsSsmPatchBaselines(self, "example", + filter=[{ + "key": "OWNER", + "values": ["AWS"] + }, { + "key": "OPERATING_SYSTEM", + "values": ["WINDOWS"] + } + ] + ) +``` + +## Argument Reference + +The following arguments are optional: + +* `filter` - (Optional) Key-value pairs used to filter the results. See [`filter`](#filter-argument-reference) below. +* `default_baselines` - (Optional) Only return baseline identities where `default_baseline` is `true`. + +### `filter` Argument Reference + +* `key` - (Required) Filter key. See the [AWS SSM documentation](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchBaselines.html) for valid values. +* `values` - (Required) Filter values. See the [AWS SSM documentation](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchBaselines.html) for example values. + +## Attribute Reference + +This data source exports the following attributes in addition to the arguments above: + +* `baseline_identities` - List of baseline identities. See [`baseline_identities`](#baseline_identities-attribute-reference) below. + +### `baseline_identities` Attribute Reference + +* `baseline_description` - Description of the patch baseline. +* `baseline_id` - ID of the patch baseline. +* `baseline_name` - Name of the patch baseline. +* `default_baseline` - Indicates whether this is the default baseline. AWS Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system. +* `operating_system` - Operating system the patch baseline applies to. + + \ No newline at end of file diff --git a/website/docs/cdktf/python/r/sagemaker_space.html.markdown b/website/docs/cdktf/python/r/sagemaker_space.html.markdown index 404140b9bf0..f61f5f54e40 100644 --- a/website/docs/cdktf/python/r/sagemaker_space.html.markdown +++ b/website/docs/cdktf/python/r/sagemaker_space.html.markdown @@ -74,6 +74,8 @@ The `space_sharing_settings` block supports the following argument: The `code_editor_app_settings` block supports the following argument: +* `app_lifecycle_management` - (Optional) Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space. See [`app_lifecycle_management` Block](#app_lifecycle_management-block) below. +* `code_repository` - (Optional) A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. See [`code_repository` Block](#code_repository-block) below. * `default_resource_spec` - (Required) The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. See [`default_resource_spec` Block](#default_resource_spec-block) below. ### `custom_file_system` Block @@ -86,6 +88,7 @@ The `custom_file_system` block supports the following argument: The `jupyter_lab_app_settings` block supports the following arguments: +* `app_lifecycle_management` - (Optional) Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space. See [`app_lifecycle_management` Block](#app_lifecycle_management-block) below. * `code_repository` - (Optional) A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. See [`code_repository` Block](#code_repository-block) below. * `default_resource_spec` - (Required) The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. See [`default_resource_spec` Block](#default_resource_spec-block) below. @@ -147,6 +150,18 @@ The `ebs_storage_settings` block supports the following argument: * `ebs_volume_size_in_gb` - (Required) The size of an EBS storage volume for a space. +### `app_lifecycle_management` Block + +The `app_lifecycle_management` block supports the following argument: + +* `idle_settings` - (Optional) Settings related to idle shutdown of Studio applications. See [`idle_settings` Block](#idle_settings-block) below. + +### `idle_settings` Block + +The `idle_settings` block supports the following argument: + +* `idle_timeout_in_minutes` - (Optional) The time that SageMaker waits after the application becomes idle before shutting it down. Valid values are between `60` and `525600`. + ## Attribute Reference This resource exports the following attributes in addition to the arguments above: @@ -182,4 +197,4 @@ Using `terraform import`, import SageMaker Spaces using the `id`. For example: % terraform import aws_sagemaker_space.test_space arn:aws:sagemaker:us-west-2:123456789012:space/domain-id/space-name ``` - \ No newline at end of file + \ No newline at end of file diff --git a/website/docs/cdktf/typescript/d/ssm_patch_baselines.html.markdown b/website/docs/cdktf/typescript/d/ssm_patch_baselines.html.markdown new file mode 100644 index 00000000000..d311aafed47 --- /dev/null +++ b/website/docs/cdktf/typescript/d/ssm_patch_baselines.html.markdown @@ -0,0 +1,94 @@ +--- +subcategory: "SSM (Systems Manager)" +layout: "aws" +page_title: "AWS: aws_ssm_patch_baselines" +description: |- + Terraform data source for retrieving AWS SSM (Systems Manager) Patch Baselines. +--- + + + +# Data Source: aws_ssm_patch_baselines + +Terraform data source for retrieving AWS SSM (Systems Manager) Patch Baselines. + +## Example Usage + +### Basic Usage + +```typescript +// DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug +import { Construct } from "constructs"; +import { TerraformStack } from "cdktf"; +/* + * Provider bindings are generated by running `cdktf get`. + * See https://cdk.tf/provider-generation for more details. + */ +import { DataAwsSsmPatchBaselines } from "./.gen/providers/aws/"; +class MyConvertedCode extends TerraformStack { + constructor(scope: Construct, name: string) { + super(scope, name); + new DataAwsSsmPatchBaselines(this, "example", {}); + } +} + +``` + +### With Filters + +```typescript +// DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug +import { Construct } from "constructs"; +import { TerraformStack } from "cdktf"; +/* + * Provider bindings are generated by running `cdktf get`. + * See https://cdk.tf/provider-generation for more details. + */ +import { DataAwsSsmPatchBaselines } from "./.gen/providers/aws/"; +class MyConvertedCode extends TerraformStack { + constructor(scope: Construct, name: string) { + super(scope, name); + new DataAwsSsmPatchBaselines(this, "example", { + filter: [ + { + key: "OWNER", + values: ["AWS"], + }, + { + key: "OPERATING_SYSTEM", + values: ["WINDOWS"], + }, + ], + }); + } +} + +``` + +## Argument Reference + +The following arguments are optional: + +* `filter` - (Optional) Key-value pairs used to filter the results. See [`filter`](#filter-argument-reference) below. +* `default_baselines` - (Optional) Only return baseline identities where `defaultBaseline` is `true`. + +### `filter` Argument Reference + +* `key` - (Required) Filter key. See the [AWS SSM documentation](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchBaselines.html) for valid values. +* `values` - (Required) Filter values. See the [AWS SSM documentation](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribePatchBaselines.html) for example values. + +## Attribute Reference + +This data source exports the following attributes in addition to the arguments above: + +* `baseline_identities` - List of baseline identities. See [`baseline_identities`](#baseline_identities-attribute-reference) below. + +### `baseline_identities` Attribute Reference + +* `baseline_description` - Description of the patch baseline. +* `baselineId` - ID of the patch baseline. +* `baseline_name` - Name of the patch baseline. +* `defaultBaseline` - Indicates whether this is the default baseline. AWS Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system. +* `operatingSystem` - Operating system the patch baseline applies to. + + \ No newline at end of file diff --git a/website/docs/cdktf/typescript/r/sagemaker_space.html.markdown b/website/docs/cdktf/typescript/r/sagemaker_space.html.markdown index c264a523730..47473c895a3 100644 --- a/website/docs/cdktf/typescript/r/sagemaker_space.html.markdown +++ b/website/docs/cdktf/typescript/r/sagemaker_space.html.markdown @@ -77,6 +77,8 @@ The `spaceSharingSettings` block supports the following argument: The `codeEditorAppSettings` block supports the following argument: +* `app_lifecycle_management` - (Optional) Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space. See [`app_lifecycle_management` Block](#app_lifecycle_management-block) below. +* `codeRepository` - (Optional) A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. See [`codeRepository` Block](#code_repository-block) below. * `defaultResourceSpec` - (Required) The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. See [`defaultResourceSpec` Block](#default_resource_spec-block) below. ### `customFileSystem` Block @@ -89,6 +91,7 @@ The `customFileSystem` block supports the following argument: The `jupyterLabAppSettings` block supports the following arguments: +* `app_lifecycle_management` - (Optional) Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space. See [`app_lifecycle_management` Block](#app_lifecycle_management-block) below. * `codeRepository` - (Optional) A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. See [`codeRepository` Block](#code_repository-block) below. * `defaultResourceSpec` - (Required) The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. See [`defaultResourceSpec` Block](#default_resource_spec-block) below. @@ -150,6 +153,18 @@ The `ebsStorageSettings` block supports the following argument: * `ebsVolumeSizeInGb` - (Required) The size of an EBS storage volume for a space. +### `app_lifecycle_management` Block + +The `app_lifecycle_management` block supports the following argument: + +* `idle_settings` - (Optional) Settings related to idle shutdown of Studio applications. See [`idle_settings` Block](#idle_settings-block) below. + +### `idle_settings` Block + +The `idle_settings` block supports the following argument: + +* `idle_timeout_in_minutes` - (Optional) The time that SageMaker waits after the application becomes idle before shutting it down. Valid values are between `60` and `525600`. + ## Attribute Reference This resource exports the following attributes in addition to the arguments above: @@ -192,4 +207,4 @@ Using `terraform import`, import SageMaker Spaces using the `id`. For example: % terraform import aws_sagemaker_space.test_space arn:aws:sagemaker:us-west-2:123456789012:space/domain-id/space-name ``` - \ No newline at end of file + \ No newline at end of file