Skip to content
Merged
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
70 changes: 34 additions & 36 deletions docs/resources/bedrock_blueprint.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,48 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_bedrock_blueprint Resource - terraform-provider-awscc"
subcategory: ""
description: |-
Definition of AWS::Bedrock::Blueprint Resource Type
Definition of AWS::Bedrock::Blueprint Resource Type
---

# awscc_bedrock_blueprint (Resource)

Definition of AWS::Bedrock::Blueprint Resource Type

## Example Usage

### Custom Blueprints for Documents
Create a custom blueprint for intelligent document processing with Bedrock Data Automation.
```terraform
resource "awscc_bedrock_blueprint" "example" {
blueprint_name = "example-blueprint"
type = "DOCUMENT"
schema = jsonencode({
"$schema" : "http://json-schema.org/draft-07/schema#",
"description" : "default",
"class" : "default",
"type" : "object",
"definitions" : {},
"properties" : {
"gross_pay_this_period" : {
"type" : "number",
"inferenceType" : "explicit",
"instruction" : "The gross pay for this pay period from the Earnings table"
},
"net_pay" : {
"type" : "number",
"inferenceType" : "explicit",
"instruction" : "The net pay for this pay period from the bottom of the document"
}
}
})

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

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down Expand Up @@ -47,40 +79,6 @@ Optional:

Import is supported using the following syntax:

In Terraform v1.12.0 and later, the [`import` block](https://developer.hashicorp.com/terraform/language/import) can be used with the `identity` attribute, for example:

```terraform
import {
to = awscc_bedrock_blueprint.example
identity = {
blueprint_arn = "blueprint_arn"
}
}
```

<!-- schema generated by tfplugindocs -->
### Identity Schema

#### Required

- `blueprint_arn` (String) ARN of a Blueprint

#### Optional

- `account_id` (String) AWS Account where this resource is managed
- `region` (String) Region where this resource is managed

In Terraform v1.5.0 and later, the [`import` block](https://developer.hashicorp.com/terraform/language/import) can be used with the `id` attribute, for example:

```terraform
import {
to = awscc_bedrock_blueprint.example
id = "blueprint_arn"
}
```

The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:

```shell
$ terraform import awscc_bedrock_blueprint.example "blueprint_arn"
```
116 changes: 80 additions & 36 deletions docs/resources/bedrock_data_automation_project.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,94 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_bedrock_data_automation_project Resource - terraform-provider-awscc"
subcategory: ""
description: |-
Definition of AWS::Bedrock::DataAutomationProject Resource Type
Definition of AWS::Bedrock::DataAutomationProject Resource Type
---

# awscc_bedrock_data_automation_project (Resource)

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 @@ -492,40 +570,6 @@ Optional:

Import is supported using the following syntax:

In Terraform v1.12.0 and later, the [`import` block](https://developer.hashicorp.com/terraform/language/import) can be used with the `identity` attribute, for example:

```terraform
import {
to = awscc_bedrock_data_automation_project.example
identity = {
project_arn = "project_arn"
}
}
```

<!-- schema generated by tfplugindocs -->
### Identity Schema

#### Required

- `project_arn` (String) ARN of a DataAutomationProject

#### Optional

- `account_id` (String) AWS Account where this resource is managed
- `region` (String) Region where this resource is managed

In Terraform v1.5.0 and later, the [`import` block](https://developer.hashicorp.com/terraform/language/import) can be used with the `id` attribute, for example:

```terraform
import {
to = awscc_bedrock_data_automation_project.example
id = "project_arn"
}
```

The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:

```shell
$ terraform import awscc_bedrock_data_automation_project.example "project_arn"
```
Loading