aws-cdk-lib 2.125.0__py3-none-any.whl → 2.127.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 +0 -2
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.125.0.jsii.tgz → aws-cdk-lib@2.127.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +18 -6
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_amplifyuibuilder/__init__.py +1212 -666
- aws_cdk/aws_apigateway/__init__.py +7 -3
- aws_cdk/aws_appconfig/__init__.py +108 -19
- aws_cdk/aws_appsync/__init__.py +43 -0
- aws_cdk/aws_autoscaling/__init__.py +37 -14
- aws_cdk/aws_cassandra/__init__.py +810 -4
- aws_cdk/aws_cloudfront/__init__.py +35 -37
- aws_cdk/aws_cloudfront/experimental/__init__.py +21 -0
- aws_cdk/aws_codebuild/__init__.py +43 -3
- aws_cdk/aws_codecommit/__init__.py +1 -0
- aws_cdk/aws_codepipeline/__init__.py +7 -3
- aws_cdk/aws_codepipeline_actions/__init__.py +11 -1
- aws_cdk/aws_codestarnotifications/__init__.py +24 -15
- aws_cdk/aws_cognito/__init__.py +180 -116
- aws_cdk/aws_datasync/__init__.py +8 -4
- aws_cdk/aws_dynamodb/__init__.py +80 -11
- aws_cdk/aws_ec2/__init__.py +207 -45
- aws_cdk/aws_ecs/__init__.py +171 -78
- aws_cdk/aws_ecs_patterns/__init__.py +24 -0
- aws_cdk/aws_efs/__init__.py +64 -8
- aws_cdk/aws_eks/__init__.py +52 -41
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +12 -9
- aws_cdk/aws_fis/__init__.py +32 -12
- aws_cdk/aws_fsx/__init__.py +61 -43
- aws_cdk/aws_glue/__init__.py +449 -0
- aws_cdk/aws_guardduty/__init__.py +0 -8
- aws_cdk/aws_iam/__init__.py +3 -3
- aws_cdk/aws_inspectorv2/__init__.py +989 -0
- aws_cdk/aws_internetmonitor/__init__.py +10 -12
- aws_cdk/aws_iot/__init__.py +112 -0
- aws_cdk/aws_iotwireless/__init__.py +32 -19
- aws_cdk/aws_lambda/__init__.py +129 -32
- aws_cdk/aws_lambda_event_sources/__init__.py +95 -4
- aws_cdk/aws_lambda_nodejs/__init__.py +21 -0
- aws_cdk/aws_location/__init__.py +8 -2
- aws_cdk/aws_logs/__init__.py +7 -3
- aws_cdk/aws_networkmanager/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +4 -4
- aws_cdk/aws_osis/__init__.py +13 -13
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +7 -10
- aws_cdk/aws_rds/__init__.py +449 -8
- aws_cdk/aws_redshiftserverless/__init__.py +282 -0
- aws_cdk/aws_rolesanywhere/__init__.py +53 -41
- aws_cdk/aws_route53/__init__.py +282 -0
- aws_cdk/aws_s3/__init__.py +11 -6
- aws_cdk/aws_sagemaker/__init__.py +1398 -39
- aws_cdk/aws_sns/__init__.py +56 -13
- aws_cdk/aws_sqs/__init__.py +13 -10
- aws_cdk/aws_stepfunctions/__init__.py +3612 -1395
- aws_cdk/aws_stepfunctions_tasks/__init__.py +267 -181
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +55 -55
- aws_cdk/aws_workspacesweb/__init__.py +6 -3
- aws_cdk/cx_api/__init__.py +17 -0
- aws_cdk/triggers/__init__.py +21 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/RECORD +68 -69
- aws_cdk/aws_ssmguiconnect/__init__.py +0 -540
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_transfer/__init__.py
CHANGED
|
@@ -1078,7 +1078,7 @@ class CfnConnector(
|
|
|
1078
1078
|
@builtins.property
|
|
1079
1079
|
@jsii.member(jsii_name="attrConnectorId")
|
|
1080
1080
|
def attr_connector_id(self) -> builtins.str:
|
|
1081
|
-
'''
|
|
1081
|
+
'''The service-assigned ID of the connector that is created.
|
|
1082
1082
|
|
|
1083
1083
|
:cloudformationAttribute: ConnectorId
|
|
1084
1084
|
'''
|
|
@@ -98,9 +98,9 @@ class CfnIdentitySource(
|
|
|
98
98
|
client_ids=["clientIds"]
|
|
99
99
|
)
|
|
100
100
|
),
|
|
101
|
+
policy_store_id="policyStoreId",
|
|
101
102
|
|
|
102
103
|
# the properties below are optional
|
|
103
|
-
policy_store_id="policyStoreId",
|
|
104
104
|
principal_entity_type="principalEntityType"
|
|
105
105
|
)
|
|
106
106
|
'''
|
|
@@ -111,7 +111,7 @@ class CfnIdentitySource(
|
|
|
111
111
|
id: builtins.str,
|
|
112
112
|
*,
|
|
113
113
|
configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnIdentitySource.IdentitySourceConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
114
|
-
policy_store_id:
|
|
114
|
+
policy_store_id: builtins.str,
|
|
115
115
|
principal_entity_type: typing.Optional[builtins.str] = None,
|
|
116
116
|
) -> None:
|
|
117
117
|
'''
|
|
@@ -238,12 +238,12 @@ class CfnIdentitySource(
|
|
|
238
238
|
|
|
239
239
|
@builtins.property
|
|
240
240
|
@jsii.member(jsii_name="policyStoreId")
|
|
241
|
-
def policy_store_id(self) ->
|
|
241
|
+
def policy_store_id(self) -> builtins.str:
|
|
242
242
|
'''Specifies the ID of the policy store in which you want to store this identity source.'''
|
|
243
|
-
return typing.cast(
|
|
243
|
+
return typing.cast(builtins.str, jsii.get(self, "policyStoreId"))
|
|
244
244
|
|
|
245
245
|
@policy_store_id.setter
|
|
246
|
-
def policy_store_id(self, value:
|
|
246
|
+
def policy_store_id(self, value: builtins.str) -> None:
|
|
247
247
|
if __debug__:
|
|
248
248
|
type_hints = typing.get_type_hints(_typecheckingstub__1f391fc07d87adb5874b1e9c3274f87754ce8643942edb0e42ae4d9a25e1608a)
|
|
249
249
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -534,7 +534,7 @@ class CfnIdentitySourceProps:
|
|
|
534
534
|
self,
|
|
535
535
|
*,
|
|
536
536
|
configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdentitySource.IdentitySourceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
537
|
-
policy_store_id:
|
|
537
|
+
policy_store_id: builtins.str,
|
|
538
538
|
principal_entity_type: typing.Optional[builtins.str] = None,
|
|
539
539
|
) -> None:
|
|
540
540
|
'''Properties for defining a ``CfnIdentitySource``.
|
|
@@ -561,9 +561,9 @@ class CfnIdentitySourceProps:
|
|
|
561
561
|
client_ids=["clientIds"]
|
|
562
562
|
)
|
|
563
563
|
),
|
|
564
|
+
policy_store_id="policyStoreId",
|
|
564
565
|
|
|
565
566
|
# the properties below are optional
|
|
566
|
-
policy_store_id="policyStoreId",
|
|
567
567
|
principal_entity_type="principalEntityType"
|
|
568
568
|
)
|
|
569
569
|
'''
|
|
@@ -574,9 +574,8 @@ class CfnIdentitySourceProps:
|
|
|
574
574
|
check_type(argname="argument principal_entity_type", value=principal_entity_type, expected_type=type_hints["principal_entity_type"])
|
|
575
575
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
576
576
|
"configuration": configuration,
|
|
577
|
+
"policy_store_id": policy_store_id,
|
|
577
578
|
}
|
|
578
|
-
if policy_store_id is not None:
|
|
579
|
-
self._values["policy_store_id"] = policy_store_id
|
|
580
579
|
if principal_entity_type is not None:
|
|
581
580
|
self._values["principal_entity_type"] = principal_entity_type
|
|
582
581
|
|
|
@@ -601,7 +600,7 @@ class CfnIdentitySourceProps:
|
|
|
601
600
|
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnIdentitySource.IdentitySourceConfigurationProperty], result)
|
|
602
601
|
|
|
603
602
|
@builtins.property
|
|
604
|
-
def policy_store_id(self) ->
|
|
603
|
+
def policy_store_id(self) -> builtins.str:
|
|
605
604
|
'''Specifies the ID of the policy store in which you want to store this identity source.
|
|
606
605
|
|
|
607
606
|
Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.
|
|
@@ -609,7 +608,8 @@ class CfnIdentitySourceProps:
|
|
|
609
608
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-identitysource.html#cfn-verifiedpermissions-identitysource-policystoreid
|
|
610
609
|
'''
|
|
611
610
|
result = self._values.get("policy_store_id")
|
|
612
|
-
|
|
611
|
+
assert result is not None, "Required property 'policy_store_id' is missing"
|
|
612
|
+
return typing.cast(builtins.str, result)
|
|
613
613
|
|
|
614
614
|
@builtins.property
|
|
615
615
|
def principal_entity_type(self) -> typing.Optional[builtins.str]:
|
|
@@ -1672,11 +1672,11 @@ class CfnPolicyTemplate(
|
|
|
1672
1672
|
from aws_cdk import aws_verifiedpermissions as verifiedpermissions
|
|
1673
1673
|
|
|
1674
1674
|
cfn_policy_template = verifiedpermissions.CfnPolicyTemplate(self, "MyCfnPolicyTemplate",
|
|
1675
|
+
policy_store_id="policyStoreId",
|
|
1675
1676
|
statement="statement",
|
|
1676
1677
|
|
|
1677
1678
|
# the properties below are optional
|
|
1678
|
-
description="description"
|
|
1679
|
-
policy_store_id="policyStoreId"
|
|
1679
|
+
description="description"
|
|
1680
1680
|
)
|
|
1681
1681
|
'''
|
|
1682
1682
|
|
|
@@ -1685,25 +1685,25 @@ class CfnPolicyTemplate(
|
|
|
1685
1685
|
scope: _constructs_77d1e7e8.Construct,
|
|
1686
1686
|
id: builtins.str,
|
|
1687
1687
|
*,
|
|
1688
|
+
policy_store_id: builtins.str,
|
|
1688
1689
|
statement: builtins.str,
|
|
1689
1690
|
description: typing.Optional[builtins.str] = None,
|
|
1690
|
-
policy_store_id: typing.Optional[builtins.str] = None,
|
|
1691
1691
|
) -> None:
|
|
1692
1692
|
'''
|
|
1693
1693
|
:param scope: Scope in which this resource is defined.
|
|
1694
1694
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1695
|
+
:param policy_store_id: The unique identifier of the policy store that contains the template.
|
|
1695
1696
|
:param statement: Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
|
|
1696
1697
|
:param description: The description to attach to the new or updated policy template.
|
|
1697
|
-
:param policy_store_id: The unique identifier of the policy store that contains the template.
|
|
1698
1698
|
'''
|
|
1699
1699
|
if __debug__:
|
|
1700
1700
|
type_hints = typing.get_type_hints(_typecheckingstub__ed3e86dfb81e6515352391c646d690df7f34c6022cd94a51863a664c57bd434a)
|
|
1701
1701
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1702
1702
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1703
1703
|
props = CfnPolicyTemplateProps(
|
|
1704
|
+
policy_store_id=policy_store_id,
|
|
1704
1705
|
statement=statement,
|
|
1705
1706
|
description=description,
|
|
1706
|
-
policy_store_id=policy_store_id,
|
|
1707
1707
|
)
|
|
1708
1708
|
|
|
1709
1709
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -1752,6 +1752,19 @@ class CfnPolicyTemplate(
|
|
|
1752
1752
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1753
1753
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1754
1754
|
|
|
1755
|
+
@builtins.property
|
|
1756
|
+
@jsii.member(jsii_name="policyStoreId")
|
|
1757
|
+
def policy_store_id(self) -> builtins.str:
|
|
1758
|
+
'''The unique identifier of the policy store that contains the template.'''
|
|
1759
|
+
return typing.cast(builtins.str, jsii.get(self, "policyStoreId"))
|
|
1760
|
+
|
|
1761
|
+
@policy_store_id.setter
|
|
1762
|
+
def policy_store_id(self, value: builtins.str) -> None:
|
|
1763
|
+
if __debug__:
|
|
1764
|
+
type_hints = typing.get_type_hints(_typecheckingstub__582eca241418301fd48556f1bb838d7697b3f7ff23d57252d2d783d4532bcbae)
|
|
1765
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1766
|
+
jsii.set(self, "policyStoreId", value)
|
|
1767
|
+
|
|
1755
1768
|
@builtins.property
|
|
1756
1769
|
@jsii.member(jsii_name="statement")
|
|
1757
1770
|
def statement(self) -> builtins.str:
|
|
@@ -1778,42 +1791,29 @@ class CfnPolicyTemplate(
|
|
|
1778
1791
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1779
1792
|
jsii.set(self, "description", value)
|
|
1780
1793
|
|
|
1781
|
-
@builtins.property
|
|
1782
|
-
@jsii.member(jsii_name="policyStoreId")
|
|
1783
|
-
def policy_store_id(self) -> typing.Optional[builtins.str]:
|
|
1784
|
-
'''The unique identifier of the policy store that contains the template.'''
|
|
1785
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "policyStoreId"))
|
|
1786
|
-
|
|
1787
|
-
@policy_store_id.setter
|
|
1788
|
-
def policy_store_id(self, value: typing.Optional[builtins.str]) -> None:
|
|
1789
|
-
if __debug__:
|
|
1790
|
-
type_hints = typing.get_type_hints(_typecheckingstub__582eca241418301fd48556f1bb838d7697b3f7ff23d57252d2d783d4532bcbae)
|
|
1791
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1792
|
-
jsii.set(self, "policyStoreId", value)
|
|
1793
|
-
|
|
1794
1794
|
|
|
1795
1795
|
@jsii.data_type(
|
|
1796
1796
|
jsii_type="aws-cdk-lib.aws_verifiedpermissions.CfnPolicyTemplateProps",
|
|
1797
1797
|
jsii_struct_bases=[],
|
|
1798
1798
|
name_mapping={
|
|
1799
|
+
"policy_store_id": "policyStoreId",
|
|
1799
1800
|
"statement": "statement",
|
|
1800
1801
|
"description": "description",
|
|
1801
|
-
"policy_store_id": "policyStoreId",
|
|
1802
1802
|
},
|
|
1803
1803
|
)
|
|
1804
1804
|
class CfnPolicyTemplateProps:
|
|
1805
1805
|
def __init__(
|
|
1806
1806
|
self,
|
|
1807
1807
|
*,
|
|
1808
|
+
policy_store_id: builtins.str,
|
|
1808
1809
|
statement: builtins.str,
|
|
1809
1810
|
description: typing.Optional[builtins.str] = None,
|
|
1810
|
-
policy_store_id: typing.Optional[builtins.str] = None,
|
|
1811
1811
|
) -> None:
|
|
1812
1812
|
'''Properties for defining a ``CfnPolicyTemplate``.
|
|
1813
1813
|
|
|
1814
|
+
:param policy_store_id: The unique identifier of the policy store that contains the template.
|
|
1814
1815
|
:param statement: Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
|
|
1815
1816
|
:param description: The description to attach to the new or updated policy template.
|
|
1816
|
-
:param policy_store_id: The unique identifier of the policy store that contains the template.
|
|
1817
1817
|
|
|
1818
1818
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policytemplate.html
|
|
1819
1819
|
:exampleMetadata: fixture=_generated
|
|
@@ -1825,25 +1825,34 @@ class CfnPolicyTemplateProps:
|
|
|
1825
1825
|
from aws_cdk import aws_verifiedpermissions as verifiedpermissions
|
|
1826
1826
|
|
|
1827
1827
|
cfn_policy_template_props = verifiedpermissions.CfnPolicyTemplateProps(
|
|
1828
|
+
policy_store_id="policyStoreId",
|
|
1828
1829
|
statement="statement",
|
|
1829
1830
|
|
|
1830
1831
|
# the properties below are optional
|
|
1831
|
-
description="description"
|
|
1832
|
-
policy_store_id="policyStoreId"
|
|
1832
|
+
description="description"
|
|
1833
1833
|
)
|
|
1834
1834
|
'''
|
|
1835
1835
|
if __debug__:
|
|
1836
1836
|
type_hints = typing.get_type_hints(_typecheckingstub__075de1d4e460af7b2858245a89bb9d63ffdb6f2cd0276b3d8b519fb35d765a82)
|
|
1837
|
+
check_type(argname="argument policy_store_id", value=policy_store_id, expected_type=type_hints["policy_store_id"])
|
|
1837
1838
|
check_type(argname="argument statement", value=statement, expected_type=type_hints["statement"])
|
|
1838
1839
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
1839
|
-
check_type(argname="argument policy_store_id", value=policy_store_id, expected_type=type_hints["policy_store_id"])
|
|
1840
1840
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1841
|
+
"policy_store_id": policy_store_id,
|
|
1841
1842
|
"statement": statement,
|
|
1842
1843
|
}
|
|
1843
1844
|
if description is not None:
|
|
1844
1845
|
self._values["description"] = description
|
|
1845
|
-
|
|
1846
|
-
|
|
1846
|
+
|
|
1847
|
+
@builtins.property
|
|
1848
|
+
def policy_store_id(self) -> builtins.str:
|
|
1849
|
+
'''The unique identifier of the policy store that contains the template.
|
|
1850
|
+
|
|
1851
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policytemplate.html#cfn-verifiedpermissions-policytemplate-policystoreid
|
|
1852
|
+
'''
|
|
1853
|
+
result = self._values.get("policy_store_id")
|
|
1854
|
+
assert result is not None, "Required property 'policy_store_id' is missing"
|
|
1855
|
+
return typing.cast(builtins.str, result)
|
|
1847
1856
|
|
|
1848
1857
|
@builtins.property
|
|
1849
1858
|
def statement(self) -> builtins.str:
|
|
@@ -1864,15 +1873,6 @@ class CfnPolicyTemplateProps:
|
|
|
1864
1873
|
result = self._values.get("description")
|
|
1865
1874
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1866
1875
|
|
|
1867
|
-
@builtins.property
|
|
1868
|
-
def policy_store_id(self) -> typing.Optional[builtins.str]:
|
|
1869
|
-
'''The unique identifier of the policy store that contains the template.
|
|
1870
|
-
|
|
1871
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policytemplate.html#cfn-verifiedpermissions-policytemplate-policystoreid
|
|
1872
|
-
'''
|
|
1873
|
-
result = self._values.get("policy_store_id")
|
|
1874
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
1875
|
-
|
|
1876
1876
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1877
1877
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1878
1878
|
|
|
@@ -1903,7 +1903,7 @@ def _typecheckingstub__07eaeca96a1d003d022bfe00d6c5c32734ab27136e499f6e8156e663d
|
|
|
1903
1903
|
id: builtins.str,
|
|
1904
1904
|
*,
|
|
1905
1905
|
configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdentitySource.IdentitySourceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1906
|
-
policy_store_id:
|
|
1906
|
+
policy_store_id: builtins.str,
|
|
1907
1907
|
principal_entity_type: typing.Optional[builtins.str] = None,
|
|
1908
1908
|
) -> None:
|
|
1909
1909
|
"""Type checking stubs"""
|
|
@@ -1928,7 +1928,7 @@ def _typecheckingstub__f4a4151d5edcacd46d57d191db8fc897a1618f6b6c43e1f07f119ab8f
|
|
|
1928
1928
|
pass
|
|
1929
1929
|
|
|
1930
1930
|
def _typecheckingstub__1f391fc07d87adb5874b1e9c3274f87754ce8643942edb0e42ae4d9a25e1608a(
|
|
1931
|
-
value:
|
|
1931
|
+
value: builtins.str,
|
|
1932
1932
|
) -> None:
|
|
1933
1933
|
"""Type checking stubs"""
|
|
1934
1934
|
pass
|
|
@@ -1967,7 +1967,7 @@ def _typecheckingstub__7de43a4292ffc2c919be30326e38112109b1f65de4681523bb84b29e2
|
|
|
1967
1967
|
def _typecheckingstub__2c26583940e2aa6e9d220c2c5b1722091a1344919725a0cfeb5b794a1ef3dc30(
|
|
1968
1968
|
*,
|
|
1969
1969
|
configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdentitySource.IdentitySourceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1970
|
-
policy_store_id:
|
|
1970
|
+
policy_store_id: builtins.str,
|
|
1971
1971
|
principal_entity_type: typing.Optional[builtins.str] = None,
|
|
1972
1972
|
) -> None:
|
|
1973
1973
|
"""Type checking stubs"""
|
|
@@ -2116,9 +2116,9 @@ def _typecheckingstub__ed3e86dfb81e6515352391c646d690df7f34c6022cd94a51863a664c5
|
|
|
2116
2116
|
scope: _constructs_77d1e7e8.Construct,
|
|
2117
2117
|
id: builtins.str,
|
|
2118
2118
|
*,
|
|
2119
|
+
policy_store_id: builtins.str,
|
|
2119
2120
|
statement: builtins.str,
|
|
2120
2121
|
description: typing.Optional[builtins.str] = None,
|
|
2121
|
-
policy_store_id: typing.Optional[builtins.str] = None,
|
|
2122
2122
|
) -> None:
|
|
2123
2123
|
"""Type checking stubs"""
|
|
2124
2124
|
pass
|
|
@@ -2135,19 +2135,19 @@ def _typecheckingstub__f04b9de9a49ca424d4dfad33bb18952b7d2283d300474f1320ab9feff
|
|
|
2135
2135
|
"""Type checking stubs"""
|
|
2136
2136
|
pass
|
|
2137
2137
|
|
|
2138
|
-
def
|
|
2138
|
+
def _typecheckingstub__582eca241418301fd48556f1bb838d7697b3f7ff23d57252d2d783d4532bcbae(
|
|
2139
2139
|
value: builtins.str,
|
|
2140
2140
|
) -> None:
|
|
2141
2141
|
"""Type checking stubs"""
|
|
2142
2142
|
pass
|
|
2143
2143
|
|
|
2144
|
-
def
|
|
2145
|
-
value:
|
|
2144
|
+
def _typecheckingstub__592231050c584a4ecea5c3d0c9f03326be29cadce389428dbc9a25bed277efe4(
|
|
2145
|
+
value: builtins.str,
|
|
2146
2146
|
) -> None:
|
|
2147
2147
|
"""Type checking stubs"""
|
|
2148
2148
|
pass
|
|
2149
2149
|
|
|
2150
|
-
def
|
|
2150
|
+
def _typecheckingstub__c58edfa87a5f12d9679dc9e906de042ce6fb26dbf1811d4fbdfc9c7e8b898830(
|
|
2151
2151
|
value: typing.Optional[builtins.str],
|
|
2152
2152
|
) -> None:
|
|
2153
2153
|
"""Type checking stubs"""
|
|
@@ -2155,9 +2155,9 @@ def _typecheckingstub__582eca241418301fd48556f1bb838d7697b3f7ff23d57252d2d783d45
|
|
|
2155
2155
|
|
|
2156
2156
|
def _typecheckingstub__075de1d4e460af7b2858245a89bb9d63ffdb6f2cd0276b3d8b519fb35d765a82(
|
|
2157
2157
|
*,
|
|
2158
|
+
policy_store_id: builtins.str,
|
|
2158
2159
|
statement: builtins.str,
|
|
2159
2160
|
description: typing.Optional[builtins.str] = None,
|
|
2160
|
-
policy_store_id: typing.Optional[builtins.str] = None,
|
|
2161
2161
|
) -> None:
|
|
2162
2162
|
"""Type checking stubs"""
|
|
2163
2163
|
pass
|
|
@@ -396,7 +396,7 @@ class CfnIdentityProvider(
|
|
|
396
396
|
'''
|
|
397
397
|
:param scope: Scope in which this resource is defined.
|
|
398
398
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
399
|
-
:param identity_provider_details: The identity provider details. The following list describes the provider detail keys for each identity provider type. - For Google and Login with Amazon: - ``client_id`` - ``client_secret`` - ``authorize_scopes`` - For Facebook: - ``client_id`` - ``client_secret`` - ``authorize_scopes`` - ``api_version`` - For Sign in with Apple: - ``client_id`` - ``team_id`` - ``key_id`` - ``private_key`` - ``authorize_scopes`` - For OIDC providers: - ``client_id`` - ``client_secret`` - ``attributes_request_method`` - ``oidc_issuer`` - ``authorize_scopes`` - ``authorize_url`` *if not available from discovery URL specified by oidc_issuer key* - ``token_url`` *if not available from discovery URL specified by oidc_issuer key* - ``attributes_url`` *if not available from discovery URL specified by oidc_issuer key* - ``jwks_uri`` *if not available from discovery URL specified by oidc_issuer key* - For SAML providers: - ``MetadataFile`` OR ``MetadataURL`` - ``IDPSignout`` *optional*
|
|
399
|
+
:param identity_provider_details: The identity provider details. The following list describes the provider detail keys for each identity provider type. - For Google and Login with Amazon: - ``client_id`` - ``client_secret`` - ``authorize_scopes`` - For Facebook: - ``client_id`` - ``client_secret`` - ``authorize_scopes`` - ``api_version`` - For Sign in with Apple: - ``client_id`` - ``team_id`` - ``key_id`` - ``private_key`` - ``authorize_scopes`` - For OIDC providers: - ``client_id`` - ``client_secret`` - ``attributes_request_method`` - ``oidc_issuer`` - ``authorize_scopes`` - ``authorize_url`` *if not available from discovery URL specified by oidc_issuer key* - ``token_url`` *if not available from discovery URL specified by oidc_issuer key* - ``attributes_url`` *if not available from discovery URL specified by oidc_issuer key* - ``jwks_uri`` *if not available from discovery URL specified by oidc_issuer key* - For SAML providers: - ``MetadataFile`` OR ``MetadataURL`` - ``IDPSignout`` (boolean) *optional* - ``IDPInit`` (boolean) *optional* - ``RequestSigningAlgorithm`` (string) *optional* - Only accepts ``rsa-sha256`` - ``EncryptedResponses`` (boolean) *optional*
|
|
400
400
|
:param identity_provider_name: The identity provider name.
|
|
401
401
|
:param identity_provider_type: The identity provider type.
|
|
402
402
|
:param portal_arn: The ARN of the identity provider.
|
|
@@ -540,7 +540,7 @@ class CfnIdentityProviderProps:
|
|
|
540
540
|
) -> None:
|
|
541
541
|
'''Properties for defining a ``CfnIdentityProvider``.
|
|
542
542
|
|
|
543
|
-
:param identity_provider_details: The identity provider details. The following list describes the provider detail keys for each identity provider type. - For Google and Login with Amazon: - ``client_id`` - ``client_secret`` - ``authorize_scopes`` - For Facebook: - ``client_id`` - ``client_secret`` - ``authorize_scopes`` - ``api_version`` - For Sign in with Apple: - ``client_id`` - ``team_id`` - ``key_id`` - ``private_key`` - ``authorize_scopes`` - For OIDC providers: - ``client_id`` - ``client_secret`` - ``attributes_request_method`` - ``oidc_issuer`` - ``authorize_scopes`` - ``authorize_url`` *if not available from discovery URL specified by oidc_issuer key* - ``token_url`` *if not available from discovery URL specified by oidc_issuer key* - ``attributes_url`` *if not available from discovery URL specified by oidc_issuer key* - ``jwks_uri`` *if not available from discovery URL specified by oidc_issuer key* - For SAML providers: - ``MetadataFile`` OR ``MetadataURL`` - ``IDPSignout`` *optional*
|
|
543
|
+
:param identity_provider_details: The identity provider details. The following list describes the provider detail keys for each identity provider type. - For Google and Login with Amazon: - ``client_id`` - ``client_secret`` - ``authorize_scopes`` - For Facebook: - ``client_id`` - ``client_secret`` - ``authorize_scopes`` - ``api_version`` - For Sign in with Apple: - ``client_id`` - ``team_id`` - ``key_id`` - ``private_key`` - ``authorize_scopes`` - For OIDC providers: - ``client_id`` - ``client_secret`` - ``attributes_request_method`` - ``oidc_issuer`` - ``authorize_scopes`` - ``authorize_url`` *if not available from discovery URL specified by oidc_issuer key* - ``token_url`` *if not available from discovery URL specified by oidc_issuer key* - ``attributes_url`` *if not available from discovery URL specified by oidc_issuer key* - ``jwks_uri`` *if not available from discovery URL specified by oidc_issuer key* - For SAML providers: - ``MetadataFile`` OR ``MetadataURL`` - ``IDPSignout`` (boolean) *optional* - ``IDPInit`` (boolean) *optional* - ``RequestSigningAlgorithm`` (string) *optional* - Only accepts ``rsa-sha256`` - ``EncryptedResponses`` (boolean) *optional*
|
|
544
544
|
:param identity_provider_name: The identity provider name.
|
|
545
545
|
:param identity_provider_type: The identity provider type.
|
|
546
546
|
:param portal_arn: The ARN of the identity provider.
|
|
@@ -612,7 +612,10 @@ class CfnIdentityProviderProps:
|
|
|
612
612
|
- ``jwks_uri`` *if not available from discovery URL specified by oidc_issuer key*
|
|
613
613
|
- For SAML providers:
|
|
614
614
|
- ``MetadataFile`` OR ``MetadataURL``
|
|
615
|
-
- ``IDPSignout`` *optional*
|
|
615
|
+
- ``IDPSignout`` (boolean) *optional*
|
|
616
|
+
- ``IDPInit`` (boolean) *optional*
|
|
617
|
+
- ``RequestSigningAlgorithm`` (string) *optional* - Only accepts ``rsa-sha256``
|
|
618
|
+
- ``EncryptedResponses`` (boolean) *optional*
|
|
616
619
|
|
|
617
620
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-identityprovider.html#cfn-workspacesweb-identityprovider-identityproviderdetails
|
|
618
621
|
'''
|
aws_cdk/cx_api/__init__.py
CHANGED
|
@@ -259,6 +259,23 @@ This flag allows multiple alarms with the `LambdaAction` for the same Lambda to
|
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
```
|
|
262
|
+
|
|
263
|
+
* `@aws-cdk/aws-codepipeline:crossAccountKeysDefaultValueToFalse`
|
|
264
|
+
|
|
265
|
+
Enables Pipeline to set the default value for `crossAccountKeys` to false.
|
|
266
|
+
|
|
267
|
+
When this feature flag is enabled, and the `crossAccountKeys` property is not provided in a `Pipeline`
|
|
268
|
+
construct, the construct automatically defaults the value of this property to false.
|
|
269
|
+
|
|
270
|
+
*cdk.json*
|
|
271
|
+
|
|
272
|
+
```json
|
|
273
|
+
{
|
|
274
|
+
"context": {
|
|
275
|
+
"@aws-cdk/aws-codepipeline:crossAccountKeysDefaultValueToFalse": true
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
```
|
|
262
279
|
'''
|
|
263
280
|
import abc
|
|
264
281
|
import builtins
|
aws_cdk/triggers/__init__.py
CHANGED
|
@@ -148,6 +148,7 @@ from ..aws_lambda import (
|
|
|
148
148
|
ILayerVersion as _ILayerVersion_5ac127c8,
|
|
149
149
|
LambdaInsightsVersion as _LambdaInsightsVersion_9dfbfef9,
|
|
150
150
|
LogRetentionRetryOptions as _LogRetentionRetryOptions_ad797a7a,
|
|
151
|
+
LoggingFormat as _LoggingFormat_30be8e01,
|
|
151
152
|
ParamsAndSecretsLayerVersion as _ParamsAndSecretsLayerVersion_dce97f06,
|
|
152
153
|
Runtime as _Runtime_b4eaa844,
|
|
153
154
|
RuntimeManagementMode as _RuntimeManagementMode_688c173b,
|
|
@@ -418,6 +419,7 @@ class TriggerFunction(
|
|
|
418
419
|
insights_version: typing.Optional[_LambdaInsightsVersion_9dfbfef9] = None,
|
|
419
420
|
layers: typing.Optional[typing.Sequence[_ILayerVersion_5ac127c8]] = None,
|
|
420
421
|
log_format: typing.Optional[builtins.str] = None,
|
|
422
|
+
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
421
423
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
422
424
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
423
425
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -471,6 +473,7 @@ class TriggerFunction(
|
|
|
471
473
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
472
474
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
473
475
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
476
|
+
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
474
477
|
:param log_group: The log group the function sends logs to. By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/<function name>. However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. Use the ``logGroup`` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first. Default: ``/aws/lambda/${this.functionName}`` - default log group created by Lambda
|
|
475
478
|
:param log_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. This is a legacy API and we strongly recommend you move away from it if you can. Instead create a fully customizable log group with ``logs.LogGroup`` and use the ``logGroup`` property to instruct the Lambda function to send logs to it. Migrating from ``logRetention`` to ``logGroup`` will cause the name of the log group to change. Users and code and referencing the name verbatim will have to adjust. In AWS CDK code, you can access the log group name directly from the LogGroup construct:: import * as logs from 'aws-cdk-lib/aws-logs'; declare const myLogGroup: logs.LogGroup; myLogGroup.logGroupName; Default: logs.RetentionDays.INFINITE
|
|
476
479
|
:param log_retention_retry_options: When log retention is specified, a custom resource attempts to create the CloudWatch log group. These options control the retry policy when interacting with CloudWatch APIs. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: - Default AWS SDK retry options.
|
|
@@ -526,6 +529,7 @@ class TriggerFunction(
|
|
|
526
529
|
insights_version=insights_version,
|
|
527
530
|
layers=layers,
|
|
528
531
|
log_format=log_format,
|
|
532
|
+
logging_format=logging_format,
|
|
529
533
|
log_group=log_group,
|
|
530
534
|
log_retention=log_retention,
|
|
531
535
|
log_retention_retry_options=log_retention_retry_options,
|
|
@@ -887,6 +891,7 @@ class TriggerProps(TriggerOptions):
|
|
|
887
891
|
"insights_version": "insightsVersion",
|
|
888
892
|
"layers": "layers",
|
|
889
893
|
"log_format": "logFormat",
|
|
894
|
+
"logging_format": "loggingFormat",
|
|
890
895
|
"log_group": "logGroup",
|
|
891
896
|
"log_retention": "logRetention",
|
|
892
897
|
"log_retention_retry_options": "logRetentionRetryOptions",
|
|
@@ -942,6 +947,7 @@ class TriggerFunctionProps(_FunctionProps_a308e854, TriggerOptions):
|
|
|
942
947
|
insights_version: typing.Optional[_LambdaInsightsVersion_9dfbfef9] = None,
|
|
943
948
|
layers: typing.Optional[typing.Sequence[_ILayerVersion_5ac127c8]] = None,
|
|
944
949
|
log_format: typing.Optional[builtins.str] = None,
|
|
950
|
+
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
945
951
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
946
952
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
947
953
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -994,6 +1000,7 @@ class TriggerFunctionProps(_FunctionProps_a308e854, TriggerOptions):
|
|
|
994
1000
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
995
1001
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
996
1002
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
1003
|
+
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
997
1004
|
:param log_group: The log group the function sends logs to. By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/<function name>. However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. Use the ``logGroup`` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first. Default: ``/aws/lambda/${this.functionName}`` - default log group created by Lambda
|
|
998
1005
|
:param log_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. This is a legacy API and we strongly recommend you move away from it if you can. Instead create a fully customizable log group with ``logs.LogGroup`` and use the ``logGroup`` property to instruct the Lambda function to send logs to it. Migrating from ``logRetention`` to ``logGroup`` will cause the name of the log group to change. Users and code and referencing the name verbatim will have to adjust. In AWS CDK code, you can access the log group name directly from the LogGroup construct:: import * as logs from 'aws-cdk-lib/aws-logs'; declare const myLogGroup: logs.LogGroup; myLogGroup.logGroupName; Default: logs.RetentionDays.INFINITE
|
|
999
1006
|
:param log_retention_retry_options: When log retention is specified, a custom resource attempts to create the CloudWatch log group. These options control the retry policy when interacting with CloudWatch APIs. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: - Default AWS SDK retry options.
|
|
@@ -1067,6 +1074,7 @@ class TriggerFunctionProps(_FunctionProps_a308e854, TriggerOptions):
|
|
|
1067
1074
|
check_type(argname="argument insights_version", value=insights_version, expected_type=type_hints["insights_version"])
|
|
1068
1075
|
check_type(argname="argument layers", value=layers, expected_type=type_hints["layers"])
|
|
1069
1076
|
check_type(argname="argument log_format", value=log_format, expected_type=type_hints["log_format"])
|
|
1077
|
+
check_type(argname="argument logging_format", value=logging_format, expected_type=type_hints["logging_format"])
|
|
1070
1078
|
check_type(argname="argument log_group", value=log_group, expected_type=type_hints["log_group"])
|
|
1071
1079
|
check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
|
|
1072
1080
|
check_type(argname="argument log_retention_retry_options", value=log_retention_retry_options, expected_type=type_hints["log_retention_retry_options"])
|
|
@@ -1146,6 +1154,8 @@ class TriggerFunctionProps(_FunctionProps_a308e854, TriggerOptions):
|
|
|
1146
1154
|
self._values["layers"] = layers
|
|
1147
1155
|
if log_format is not None:
|
|
1148
1156
|
self._values["log_format"] = log_format
|
|
1157
|
+
if logging_format is not None:
|
|
1158
|
+
self._values["logging_format"] = logging_format
|
|
1149
1159
|
if log_group is not None:
|
|
1150
1160
|
self._values["log_group"] = log_group
|
|
1151
1161
|
if log_retention is not None:
|
|
@@ -1461,6 +1471,15 @@ class TriggerFunctionProps(_FunctionProps_a308e854, TriggerOptions):
|
|
|
1461
1471
|
result = self._values.get("log_format")
|
|
1462
1472
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1463
1473
|
|
|
1474
|
+
@builtins.property
|
|
1475
|
+
def logging_format(self) -> typing.Optional[_LoggingFormat_30be8e01]:
|
|
1476
|
+
'''Sets the loggingFormat for the function.
|
|
1477
|
+
|
|
1478
|
+
:default: LoggingFormat.TEXT
|
|
1479
|
+
'''
|
|
1480
|
+
result = self._values.get("logging_format")
|
|
1481
|
+
return typing.cast(typing.Optional[_LoggingFormat_30be8e01], result)
|
|
1482
|
+
|
|
1464
1483
|
@builtins.property
|
|
1465
1484
|
def log_group(self) -> typing.Optional[_ILogGroup_3c4fa718]:
|
|
1466
1485
|
'''The log group the function sends logs to.
|
|
@@ -1887,6 +1906,7 @@ def _typecheckingstub__6f34c5ba084706d20d6ef37a7f59673b20ed3425ffc7035fc8ea888e9
|
|
|
1887
1906
|
insights_version: typing.Optional[_LambdaInsightsVersion_9dfbfef9] = None,
|
|
1888
1907
|
layers: typing.Optional[typing.Sequence[_ILayerVersion_5ac127c8]] = None,
|
|
1889
1908
|
log_format: typing.Optional[builtins.str] = None,
|
|
1909
|
+
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
1890
1910
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
1891
1911
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
1892
1912
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -1973,6 +1993,7 @@ def _typecheckingstub__b2f4b009b0160d566d798bfa6d813ccc8440e1a9e0f75c99449184a2f
|
|
|
1973
1993
|
insights_version: typing.Optional[_LambdaInsightsVersion_9dfbfef9] = None,
|
|
1974
1994
|
layers: typing.Optional[typing.Sequence[_ILayerVersion_5ac127c8]] = None,
|
|
1975
1995
|
log_format: typing.Optional[builtins.str] = None,
|
|
1996
|
+
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
1976
1997
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
1977
1998
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
1978
1999
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|