Skip to content

Commit

Permalink
Merge pull request hashicorp#1908 from hashicorp/f-07-24-2024-schema-…
Browse files Browse the repository at this point in the history
…updates

07/24/2024 CloudFormation schema refresh
  • Loading branch information
ewbankkit authored Jul 25, 2024
2 parents f123ea5 + 2e5eeb3 commit db0c611
Show file tree
Hide file tree
Showing 172 changed files with 17,477 additions and 1,256 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
## 1.7.0 (Unreleased)

FEATURES:

* **New Data Source:** `awscc_bedrock_flow_alias`
* **New Data Source:** `awscc_bedrock_flow_version`
* **New Data Source:** `awscc_bedrock_prompt`
* **New Data Source:** `awscc_bedrock_prompt_version`
* **New Data Source:** `awscc_bedrock_prompts`
* **New Data Source:** `awscc_glue_trigger`
* **New Data Source:** `awscc_glue_triggers`
* **New Data Source:** `awscc_secretsmanager_resource_policies`
* **New Data Source:** `awscc_secretsmanager_resource_policy`
* **New Resource:** `awscc_bedrock_flow_alias`
* **New Resource:** `awscc_bedrock_flow_version`
* **New Resource:** `awscc_bedrock_prompt`
* **New Resource:** `awscc_bedrock_prompt_version`
* **New Resource:** `awscc_glue_trigger`
* **New Resource:** `awscc_secretsmanager_resource_policy`

## 1.6.0 (July 18, 2024)

FEATURES:
Expand Down
124 changes: 90 additions & 34 deletions docs/data-sources/applicationautoscaling_scaling_policy.md

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions docs/data-sources/bedrock_flow_alias.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_bedrock_flow_alias Data Source - terraform-provider-awscc"
subcategory: ""
description: |-
Data Source schema for AWS::Bedrock::FlowAlias
---

# awscc_bedrock_flow_alias (Data Source)

Data Source schema for AWS::Bedrock::FlowAlias



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

### Required

- `id` (String) Uniquely identifies the resource.

### Read-Only

- `arn` (String) Arn of the Flow Alias
- `created_at` (String) Time Stamp.
- `description` (String) Description of the Resource.
- `flow_alias_id` (String) Id for a Flow Alias generated at the server side.
- `flow_arn` (String) Arn representation of the Flow
- `flow_id` (String) Identifier for a flow resource.
- `name` (String) Name for a resource.
- `routing_configuration` (Attributes List) Routing configuration for a Flow alias. (see [below for nested schema](#nestedatt--routing_configuration))
- `tags` (Map of String) A map of tag keys and values
- `updated_at` (String) Time Stamp.

<a id="nestedatt--routing_configuration"></a>
### Nested Schema for `routing_configuration`

Read-Only:

- `flow_version` (String) Version.
245 changes: 245 additions & 0 deletions docs/data-sources/bedrock_flow_version.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_bedrock_flow_version Data Source - terraform-provider-awscc"
subcategory: ""
description: |-
Data Source schema for AWS::Bedrock::FlowVersion
---

# awscc_bedrock_flow_version (Data Source)

Data Source schema for AWS::Bedrock::FlowVersion



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

### Required

- `id` (String) Uniquely identifies the resource.

### Read-Only

- `created_at` (String) Time Stamp.
- `definition` (Attributes) Flow definition (see [below for nested schema](#nestedatt--definition))
- `description` (String) Description of the flow version
- `execution_role_arn` (String) ARN of a IAM role
- `flow_arn` (String) Arn representation of the Flow
- `flow_id` (String) Identifier for a Flow
- `name` (String) Name for the flow
- `status` (String) Schema Type for Flow APIs
- `version` (String) Numerical Version.

<a id="nestedatt--definition"></a>
### Nested Schema for `definition`

Read-Only:

- `connections` (Attributes List) List of connections (see [below for nested schema](#nestedatt--definition--connections))
- `nodes` (Attributes List) List of nodes in a flow (see [below for nested schema](#nestedatt--definition--nodes))

<a id="nestedatt--definition--connections"></a>
### Nested Schema for `definition.connections`

Read-Only:

- `configuration` (Attributes) Connection configuration (see [below for nested schema](#nestedatt--definition--connections--configuration))
- `name` (String) Name of a connection in a flow
- `source` (String) Name of a node in a flow
- `target` (String) Name of a node in a flow
- `type` (String) Connection type

<a id="nestedatt--definition--connections--configuration"></a>
### Nested Schema for `definition.connections.configuration`

Read-Only:

- `conditional` (Attributes) Conditional connection configuration (see [below for nested schema](#nestedatt--definition--connections--configuration--conditional))
- `data` (Attributes) Data connection configuration (see [below for nested schema](#nestedatt--definition--connections--configuration--data))

<a id="nestedatt--definition--connections--configuration--conditional"></a>
### Nested Schema for `definition.connections.configuration.conditional`

Read-Only:

- `condition` (String) Name of a condition in a flow


<a id="nestedatt--definition--connections--configuration--data"></a>
### Nested Schema for `definition.connections.configuration.data`

Read-Only:

- `source_output` (String) Name of a node output in a flow
- `target_input` (String) Name of a node input in a flow




<a id="nestedatt--definition--nodes"></a>
### Nested Schema for `definition.nodes`

Read-Only:

- `configuration` (Attributes) Node configuration in a flow (see [below for nested schema](#nestedatt--definition--nodes--configuration))
- `inputs` (Attributes List) List of node inputs in a flow (see [below for nested schema](#nestedatt--definition--nodes--inputs))
- `name` (String) Name of a node in a flow
- `outputs` (Attributes List) List of node outputs in a flow (see [below for nested schema](#nestedatt--definition--nodes--outputs))
- `type` (String) Flow node types

<a id="nestedatt--definition--nodes--configuration"></a>
### Nested Schema for `definition.nodes.configuration`

Read-Only:

- `condition` (Attributes) Condition flow node configuration (see [below for nested schema](#nestedatt--definition--nodes--configuration--condition))
- `input` (String) Input flow node configuration
- `knowledge_base` (Attributes) Knowledge base flow node configuration (see [below for nested schema](#nestedatt--definition--nodes--configuration--knowledge_base))
- `lambda_function` (Attributes) Lambda function flow node configuration (see [below for nested schema](#nestedatt--definition--nodes--configuration--lambda_function))
- `lex` (Attributes) Lex flow node configuration (see [below for nested schema](#nestedatt--definition--nodes--configuration--lex))
- `output` (String) Output flow node configuration
- `prompt` (Attributes) Prompt flow node configuration (see [below for nested schema](#nestedatt--definition--nodes--configuration--prompt))

<a id="nestedatt--definition--nodes--configuration--condition"></a>
### Nested Schema for `definition.nodes.configuration.condition`

Read-Only:

- `conditions` (Attributes List) List of conditions in a condition node (see [below for nested schema](#nestedatt--definition--nodes--configuration--condition--conditions))

<a id="nestedatt--definition--nodes--configuration--condition--conditions"></a>
### Nested Schema for `definition.nodes.configuration.condition.conditions`

Read-Only:

- `expression` (String) Expression for a condition in a flow
- `name` (String) Name of a condition in a flow



<a id="nestedatt--definition--nodes--configuration--knowledge_base"></a>
### Nested Schema for `definition.nodes.configuration.knowledge_base`

Read-Only:

- `knowledge_base_id` (String) Identifier of the KnowledgeBase
- `model_id` (String) ARN or name of a Bedrock model.


<a id="nestedatt--definition--nodes--configuration--lambda_function"></a>
### Nested Schema for `definition.nodes.configuration.lambda_function`

Read-Only:

- `lambda_arn` (String) ARN of a Lambda.


<a id="nestedatt--definition--nodes--configuration--lex"></a>
### Nested Schema for `definition.nodes.configuration.lex`

Read-Only:

- `bot_alias_arn` (String) ARN of a Lex bot alias
- `locale_id` (String) Lex bot locale id


<a id="nestedatt--definition--nodes--configuration--prompt"></a>
### Nested Schema for `definition.nodes.configuration.prompt`

Read-Only:

- `source_configuration` (Attributes) Prompt source configuration for prompt node (see [below for nested schema](#nestedatt--definition--nodes--configuration--prompt--source_configuration))

<a id="nestedatt--definition--nodes--configuration--prompt--source_configuration"></a>
### Nested Schema for `definition.nodes.configuration.prompt.source_configuration`

Read-Only:

- `inline` (Attributes) Inline prompt configuration for prompt node (see [below for nested schema](#nestedatt--definition--nodes--configuration--prompt--source_configuration--inline))
- `resource` (Attributes) Resource prompt configuration for prompt node (see [below for nested schema](#nestedatt--definition--nodes--configuration--prompt--source_configuration--resource))

<a id="nestedatt--definition--nodes--configuration--prompt--source_configuration--inline"></a>
### Nested Schema for `definition.nodes.configuration.prompt.source_configuration.inline`

Read-Only:

- `inference_configuration` (Attributes) Model inference configuration (see [below for nested schema](#nestedatt--definition--nodes--configuration--prompt--source_configuration--inline--inference_configuration))
- `model_id` (String) ARN or name of a Bedrock model.
- `template_configuration` (Attributes) Prompt template configuration (see [below for nested schema](#nestedatt--definition--nodes--configuration--prompt--source_configuration--inline--template_configuration))
- `template_type` (String) Prompt template type

<a id="nestedatt--definition--nodes--configuration--prompt--source_configuration--inline--inference_configuration"></a>
### Nested Schema for `definition.nodes.configuration.prompt.source_configuration.inline.inference_configuration`

Read-Only:

- `text` (Attributes) Prompt model inference configuration (see [below for nested schema](#nestedatt--definition--nodes--configuration--prompt--source_configuration--inline--inference_configuration--text))

<a id="nestedatt--definition--nodes--configuration--prompt--source_configuration--inline--inference_configuration--text"></a>
### Nested Schema for `definition.nodes.configuration.prompt.source_configuration.inline.inference_configuration.text`

Read-Only:

- `max_tokens` (Number) Maximum length of output
- `stop_sequences` (List of String) List of stop sequences
- `temperature` (Number) Controls randomness, higher values increase diversity
- `top_k` (Number) Sample from the k most likely next tokens
- `top_p` (Number) Cumulative probability cutoff for token selection



<a id="nestedatt--definition--nodes--configuration--prompt--source_configuration--inline--template_configuration"></a>
### Nested Schema for `definition.nodes.configuration.prompt.source_configuration.inline.template_configuration`

Read-Only:

- `text` (Attributes) Configuration for text prompt template (see [below for nested schema](#nestedatt--definition--nodes--configuration--prompt--source_configuration--inline--template_configuration--text))

<a id="nestedatt--definition--nodes--configuration--prompt--source_configuration--inline--template_configuration--text"></a>
### Nested Schema for `definition.nodes.configuration.prompt.source_configuration.inline.template_configuration.text`

Read-Only:

- `input_variables` (Attributes List) List of input variables (see [below for nested schema](#nestedatt--definition--nodes--configuration--prompt--source_configuration--inline--template_configuration--text--input_variables))
- `text` (String) Prompt content for String prompt template

<a id="nestedatt--definition--nodes--configuration--prompt--source_configuration--inline--template_configuration--text--input_variables"></a>
### Nested Schema for `definition.nodes.configuration.prompt.source_configuration.inline.template_configuration.text.input_variables`

Read-Only:

- `name` (String) Name for an input variable





<a id="nestedatt--definition--nodes--configuration--prompt--source_configuration--resource"></a>
### Nested Schema for `definition.nodes.configuration.prompt.source_configuration.resource`

Read-Only:

- `prompt_arn` (String) ARN of a prompt resource possibly with a version





<a id="nestedatt--definition--nodes--inputs"></a>
### Nested Schema for `definition.nodes.inputs`

Read-Only:

- `expression` (String) Expression for a node input in a flow
- `name` (String) Name of a node input in a flow
- `type` (String) Type of input/output for a node in a flow


<a id="nestedatt--definition--nodes--outputs"></a>
### Nested Schema for `definition.nodes.outputs`

Read-Only:

- `name` (String) Name of a node output in a flow
- `type` (String) Type of input/output for a node in a flow
42 changes: 42 additions & 0 deletions docs/data-sources/bedrock_knowledge_base.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,23 @@ Read-Only:
Read-Only:

- `embedding_model_arn` (String) The ARN of the model used to create vector embeddings for the knowledge base.
- `embedding_model_configuration` (Attributes) The embeddings model configuration details for the vector model used in Knowledge Base. (see [below for nested schema](#nestedatt--knowledge_base_configuration--vector_knowledge_base_configuration--embedding_model_configuration))

<a id="nestedatt--knowledge_base_configuration--vector_knowledge_base_configuration--embedding_model_configuration"></a>
### Nested Schema for `knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration`

Read-Only:

- `bedrock_embedding_model_configuration` (Attributes) The vector configuration details for the Bedrock embeddings model. (see [below for nested schema](#nestedatt--knowledge_base_configuration--vector_knowledge_base_configuration--embedding_model_configuration--bedrock_embedding_model_configuration))

<a id="nestedatt--knowledge_base_configuration--vector_knowledge_base_configuration--embedding_model_configuration--bedrock_embedding_model_configuration"></a>
### Nested Schema for `knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration`

Read-Only:

- `dimensions` (Number) The dimensions details for the vector configuration used on the Bedrock embeddings model.





Expand All @@ -56,11 +73,36 @@ Read-Only:

Read-Only:

- `mongo_db_atlas_configuration` (Attributes) Contains the storage configuration of the knowledge base in MongoDb Atlas Cloud. (see [below for nested schema](#nestedatt--storage_configuration--mongo_db_atlas_configuration))
- `opensearch_serverless_configuration` (Attributes) Contains the storage configuration of the knowledge base in Amazon OpenSearch Service. (see [below for nested schema](#nestedatt--storage_configuration--opensearch_serverless_configuration))
- `pinecone_configuration` (Attributes) Contains the storage configuration of the knowledge base in Pinecone. (see [below for nested schema](#nestedatt--storage_configuration--pinecone_configuration))
- `rds_configuration` (Attributes) Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS. (see [below for nested schema](#nestedatt--storage_configuration--rds_configuration))
- `type` (String) The storage type of a knowledge base.

<a id="nestedatt--storage_configuration--mongo_db_atlas_configuration"></a>
### Nested Schema for `storage_configuration.mongo_db_atlas_configuration`

Read-Only:

- `collection_name` (String) Name of the collection within MongoDB Atlas.
- `credentials_secret_arn` (String) The ARN of the secret that you created in AWS Secrets Manager that is linked to your Amazon Mongo database.
- `database_name` (String) Name of the database within MongoDB Atlas.
- `endpoint` (String) MongoDB Atlas endpoint.
- `endpoint_service_name` (String) MongoDB Atlas endpoint service name.
- `field_mapping` (Attributes) Contains the names of the fields to which to map information about the vector store. (see [below for nested schema](#nestedatt--storage_configuration--mongo_db_atlas_configuration--field_mapping))
- `vector_index_name` (String) Name of a MongoDB Atlas index.

<a id="nestedatt--storage_configuration--mongo_db_atlas_configuration--field_mapping"></a>
### Nested Schema for `storage_configuration.mongo_db_atlas_configuration.field_mapping`

Read-Only:

- `metadata_field` (String) The name of the field in which Amazon Bedrock stores metadata about the vector store.
- `text_field` (String) The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
- `vector_field` (String) The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.



<a id="nestedatt--storage_configuration--opensearch_serverless_configuration"></a>
### Nested Schema for `storage_configuration.opensearch_serverless_configuration`

Expand Down
Loading

0 comments on commit db0c611

Please sign in to comment.