Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 79 additions & 2 deletions docs/resources/bedrock_data_automation_project.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_bedrock_data_automation_project Resource - terraform-provider-awscc"
subcategory: ""
description: |-
Expand All @@ -10,7 +9,85 @@ description: |-

Definition of AWS::Bedrock::DataAutomationProject Resource Type

## Example Usage

### Standard output
Create a Bedrock Data Automation project with standard output using the document modality
```terraform
resource "awscc_bedrock_data_automation_project" "example" {
project_name = "example-project"
project_description = "example-description"
standard_output_configuration = {
document = {
extraction = {
granularity = {
types = ["DOCUMENT"]
}
bounding_box = {
state = "ENABLED"
}
}
generative_field = {
state = "DISABLED"
}
output_format = {
text_format = {
types = ["PLAIN_TEXT"]
}
additional_file_format = {
state = "DISABLED"
}
}
}
}
override_configuration = {
document = {
splitter = {
state = "ENABLED"
}
}
}
}
```

### Custom output
Create a Bedrock Data Automation project with custom output using the document modality
```terraform
resource "awscc_bedrock_data_automation_project" "example" {
project_name = "example-project"
project_description = "example-description"
standard_output_configuration = {
document = {
output_format = {
text_format = {
types = ["PLAIN_TEXT"]
}
additional_file_format = {
state = "DISABLED"
}
}
}
}
custom_output_configuration = {
blueprints = [
{
blueprint_arn = awscc_bedrock_blueprint.example.blueprint_arn
}
]
}
override_configuration = {
document = {
splitter = {
state = "ENABLED"
}
}

tags = [{
key = "ModifiedBy"
value = "AWSCC"
}]
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down Expand Up @@ -296,4 +373,4 @@ Import is supported using the following syntax:

```shell
$ terraform import awscc_bedrock_data_automation_project.example "project_arn"
```
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
resource "awscc_bedrock_data_automation_project" "example" {
project_name = "example-project"
project_description = "example-description"
standard_output_configuration = {
document = {
output_format = {
text_format = {
types = ["PLAIN_TEXT"]
}
additional_file_format = {
state = "DISABLED"
}
}
}
}
custom_output_configuration = {
blueprints = [
{
blueprint_arn = awscc_bedrock_blueprint.example.blueprint_arn
}
]
}
override_configuration = {
document = {
splitter = {
state = "ENABLED"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
resource "awscc_bedrock_data_automation_project" "example" {
project_name = "example-project"
project_description = "example-description"
standard_output_configuration = {
document = {
extraction = {
granularity = {
types = ["DOCUMENT"]
}
bounding_box = {
state = "ENABLED"
}
}
generative_field = {
state = "DISABLED"
}
output_format = {
text_format = {
types = ["PLAIN_TEXT"]
}
additional_file_format = {
state = "DISABLED"
}
}
}
}
override_configuration = {
document = {
splitter = {
state = "ENABLED"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
resource "awscc_bedrock_data_automation_project" "example" {
project_name = "example-project"
project_description = "example-description"
standard_output_configuration = {
document = {
output_format = {
text_format = {
types = ["PLAIN_TEXT"]
}
additional_file_format = {
state = "DISABLED"
}
}
}
}
custom_output_configuration = {
blueprints = [
{
blueprint_arn = "arn:aws:bedrock:us-west-2:<AWS_ACCOUNT_ID>:blueprint/<BLUEPRINT_ID>"
}
]
}
override_configuration = {
document = {
splitter = {
state = "ENABLED"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
resource "awscc_bedrock_data_automation_project" "example" {
project_name = "example-project"
project_description = "example-description"
standard_output_configuration = {
document = {
extraction = {
granularity = {
types = ["DOCUMENT"]
}
bounding_box = {
state = "ENABLED"
}
}
generative_field = {
state = "DISABLED"
}
output_format = {
text_format = {
types = ["PLAIN_TEXT"]
}
additional_file_format = {
state = "DISABLED"
}
}
}
}
override_configuration = {
document = {
splitter = {
state = "ENABLED"
}
}
}
}
31 changes: 31 additions & 0 deletions templates/resources/bedrock_data_automation_project.md.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
page_title: "{{.Name}} {{.Type}} - {{.ProviderName}}"
subcategory: ""
description: |-
{{ .Description | plainmarkdown | trimspace | prefixlines " " }}
---

# {{.Name}} ({{.Type}})

{{ .Description | trimspace }}

## Example Usage

### Standard output
Create a Bedrock Data Automation project with standard output using the document modality
{{ tffile (printf "examples/resources/%s/bedrock_data_automation_standard_output_project.tf" .Name)}}

### Custom output
Create a Bedrock Data Automation project with custom output using the document modality
{{ tffile (printf "examples/resources/%s/bedrock_data_automation_custom_output_project.tf" .Name)}}

{{ .SchemaMarkdown | trimspace }}
{{- if .HasImport }}

## Import

Import is supported using the following syntax:

{{ codefile "shell" .ImportFile }}

{{- end }}
Loading