pulumi-aws 7.11.1__py3-none-any.whl → 7.12.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 +57 -0
- pulumi_aws/acm/certificate.py +20 -20
- pulumi_aws/acmpca/certificate.py +8 -8
- pulumi_aws/apigateway/account.py +0 -4
- pulumi_aws/appflow/_inputs.py +33 -0
- pulumi_aws/appflow/outputs.py +22 -0
- pulumi_aws/appsync/graph_ql_api.py +84 -0
- pulumi_aws/bedrock/_inputs.py +97 -21
- pulumi_aws/bedrock/agent_agent_alias.py +94 -0
- pulumi_aws/bedrock/agentcore_agent_runtime.py +4 -4
- pulumi_aws/bedrock/agentcore_browser.py +42 -0
- pulumi_aws/bedrock/agentcore_gateway_target.py +217 -7
- pulumi_aws/bedrock/agentcore_memory.py +37 -9
- pulumi_aws/bedrock/agentcore_oauth2_credential_provider.py +38 -0
- pulumi_aws/bedrock/outputs.py +64 -17
- pulumi_aws/cloudfront/_inputs.py +15 -14
- pulumi_aws/cloudfront/distribution.py +28 -0
- pulumi_aws/cloudfront/outputs.py +10 -9
- pulumi_aws/cloudhsmv2/cluster.py +64 -0
- pulumi_aws/cloudwatch/_inputs.py +9 -8
- pulumi_aws/cloudwatch/contributor_managed_insight_rule.py +20 -0
- pulumi_aws/cloudwatch/log_delivery_destination.py +53 -12
- pulumi_aws/cloudwatch/outputs.py +6 -5
- pulumi_aws/codebuild/webhook.py +16 -16
- pulumi_aws/codepipeline/webhook.py +16 -16
- pulumi_aws/connect/_inputs.py +50 -4
- pulumi_aws/connect/outputs.py +95 -4
- pulumi_aws/connect/routing_profile.py +42 -18
- pulumi_aws/datasync/location_fsx_ontap_file_system.py +34 -0
- pulumi_aws/datazone/project.py +24 -0
- pulumi_aws/detective/organization_configuration.py +20 -0
- pulumi_aws/dms/_inputs.py +3 -3
- pulumi_aws/dms/outputs.py +2 -2
- pulumi_aws/ec2/__init__.py +1 -0
- pulumi_aws/ec2/_inputs.py +182 -0
- pulumi_aws/ec2/allowed_images_settings.py +338 -0
- pulumi_aws/ec2/get_coip_pools.py +24 -0
- pulumi_aws/ec2/image_block_public_access.py +48 -1
- pulumi_aws/ec2/outputs.py +167 -0
- pulumi_aws/ec2/security_group.py +6 -6
- pulumi_aws/ec2/serial_console_access.py +50 -3
- pulumi_aws/ec2/vpc_endpoint.py +92 -0
- pulumi_aws/ec2clientvpn/authorization_rule.py +7 -7
- pulumi_aws/ec2clientvpn/route.py +7 -7
- pulumi_aws/ec2transitgateway/instance_connect_endpoint.py +47 -0
- pulumi_aws/ecrpublic/get_images.py +24 -0
- pulumi_aws/ecs/_inputs.py +172 -33
- pulumi_aws/ecs/get_service.py +318 -7
- pulumi_aws/ecs/outputs.py +957 -86
- pulumi_aws/ecs/service.py +76 -0
- pulumi_aws/eks/_inputs.py +195 -5
- pulumi_aws/eks/outputs.py +164 -4
- pulumi_aws/elasticache/_inputs.py +154 -0
- pulumi_aws/elasticache/get_replication_group.py +23 -9
- pulumi_aws/elasticache/outputs.py +204 -0
- pulumi_aws/elasticache/replication_group.py +115 -0
- pulumi_aws/elasticache/reserved_cache_node.py +28 -0
- pulumi_aws/finspace/kx_cluster.py +76 -0
- pulumi_aws/fis/__init__.py +1 -0
- pulumi_aws/fis/target_account_configuration.py +401 -0
- pulumi_aws/glue/job.py +7 -7
- pulumi_aws/guardduty/malware_protection_plan.py +50 -0
- pulumi_aws/guardduty/member_detector_feature.py +42 -0
- pulumi_aws/invoicing/__init__.py +11 -0
- pulumi_aws/invoicing/_inputs.py +128 -0
- pulumi_aws/invoicing/invoice_unit.py +620 -0
- pulumi_aws/invoicing/outputs.py +99 -0
- pulumi_aws/iot/ca_certificate.py +32 -32
- pulumi_aws/iot/get_registration_code.py +8 -8
- pulumi_aws/ivschat/logging_configuration.py +28 -0
- pulumi_aws/kinesis/get_stream.py +15 -1
- pulumi_aws/kinesis/stream.py +47 -0
- pulumi_aws/kms/key.py +7 -7
- pulumi_aws/licensemanager/license_grant.py +36 -0
- pulumi_aws/m2/environment.py +150 -0
- pulumi_aws/networkfirewall/tls_inspection_configuration.py +84 -0
- pulumi_aws/networkflowmonitor/__init__.py +12 -0
- pulumi_aws/networkflowmonitor/_inputs.py +412 -0
- pulumi_aws/networkflowmonitor/monitor.py +568 -0
- pulumi_aws/networkflowmonitor/outputs.py +302 -0
- pulumi_aws/networkflowmonitor/scope.py +443 -0
- pulumi_aws/observabilityadmin/__init__.py +11 -0
- pulumi_aws/observabilityadmin/_inputs.py +506 -0
- pulumi_aws/observabilityadmin/centralization_rule_for_organization.py +637 -0
- pulumi_aws/observabilityadmin/outputs.py +415 -0
- pulumi_aws/opensearch/_inputs.py +92 -133
- pulumi_aws/opensearch/authorize_vpc_endpoint_access.py +4 -4
- pulumi_aws/opensearch/domain.py +60 -0
- pulumi_aws/opensearch/get_domain.py +16 -9
- pulumi_aws/opensearch/outputs.py +131 -2
- pulumi_aws/organizations/get_policies.py +2 -2
- pulumi_aws/organizations/get_policies_for_target.py +2 -2
- pulumi_aws/organizations/get_policy.py +1 -1
- pulumi_aws/organizations/organization.py +7 -7
- pulumi_aws/organizations/policy.py +35 -7
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/quicksight/analysis.py +108 -0
- pulumi_aws/quicksight/dashboard.py +110 -0
- pulumi_aws/quicksight/template.py +126 -0
- pulumi_aws/redshift/cluster_snapshot.py +28 -0
- pulumi_aws/redshift/get_cluster.py +52 -0
- pulumi_aws/redshift/snapshot_copy_grant.py +22 -0
- pulumi_aws/route53/profiles_association.py +30 -0
- pulumi_aws/route53/profiles_resource_association.py +34 -0
- pulumi_aws/s3control/multi_region_access_point_policy.py +76 -0
- pulumi_aws/s3tables/table.py +76 -1
- pulumi_aws/s3tables/table_bucket.py +78 -3
- pulumi_aws/sagemaker/_inputs.py +225 -232
- pulumi_aws/sagemaker/endpoint_configuration.py +111 -64
- pulumi_aws/sagemaker/outputs.py +154 -158
- pulumi_aws/ssmincidents/get_response_plan.py +14 -0
- pulumi_aws/ssoadmin/account_assignment.py +4 -4
- pulumi_aws/transfer/profile.py +20 -0
- pulumi_aws/transfer/server.py +7 -0
- pulumi_aws/transfer/ssh_key.py +6 -6
- pulumi_aws/wafv2/rule_group.py +440 -0
- pulumi_aws/workspacesweb/session_logger_association.py +80 -0
- pulumi_aws/workspacesweb/trust_store_association.py +24 -0
- {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/METADATA +1 -1
- {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/RECORD +122 -107
- {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/top_level.txt +0 -0
|
@@ -31,7 +31,7 @@ class AgentcoreGatewayTargetArgs:
|
|
|
31
31
|
"""
|
|
32
32
|
The set of arguments for constructing a AgentcoreGatewayTarget resource.
|
|
33
33
|
:param pulumi.Input[_builtins.str] gateway_identifier: Identifier of the gateway that this target belongs to.
|
|
34
|
-
:param pulumi.Input['AgentcoreGatewayTargetCredentialProviderConfigurationArgs'] credential_provider_configuration: Configuration for authenticating requests to the target. See `credential_provider_configuration` below.
|
|
34
|
+
:param pulumi.Input['AgentcoreGatewayTargetCredentialProviderConfigurationArgs'] credential_provider_configuration: Configuration for authenticating requests to the target. Required when using `lambda`, `open_api_schema` and `smithy_model` in `mcp` block. If using `mcp_server` in `mcp` block with no authorization, it should not be specified. See `credential_provider_configuration` below.
|
|
35
35
|
:param pulumi.Input[_builtins.str] description: Description of the gateway target.
|
|
36
36
|
:param pulumi.Input[_builtins.str] name: Name of the gateway target.
|
|
37
37
|
:param pulumi.Input[_builtins.str] region: AWS region where the resource will be created. If not provided, the region from the provider configuration will be used.
|
|
@@ -69,7 +69,7 @@ class AgentcoreGatewayTargetArgs:
|
|
|
69
69
|
@pulumi.getter(name="credentialProviderConfiguration")
|
|
70
70
|
def credential_provider_configuration(self) -> Optional[pulumi.Input['AgentcoreGatewayTargetCredentialProviderConfigurationArgs']]:
|
|
71
71
|
"""
|
|
72
|
-
Configuration for authenticating requests to the target. See `credential_provider_configuration` below.
|
|
72
|
+
Configuration for authenticating requests to the target. Required when using `lambda`, `open_api_schema` and `smithy_model` in `mcp` block. If using `mcp_server` in `mcp` block with no authorization, it should not be specified. See `credential_provider_configuration` below.
|
|
73
73
|
"""
|
|
74
74
|
return pulumi.get(self, "credential_provider_configuration")
|
|
75
75
|
|
|
@@ -150,7 +150,7 @@ class _AgentcoreGatewayTargetState:
|
|
|
150
150
|
timeouts: Optional[pulumi.Input['AgentcoreGatewayTargetTimeoutsArgs']] = None):
|
|
151
151
|
"""
|
|
152
152
|
Input properties used for looking up and filtering AgentcoreGatewayTarget resources.
|
|
153
|
-
:param pulumi.Input['AgentcoreGatewayTargetCredentialProviderConfigurationArgs'] credential_provider_configuration: Configuration for authenticating requests to the target. See `credential_provider_configuration` below.
|
|
153
|
+
:param pulumi.Input['AgentcoreGatewayTargetCredentialProviderConfigurationArgs'] credential_provider_configuration: Configuration for authenticating requests to the target. Required when using `lambda`, `open_api_schema` and `smithy_model` in `mcp` block. If using `mcp_server` in `mcp` block with no authorization, it should not be specified. See `credential_provider_configuration` below.
|
|
154
154
|
:param pulumi.Input[_builtins.str] description: Description of the gateway target.
|
|
155
155
|
:param pulumi.Input[_builtins.str] gateway_identifier: Identifier of the gateway that this target belongs to.
|
|
156
156
|
:param pulumi.Input[_builtins.str] name: Name of the gateway target.
|
|
@@ -181,7 +181,7 @@ class _AgentcoreGatewayTargetState:
|
|
|
181
181
|
@pulumi.getter(name="credentialProviderConfiguration")
|
|
182
182
|
def credential_provider_configuration(self) -> Optional[pulumi.Input['AgentcoreGatewayTargetCredentialProviderConfigurationArgs']]:
|
|
183
183
|
"""
|
|
184
|
-
Configuration for authenticating requests to the target. See `credential_provider_configuration` below.
|
|
184
|
+
Configuration for authenticating requests to the target. Required when using `lambda`, `open_api_schema` and `smithy_model` in `mcp` block. If using `mcp_server` in `mcp` block with no authorization, it should not be specified. See `credential_provider_configuration` below.
|
|
185
185
|
"""
|
|
186
186
|
return pulumi.get(self, "credential_provider_configuration")
|
|
187
187
|
|
|
@@ -294,6 +294,111 @@ class AgentcoreGatewayTarget(pulumi.CustomResource):
|
|
|
294
294
|
|
|
295
295
|
### Lambda Target with Gateway IAM Role
|
|
296
296
|
|
|
297
|
+
```python
|
|
298
|
+
import pulumi
|
|
299
|
+
import pulumi_aws as aws
|
|
300
|
+
|
|
301
|
+
gateway_assume = aws.iam.get_policy_document(statements=[{
|
|
302
|
+
"effect": "Allow",
|
|
303
|
+
"actions": ["sts:AssumeRole"],
|
|
304
|
+
"principals": [{
|
|
305
|
+
"type": "Service",
|
|
306
|
+
"identifiers": ["bedrock-agentcore.amazonaws.com"],
|
|
307
|
+
}],
|
|
308
|
+
}])
|
|
309
|
+
gateway_role = aws.iam.Role("gateway_role",
|
|
310
|
+
name="bedrock-gateway-role",
|
|
311
|
+
assume_role_policy=gateway_assume.json)
|
|
312
|
+
lambda_assume = aws.iam.get_policy_document(statements=[{
|
|
313
|
+
"effect": "Allow",
|
|
314
|
+
"actions": ["sts:AssumeRole"],
|
|
315
|
+
"principals": [{
|
|
316
|
+
"type": "Service",
|
|
317
|
+
"identifiers": ["lambda.amazonaws.com"],
|
|
318
|
+
}],
|
|
319
|
+
}])
|
|
320
|
+
lambda_role = aws.iam.Role("lambda_role",
|
|
321
|
+
name="example-lambda-role",
|
|
322
|
+
assume_role_policy=lambda_assume.json)
|
|
323
|
+
example = aws.lambda_.Function("example",
|
|
324
|
+
code=pulumi.FileArchive("example.zip"),
|
|
325
|
+
name="example-function",
|
|
326
|
+
role=lambda_role.arn,
|
|
327
|
+
handler="index.handler",
|
|
328
|
+
runtime=aws.lambda_.Runtime.NODE_JS20D_X)
|
|
329
|
+
example_agentcore_gateway = aws.bedrock.AgentcoreGateway("example",
|
|
330
|
+
name="example-gateway",
|
|
331
|
+
role_arn=gateway_role.arn,
|
|
332
|
+
authorizer_configuration={
|
|
333
|
+
"custom_jwt_authorizer": {
|
|
334
|
+
"discovery_url": "https://accounts.google.com/.well-known/openid-configuration",
|
|
335
|
+
},
|
|
336
|
+
})
|
|
337
|
+
example_agentcore_gateway_target = aws.bedrock.AgentcoreGatewayTarget("example",
|
|
338
|
+
name="example-target",
|
|
339
|
+
gateway_identifier=example_agentcore_gateway.gateway_id,
|
|
340
|
+
description="Lambda function target for processing requests",
|
|
341
|
+
credential_provider_configuration={
|
|
342
|
+
"gateway_iam_role": {},
|
|
343
|
+
},
|
|
344
|
+
target_configuration={
|
|
345
|
+
"mcp": {
|
|
346
|
+
"lambda_": {
|
|
347
|
+
"lambda_arn": example.arn,
|
|
348
|
+
"tool_schema": {
|
|
349
|
+
"inline_payloads": [{
|
|
350
|
+
"name": "process_request",
|
|
351
|
+
"description": "Process incoming requests",
|
|
352
|
+
"input_schema": {
|
|
353
|
+
"type": "object",
|
|
354
|
+
"description": "Request processing schema",
|
|
355
|
+
"properties": [
|
|
356
|
+
{
|
|
357
|
+
"name": "message",
|
|
358
|
+
"type": "string",
|
|
359
|
+
"description": "Message to process",
|
|
360
|
+
"required": True,
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "options",
|
|
364
|
+
"type": "object",
|
|
365
|
+
"properties": [
|
|
366
|
+
{
|
|
367
|
+
"name": "priority",
|
|
368
|
+
"type": "string",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "tags",
|
|
372
|
+
"type": "array",
|
|
373
|
+
"items": [{
|
|
374
|
+
"type": "string",
|
|
375
|
+
}],
|
|
376
|
+
},
|
|
377
|
+
],
|
|
378
|
+
},
|
|
379
|
+
],
|
|
380
|
+
},
|
|
381
|
+
"output_schema": {
|
|
382
|
+
"type": "object",
|
|
383
|
+
"properties": [
|
|
384
|
+
{
|
|
385
|
+
"name": "status",
|
|
386
|
+
"type": "string",
|
|
387
|
+
"required": True,
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"name": "result",
|
|
391
|
+
"type": "string",
|
|
392
|
+
},
|
|
393
|
+
],
|
|
394
|
+
},
|
|
395
|
+
}],
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
},
|
|
399
|
+
})
|
|
400
|
+
```
|
|
401
|
+
|
|
297
402
|
### Target with API Key Authentication
|
|
298
403
|
|
|
299
404
|
```python
|
|
@@ -454,7 +559,7 @@ class AgentcoreGatewayTarget(pulumi.CustomResource):
|
|
|
454
559
|
|
|
455
560
|
:param str resource_name: The name of the resource.
|
|
456
561
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
457
|
-
:param pulumi.Input[Union['AgentcoreGatewayTargetCredentialProviderConfigurationArgs', 'AgentcoreGatewayTargetCredentialProviderConfigurationArgsDict']] credential_provider_configuration: Configuration for authenticating requests to the target. See `credential_provider_configuration` below.
|
|
562
|
+
:param pulumi.Input[Union['AgentcoreGatewayTargetCredentialProviderConfigurationArgs', 'AgentcoreGatewayTargetCredentialProviderConfigurationArgsDict']] credential_provider_configuration: Configuration for authenticating requests to the target. Required when using `lambda`, `open_api_schema` and `smithy_model` in `mcp` block. If using `mcp_server` in `mcp` block with no authorization, it should not be specified. See `credential_provider_configuration` below.
|
|
458
563
|
:param pulumi.Input[_builtins.str] description: Description of the gateway target.
|
|
459
564
|
:param pulumi.Input[_builtins.str] gateway_identifier: Identifier of the gateway that this target belongs to.
|
|
460
565
|
:param pulumi.Input[_builtins.str] name: Name of the gateway target.
|
|
@@ -476,6 +581,111 @@ class AgentcoreGatewayTarget(pulumi.CustomResource):
|
|
|
476
581
|
|
|
477
582
|
### Lambda Target with Gateway IAM Role
|
|
478
583
|
|
|
584
|
+
```python
|
|
585
|
+
import pulumi
|
|
586
|
+
import pulumi_aws as aws
|
|
587
|
+
|
|
588
|
+
gateway_assume = aws.iam.get_policy_document(statements=[{
|
|
589
|
+
"effect": "Allow",
|
|
590
|
+
"actions": ["sts:AssumeRole"],
|
|
591
|
+
"principals": [{
|
|
592
|
+
"type": "Service",
|
|
593
|
+
"identifiers": ["bedrock-agentcore.amazonaws.com"],
|
|
594
|
+
}],
|
|
595
|
+
}])
|
|
596
|
+
gateway_role = aws.iam.Role("gateway_role",
|
|
597
|
+
name="bedrock-gateway-role",
|
|
598
|
+
assume_role_policy=gateway_assume.json)
|
|
599
|
+
lambda_assume = aws.iam.get_policy_document(statements=[{
|
|
600
|
+
"effect": "Allow",
|
|
601
|
+
"actions": ["sts:AssumeRole"],
|
|
602
|
+
"principals": [{
|
|
603
|
+
"type": "Service",
|
|
604
|
+
"identifiers": ["lambda.amazonaws.com"],
|
|
605
|
+
}],
|
|
606
|
+
}])
|
|
607
|
+
lambda_role = aws.iam.Role("lambda_role",
|
|
608
|
+
name="example-lambda-role",
|
|
609
|
+
assume_role_policy=lambda_assume.json)
|
|
610
|
+
example = aws.lambda_.Function("example",
|
|
611
|
+
code=pulumi.FileArchive("example.zip"),
|
|
612
|
+
name="example-function",
|
|
613
|
+
role=lambda_role.arn,
|
|
614
|
+
handler="index.handler",
|
|
615
|
+
runtime=aws.lambda_.Runtime.NODE_JS20D_X)
|
|
616
|
+
example_agentcore_gateway = aws.bedrock.AgentcoreGateway("example",
|
|
617
|
+
name="example-gateway",
|
|
618
|
+
role_arn=gateway_role.arn,
|
|
619
|
+
authorizer_configuration={
|
|
620
|
+
"custom_jwt_authorizer": {
|
|
621
|
+
"discovery_url": "https://accounts.google.com/.well-known/openid-configuration",
|
|
622
|
+
},
|
|
623
|
+
})
|
|
624
|
+
example_agentcore_gateway_target = aws.bedrock.AgentcoreGatewayTarget("example",
|
|
625
|
+
name="example-target",
|
|
626
|
+
gateway_identifier=example_agentcore_gateway.gateway_id,
|
|
627
|
+
description="Lambda function target for processing requests",
|
|
628
|
+
credential_provider_configuration={
|
|
629
|
+
"gateway_iam_role": {},
|
|
630
|
+
},
|
|
631
|
+
target_configuration={
|
|
632
|
+
"mcp": {
|
|
633
|
+
"lambda_": {
|
|
634
|
+
"lambda_arn": example.arn,
|
|
635
|
+
"tool_schema": {
|
|
636
|
+
"inline_payloads": [{
|
|
637
|
+
"name": "process_request",
|
|
638
|
+
"description": "Process incoming requests",
|
|
639
|
+
"input_schema": {
|
|
640
|
+
"type": "object",
|
|
641
|
+
"description": "Request processing schema",
|
|
642
|
+
"properties": [
|
|
643
|
+
{
|
|
644
|
+
"name": "message",
|
|
645
|
+
"type": "string",
|
|
646
|
+
"description": "Message to process",
|
|
647
|
+
"required": True,
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "options",
|
|
651
|
+
"type": "object",
|
|
652
|
+
"properties": [
|
|
653
|
+
{
|
|
654
|
+
"name": "priority",
|
|
655
|
+
"type": "string",
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"name": "tags",
|
|
659
|
+
"type": "array",
|
|
660
|
+
"items": [{
|
|
661
|
+
"type": "string",
|
|
662
|
+
}],
|
|
663
|
+
},
|
|
664
|
+
],
|
|
665
|
+
},
|
|
666
|
+
],
|
|
667
|
+
},
|
|
668
|
+
"output_schema": {
|
|
669
|
+
"type": "object",
|
|
670
|
+
"properties": [
|
|
671
|
+
{
|
|
672
|
+
"name": "status",
|
|
673
|
+
"type": "string",
|
|
674
|
+
"required": True,
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "result",
|
|
678
|
+
"type": "string",
|
|
679
|
+
},
|
|
680
|
+
],
|
|
681
|
+
},
|
|
682
|
+
}],
|
|
683
|
+
},
|
|
684
|
+
},
|
|
685
|
+
},
|
|
686
|
+
})
|
|
687
|
+
```
|
|
688
|
+
|
|
479
689
|
### Target with API Key Authentication
|
|
480
690
|
|
|
481
691
|
```python
|
|
@@ -700,7 +910,7 @@ class AgentcoreGatewayTarget(pulumi.CustomResource):
|
|
|
700
910
|
:param str resource_name: The unique name of the resulting resource.
|
|
701
911
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
702
912
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
703
|
-
:param pulumi.Input[Union['AgentcoreGatewayTargetCredentialProviderConfigurationArgs', 'AgentcoreGatewayTargetCredentialProviderConfigurationArgsDict']] credential_provider_configuration: Configuration for authenticating requests to the target. See `credential_provider_configuration` below.
|
|
913
|
+
:param pulumi.Input[Union['AgentcoreGatewayTargetCredentialProviderConfigurationArgs', 'AgentcoreGatewayTargetCredentialProviderConfigurationArgsDict']] credential_provider_configuration: Configuration for authenticating requests to the target. Required when using `lambda`, `open_api_schema` and `smithy_model` in `mcp` block. If using `mcp_server` in `mcp` block with no authorization, it should not be specified. See `credential_provider_configuration` below.
|
|
704
914
|
:param pulumi.Input[_builtins.str] description: Description of the gateway target.
|
|
705
915
|
:param pulumi.Input[_builtins.str] gateway_identifier: Identifier of the gateway that this target belongs to.
|
|
706
916
|
:param pulumi.Input[_builtins.str] name: Name of the gateway target.
|
|
@@ -728,7 +938,7 @@ class AgentcoreGatewayTarget(pulumi.CustomResource):
|
|
|
728
938
|
@pulumi.getter(name="credentialProviderConfiguration")
|
|
729
939
|
def credential_provider_configuration(self) -> pulumi.Output[Optional['outputs.AgentcoreGatewayTargetCredentialProviderConfiguration']]:
|
|
730
940
|
"""
|
|
731
|
-
Configuration for authenticating requests to the target. See `credential_provider_configuration` below.
|
|
941
|
+
Configuration for authenticating requests to the target. Required when using `lambda`, `open_api_schema` and `smithy_model` in `mcp` block. If using `mcp_server` in `mcp` block with no authorization, it should not be specified. See `credential_provider_configuration` below.
|
|
732
942
|
"""
|
|
733
943
|
return pulumi.get(self, "credential_provider_configuration")
|
|
734
944
|
|
|
@@ -31,7 +31,7 @@ class AgentcoreMemoryArgs:
|
|
|
31
31
|
timeouts: Optional[pulumi.Input['AgentcoreMemoryTimeoutsArgs']] = None):
|
|
32
32
|
"""
|
|
33
33
|
The set of arguments for constructing a AgentcoreMemory resource.
|
|
34
|
-
:param pulumi.Input[_builtins.int] event_expiry_duration: Number of
|
|
34
|
+
:param pulumi.Input[_builtins.int] event_expiry_duration: Number of days after which memory events expire. Must be a positive integer in the range of 7 to 365.
|
|
35
35
|
|
|
36
36
|
The following arguments are optional:
|
|
37
37
|
:param pulumi.Input[_builtins.str] description: Description of the memory.
|
|
@@ -61,7 +61,7 @@ class AgentcoreMemoryArgs:
|
|
|
61
61
|
@pulumi.getter(name="eventExpiryDuration")
|
|
62
62
|
def event_expiry_duration(self) -> pulumi.Input[_builtins.int]:
|
|
63
63
|
"""
|
|
64
|
-
Number of
|
|
64
|
+
Number of days after which memory events expire. Must be a positive integer in the range of 7 to 365.
|
|
65
65
|
|
|
66
66
|
The following arguments are optional:
|
|
67
67
|
"""
|
|
@@ -171,7 +171,7 @@ class _AgentcoreMemoryState:
|
|
|
171
171
|
:param pulumi.Input[_builtins.str] arn: ARN of the Memory.
|
|
172
172
|
:param pulumi.Input[_builtins.str] description: Description of the memory.
|
|
173
173
|
:param pulumi.Input[_builtins.str] encryption_key_arn: ARN of the KMS key used to encrypt the memory. If not provided, AWS managed encryption is used.
|
|
174
|
-
:param pulumi.Input[_builtins.int] event_expiry_duration: Number of
|
|
174
|
+
:param pulumi.Input[_builtins.int] event_expiry_duration: Number of days after which memory events expire. Must be a positive integer in the range of 7 to 365.
|
|
175
175
|
|
|
176
176
|
The following arguments are optional:
|
|
177
177
|
:param pulumi.Input[_builtins.str] memory_execution_role_arn: ARN of the IAM role that the memory service assumes to perform operations. Required when using custom memory strategies with model processing.
|
|
@@ -241,7 +241,7 @@ class _AgentcoreMemoryState:
|
|
|
241
241
|
@pulumi.getter(name="eventExpiryDuration")
|
|
242
242
|
def event_expiry_duration(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
243
243
|
"""
|
|
244
|
-
Number of
|
|
244
|
+
Number of days after which memory events expire. Must be a positive integer in the range of 7 to 365.
|
|
245
245
|
|
|
246
246
|
The following arguments are optional:
|
|
247
247
|
"""
|
|
@@ -362,12 +362,26 @@ class AgentcoreMemory(pulumi.CustomResource):
|
|
|
362
362
|
role=example.name,
|
|
363
363
|
policy_arn="arn:aws:iam::aws:policy/AmazonBedrockAgentCoreMemoryBedrockModelInferenceExecutionRolePolicy")
|
|
364
364
|
example_agentcore_memory = aws.bedrock.AgentcoreMemory("example",
|
|
365
|
-
name="
|
|
365
|
+
name="example_memory",
|
|
366
366
|
event_expiry_duration=30)
|
|
367
367
|
```
|
|
368
368
|
|
|
369
369
|
### Memory with Custom Encryption and Role
|
|
370
370
|
|
|
371
|
+
```python
|
|
372
|
+
import pulumi
|
|
373
|
+
import pulumi_aws as aws
|
|
374
|
+
|
|
375
|
+
example = aws.kms.Key("example", description="KMS key for Bedrock AgentCore Memory")
|
|
376
|
+
example_agentcore_memory = aws.bedrock.AgentcoreMemory("example",
|
|
377
|
+
name="example_memory",
|
|
378
|
+
description="Memory for customer service agent",
|
|
379
|
+
event_expiry_duration=60,
|
|
380
|
+
encryption_key_arn=example.arn,
|
|
381
|
+
memory_execution_role_arn=example_aws_iam_role["arn"],
|
|
382
|
+
client_token="unique-client-token")
|
|
383
|
+
```
|
|
384
|
+
|
|
371
385
|
## Import
|
|
372
386
|
|
|
373
387
|
Using `pulumi import`, import Bedrock AgentCore Memory using the memory ID. For example:
|
|
@@ -380,7 +394,7 @@ class AgentcoreMemory(pulumi.CustomResource):
|
|
|
380
394
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
381
395
|
:param pulumi.Input[_builtins.str] description: Description of the memory.
|
|
382
396
|
:param pulumi.Input[_builtins.str] encryption_key_arn: ARN of the KMS key used to encrypt the memory. If not provided, AWS managed encryption is used.
|
|
383
|
-
:param pulumi.Input[_builtins.int] event_expiry_duration: Number of
|
|
397
|
+
:param pulumi.Input[_builtins.int] event_expiry_duration: Number of days after which memory events expire. Must be a positive integer in the range of 7 to 365.
|
|
384
398
|
|
|
385
399
|
The following arguments are optional:
|
|
386
400
|
:param pulumi.Input[_builtins.str] memory_execution_role_arn: ARN of the IAM role that the memory service assumes to perform operations. Required when using custom memory strategies with model processing.
|
|
@@ -420,12 +434,26 @@ class AgentcoreMemory(pulumi.CustomResource):
|
|
|
420
434
|
role=example.name,
|
|
421
435
|
policy_arn="arn:aws:iam::aws:policy/AmazonBedrockAgentCoreMemoryBedrockModelInferenceExecutionRolePolicy")
|
|
422
436
|
example_agentcore_memory = aws.bedrock.AgentcoreMemory("example",
|
|
423
|
-
name="
|
|
437
|
+
name="example_memory",
|
|
424
438
|
event_expiry_duration=30)
|
|
425
439
|
```
|
|
426
440
|
|
|
427
441
|
### Memory with Custom Encryption and Role
|
|
428
442
|
|
|
443
|
+
```python
|
|
444
|
+
import pulumi
|
|
445
|
+
import pulumi_aws as aws
|
|
446
|
+
|
|
447
|
+
example = aws.kms.Key("example", description="KMS key for Bedrock AgentCore Memory")
|
|
448
|
+
example_agentcore_memory = aws.bedrock.AgentcoreMemory("example",
|
|
449
|
+
name="example_memory",
|
|
450
|
+
description="Memory for customer service agent",
|
|
451
|
+
event_expiry_duration=60,
|
|
452
|
+
encryption_key_arn=example.arn,
|
|
453
|
+
memory_execution_role_arn=example_aws_iam_role["arn"],
|
|
454
|
+
client_token="unique-client-token")
|
|
455
|
+
```
|
|
456
|
+
|
|
429
457
|
## Import
|
|
430
458
|
|
|
431
459
|
Using `pulumi import`, import Bedrock AgentCore Memory using the memory ID. For example:
|
|
@@ -508,7 +536,7 @@ class AgentcoreMemory(pulumi.CustomResource):
|
|
|
508
536
|
:param pulumi.Input[_builtins.str] arn: ARN of the Memory.
|
|
509
537
|
:param pulumi.Input[_builtins.str] description: Description of the memory.
|
|
510
538
|
:param pulumi.Input[_builtins.str] encryption_key_arn: ARN of the KMS key used to encrypt the memory. If not provided, AWS managed encryption is used.
|
|
511
|
-
:param pulumi.Input[_builtins.int] event_expiry_duration: Number of
|
|
539
|
+
:param pulumi.Input[_builtins.int] event_expiry_duration: Number of days after which memory events expire. Must be a positive integer in the range of 7 to 365.
|
|
512
540
|
|
|
513
541
|
The following arguments are optional:
|
|
514
542
|
:param pulumi.Input[_builtins.str] memory_execution_role_arn: ARN of the IAM role that the memory service assumes to perform operations. Required when using custom memory strategies with model processing.
|
|
@@ -561,7 +589,7 @@ class AgentcoreMemory(pulumi.CustomResource):
|
|
|
561
589
|
@pulumi.getter(name="eventExpiryDuration")
|
|
562
590
|
def event_expiry_duration(self) -> pulumi.Output[_builtins.int]:
|
|
563
591
|
"""
|
|
564
|
-
Number of
|
|
592
|
+
Number of days after which memory events expire. Must be a positive integer in the range of 7 to 365.
|
|
565
593
|
|
|
566
594
|
The following arguments are optional:
|
|
567
595
|
"""
|
|
@@ -234,6 +234,25 @@ class AgentcoreOauth2CredentialProvider(pulumi.CustomResource):
|
|
|
234
234
|
|
|
235
235
|
### Custom OAuth Provider with Discovery URL
|
|
236
236
|
|
|
237
|
+
```python
|
|
238
|
+
import pulumi
|
|
239
|
+
import pulumi_aws as aws
|
|
240
|
+
|
|
241
|
+
auth0 = aws.bedrock.AgentcoreOauth2CredentialProvider("auth0",
|
|
242
|
+
name="auth0-oauth-provider",
|
|
243
|
+
credential_provider_vendor="CustomOauth2",
|
|
244
|
+
custom_oauth2_provider_config=[{
|
|
245
|
+
"custom": [{
|
|
246
|
+
"clientIdWo": "auth0-client-id",
|
|
247
|
+
"clientSecretWo": "auth0-client-secret",
|
|
248
|
+
"clientCredentialsWoVersion": 1,
|
|
249
|
+
"oauthDiscovery": [{
|
|
250
|
+
"discoveryUrl": "https://dev-company.auth0.com/.well-known/openid-configuration",
|
|
251
|
+
}],
|
|
252
|
+
}],
|
|
253
|
+
}])
|
|
254
|
+
```
|
|
255
|
+
|
|
237
256
|
### Custom OAuth Provider with Authorization Server Metadata
|
|
238
257
|
|
|
239
258
|
```python
|
|
@@ -308,6 +327,25 @@ class AgentcoreOauth2CredentialProvider(pulumi.CustomResource):
|
|
|
308
327
|
|
|
309
328
|
### Custom OAuth Provider with Discovery URL
|
|
310
329
|
|
|
330
|
+
```python
|
|
331
|
+
import pulumi
|
|
332
|
+
import pulumi_aws as aws
|
|
333
|
+
|
|
334
|
+
auth0 = aws.bedrock.AgentcoreOauth2CredentialProvider("auth0",
|
|
335
|
+
name="auth0-oauth-provider",
|
|
336
|
+
credential_provider_vendor="CustomOauth2",
|
|
337
|
+
custom_oauth2_provider_config=[{
|
|
338
|
+
"custom": [{
|
|
339
|
+
"clientIdWo": "auth0-client-id",
|
|
340
|
+
"clientSecretWo": "auth0-client-secret",
|
|
341
|
+
"clientCredentialsWoVersion": 1,
|
|
342
|
+
"oauthDiscovery": [{
|
|
343
|
+
"discoveryUrl": "https://dev-company.auth0.com/.well-known/openid-configuration",
|
|
344
|
+
}],
|
|
345
|
+
}],
|
|
346
|
+
}])
|
|
347
|
+
```
|
|
348
|
+
|
|
311
349
|
### Custom OAuth Provider with Authorization Server Metadata
|
|
312
350
|
|
|
313
351
|
```python
|
pulumi_aws/bedrock/outputs.py
CHANGED
|
@@ -192,7 +192,7 @@ __all__ = [
|
|
|
192
192
|
'AgentcoreAgentRuntimeWorkloadIdentityDetail',
|
|
193
193
|
'AgentcoreApiKeyCredentialProviderApiKeySecretArn',
|
|
194
194
|
'AgentcoreBrowserNetworkConfiguration',
|
|
195
|
-
'
|
|
195
|
+
'AgentcoreBrowserNetworkConfigurationVpcConfig',
|
|
196
196
|
'AgentcoreBrowserRecording',
|
|
197
197
|
'AgentcoreBrowserRecordingS3Location',
|
|
198
198
|
'AgentcoreBrowserTimeouts',
|
|
@@ -231,6 +231,7 @@ __all__ = [
|
|
|
231
231
|
'AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyItemsProperty',
|
|
232
232
|
'AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaInlinePayloadOutputSchemaPropertyProperty',
|
|
233
233
|
'AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaS3',
|
|
234
|
+
'AgentcoreGatewayTargetTargetConfigurationMcpMcpServer',
|
|
234
235
|
'AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchema',
|
|
235
236
|
'AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaInlinePayload',
|
|
236
237
|
'AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaS3',
|
|
@@ -7774,8 +7775,8 @@ class AgentcoreBrowserNetworkConfiguration(dict):
|
|
|
7774
7775
|
suggest = None
|
|
7775
7776
|
if key == "networkMode":
|
|
7776
7777
|
suggest = "network_mode"
|
|
7777
|
-
elif key == "
|
|
7778
|
-
suggest = "
|
|
7778
|
+
elif key == "vpcConfig":
|
|
7779
|
+
suggest = "vpc_config"
|
|
7779
7780
|
|
|
7780
7781
|
if suggest:
|
|
7781
7782
|
pulumi.log.warn(f"Key '{key}' not found in AgentcoreBrowserNetworkConfiguration. Access the value via the '{suggest}' property getter instead.")
|
|
@@ -7790,30 +7791,34 @@ class AgentcoreBrowserNetworkConfiguration(dict):
|
|
|
7790
7791
|
|
|
7791
7792
|
def __init__(__self__, *,
|
|
7792
7793
|
network_mode: _builtins.str,
|
|
7793
|
-
|
|
7794
|
+
vpc_config: Optional['outputs.AgentcoreBrowserNetworkConfigurationVpcConfig'] = None):
|
|
7794
7795
|
"""
|
|
7795
|
-
:param _builtins.str network_mode: Network mode for the browser. Valid values: `PUBLIC`, `
|
|
7796
|
+
:param _builtins.str network_mode: Network mode for the browser. Valid values: `PUBLIC`, `VPC`.
|
|
7797
|
+
:param 'AgentcoreBrowserNetworkConfigurationVpcConfigArgs' vpc_config: VPC configuration when `network_mode` is `VPC`. See `vpc_config` below.
|
|
7796
7798
|
"""
|
|
7797
7799
|
pulumi.set(__self__, "network_mode", network_mode)
|
|
7798
|
-
if
|
|
7799
|
-
pulumi.set(__self__, "
|
|
7800
|
+
if vpc_config is not None:
|
|
7801
|
+
pulumi.set(__self__, "vpc_config", vpc_config)
|
|
7800
7802
|
|
|
7801
7803
|
@_builtins.property
|
|
7802
7804
|
@pulumi.getter(name="networkMode")
|
|
7803
7805
|
def network_mode(self) -> _builtins.str:
|
|
7804
7806
|
"""
|
|
7805
|
-
Network mode for the browser. Valid values: `PUBLIC`, `
|
|
7807
|
+
Network mode for the browser. Valid values: `PUBLIC`, `VPC`.
|
|
7806
7808
|
"""
|
|
7807
7809
|
return pulumi.get(self, "network_mode")
|
|
7808
7810
|
|
|
7809
7811
|
@_builtins.property
|
|
7810
|
-
@pulumi.getter(name="
|
|
7811
|
-
def
|
|
7812
|
-
|
|
7812
|
+
@pulumi.getter(name="vpcConfig")
|
|
7813
|
+
def vpc_config(self) -> Optional['outputs.AgentcoreBrowserNetworkConfigurationVpcConfig']:
|
|
7814
|
+
"""
|
|
7815
|
+
VPC configuration when `network_mode` is `VPC`. See `vpc_config` below.
|
|
7816
|
+
"""
|
|
7817
|
+
return pulumi.get(self, "vpc_config")
|
|
7813
7818
|
|
|
7814
7819
|
|
|
7815
7820
|
@pulumi.output_type
|
|
7816
|
-
class
|
|
7821
|
+
class AgentcoreBrowserNetworkConfigurationVpcConfig(dict):
|
|
7817
7822
|
@staticmethod
|
|
7818
7823
|
def __key_warning(key: str):
|
|
7819
7824
|
suggest = None
|
|
@@ -7821,30 +7826,40 @@ class AgentcoreBrowserNetworkConfigurationNetworkModeConfig(dict):
|
|
|
7821
7826
|
suggest = "security_groups"
|
|
7822
7827
|
|
|
7823
7828
|
if suggest:
|
|
7824
|
-
pulumi.log.warn(f"Key '{key}' not found in
|
|
7829
|
+
pulumi.log.warn(f"Key '{key}' not found in AgentcoreBrowserNetworkConfigurationVpcConfig. Access the value via the '{suggest}' property getter instead.")
|
|
7825
7830
|
|
|
7826
7831
|
def __getitem__(self, key: str) -> Any:
|
|
7827
|
-
|
|
7832
|
+
AgentcoreBrowserNetworkConfigurationVpcConfig.__key_warning(key)
|
|
7828
7833
|
return super().__getitem__(key)
|
|
7829
7834
|
|
|
7830
7835
|
def get(self, key: str, default = None) -> Any:
|
|
7831
|
-
|
|
7836
|
+
AgentcoreBrowserNetworkConfigurationVpcConfig.__key_warning(key)
|
|
7832
7837
|
return super().get(key, default)
|
|
7833
7838
|
|
|
7834
7839
|
def __init__(__self__, *,
|
|
7835
7840
|
security_groups: Sequence[_builtins.str],
|
|
7836
7841
|
subnets: Sequence[_builtins.str]):
|
|
7842
|
+
"""
|
|
7843
|
+
:param Sequence[_builtins.str] security_groups: Set of security group IDs for the VPC configuration.
|
|
7844
|
+
:param Sequence[_builtins.str] subnets: Set of subnet IDs for the VPC configuration.
|
|
7845
|
+
"""
|
|
7837
7846
|
pulumi.set(__self__, "security_groups", security_groups)
|
|
7838
7847
|
pulumi.set(__self__, "subnets", subnets)
|
|
7839
7848
|
|
|
7840
7849
|
@_builtins.property
|
|
7841
7850
|
@pulumi.getter(name="securityGroups")
|
|
7842
7851
|
def security_groups(self) -> Sequence[_builtins.str]:
|
|
7852
|
+
"""
|
|
7853
|
+
Set of security group IDs for the VPC configuration.
|
|
7854
|
+
"""
|
|
7843
7855
|
return pulumi.get(self, "security_groups")
|
|
7844
7856
|
|
|
7845
7857
|
@_builtins.property
|
|
7846
7858
|
@pulumi.getter
|
|
7847
7859
|
def subnets(self) -> Sequence[_builtins.str]:
|
|
7860
|
+
"""
|
|
7861
|
+
Set of subnet IDs for the VPC configuration.
|
|
7862
|
+
"""
|
|
7848
7863
|
return pulumi.get(self, "subnets")
|
|
7849
7864
|
|
|
7850
7865
|
|
|
@@ -8227,7 +8242,7 @@ class AgentcoreGatewayProtocolConfigurationMcp(dict):
|
|
|
8227
8242
|
supported_versions: Optional[Sequence[_builtins.str]] = None):
|
|
8228
8243
|
"""
|
|
8229
8244
|
:param _builtins.str instructions: Instructions for the MCP protocol configuration.
|
|
8230
|
-
:param _builtins.str search_type: Search type for MCP. Valid values: `SEMANTIC
|
|
8245
|
+
:param _builtins.str search_type: Search type for MCP. Valid values: `SEMANTIC`.
|
|
8231
8246
|
:param Sequence[_builtins.str] supported_versions: Set of supported MCP protocol versions.
|
|
8232
8247
|
"""
|
|
8233
8248
|
if instructions is not None:
|
|
@@ -8249,7 +8264,7 @@ class AgentcoreGatewayProtocolConfigurationMcp(dict):
|
|
|
8249
8264
|
@pulumi.getter(name="searchType")
|
|
8250
8265
|
def search_type(self) -> Optional[_builtins.str]:
|
|
8251
8266
|
"""
|
|
8252
|
-
Search type for MCP. Valid values: `SEMANTIC
|
|
8267
|
+
Search type for MCP. Valid values: `SEMANTIC`.
|
|
8253
8268
|
"""
|
|
8254
8269
|
return pulumi.get(self, "search_type")
|
|
8255
8270
|
|
|
@@ -8493,6 +8508,8 @@ class AgentcoreGatewayTargetTargetConfigurationMcp(dict):
|
|
|
8493
8508
|
suggest = None
|
|
8494
8509
|
if key == "lambda":
|
|
8495
8510
|
suggest = "lambda_"
|
|
8511
|
+
elif key == "mcpServer":
|
|
8512
|
+
suggest = "mcp_server"
|
|
8496
8513
|
elif key == "openApiSchema":
|
|
8497
8514
|
suggest = "open_api_schema"
|
|
8498
8515
|
elif key == "smithyModel":
|
|
@@ -8511,15 +8528,19 @@ class AgentcoreGatewayTargetTargetConfigurationMcp(dict):
|
|
|
8511
8528
|
|
|
8512
8529
|
def __init__(__self__, *,
|
|
8513
8530
|
lambda_: Optional['outputs.AgentcoreGatewayTargetTargetConfigurationMcpLambda'] = None,
|
|
8531
|
+
mcp_server: Optional['outputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServer'] = None,
|
|
8514
8532
|
open_api_schema: Optional['outputs.AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchema'] = None,
|
|
8515
8533
|
smithy_model: Optional['outputs.AgentcoreGatewayTargetTargetConfigurationMcpSmithyModel'] = None):
|
|
8516
8534
|
"""
|
|
8517
8535
|
:param 'AgentcoreGatewayTargetTargetConfigurationMcpLambdaArgs' lambda_: Lambda function target configuration. See `lambda` below.
|
|
8536
|
+
:param 'AgentcoreGatewayTargetTargetConfigurationMcpMcpServerArgs' mcp_server: MCP server target configuration. See `mcp_server` below.
|
|
8518
8537
|
:param 'AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchemaArgs' open_api_schema: OpenAPI schema-based target configuration. See `api_schema_configuration` below.
|
|
8519
8538
|
:param 'AgentcoreGatewayTargetTargetConfigurationMcpSmithyModelArgs' smithy_model: Smithy model-based target configuration. See `api_schema_configuration` below.
|
|
8520
8539
|
"""
|
|
8521
8540
|
if lambda_ is not None:
|
|
8522
8541
|
pulumi.set(__self__, "lambda_", lambda_)
|
|
8542
|
+
if mcp_server is not None:
|
|
8543
|
+
pulumi.set(__self__, "mcp_server", mcp_server)
|
|
8523
8544
|
if open_api_schema is not None:
|
|
8524
8545
|
pulumi.set(__self__, "open_api_schema", open_api_schema)
|
|
8525
8546
|
if smithy_model is not None:
|
|
@@ -8533,6 +8554,14 @@ class AgentcoreGatewayTargetTargetConfigurationMcp(dict):
|
|
|
8533
8554
|
"""
|
|
8534
8555
|
return pulumi.get(self, "lambda_")
|
|
8535
8556
|
|
|
8557
|
+
@_builtins.property
|
|
8558
|
+
@pulumi.getter(name="mcpServer")
|
|
8559
|
+
def mcp_server(self) -> Optional['outputs.AgentcoreGatewayTargetTargetConfigurationMcpMcpServer']:
|
|
8560
|
+
"""
|
|
8561
|
+
MCP server target configuration. See `mcp_server` below.
|
|
8562
|
+
"""
|
|
8563
|
+
return pulumi.get(self, "mcp_server")
|
|
8564
|
+
|
|
8536
8565
|
@_builtins.property
|
|
8537
8566
|
@pulumi.getter(name="openApiSchema")
|
|
8538
8567
|
def open_api_schema(self) -> Optional['outputs.AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchema']:
|
|
@@ -10089,6 +10118,24 @@ class AgentcoreGatewayTargetTargetConfigurationMcpLambdaToolSchemaS3(dict):
|
|
|
10089
10118
|
return pulumi.get(self, "uri")
|
|
10090
10119
|
|
|
10091
10120
|
|
|
10121
|
+
@pulumi.output_type
|
|
10122
|
+
class AgentcoreGatewayTargetTargetConfigurationMcpMcpServer(dict):
|
|
10123
|
+
def __init__(__self__, *,
|
|
10124
|
+
endpoint: _builtins.str):
|
|
10125
|
+
"""
|
|
10126
|
+
:param _builtins.str endpoint: Endpoint for the MCP server target configuration.
|
|
10127
|
+
"""
|
|
10128
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
|
10129
|
+
|
|
10130
|
+
@_builtins.property
|
|
10131
|
+
@pulumi.getter
|
|
10132
|
+
def endpoint(self) -> _builtins.str:
|
|
10133
|
+
"""
|
|
10134
|
+
Endpoint for the MCP server target configuration.
|
|
10135
|
+
"""
|
|
10136
|
+
return pulumi.get(self, "endpoint")
|
|
10137
|
+
|
|
10138
|
+
|
|
10092
10139
|
@pulumi.output_type
|
|
10093
10140
|
class AgentcoreGatewayTargetTargetConfigurationMcpOpenApiSchema(dict):
|
|
10094
10141
|
@staticmethod
|