aws-cdk-lib 2.216.0__py3-none-any.whl → 2.217.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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +60 -28
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.216.0.jsii.tgz → aws-cdk-lib@2.217.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amplify/__init__.py +8 -8
- aws_cdk/aws_apigateway/__init__.py +26 -6
- aws_cdk/aws_apigatewayv2/__init__.py +2 -2
- aws_cdk/aws_appmesh/__init__.py +12 -12
- aws_cdk/aws_appstream/__init__.py +14 -4
- aws_cdk/aws_appsync/__init__.py +3 -3
- aws_cdk/aws_aps/__init__.py +459 -0
- aws_cdk/aws_batch/__init__.py +6 -2
- aws_cdk/aws_bedrock/__init__.py +132 -0
- aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
- aws_cdk/aws_certificatemanager/__init__.py +9 -10
- aws_cdk/aws_cleanrooms/__init__.py +163 -0
- aws_cdk/aws_cloudformation/__init__.py +14 -14
- aws_cdk/aws_cloudfront/__init__.py +12 -8
- aws_cdk/aws_cognito/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +138 -10
- aws_cdk/aws_cur/__init__.py +57 -3
- aws_cdk/aws_datasync/__init__.py +351 -0
- aws_cdk/aws_datazone/__init__.py +675 -2
- aws_cdk/aws_dynamodb/__init__.py +123 -0
- aws_cdk/aws_ec2/__init__.py +55 -10
- aws_cdk/aws_ecs/__init__.py +55 -12
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +48 -0
- aws_cdk/aws_elasticsearch/__init__.py +2 -2
- aws_cdk/aws_evs/__init__.py +58 -4
- aws_cdk/aws_gamelift/__init__.py +72 -56
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +35 -38
- aws_cdk/aws_iotsitewise/__init__.py +75 -111
- aws_cdk/aws_kms/__init__.py +10 -2
- aws_cdk/aws_lambda/__init__.py +46 -0
- aws_cdk/aws_medialive/__init__.py +127 -0
- aws_cdk/aws_mediapackage/__init__.py +2 -2
- aws_cdk/aws_networkfirewall/__init__.py +10 -10
- aws_cdk/aws_networkmanager/__init__.py +63 -0
- aws_cdk/aws_odb/__init__.py +2082 -195
- aws_cdk/aws_omics/__init__.py +1414 -171
- aws_cdk/aws_opensearchserverless/__init__.py +164 -21
- aws_cdk/aws_opensearchservice/__init__.py +5 -4
- aws_cdk/aws_pcs/__init__.py +9 -9
- aws_cdk/aws_quicksight/__init__.py +295 -3
- aws_cdk/aws_rds/__init__.py +338 -58
- aws_cdk/aws_sagemaker/__init__.py +251 -1
- aws_cdk/aws_servicecatalog/__init__.py +162 -154
- aws_cdk/aws_smsvoice/__init__.py +5218 -0
- aws_cdk/aws_transfer/__init__.py +13 -12
- aws_cdk/aws_verifiedpermissions/__init__.py +1 -1
- aws_cdk/aws_workspacesinstances/__init__.py +641 -2
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/RECORD +58 -56
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,3178 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# AWS::BedrockAgentCore Construct Library
|
|
3
|
+
|
|
4
|
+
<!--BEGIN STABILITY BANNER-->---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
> All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
<!--END STABILITY BANNER-->
|
|
13
|
+
|
|
14
|
+
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
15
|
+
|
|
16
|
+
```python
|
|
17
|
+
import aws_cdk.aws_bedrockagentcore as bedrockagentcore
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
21
|
+
|
|
22
|
+
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
23
|
+
|
|
24
|
+
* Search [Construct Hub for BedrockAgentCore construct libraries](https://constructs.dev/search?q=bedrockagentcore)
|
|
25
|
+
* Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::BedrockAgentCore resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_BedrockAgentCore.html) directly.
|
|
26
|
+
|
|
27
|
+
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
28
|
+
|
|
29
|
+
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
30
|
+
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
31
|
+
|
|
32
|
+
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::BedrockAgentCore](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_BedrockAgentCore.html).
|
|
33
|
+
|
|
34
|
+
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
35
|
+
|
|
36
|
+
<!--END CFNONLY DISCLAIMER-->
|
|
37
|
+
'''
|
|
38
|
+
from pkgutil import extend_path
|
|
39
|
+
__path__ = extend_path(__path__, __name__)
|
|
40
|
+
|
|
41
|
+
import abc
|
|
42
|
+
import builtins
|
|
43
|
+
import datetime
|
|
44
|
+
import enum
|
|
45
|
+
import typing
|
|
46
|
+
|
|
47
|
+
import jsii
|
|
48
|
+
import publication
|
|
49
|
+
import typing_extensions
|
|
50
|
+
|
|
51
|
+
import typeguard
|
|
52
|
+
from importlib.metadata import version as _metadata_package_version
|
|
53
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
54
|
+
|
|
55
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
56
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
57
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
58
|
+
else:
|
|
59
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
60
|
+
pass
|
|
61
|
+
else:
|
|
62
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
63
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
64
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
65
|
+
else:
|
|
66
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
67
|
+
|
|
68
|
+
from .._jsii import *
|
|
69
|
+
|
|
70
|
+
import constructs as _constructs_77d1e7e8
|
|
71
|
+
from .. import (
|
|
72
|
+
CfnResource as _CfnResource_9df397a6,
|
|
73
|
+
IInspectable as _IInspectable_c2943556,
|
|
74
|
+
IResolvable as _IResolvable_da3f097b,
|
|
75
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
76
|
+
TagManager as _TagManager_0a598cb3,
|
|
77
|
+
TreeInspector as _TreeInspector_488e0dd5,
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
@jsii.data_type(
|
|
82
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.BrowserCustomReference",
|
|
83
|
+
jsii_struct_bases=[],
|
|
84
|
+
name_mapping={"browser_id": "browserId"},
|
|
85
|
+
)
|
|
86
|
+
class BrowserCustomReference:
|
|
87
|
+
def __init__(self, *, browser_id: builtins.str) -> None:
|
|
88
|
+
'''A reference to a BrowserCustom resource.
|
|
89
|
+
|
|
90
|
+
:param browser_id: The BrowserId of the BrowserCustom resource.
|
|
91
|
+
|
|
92
|
+
:exampleMetadata: fixture=_generated
|
|
93
|
+
|
|
94
|
+
Example::
|
|
95
|
+
|
|
96
|
+
# The code below shows an example of how to instantiate this type.
|
|
97
|
+
# The values are placeholders you should change.
|
|
98
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
99
|
+
|
|
100
|
+
browser_custom_reference = bedrockagentcore.BrowserCustomReference(
|
|
101
|
+
browser_id="browserId"
|
|
102
|
+
)
|
|
103
|
+
'''
|
|
104
|
+
if __debug__:
|
|
105
|
+
type_hints = typing.get_type_hints(_typecheckingstub__45e545da2b3da370563839cf7802f81e77f186bac4ddee7d944e49364fcf8806)
|
|
106
|
+
check_type(argname="argument browser_id", value=browser_id, expected_type=type_hints["browser_id"])
|
|
107
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
108
|
+
"browser_id": browser_id,
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@builtins.property
|
|
112
|
+
def browser_id(self) -> builtins.str:
|
|
113
|
+
'''The BrowserId of the BrowserCustom resource.'''
|
|
114
|
+
result = self._values.get("browser_id")
|
|
115
|
+
assert result is not None, "Required property 'browser_id' is missing"
|
|
116
|
+
return typing.cast(builtins.str, result)
|
|
117
|
+
|
|
118
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
119
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
120
|
+
|
|
121
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
122
|
+
return not (rhs == self)
|
|
123
|
+
|
|
124
|
+
def __repr__(self) -> str:
|
|
125
|
+
return "BrowserCustomReference(%s)" % ", ".join(
|
|
126
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
@jsii.data_type(
|
|
131
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustomProps",
|
|
132
|
+
jsii_struct_bases=[],
|
|
133
|
+
name_mapping={
|
|
134
|
+
"name": "name",
|
|
135
|
+
"network_configuration": "networkConfiguration",
|
|
136
|
+
"description": "description",
|
|
137
|
+
"execution_role_arn": "executionRoleArn",
|
|
138
|
+
"recording_config": "recordingConfig",
|
|
139
|
+
"tags": "tags",
|
|
140
|
+
},
|
|
141
|
+
)
|
|
142
|
+
class CfnBrowserCustomProps:
|
|
143
|
+
def __init__(
|
|
144
|
+
self,
|
|
145
|
+
*,
|
|
146
|
+
name: builtins.str,
|
|
147
|
+
network_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnBrowserCustom.BrowserNetworkConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
148
|
+
description: typing.Optional[builtins.str] = None,
|
|
149
|
+
execution_role_arn: typing.Optional[builtins.str] = None,
|
|
150
|
+
recording_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBrowserCustom.RecordingConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
151
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
152
|
+
) -> None:
|
|
153
|
+
'''Properties for defining a ``CfnBrowserCustom``.
|
|
154
|
+
|
|
155
|
+
:param name: The name of the browser.
|
|
156
|
+
:param network_configuration: Network configuration for browser.
|
|
157
|
+
:param description: The description of the browser.
|
|
158
|
+
:param execution_role_arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
159
|
+
:param recording_config: Recording configuration for browser.
|
|
160
|
+
:param tags: A map of tag keys and values.
|
|
161
|
+
|
|
162
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html
|
|
163
|
+
:exampleMetadata: fixture=_generated
|
|
164
|
+
|
|
165
|
+
Example::
|
|
166
|
+
|
|
167
|
+
# The code below shows an example of how to instantiate this type.
|
|
168
|
+
# The values are placeholders you should change.
|
|
169
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
170
|
+
|
|
171
|
+
cfn_browser_custom_props = bedrockagentcore.CfnBrowserCustomProps(
|
|
172
|
+
name="name",
|
|
173
|
+
network_configuration=bedrockagentcore.CfnBrowserCustom.BrowserNetworkConfigurationProperty(
|
|
174
|
+
network_mode="networkMode"
|
|
175
|
+
),
|
|
176
|
+
|
|
177
|
+
# the properties below are optional
|
|
178
|
+
description="description",
|
|
179
|
+
execution_role_arn="executionRoleArn",
|
|
180
|
+
recording_config=bedrockagentcore.CfnBrowserCustom.RecordingConfigProperty(
|
|
181
|
+
enabled=False,
|
|
182
|
+
s3_location=bedrockagentcore.CfnBrowserCustom.S3LocationProperty(
|
|
183
|
+
bucket="bucket",
|
|
184
|
+
prefix="prefix"
|
|
185
|
+
)
|
|
186
|
+
),
|
|
187
|
+
tags={
|
|
188
|
+
"tags_key": "tags"
|
|
189
|
+
}
|
|
190
|
+
)
|
|
191
|
+
'''
|
|
192
|
+
if __debug__:
|
|
193
|
+
type_hints = typing.get_type_hints(_typecheckingstub__08f9adb5e20b52bbdc47438decbd54e3ebb4b1976cbf46432a19597fc6589c39)
|
|
194
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
195
|
+
check_type(argname="argument network_configuration", value=network_configuration, expected_type=type_hints["network_configuration"])
|
|
196
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
197
|
+
check_type(argname="argument execution_role_arn", value=execution_role_arn, expected_type=type_hints["execution_role_arn"])
|
|
198
|
+
check_type(argname="argument recording_config", value=recording_config, expected_type=type_hints["recording_config"])
|
|
199
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
200
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
201
|
+
"name": name,
|
|
202
|
+
"network_configuration": network_configuration,
|
|
203
|
+
}
|
|
204
|
+
if description is not None:
|
|
205
|
+
self._values["description"] = description
|
|
206
|
+
if execution_role_arn is not None:
|
|
207
|
+
self._values["execution_role_arn"] = execution_role_arn
|
|
208
|
+
if recording_config is not None:
|
|
209
|
+
self._values["recording_config"] = recording_config
|
|
210
|
+
if tags is not None:
|
|
211
|
+
self._values["tags"] = tags
|
|
212
|
+
|
|
213
|
+
@builtins.property
|
|
214
|
+
def name(self) -> builtins.str:
|
|
215
|
+
'''The name of the browser.
|
|
216
|
+
|
|
217
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-name
|
|
218
|
+
'''
|
|
219
|
+
result = self._values.get("name")
|
|
220
|
+
assert result is not None, "Required property 'name' is missing"
|
|
221
|
+
return typing.cast(builtins.str, result)
|
|
222
|
+
|
|
223
|
+
@builtins.property
|
|
224
|
+
def network_configuration(
|
|
225
|
+
self,
|
|
226
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnBrowserCustom.BrowserNetworkConfigurationProperty"]:
|
|
227
|
+
'''Network configuration for browser.
|
|
228
|
+
|
|
229
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-networkconfiguration
|
|
230
|
+
'''
|
|
231
|
+
result = self._values.get("network_configuration")
|
|
232
|
+
assert result is not None, "Required property 'network_configuration' is missing"
|
|
233
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnBrowserCustom.BrowserNetworkConfigurationProperty"], result)
|
|
234
|
+
|
|
235
|
+
@builtins.property
|
|
236
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
237
|
+
'''The description of the browser.
|
|
238
|
+
|
|
239
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-description
|
|
240
|
+
'''
|
|
241
|
+
result = self._values.get("description")
|
|
242
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
243
|
+
|
|
244
|
+
@builtins.property
|
|
245
|
+
def execution_role_arn(self) -> typing.Optional[builtins.str]:
|
|
246
|
+
'''The Amazon Resource Name (ARN) of the IAM role.
|
|
247
|
+
|
|
248
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-executionrolearn
|
|
249
|
+
'''
|
|
250
|
+
result = self._values.get("execution_role_arn")
|
|
251
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
252
|
+
|
|
253
|
+
@builtins.property
|
|
254
|
+
def recording_config(
|
|
255
|
+
self,
|
|
256
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBrowserCustom.RecordingConfigProperty"]]:
|
|
257
|
+
'''Recording configuration for browser.
|
|
258
|
+
|
|
259
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-recordingconfig
|
|
260
|
+
'''
|
|
261
|
+
result = self._values.get("recording_config")
|
|
262
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBrowserCustom.RecordingConfigProperty"]], result)
|
|
263
|
+
|
|
264
|
+
@builtins.property
|
|
265
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
266
|
+
'''A map of tag keys and values.
|
|
267
|
+
|
|
268
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-tags
|
|
269
|
+
'''
|
|
270
|
+
result = self._values.get("tags")
|
|
271
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
272
|
+
|
|
273
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
274
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
275
|
+
|
|
276
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
277
|
+
return not (rhs == self)
|
|
278
|
+
|
|
279
|
+
def __repr__(self) -> str:
|
|
280
|
+
return "CfnBrowserCustomProps(%s)" % ", ".join(
|
|
281
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
282
|
+
)
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
@jsii.data_type(
|
|
286
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnCodeInterpreterCustomProps",
|
|
287
|
+
jsii_struct_bases=[],
|
|
288
|
+
name_mapping={
|
|
289
|
+
"name": "name",
|
|
290
|
+
"network_configuration": "networkConfiguration",
|
|
291
|
+
"description": "description",
|
|
292
|
+
"execution_role_arn": "executionRoleArn",
|
|
293
|
+
"tags": "tags",
|
|
294
|
+
},
|
|
295
|
+
)
|
|
296
|
+
class CfnCodeInterpreterCustomProps:
|
|
297
|
+
def __init__(
|
|
298
|
+
self,
|
|
299
|
+
*,
|
|
300
|
+
name: builtins.str,
|
|
301
|
+
network_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
302
|
+
description: typing.Optional[builtins.str] = None,
|
|
303
|
+
execution_role_arn: typing.Optional[builtins.str] = None,
|
|
304
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
305
|
+
) -> None:
|
|
306
|
+
'''Properties for defining a ``CfnCodeInterpreterCustom``.
|
|
307
|
+
|
|
308
|
+
:param name: The name of the sandbox.
|
|
309
|
+
:param network_configuration: Network configuration for code interpreter.
|
|
310
|
+
:param description: Description of the code interpreter.
|
|
311
|
+
:param execution_role_arn: The ARN of the IAM role.
|
|
312
|
+
:param tags: A map of tag keys and values.
|
|
313
|
+
|
|
314
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html
|
|
315
|
+
:exampleMetadata: fixture=_generated
|
|
316
|
+
|
|
317
|
+
Example::
|
|
318
|
+
|
|
319
|
+
# The code below shows an example of how to instantiate this type.
|
|
320
|
+
# The values are placeholders you should change.
|
|
321
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
322
|
+
|
|
323
|
+
cfn_code_interpreter_custom_props = bedrockagentcore.CfnCodeInterpreterCustomProps(
|
|
324
|
+
name="name",
|
|
325
|
+
network_configuration=bedrockagentcore.CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty(
|
|
326
|
+
network_mode="networkMode"
|
|
327
|
+
),
|
|
328
|
+
|
|
329
|
+
# the properties below are optional
|
|
330
|
+
description="description",
|
|
331
|
+
execution_role_arn="executionRoleArn",
|
|
332
|
+
tags={
|
|
333
|
+
"tags_key": "tags"
|
|
334
|
+
}
|
|
335
|
+
)
|
|
336
|
+
'''
|
|
337
|
+
if __debug__:
|
|
338
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5b5217aa9ccd0ec964b92c3a48855bb1494914c435606fcee5b0faefd790d264)
|
|
339
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
340
|
+
check_type(argname="argument network_configuration", value=network_configuration, expected_type=type_hints["network_configuration"])
|
|
341
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
342
|
+
check_type(argname="argument execution_role_arn", value=execution_role_arn, expected_type=type_hints["execution_role_arn"])
|
|
343
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
344
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
345
|
+
"name": name,
|
|
346
|
+
"network_configuration": network_configuration,
|
|
347
|
+
}
|
|
348
|
+
if description is not None:
|
|
349
|
+
self._values["description"] = description
|
|
350
|
+
if execution_role_arn is not None:
|
|
351
|
+
self._values["execution_role_arn"] = execution_role_arn
|
|
352
|
+
if tags is not None:
|
|
353
|
+
self._values["tags"] = tags
|
|
354
|
+
|
|
355
|
+
@builtins.property
|
|
356
|
+
def name(self) -> builtins.str:
|
|
357
|
+
'''The name of the sandbox.
|
|
358
|
+
|
|
359
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-name
|
|
360
|
+
'''
|
|
361
|
+
result = self._values.get("name")
|
|
362
|
+
assert result is not None, "Required property 'name' is missing"
|
|
363
|
+
return typing.cast(builtins.str, result)
|
|
364
|
+
|
|
365
|
+
@builtins.property
|
|
366
|
+
def network_configuration(
|
|
367
|
+
self,
|
|
368
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty"]:
|
|
369
|
+
'''Network configuration for code interpreter.
|
|
370
|
+
|
|
371
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-networkconfiguration
|
|
372
|
+
'''
|
|
373
|
+
result = self._values.get("network_configuration")
|
|
374
|
+
assert result is not None, "Required property 'network_configuration' is missing"
|
|
375
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty"], result)
|
|
376
|
+
|
|
377
|
+
@builtins.property
|
|
378
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
379
|
+
'''Description of the code interpreter.
|
|
380
|
+
|
|
381
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-description
|
|
382
|
+
'''
|
|
383
|
+
result = self._values.get("description")
|
|
384
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
385
|
+
|
|
386
|
+
@builtins.property
|
|
387
|
+
def execution_role_arn(self) -> typing.Optional[builtins.str]:
|
|
388
|
+
'''The ARN of the IAM role.
|
|
389
|
+
|
|
390
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-executionrolearn
|
|
391
|
+
'''
|
|
392
|
+
result = self._values.get("execution_role_arn")
|
|
393
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
394
|
+
|
|
395
|
+
@builtins.property
|
|
396
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
397
|
+
'''A map of tag keys and values.
|
|
398
|
+
|
|
399
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-tags
|
|
400
|
+
'''
|
|
401
|
+
result = self._values.get("tags")
|
|
402
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
403
|
+
|
|
404
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
405
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
406
|
+
|
|
407
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
408
|
+
return not (rhs == self)
|
|
409
|
+
|
|
410
|
+
def __repr__(self) -> str:
|
|
411
|
+
return "CfnCodeInterpreterCustomProps(%s)" % ", ".join(
|
|
412
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
413
|
+
)
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
@jsii.data_type(
|
|
417
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnRuntimeEndpointProps",
|
|
418
|
+
jsii_struct_bases=[],
|
|
419
|
+
name_mapping={
|
|
420
|
+
"agent_runtime_id": "agentRuntimeId",
|
|
421
|
+
"name": "name",
|
|
422
|
+
"agent_runtime_version": "agentRuntimeVersion",
|
|
423
|
+
"description": "description",
|
|
424
|
+
"tags": "tags",
|
|
425
|
+
},
|
|
426
|
+
)
|
|
427
|
+
class CfnRuntimeEndpointProps:
|
|
428
|
+
def __init__(
|
|
429
|
+
self,
|
|
430
|
+
*,
|
|
431
|
+
agent_runtime_id: builtins.str,
|
|
432
|
+
name: builtins.str,
|
|
433
|
+
agent_runtime_version: typing.Optional[builtins.str] = None,
|
|
434
|
+
description: typing.Optional[builtins.str] = None,
|
|
435
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
436
|
+
) -> None:
|
|
437
|
+
'''Properties for defining a ``CfnRuntimeEndpoint``.
|
|
438
|
+
|
|
439
|
+
:param agent_runtime_id: The ID of the parent Agent Runtime.
|
|
440
|
+
:param name:
|
|
441
|
+
:param agent_runtime_version:
|
|
442
|
+
:param description:
|
|
443
|
+
:param tags: A map of tag keys and values.
|
|
444
|
+
|
|
445
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtimeendpoint.html
|
|
446
|
+
:exampleMetadata: fixture=_generated
|
|
447
|
+
|
|
448
|
+
Example::
|
|
449
|
+
|
|
450
|
+
# The code below shows an example of how to instantiate this type.
|
|
451
|
+
# The values are placeholders you should change.
|
|
452
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
453
|
+
|
|
454
|
+
cfn_runtime_endpoint_props = bedrockagentcore.CfnRuntimeEndpointProps(
|
|
455
|
+
agent_runtime_id="agentRuntimeId",
|
|
456
|
+
name="name",
|
|
457
|
+
|
|
458
|
+
# the properties below are optional
|
|
459
|
+
agent_runtime_version="agentRuntimeVersion",
|
|
460
|
+
description="description",
|
|
461
|
+
tags={
|
|
462
|
+
"tags_key": "tags"
|
|
463
|
+
}
|
|
464
|
+
)
|
|
465
|
+
'''
|
|
466
|
+
if __debug__:
|
|
467
|
+
type_hints = typing.get_type_hints(_typecheckingstub__03746d507f3e8e95afbebc436c73d1ac1fc643ccea60f817b99b76cb41ccf5fb)
|
|
468
|
+
check_type(argname="argument agent_runtime_id", value=agent_runtime_id, expected_type=type_hints["agent_runtime_id"])
|
|
469
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
470
|
+
check_type(argname="argument agent_runtime_version", value=agent_runtime_version, expected_type=type_hints["agent_runtime_version"])
|
|
471
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
472
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
473
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
474
|
+
"agent_runtime_id": agent_runtime_id,
|
|
475
|
+
"name": name,
|
|
476
|
+
}
|
|
477
|
+
if agent_runtime_version is not None:
|
|
478
|
+
self._values["agent_runtime_version"] = agent_runtime_version
|
|
479
|
+
if description is not None:
|
|
480
|
+
self._values["description"] = description
|
|
481
|
+
if tags is not None:
|
|
482
|
+
self._values["tags"] = tags
|
|
483
|
+
|
|
484
|
+
@builtins.property
|
|
485
|
+
def agent_runtime_id(self) -> builtins.str:
|
|
486
|
+
'''The ID of the parent Agent Runtime.
|
|
487
|
+
|
|
488
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtimeendpoint.html#cfn-bedrockagentcore-runtimeendpoint-agentruntimeid
|
|
489
|
+
'''
|
|
490
|
+
result = self._values.get("agent_runtime_id")
|
|
491
|
+
assert result is not None, "Required property 'agent_runtime_id' is missing"
|
|
492
|
+
return typing.cast(builtins.str, result)
|
|
493
|
+
|
|
494
|
+
@builtins.property
|
|
495
|
+
def name(self) -> builtins.str:
|
|
496
|
+
'''
|
|
497
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtimeendpoint.html#cfn-bedrockagentcore-runtimeendpoint-name
|
|
498
|
+
'''
|
|
499
|
+
result = self._values.get("name")
|
|
500
|
+
assert result is not None, "Required property 'name' is missing"
|
|
501
|
+
return typing.cast(builtins.str, result)
|
|
502
|
+
|
|
503
|
+
@builtins.property
|
|
504
|
+
def agent_runtime_version(self) -> typing.Optional[builtins.str]:
|
|
505
|
+
'''
|
|
506
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtimeendpoint.html#cfn-bedrockagentcore-runtimeendpoint-agentruntimeversion
|
|
507
|
+
'''
|
|
508
|
+
result = self._values.get("agent_runtime_version")
|
|
509
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
510
|
+
|
|
511
|
+
@builtins.property
|
|
512
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
513
|
+
'''
|
|
514
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtimeendpoint.html#cfn-bedrockagentcore-runtimeendpoint-description
|
|
515
|
+
'''
|
|
516
|
+
result = self._values.get("description")
|
|
517
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
518
|
+
|
|
519
|
+
@builtins.property
|
|
520
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
521
|
+
'''A map of tag keys and values.
|
|
522
|
+
|
|
523
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtimeendpoint.html#cfn-bedrockagentcore-runtimeendpoint-tags
|
|
524
|
+
'''
|
|
525
|
+
result = self._values.get("tags")
|
|
526
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
527
|
+
|
|
528
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
529
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
530
|
+
|
|
531
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
532
|
+
return not (rhs == self)
|
|
533
|
+
|
|
534
|
+
def __repr__(self) -> str:
|
|
535
|
+
return "CfnRuntimeEndpointProps(%s)" % ", ".join(
|
|
536
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
537
|
+
)
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
@jsii.data_type(
|
|
541
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnRuntimeProps",
|
|
542
|
+
jsii_struct_bases=[],
|
|
543
|
+
name_mapping={
|
|
544
|
+
"agent_runtime_artifact": "agentRuntimeArtifact",
|
|
545
|
+
"agent_runtime_name": "agentRuntimeName",
|
|
546
|
+
"network_configuration": "networkConfiguration",
|
|
547
|
+
"role_arn": "roleArn",
|
|
548
|
+
"authorizer_configuration": "authorizerConfiguration",
|
|
549
|
+
"description": "description",
|
|
550
|
+
"environment_variables": "environmentVariables",
|
|
551
|
+
"protocol_configuration": "protocolConfiguration",
|
|
552
|
+
"tags": "tags",
|
|
553
|
+
},
|
|
554
|
+
)
|
|
555
|
+
class CfnRuntimeProps:
|
|
556
|
+
def __init__(
|
|
557
|
+
self,
|
|
558
|
+
*,
|
|
559
|
+
agent_runtime_artifact: typing.Union[_IResolvable_da3f097b, typing.Union["CfnRuntime.AgentRuntimeArtifactProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
560
|
+
agent_runtime_name: builtins.str,
|
|
561
|
+
network_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnRuntime.NetworkConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
562
|
+
role_arn: builtins.str,
|
|
563
|
+
authorizer_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRuntime.AuthorizerConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
564
|
+
description: typing.Optional[builtins.str] = None,
|
|
565
|
+
environment_variables: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
566
|
+
protocol_configuration: typing.Optional[builtins.str] = None,
|
|
567
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
568
|
+
) -> None:
|
|
569
|
+
'''Properties for defining a ``CfnRuntime``.
|
|
570
|
+
|
|
571
|
+
:param agent_runtime_artifact:
|
|
572
|
+
:param agent_runtime_name:
|
|
573
|
+
:param network_configuration:
|
|
574
|
+
:param role_arn:
|
|
575
|
+
:param authorizer_configuration: Configuration for the authorizer.
|
|
576
|
+
:param description:
|
|
577
|
+
:param environment_variables: Environment variable attributes.
|
|
578
|
+
:param protocol_configuration:
|
|
579
|
+
:param tags: A map of tag keys and values.
|
|
580
|
+
|
|
581
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html
|
|
582
|
+
:exampleMetadata: fixture=_generated
|
|
583
|
+
|
|
584
|
+
Example::
|
|
585
|
+
|
|
586
|
+
# The code below shows an example of how to instantiate this type.
|
|
587
|
+
# The values are placeholders you should change.
|
|
588
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
589
|
+
|
|
590
|
+
cfn_runtime_props = bedrockagentcore.CfnRuntimeProps(
|
|
591
|
+
agent_runtime_artifact=bedrockagentcore.CfnRuntime.AgentRuntimeArtifactProperty(
|
|
592
|
+
container_configuration=bedrockagentcore.CfnRuntime.ContainerConfigurationProperty(
|
|
593
|
+
container_uri="containerUri"
|
|
594
|
+
)
|
|
595
|
+
),
|
|
596
|
+
agent_runtime_name="agentRuntimeName",
|
|
597
|
+
network_configuration=bedrockagentcore.CfnRuntime.NetworkConfigurationProperty(
|
|
598
|
+
network_mode="networkMode"
|
|
599
|
+
),
|
|
600
|
+
role_arn="roleArn",
|
|
601
|
+
|
|
602
|
+
# the properties below are optional
|
|
603
|
+
authorizer_configuration=bedrockagentcore.CfnRuntime.AuthorizerConfigurationProperty(
|
|
604
|
+
custom_jwt_authorizer=bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty(
|
|
605
|
+
discovery_url="discoveryUrl",
|
|
606
|
+
|
|
607
|
+
# the properties below are optional
|
|
608
|
+
allowed_audience=["allowedAudience"],
|
|
609
|
+
allowed_clients=["allowedClients"]
|
|
610
|
+
)
|
|
611
|
+
),
|
|
612
|
+
description="description",
|
|
613
|
+
environment_variables={
|
|
614
|
+
"environment_variables_key": "environmentVariables"
|
|
615
|
+
},
|
|
616
|
+
protocol_configuration="protocolConfiguration",
|
|
617
|
+
tags={
|
|
618
|
+
"tags_key": "tags"
|
|
619
|
+
}
|
|
620
|
+
)
|
|
621
|
+
'''
|
|
622
|
+
if __debug__:
|
|
623
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0e489b12cef85647a902e6bba6db3bf5f3ef1a856b74cf0fc5a7f8d1d0fa4a4b)
|
|
624
|
+
check_type(argname="argument agent_runtime_artifact", value=agent_runtime_artifact, expected_type=type_hints["agent_runtime_artifact"])
|
|
625
|
+
check_type(argname="argument agent_runtime_name", value=agent_runtime_name, expected_type=type_hints["agent_runtime_name"])
|
|
626
|
+
check_type(argname="argument network_configuration", value=network_configuration, expected_type=type_hints["network_configuration"])
|
|
627
|
+
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
628
|
+
check_type(argname="argument authorizer_configuration", value=authorizer_configuration, expected_type=type_hints["authorizer_configuration"])
|
|
629
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
630
|
+
check_type(argname="argument environment_variables", value=environment_variables, expected_type=type_hints["environment_variables"])
|
|
631
|
+
check_type(argname="argument protocol_configuration", value=protocol_configuration, expected_type=type_hints["protocol_configuration"])
|
|
632
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
633
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
634
|
+
"agent_runtime_artifact": agent_runtime_artifact,
|
|
635
|
+
"agent_runtime_name": agent_runtime_name,
|
|
636
|
+
"network_configuration": network_configuration,
|
|
637
|
+
"role_arn": role_arn,
|
|
638
|
+
}
|
|
639
|
+
if authorizer_configuration is not None:
|
|
640
|
+
self._values["authorizer_configuration"] = authorizer_configuration
|
|
641
|
+
if description is not None:
|
|
642
|
+
self._values["description"] = description
|
|
643
|
+
if environment_variables is not None:
|
|
644
|
+
self._values["environment_variables"] = environment_variables
|
|
645
|
+
if protocol_configuration is not None:
|
|
646
|
+
self._values["protocol_configuration"] = protocol_configuration
|
|
647
|
+
if tags is not None:
|
|
648
|
+
self._values["tags"] = tags
|
|
649
|
+
|
|
650
|
+
@builtins.property
|
|
651
|
+
def agent_runtime_artifact(
|
|
652
|
+
self,
|
|
653
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnRuntime.AgentRuntimeArtifactProperty"]:
|
|
654
|
+
'''
|
|
655
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-agentruntimeartifact
|
|
656
|
+
'''
|
|
657
|
+
result = self._values.get("agent_runtime_artifact")
|
|
658
|
+
assert result is not None, "Required property 'agent_runtime_artifact' is missing"
|
|
659
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnRuntime.AgentRuntimeArtifactProperty"], result)
|
|
660
|
+
|
|
661
|
+
@builtins.property
|
|
662
|
+
def agent_runtime_name(self) -> builtins.str:
|
|
663
|
+
'''
|
|
664
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-agentruntimename
|
|
665
|
+
'''
|
|
666
|
+
result = self._values.get("agent_runtime_name")
|
|
667
|
+
assert result is not None, "Required property 'agent_runtime_name' is missing"
|
|
668
|
+
return typing.cast(builtins.str, result)
|
|
669
|
+
|
|
670
|
+
@builtins.property
|
|
671
|
+
def network_configuration(
|
|
672
|
+
self,
|
|
673
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnRuntime.NetworkConfigurationProperty"]:
|
|
674
|
+
'''
|
|
675
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-networkconfiguration
|
|
676
|
+
'''
|
|
677
|
+
result = self._values.get("network_configuration")
|
|
678
|
+
assert result is not None, "Required property 'network_configuration' is missing"
|
|
679
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnRuntime.NetworkConfigurationProperty"], result)
|
|
680
|
+
|
|
681
|
+
@builtins.property
|
|
682
|
+
def role_arn(self) -> builtins.str:
|
|
683
|
+
'''
|
|
684
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-rolearn
|
|
685
|
+
'''
|
|
686
|
+
result = self._values.get("role_arn")
|
|
687
|
+
assert result is not None, "Required property 'role_arn' is missing"
|
|
688
|
+
return typing.cast(builtins.str, result)
|
|
689
|
+
|
|
690
|
+
@builtins.property
|
|
691
|
+
def authorizer_configuration(
|
|
692
|
+
self,
|
|
693
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRuntime.AuthorizerConfigurationProperty"]]:
|
|
694
|
+
'''Configuration for the authorizer.
|
|
695
|
+
|
|
696
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-authorizerconfiguration
|
|
697
|
+
'''
|
|
698
|
+
result = self._values.get("authorizer_configuration")
|
|
699
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRuntime.AuthorizerConfigurationProperty"]], result)
|
|
700
|
+
|
|
701
|
+
@builtins.property
|
|
702
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
703
|
+
'''
|
|
704
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-description
|
|
705
|
+
'''
|
|
706
|
+
result = self._values.get("description")
|
|
707
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
708
|
+
|
|
709
|
+
@builtins.property
|
|
710
|
+
def environment_variables(
|
|
711
|
+
self,
|
|
712
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
713
|
+
'''Environment variable attributes.
|
|
714
|
+
|
|
715
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-environmentvariables
|
|
716
|
+
'''
|
|
717
|
+
result = self._values.get("environment_variables")
|
|
718
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
719
|
+
|
|
720
|
+
@builtins.property
|
|
721
|
+
def protocol_configuration(self) -> typing.Optional[builtins.str]:
|
|
722
|
+
'''
|
|
723
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-protocolconfiguration
|
|
724
|
+
'''
|
|
725
|
+
result = self._values.get("protocol_configuration")
|
|
726
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
727
|
+
|
|
728
|
+
@builtins.property
|
|
729
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
730
|
+
'''A map of tag keys and values.
|
|
731
|
+
|
|
732
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-tags
|
|
733
|
+
'''
|
|
734
|
+
result = self._values.get("tags")
|
|
735
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
736
|
+
|
|
737
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
738
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
739
|
+
|
|
740
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
741
|
+
return not (rhs == self)
|
|
742
|
+
|
|
743
|
+
def __repr__(self) -> str:
|
|
744
|
+
return "CfnRuntimeProps(%s)" % ", ".join(
|
|
745
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
746
|
+
)
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
@jsii.data_type(
|
|
750
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CodeInterpreterCustomReference",
|
|
751
|
+
jsii_struct_bases=[],
|
|
752
|
+
name_mapping={"code_interpreter_id": "codeInterpreterId"},
|
|
753
|
+
)
|
|
754
|
+
class CodeInterpreterCustomReference:
|
|
755
|
+
def __init__(self, *, code_interpreter_id: builtins.str) -> None:
|
|
756
|
+
'''A reference to a CodeInterpreterCustom resource.
|
|
757
|
+
|
|
758
|
+
:param code_interpreter_id: The CodeInterpreterId of the CodeInterpreterCustom resource.
|
|
759
|
+
|
|
760
|
+
:exampleMetadata: fixture=_generated
|
|
761
|
+
|
|
762
|
+
Example::
|
|
763
|
+
|
|
764
|
+
# The code below shows an example of how to instantiate this type.
|
|
765
|
+
# The values are placeholders you should change.
|
|
766
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
767
|
+
|
|
768
|
+
code_interpreter_custom_reference = bedrockagentcore.CodeInterpreterCustomReference(
|
|
769
|
+
code_interpreter_id="codeInterpreterId"
|
|
770
|
+
)
|
|
771
|
+
'''
|
|
772
|
+
if __debug__:
|
|
773
|
+
type_hints = typing.get_type_hints(_typecheckingstub__89dc37aef7efb202707ab991eff3008383de6de10f2228d9e9beb350d3f170d5)
|
|
774
|
+
check_type(argname="argument code_interpreter_id", value=code_interpreter_id, expected_type=type_hints["code_interpreter_id"])
|
|
775
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
776
|
+
"code_interpreter_id": code_interpreter_id,
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
@builtins.property
|
|
780
|
+
def code_interpreter_id(self) -> builtins.str:
|
|
781
|
+
'''The CodeInterpreterId of the CodeInterpreterCustom resource.'''
|
|
782
|
+
result = self._values.get("code_interpreter_id")
|
|
783
|
+
assert result is not None, "Required property 'code_interpreter_id' is missing"
|
|
784
|
+
return typing.cast(builtins.str, result)
|
|
785
|
+
|
|
786
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
787
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
788
|
+
|
|
789
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
790
|
+
return not (rhs == self)
|
|
791
|
+
|
|
792
|
+
def __repr__(self) -> str:
|
|
793
|
+
return "CodeInterpreterCustomReference(%s)" % ", ".join(
|
|
794
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
795
|
+
)
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
@jsii.interface(jsii_type="aws-cdk-lib.aws_bedrockagentcore.IBrowserCustomRef")
|
|
799
|
+
class IBrowserCustomRef(_constructs_77d1e7e8.IConstruct, typing_extensions.Protocol):
|
|
800
|
+
'''(experimental) Indicates that this resource can be referenced as a BrowserCustom.
|
|
801
|
+
|
|
802
|
+
:stability: experimental
|
|
803
|
+
'''
|
|
804
|
+
|
|
805
|
+
@builtins.property
|
|
806
|
+
@jsii.member(jsii_name="browserCustomRef")
|
|
807
|
+
def browser_custom_ref(self) -> BrowserCustomReference:
|
|
808
|
+
'''(experimental) A reference to a BrowserCustom resource.
|
|
809
|
+
|
|
810
|
+
:stability: experimental
|
|
811
|
+
'''
|
|
812
|
+
...
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
class _IBrowserCustomRefProxy(
|
|
816
|
+
jsii.proxy_for(_constructs_77d1e7e8.IConstruct), # type: ignore[misc]
|
|
817
|
+
):
|
|
818
|
+
'''(experimental) Indicates that this resource can be referenced as a BrowserCustom.
|
|
819
|
+
|
|
820
|
+
:stability: experimental
|
|
821
|
+
'''
|
|
822
|
+
|
|
823
|
+
__jsii_type__: typing.ClassVar[str] = "aws-cdk-lib.aws_bedrockagentcore.IBrowserCustomRef"
|
|
824
|
+
|
|
825
|
+
@builtins.property
|
|
826
|
+
@jsii.member(jsii_name="browserCustomRef")
|
|
827
|
+
def browser_custom_ref(self) -> BrowserCustomReference:
|
|
828
|
+
'''(experimental) A reference to a BrowserCustom resource.
|
|
829
|
+
|
|
830
|
+
:stability: experimental
|
|
831
|
+
'''
|
|
832
|
+
return typing.cast(BrowserCustomReference, jsii.get(self, "browserCustomRef"))
|
|
833
|
+
|
|
834
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
835
|
+
typing.cast(typing.Any, IBrowserCustomRef).__jsii_proxy_class__ = lambda : _IBrowserCustomRefProxy
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
@jsii.interface(jsii_type="aws-cdk-lib.aws_bedrockagentcore.ICodeInterpreterCustomRef")
|
|
839
|
+
class ICodeInterpreterCustomRef(
|
|
840
|
+
_constructs_77d1e7e8.IConstruct,
|
|
841
|
+
typing_extensions.Protocol,
|
|
842
|
+
):
|
|
843
|
+
'''(experimental) Indicates that this resource can be referenced as a CodeInterpreterCustom.
|
|
844
|
+
|
|
845
|
+
:stability: experimental
|
|
846
|
+
'''
|
|
847
|
+
|
|
848
|
+
@builtins.property
|
|
849
|
+
@jsii.member(jsii_name="codeInterpreterCustomRef")
|
|
850
|
+
def code_interpreter_custom_ref(self) -> CodeInterpreterCustomReference:
|
|
851
|
+
'''(experimental) A reference to a CodeInterpreterCustom resource.
|
|
852
|
+
|
|
853
|
+
:stability: experimental
|
|
854
|
+
'''
|
|
855
|
+
...
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
class _ICodeInterpreterCustomRefProxy(
|
|
859
|
+
jsii.proxy_for(_constructs_77d1e7e8.IConstruct), # type: ignore[misc]
|
|
860
|
+
):
|
|
861
|
+
'''(experimental) Indicates that this resource can be referenced as a CodeInterpreterCustom.
|
|
862
|
+
|
|
863
|
+
:stability: experimental
|
|
864
|
+
'''
|
|
865
|
+
|
|
866
|
+
__jsii_type__: typing.ClassVar[str] = "aws-cdk-lib.aws_bedrockagentcore.ICodeInterpreterCustomRef"
|
|
867
|
+
|
|
868
|
+
@builtins.property
|
|
869
|
+
@jsii.member(jsii_name="codeInterpreterCustomRef")
|
|
870
|
+
def code_interpreter_custom_ref(self) -> CodeInterpreterCustomReference:
|
|
871
|
+
'''(experimental) A reference to a CodeInterpreterCustom resource.
|
|
872
|
+
|
|
873
|
+
:stability: experimental
|
|
874
|
+
'''
|
|
875
|
+
return typing.cast(CodeInterpreterCustomReference, jsii.get(self, "codeInterpreterCustomRef"))
|
|
876
|
+
|
|
877
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
878
|
+
typing.cast(typing.Any, ICodeInterpreterCustomRef).__jsii_proxy_class__ = lambda : _ICodeInterpreterCustomRefProxy
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
@jsii.interface(jsii_type="aws-cdk-lib.aws_bedrockagentcore.IRuntimeEndpointRef")
|
|
882
|
+
class IRuntimeEndpointRef(_constructs_77d1e7e8.IConstruct, typing_extensions.Protocol):
|
|
883
|
+
'''(experimental) Indicates that this resource can be referenced as a RuntimeEndpoint.
|
|
884
|
+
|
|
885
|
+
:stability: experimental
|
|
886
|
+
'''
|
|
887
|
+
|
|
888
|
+
@builtins.property
|
|
889
|
+
@jsii.member(jsii_name="runtimeEndpointRef")
|
|
890
|
+
def runtime_endpoint_ref(self) -> "RuntimeEndpointReference":
|
|
891
|
+
'''(experimental) A reference to a RuntimeEndpoint resource.
|
|
892
|
+
|
|
893
|
+
:stability: experimental
|
|
894
|
+
'''
|
|
895
|
+
...
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
class _IRuntimeEndpointRefProxy(
|
|
899
|
+
jsii.proxy_for(_constructs_77d1e7e8.IConstruct), # type: ignore[misc]
|
|
900
|
+
):
|
|
901
|
+
'''(experimental) Indicates that this resource can be referenced as a RuntimeEndpoint.
|
|
902
|
+
|
|
903
|
+
:stability: experimental
|
|
904
|
+
'''
|
|
905
|
+
|
|
906
|
+
__jsii_type__: typing.ClassVar[str] = "aws-cdk-lib.aws_bedrockagentcore.IRuntimeEndpointRef"
|
|
907
|
+
|
|
908
|
+
@builtins.property
|
|
909
|
+
@jsii.member(jsii_name="runtimeEndpointRef")
|
|
910
|
+
def runtime_endpoint_ref(self) -> "RuntimeEndpointReference":
|
|
911
|
+
'''(experimental) A reference to a RuntimeEndpoint resource.
|
|
912
|
+
|
|
913
|
+
:stability: experimental
|
|
914
|
+
'''
|
|
915
|
+
return typing.cast("RuntimeEndpointReference", jsii.get(self, "runtimeEndpointRef"))
|
|
916
|
+
|
|
917
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
918
|
+
typing.cast(typing.Any, IRuntimeEndpointRef).__jsii_proxy_class__ = lambda : _IRuntimeEndpointRefProxy
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
@jsii.interface(jsii_type="aws-cdk-lib.aws_bedrockagentcore.IRuntimeRef")
|
|
922
|
+
class IRuntimeRef(_constructs_77d1e7e8.IConstruct, typing_extensions.Protocol):
|
|
923
|
+
'''(experimental) Indicates that this resource can be referenced as a Runtime.
|
|
924
|
+
|
|
925
|
+
:stability: experimental
|
|
926
|
+
'''
|
|
927
|
+
|
|
928
|
+
@builtins.property
|
|
929
|
+
@jsii.member(jsii_name="runtimeRef")
|
|
930
|
+
def runtime_ref(self) -> "RuntimeReference":
|
|
931
|
+
'''(experimental) A reference to a Runtime resource.
|
|
932
|
+
|
|
933
|
+
:stability: experimental
|
|
934
|
+
'''
|
|
935
|
+
...
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
class _IRuntimeRefProxy(
|
|
939
|
+
jsii.proxy_for(_constructs_77d1e7e8.IConstruct), # type: ignore[misc]
|
|
940
|
+
):
|
|
941
|
+
'''(experimental) Indicates that this resource can be referenced as a Runtime.
|
|
942
|
+
|
|
943
|
+
:stability: experimental
|
|
944
|
+
'''
|
|
945
|
+
|
|
946
|
+
__jsii_type__: typing.ClassVar[str] = "aws-cdk-lib.aws_bedrockagentcore.IRuntimeRef"
|
|
947
|
+
|
|
948
|
+
@builtins.property
|
|
949
|
+
@jsii.member(jsii_name="runtimeRef")
|
|
950
|
+
def runtime_ref(self) -> "RuntimeReference":
|
|
951
|
+
'''(experimental) A reference to a Runtime resource.
|
|
952
|
+
|
|
953
|
+
:stability: experimental
|
|
954
|
+
'''
|
|
955
|
+
return typing.cast("RuntimeReference", jsii.get(self, "runtimeRef"))
|
|
956
|
+
|
|
957
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
958
|
+
typing.cast(typing.Any, IRuntimeRef).__jsii_proxy_class__ = lambda : _IRuntimeRefProxy
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
@jsii.data_type(
|
|
962
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.RuntimeEndpointReference",
|
|
963
|
+
jsii_struct_bases=[],
|
|
964
|
+
name_mapping={"agent_runtime_endpoint_arn": "agentRuntimeEndpointArn"},
|
|
965
|
+
)
|
|
966
|
+
class RuntimeEndpointReference:
|
|
967
|
+
def __init__(self, *, agent_runtime_endpoint_arn: builtins.str) -> None:
|
|
968
|
+
'''A reference to a RuntimeEndpoint resource.
|
|
969
|
+
|
|
970
|
+
:param agent_runtime_endpoint_arn: The AgentRuntimeEndpointArn of the RuntimeEndpoint resource.
|
|
971
|
+
|
|
972
|
+
:exampleMetadata: fixture=_generated
|
|
973
|
+
|
|
974
|
+
Example::
|
|
975
|
+
|
|
976
|
+
# The code below shows an example of how to instantiate this type.
|
|
977
|
+
# The values are placeholders you should change.
|
|
978
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
979
|
+
|
|
980
|
+
runtime_endpoint_reference = bedrockagentcore.RuntimeEndpointReference(
|
|
981
|
+
agent_runtime_endpoint_arn="agentRuntimeEndpointArn"
|
|
982
|
+
)
|
|
983
|
+
'''
|
|
984
|
+
if __debug__:
|
|
985
|
+
type_hints = typing.get_type_hints(_typecheckingstub__056e5ef22e335ff5e02bdd57f3e564e80393e99c891cc1890f945dd001ef5b8f)
|
|
986
|
+
check_type(argname="argument agent_runtime_endpoint_arn", value=agent_runtime_endpoint_arn, expected_type=type_hints["agent_runtime_endpoint_arn"])
|
|
987
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
988
|
+
"agent_runtime_endpoint_arn": agent_runtime_endpoint_arn,
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
@builtins.property
|
|
992
|
+
def agent_runtime_endpoint_arn(self) -> builtins.str:
|
|
993
|
+
'''The AgentRuntimeEndpointArn of the RuntimeEndpoint resource.'''
|
|
994
|
+
result = self._values.get("agent_runtime_endpoint_arn")
|
|
995
|
+
assert result is not None, "Required property 'agent_runtime_endpoint_arn' is missing"
|
|
996
|
+
return typing.cast(builtins.str, result)
|
|
997
|
+
|
|
998
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
999
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1000
|
+
|
|
1001
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1002
|
+
return not (rhs == self)
|
|
1003
|
+
|
|
1004
|
+
def __repr__(self) -> str:
|
|
1005
|
+
return "RuntimeEndpointReference(%s)" % ", ".join(
|
|
1006
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1007
|
+
)
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
@jsii.data_type(
|
|
1011
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.RuntimeReference",
|
|
1012
|
+
jsii_struct_bases=[],
|
|
1013
|
+
name_mapping={"agent_runtime_id": "agentRuntimeId"},
|
|
1014
|
+
)
|
|
1015
|
+
class RuntimeReference:
|
|
1016
|
+
def __init__(self, *, agent_runtime_id: builtins.str) -> None:
|
|
1017
|
+
'''A reference to a Runtime resource.
|
|
1018
|
+
|
|
1019
|
+
:param agent_runtime_id: The AgentRuntimeId of the Runtime resource.
|
|
1020
|
+
|
|
1021
|
+
:exampleMetadata: fixture=_generated
|
|
1022
|
+
|
|
1023
|
+
Example::
|
|
1024
|
+
|
|
1025
|
+
# The code below shows an example of how to instantiate this type.
|
|
1026
|
+
# The values are placeholders you should change.
|
|
1027
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
1028
|
+
|
|
1029
|
+
runtime_reference = bedrockagentcore.RuntimeReference(
|
|
1030
|
+
agent_runtime_id="agentRuntimeId"
|
|
1031
|
+
)
|
|
1032
|
+
'''
|
|
1033
|
+
if __debug__:
|
|
1034
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8847701d5ac2ffc328a04478df4877176577ccf780cdf31ccc35b7d9bbcc331a)
|
|
1035
|
+
check_type(argname="argument agent_runtime_id", value=agent_runtime_id, expected_type=type_hints["agent_runtime_id"])
|
|
1036
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1037
|
+
"agent_runtime_id": agent_runtime_id,
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
@builtins.property
|
|
1041
|
+
def agent_runtime_id(self) -> builtins.str:
|
|
1042
|
+
'''The AgentRuntimeId of the Runtime resource.'''
|
|
1043
|
+
result = self._values.get("agent_runtime_id")
|
|
1044
|
+
assert result is not None, "Required property 'agent_runtime_id' is missing"
|
|
1045
|
+
return typing.cast(builtins.str, result)
|
|
1046
|
+
|
|
1047
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1048
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1049
|
+
|
|
1050
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1051
|
+
return not (rhs == self)
|
|
1052
|
+
|
|
1053
|
+
def __repr__(self) -> str:
|
|
1054
|
+
return "RuntimeReference(%s)" % ", ".join(
|
|
1055
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1056
|
+
)
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
@jsii.implements(_IInspectable_c2943556, IBrowserCustomRef, _ITaggableV2_4e6798f8)
|
|
1060
|
+
class CfnBrowserCustom(
|
|
1061
|
+
_CfnResource_9df397a6,
|
|
1062
|
+
metaclass=jsii.JSIIMeta,
|
|
1063
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustom",
|
|
1064
|
+
):
|
|
1065
|
+
'''Resource definition for AWS::BedrockAgentCore::BrowserCustom.
|
|
1066
|
+
|
|
1067
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html
|
|
1068
|
+
:cloudformationResource: AWS::BedrockAgentCore::BrowserCustom
|
|
1069
|
+
:exampleMetadata: fixture=_generated
|
|
1070
|
+
|
|
1071
|
+
Example::
|
|
1072
|
+
|
|
1073
|
+
# The code below shows an example of how to instantiate this type.
|
|
1074
|
+
# The values are placeholders you should change.
|
|
1075
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
1076
|
+
|
|
1077
|
+
cfn_browser_custom = bedrockagentcore.CfnBrowserCustom(self, "MyCfnBrowserCustom",
|
|
1078
|
+
name="name",
|
|
1079
|
+
network_configuration=bedrockagentcore.CfnBrowserCustom.BrowserNetworkConfigurationProperty(
|
|
1080
|
+
network_mode="networkMode"
|
|
1081
|
+
),
|
|
1082
|
+
|
|
1083
|
+
# the properties below are optional
|
|
1084
|
+
description="description",
|
|
1085
|
+
execution_role_arn="executionRoleArn",
|
|
1086
|
+
recording_config=bedrockagentcore.CfnBrowserCustom.RecordingConfigProperty(
|
|
1087
|
+
enabled=False,
|
|
1088
|
+
s3_location=bedrockagentcore.CfnBrowserCustom.S3LocationProperty(
|
|
1089
|
+
bucket="bucket",
|
|
1090
|
+
prefix="prefix"
|
|
1091
|
+
)
|
|
1092
|
+
),
|
|
1093
|
+
tags={
|
|
1094
|
+
"tags_key": "tags"
|
|
1095
|
+
}
|
|
1096
|
+
)
|
|
1097
|
+
'''
|
|
1098
|
+
|
|
1099
|
+
def __init__(
|
|
1100
|
+
self,
|
|
1101
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1102
|
+
id: builtins.str,
|
|
1103
|
+
*,
|
|
1104
|
+
name: builtins.str,
|
|
1105
|
+
network_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnBrowserCustom.BrowserNetworkConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1106
|
+
description: typing.Optional[builtins.str] = None,
|
|
1107
|
+
execution_role_arn: typing.Optional[builtins.str] = None,
|
|
1108
|
+
recording_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBrowserCustom.RecordingConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1109
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1110
|
+
) -> None:
|
|
1111
|
+
'''
|
|
1112
|
+
:param scope: Scope in which this resource is defined.
|
|
1113
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1114
|
+
:param name: The name of the browser.
|
|
1115
|
+
:param network_configuration: Network configuration for browser.
|
|
1116
|
+
:param description: The description of the browser.
|
|
1117
|
+
:param execution_role_arn: The Amazon Resource Name (ARN) of the IAM role.
|
|
1118
|
+
:param recording_config: Recording configuration for browser.
|
|
1119
|
+
:param tags: A map of tag keys and values.
|
|
1120
|
+
'''
|
|
1121
|
+
if __debug__:
|
|
1122
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e817ad5ee6496ab54cf569758c4d73da62a4d6f5cf0c34866960f6e4677343e1)
|
|
1123
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1124
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1125
|
+
props = CfnBrowserCustomProps(
|
|
1126
|
+
name=name,
|
|
1127
|
+
network_configuration=network_configuration,
|
|
1128
|
+
description=description,
|
|
1129
|
+
execution_role_arn=execution_role_arn,
|
|
1130
|
+
recording_config=recording_config,
|
|
1131
|
+
tags=tags,
|
|
1132
|
+
)
|
|
1133
|
+
|
|
1134
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1135
|
+
|
|
1136
|
+
@jsii.member(jsii_name="inspect")
|
|
1137
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1138
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
1139
|
+
|
|
1140
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1141
|
+
'''
|
|
1142
|
+
if __debug__:
|
|
1143
|
+
type_hints = typing.get_type_hints(_typecheckingstub__12637c5685b21eb50c5acd05eb9308d8266fc2816549a6a2816d9399823e8551)
|
|
1144
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1145
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1146
|
+
|
|
1147
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1148
|
+
def _render_properties(
|
|
1149
|
+
self,
|
|
1150
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1151
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1152
|
+
'''
|
|
1153
|
+
:param props: -
|
|
1154
|
+
'''
|
|
1155
|
+
if __debug__:
|
|
1156
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f14f4b2516dbe32242e98828488dc4abcc900e39ac20507ae2fd0d16a3a0457c)
|
|
1157
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1158
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1159
|
+
|
|
1160
|
+
@jsii.python.classproperty
|
|
1161
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1162
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1163
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1164
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1165
|
+
|
|
1166
|
+
@builtins.property
|
|
1167
|
+
@jsii.member(jsii_name="attrBrowserArn")
|
|
1168
|
+
def attr_browser_arn(self) -> builtins.str:
|
|
1169
|
+
'''The ARN of a Browser resource.
|
|
1170
|
+
|
|
1171
|
+
:cloudformationAttribute: BrowserArn
|
|
1172
|
+
'''
|
|
1173
|
+
return typing.cast(builtins.str, jsii.get(self, "attrBrowserArn"))
|
|
1174
|
+
|
|
1175
|
+
@builtins.property
|
|
1176
|
+
@jsii.member(jsii_name="attrBrowserId")
|
|
1177
|
+
def attr_browser_id(self) -> builtins.str:
|
|
1178
|
+
'''The id of the browser.
|
|
1179
|
+
|
|
1180
|
+
:cloudformationAttribute: BrowserId
|
|
1181
|
+
'''
|
|
1182
|
+
return typing.cast(builtins.str, jsii.get(self, "attrBrowserId"))
|
|
1183
|
+
|
|
1184
|
+
@builtins.property
|
|
1185
|
+
@jsii.member(jsii_name="attrCreatedAt")
|
|
1186
|
+
def attr_created_at(self) -> builtins.str:
|
|
1187
|
+
'''Timestamp when the browser was created.
|
|
1188
|
+
|
|
1189
|
+
:cloudformationAttribute: CreatedAt
|
|
1190
|
+
'''
|
|
1191
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
|
|
1192
|
+
|
|
1193
|
+
@builtins.property
|
|
1194
|
+
@jsii.member(jsii_name="attrLastUpdatedAt")
|
|
1195
|
+
def attr_last_updated_at(self) -> builtins.str:
|
|
1196
|
+
'''Timestamp when the browser was last updated.
|
|
1197
|
+
|
|
1198
|
+
:cloudformationAttribute: LastUpdatedAt
|
|
1199
|
+
'''
|
|
1200
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLastUpdatedAt"))
|
|
1201
|
+
|
|
1202
|
+
@builtins.property
|
|
1203
|
+
@jsii.member(jsii_name="attrStatus")
|
|
1204
|
+
def attr_status(self) -> builtins.str:
|
|
1205
|
+
'''Status of browser.
|
|
1206
|
+
|
|
1207
|
+
:cloudformationAttribute: Status
|
|
1208
|
+
'''
|
|
1209
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
1210
|
+
|
|
1211
|
+
@builtins.property
|
|
1212
|
+
@jsii.member(jsii_name="browserCustomRef")
|
|
1213
|
+
def browser_custom_ref(self) -> BrowserCustomReference:
|
|
1214
|
+
'''A reference to a BrowserCustom resource.'''
|
|
1215
|
+
return typing.cast(BrowserCustomReference, jsii.get(self, "browserCustomRef"))
|
|
1216
|
+
|
|
1217
|
+
@builtins.property
|
|
1218
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1219
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1220
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1221
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
1222
|
+
|
|
1223
|
+
@builtins.property
|
|
1224
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1225
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1226
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1227
|
+
|
|
1228
|
+
@builtins.property
|
|
1229
|
+
@jsii.member(jsii_name="name")
|
|
1230
|
+
def name(self) -> builtins.str:
|
|
1231
|
+
'''The name of the browser.'''
|
|
1232
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
1233
|
+
|
|
1234
|
+
@name.setter
|
|
1235
|
+
def name(self, value: builtins.str) -> None:
|
|
1236
|
+
if __debug__:
|
|
1237
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e7c7dc0414899a74bed53146d246f036f214f82b031723849419726e12bcee67)
|
|
1238
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1239
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
1240
|
+
|
|
1241
|
+
@builtins.property
|
|
1242
|
+
@jsii.member(jsii_name="networkConfiguration")
|
|
1243
|
+
def network_configuration(
|
|
1244
|
+
self,
|
|
1245
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnBrowserCustom.BrowserNetworkConfigurationProperty"]:
|
|
1246
|
+
'''Network configuration for browser.'''
|
|
1247
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnBrowserCustom.BrowserNetworkConfigurationProperty"], jsii.get(self, "networkConfiguration"))
|
|
1248
|
+
|
|
1249
|
+
@network_configuration.setter
|
|
1250
|
+
def network_configuration(
|
|
1251
|
+
self,
|
|
1252
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnBrowserCustom.BrowserNetworkConfigurationProperty"],
|
|
1253
|
+
) -> None:
|
|
1254
|
+
if __debug__:
|
|
1255
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b89dfccc35ccd0a377234eb3e008038ad66200df7a4f3c63bf61ebf273a7f42e)
|
|
1256
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1257
|
+
jsii.set(self, "networkConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
1258
|
+
|
|
1259
|
+
@builtins.property
|
|
1260
|
+
@jsii.member(jsii_name="description")
|
|
1261
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
1262
|
+
'''The description of the browser.'''
|
|
1263
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
1264
|
+
|
|
1265
|
+
@description.setter
|
|
1266
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
1267
|
+
if __debug__:
|
|
1268
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d16faa304c4f18b8bba1ee70b209c47d9944346a1e88926b4ee4ea5fe723fd64)
|
|
1269
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1270
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
1271
|
+
|
|
1272
|
+
@builtins.property
|
|
1273
|
+
@jsii.member(jsii_name="executionRoleArn")
|
|
1274
|
+
def execution_role_arn(self) -> typing.Optional[builtins.str]:
|
|
1275
|
+
'''The Amazon Resource Name (ARN) of the IAM role.'''
|
|
1276
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "executionRoleArn"))
|
|
1277
|
+
|
|
1278
|
+
@execution_role_arn.setter
|
|
1279
|
+
def execution_role_arn(self, value: typing.Optional[builtins.str]) -> None:
|
|
1280
|
+
if __debug__:
|
|
1281
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2dd292342e1165d23c8ce68a72d30c745d42a2586b394e8bcb4aa1ec13e9cc74)
|
|
1282
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1283
|
+
jsii.set(self, "executionRoleArn", value) # pyright: ignore[reportArgumentType]
|
|
1284
|
+
|
|
1285
|
+
@builtins.property
|
|
1286
|
+
@jsii.member(jsii_name="recordingConfig")
|
|
1287
|
+
def recording_config(
|
|
1288
|
+
self,
|
|
1289
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBrowserCustom.RecordingConfigProperty"]]:
|
|
1290
|
+
'''Recording configuration for browser.'''
|
|
1291
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBrowserCustom.RecordingConfigProperty"]], jsii.get(self, "recordingConfig"))
|
|
1292
|
+
|
|
1293
|
+
@recording_config.setter
|
|
1294
|
+
def recording_config(
|
|
1295
|
+
self,
|
|
1296
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBrowserCustom.RecordingConfigProperty"]],
|
|
1297
|
+
) -> None:
|
|
1298
|
+
if __debug__:
|
|
1299
|
+
type_hints = typing.get_type_hints(_typecheckingstub__089c5a25d69d7c7abf4193f45206b584472351088cbe92835bb014923a48f2e7)
|
|
1300
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1301
|
+
jsii.set(self, "recordingConfig", value) # pyright: ignore[reportArgumentType]
|
|
1302
|
+
|
|
1303
|
+
@builtins.property
|
|
1304
|
+
@jsii.member(jsii_name="tags")
|
|
1305
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1306
|
+
'''A map of tag keys and values.'''
|
|
1307
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
1308
|
+
|
|
1309
|
+
@tags.setter
|
|
1310
|
+
def tags(
|
|
1311
|
+
self,
|
|
1312
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
1313
|
+
) -> None:
|
|
1314
|
+
if __debug__:
|
|
1315
|
+
type_hints = typing.get_type_hints(_typecheckingstub__22e813ff9c64c23f175682396c7a13b02b9193809d3629b73f2ecac10192c8c2)
|
|
1316
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1317
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
1318
|
+
|
|
1319
|
+
@jsii.data_type(
|
|
1320
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustom.BrowserNetworkConfigurationProperty",
|
|
1321
|
+
jsii_struct_bases=[],
|
|
1322
|
+
name_mapping={"network_mode": "networkMode"},
|
|
1323
|
+
)
|
|
1324
|
+
class BrowserNetworkConfigurationProperty:
|
|
1325
|
+
def __init__(self, *, network_mode: builtins.str) -> None:
|
|
1326
|
+
'''Network configuration for browser.
|
|
1327
|
+
|
|
1328
|
+
:param network_mode: Network modes supported by browser.
|
|
1329
|
+
|
|
1330
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsernetworkconfiguration.html
|
|
1331
|
+
:exampleMetadata: fixture=_generated
|
|
1332
|
+
|
|
1333
|
+
Example::
|
|
1334
|
+
|
|
1335
|
+
# The code below shows an example of how to instantiate this type.
|
|
1336
|
+
# The values are placeholders you should change.
|
|
1337
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
1338
|
+
|
|
1339
|
+
browser_network_configuration_property = bedrockagentcore.CfnBrowserCustom.BrowserNetworkConfigurationProperty(
|
|
1340
|
+
network_mode="networkMode"
|
|
1341
|
+
)
|
|
1342
|
+
'''
|
|
1343
|
+
if __debug__:
|
|
1344
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f0d5bebf1ad5159cc9014318eaa4c540145c82225bd9e29170035b0a29d0ee07)
|
|
1345
|
+
check_type(argname="argument network_mode", value=network_mode, expected_type=type_hints["network_mode"])
|
|
1346
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1347
|
+
"network_mode": network_mode,
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
@builtins.property
|
|
1351
|
+
def network_mode(self) -> builtins.str:
|
|
1352
|
+
'''Network modes supported by browser.
|
|
1353
|
+
|
|
1354
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsernetworkconfiguration.html#cfn-bedrockagentcore-browsercustom-browsernetworkconfiguration-networkmode
|
|
1355
|
+
'''
|
|
1356
|
+
result = self._values.get("network_mode")
|
|
1357
|
+
assert result is not None, "Required property 'network_mode' is missing"
|
|
1358
|
+
return typing.cast(builtins.str, result)
|
|
1359
|
+
|
|
1360
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1361
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1362
|
+
|
|
1363
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1364
|
+
return not (rhs == self)
|
|
1365
|
+
|
|
1366
|
+
def __repr__(self) -> str:
|
|
1367
|
+
return "BrowserNetworkConfigurationProperty(%s)" % ", ".join(
|
|
1368
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1369
|
+
)
|
|
1370
|
+
|
|
1371
|
+
@jsii.data_type(
|
|
1372
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustom.RecordingConfigProperty",
|
|
1373
|
+
jsii_struct_bases=[],
|
|
1374
|
+
name_mapping={"enabled": "enabled", "s3_location": "s3Location"},
|
|
1375
|
+
)
|
|
1376
|
+
class RecordingConfigProperty:
|
|
1377
|
+
def __init__(
|
|
1378
|
+
self,
|
|
1379
|
+
*,
|
|
1380
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1381
|
+
s3_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBrowserCustom.S3LocationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1382
|
+
) -> None:
|
|
1383
|
+
'''Recording configuration for browser.
|
|
1384
|
+
|
|
1385
|
+
:param enabled: Default: - false
|
|
1386
|
+
:param s3_location: S3 Location Configuration.
|
|
1387
|
+
|
|
1388
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-recordingconfig.html
|
|
1389
|
+
:exampleMetadata: fixture=_generated
|
|
1390
|
+
|
|
1391
|
+
Example::
|
|
1392
|
+
|
|
1393
|
+
# The code below shows an example of how to instantiate this type.
|
|
1394
|
+
# The values are placeholders you should change.
|
|
1395
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
1396
|
+
|
|
1397
|
+
recording_config_property = bedrockagentcore.CfnBrowserCustom.RecordingConfigProperty(
|
|
1398
|
+
enabled=False,
|
|
1399
|
+
s3_location=bedrockagentcore.CfnBrowserCustom.S3LocationProperty(
|
|
1400
|
+
bucket="bucket",
|
|
1401
|
+
prefix="prefix"
|
|
1402
|
+
)
|
|
1403
|
+
)
|
|
1404
|
+
'''
|
|
1405
|
+
if __debug__:
|
|
1406
|
+
type_hints = typing.get_type_hints(_typecheckingstub__754929ea2dabad59807821380b38b3ef1b1955a5473f5469b18a7dcc81600948)
|
|
1407
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
1408
|
+
check_type(argname="argument s3_location", value=s3_location, expected_type=type_hints["s3_location"])
|
|
1409
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1410
|
+
if enabled is not None:
|
|
1411
|
+
self._values["enabled"] = enabled
|
|
1412
|
+
if s3_location is not None:
|
|
1413
|
+
self._values["s3_location"] = s3_location
|
|
1414
|
+
|
|
1415
|
+
@builtins.property
|
|
1416
|
+
def enabled(
|
|
1417
|
+
self,
|
|
1418
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1419
|
+
'''
|
|
1420
|
+
:default: - false
|
|
1421
|
+
|
|
1422
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-recordingconfig.html#cfn-bedrockagentcore-browsercustom-recordingconfig-enabled
|
|
1423
|
+
'''
|
|
1424
|
+
result = self._values.get("enabled")
|
|
1425
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1426
|
+
|
|
1427
|
+
@builtins.property
|
|
1428
|
+
def s3_location(
|
|
1429
|
+
self,
|
|
1430
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBrowserCustom.S3LocationProperty"]]:
|
|
1431
|
+
'''S3 Location Configuration.
|
|
1432
|
+
|
|
1433
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-recordingconfig.html#cfn-bedrockagentcore-browsercustom-recordingconfig-s3location
|
|
1434
|
+
'''
|
|
1435
|
+
result = self._values.get("s3_location")
|
|
1436
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBrowserCustom.S3LocationProperty"]], result)
|
|
1437
|
+
|
|
1438
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1439
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1440
|
+
|
|
1441
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1442
|
+
return not (rhs == self)
|
|
1443
|
+
|
|
1444
|
+
def __repr__(self) -> str:
|
|
1445
|
+
return "RecordingConfigProperty(%s)" % ", ".join(
|
|
1446
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1447
|
+
)
|
|
1448
|
+
|
|
1449
|
+
@jsii.data_type(
|
|
1450
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustom.S3LocationProperty",
|
|
1451
|
+
jsii_struct_bases=[],
|
|
1452
|
+
name_mapping={"bucket": "bucket", "prefix": "prefix"},
|
|
1453
|
+
)
|
|
1454
|
+
class S3LocationProperty:
|
|
1455
|
+
def __init__(self, *, bucket: builtins.str, prefix: builtins.str) -> None:
|
|
1456
|
+
'''S3 Location Configuration.
|
|
1457
|
+
|
|
1458
|
+
:param bucket:
|
|
1459
|
+
:param prefix:
|
|
1460
|
+
|
|
1461
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-s3location.html
|
|
1462
|
+
:exampleMetadata: fixture=_generated
|
|
1463
|
+
|
|
1464
|
+
Example::
|
|
1465
|
+
|
|
1466
|
+
# The code below shows an example of how to instantiate this type.
|
|
1467
|
+
# The values are placeholders you should change.
|
|
1468
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
1469
|
+
|
|
1470
|
+
s3_location_property = bedrockagentcore.CfnBrowserCustom.S3LocationProperty(
|
|
1471
|
+
bucket="bucket",
|
|
1472
|
+
prefix="prefix"
|
|
1473
|
+
)
|
|
1474
|
+
'''
|
|
1475
|
+
if __debug__:
|
|
1476
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6787b09f9e077c274ab79cdf45ea5157eec8aea8960e77f8e128fab67b3cbc26)
|
|
1477
|
+
check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
|
|
1478
|
+
check_type(argname="argument prefix", value=prefix, expected_type=type_hints["prefix"])
|
|
1479
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1480
|
+
"bucket": bucket,
|
|
1481
|
+
"prefix": prefix,
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
@builtins.property
|
|
1485
|
+
def bucket(self) -> builtins.str:
|
|
1486
|
+
'''
|
|
1487
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-s3location.html#cfn-bedrockagentcore-browsercustom-s3location-bucket
|
|
1488
|
+
'''
|
|
1489
|
+
result = self._values.get("bucket")
|
|
1490
|
+
assert result is not None, "Required property 'bucket' is missing"
|
|
1491
|
+
return typing.cast(builtins.str, result)
|
|
1492
|
+
|
|
1493
|
+
@builtins.property
|
|
1494
|
+
def prefix(self) -> builtins.str:
|
|
1495
|
+
'''
|
|
1496
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-s3location.html#cfn-bedrockagentcore-browsercustom-s3location-prefix
|
|
1497
|
+
'''
|
|
1498
|
+
result = self._values.get("prefix")
|
|
1499
|
+
assert result is not None, "Required property 'prefix' is missing"
|
|
1500
|
+
return typing.cast(builtins.str, result)
|
|
1501
|
+
|
|
1502
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1503
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1504
|
+
|
|
1505
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1506
|
+
return not (rhs == self)
|
|
1507
|
+
|
|
1508
|
+
def __repr__(self) -> str:
|
|
1509
|
+
return "S3LocationProperty(%s)" % ", ".join(
|
|
1510
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1511
|
+
)
|
|
1512
|
+
|
|
1513
|
+
|
|
1514
|
+
@jsii.implements(_IInspectable_c2943556, ICodeInterpreterCustomRef, _ITaggableV2_4e6798f8)
|
|
1515
|
+
class CfnCodeInterpreterCustom(
|
|
1516
|
+
_CfnResource_9df397a6,
|
|
1517
|
+
metaclass=jsii.JSIIMeta,
|
|
1518
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnCodeInterpreterCustom",
|
|
1519
|
+
):
|
|
1520
|
+
'''Resource definition for AWS::BedrockAgentCore::CodeInterpreterCustom.
|
|
1521
|
+
|
|
1522
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html
|
|
1523
|
+
:cloudformationResource: AWS::BedrockAgentCore::CodeInterpreterCustom
|
|
1524
|
+
:exampleMetadata: fixture=_generated
|
|
1525
|
+
|
|
1526
|
+
Example::
|
|
1527
|
+
|
|
1528
|
+
# The code below shows an example of how to instantiate this type.
|
|
1529
|
+
# The values are placeholders you should change.
|
|
1530
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
1531
|
+
|
|
1532
|
+
cfn_code_interpreter_custom = bedrockagentcore.CfnCodeInterpreterCustom(self, "MyCfnCodeInterpreterCustom",
|
|
1533
|
+
name="name",
|
|
1534
|
+
network_configuration=bedrockagentcore.CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty(
|
|
1535
|
+
network_mode="networkMode"
|
|
1536
|
+
),
|
|
1537
|
+
|
|
1538
|
+
# the properties below are optional
|
|
1539
|
+
description="description",
|
|
1540
|
+
execution_role_arn="executionRoleArn",
|
|
1541
|
+
tags={
|
|
1542
|
+
"tags_key": "tags"
|
|
1543
|
+
}
|
|
1544
|
+
)
|
|
1545
|
+
'''
|
|
1546
|
+
|
|
1547
|
+
def __init__(
|
|
1548
|
+
self,
|
|
1549
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1550
|
+
id: builtins.str,
|
|
1551
|
+
*,
|
|
1552
|
+
name: builtins.str,
|
|
1553
|
+
network_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1554
|
+
description: typing.Optional[builtins.str] = None,
|
|
1555
|
+
execution_role_arn: typing.Optional[builtins.str] = None,
|
|
1556
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1557
|
+
) -> None:
|
|
1558
|
+
'''
|
|
1559
|
+
:param scope: Scope in which this resource is defined.
|
|
1560
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1561
|
+
:param name: The name of the sandbox.
|
|
1562
|
+
:param network_configuration: Network configuration for code interpreter.
|
|
1563
|
+
:param description: Description of the code interpreter.
|
|
1564
|
+
:param execution_role_arn: The ARN of the IAM role.
|
|
1565
|
+
:param tags: A map of tag keys and values.
|
|
1566
|
+
'''
|
|
1567
|
+
if __debug__:
|
|
1568
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1aaa167a6af98d626969b5bd2de9377658de4e8d04df0b48dc5916f9e503a029)
|
|
1569
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1570
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1571
|
+
props = CfnCodeInterpreterCustomProps(
|
|
1572
|
+
name=name,
|
|
1573
|
+
network_configuration=network_configuration,
|
|
1574
|
+
description=description,
|
|
1575
|
+
execution_role_arn=execution_role_arn,
|
|
1576
|
+
tags=tags,
|
|
1577
|
+
)
|
|
1578
|
+
|
|
1579
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1580
|
+
|
|
1581
|
+
@jsii.member(jsii_name="inspect")
|
|
1582
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1583
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
1584
|
+
|
|
1585
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1586
|
+
'''
|
|
1587
|
+
if __debug__:
|
|
1588
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ab4b7a28e87b1af264773dfddc0e9da46bb99c921aa85fb942fcc7ca03680597)
|
|
1589
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1590
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1591
|
+
|
|
1592
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1593
|
+
def _render_properties(
|
|
1594
|
+
self,
|
|
1595
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1596
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1597
|
+
'''
|
|
1598
|
+
:param props: -
|
|
1599
|
+
'''
|
|
1600
|
+
if __debug__:
|
|
1601
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bf6d68ae9ee508df2d25ca9f4fa9a800c1215c05ac37929135ce20e393a44113)
|
|
1602
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1603
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1604
|
+
|
|
1605
|
+
@jsii.python.classproperty
|
|
1606
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1607
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1608
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1609
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1610
|
+
|
|
1611
|
+
@builtins.property
|
|
1612
|
+
@jsii.member(jsii_name="attrCodeInterpreterArn")
|
|
1613
|
+
def attr_code_interpreter_arn(self) -> builtins.str:
|
|
1614
|
+
'''The ARN of a CodeInterpreter resource.
|
|
1615
|
+
|
|
1616
|
+
:cloudformationAttribute: CodeInterpreterArn
|
|
1617
|
+
'''
|
|
1618
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCodeInterpreterArn"))
|
|
1619
|
+
|
|
1620
|
+
@builtins.property
|
|
1621
|
+
@jsii.member(jsii_name="attrCodeInterpreterId")
|
|
1622
|
+
def attr_code_interpreter_id(self) -> builtins.str:
|
|
1623
|
+
'''The id of the code interpreter.
|
|
1624
|
+
|
|
1625
|
+
:cloudformationAttribute: CodeInterpreterId
|
|
1626
|
+
'''
|
|
1627
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCodeInterpreterId"))
|
|
1628
|
+
|
|
1629
|
+
@builtins.property
|
|
1630
|
+
@jsii.member(jsii_name="attrCreatedAt")
|
|
1631
|
+
def attr_created_at(self) -> builtins.str:
|
|
1632
|
+
'''Timestamp when the code interpreter was created.
|
|
1633
|
+
|
|
1634
|
+
:cloudformationAttribute: CreatedAt
|
|
1635
|
+
'''
|
|
1636
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
|
|
1637
|
+
|
|
1638
|
+
@builtins.property
|
|
1639
|
+
@jsii.member(jsii_name="attrLastUpdatedAt")
|
|
1640
|
+
def attr_last_updated_at(self) -> builtins.str:
|
|
1641
|
+
'''Timestamp when the code interpreter was last updated.
|
|
1642
|
+
|
|
1643
|
+
:cloudformationAttribute: LastUpdatedAt
|
|
1644
|
+
'''
|
|
1645
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLastUpdatedAt"))
|
|
1646
|
+
|
|
1647
|
+
@builtins.property
|
|
1648
|
+
@jsii.member(jsii_name="attrStatus")
|
|
1649
|
+
def attr_status(self) -> builtins.str:
|
|
1650
|
+
'''Status of Code interpreter.
|
|
1651
|
+
|
|
1652
|
+
:cloudformationAttribute: Status
|
|
1653
|
+
'''
|
|
1654
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
1655
|
+
|
|
1656
|
+
@builtins.property
|
|
1657
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1658
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1659
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1660
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
1661
|
+
|
|
1662
|
+
@builtins.property
|
|
1663
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1664
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1665
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1666
|
+
|
|
1667
|
+
@builtins.property
|
|
1668
|
+
@jsii.member(jsii_name="codeInterpreterCustomRef")
|
|
1669
|
+
def code_interpreter_custom_ref(self) -> CodeInterpreterCustomReference:
|
|
1670
|
+
'''A reference to a CodeInterpreterCustom resource.'''
|
|
1671
|
+
return typing.cast(CodeInterpreterCustomReference, jsii.get(self, "codeInterpreterCustomRef"))
|
|
1672
|
+
|
|
1673
|
+
@builtins.property
|
|
1674
|
+
@jsii.member(jsii_name="name")
|
|
1675
|
+
def name(self) -> builtins.str:
|
|
1676
|
+
'''The name of the sandbox.'''
|
|
1677
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
1678
|
+
|
|
1679
|
+
@name.setter
|
|
1680
|
+
def name(self, value: builtins.str) -> None:
|
|
1681
|
+
if __debug__:
|
|
1682
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c58fa8bcb0ec87d3b6f75396018d3eeff06205adbf6ade289f0ac1710d71c909)
|
|
1683
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1684
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
1685
|
+
|
|
1686
|
+
@builtins.property
|
|
1687
|
+
@jsii.member(jsii_name="networkConfiguration")
|
|
1688
|
+
def network_configuration(
|
|
1689
|
+
self,
|
|
1690
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty"]:
|
|
1691
|
+
'''Network configuration for code interpreter.'''
|
|
1692
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty"], jsii.get(self, "networkConfiguration"))
|
|
1693
|
+
|
|
1694
|
+
@network_configuration.setter
|
|
1695
|
+
def network_configuration(
|
|
1696
|
+
self,
|
|
1697
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty"],
|
|
1698
|
+
) -> None:
|
|
1699
|
+
if __debug__:
|
|
1700
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a36911cef74e5cac559eb0b558b639739fba4dccbbc8a224553a0f0a0cace3cd)
|
|
1701
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1702
|
+
jsii.set(self, "networkConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
1703
|
+
|
|
1704
|
+
@builtins.property
|
|
1705
|
+
@jsii.member(jsii_name="description")
|
|
1706
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
1707
|
+
'''Description of the code interpreter.'''
|
|
1708
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
1709
|
+
|
|
1710
|
+
@description.setter
|
|
1711
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
1712
|
+
if __debug__:
|
|
1713
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f33607ff407017e2c7ecefbc727c6f7660550a46fe6b356799810d75ccf8d662)
|
|
1714
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1715
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
1716
|
+
|
|
1717
|
+
@builtins.property
|
|
1718
|
+
@jsii.member(jsii_name="executionRoleArn")
|
|
1719
|
+
def execution_role_arn(self) -> typing.Optional[builtins.str]:
|
|
1720
|
+
'''The ARN of the IAM role.'''
|
|
1721
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "executionRoleArn"))
|
|
1722
|
+
|
|
1723
|
+
@execution_role_arn.setter
|
|
1724
|
+
def execution_role_arn(self, value: typing.Optional[builtins.str]) -> None:
|
|
1725
|
+
if __debug__:
|
|
1726
|
+
type_hints = typing.get_type_hints(_typecheckingstub__597443cc8b5cdaed2db807a1545702d23f8f925435f13cd3d17111236aba2428)
|
|
1727
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1728
|
+
jsii.set(self, "executionRoleArn", value) # pyright: ignore[reportArgumentType]
|
|
1729
|
+
|
|
1730
|
+
@builtins.property
|
|
1731
|
+
@jsii.member(jsii_name="tags")
|
|
1732
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1733
|
+
'''A map of tag keys and values.'''
|
|
1734
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
1735
|
+
|
|
1736
|
+
@tags.setter
|
|
1737
|
+
def tags(
|
|
1738
|
+
self,
|
|
1739
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
1740
|
+
) -> None:
|
|
1741
|
+
if __debug__:
|
|
1742
|
+
type_hints = typing.get_type_hints(_typecheckingstub__466065bbc5e5f3997568d60c567b51bbc4a9a4900e6ce6da9f9499f85329a3a4)
|
|
1743
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1744
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
1745
|
+
|
|
1746
|
+
@jsii.data_type(
|
|
1747
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty",
|
|
1748
|
+
jsii_struct_bases=[],
|
|
1749
|
+
name_mapping={"network_mode": "networkMode"},
|
|
1750
|
+
)
|
|
1751
|
+
class CodeInterpreterNetworkConfigurationProperty:
|
|
1752
|
+
def __init__(self, *, network_mode: builtins.str) -> None:
|
|
1753
|
+
'''Network configuration for code interpreter.
|
|
1754
|
+
|
|
1755
|
+
:param network_mode: Network modes supported by code interpreter.
|
|
1756
|
+
|
|
1757
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration.html
|
|
1758
|
+
:exampleMetadata: fixture=_generated
|
|
1759
|
+
|
|
1760
|
+
Example::
|
|
1761
|
+
|
|
1762
|
+
# The code below shows an example of how to instantiate this type.
|
|
1763
|
+
# The values are placeholders you should change.
|
|
1764
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
1765
|
+
|
|
1766
|
+
code_interpreter_network_configuration_property = bedrockagentcore.CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty(
|
|
1767
|
+
network_mode="networkMode"
|
|
1768
|
+
)
|
|
1769
|
+
'''
|
|
1770
|
+
if __debug__:
|
|
1771
|
+
type_hints = typing.get_type_hints(_typecheckingstub__eae1295735d5d0996afa02b88ef9dddbd193fc77b25f7b69433fd57c1240bb3a)
|
|
1772
|
+
check_type(argname="argument network_mode", value=network_mode, expected_type=type_hints["network_mode"])
|
|
1773
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1774
|
+
"network_mode": network_mode,
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
@builtins.property
|
|
1778
|
+
def network_mode(self) -> builtins.str:
|
|
1779
|
+
'''Network modes supported by code interpreter.
|
|
1780
|
+
|
|
1781
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration.html#cfn-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration-networkmode
|
|
1782
|
+
'''
|
|
1783
|
+
result = self._values.get("network_mode")
|
|
1784
|
+
assert result is not None, "Required property 'network_mode' is missing"
|
|
1785
|
+
return typing.cast(builtins.str, result)
|
|
1786
|
+
|
|
1787
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1788
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1789
|
+
|
|
1790
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1791
|
+
return not (rhs == self)
|
|
1792
|
+
|
|
1793
|
+
def __repr__(self) -> str:
|
|
1794
|
+
return "CodeInterpreterNetworkConfigurationProperty(%s)" % ", ".join(
|
|
1795
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1796
|
+
)
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
@jsii.implements(_IInspectable_c2943556, IRuntimeRef, _ITaggableV2_4e6798f8)
|
|
1800
|
+
class CfnRuntime(
|
|
1801
|
+
_CfnResource_9df397a6,
|
|
1802
|
+
metaclass=jsii.JSIIMeta,
|
|
1803
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnRuntime",
|
|
1804
|
+
):
|
|
1805
|
+
'''Resource Type definition for AWS::BedrockAgentCore::Runtime.
|
|
1806
|
+
|
|
1807
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html
|
|
1808
|
+
:cloudformationResource: AWS::BedrockAgentCore::Runtime
|
|
1809
|
+
:exampleMetadata: fixture=_generated
|
|
1810
|
+
|
|
1811
|
+
Example::
|
|
1812
|
+
|
|
1813
|
+
# The code below shows an example of how to instantiate this type.
|
|
1814
|
+
# The values are placeholders you should change.
|
|
1815
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
1816
|
+
|
|
1817
|
+
cfn_runtime = bedrockagentcore.CfnRuntime(self, "MyCfnRuntime",
|
|
1818
|
+
agent_runtime_artifact=bedrockagentcore.CfnRuntime.AgentRuntimeArtifactProperty(
|
|
1819
|
+
container_configuration=bedrockagentcore.CfnRuntime.ContainerConfigurationProperty(
|
|
1820
|
+
container_uri="containerUri"
|
|
1821
|
+
)
|
|
1822
|
+
),
|
|
1823
|
+
agent_runtime_name="agentRuntimeName",
|
|
1824
|
+
network_configuration=bedrockagentcore.CfnRuntime.NetworkConfigurationProperty(
|
|
1825
|
+
network_mode="networkMode"
|
|
1826
|
+
),
|
|
1827
|
+
role_arn="roleArn",
|
|
1828
|
+
|
|
1829
|
+
# the properties below are optional
|
|
1830
|
+
authorizer_configuration=bedrockagentcore.CfnRuntime.AuthorizerConfigurationProperty(
|
|
1831
|
+
custom_jwt_authorizer=bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty(
|
|
1832
|
+
discovery_url="discoveryUrl",
|
|
1833
|
+
|
|
1834
|
+
# the properties below are optional
|
|
1835
|
+
allowed_audience=["allowedAudience"],
|
|
1836
|
+
allowed_clients=["allowedClients"]
|
|
1837
|
+
)
|
|
1838
|
+
),
|
|
1839
|
+
description="description",
|
|
1840
|
+
environment_variables={
|
|
1841
|
+
"environment_variables_key": "environmentVariables"
|
|
1842
|
+
},
|
|
1843
|
+
protocol_configuration="protocolConfiguration",
|
|
1844
|
+
tags={
|
|
1845
|
+
"tags_key": "tags"
|
|
1846
|
+
}
|
|
1847
|
+
)
|
|
1848
|
+
'''
|
|
1849
|
+
|
|
1850
|
+
def __init__(
|
|
1851
|
+
self,
|
|
1852
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1853
|
+
id: builtins.str,
|
|
1854
|
+
*,
|
|
1855
|
+
agent_runtime_artifact: typing.Union[_IResolvable_da3f097b, typing.Union["CfnRuntime.AgentRuntimeArtifactProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1856
|
+
agent_runtime_name: builtins.str,
|
|
1857
|
+
network_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnRuntime.NetworkConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1858
|
+
role_arn: builtins.str,
|
|
1859
|
+
authorizer_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRuntime.AuthorizerConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1860
|
+
description: typing.Optional[builtins.str] = None,
|
|
1861
|
+
environment_variables: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
1862
|
+
protocol_configuration: typing.Optional[builtins.str] = None,
|
|
1863
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1864
|
+
) -> None:
|
|
1865
|
+
'''
|
|
1866
|
+
:param scope: Scope in which this resource is defined.
|
|
1867
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1868
|
+
:param agent_runtime_artifact:
|
|
1869
|
+
:param agent_runtime_name:
|
|
1870
|
+
:param network_configuration:
|
|
1871
|
+
:param role_arn:
|
|
1872
|
+
:param authorizer_configuration: Configuration for the authorizer.
|
|
1873
|
+
:param description:
|
|
1874
|
+
:param environment_variables: Environment variable attributes.
|
|
1875
|
+
:param protocol_configuration:
|
|
1876
|
+
:param tags: A map of tag keys and values.
|
|
1877
|
+
'''
|
|
1878
|
+
if __debug__:
|
|
1879
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d8f75c2b58380182b53165109480fecdbf9bcd35c2fcfcfea5141466ba05b7e7)
|
|
1880
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1881
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1882
|
+
props = CfnRuntimeProps(
|
|
1883
|
+
agent_runtime_artifact=agent_runtime_artifact,
|
|
1884
|
+
agent_runtime_name=agent_runtime_name,
|
|
1885
|
+
network_configuration=network_configuration,
|
|
1886
|
+
role_arn=role_arn,
|
|
1887
|
+
authorizer_configuration=authorizer_configuration,
|
|
1888
|
+
description=description,
|
|
1889
|
+
environment_variables=environment_variables,
|
|
1890
|
+
protocol_configuration=protocol_configuration,
|
|
1891
|
+
tags=tags,
|
|
1892
|
+
)
|
|
1893
|
+
|
|
1894
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1895
|
+
|
|
1896
|
+
@jsii.member(jsii_name="inspect")
|
|
1897
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1898
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
1899
|
+
|
|
1900
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1901
|
+
'''
|
|
1902
|
+
if __debug__:
|
|
1903
|
+
type_hints = typing.get_type_hints(_typecheckingstub__41eb1aeeb420a432d00eafdf7061763658f434f8c1b3fac5748e0b80cf168cda)
|
|
1904
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1905
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1906
|
+
|
|
1907
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1908
|
+
def _render_properties(
|
|
1909
|
+
self,
|
|
1910
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1911
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1912
|
+
'''
|
|
1913
|
+
:param props: -
|
|
1914
|
+
'''
|
|
1915
|
+
if __debug__:
|
|
1916
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ffbc19212156590bcfcec54a917d56095cf1d0e95a1f4f4107501a8cf457feb7)
|
|
1917
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1918
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1919
|
+
|
|
1920
|
+
@jsii.python.classproperty
|
|
1921
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1922
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1923
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1924
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1925
|
+
|
|
1926
|
+
@builtins.property
|
|
1927
|
+
@jsii.member(jsii_name="attrAgentRuntimeArn")
|
|
1928
|
+
def attr_agent_runtime_arn(self) -> builtins.str:
|
|
1929
|
+
'''
|
|
1930
|
+
:cloudformationAttribute: AgentRuntimeArn
|
|
1931
|
+
'''
|
|
1932
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAgentRuntimeArn"))
|
|
1933
|
+
|
|
1934
|
+
@builtins.property
|
|
1935
|
+
@jsii.member(jsii_name="attrAgentRuntimeId")
|
|
1936
|
+
def attr_agent_runtime_id(self) -> builtins.str:
|
|
1937
|
+
'''
|
|
1938
|
+
:cloudformationAttribute: AgentRuntimeId
|
|
1939
|
+
'''
|
|
1940
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAgentRuntimeId"))
|
|
1941
|
+
|
|
1942
|
+
@builtins.property
|
|
1943
|
+
@jsii.member(jsii_name="attrAgentRuntimeVersion")
|
|
1944
|
+
def attr_agent_runtime_version(self) -> builtins.str:
|
|
1945
|
+
'''
|
|
1946
|
+
:cloudformationAttribute: AgentRuntimeVersion
|
|
1947
|
+
'''
|
|
1948
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAgentRuntimeVersion"))
|
|
1949
|
+
|
|
1950
|
+
@builtins.property
|
|
1951
|
+
@jsii.member(jsii_name="attrCreatedAt")
|
|
1952
|
+
def attr_created_at(self) -> builtins.str:
|
|
1953
|
+
'''
|
|
1954
|
+
:cloudformationAttribute: CreatedAt
|
|
1955
|
+
'''
|
|
1956
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
|
|
1957
|
+
|
|
1958
|
+
@builtins.property
|
|
1959
|
+
@jsii.member(jsii_name="attrLastUpdatedAt")
|
|
1960
|
+
def attr_last_updated_at(self) -> builtins.str:
|
|
1961
|
+
'''
|
|
1962
|
+
:cloudformationAttribute: LastUpdatedAt
|
|
1963
|
+
'''
|
|
1964
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLastUpdatedAt"))
|
|
1965
|
+
|
|
1966
|
+
@builtins.property
|
|
1967
|
+
@jsii.member(jsii_name="attrStatus")
|
|
1968
|
+
def attr_status(self) -> builtins.str:
|
|
1969
|
+
'''
|
|
1970
|
+
:cloudformationAttribute: Status
|
|
1971
|
+
'''
|
|
1972
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
1973
|
+
|
|
1974
|
+
@builtins.property
|
|
1975
|
+
@jsii.member(jsii_name="attrWorkloadIdentityDetails")
|
|
1976
|
+
def attr_workload_identity_details(self) -> _IResolvable_da3f097b:
|
|
1977
|
+
'''Configuration for workload identity.
|
|
1978
|
+
|
|
1979
|
+
:cloudformationAttribute: WorkloadIdentityDetails
|
|
1980
|
+
'''
|
|
1981
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrWorkloadIdentityDetails"))
|
|
1982
|
+
|
|
1983
|
+
@builtins.property
|
|
1984
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1985
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1986
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1987
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
1988
|
+
|
|
1989
|
+
@builtins.property
|
|
1990
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1991
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1992
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1993
|
+
|
|
1994
|
+
@builtins.property
|
|
1995
|
+
@jsii.member(jsii_name="runtimeRef")
|
|
1996
|
+
def runtime_ref(self) -> RuntimeReference:
|
|
1997
|
+
'''A reference to a Runtime resource.'''
|
|
1998
|
+
return typing.cast(RuntimeReference, jsii.get(self, "runtimeRef"))
|
|
1999
|
+
|
|
2000
|
+
@builtins.property
|
|
2001
|
+
@jsii.member(jsii_name="agentRuntimeArtifact")
|
|
2002
|
+
def agent_runtime_artifact(
|
|
2003
|
+
self,
|
|
2004
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnRuntime.AgentRuntimeArtifactProperty"]:
|
|
2005
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnRuntime.AgentRuntimeArtifactProperty"], jsii.get(self, "agentRuntimeArtifact"))
|
|
2006
|
+
|
|
2007
|
+
@agent_runtime_artifact.setter
|
|
2008
|
+
def agent_runtime_artifact(
|
|
2009
|
+
self,
|
|
2010
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnRuntime.AgentRuntimeArtifactProperty"],
|
|
2011
|
+
) -> None:
|
|
2012
|
+
if __debug__:
|
|
2013
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9afa965e1f7852c99b813a59ddc326e4e8b2e629273fff790e48abcc309421fb)
|
|
2014
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2015
|
+
jsii.set(self, "agentRuntimeArtifact", value) # pyright: ignore[reportArgumentType]
|
|
2016
|
+
|
|
2017
|
+
@builtins.property
|
|
2018
|
+
@jsii.member(jsii_name="agentRuntimeName")
|
|
2019
|
+
def agent_runtime_name(self) -> builtins.str:
|
|
2020
|
+
return typing.cast(builtins.str, jsii.get(self, "agentRuntimeName"))
|
|
2021
|
+
|
|
2022
|
+
@agent_runtime_name.setter
|
|
2023
|
+
def agent_runtime_name(self, value: builtins.str) -> None:
|
|
2024
|
+
if __debug__:
|
|
2025
|
+
type_hints = typing.get_type_hints(_typecheckingstub__20e5f3a5d4d3f3cf24f87565ebb2f7c531ed9e006970eb5a59dee4eeed670f19)
|
|
2026
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2027
|
+
jsii.set(self, "agentRuntimeName", value) # pyright: ignore[reportArgumentType]
|
|
2028
|
+
|
|
2029
|
+
@builtins.property
|
|
2030
|
+
@jsii.member(jsii_name="networkConfiguration")
|
|
2031
|
+
def network_configuration(
|
|
2032
|
+
self,
|
|
2033
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnRuntime.NetworkConfigurationProperty"]:
|
|
2034
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnRuntime.NetworkConfigurationProperty"], jsii.get(self, "networkConfiguration"))
|
|
2035
|
+
|
|
2036
|
+
@network_configuration.setter
|
|
2037
|
+
def network_configuration(
|
|
2038
|
+
self,
|
|
2039
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnRuntime.NetworkConfigurationProperty"],
|
|
2040
|
+
) -> None:
|
|
2041
|
+
if __debug__:
|
|
2042
|
+
type_hints = typing.get_type_hints(_typecheckingstub__76a3b80aa643920bb76e97b49e6d7c54f3367df4203a420045d6d631a4d54658)
|
|
2043
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2044
|
+
jsii.set(self, "networkConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
2045
|
+
|
|
2046
|
+
@builtins.property
|
|
2047
|
+
@jsii.member(jsii_name="roleArn")
|
|
2048
|
+
def role_arn(self) -> builtins.str:
|
|
2049
|
+
return typing.cast(builtins.str, jsii.get(self, "roleArn"))
|
|
2050
|
+
|
|
2051
|
+
@role_arn.setter
|
|
2052
|
+
def role_arn(self, value: builtins.str) -> None:
|
|
2053
|
+
if __debug__:
|
|
2054
|
+
type_hints = typing.get_type_hints(_typecheckingstub__712719ad084eaaa1f88407e6da1dd4ed68fa570a04329676de9d476fde02ebfe)
|
|
2055
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2056
|
+
jsii.set(self, "roleArn", value) # pyright: ignore[reportArgumentType]
|
|
2057
|
+
|
|
2058
|
+
@builtins.property
|
|
2059
|
+
@jsii.member(jsii_name="authorizerConfiguration")
|
|
2060
|
+
def authorizer_configuration(
|
|
2061
|
+
self,
|
|
2062
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRuntime.AuthorizerConfigurationProperty"]]:
|
|
2063
|
+
'''Configuration for the authorizer.'''
|
|
2064
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRuntime.AuthorizerConfigurationProperty"]], jsii.get(self, "authorizerConfiguration"))
|
|
2065
|
+
|
|
2066
|
+
@authorizer_configuration.setter
|
|
2067
|
+
def authorizer_configuration(
|
|
2068
|
+
self,
|
|
2069
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRuntime.AuthorizerConfigurationProperty"]],
|
|
2070
|
+
) -> None:
|
|
2071
|
+
if __debug__:
|
|
2072
|
+
type_hints = typing.get_type_hints(_typecheckingstub__577d498b775175712bf02d50d4dc0a7fa74d069187c6c0daba641442a844c29e)
|
|
2073
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2074
|
+
jsii.set(self, "authorizerConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
2075
|
+
|
|
2076
|
+
@builtins.property
|
|
2077
|
+
@jsii.member(jsii_name="description")
|
|
2078
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
2079
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
2080
|
+
|
|
2081
|
+
@description.setter
|
|
2082
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
2083
|
+
if __debug__:
|
|
2084
|
+
type_hints = typing.get_type_hints(_typecheckingstub__86887c96ad11d54aa9be7288cd5dfe9a9b3cb370236b2cf8c98f0ea09d7246e2)
|
|
2085
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2086
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
2087
|
+
|
|
2088
|
+
@builtins.property
|
|
2089
|
+
@jsii.member(jsii_name="environmentVariables")
|
|
2090
|
+
def environment_variables(
|
|
2091
|
+
self,
|
|
2092
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
2093
|
+
'''Environment variable attributes.'''
|
|
2094
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], jsii.get(self, "environmentVariables"))
|
|
2095
|
+
|
|
2096
|
+
@environment_variables.setter
|
|
2097
|
+
def environment_variables(
|
|
2098
|
+
self,
|
|
2099
|
+
value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
|
|
2100
|
+
) -> None:
|
|
2101
|
+
if __debug__:
|
|
2102
|
+
type_hints = typing.get_type_hints(_typecheckingstub__27b52f571e16cbee3d0cb6aef888169b2fdf172a92199c29075b1bbfe5eb3091)
|
|
2103
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2104
|
+
jsii.set(self, "environmentVariables", value) # pyright: ignore[reportArgumentType]
|
|
2105
|
+
|
|
2106
|
+
@builtins.property
|
|
2107
|
+
@jsii.member(jsii_name="protocolConfiguration")
|
|
2108
|
+
def protocol_configuration(self) -> typing.Optional[builtins.str]:
|
|
2109
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "protocolConfiguration"))
|
|
2110
|
+
|
|
2111
|
+
@protocol_configuration.setter
|
|
2112
|
+
def protocol_configuration(self, value: typing.Optional[builtins.str]) -> None:
|
|
2113
|
+
if __debug__:
|
|
2114
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dd16ca9a4cf1077fb69bea991264277b990667565406b724c960232073239095)
|
|
2115
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2116
|
+
jsii.set(self, "protocolConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
2117
|
+
|
|
2118
|
+
@builtins.property
|
|
2119
|
+
@jsii.member(jsii_name="tags")
|
|
2120
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
2121
|
+
'''A map of tag keys and values.'''
|
|
2122
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
2123
|
+
|
|
2124
|
+
@tags.setter
|
|
2125
|
+
def tags(
|
|
2126
|
+
self,
|
|
2127
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
2128
|
+
) -> None:
|
|
2129
|
+
if __debug__:
|
|
2130
|
+
type_hints = typing.get_type_hints(_typecheckingstub__13c0ee18c00618ce3d55cf861e88265d3db540867ff55146671310649d3ccaee)
|
|
2131
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2132
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
2133
|
+
|
|
2134
|
+
@jsii.data_type(
|
|
2135
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnRuntime.AgentRuntimeArtifactProperty",
|
|
2136
|
+
jsii_struct_bases=[],
|
|
2137
|
+
name_mapping={"container_configuration": "containerConfiguration"},
|
|
2138
|
+
)
|
|
2139
|
+
class AgentRuntimeArtifactProperty:
|
|
2140
|
+
def __init__(
|
|
2141
|
+
self,
|
|
2142
|
+
*,
|
|
2143
|
+
container_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRuntime.ContainerConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2144
|
+
) -> None:
|
|
2145
|
+
'''
|
|
2146
|
+
:param container_configuration:
|
|
2147
|
+
|
|
2148
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-agentruntimeartifact.html
|
|
2149
|
+
:exampleMetadata: fixture=_generated
|
|
2150
|
+
|
|
2151
|
+
Example::
|
|
2152
|
+
|
|
2153
|
+
# The code below shows an example of how to instantiate this type.
|
|
2154
|
+
# The values are placeholders you should change.
|
|
2155
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
2156
|
+
|
|
2157
|
+
agent_runtime_artifact_property = bedrockagentcore.CfnRuntime.AgentRuntimeArtifactProperty(
|
|
2158
|
+
container_configuration=bedrockagentcore.CfnRuntime.ContainerConfigurationProperty(
|
|
2159
|
+
container_uri="containerUri"
|
|
2160
|
+
)
|
|
2161
|
+
)
|
|
2162
|
+
'''
|
|
2163
|
+
if __debug__:
|
|
2164
|
+
type_hints = typing.get_type_hints(_typecheckingstub__51346444ae527a839c6fcfd4fd456eeea9b11da43bf9dadd9b152cfc716ecfd2)
|
|
2165
|
+
check_type(argname="argument container_configuration", value=container_configuration, expected_type=type_hints["container_configuration"])
|
|
2166
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2167
|
+
if container_configuration is not None:
|
|
2168
|
+
self._values["container_configuration"] = container_configuration
|
|
2169
|
+
|
|
2170
|
+
@builtins.property
|
|
2171
|
+
def container_configuration(
|
|
2172
|
+
self,
|
|
2173
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRuntime.ContainerConfigurationProperty"]]:
|
|
2174
|
+
'''
|
|
2175
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-agentruntimeartifact.html#cfn-bedrockagentcore-runtime-agentruntimeartifact-containerconfiguration
|
|
2176
|
+
'''
|
|
2177
|
+
result = self._values.get("container_configuration")
|
|
2178
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRuntime.ContainerConfigurationProperty"]], result)
|
|
2179
|
+
|
|
2180
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2181
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2182
|
+
|
|
2183
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2184
|
+
return not (rhs == self)
|
|
2185
|
+
|
|
2186
|
+
def __repr__(self) -> str:
|
|
2187
|
+
return "AgentRuntimeArtifactProperty(%s)" % ", ".join(
|
|
2188
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2189
|
+
)
|
|
2190
|
+
|
|
2191
|
+
@jsii.data_type(
|
|
2192
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnRuntime.AuthorizerConfigurationProperty",
|
|
2193
|
+
jsii_struct_bases=[],
|
|
2194
|
+
name_mapping={"custom_jwt_authorizer": "customJwtAuthorizer"},
|
|
2195
|
+
)
|
|
2196
|
+
class AuthorizerConfigurationProperty:
|
|
2197
|
+
def __init__(
|
|
2198
|
+
self,
|
|
2199
|
+
*,
|
|
2200
|
+
custom_jwt_authorizer: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRuntime.CustomJWTAuthorizerConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2201
|
+
) -> None:
|
|
2202
|
+
'''Configuration for the authorizer.
|
|
2203
|
+
|
|
2204
|
+
:param custom_jwt_authorizer: Configuration for custom JWT authorizer.
|
|
2205
|
+
|
|
2206
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-authorizerconfiguration.html
|
|
2207
|
+
:exampleMetadata: fixture=_generated
|
|
2208
|
+
|
|
2209
|
+
Example::
|
|
2210
|
+
|
|
2211
|
+
# The code below shows an example of how to instantiate this type.
|
|
2212
|
+
# The values are placeholders you should change.
|
|
2213
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
2214
|
+
|
|
2215
|
+
authorizer_configuration_property = bedrockagentcore.CfnRuntime.AuthorizerConfigurationProperty(
|
|
2216
|
+
custom_jwt_authorizer=bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty(
|
|
2217
|
+
discovery_url="discoveryUrl",
|
|
2218
|
+
|
|
2219
|
+
# the properties below are optional
|
|
2220
|
+
allowed_audience=["allowedAudience"],
|
|
2221
|
+
allowed_clients=["allowedClients"]
|
|
2222
|
+
)
|
|
2223
|
+
)
|
|
2224
|
+
'''
|
|
2225
|
+
if __debug__:
|
|
2226
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bb18338480d08b211086521e0155635de6c3b54cf6ebbb5a7ee690c697991b4b)
|
|
2227
|
+
check_type(argname="argument custom_jwt_authorizer", value=custom_jwt_authorizer, expected_type=type_hints["custom_jwt_authorizer"])
|
|
2228
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2229
|
+
if custom_jwt_authorizer is not None:
|
|
2230
|
+
self._values["custom_jwt_authorizer"] = custom_jwt_authorizer
|
|
2231
|
+
|
|
2232
|
+
@builtins.property
|
|
2233
|
+
def custom_jwt_authorizer(
|
|
2234
|
+
self,
|
|
2235
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRuntime.CustomJWTAuthorizerConfigurationProperty"]]:
|
|
2236
|
+
'''Configuration for custom JWT authorizer.
|
|
2237
|
+
|
|
2238
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-authorizerconfiguration.html#cfn-bedrockagentcore-runtime-authorizerconfiguration-customjwtauthorizer
|
|
2239
|
+
'''
|
|
2240
|
+
result = self._values.get("custom_jwt_authorizer")
|
|
2241
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRuntime.CustomJWTAuthorizerConfigurationProperty"]], result)
|
|
2242
|
+
|
|
2243
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2244
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2245
|
+
|
|
2246
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2247
|
+
return not (rhs == self)
|
|
2248
|
+
|
|
2249
|
+
def __repr__(self) -> str:
|
|
2250
|
+
return "AuthorizerConfigurationProperty(%s)" % ", ".join(
|
|
2251
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2252
|
+
)
|
|
2253
|
+
|
|
2254
|
+
@jsii.data_type(
|
|
2255
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnRuntime.ContainerConfigurationProperty",
|
|
2256
|
+
jsii_struct_bases=[],
|
|
2257
|
+
name_mapping={"container_uri": "containerUri"},
|
|
2258
|
+
)
|
|
2259
|
+
class ContainerConfigurationProperty:
|
|
2260
|
+
def __init__(self, *, container_uri: builtins.str) -> None:
|
|
2261
|
+
'''
|
|
2262
|
+
:param container_uri: The ECR URI of the container.
|
|
2263
|
+
|
|
2264
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-containerconfiguration.html
|
|
2265
|
+
:exampleMetadata: fixture=_generated
|
|
2266
|
+
|
|
2267
|
+
Example::
|
|
2268
|
+
|
|
2269
|
+
# The code below shows an example of how to instantiate this type.
|
|
2270
|
+
# The values are placeholders you should change.
|
|
2271
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
2272
|
+
|
|
2273
|
+
container_configuration_property = bedrockagentcore.CfnRuntime.ContainerConfigurationProperty(
|
|
2274
|
+
container_uri="containerUri"
|
|
2275
|
+
)
|
|
2276
|
+
'''
|
|
2277
|
+
if __debug__:
|
|
2278
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f0740ce1d3425c4e128b2f49784ee2a02ae6e81129ade5290d001575f4ecacb8)
|
|
2279
|
+
check_type(argname="argument container_uri", value=container_uri, expected_type=type_hints["container_uri"])
|
|
2280
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2281
|
+
"container_uri": container_uri,
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
@builtins.property
|
|
2285
|
+
def container_uri(self) -> builtins.str:
|
|
2286
|
+
'''The ECR URI of the container.
|
|
2287
|
+
|
|
2288
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-containerconfiguration.html#cfn-bedrockagentcore-runtime-containerconfiguration-containeruri
|
|
2289
|
+
'''
|
|
2290
|
+
result = self._values.get("container_uri")
|
|
2291
|
+
assert result is not None, "Required property 'container_uri' is missing"
|
|
2292
|
+
return typing.cast(builtins.str, result)
|
|
2293
|
+
|
|
2294
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2295
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2296
|
+
|
|
2297
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2298
|
+
return not (rhs == self)
|
|
2299
|
+
|
|
2300
|
+
def __repr__(self) -> str:
|
|
2301
|
+
return "ContainerConfigurationProperty(%s)" % ", ".join(
|
|
2302
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2303
|
+
)
|
|
2304
|
+
|
|
2305
|
+
@jsii.data_type(
|
|
2306
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty",
|
|
2307
|
+
jsii_struct_bases=[],
|
|
2308
|
+
name_mapping={
|
|
2309
|
+
"discovery_url": "discoveryUrl",
|
|
2310
|
+
"allowed_audience": "allowedAudience",
|
|
2311
|
+
"allowed_clients": "allowedClients",
|
|
2312
|
+
},
|
|
2313
|
+
)
|
|
2314
|
+
class CustomJWTAuthorizerConfigurationProperty:
|
|
2315
|
+
def __init__(
|
|
2316
|
+
self,
|
|
2317
|
+
*,
|
|
2318
|
+
discovery_url: builtins.str,
|
|
2319
|
+
allowed_audience: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2320
|
+
allowed_clients: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2321
|
+
) -> None:
|
|
2322
|
+
'''Configuration for custom JWT authorizer.
|
|
2323
|
+
|
|
2324
|
+
:param discovery_url: OpenID Connect discovery URL.
|
|
2325
|
+
:param allowed_audience: List of allowed audiences.
|
|
2326
|
+
:param allowed_clients: List of allowed clients.
|
|
2327
|
+
|
|
2328
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html
|
|
2329
|
+
:exampleMetadata: fixture=_generated
|
|
2330
|
+
|
|
2331
|
+
Example::
|
|
2332
|
+
|
|
2333
|
+
# The code below shows an example of how to instantiate this type.
|
|
2334
|
+
# The values are placeholders you should change.
|
|
2335
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
2336
|
+
|
|
2337
|
+
custom_jWTAuthorizer_configuration_property = bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty(
|
|
2338
|
+
discovery_url="discoveryUrl",
|
|
2339
|
+
|
|
2340
|
+
# the properties below are optional
|
|
2341
|
+
allowed_audience=["allowedAudience"],
|
|
2342
|
+
allowed_clients=["allowedClients"]
|
|
2343
|
+
)
|
|
2344
|
+
'''
|
|
2345
|
+
if __debug__:
|
|
2346
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6479ff33c6925aa85dcd6d4587cd46a0d073bd9992bb93c306d366f07cda2391)
|
|
2347
|
+
check_type(argname="argument discovery_url", value=discovery_url, expected_type=type_hints["discovery_url"])
|
|
2348
|
+
check_type(argname="argument allowed_audience", value=allowed_audience, expected_type=type_hints["allowed_audience"])
|
|
2349
|
+
check_type(argname="argument allowed_clients", value=allowed_clients, expected_type=type_hints["allowed_clients"])
|
|
2350
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2351
|
+
"discovery_url": discovery_url,
|
|
2352
|
+
}
|
|
2353
|
+
if allowed_audience is not None:
|
|
2354
|
+
self._values["allowed_audience"] = allowed_audience
|
|
2355
|
+
if allowed_clients is not None:
|
|
2356
|
+
self._values["allowed_clients"] = allowed_clients
|
|
2357
|
+
|
|
2358
|
+
@builtins.property
|
|
2359
|
+
def discovery_url(self) -> builtins.str:
|
|
2360
|
+
'''OpenID Connect discovery URL.
|
|
2361
|
+
|
|
2362
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-runtime-customjwtauthorizerconfiguration-discoveryurl
|
|
2363
|
+
'''
|
|
2364
|
+
result = self._values.get("discovery_url")
|
|
2365
|
+
assert result is not None, "Required property 'discovery_url' is missing"
|
|
2366
|
+
return typing.cast(builtins.str, result)
|
|
2367
|
+
|
|
2368
|
+
@builtins.property
|
|
2369
|
+
def allowed_audience(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2370
|
+
'''List of allowed audiences.
|
|
2371
|
+
|
|
2372
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-runtime-customjwtauthorizerconfiguration-allowedaudience
|
|
2373
|
+
'''
|
|
2374
|
+
result = self._values.get("allowed_audience")
|
|
2375
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2376
|
+
|
|
2377
|
+
@builtins.property
|
|
2378
|
+
def allowed_clients(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2379
|
+
'''List of allowed clients.
|
|
2380
|
+
|
|
2381
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-runtime-customjwtauthorizerconfiguration-allowedclients
|
|
2382
|
+
'''
|
|
2383
|
+
result = self._values.get("allowed_clients")
|
|
2384
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2385
|
+
|
|
2386
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2387
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2388
|
+
|
|
2389
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2390
|
+
return not (rhs == self)
|
|
2391
|
+
|
|
2392
|
+
def __repr__(self) -> str:
|
|
2393
|
+
return "CustomJWTAuthorizerConfigurationProperty(%s)" % ", ".join(
|
|
2394
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2395
|
+
)
|
|
2396
|
+
|
|
2397
|
+
@jsii.data_type(
|
|
2398
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnRuntime.NetworkConfigurationProperty",
|
|
2399
|
+
jsii_struct_bases=[],
|
|
2400
|
+
name_mapping={"network_mode": "networkMode"},
|
|
2401
|
+
)
|
|
2402
|
+
class NetworkConfigurationProperty:
|
|
2403
|
+
def __init__(self, *, network_mode: builtins.str) -> None:
|
|
2404
|
+
'''
|
|
2405
|
+
:param network_mode: Network mode configuration type.
|
|
2406
|
+
|
|
2407
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-networkconfiguration.html
|
|
2408
|
+
:exampleMetadata: fixture=_generated
|
|
2409
|
+
|
|
2410
|
+
Example::
|
|
2411
|
+
|
|
2412
|
+
# The code below shows an example of how to instantiate this type.
|
|
2413
|
+
# The values are placeholders you should change.
|
|
2414
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
2415
|
+
|
|
2416
|
+
network_configuration_property = bedrockagentcore.CfnRuntime.NetworkConfigurationProperty(
|
|
2417
|
+
network_mode="networkMode"
|
|
2418
|
+
)
|
|
2419
|
+
'''
|
|
2420
|
+
if __debug__:
|
|
2421
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f7ef3688e7eda46e5ab607f7c059dd5ed308816790e532f38188518d3a7c9b0f)
|
|
2422
|
+
check_type(argname="argument network_mode", value=network_mode, expected_type=type_hints["network_mode"])
|
|
2423
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2424
|
+
"network_mode": network_mode,
|
|
2425
|
+
}
|
|
2426
|
+
|
|
2427
|
+
@builtins.property
|
|
2428
|
+
def network_mode(self) -> builtins.str:
|
|
2429
|
+
'''Network mode configuration type.
|
|
2430
|
+
|
|
2431
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-networkconfiguration.html#cfn-bedrockagentcore-runtime-networkconfiguration-networkmode
|
|
2432
|
+
'''
|
|
2433
|
+
result = self._values.get("network_mode")
|
|
2434
|
+
assert result is not None, "Required property 'network_mode' is missing"
|
|
2435
|
+
return typing.cast(builtins.str, result)
|
|
2436
|
+
|
|
2437
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2438
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2439
|
+
|
|
2440
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2441
|
+
return not (rhs == self)
|
|
2442
|
+
|
|
2443
|
+
def __repr__(self) -> str:
|
|
2444
|
+
return "NetworkConfigurationProperty(%s)" % ", ".join(
|
|
2445
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2446
|
+
)
|
|
2447
|
+
|
|
2448
|
+
@jsii.data_type(
|
|
2449
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnRuntime.WorkloadIdentityDetailsProperty",
|
|
2450
|
+
jsii_struct_bases=[],
|
|
2451
|
+
name_mapping={"workload_identity_arn": "workloadIdentityArn"},
|
|
2452
|
+
)
|
|
2453
|
+
class WorkloadIdentityDetailsProperty:
|
|
2454
|
+
def __init__(self, *, workload_identity_arn: builtins.str) -> None:
|
|
2455
|
+
'''Configuration for workload identity.
|
|
2456
|
+
|
|
2457
|
+
:param workload_identity_arn: ARN of the workload identity.
|
|
2458
|
+
|
|
2459
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-workloadidentitydetails.html
|
|
2460
|
+
:exampleMetadata: fixture=_generated
|
|
2461
|
+
|
|
2462
|
+
Example::
|
|
2463
|
+
|
|
2464
|
+
# The code below shows an example of how to instantiate this type.
|
|
2465
|
+
# The values are placeholders you should change.
|
|
2466
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
2467
|
+
|
|
2468
|
+
workload_identity_details_property = bedrockagentcore.CfnRuntime.WorkloadIdentityDetailsProperty(
|
|
2469
|
+
workload_identity_arn="workloadIdentityArn"
|
|
2470
|
+
)
|
|
2471
|
+
'''
|
|
2472
|
+
if __debug__:
|
|
2473
|
+
type_hints = typing.get_type_hints(_typecheckingstub__68380bfa2496b392a6192eeab7bae5b15e67d93a4946dff9481dca7e2b9da401)
|
|
2474
|
+
check_type(argname="argument workload_identity_arn", value=workload_identity_arn, expected_type=type_hints["workload_identity_arn"])
|
|
2475
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2476
|
+
"workload_identity_arn": workload_identity_arn,
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
@builtins.property
|
|
2480
|
+
def workload_identity_arn(self) -> builtins.str:
|
|
2481
|
+
'''ARN of the workload identity.
|
|
2482
|
+
|
|
2483
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-workloadidentitydetails.html#cfn-bedrockagentcore-runtime-workloadidentitydetails-workloadidentityarn
|
|
2484
|
+
'''
|
|
2485
|
+
result = self._values.get("workload_identity_arn")
|
|
2486
|
+
assert result is not None, "Required property 'workload_identity_arn' is missing"
|
|
2487
|
+
return typing.cast(builtins.str, result)
|
|
2488
|
+
|
|
2489
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2490
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2491
|
+
|
|
2492
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2493
|
+
return not (rhs == self)
|
|
2494
|
+
|
|
2495
|
+
def __repr__(self) -> str:
|
|
2496
|
+
return "WorkloadIdentityDetailsProperty(%s)" % ", ".join(
|
|
2497
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2498
|
+
)
|
|
2499
|
+
|
|
2500
|
+
|
|
2501
|
+
@jsii.implements(_IInspectable_c2943556, IRuntimeEndpointRef, _ITaggableV2_4e6798f8)
|
|
2502
|
+
class CfnRuntimeEndpoint(
|
|
2503
|
+
_CfnResource_9df397a6,
|
|
2504
|
+
metaclass=jsii.JSIIMeta,
|
|
2505
|
+
jsii_type="aws-cdk-lib.aws_bedrockagentcore.CfnRuntimeEndpoint",
|
|
2506
|
+
):
|
|
2507
|
+
'''Resource definition for AWS::BedrockAgentCore::RuntimeEndpoint.
|
|
2508
|
+
|
|
2509
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtimeendpoint.html
|
|
2510
|
+
:cloudformationResource: AWS::BedrockAgentCore::RuntimeEndpoint
|
|
2511
|
+
:exampleMetadata: fixture=_generated
|
|
2512
|
+
|
|
2513
|
+
Example::
|
|
2514
|
+
|
|
2515
|
+
# The code below shows an example of how to instantiate this type.
|
|
2516
|
+
# The values are placeholders you should change.
|
|
2517
|
+
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
|
|
2518
|
+
|
|
2519
|
+
cfn_runtime_endpoint = bedrockagentcore.CfnRuntimeEndpoint(self, "MyCfnRuntimeEndpoint",
|
|
2520
|
+
agent_runtime_id="agentRuntimeId",
|
|
2521
|
+
name="name",
|
|
2522
|
+
|
|
2523
|
+
# the properties below are optional
|
|
2524
|
+
agent_runtime_version="agentRuntimeVersion",
|
|
2525
|
+
description="description",
|
|
2526
|
+
tags={
|
|
2527
|
+
"tags_key": "tags"
|
|
2528
|
+
}
|
|
2529
|
+
)
|
|
2530
|
+
'''
|
|
2531
|
+
|
|
2532
|
+
def __init__(
|
|
2533
|
+
self,
|
|
2534
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2535
|
+
id: builtins.str,
|
|
2536
|
+
*,
|
|
2537
|
+
agent_runtime_id: builtins.str,
|
|
2538
|
+
name: builtins.str,
|
|
2539
|
+
agent_runtime_version: typing.Optional[builtins.str] = None,
|
|
2540
|
+
description: typing.Optional[builtins.str] = None,
|
|
2541
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2542
|
+
) -> None:
|
|
2543
|
+
'''
|
|
2544
|
+
:param scope: Scope in which this resource is defined.
|
|
2545
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
2546
|
+
:param agent_runtime_id: The ID of the parent Agent Runtime.
|
|
2547
|
+
:param name:
|
|
2548
|
+
:param agent_runtime_version:
|
|
2549
|
+
:param description:
|
|
2550
|
+
:param tags: A map of tag keys and values.
|
|
2551
|
+
'''
|
|
2552
|
+
if __debug__:
|
|
2553
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f889c0edf8dd4715192bf69e6433f02f671ca35ed9b8e8f7622b298a7b14955a)
|
|
2554
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2555
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2556
|
+
props = CfnRuntimeEndpointProps(
|
|
2557
|
+
agent_runtime_id=agent_runtime_id,
|
|
2558
|
+
name=name,
|
|
2559
|
+
agent_runtime_version=agent_runtime_version,
|
|
2560
|
+
description=description,
|
|
2561
|
+
tags=tags,
|
|
2562
|
+
)
|
|
2563
|
+
|
|
2564
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
2565
|
+
|
|
2566
|
+
@jsii.member(jsii_name="inspect")
|
|
2567
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2568
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
2569
|
+
|
|
2570
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
2571
|
+
'''
|
|
2572
|
+
if __debug__:
|
|
2573
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a2e6a578bb33afa13fb1d85d1b682fc96e67f21a5fb168de296365084e02f261)
|
|
2574
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
2575
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
2576
|
+
|
|
2577
|
+
@jsii.member(jsii_name="renderProperties")
|
|
2578
|
+
def _render_properties(
|
|
2579
|
+
self,
|
|
2580
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2581
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2582
|
+
'''
|
|
2583
|
+
:param props: -
|
|
2584
|
+
'''
|
|
2585
|
+
if __debug__:
|
|
2586
|
+
type_hints = typing.get_type_hints(_typecheckingstub__91be73ce07416705255e5e1569db31b3f488f1376320ddae8d8803981071f602)
|
|
2587
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
2588
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
2589
|
+
|
|
2590
|
+
@jsii.python.classproperty
|
|
2591
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
2592
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
2593
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
2594
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
2595
|
+
|
|
2596
|
+
@builtins.property
|
|
2597
|
+
@jsii.member(jsii_name="attrAgentRuntimeArn")
|
|
2598
|
+
def attr_agent_runtime_arn(self) -> builtins.str:
|
|
2599
|
+
'''
|
|
2600
|
+
:cloudformationAttribute: AgentRuntimeArn
|
|
2601
|
+
'''
|
|
2602
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAgentRuntimeArn"))
|
|
2603
|
+
|
|
2604
|
+
@builtins.property
|
|
2605
|
+
@jsii.member(jsii_name="attrAgentRuntimeEndpointArn")
|
|
2606
|
+
def attr_agent_runtime_endpoint_arn(self) -> builtins.str:
|
|
2607
|
+
'''
|
|
2608
|
+
:cloudformationAttribute: AgentRuntimeEndpointArn
|
|
2609
|
+
'''
|
|
2610
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAgentRuntimeEndpointArn"))
|
|
2611
|
+
|
|
2612
|
+
@builtins.property
|
|
2613
|
+
@jsii.member(jsii_name="attrCreatedAt")
|
|
2614
|
+
def attr_created_at(self) -> builtins.str:
|
|
2615
|
+
'''
|
|
2616
|
+
:cloudformationAttribute: CreatedAt
|
|
2617
|
+
'''
|
|
2618
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
|
|
2619
|
+
|
|
2620
|
+
@builtins.property
|
|
2621
|
+
@jsii.member(jsii_name="attrFailureReason")
|
|
2622
|
+
def attr_failure_reason(self) -> builtins.str:
|
|
2623
|
+
'''The reason for failure if the endpoint is in a failed state.
|
|
2624
|
+
|
|
2625
|
+
:cloudformationAttribute: FailureReason
|
|
2626
|
+
'''
|
|
2627
|
+
return typing.cast(builtins.str, jsii.get(self, "attrFailureReason"))
|
|
2628
|
+
|
|
2629
|
+
@builtins.property
|
|
2630
|
+
@jsii.member(jsii_name="attrId")
|
|
2631
|
+
def attr_id(self) -> builtins.str:
|
|
2632
|
+
'''The unique ID of the Agent Runtime Endpoint itself.
|
|
2633
|
+
|
|
2634
|
+
:cloudformationAttribute: Id
|
|
2635
|
+
'''
|
|
2636
|
+
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
2637
|
+
|
|
2638
|
+
@builtins.property
|
|
2639
|
+
@jsii.member(jsii_name="attrLastUpdatedAt")
|
|
2640
|
+
def attr_last_updated_at(self) -> builtins.str:
|
|
2641
|
+
'''
|
|
2642
|
+
:cloudformationAttribute: LastUpdatedAt
|
|
2643
|
+
'''
|
|
2644
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLastUpdatedAt"))
|
|
2645
|
+
|
|
2646
|
+
@builtins.property
|
|
2647
|
+
@jsii.member(jsii_name="attrLiveVersion")
|
|
2648
|
+
def attr_live_version(self) -> builtins.str:
|
|
2649
|
+
'''
|
|
2650
|
+
:cloudformationAttribute: LiveVersion
|
|
2651
|
+
'''
|
|
2652
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLiveVersion"))
|
|
2653
|
+
|
|
2654
|
+
@builtins.property
|
|
2655
|
+
@jsii.member(jsii_name="attrStatus")
|
|
2656
|
+
def attr_status(self) -> builtins.str:
|
|
2657
|
+
'''
|
|
2658
|
+
:cloudformationAttribute: Status
|
|
2659
|
+
'''
|
|
2660
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
2661
|
+
|
|
2662
|
+
@builtins.property
|
|
2663
|
+
@jsii.member(jsii_name="attrTargetVersion")
|
|
2664
|
+
def attr_target_version(self) -> builtins.str:
|
|
2665
|
+
'''
|
|
2666
|
+
:cloudformationAttribute: TargetVersion
|
|
2667
|
+
'''
|
|
2668
|
+
return typing.cast(builtins.str, jsii.get(self, "attrTargetVersion"))
|
|
2669
|
+
|
|
2670
|
+
@builtins.property
|
|
2671
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
2672
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
2673
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
2674
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
2675
|
+
|
|
2676
|
+
@builtins.property
|
|
2677
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
2678
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2679
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2680
|
+
|
|
2681
|
+
@builtins.property
|
|
2682
|
+
@jsii.member(jsii_name="runtimeEndpointRef")
|
|
2683
|
+
def runtime_endpoint_ref(self) -> RuntimeEndpointReference:
|
|
2684
|
+
'''A reference to a RuntimeEndpoint resource.'''
|
|
2685
|
+
return typing.cast(RuntimeEndpointReference, jsii.get(self, "runtimeEndpointRef"))
|
|
2686
|
+
|
|
2687
|
+
@builtins.property
|
|
2688
|
+
@jsii.member(jsii_name="agentRuntimeId")
|
|
2689
|
+
def agent_runtime_id(self) -> builtins.str:
|
|
2690
|
+
'''The ID of the parent Agent Runtime.'''
|
|
2691
|
+
return typing.cast(builtins.str, jsii.get(self, "agentRuntimeId"))
|
|
2692
|
+
|
|
2693
|
+
@agent_runtime_id.setter
|
|
2694
|
+
def agent_runtime_id(self, value: builtins.str) -> None:
|
|
2695
|
+
if __debug__:
|
|
2696
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5ceb50df9e5593b49d2fbdc6aac8e77c6be9322ee82ceea79d7d86478e1a9d74)
|
|
2697
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2698
|
+
jsii.set(self, "agentRuntimeId", value) # pyright: ignore[reportArgumentType]
|
|
2699
|
+
|
|
2700
|
+
@builtins.property
|
|
2701
|
+
@jsii.member(jsii_name="name")
|
|
2702
|
+
def name(self) -> builtins.str:
|
|
2703
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
2704
|
+
|
|
2705
|
+
@name.setter
|
|
2706
|
+
def name(self, value: builtins.str) -> None:
|
|
2707
|
+
if __debug__:
|
|
2708
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f380de6caf6e91bd3b0399e46b356f219d19dd4297d832ed74437f4653be82c3)
|
|
2709
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2710
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
2711
|
+
|
|
2712
|
+
@builtins.property
|
|
2713
|
+
@jsii.member(jsii_name="agentRuntimeVersion")
|
|
2714
|
+
def agent_runtime_version(self) -> typing.Optional[builtins.str]:
|
|
2715
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "agentRuntimeVersion"))
|
|
2716
|
+
|
|
2717
|
+
@agent_runtime_version.setter
|
|
2718
|
+
def agent_runtime_version(self, value: typing.Optional[builtins.str]) -> None:
|
|
2719
|
+
if __debug__:
|
|
2720
|
+
type_hints = typing.get_type_hints(_typecheckingstub__45c0052c9218918d9940523a8d7f016f7eaf5fe73a714ee05b2ba7a94aa9df9f)
|
|
2721
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2722
|
+
jsii.set(self, "agentRuntimeVersion", value) # pyright: ignore[reportArgumentType]
|
|
2723
|
+
|
|
2724
|
+
@builtins.property
|
|
2725
|
+
@jsii.member(jsii_name="description")
|
|
2726
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
2727
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
2728
|
+
|
|
2729
|
+
@description.setter
|
|
2730
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
2731
|
+
if __debug__:
|
|
2732
|
+
type_hints = typing.get_type_hints(_typecheckingstub__479a4b8aa6bb0db70941c7bc7a41e153fdbf533d62d2c2dc2ae2edf57fb46e99)
|
|
2733
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2734
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
2735
|
+
|
|
2736
|
+
@builtins.property
|
|
2737
|
+
@jsii.member(jsii_name="tags")
|
|
2738
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
2739
|
+
'''A map of tag keys and values.'''
|
|
2740
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
2741
|
+
|
|
2742
|
+
@tags.setter
|
|
2743
|
+
def tags(
|
|
2744
|
+
self,
|
|
2745
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
2746
|
+
) -> None:
|
|
2747
|
+
if __debug__:
|
|
2748
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1df913b08f181c8777324479d4caab3dc1c0e41137ac1db4a0b10f478ad63ce7)
|
|
2749
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2750
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
__all__ = [
|
|
2754
|
+
"BrowserCustomReference",
|
|
2755
|
+
"CfnBrowserCustom",
|
|
2756
|
+
"CfnBrowserCustomProps",
|
|
2757
|
+
"CfnCodeInterpreterCustom",
|
|
2758
|
+
"CfnCodeInterpreterCustomProps",
|
|
2759
|
+
"CfnRuntime",
|
|
2760
|
+
"CfnRuntimeEndpoint",
|
|
2761
|
+
"CfnRuntimeEndpointProps",
|
|
2762
|
+
"CfnRuntimeProps",
|
|
2763
|
+
"CodeInterpreterCustomReference",
|
|
2764
|
+
"IBrowserCustomRef",
|
|
2765
|
+
"ICodeInterpreterCustomRef",
|
|
2766
|
+
"IRuntimeEndpointRef",
|
|
2767
|
+
"IRuntimeRef",
|
|
2768
|
+
"RuntimeEndpointReference",
|
|
2769
|
+
"RuntimeReference",
|
|
2770
|
+
]
|
|
2771
|
+
|
|
2772
|
+
publication.publish()
|
|
2773
|
+
|
|
2774
|
+
def _typecheckingstub__45e545da2b3da370563839cf7802f81e77f186bac4ddee7d944e49364fcf8806(
|
|
2775
|
+
*,
|
|
2776
|
+
browser_id: builtins.str,
|
|
2777
|
+
) -> None:
|
|
2778
|
+
"""Type checking stubs"""
|
|
2779
|
+
pass
|
|
2780
|
+
|
|
2781
|
+
def _typecheckingstub__08f9adb5e20b52bbdc47438decbd54e3ebb4b1976cbf46432a19597fc6589c39(
|
|
2782
|
+
*,
|
|
2783
|
+
name: builtins.str,
|
|
2784
|
+
network_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnBrowserCustom.BrowserNetworkConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2785
|
+
description: typing.Optional[builtins.str] = None,
|
|
2786
|
+
execution_role_arn: typing.Optional[builtins.str] = None,
|
|
2787
|
+
recording_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBrowserCustom.RecordingConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2788
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2789
|
+
) -> None:
|
|
2790
|
+
"""Type checking stubs"""
|
|
2791
|
+
pass
|
|
2792
|
+
|
|
2793
|
+
def _typecheckingstub__5b5217aa9ccd0ec964b92c3a48855bb1494914c435606fcee5b0faefd790d264(
|
|
2794
|
+
*,
|
|
2795
|
+
name: builtins.str,
|
|
2796
|
+
network_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2797
|
+
description: typing.Optional[builtins.str] = None,
|
|
2798
|
+
execution_role_arn: typing.Optional[builtins.str] = None,
|
|
2799
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2800
|
+
) -> None:
|
|
2801
|
+
"""Type checking stubs"""
|
|
2802
|
+
pass
|
|
2803
|
+
|
|
2804
|
+
def _typecheckingstub__03746d507f3e8e95afbebc436c73d1ac1fc643ccea60f817b99b76cb41ccf5fb(
|
|
2805
|
+
*,
|
|
2806
|
+
agent_runtime_id: builtins.str,
|
|
2807
|
+
name: builtins.str,
|
|
2808
|
+
agent_runtime_version: typing.Optional[builtins.str] = None,
|
|
2809
|
+
description: typing.Optional[builtins.str] = None,
|
|
2810
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2811
|
+
) -> None:
|
|
2812
|
+
"""Type checking stubs"""
|
|
2813
|
+
pass
|
|
2814
|
+
|
|
2815
|
+
def _typecheckingstub__0e489b12cef85647a902e6bba6db3bf5f3ef1a856b74cf0fc5a7f8d1d0fa4a4b(
|
|
2816
|
+
*,
|
|
2817
|
+
agent_runtime_artifact: typing.Union[_IResolvable_da3f097b, typing.Union[CfnRuntime.AgentRuntimeArtifactProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2818
|
+
agent_runtime_name: builtins.str,
|
|
2819
|
+
network_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnRuntime.NetworkConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2820
|
+
role_arn: builtins.str,
|
|
2821
|
+
authorizer_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRuntime.AuthorizerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2822
|
+
description: typing.Optional[builtins.str] = None,
|
|
2823
|
+
environment_variables: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
2824
|
+
protocol_configuration: typing.Optional[builtins.str] = None,
|
|
2825
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2826
|
+
) -> None:
|
|
2827
|
+
"""Type checking stubs"""
|
|
2828
|
+
pass
|
|
2829
|
+
|
|
2830
|
+
def _typecheckingstub__89dc37aef7efb202707ab991eff3008383de6de10f2228d9e9beb350d3f170d5(
|
|
2831
|
+
*,
|
|
2832
|
+
code_interpreter_id: builtins.str,
|
|
2833
|
+
) -> None:
|
|
2834
|
+
"""Type checking stubs"""
|
|
2835
|
+
pass
|
|
2836
|
+
|
|
2837
|
+
def _typecheckingstub__056e5ef22e335ff5e02bdd57f3e564e80393e99c891cc1890f945dd001ef5b8f(
|
|
2838
|
+
*,
|
|
2839
|
+
agent_runtime_endpoint_arn: builtins.str,
|
|
2840
|
+
) -> None:
|
|
2841
|
+
"""Type checking stubs"""
|
|
2842
|
+
pass
|
|
2843
|
+
|
|
2844
|
+
def _typecheckingstub__8847701d5ac2ffc328a04478df4877176577ccf780cdf31ccc35b7d9bbcc331a(
|
|
2845
|
+
*,
|
|
2846
|
+
agent_runtime_id: builtins.str,
|
|
2847
|
+
) -> None:
|
|
2848
|
+
"""Type checking stubs"""
|
|
2849
|
+
pass
|
|
2850
|
+
|
|
2851
|
+
def _typecheckingstub__e817ad5ee6496ab54cf569758c4d73da62a4d6f5cf0c34866960f6e4677343e1(
|
|
2852
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2853
|
+
id: builtins.str,
|
|
2854
|
+
*,
|
|
2855
|
+
name: builtins.str,
|
|
2856
|
+
network_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnBrowserCustom.BrowserNetworkConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2857
|
+
description: typing.Optional[builtins.str] = None,
|
|
2858
|
+
execution_role_arn: typing.Optional[builtins.str] = None,
|
|
2859
|
+
recording_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBrowserCustom.RecordingConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2860
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2861
|
+
) -> None:
|
|
2862
|
+
"""Type checking stubs"""
|
|
2863
|
+
pass
|
|
2864
|
+
|
|
2865
|
+
def _typecheckingstub__12637c5685b21eb50c5acd05eb9308d8266fc2816549a6a2816d9399823e8551(
|
|
2866
|
+
inspector: _TreeInspector_488e0dd5,
|
|
2867
|
+
) -> None:
|
|
2868
|
+
"""Type checking stubs"""
|
|
2869
|
+
pass
|
|
2870
|
+
|
|
2871
|
+
def _typecheckingstub__f14f4b2516dbe32242e98828488dc4abcc900e39ac20507ae2fd0d16a3a0457c(
|
|
2872
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2873
|
+
) -> None:
|
|
2874
|
+
"""Type checking stubs"""
|
|
2875
|
+
pass
|
|
2876
|
+
|
|
2877
|
+
def _typecheckingstub__e7c7dc0414899a74bed53146d246f036f214f82b031723849419726e12bcee67(
|
|
2878
|
+
value: builtins.str,
|
|
2879
|
+
) -> None:
|
|
2880
|
+
"""Type checking stubs"""
|
|
2881
|
+
pass
|
|
2882
|
+
|
|
2883
|
+
def _typecheckingstub__b89dfccc35ccd0a377234eb3e008038ad66200df7a4f3c63bf61ebf273a7f42e(
|
|
2884
|
+
value: typing.Union[_IResolvable_da3f097b, CfnBrowserCustom.BrowserNetworkConfigurationProperty],
|
|
2885
|
+
) -> None:
|
|
2886
|
+
"""Type checking stubs"""
|
|
2887
|
+
pass
|
|
2888
|
+
|
|
2889
|
+
def _typecheckingstub__d16faa304c4f18b8bba1ee70b209c47d9944346a1e88926b4ee4ea5fe723fd64(
|
|
2890
|
+
value: typing.Optional[builtins.str],
|
|
2891
|
+
) -> None:
|
|
2892
|
+
"""Type checking stubs"""
|
|
2893
|
+
pass
|
|
2894
|
+
|
|
2895
|
+
def _typecheckingstub__2dd292342e1165d23c8ce68a72d30c745d42a2586b394e8bcb4aa1ec13e9cc74(
|
|
2896
|
+
value: typing.Optional[builtins.str],
|
|
2897
|
+
) -> None:
|
|
2898
|
+
"""Type checking stubs"""
|
|
2899
|
+
pass
|
|
2900
|
+
|
|
2901
|
+
def _typecheckingstub__089c5a25d69d7c7abf4193f45206b584472351088cbe92835bb014923a48f2e7(
|
|
2902
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBrowserCustom.RecordingConfigProperty]],
|
|
2903
|
+
) -> None:
|
|
2904
|
+
"""Type checking stubs"""
|
|
2905
|
+
pass
|
|
2906
|
+
|
|
2907
|
+
def _typecheckingstub__22e813ff9c64c23f175682396c7a13b02b9193809d3629b73f2ecac10192c8c2(
|
|
2908
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
2909
|
+
) -> None:
|
|
2910
|
+
"""Type checking stubs"""
|
|
2911
|
+
pass
|
|
2912
|
+
|
|
2913
|
+
def _typecheckingstub__f0d5bebf1ad5159cc9014318eaa4c540145c82225bd9e29170035b0a29d0ee07(
|
|
2914
|
+
*,
|
|
2915
|
+
network_mode: builtins.str,
|
|
2916
|
+
) -> None:
|
|
2917
|
+
"""Type checking stubs"""
|
|
2918
|
+
pass
|
|
2919
|
+
|
|
2920
|
+
def _typecheckingstub__754929ea2dabad59807821380b38b3ef1b1955a5473f5469b18a7dcc81600948(
|
|
2921
|
+
*,
|
|
2922
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2923
|
+
s3_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBrowserCustom.S3LocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2924
|
+
) -> None:
|
|
2925
|
+
"""Type checking stubs"""
|
|
2926
|
+
pass
|
|
2927
|
+
|
|
2928
|
+
def _typecheckingstub__6787b09f9e077c274ab79cdf45ea5157eec8aea8960e77f8e128fab67b3cbc26(
|
|
2929
|
+
*,
|
|
2930
|
+
bucket: builtins.str,
|
|
2931
|
+
prefix: builtins.str,
|
|
2932
|
+
) -> None:
|
|
2933
|
+
"""Type checking stubs"""
|
|
2934
|
+
pass
|
|
2935
|
+
|
|
2936
|
+
def _typecheckingstub__1aaa167a6af98d626969b5bd2de9377658de4e8d04df0b48dc5916f9e503a029(
|
|
2937
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2938
|
+
id: builtins.str,
|
|
2939
|
+
*,
|
|
2940
|
+
name: builtins.str,
|
|
2941
|
+
network_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2942
|
+
description: typing.Optional[builtins.str] = None,
|
|
2943
|
+
execution_role_arn: typing.Optional[builtins.str] = None,
|
|
2944
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2945
|
+
) -> None:
|
|
2946
|
+
"""Type checking stubs"""
|
|
2947
|
+
pass
|
|
2948
|
+
|
|
2949
|
+
def _typecheckingstub__ab4b7a28e87b1af264773dfddc0e9da46bb99c921aa85fb942fcc7ca03680597(
|
|
2950
|
+
inspector: _TreeInspector_488e0dd5,
|
|
2951
|
+
) -> None:
|
|
2952
|
+
"""Type checking stubs"""
|
|
2953
|
+
pass
|
|
2954
|
+
|
|
2955
|
+
def _typecheckingstub__bf6d68ae9ee508df2d25ca9f4fa9a800c1215c05ac37929135ce20e393a44113(
|
|
2956
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2957
|
+
) -> None:
|
|
2958
|
+
"""Type checking stubs"""
|
|
2959
|
+
pass
|
|
2960
|
+
|
|
2961
|
+
def _typecheckingstub__c58fa8bcb0ec87d3b6f75396018d3eeff06205adbf6ade289f0ac1710d71c909(
|
|
2962
|
+
value: builtins.str,
|
|
2963
|
+
) -> None:
|
|
2964
|
+
"""Type checking stubs"""
|
|
2965
|
+
pass
|
|
2966
|
+
|
|
2967
|
+
def _typecheckingstub__a36911cef74e5cac559eb0b558b639739fba4dccbbc8a224553a0f0a0cace3cd(
|
|
2968
|
+
value: typing.Union[_IResolvable_da3f097b, CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty],
|
|
2969
|
+
) -> None:
|
|
2970
|
+
"""Type checking stubs"""
|
|
2971
|
+
pass
|
|
2972
|
+
|
|
2973
|
+
def _typecheckingstub__f33607ff407017e2c7ecefbc727c6f7660550a46fe6b356799810d75ccf8d662(
|
|
2974
|
+
value: typing.Optional[builtins.str],
|
|
2975
|
+
) -> None:
|
|
2976
|
+
"""Type checking stubs"""
|
|
2977
|
+
pass
|
|
2978
|
+
|
|
2979
|
+
def _typecheckingstub__597443cc8b5cdaed2db807a1545702d23f8f925435f13cd3d17111236aba2428(
|
|
2980
|
+
value: typing.Optional[builtins.str],
|
|
2981
|
+
) -> None:
|
|
2982
|
+
"""Type checking stubs"""
|
|
2983
|
+
pass
|
|
2984
|
+
|
|
2985
|
+
def _typecheckingstub__466065bbc5e5f3997568d60c567b51bbc4a9a4900e6ce6da9f9499f85329a3a4(
|
|
2986
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
2987
|
+
) -> None:
|
|
2988
|
+
"""Type checking stubs"""
|
|
2989
|
+
pass
|
|
2990
|
+
|
|
2991
|
+
def _typecheckingstub__eae1295735d5d0996afa02b88ef9dddbd193fc77b25f7b69433fd57c1240bb3a(
|
|
2992
|
+
*,
|
|
2993
|
+
network_mode: builtins.str,
|
|
2994
|
+
) -> None:
|
|
2995
|
+
"""Type checking stubs"""
|
|
2996
|
+
pass
|
|
2997
|
+
|
|
2998
|
+
def _typecheckingstub__d8f75c2b58380182b53165109480fecdbf9bcd35c2fcfcfea5141466ba05b7e7(
|
|
2999
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3000
|
+
id: builtins.str,
|
|
3001
|
+
*,
|
|
3002
|
+
agent_runtime_artifact: typing.Union[_IResolvable_da3f097b, typing.Union[CfnRuntime.AgentRuntimeArtifactProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3003
|
+
agent_runtime_name: builtins.str,
|
|
3004
|
+
network_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnRuntime.NetworkConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3005
|
+
role_arn: builtins.str,
|
|
3006
|
+
authorizer_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRuntime.AuthorizerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3007
|
+
description: typing.Optional[builtins.str] = None,
|
|
3008
|
+
environment_variables: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
3009
|
+
protocol_configuration: typing.Optional[builtins.str] = None,
|
|
3010
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3011
|
+
) -> None:
|
|
3012
|
+
"""Type checking stubs"""
|
|
3013
|
+
pass
|
|
3014
|
+
|
|
3015
|
+
def _typecheckingstub__41eb1aeeb420a432d00eafdf7061763658f434f8c1b3fac5748e0b80cf168cda(
|
|
3016
|
+
inspector: _TreeInspector_488e0dd5,
|
|
3017
|
+
) -> None:
|
|
3018
|
+
"""Type checking stubs"""
|
|
3019
|
+
pass
|
|
3020
|
+
|
|
3021
|
+
def _typecheckingstub__ffbc19212156590bcfcec54a917d56095cf1d0e95a1f4f4107501a8cf457feb7(
|
|
3022
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
3023
|
+
) -> None:
|
|
3024
|
+
"""Type checking stubs"""
|
|
3025
|
+
pass
|
|
3026
|
+
|
|
3027
|
+
def _typecheckingstub__9afa965e1f7852c99b813a59ddc326e4e8b2e629273fff790e48abcc309421fb(
|
|
3028
|
+
value: typing.Union[_IResolvable_da3f097b, CfnRuntime.AgentRuntimeArtifactProperty],
|
|
3029
|
+
) -> None:
|
|
3030
|
+
"""Type checking stubs"""
|
|
3031
|
+
pass
|
|
3032
|
+
|
|
3033
|
+
def _typecheckingstub__20e5f3a5d4d3f3cf24f87565ebb2f7c531ed9e006970eb5a59dee4eeed670f19(
|
|
3034
|
+
value: builtins.str,
|
|
3035
|
+
) -> None:
|
|
3036
|
+
"""Type checking stubs"""
|
|
3037
|
+
pass
|
|
3038
|
+
|
|
3039
|
+
def _typecheckingstub__76a3b80aa643920bb76e97b49e6d7c54f3367df4203a420045d6d631a4d54658(
|
|
3040
|
+
value: typing.Union[_IResolvable_da3f097b, CfnRuntime.NetworkConfigurationProperty],
|
|
3041
|
+
) -> None:
|
|
3042
|
+
"""Type checking stubs"""
|
|
3043
|
+
pass
|
|
3044
|
+
|
|
3045
|
+
def _typecheckingstub__712719ad084eaaa1f88407e6da1dd4ed68fa570a04329676de9d476fde02ebfe(
|
|
3046
|
+
value: builtins.str,
|
|
3047
|
+
) -> None:
|
|
3048
|
+
"""Type checking stubs"""
|
|
3049
|
+
pass
|
|
3050
|
+
|
|
3051
|
+
def _typecheckingstub__577d498b775175712bf02d50d4dc0a7fa74d069187c6c0daba641442a844c29e(
|
|
3052
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnRuntime.AuthorizerConfigurationProperty]],
|
|
3053
|
+
) -> None:
|
|
3054
|
+
"""Type checking stubs"""
|
|
3055
|
+
pass
|
|
3056
|
+
|
|
3057
|
+
def _typecheckingstub__86887c96ad11d54aa9be7288cd5dfe9a9b3cb370236b2cf8c98f0ea09d7246e2(
|
|
3058
|
+
value: typing.Optional[builtins.str],
|
|
3059
|
+
) -> None:
|
|
3060
|
+
"""Type checking stubs"""
|
|
3061
|
+
pass
|
|
3062
|
+
|
|
3063
|
+
def _typecheckingstub__27b52f571e16cbee3d0cb6aef888169b2fdf172a92199c29075b1bbfe5eb3091(
|
|
3064
|
+
value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
|
|
3065
|
+
) -> None:
|
|
3066
|
+
"""Type checking stubs"""
|
|
3067
|
+
pass
|
|
3068
|
+
|
|
3069
|
+
def _typecheckingstub__dd16ca9a4cf1077fb69bea991264277b990667565406b724c960232073239095(
|
|
3070
|
+
value: typing.Optional[builtins.str],
|
|
3071
|
+
) -> None:
|
|
3072
|
+
"""Type checking stubs"""
|
|
3073
|
+
pass
|
|
3074
|
+
|
|
3075
|
+
def _typecheckingstub__13c0ee18c00618ce3d55cf861e88265d3db540867ff55146671310649d3ccaee(
|
|
3076
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
3077
|
+
) -> None:
|
|
3078
|
+
"""Type checking stubs"""
|
|
3079
|
+
pass
|
|
3080
|
+
|
|
3081
|
+
def _typecheckingstub__51346444ae527a839c6fcfd4fd456eeea9b11da43bf9dadd9b152cfc716ecfd2(
|
|
3082
|
+
*,
|
|
3083
|
+
container_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRuntime.ContainerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3084
|
+
) -> None:
|
|
3085
|
+
"""Type checking stubs"""
|
|
3086
|
+
pass
|
|
3087
|
+
|
|
3088
|
+
def _typecheckingstub__bb18338480d08b211086521e0155635de6c3b54cf6ebbb5a7ee690c697991b4b(
|
|
3089
|
+
*,
|
|
3090
|
+
custom_jwt_authorizer: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRuntime.CustomJWTAuthorizerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3091
|
+
) -> None:
|
|
3092
|
+
"""Type checking stubs"""
|
|
3093
|
+
pass
|
|
3094
|
+
|
|
3095
|
+
def _typecheckingstub__f0740ce1d3425c4e128b2f49784ee2a02ae6e81129ade5290d001575f4ecacb8(
|
|
3096
|
+
*,
|
|
3097
|
+
container_uri: builtins.str,
|
|
3098
|
+
) -> None:
|
|
3099
|
+
"""Type checking stubs"""
|
|
3100
|
+
pass
|
|
3101
|
+
|
|
3102
|
+
def _typecheckingstub__6479ff33c6925aa85dcd6d4587cd46a0d073bd9992bb93c306d366f07cda2391(
|
|
3103
|
+
*,
|
|
3104
|
+
discovery_url: builtins.str,
|
|
3105
|
+
allowed_audience: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3106
|
+
allowed_clients: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3107
|
+
) -> None:
|
|
3108
|
+
"""Type checking stubs"""
|
|
3109
|
+
pass
|
|
3110
|
+
|
|
3111
|
+
def _typecheckingstub__f7ef3688e7eda46e5ab607f7c059dd5ed308816790e532f38188518d3a7c9b0f(
|
|
3112
|
+
*,
|
|
3113
|
+
network_mode: builtins.str,
|
|
3114
|
+
) -> None:
|
|
3115
|
+
"""Type checking stubs"""
|
|
3116
|
+
pass
|
|
3117
|
+
|
|
3118
|
+
def _typecheckingstub__68380bfa2496b392a6192eeab7bae5b15e67d93a4946dff9481dca7e2b9da401(
|
|
3119
|
+
*,
|
|
3120
|
+
workload_identity_arn: builtins.str,
|
|
3121
|
+
) -> None:
|
|
3122
|
+
"""Type checking stubs"""
|
|
3123
|
+
pass
|
|
3124
|
+
|
|
3125
|
+
def _typecheckingstub__f889c0edf8dd4715192bf69e6433f02f671ca35ed9b8e8f7622b298a7b14955a(
|
|
3126
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3127
|
+
id: builtins.str,
|
|
3128
|
+
*,
|
|
3129
|
+
agent_runtime_id: builtins.str,
|
|
3130
|
+
name: builtins.str,
|
|
3131
|
+
agent_runtime_version: typing.Optional[builtins.str] = None,
|
|
3132
|
+
description: typing.Optional[builtins.str] = None,
|
|
3133
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3134
|
+
) -> None:
|
|
3135
|
+
"""Type checking stubs"""
|
|
3136
|
+
pass
|
|
3137
|
+
|
|
3138
|
+
def _typecheckingstub__a2e6a578bb33afa13fb1d85d1b682fc96e67f21a5fb168de296365084e02f261(
|
|
3139
|
+
inspector: _TreeInspector_488e0dd5,
|
|
3140
|
+
) -> None:
|
|
3141
|
+
"""Type checking stubs"""
|
|
3142
|
+
pass
|
|
3143
|
+
|
|
3144
|
+
def _typecheckingstub__91be73ce07416705255e5e1569db31b3f488f1376320ddae8d8803981071f602(
|
|
3145
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
3146
|
+
) -> None:
|
|
3147
|
+
"""Type checking stubs"""
|
|
3148
|
+
pass
|
|
3149
|
+
|
|
3150
|
+
def _typecheckingstub__5ceb50df9e5593b49d2fbdc6aac8e77c6be9322ee82ceea79d7d86478e1a9d74(
|
|
3151
|
+
value: builtins.str,
|
|
3152
|
+
) -> None:
|
|
3153
|
+
"""Type checking stubs"""
|
|
3154
|
+
pass
|
|
3155
|
+
|
|
3156
|
+
def _typecheckingstub__f380de6caf6e91bd3b0399e46b356f219d19dd4297d832ed74437f4653be82c3(
|
|
3157
|
+
value: builtins.str,
|
|
3158
|
+
) -> None:
|
|
3159
|
+
"""Type checking stubs"""
|
|
3160
|
+
pass
|
|
3161
|
+
|
|
3162
|
+
def _typecheckingstub__45c0052c9218918d9940523a8d7f016f7eaf5fe73a714ee05b2ba7a94aa9df9f(
|
|
3163
|
+
value: typing.Optional[builtins.str],
|
|
3164
|
+
) -> None:
|
|
3165
|
+
"""Type checking stubs"""
|
|
3166
|
+
pass
|
|
3167
|
+
|
|
3168
|
+
def _typecheckingstub__479a4b8aa6bb0db70941c7bc7a41e153fdbf533d62d2c2dc2ae2edf57fb46e99(
|
|
3169
|
+
value: typing.Optional[builtins.str],
|
|
3170
|
+
) -> None:
|
|
3171
|
+
"""Type checking stubs"""
|
|
3172
|
+
pass
|
|
3173
|
+
|
|
3174
|
+
def _typecheckingstub__1df913b08f181c8777324479d4caab3dc1c0e41137ac1db4a0b10f478ad63ce7(
|
|
3175
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
3176
|
+
) -> None:
|
|
3177
|
+
"""Type checking stubs"""
|
|
3178
|
+
pass
|