pulumi-aws 7.14.0__py3-none-any.whl → 7.15.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_aws/__init__.py +8 -0
- pulumi_aws/bedrock/_inputs.py +1894 -267
- pulumi_aws/bedrock/agent_knowledge_base.py +253 -17
- pulumi_aws/bedrock/outputs.py +1571 -199
- pulumi_aws/cloudfront/__init__.py +1 -0
- pulumi_aws/cloudfront/_inputs.py +199 -0
- pulumi_aws/cloudfront/outputs.py +134 -0
- pulumi_aws/cloudfront/trust_store.py +497 -0
- pulumi_aws/codebuild/_inputs.py +20 -0
- pulumi_aws/codebuild/outputs.py +29 -0
- pulumi_aws/config/__init__.pyi +5 -0
- pulumi_aws/config/vars.py +7 -0
- pulumi_aws/datazone/domain.py +28 -0
- pulumi_aws/datazone/get_domain.py +15 -1
- pulumi_aws/ecs/_inputs.py +6 -6
- pulumi_aws/ecs/cluster.py +2 -2
- pulumi_aws/ecs/outputs.py +4 -4
- pulumi_aws/elasticache/serverless_cache.py +7 -7
- pulumi_aws/lambda_/function.py +31 -12
- pulumi_aws/networkmanager/_inputs.py +650 -23
- pulumi_aws/networkmanager/connect_attachment.py +47 -0
- pulumi_aws/networkmanager/connect_peer.py +7 -7
- pulumi_aws/networkmanager/dx_gateway_attachment.py +47 -0
- pulumi_aws/networkmanager/get_core_network_policy_document.py +37 -1
- pulumi_aws/networkmanager/outputs.py +379 -14
- pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +47 -0
- pulumi_aws/networkmanager/transit_gateway_route_table_attachment.py +47 -0
- pulumi_aws/networkmanager/vpc_attachment.py +47 -0
- pulumi_aws/odb/get_cloud_vm_cluster.py +23 -1
- pulumi_aws/organizations/__init__.py +1 -0
- pulumi_aws/organizations/get_account.py +231 -0
- pulumi_aws/provider.py +21 -1
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/route53/get_resolver_endpoint.py +29 -1
- pulumi_aws/route53/resolver_endpoint.py +97 -3
- pulumi_aws/s3/_inputs.py +7 -0
- pulumi_aws/s3/outputs.py +4 -0
- pulumi_aws/vpclattice/_inputs.py +54 -0
- pulumi_aws/vpclattice/outputs.py +51 -0
- pulumi_aws/vpclattice/service_network_vpc_association.py +96 -0
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/METADATA +1 -1
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/RECORD +44 -42
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/top_level.txt +0 -0
|
@@ -32,13 +32,13 @@ class AgentKnowledgeBaseArgs:
|
|
|
32
32
|
"""
|
|
33
33
|
The set of arguments for constructing a AgentKnowledgeBase resource.
|
|
34
34
|
:param pulumi.Input[_builtins.str] role_arn: ARN of the IAM role with permissions to invoke API operations on the knowledge base.
|
|
35
|
+
|
|
36
|
+
The following arguments are optional:
|
|
35
37
|
:param pulumi.Input[_builtins.str] description: Description of the knowledge base.
|
|
36
38
|
:param pulumi.Input['AgentKnowledgeBaseKnowledgeBaseConfigurationArgs'] knowledge_base_configuration: Details about the embeddings configuration of the knowledge base. See `knowledge_base_configuration` block for details.
|
|
37
39
|
:param pulumi.Input[_builtins.str] name: Name of the knowledge base.
|
|
38
40
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
39
41
|
:param pulumi.Input['AgentKnowledgeBaseStorageConfigurationArgs'] storage_configuration: Details about the storage configuration of the knowledge base. See `storage_configuration` block for details.
|
|
40
|
-
|
|
41
|
-
The following arguments are optional:
|
|
42
42
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags assigned to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
43
43
|
"""
|
|
44
44
|
pulumi.set(__self__, "role_arn", role_arn)
|
|
@@ -62,6 +62,8 @@ class AgentKnowledgeBaseArgs:
|
|
|
62
62
|
def role_arn(self) -> pulumi.Input[_builtins.str]:
|
|
63
63
|
"""
|
|
64
64
|
ARN of the IAM role with permissions to invoke API operations on the knowledge base.
|
|
65
|
+
|
|
66
|
+
The following arguments are optional:
|
|
65
67
|
"""
|
|
66
68
|
return pulumi.get(self, "role_arn")
|
|
67
69
|
|
|
@@ -122,8 +124,6 @@ class AgentKnowledgeBaseArgs:
|
|
|
122
124
|
def storage_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationArgs']]:
|
|
123
125
|
"""
|
|
124
126
|
Details about the storage configuration of the knowledge base. See `storage_configuration` block for details.
|
|
125
|
-
|
|
126
|
-
The following arguments are optional:
|
|
127
127
|
"""
|
|
128
128
|
return pulumi.get(self, "storage_configuration")
|
|
129
129
|
|
|
@@ -178,9 +178,9 @@ class _AgentKnowledgeBaseState:
|
|
|
178
178
|
:param pulumi.Input[_builtins.str] name: Name of the knowledge base.
|
|
179
179
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
180
180
|
:param pulumi.Input[_builtins.str] role_arn: ARN of the IAM role with permissions to invoke API operations on the knowledge base.
|
|
181
|
-
:param pulumi.Input['AgentKnowledgeBaseStorageConfigurationArgs'] storage_configuration: Details about the storage configuration of the knowledge base. See `storage_configuration` block for details.
|
|
182
181
|
|
|
183
182
|
The following arguments are optional:
|
|
183
|
+
:param pulumi.Input['AgentKnowledgeBaseStorageConfigurationArgs'] storage_configuration: Details about the storage configuration of the knowledge base. See `storage_configuration` block for details.
|
|
184
184
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags assigned to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
185
185
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
186
186
|
:param pulumi.Input[_builtins.str] updated_at: Time at which the knowledge base was last updated.
|
|
@@ -298,6 +298,8 @@ class _AgentKnowledgeBaseState:
|
|
|
298
298
|
def role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
299
299
|
"""
|
|
300
300
|
ARN of the IAM role with permissions to invoke API operations on the knowledge base.
|
|
301
|
+
|
|
302
|
+
The following arguments are optional:
|
|
301
303
|
"""
|
|
302
304
|
return pulumi.get(self, "role_arn")
|
|
303
305
|
|
|
@@ -310,8 +312,6 @@ class _AgentKnowledgeBaseState:
|
|
|
310
312
|
def storage_configuration(self) -> Optional[pulumi.Input['AgentKnowledgeBaseStorageConfigurationArgs']]:
|
|
311
313
|
"""
|
|
312
314
|
Details about the storage configuration of the knowledge base. See `storage_configuration` block for details.
|
|
313
|
-
|
|
314
|
-
The following arguments are optional:
|
|
315
315
|
"""
|
|
316
316
|
return pulumi.get(self, "storage_configuration")
|
|
317
317
|
|
|
@@ -414,6 +414,88 @@ class AgentKnowledgeBase(pulumi.CustomResource):
|
|
|
414
414
|
})
|
|
415
415
|
```
|
|
416
416
|
|
|
417
|
+
### Kendra Knowledge Base
|
|
418
|
+
|
|
419
|
+
```python
|
|
420
|
+
import pulumi
|
|
421
|
+
import pulumi_aws as aws
|
|
422
|
+
|
|
423
|
+
kendra_example = aws.bedrock.AgentKnowledgeBase("kendra_example",
|
|
424
|
+
name="example-kendra-kb",
|
|
425
|
+
role_arn=example["arn"],
|
|
426
|
+
knowledge_base_configuration={
|
|
427
|
+
"type": "KENDRA",
|
|
428
|
+
"kendra_knowledge_base_configuration": {
|
|
429
|
+
"kendra_index_arn": "arn:aws:kendra:us-east-1:123456789012:index/example-index-id",
|
|
430
|
+
},
|
|
431
|
+
})
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
### Structured Data Store
|
|
435
|
+
|
|
436
|
+
```python
|
|
437
|
+
import pulumi
|
|
438
|
+
import pulumi_aws as aws
|
|
439
|
+
|
|
440
|
+
example = aws.bedrock.AgentKnowledgeBase("example",
|
|
441
|
+
name="example-kb",
|
|
442
|
+
role_arn=example_aws_iam_role["arn"],
|
|
443
|
+
knowledge_base_configuration={
|
|
444
|
+
"type": "SQL",
|
|
445
|
+
"sql_knowledge_base_configuration": {
|
|
446
|
+
"type": "REDSHIFT",
|
|
447
|
+
"redshift_configuration": {
|
|
448
|
+
"query_engine_configuration": {
|
|
449
|
+
"type": "PROVISIONED",
|
|
450
|
+
"provisioned_configuration": {
|
|
451
|
+
"cluster_identifier": example_aws_redshift_cluster["clusterIdentifier"],
|
|
452
|
+
"auth_configuration": {
|
|
453
|
+
"type": "USERNAME",
|
|
454
|
+
"database_user": example_aws_redshift_cluster["masterUsername"],
|
|
455
|
+
},
|
|
456
|
+
},
|
|
457
|
+
},
|
|
458
|
+
"storage_configuration": {
|
|
459
|
+
"type": "REDSHIFT",
|
|
460
|
+
"redshift_configuration": {
|
|
461
|
+
"database_name": example_aws_redshift_cluster["databaseName"],
|
|
462
|
+
},
|
|
463
|
+
},
|
|
464
|
+
},
|
|
465
|
+
},
|
|
466
|
+
})
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
### OpenSearch Managed Cluster Configuration
|
|
470
|
+
|
|
471
|
+
```python
|
|
472
|
+
import pulumi
|
|
473
|
+
import pulumi_aws as aws
|
|
474
|
+
|
|
475
|
+
example = aws.bedrock.AgentKnowledgeBase("example",
|
|
476
|
+
name="example",
|
|
477
|
+
role_arn=example_aws_iam_role["arn"],
|
|
478
|
+
knowledge_base_configuration={
|
|
479
|
+
"vector_knowledge_base_configuration": {
|
|
480
|
+
"embedding_model_arn": "arn:aws:bedrock:us-west-2::foundation-model/amazon.titan-embed-text-v2:0",
|
|
481
|
+
},
|
|
482
|
+
"type": "VECTOR",
|
|
483
|
+
},
|
|
484
|
+
storage_configuration={
|
|
485
|
+
"type": "OPENSEARCH_MANAGED_CLUSTER",
|
|
486
|
+
"opensearch_managed_cluster_configuration": {
|
|
487
|
+
"domain_arn": "arn:aws:es:us-west-2:123456789012:domain/example-domain",
|
|
488
|
+
"domain_endpoint": "https://search-example-domain.us-west-2.es.amazonaws.com",
|
|
489
|
+
"vector_index_name": "example_index",
|
|
490
|
+
"field_mapping": {
|
|
491
|
+
"metadata_field": "metadata",
|
|
492
|
+
"text_field": "chunks",
|
|
493
|
+
"vector_field": "embedding",
|
|
494
|
+
},
|
|
495
|
+
},
|
|
496
|
+
})
|
|
497
|
+
```
|
|
498
|
+
|
|
417
499
|
### With Supplemental Data Storage Configuration
|
|
418
500
|
|
|
419
501
|
```python
|
|
@@ -433,12 +515,12 @@ class AgentKnowledgeBase(pulumi.CustomResource):
|
|
|
433
515
|
},
|
|
434
516
|
},
|
|
435
517
|
"supplemental_data_storage_configuration": {
|
|
436
|
-
"
|
|
518
|
+
"storage_location": {
|
|
437
519
|
"type": "S3",
|
|
438
|
-
"
|
|
520
|
+
"s3Location": {
|
|
439
521
|
"uri": "s3://my-bucket/chunk-processor/",
|
|
440
522
|
},
|
|
441
|
-
}
|
|
523
|
+
},
|
|
442
524
|
},
|
|
443
525
|
},
|
|
444
526
|
"type": "VECTOR",
|
|
@@ -457,6 +539,42 @@ class AgentKnowledgeBase(pulumi.CustomResource):
|
|
|
457
539
|
})
|
|
458
540
|
```
|
|
459
541
|
|
|
542
|
+
### S3 Vectors Configuration
|
|
543
|
+
|
|
544
|
+
```python
|
|
545
|
+
import pulumi
|
|
546
|
+
import pulumi_aws as aws
|
|
547
|
+
|
|
548
|
+
example = aws.s3.VectorsVectorBucket("example", vector_bucket_name="example-bucket")
|
|
549
|
+
example_vectors_index = aws.s3.VectorsIndex("example",
|
|
550
|
+
index_name="example-index",
|
|
551
|
+
vector_bucket_name=example.vector_bucket_name,
|
|
552
|
+
data_type="float32",
|
|
553
|
+
dimension=256,
|
|
554
|
+
distance_metric="euclidean")
|
|
555
|
+
example_agent_knowledge_base = aws.bedrock.AgentKnowledgeBase("example",
|
|
556
|
+
name="example-s3vectors-kb",
|
|
557
|
+
role_arn=example_aws_iam_role["arn"],
|
|
558
|
+
knowledge_base_configuration={
|
|
559
|
+
"vector_knowledge_base_configuration": {
|
|
560
|
+
"embedding_model_arn": "arn:aws:bedrock:us-west-2::foundation-model/amazon.titan-embed-text-v2:0",
|
|
561
|
+
"embedding_model_configuration": {
|
|
562
|
+
"bedrock_embedding_model_configuration": {
|
|
563
|
+
"dimensions": 256,
|
|
564
|
+
"embedding_data_type": "FLOAT32",
|
|
565
|
+
},
|
|
566
|
+
},
|
|
567
|
+
},
|
|
568
|
+
"type": "VECTOR",
|
|
569
|
+
},
|
|
570
|
+
storage_configuration={
|
|
571
|
+
"type": "S3_VECTORS",
|
|
572
|
+
"s3_vectors_configuration": {
|
|
573
|
+
"index_arn": example_vectors_index.index_arn,
|
|
574
|
+
},
|
|
575
|
+
})
|
|
576
|
+
```
|
|
577
|
+
|
|
460
578
|
## Import
|
|
461
579
|
|
|
462
580
|
Using `pulumi import`, import Agents for Amazon Bedrock Knowledge Base using the knowledge base ID. For example:
|
|
@@ -472,9 +590,9 @@ class AgentKnowledgeBase(pulumi.CustomResource):
|
|
|
472
590
|
:param pulumi.Input[_builtins.str] name: Name of the knowledge base.
|
|
473
591
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
474
592
|
:param pulumi.Input[_builtins.str] role_arn: ARN of the IAM role with permissions to invoke API operations on the knowledge base.
|
|
475
|
-
:param pulumi.Input[Union['AgentKnowledgeBaseStorageConfigurationArgs', 'AgentKnowledgeBaseStorageConfigurationArgsDict']] storage_configuration: Details about the storage configuration of the knowledge base. See `storage_configuration` block for details.
|
|
476
593
|
|
|
477
594
|
The following arguments are optional:
|
|
595
|
+
:param pulumi.Input[Union['AgentKnowledgeBaseStorageConfigurationArgs', 'AgentKnowledgeBaseStorageConfigurationArgsDict']] storage_configuration: Details about the storage configuration of the knowledge base. See `storage_configuration` block for details.
|
|
478
596
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags assigned to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
479
597
|
"""
|
|
480
598
|
...
|
|
@@ -517,6 +635,88 @@ class AgentKnowledgeBase(pulumi.CustomResource):
|
|
|
517
635
|
})
|
|
518
636
|
```
|
|
519
637
|
|
|
638
|
+
### Kendra Knowledge Base
|
|
639
|
+
|
|
640
|
+
```python
|
|
641
|
+
import pulumi
|
|
642
|
+
import pulumi_aws as aws
|
|
643
|
+
|
|
644
|
+
kendra_example = aws.bedrock.AgentKnowledgeBase("kendra_example",
|
|
645
|
+
name="example-kendra-kb",
|
|
646
|
+
role_arn=example["arn"],
|
|
647
|
+
knowledge_base_configuration={
|
|
648
|
+
"type": "KENDRA",
|
|
649
|
+
"kendra_knowledge_base_configuration": {
|
|
650
|
+
"kendra_index_arn": "arn:aws:kendra:us-east-1:123456789012:index/example-index-id",
|
|
651
|
+
},
|
|
652
|
+
})
|
|
653
|
+
```
|
|
654
|
+
|
|
655
|
+
### Structured Data Store
|
|
656
|
+
|
|
657
|
+
```python
|
|
658
|
+
import pulumi
|
|
659
|
+
import pulumi_aws as aws
|
|
660
|
+
|
|
661
|
+
example = aws.bedrock.AgentKnowledgeBase("example",
|
|
662
|
+
name="example-kb",
|
|
663
|
+
role_arn=example_aws_iam_role["arn"],
|
|
664
|
+
knowledge_base_configuration={
|
|
665
|
+
"type": "SQL",
|
|
666
|
+
"sql_knowledge_base_configuration": {
|
|
667
|
+
"type": "REDSHIFT",
|
|
668
|
+
"redshift_configuration": {
|
|
669
|
+
"query_engine_configuration": {
|
|
670
|
+
"type": "PROVISIONED",
|
|
671
|
+
"provisioned_configuration": {
|
|
672
|
+
"cluster_identifier": example_aws_redshift_cluster["clusterIdentifier"],
|
|
673
|
+
"auth_configuration": {
|
|
674
|
+
"type": "USERNAME",
|
|
675
|
+
"database_user": example_aws_redshift_cluster["masterUsername"],
|
|
676
|
+
},
|
|
677
|
+
},
|
|
678
|
+
},
|
|
679
|
+
"storage_configuration": {
|
|
680
|
+
"type": "REDSHIFT",
|
|
681
|
+
"redshift_configuration": {
|
|
682
|
+
"database_name": example_aws_redshift_cluster["databaseName"],
|
|
683
|
+
},
|
|
684
|
+
},
|
|
685
|
+
},
|
|
686
|
+
},
|
|
687
|
+
})
|
|
688
|
+
```
|
|
689
|
+
|
|
690
|
+
### OpenSearch Managed Cluster Configuration
|
|
691
|
+
|
|
692
|
+
```python
|
|
693
|
+
import pulumi
|
|
694
|
+
import pulumi_aws as aws
|
|
695
|
+
|
|
696
|
+
example = aws.bedrock.AgentKnowledgeBase("example",
|
|
697
|
+
name="example",
|
|
698
|
+
role_arn=example_aws_iam_role["arn"],
|
|
699
|
+
knowledge_base_configuration={
|
|
700
|
+
"vector_knowledge_base_configuration": {
|
|
701
|
+
"embedding_model_arn": "arn:aws:bedrock:us-west-2::foundation-model/amazon.titan-embed-text-v2:0",
|
|
702
|
+
},
|
|
703
|
+
"type": "VECTOR",
|
|
704
|
+
},
|
|
705
|
+
storage_configuration={
|
|
706
|
+
"type": "OPENSEARCH_MANAGED_CLUSTER",
|
|
707
|
+
"opensearch_managed_cluster_configuration": {
|
|
708
|
+
"domain_arn": "arn:aws:es:us-west-2:123456789012:domain/example-domain",
|
|
709
|
+
"domain_endpoint": "https://search-example-domain.us-west-2.es.amazonaws.com",
|
|
710
|
+
"vector_index_name": "example_index",
|
|
711
|
+
"field_mapping": {
|
|
712
|
+
"metadata_field": "metadata",
|
|
713
|
+
"text_field": "chunks",
|
|
714
|
+
"vector_field": "embedding",
|
|
715
|
+
},
|
|
716
|
+
},
|
|
717
|
+
})
|
|
718
|
+
```
|
|
719
|
+
|
|
520
720
|
### With Supplemental Data Storage Configuration
|
|
521
721
|
|
|
522
722
|
```python
|
|
@@ -536,12 +736,12 @@ class AgentKnowledgeBase(pulumi.CustomResource):
|
|
|
536
736
|
},
|
|
537
737
|
},
|
|
538
738
|
"supplemental_data_storage_configuration": {
|
|
539
|
-
"
|
|
739
|
+
"storage_location": {
|
|
540
740
|
"type": "S3",
|
|
541
|
-
"
|
|
741
|
+
"s3Location": {
|
|
542
742
|
"uri": "s3://my-bucket/chunk-processor/",
|
|
543
743
|
},
|
|
544
|
-
}
|
|
744
|
+
},
|
|
545
745
|
},
|
|
546
746
|
},
|
|
547
747
|
"type": "VECTOR",
|
|
@@ -560,6 +760,42 @@ class AgentKnowledgeBase(pulumi.CustomResource):
|
|
|
560
760
|
})
|
|
561
761
|
```
|
|
562
762
|
|
|
763
|
+
### S3 Vectors Configuration
|
|
764
|
+
|
|
765
|
+
```python
|
|
766
|
+
import pulumi
|
|
767
|
+
import pulumi_aws as aws
|
|
768
|
+
|
|
769
|
+
example = aws.s3.VectorsVectorBucket("example", vector_bucket_name="example-bucket")
|
|
770
|
+
example_vectors_index = aws.s3.VectorsIndex("example",
|
|
771
|
+
index_name="example-index",
|
|
772
|
+
vector_bucket_name=example.vector_bucket_name,
|
|
773
|
+
data_type="float32",
|
|
774
|
+
dimension=256,
|
|
775
|
+
distance_metric="euclidean")
|
|
776
|
+
example_agent_knowledge_base = aws.bedrock.AgentKnowledgeBase("example",
|
|
777
|
+
name="example-s3vectors-kb",
|
|
778
|
+
role_arn=example_aws_iam_role["arn"],
|
|
779
|
+
knowledge_base_configuration={
|
|
780
|
+
"vector_knowledge_base_configuration": {
|
|
781
|
+
"embedding_model_arn": "arn:aws:bedrock:us-west-2::foundation-model/amazon.titan-embed-text-v2:0",
|
|
782
|
+
"embedding_model_configuration": {
|
|
783
|
+
"bedrock_embedding_model_configuration": {
|
|
784
|
+
"dimensions": 256,
|
|
785
|
+
"embedding_data_type": "FLOAT32",
|
|
786
|
+
},
|
|
787
|
+
},
|
|
788
|
+
},
|
|
789
|
+
"type": "VECTOR",
|
|
790
|
+
},
|
|
791
|
+
storage_configuration={
|
|
792
|
+
"type": "S3_VECTORS",
|
|
793
|
+
"s3_vectors_configuration": {
|
|
794
|
+
"index_arn": example_vectors_index.index_arn,
|
|
795
|
+
},
|
|
796
|
+
})
|
|
797
|
+
```
|
|
798
|
+
|
|
563
799
|
## Import
|
|
564
800
|
|
|
565
801
|
Using `pulumi import`, import Agents for Amazon Bedrock Knowledge Base using the knowledge base ID. For example:
|
|
@@ -652,9 +888,9 @@ class AgentKnowledgeBase(pulumi.CustomResource):
|
|
|
652
888
|
:param pulumi.Input[_builtins.str] name: Name of the knowledge base.
|
|
653
889
|
:param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
654
890
|
:param pulumi.Input[_builtins.str] role_arn: ARN of the IAM role with permissions to invoke API operations on the knowledge base.
|
|
655
|
-
:param pulumi.Input[Union['AgentKnowledgeBaseStorageConfigurationArgs', 'AgentKnowledgeBaseStorageConfigurationArgsDict']] storage_configuration: Details about the storage configuration of the knowledge base. See `storage_configuration` block for details.
|
|
656
891
|
|
|
657
892
|
The following arguments are optional:
|
|
893
|
+
:param pulumi.Input[Union['AgentKnowledgeBaseStorageConfigurationArgs', 'AgentKnowledgeBaseStorageConfigurationArgsDict']] storage_configuration: Details about the storage configuration of the knowledge base. See `storage_configuration` block for details.
|
|
658
894
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags assigned to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
659
895
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
|
|
660
896
|
:param pulumi.Input[_builtins.str] updated_at: Time at which the knowledge base was last updated.
|
|
@@ -736,6 +972,8 @@ class AgentKnowledgeBase(pulumi.CustomResource):
|
|
|
736
972
|
def role_arn(self) -> pulumi.Output[_builtins.str]:
|
|
737
973
|
"""
|
|
738
974
|
ARN of the IAM role with permissions to invoke API operations on the knowledge base.
|
|
975
|
+
|
|
976
|
+
The following arguments are optional:
|
|
739
977
|
"""
|
|
740
978
|
return pulumi.get(self, "role_arn")
|
|
741
979
|
|
|
@@ -744,8 +982,6 @@ class AgentKnowledgeBase(pulumi.CustomResource):
|
|
|
744
982
|
def storage_configuration(self) -> pulumi.Output[Optional['outputs.AgentKnowledgeBaseStorageConfiguration']]:
|
|
745
983
|
"""
|
|
746
984
|
Details about the storage configuration of the knowledge base. See `storage_configuration` block for details.
|
|
747
|
-
|
|
748
|
-
The following arguments are optional:
|
|
749
985
|
"""
|
|
750
986
|
return pulumi.get(self, "storage_configuration")
|
|
751
987
|
|