aws-cdk-lib 2.96.2__py3-none-any.whl → 2.97.1__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 +246 -62
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.96.2.jsii.tgz → aws-cdk-lib@2.97.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1 -1
- aws_cdk/aws_appflow/__init__.py +205 -7
- aws_cdk/aws_appstream/__init__.py +33 -28
- aws_cdk/aws_appsync/__init__.py +555 -71
- aws_cdk/aws_autoscaling/__init__.py +5 -11
- aws_cdk/aws_billingconductor/__init__.py +145 -1
- aws_cdk/aws_cleanrooms/__init__.py +1198 -86
- aws_cdk/aws_cloudformation/__init__.py +221 -55
- aws_cdk/aws_cloudwatch/__init__.py +325 -2
- aws_cdk/aws_cognito/__init__.py +9 -13
- aws_cdk/aws_config/__init__.py +68 -73
- aws_cdk/aws_connect/__init__.py +909 -164
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_dms/__init__.py +198 -0
- aws_cdk/aws_ec2/__init__.py +593 -73
- aws_cdk/aws_ecr/__init__.py +7 -2
- aws_cdk/aws_ecs/__init__.py +2 -2
- aws_cdk/aws_efs/__init__.py +237 -0
- aws_cdk/aws_emr/__init__.py +232 -0
- aws_cdk/aws_entityresolution/__init__.py +1702 -0
- aws_cdk/aws_events/__init__.py +13 -18
- aws_cdk/aws_fms/__init__.py +3 -3
- aws_cdk/aws_gamelift/__init__.py +10 -15
- aws_cdk/aws_grafana/__init__.py +9 -5
- aws_cdk/aws_guardduty/__init__.py +272 -205
- aws_cdk/aws_iam/__init__.py +20 -18
- aws_cdk/aws_iotwireless/__init__.py +38 -54
- aws_cdk/aws_lakeformation/__init__.py +18 -6
- aws_cdk/aws_lambda/__init__.py +1 -1
- aws_cdk/aws_lightsail/__init__.py +225 -0
- aws_cdk/aws_lookoutequipment/__init__.py +4 -4
- aws_cdk/aws_macie/__init__.py +5 -3
- aws_cdk/aws_mediapackagev2/__init__.py +3227 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +6785 -0
- aws_cdk/aws_quicksight/__init__.py +189 -116
- aws_cdk/aws_rds/__init__.py +316 -9
- aws_cdk/aws_resiliencehub/__init__.py +38 -21
- aws_cdk/aws_route53resolver/__init__.py +429 -0
- aws_cdk/aws_sagemaker/__init__.py +34 -34
- aws_cdk/aws_stepfunctions/__init__.py +111 -14
- aws_cdk/aws_transfer/__init__.py +2 -2
- aws_cdk/aws_vpclattice/__init__.py +128 -120
- aws_cdk/aws_workspacesweb/__init__.py +3790 -0
- aws_cdk/region_info/__init__.py +49 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/RECORD +53 -49
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_emr/__init__.py
CHANGED
|
@@ -10795,6 +10795,194 @@ class CfnStudioSessionMappingProps:
|
|
|
10795
10795
|
)
|
|
10796
10796
|
|
|
10797
10797
|
|
|
10798
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
10799
|
+
class CfnWALWorkspace(
|
|
10800
|
+
_CfnResource_9df397a6,
|
|
10801
|
+
metaclass=jsii.JSIIMeta,
|
|
10802
|
+
jsii_type="aws-cdk-lib.aws_emr.CfnWALWorkspace",
|
|
10803
|
+
):
|
|
10804
|
+
'''A WAL workspace is a logical container of write-ahead logs (WALs).
|
|
10805
|
+
|
|
10806
|
+
All WALs in Amazon EMR WAL are encapsulated by a WAL workspace.
|
|
10807
|
+
|
|
10808
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-walworkspace.html
|
|
10809
|
+
:exampleMetadata: fixture=_generated
|
|
10810
|
+
|
|
10811
|
+
Example::
|
|
10812
|
+
|
|
10813
|
+
# The code below shows an example of how to instantiate this type.
|
|
10814
|
+
# The values are placeholders you should change.
|
|
10815
|
+
from aws_cdk import aws_emr as emr
|
|
10816
|
+
|
|
10817
|
+
cfn_wALWorkspace = emr.CfnWALWorkspace(self, "MyCfnWALWorkspace",
|
|
10818
|
+
tags=[CfnTag(
|
|
10819
|
+
key="key",
|
|
10820
|
+
value="value"
|
|
10821
|
+
)],
|
|
10822
|
+
wal_workspace_name="walWorkspaceName"
|
|
10823
|
+
)
|
|
10824
|
+
'''
|
|
10825
|
+
|
|
10826
|
+
def __init__(
|
|
10827
|
+
self,
|
|
10828
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
10829
|
+
id: builtins.str,
|
|
10830
|
+
*,
|
|
10831
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10832
|
+
wal_workspace_name: typing.Optional[builtins.str] = None,
|
|
10833
|
+
) -> None:
|
|
10834
|
+
'''
|
|
10835
|
+
:param scope: Scope in which this resource is defined.
|
|
10836
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
10837
|
+
:param tags: You can add tags when you create a new workspace. You can add, remove, or list tags from an active workspace, but you can't update tags. Instead, remove the tag and add a new one. For more information, see see `Tag your Amazon EMR WAL workspaces <https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-hbase-wal.html#emr-hbase-wal-tagging>`_ .
|
|
10838
|
+
:param wal_workspace_name: The name of the WAL workspace.
|
|
10839
|
+
'''
|
|
10840
|
+
if __debug__:
|
|
10841
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1985a11480d9771f4adca96d86b169aa02281678db75bca99cae188da64db2af)
|
|
10842
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
10843
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
10844
|
+
props = CfnWALWorkspaceProps(tags=tags, wal_workspace_name=wal_workspace_name)
|
|
10845
|
+
|
|
10846
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
10847
|
+
|
|
10848
|
+
@jsii.member(jsii_name="inspect")
|
|
10849
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
10850
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
10851
|
+
|
|
10852
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
10853
|
+
'''
|
|
10854
|
+
if __debug__:
|
|
10855
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ecd0531bb1865d8e422006dd70518e7e6c3206a1606b5c3c0b65c97287946fb5)
|
|
10856
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
10857
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
10858
|
+
|
|
10859
|
+
@jsii.member(jsii_name="renderProperties")
|
|
10860
|
+
def _render_properties(
|
|
10861
|
+
self,
|
|
10862
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
10863
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
10864
|
+
'''
|
|
10865
|
+
:param props: -
|
|
10866
|
+
'''
|
|
10867
|
+
if __debug__:
|
|
10868
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8fee275f760ca07b82a676d0d77ce668eff171e2b3d5ce80fd4e2914f6edb7a2)
|
|
10869
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
10870
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
10871
|
+
|
|
10872
|
+
@jsii.python.classproperty
|
|
10873
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
10874
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
10875
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
10876
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
10877
|
+
|
|
10878
|
+
@builtins.property
|
|
10879
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
10880
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
10881
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
10882
|
+
|
|
10883
|
+
@builtins.property
|
|
10884
|
+
@jsii.member(jsii_name="tags")
|
|
10885
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
10886
|
+
'''You can add tags when you create a new workspace.'''
|
|
10887
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
10888
|
+
|
|
10889
|
+
@tags.setter
|
|
10890
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
10891
|
+
if __debug__:
|
|
10892
|
+
type_hints = typing.get_type_hints(_typecheckingstub__851c8fb8c44fa83f73dc5f006c4f65169726f6269fd062e84490d5cf26077add)
|
|
10893
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10894
|
+
jsii.set(self, "tags", value)
|
|
10895
|
+
|
|
10896
|
+
@builtins.property
|
|
10897
|
+
@jsii.member(jsii_name="walWorkspaceName")
|
|
10898
|
+
def wal_workspace_name(self) -> typing.Optional[builtins.str]:
|
|
10899
|
+
'''The name of the WAL workspace.'''
|
|
10900
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "walWorkspaceName"))
|
|
10901
|
+
|
|
10902
|
+
@wal_workspace_name.setter
|
|
10903
|
+
def wal_workspace_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
10904
|
+
if __debug__:
|
|
10905
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0b841633928ec99eb6a369ad7d4f47c19b8160c69cd85540afdfe71238c44294)
|
|
10906
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10907
|
+
jsii.set(self, "walWorkspaceName", value)
|
|
10908
|
+
|
|
10909
|
+
|
|
10910
|
+
@jsii.data_type(
|
|
10911
|
+
jsii_type="aws-cdk-lib.aws_emr.CfnWALWorkspaceProps",
|
|
10912
|
+
jsii_struct_bases=[],
|
|
10913
|
+
name_mapping={"tags": "tags", "wal_workspace_name": "walWorkspaceName"},
|
|
10914
|
+
)
|
|
10915
|
+
class CfnWALWorkspaceProps:
|
|
10916
|
+
def __init__(
|
|
10917
|
+
self,
|
|
10918
|
+
*,
|
|
10919
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10920
|
+
wal_workspace_name: typing.Optional[builtins.str] = None,
|
|
10921
|
+
) -> None:
|
|
10922
|
+
'''Properties for defining a ``CfnWALWorkspace``.
|
|
10923
|
+
|
|
10924
|
+
:param tags: You can add tags when you create a new workspace. You can add, remove, or list tags from an active workspace, but you can't update tags. Instead, remove the tag and add a new one. For more information, see see `Tag your Amazon EMR WAL workspaces <https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-hbase-wal.html#emr-hbase-wal-tagging>`_ .
|
|
10925
|
+
:param wal_workspace_name: The name of the WAL workspace.
|
|
10926
|
+
|
|
10927
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-walworkspace.html
|
|
10928
|
+
:exampleMetadata: fixture=_generated
|
|
10929
|
+
|
|
10930
|
+
Example::
|
|
10931
|
+
|
|
10932
|
+
# The code below shows an example of how to instantiate this type.
|
|
10933
|
+
# The values are placeholders you should change.
|
|
10934
|
+
from aws_cdk import aws_emr as emr
|
|
10935
|
+
|
|
10936
|
+
cfn_wALWorkspace_props = emr.CfnWALWorkspaceProps(
|
|
10937
|
+
tags=[CfnTag(
|
|
10938
|
+
key="key",
|
|
10939
|
+
value="value"
|
|
10940
|
+
)],
|
|
10941
|
+
wal_workspace_name="walWorkspaceName"
|
|
10942
|
+
)
|
|
10943
|
+
'''
|
|
10944
|
+
if __debug__:
|
|
10945
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8593d9ac6a9a21fa49785102c4fc75235b74c034abaedb20ce93a44ec6d66c63)
|
|
10946
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
10947
|
+
check_type(argname="argument wal_workspace_name", value=wal_workspace_name, expected_type=type_hints["wal_workspace_name"])
|
|
10948
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
10949
|
+
if tags is not None:
|
|
10950
|
+
self._values["tags"] = tags
|
|
10951
|
+
if wal_workspace_name is not None:
|
|
10952
|
+
self._values["wal_workspace_name"] = wal_workspace_name
|
|
10953
|
+
|
|
10954
|
+
@builtins.property
|
|
10955
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
10956
|
+
'''You can add tags when you create a new workspace.
|
|
10957
|
+
|
|
10958
|
+
You can add, remove, or list tags from an active workspace, but you can't update tags. Instead, remove the tag and add a new one. For more information, see see `Tag your Amazon EMR WAL workspaces <https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-hbase-wal.html#emr-hbase-wal-tagging>`_ .
|
|
10959
|
+
|
|
10960
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-walworkspace.html#cfn-emr-walworkspace-tags
|
|
10961
|
+
'''
|
|
10962
|
+
result = self._values.get("tags")
|
|
10963
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
10964
|
+
|
|
10965
|
+
@builtins.property
|
|
10966
|
+
def wal_workspace_name(self) -> typing.Optional[builtins.str]:
|
|
10967
|
+
'''The name of the WAL workspace.
|
|
10968
|
+
|
|
10969
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-walworkspace.html#cfn-emr-walworkspace-walworkspacename
|
|
10970
|
+
'''
|
|
10971
|
+
result = self._values.get("wal_workspace_name")
|
|
10972
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10973
|
+
|
|
10974
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
10975
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
10976
|
+
|
|
10977
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
10978
|
+
return not (rhs == self)
|
|
10979
|
+
|
|
10980
|
+
def __repr__(self) -> str:
|
|
10981
|
+
return "CfnWALWorkspaceProps(%s)" % ", ".join(
|
|
10982
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
10983
|
+
)
|
|
10984
|
+
|
|
10985
|
+
|
|
10798
10986
|
__all__ = [
|
|
10799
10987
|
"CfnCluster",
|
|
10800
10988
|
"CfnClusterProps",
|
|
@@ -10810,6 +10998,8 @@ __all__ = [
|
|
|
10810
10998
|
"CfnStudioProps",
|
|
10811
10999
|
"CfnStudioSessionMapping",
|
|
10812
11000
|
"CfnStudioSessionMappingProps",
|
|
11001
|
+
"CfnWALWorkspace",
|
|
11002
|
+
"CfnWALWorkspaceProps",
|
|
10813
11003
|
]
|
|
10814
11004
|
|
|
10815
11005
|
publication.publish()
|
|
@@ -12006,3 +12196,45 @@ def _typecheckingstub__a27468aac05a78cc17d6ec5e8f062d7c22a5b3bf56f44d8c6c90edc8a
|
|
|
12006
12196
|
) -> None:
|
|
12007
12197
|
"""Type checking stubs"""
|
|
12008
12198
|
pass
|
|
12199
|
+
|
|
12200
|
+
def _typecheckingstub__1985a11480d9771f4adca96d86b169aa02281678db75bca99cae188da64db2af(
|
|
12201
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
12202
|
+
id: builtins.str,
|
|
12203
|
+
*,
|
|
12204
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12205
|
+
wal_workspace_name: typing.Optional[builtins.str] = None,
|
|
12206
|
+
) -> None:
|
|
12207
|
+
"""Type checking stubs"""
|
|
12208
|
+
pass
|
|
12209
|
+
|
|
12210
|
+
def _typecheckingstub__ecd0531bb1865d8e422006dd70518e7e6c3206a1606b5c3c0b65c97287946fb5(
|
|
12211
|
+
inspector: _TreeInspector_488e0dd5,
|
|
12212
|
+
) -> None:
|
|
12213
|
+
"""Type checking stubs"""
|
|
12214
|
+
pass
|
|
12215
|
+
|
|
12216
|
+
def _typecheckingstub__8fee275f760ca07b82a676d0d77ce668eff171e2b3d5ce80fd4e2914f6edb7a2(
|
|
12217
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
12218
|
+
) -> None:
|
|
12219
|
+
"""Type checking stubs"""
|
|
12220
|
+
pass
|
|
12221
|
+
|
|
12222
|
+
def _typecheckingstub__851c8fb8c44fa83f73dc5f006c4f65169726f6269fd062e84490d5cf26077add(
|
|
12223
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
12224
|
+
) -> None:
|
|
12225
|
+
"""Type checking stubs"""
|
|
12226
|
+
pass
|
|
12227
|
+
|
|
12228
|
+
def _typecheckingstub__0b841633928ec99eb6a369ad7d4f47c19b8160c69cd85540afdfe71238c44294(
|
|
12229
|
+
value: typing.Optional[builtins.str],
|
|
12230
|
+
) -> None:
|
|
12231
|
+
"""Type checking stubs"""
|
|
12232
|
+
pass
|
|
12233
|
+
|
|
12234
|
+
def _typecheckingstub__8593d9ac6a9a21fa49785102c4fc75235b74c034abaedb20ce93a44ec6d66c63(
|
|
12235
|
+
*,
|
|
12236
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12237
|
+
wal_workspace_name: typing.Optional[builtins.str] = None,
|
|
12238
|
+
) -> None:
|
|
12239
|
+
"""Type checking stubs"""
|
|
12240
|
+
pass
|