aws-cdk-lib 2.166.0__py3-none-any.whl → 2.167.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 +1 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.166.0.jsii.tgz → aws-cdk-lib@2.167.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +9 -0
- aws_cdk/aws_appsync/__init__.py +209 -79
- aws_cdk/aws_bedrock/__init__.py +51 -45
- aws_cdk/aws_cleanrooms/__init__.py +66 -5
- aws_cdk/aws_cloudfront/__init__.py +21 -3
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -3
- aws_cdk/aws_codebuild/__init__.py +59 -29
- aws_cdk/aws_datasync/__init__.py +51 -0
- aws_cdk/aws_ec2/__init__.py +305 -9
- aws_cdk/aws_ecs/__init__.py +37 -34
- aws_cdk/aws_elasticache/__init__.py +5 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +73 -46
- aws_cdk/aws_gamelift/__init__.py +52 -40
- aws_cdk/aws_inspectorv2/__init__.py +6 -12
- aws_cdk/aws_kms/__init__.py +2 -0
- aws_cdk/aws_lambda/__init__.py +336 -19
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
- aws_cdk/aws_logs/__init__.py +214 -0
- aws_cdk/aws_nimblestudio/__init__.py +6 -103
- aws_cdk/aws_quicksight/__init__.py +481 -10
- aws_cdk/aws_rds/__init__.py +602 -0
- aws_cdk/aws_s3_assets/__init__.py +37 -0
- aws_cdk/aws_s3_deployment/__init__.py +5 -0
- aws_cdk/aws_servicecatalog/__init__.py +52 -4
- aws_cdk/aws_ses/__init__.py +5 -3
- aws_cdk/aws_stepfunctions/__init__.py +8 -0
- aws_cdk/aws_synthetics/__init__.py +12 -1
- aws_cdk/aws_wisdom/__init__.py +344 -24
- aws_cdk/triggers/__init__.py +3 -3
- {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/RECORD +38 -38
- {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.166.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_wisdom/__init__.py
CHANGED
|
@@ -76,7 +76,7 @@ class CfnAIAgent(
|
|
|
76
76
|
metaclass=jsii.JSIIMeta,
|
|
77
77
|
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent",
|
|
78
78
|
):
|
|
79
|
-
'''
|
|
79
|
+
'''Creates an Amazon Q in Connect AI Agent.
|
|
80
80
|
|
|
81
81
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html
|
|
82
82
|
:cloudformationResource: AWS::Wisdom::AIAgent
|
|
@@ -202,12 +202,12 @@ class CfnAIAgent(
|
|
|
202
202
|
'''
|
|
203
203
|
:param scope: Scope in which this resource is defined.
|
|
204
204
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
205
|
-
:param assistant_id:
|
|
206
|
-
:param configuration:
|
|
207
|
-
:param type:
|
|
208
|
-
:param description:
|
|
209
|
-
:param name:
|
|
210
|
-
:param tags:
|
|
205
|
+
:param assistant_id: The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
|
206
|
+
:param configuration: Configuration for the AI Agent.
|
|
207
|
+
:param type: The type of the AI Agent.
|
|
208
|
+
:param description: The description of the AI Agent.
|
|
209
|
+
:param name: The name of the AI Agent.
|
|
210
|
+
:param tags: The tags used to organize, track, or control access for this resource.
|
|
211
211
|
'''
|
|
212
212
|
if __debug__:
|
|
213
213
|
type_hints = typing.get_type_hints(_typecheckingstub__e4d43de9ccaeb31eba5b0b613ecac25531a87bb9137652388e6196070f4622ab)
|
|
@@ -257,7 +257,8 @@ class CfnAIAgent(
|
|
|
257
257
|
@builtins.property
|
|
258
258
|
@jsii.member(jsii_name="attrAiAgentArn")
|
|
259
259
|
def attr_ai_agent_arn(self) -> builtins.str:
|
|
260
|
-
'''
|
|
260
|
+
'''The Amazon Resource Name (ARN) of the AI agent.
|
|
261
|
+
|
|
261
262
|
:cloudformationAttribute: AIAgentArn
|
|
262
263
|
'''
|
|
263
264
|
return typing.cast(builtins.str, jsii.get(self, "attrAiAgentArn"))
|
|
@@ -265,7 +266,8 @@ class CfnAIAgent(
|
|
|
265
266
|
@builtins.property
|
|
266
267
|
@jsii.member(jsii_name="attrAiAgentId")
|
|
267
268
|
def attr_ai_agent_id(self) -> builtins.str:
|
|
268
|
-
'''
|
|
269
|
+
'''The identifier of the AI Agent.
|
|
270
|
+
|
|
269
271
|
:cloudformationAttribute: AIAgentId
|
|
270
272
|
'''
|
|
271
273
|
return typing.cast(builtins.str, jsii.get(self, "attrAiAgentId"))
|
|
@@ -273,7 +275,8 @@ class CfnAIAgent(
|
|
|
273
275
|
@builtins.property
|
|
274
276
|
@jsii.member(jsii_name="attrAssistantArn")
|
|
275
277
|
def attr_assistant_arn(self) -> builtins.str:
|
|
276
|
-
'''
|
|
278
|
+
'''The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
|
|
279
|
+
|
|
277
280
|
:cloudformationAttribute: AssistantArn
|
|
278
281
|
'''
|
|
279
282
|
return typing.cast(builtins.str, jsii.get(self, "attrAssistantArn"))
|
|
@@ -292,6 +295,7 @@ class CfnAIAgent(
|
|
|
292
295
|
@builtins.property
|
|
293
296
|
@jsii.member(jsii_name="assistantId")
|
|
294
297
|
def assistant_id(self) -> builtins.str:
|
|
298
|
+
'''The identifier of the Amazon Q in Connect assistant.'''
|
|
295
299
|
return typing.cast(builtins.str, jsii.get(self, "assistantId"))
|
|
296
300
|
|
|
297
301
|
@assistant_id.setter
|
|
@@ -306,6 +310,7 @@ class CfnAIAgent(
|
|
|
306
310
|
def configuration(
|
|
307
311
|
self,
|
|
308
312
|
) -> typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AIAgentConfigurationProperty"]:
|
|
313
|
+
'''Configuration for the AI Agent.'''
|
|
309
314
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnAIAgent.AIAgentConfigurationProperty"], jsii.get(self, "configuration"))
|
|
310
315
|
|
|
311
316
|
@configuration.setter
|
|
@@ -321,6 +326,7 @@ class CfnAIAgent(
|
|
|
321
326
|
@builtins.property
|
|
322
327
|
@jsii.member(jsii_name="type")
|
|
323
328
|
def type(self) -> builtins.str:
|
|
329
|
+
'''The type of the AI Agent.'''
|
|
324
330
|
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
325
331
|
|
|
326
332
|
@type.setter
|
|
@@ -333,6 +339,7 @@ class CfnAIAgent(
|
|
|
333
339
|
@builtins.property
|
|
334
340
|
@jsii.member(jsii_name="description")
|
|
335
341
|
def description(self) -> typing.Optional[builtins.str]:
|
|
342
|
+
'''The description of the AI Agent.'''
|
|
336
343
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
337
344
|
|
|
338
345
|
@description.setter
|
|
@@ -345,6 +352,7 @@ class CfnAIAgent(
|
|
|
345
352
|
@builtins.property
|
|
346
353
|
@jsii.member(jsii_name="name")
|
|
347
354
|
def name(self) -> typing.Optional[builtins.str]:
|
|
355
|
+
'''The name of the AI Agent.'''
|
|
348
356
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
|
|
349
357
|
|
|
350
358
|
@name.setter
|
|
@@ -357,6 +365,7 @@ class CfnAIAgent(
|
|
|
357
365
|
@builtins.property
|
|
358
366
|
@jsii.member(jsii_name="tags")
|
|
359
367
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
368
|
+
'''The tags used to organize, track, or control access for this resource.'''
|
|
360
369
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
361
370
|
|
|
362
371
|
@tags.setter
|
|
@@ -1392,12 +1401,12 @@ class CfnAIAgentProps:
|
|
|
1392
1401
|
) -> None:
|
|
1393
1402
|
'''Properties for defining a ``CfnAIAgent``.
|
|
1394
1403
|
|
|
1395
|
-
:param assistant_id:
|
|
1396
|
-
:param configuration:
|
|
1397
|
-
:param type:
|
|
1398
|
-
:param description:
|
|
1399
|
-
:param name:
|
|
1400
|
-
:param tags:
|
|
1404
|
+
:param assistant_id: The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
|
1405
|
+
:param configuration: Configuration for the AI Agent.
|
|
1406
|
+
:param type: The type of the AI Agent.
|
|
1407
|
+
:param description: The description of the AI Agent.
|
|
1408
|
+
:param name: The name of the AI Agent.
|
|
1409
|
+
:param tags: The tags used to organize, track, or control access for this resource.
|
|
1401
1410
|
|
|
1402
1411
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html
|
|
1403
1412
|
:exampleMetadata: fixture=_generated
|
|
@@ -1528,7 +1537,10 @@ class CfnAIAgentProps:
|
|
|
1528
1537
|
|
|
1529
1538
|
@builtins.property
|
|
1530
1539
|
def assistant_id(self) -> builtins.str:
|
|
1531
|
-
'''
|
|
1540
|
+
'''The identifier of the Amazon Q in Connect assistant.
|
|
1541
|
+
|
|
1542
|
+
Can be either the ID or the ARN. URLs cannot contain the ARN.
|
|
1543
|
+
|
|
1532
1544
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html#cfn-wisdom-aiagent-assistantid
|
|
1533
1545
|
'''
|
|
1534
1546
|
result = self._values.get("assistant_id")
|
|
@@ -1539,7 +1551,8 @@ class CfnAIAgentProps:
|
|
|
1539
1551
|
def configuration(
|
|
1540
1552
|
self,
|
|
1541
1553
|
) -> typing.Union[_IResolvable_da3f097b, CfnAIAgent.AIAgentConfigurationProperty]:
|
|
1542
|
-
'''
|
|
1554
|
+
'''Configuration for the AI Agent.
|
|
1555
|
+
|
|
1543
1556
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html#cfn-wisdom-aiagent-configuration
|
|
1544
1557
|
'''
|
|
1545
1558
|
result = self._values.get("configuration")
|
|
@@ -1548,7 +1561,8 @@ class CfnAIAgentProps:
|
|
|
1548
1561
|
|
|
1549
1562
|
@builtins.property
|
|
1550
1563
|
def type(self) -> builtins.str:
|
|
1551
|
-
'''
|
|
1564
|
+
'''The type of the AI Agent.
|
|
1565
|
+
|
|
1552
1566
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html#cfn-wisdom-aiagent-type
|
|
1553
1567
|
'''
|
|
1554
1568
|
result = self._values.get("type")
|
|
@@ -1557,7 +1571,8 @@ class CfnAIAgentProps:
|
|
|
1557
1571
|
|
|
1558
1572
|
@builtins.property
|
|
1559
1573
|
def description(self) -> typing.Optional[builtins.str]:
|
|
1560
|
-
'''
|
|
1574
|
+
'''The description of the AI Agent.
|
|
1575
|
+
|
|
1561
1576
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html#cfn-wisdom-aiagent-description
|
|
1562
1577
|
'''
|
|
1563
1578
|
result = self._values.get("description")
|
|
@@ -1565,7 +1580,8 @@ class CfnAIAgentProps:
|
|
|
1565
1580
|
|
|
1566
1581
|
@builtins.property
|
|
1567
1582
|
def name(self) -> typing.Optional[builtins.str]:
|
|
1568
|
-
'''
|
|
1583
|
+
'''The name of the AI Agent.
|
|
1584
|
+
|
|
1569
1585
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html#cfn-wisdom-aiagent-name
|
|
1570
1586
|
'''
|
|
1571
1587
|
result = self._values.get("name")
|
|
@@ -1573,7 +1589,8 @@ class CfnAIAgentProps:
|
|
|
1573
1589
|
|
|
1574
1590
|
@builtins.property
|
|
1575
1591
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1576
|
-
'''
|
|
1592
|
+
'''The tags used to organize, track, or control access for this resource.
|
|
1593
|
+
|
|
1577
1594
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagent.html#cfn-wisdom-aiagent-tags
|
|
1578
1595
|
'''
|
|
1579
1596
|
result = self._values.get("tags")
|
|
@@ -1591,6 +1608,256 @@ class CfnAIAgentProps:
|
|
|
1591
1608
|
)
|
|
1592
1609
|
|
|
1593
1610
|
|
|
1611
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
1612
|
+
class CfnAIAgentVersion(
|
|
1613
|
+
_CfnResource_9df397a6,
|
|
1614
|
+
metaclass=jsii.JSIIMeta,
|
|
1615
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgentVersion",
|
|
1616
|
+
):
|
|
1617
|
+
'''Creates and Amazon Q in Connect AI Agent version.
|
|
1618
|
+
|
|
1619
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagentversion.html
|
|
1620
|
+
:cloudformationResource: AWS::Wisdom::AIAgentVersion
|
|
1621
|
+
:exampleMetadata: fixture=_generated
|
|
1622
|
+
|
|
1623
|
+
Example::
|
|
1624
|
+
|
|
1625
|
+
# The code below shows an example of how to instantiate this type.
|
|
1626
|
+
# The values are placeholders you should change.
|
|
1627
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
1628
|
+
|
|
1629
|
+
cfn_aIAgent_version = wisdom.CfnAIAgentVersion(self, "MyCfnAIAgentVersion",
|
|
1630
|
+
ai_agent_id="aiAgentId",
|
|
1631
|
+
assistant_id="assistantId",
|
|
1632
|
+
|
|
1633
|
+
# the properties below are optional
|
|
1634
|
+
modified_time_seconds=123
|
|
1635
|
+
)
|
|
1636
|
+
'''
|
|
1637
|
+
|
|
1638
|
+
def __init__(
|
|
1639
|
+
self,
|
|
1640
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1641
|
+
id: builtins.str,
|
|
1642
|
+
*,
|
|
1643
|
+
ai_agent_id: builtins.str,
|
|
1644
|
+
assistant_id: builtins.str,
|
|
1645
|
+
modified_time_seconds: typing.Optional[jsii.Number] = None,
|
|
1646
|
+
) -> None:
|
|
1647
|
+
'''
|
|
1648
|
+
:param scope: Scope in which this resource is defined.
|
|
1649
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1650
|
+
:param ai_agent_id:
|
|
1651
|
+
:param assistant_id:
|
|
1652
|
+
:param modified_time_seconds:
|
|
1653
|
+
'''
|
|
1654
|
+
if __debug__:
|
|
1655
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fa5a166c3d658d9410f80c3ff44a4aee88b29cb4def5f6c7d811c5b47f5ffb68)
|
|
1656
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1657
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1658
|
+
props = CfnAIAgentVersionProps(
|
|
1659
|
+
ai_agent_id=ai_agent_id,
|
|
1660
|
+
assistant_id=assistant_id,
|
|
1661
|
+
modified_time_seconds=modified_time_seconds,
|
|
1662
|
+
)
|
|
1663
|
+
|
|
1664
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1665
|
+
|
|
1666
|
+
@jsii.member(jsii_name="inspect")
|
|
1667
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1668
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
1669
|
+
|
|
1670
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1671
|
+
'''
|
|
1672
|
+
if __debug__:
|
|
1673
|
+
type_hints = typing.get_type_hints(_typecheckingstub__eec3c0a8aee757b615051ab77f3708fef64acd48758d58f7b8801c7073f3ea55)
|
|
1674
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1675
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1676
|
+
|
|
1677
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1678
|
+
def _render_properties(
|
|
1679
|
+
self,
|
|
1680
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1681
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1682
|
+
'''
|
|
1683
|
+
:param props: -
|
|
1684
|
+
'''
|
|
1685
|
+
if __debug__:
|
|
1686
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1eec2d46406b6deb09ae2fc5f30e9bb5223c8f293091f02f7d13f928906953a1)
|
|
1687
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1688
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1689
|
+
|
|
1690
|
+
@jsii.python.classproperty
|
|
1691
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1692
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1693
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1694
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1695
|
+
|
|
1696
|
+
@builtins.property
|
|
1697
|
+
@jsii.member(jsii_name="attrAiAgentArn")
|
|
1698
|
+
def attr_ai_agent_arn(self) -> builtins.str:
|
|
1699
|
+
'''
|
|
1700
|
+
:cloudformationAttribute: AIAgentArn
|
|
1701
|
+
'''
|
|
1702
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAiAgentArn"))
|
|
1703
|
+
|
|
1704
|
+
@builtins.property
|
|
1705
|
+
@jsii.member(jsii_name="attrAiAgentVersionId")
|
|
1706
|
+
def attr_ai_agent_version_id(self) -> builtins.str:
|
|
1707
|
+
'''
|
|
1708
|
+
:cloudformationAttribute: AIAgentVersionId
|
|
1709
|
+
'''
|
|
1710
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAiAgentVersionId"))
|
|
1711
|
+
|
|
1712
|
+
@builtins.property
|
|
1713
|
+
@jsii.member(jsii_name="attrAssistantArn")
|
|
1714
|
+
def attr_assistant_arn(self) -> builtins.str:
|
|
1715
|
+
'''
|
|
1716
|
+
:cloudformationAttribute: AssistantArn
|
|
1717
|
+
'''
|
|
1718
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAssistantArn"))
|
|
1719
|
+
|
|
1720
|
+
@builtins.property
|
|
1721
|
+
@jsii.member(jsii_name="attrVersionNumber")
|
|
1722
|
+
def attr_version_number(self) -> _IResolvable_da3f097b:
|
|
1723
|
+
'''The version number for this AI Agent version.
|
|
1724
|
+
|
|
1725
|
+
:cloudformationAttribute: VersionNumber
|
|
1726
|
+
'''
|
|
1727
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrVersionNumber"))
|
|
1728
|
+
|
|
1729
|
+
@builtins.property
|
|
1730
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1731
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1732
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1733
|
+
|
|
1734
|
+
@builtins.property
|
|
1735
|
+
@jsii.member(jsii_name="aiAgentId")
|
|
1736
|
+
def ai_agent_id(self) -> builtins.str:
|
|
1737
|
+
return typing.cast(builtins.str, jsii.get(self, "aiAgentId"))
|
|
1738
|
+
|
|
1739
|
+
@ai_agent_id.setter
|
|
1740
|
+
def ai_agent_id(self, value: builtins.str) -> None:
|
|
1741
|
+
if __debug__:
|
|
1742
|
+
type_hints = typing.get_type_hints(_typecheckingstub__df356486e6fdad853cdc4c3aa5d62a5febffd1441d8e82f3a672bf4aef6e809d)
|
|
1743
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1744
|
+
jsii.set(self, "aiAgentId", value) # pyright: ignore[reportArgumentType]
|
|
1745
|
+
|
|
1746
|
+
@builtins.property
|
|
1747
|
+
@jsii.member(jsii_name="assistantId")
|
|
1748
|
+
def assistant_id(self) -> builtins.str:
|
|
1749
|
+
return typing.cast(builtins.str, jsii.get(self, "assistantId"))
|
|
1750
|
+
|
|
1751
|
+
@assistant_id.setter
|
|
1752
|
+
def assistant_id(self, value: builtins.str) -> None:
|
|
1753
|
+
if __debug__:
|
|
1754
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e3c00eedc618755e116ec4cf13129b9ecab51c03e0aa3285aa6c4eca0e7c9311)
|
|
1755
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1756
|
+
jsii.set(self, "assistantId", value) # pyright: ignore[reportArgumentType]
|
|
1757
|
+
|
|
1758
|
+
@builtins.property
|
|
1759
|
+
@jsii.member(jsii_name="modifiedTimeSeconds")
|
|
1760
|
+
def modified_time_seconds(self) -> typing.Optional[jsii.Number]:
|
|
1761
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "modifiedTimeSeconds"))
|
|
1762
|
+
|
|
1763
|
+
@modified_time_seconds.setter
|
|
1764
|
+
def modified_time_seconds(self, value: typing.Optional[jsii.Number]) -> None:
|
|
1765
|
+
if __debug__:
|
|
1766
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1cbb04d6951221f1cfd98bc4ebed42ba72b9f79a3ef0707bfcea622572f06cd2)
|
|
1767
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1768
|
+
jsii.set(self, "modifiedTimeSeconds", value) # pyright: ignore[reportArgumentType]
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
@jsii.data_type(
|
|
1772
|
+
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgentVersionProps",
|
|
1773
|
+
jsii_struct_bases=[],
|
|
1774
|
+
name_mapping={
|
|
1775
|
+
"ai_agent_id": "aiAgentId",
|
|
1776
|
+
"assistant_id": "assistantId",
|
|
1777
|
+
"modified_time_seconds": "modifiedTimeSeconds",
|
|
1778
|
+
},
|
|
1779
|
+
)
|
|
1780
|
+
class CfnAIAgentVersionProps:
|
|
1781
|
+
def __init__(
|
|
1782
|
+
self,
|
|
1783
|
+
*,
|
|
1784
|
+
ai_agent_id: builtins.str,
|
|
1785
|
+
assistant_id: builtins.str,
|
|
1786
|
+
modified_time_seconds: typing.Optional[jsii.Number] = None,
|
|
1787
|
+
) -> None:
|
|
1788
|
+
'''Properties for defining a ``CfnAIAgentVersion``.
|
|
1789
|
+
|
|
1790
|
+
:param ai_agent_id:
|
|
1791
|
+
:param assistant_id:
|
|
1792
|
+
:param modified_time_seconds:
|
|
1793
|
+
|
|
1794
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagentversion.html
|
|
1795
|
+
:exampleMetadata: fixture=_generated
|
|
1796
|
+
|
|
1797
|
+
Example::
|
|
1798
|
+
|
|
1799
|
+
# The code below shows an example of how to instantiate this type.
|
|
1800
|
+
# The values are placeholders you should change.
|
|
1801
|
+
from aws_cdk import aws_wisdom as wisdom
|
|
1802
|
+
|
|
1803
|
+
cfn_aIAgent_version_props = wisdom.CfnAIAgentVersionProps(
|
|
1804
|
+
ai_agent_id="aiAgentId",
|
|
1805
|
+
assistant_id="assistantId",
|
|
1806
|
+
|
|
1807
|
+
# the properties below are optional
|
|
1808
|
+
modified_time_seconds=123
|
|
1809
|
+
)
|
|
1810
|
+
'''
|
|
1811
|
+
if __debug__:
|
|
1812
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6ce55b0c69b9bc58cfcaeadaff04d7986170a5f73af9f6157ba1fe19c79b250e)
|
|
1813
|
+
check_type(argname="argument ai_agent_id", value=ai_agent_id, expected_type=type_hints["ai_agent_id"])
|
|
1814
|
+
check_type(argname="argument assistant_id", value=assistant_id, expected_type=type_hints["assistant_id"])
|
|
1815
|
+
check_type(argname="argument modified_time_seconds", value=modified_time_seconds, expected_type=type_hints["modified_time_seconds"])
|
|
1816
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1817
|
+
"ai_agent_id": ai_agent_id,
|
|
1818
|
+
"assistant_id": assistant_id,
|
|
1819
|
+
}
|
|
1820
|
+
if modified_time_seconds is not None:
|
|
1821
|
+
self._values["modified_time_seconds"] = modified_time_seconds
|
|
1822
|
+
|
|
1823
|
+
@builtins.property
|
|
1824
|
+
def ai_agent_id(self) -> builtins.str:
|
|
1825
|
+
'''
|
|
1826
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagentversion.html#cfn-wisdom-aiagentversion-aiagentid
|
|
1827
|
+
'''
|
|
1828
|
+
result = self._values.get("ai_agent_id")
|
|
1829
|
+
assert result is not None, "Required property 'ai_agent_id' is missing"
|
|
1830
|
+
return typing.cast(builtins.str, result)
|
|
1831
|
+
|
|
1832
|
+
@builtins.property
|
|
1833
|
+
def assistant_id(self) -> builtins.str:
|
|
1834
|
+
'''
|
|
1835
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagentversion.html#cfn-wisdom-aiagentversion-assistantid
|
|
1836
|
+
'''
|
|
1837
|
+
result = self._values.get("assistant_id")
|
|
1838
|
+
assert result is not None, "Required property 'assistant_id' is missing"
|
|
1839
|
+
return typing.cast(builtins.str, result)
|
|
1840
|
+
|
|
1841
|
+
@builtins.property
|
|
1842
|
+
def modified_time_seconds(self) -> typing.Optional[jsii.Number]:
|
|
1843
|
+
'''
|
|
1844
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiagentversion.html#cfn-wisdom-aiagentversion-modifiedtimeseconds
|
|
1845
|
+
'''
|
|
1846
|
+
result = self._values.get("modified_time_seconds")
|
|
1847
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1848
|
+
|
|
1849
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1850
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1851
|
+
|
|
1852
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1853
|
+
return not (rhs == self)
|
|
1854
|
+
|
|
1855
|
+
def __repr__(self) -> str:
|
|
1856
|
+
return "CfnAIAgentVersionProps(%s)" % ", ".join(
|
|
1857
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1858
|
+
)
|
|
1859
|
+
|
|
1860
|
+
|
|
1594
1861
|
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
1595
1862
|
class CfnAIPrompt(
|
|
1596
1863
|
_CfnResource_9df397a6,
|
|
@@ -2187,7 +2454,7 @@ class CfnAIPromptVersion(
|
|
|
2187
2454
|
metaclass=jsii.JSIIMeta,
|
|
2188
2455
|
jsii_type="aws-cdk-lib.aws_wisdom.CfnAIPromptVersion",
|
|
2189
2456
|
):
|
|
2190
|
-
'''
|
|
2457
|
+
'''Creates an Amazon Q in Connect AI Prompt version.
|
|
2191
2458
|
|
|
2192
2459
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aipromptversion.html
|
|
2193
2460
|
:cloudformationResource: AWS::Wisdom::AIPromptVersion
|
|
@@ -2293,7 +2560,8 @@ class CfnAIPromptVersion(
|
|
|
2293
2560
|
@builtins.property
|
|
2294
2561
|
@jsii.member(jsii_name="attrVersionNumber")
|
|
2295
2562
|
def attr_version_number(self) -> _IResolvable_da3f097b:
|
|
2296
|
-
'''
|
|
2563
|
+
'''The version number for this AI Prompt version.
|
|
2564
|
+
|
|
2297
2565
|
:cloudformationAttribute: VersionNumber
|
|
2298
2566
|
'''
|
|
2299
2567
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrVersionNumber"))
|
|
@@ -3887,6 +4155,8 @@ class CfnKnowledgeBaseProps:
|
|
|
3887
4155
|
__all__ = [
|
|
3888
4156
|
"CfnAIAgent",
|
|
3889
4157
|
"CfnAIAgentProps",
|
|
4158
|
+
"CfnAIAgentVersion",
|
|
4159
|
+
"CfnAIAgentVersionProps",
|
|
3890
4160
|
"CfnAIPrompt",
|
|
3891
4161
|
"CfnAIPromptProps",
|
|
3892
4162
|
"CfnAIPromptVersion",
|
|
@@ -4051,6 +4321,56 @@ def _typecheckingstub__b1cda9a6282ec07c28c0ef49efdf8da8f079052d26edd32bbe1532464
|
|
|
4051
4321
|
"""Type checking stubs"""
|
|
4052
4322
|
pass
|
|
4053
4323
|
|
|
4324
|
+
def _typecheckingstub__fa5a166c3d658d9410f80c3ff44a4aee88b29cb4def5f6c7d811c5b47f5ffb68(
|
|
4325
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4326
|
+
id: builtins.str,
|
|
4327
|
+
*,
|
|
4328
|
+
ai_agent_id: builtins.str,
|
|
4329
|
+
assistant_id: builtins.str,
|
|
4330
|
+
modified_time_seconds: typing.Optional[jsii.Number] = None,
|
|
4331
|
+
) -> None:
|
|
4332
|
+
"""Type checking stubs"""
|
|
4333
|
+
pass
|
|
4334
|
+
|
|
4335
|
+
def _typecheckingstub__eec3c0a8aee757b615051ab77f3708fef64acd48758d58f7b8801c7073f3ea55(
|
|
4336
|
+
inspector: _TreeInspector_488e0dd5,
|
|
4337
|
+
) -> None:
|
|
4338
|
+
"""Type checking stubs"""
|
|
4339
|
+
pass
|
|
4340
|
+
|
|
4341
|
+
def _typecheckingstub__1eec2d46406b6deb09ae2fc5f30e9bb5223c8f293091f02f7d13f928906953a1(
|
|
4342
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4343
|
+
) -> None:
|
|
4344
|
+
"""Type checking stubs"""
|
|
4345
|
+
pass
|
|
4346
|
+
|
|
4347
|
+
def _typecheckingstub__df356486e6fdad853cdc4c3aa5d62a5febffd1441d8e82f3a672bf4aef6e809d(
|
|
4348
|
+
value: builtins.str,
|
|
4349
|
+
) -> None:
|
|
4350
|
+
"""Type checking stubs"""
|
|
4351
|
+
pass
|
|
4352
|
+
|
|
4353
|
+
def _typecheckingstub__e3c00eedc618755e116ec4cf13129b9ecab51c03e0aa3285aa6c4eca0e7c9311(
|
|
4354
|
+
value: builtins.str,
|
|
4355
|
+
) -> None:
|
|
4356
|
+
"""Type checking stubs"""
|
|
4357
|
+
pass
|
|
4358
|
+
|
|
4359
|
+
def _typecheckingstub__1cbb04d6951221f1cfd98bc4ebed42ba72b9f79a3ef0707bfcea622572f06cd2(
|
|
4360
|
+
value: typing.Optional[jsii.Number],
|
|
4361
|
+
) -> None:
|
|
4362
|
+
"""Type checking stubs"""
|
|
4363
|
+
pass
|
|
4364
|
+
|
|
4365
|
+
def _typecheckingstub__6ce55b0c69b9bc58cfcaeadaff04d7986170a5f73af9f6157ba1fe19c79b250e(
|
|
4366
|
+
*,
|
|
4367
|
+
ai_agent_id: builtins.str,
|
|
4368
|
+
assistant_id: builtins.str,
|
|
4369
|
+
modified_time_seconds: typing.Optional[jsii.Number] = None,
|
|
4370
|
+
) -> None:
|
|
4371
|
+
"""Type checking stubs"""
|
|
4372
|
+
pass
|
|
4373
|
+
|
|
4054
4374
|
def _typecheckingstub__48a265f7ec519ced4028dd8e69d5a1fe8ef89d36b11d693c968f74c8be6bb9df(
|
|
4055
4375
|
scope: _constructs_77d1e7e8.Construct,
|
|
4056
4376
|
id: builtins.str,
|
aws_cdk/triggers/__init__.py
CHANGED
|
@@ -516,7 +516,7 @@ class TriggerFunction(
|
|
|
516
516
|
:param role: Lambda execution role. This is the role that will be assumed by the function upon execution. It controls the permissions that the function will have. The Role must be assumable by the 'lambda.amazonaws.com' service principal. The default Role automatically has permissions granted for Lambda execution. If you provide a Role, you must add the relevant AWS managed policies yourself. The relevant managed policies are "service-role/AWSLambdaBasicExecutionRole" and "service-role/AWSLambdaVPCAccessExecutionRole". Default: - A unique role will be generated for this lambda function. Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
|
|
517
517
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
518
518
|
:param security_groups: The list of security groups to associate with the Lambda's network interfaces. Only used if 'vpc' is supplied. Default: - If the function is placed within a VPC and a security group is not specified, either by this or securityGroup prop, a dedicated security group will be created for this function.
|
|
519
|
-
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported
|
|
519
|
+
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported for Java 11, Java 17, Python 3.12, Python 3.13, and .NET 8 runtime Default: - No snapstart
|
|
520
520
|
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
|
521
521
|
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
|
522
522
|
:param timeout: The function execution time (in seconds) after which Lambda terminates the function. Because the execution time affects cost, set this value based on the function's expected execution time. Default: Duration.seconds(3)
|
|
@@ -1063,7 +1063,7 @@ class TriggerFunctionProps(_FunctionProps_a308e854, TriggerOptions):
|
|
|
1063
1063
|
:param role: Lambda execution role. This is the role that will be assumed by the function upon execution. It controls the permissions that the function will have. The Role must be assumable by the 'lambda.amazonaws.com' service principal. The default Role automatically has permissions granted for Lambda execution. If you provide a Role, you must add the relevant AWS managed policies yourself. The relevant managed policies are "service-role/AWSLambdaBasicExecutionRole" and "service-role/AWSLambdaVPCAccessExecutionRole". Default: - A unique role will be generated for this lambda function. Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
|
|
1064
1064
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
1065
1065
|
:param security_groups: The list of security groups to associate with the Lambda's network interfaces. Only used if 'vpc' is supplied. Default: - If the function is placed within a VPC and a security group is not specified, either by this or securityGroup prop, a dedicated security group will be created for this function.
|
|
1066
|
-
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported
|
|
1066
|
+
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported for Java 11, Java 17, Python 3.12, Python 3.13, and .NET 8 runtime Default: - No snapstart
|
|
1067
1067
|
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
|
1068
1068
|
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
|
1069
1069
|
:param timeout: The function execution time (in seconds) after which Lambda terminates the function. Because the execution time affects cost, set this value based on the function's expected execution time. Default: Duration.seconds(3)
|
|
@@ -1786,7 +1786,7 @@ class TriggerFunctionProps(_FunctionProps_a308e854, TriggerOptions):
|
|
|
1786
1786
|
def snap_start(self) -> typing.Optional[_SnapStartConf_2ffaa769]:
|
|
1787
1787
|
'''Enable SnapStart for Lambda Function.
|
|
1788
1788
|
|
|
1789
|
-
SnapStart is currently supported
|
|
1789
|
+
SnapStart is currently supported for Java 11, Java 17, Python 3.12, Python 3.13, and .NET 8 runtime
|
|
1790
1790
|
|
|
1791
1791
|
:default: - No snapstart
|
|
1792
1792
|
'''
|