cdk-nag 2.35.21__py3-none-any.whl → 2.35.23__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.
- cdk_nag/__init__.py +36 -2
- cdk_nag/_jsii/__init__.py +1 -1
- cdk_nag/_jsii/cdk-nag@2.35.23.jsii.tgz +0 -0
- {cdk_nag-2.35.21.dist-info → cdk_nag-2.35.23.dist-info}/METADATA +1 -1
- cdk_nag-2.35.23.dist-info/RECORD +10 -0
- cdk_nag/_jsii/cdk-nag@2.35.21.jsii.tgz +0 -0
- cdk_nag-2.35.21.dist-info/RECORD +0 -10
- {cdk_nag-2.35.21.dist-info → cdk_nag-2.35.23.dist-info}/LICENSE +0 -0
- {cdk_nag-2.35.21.dist-info → cdk_nag-2.35.23.dist-info}/NOTICE +0 -0
- {cdk_nag-2.35.21.dist-info → cdk_nag-2.35.23.dist-info}/WHEEL +0 -0
- {cdk_nag-2.35.21.dist-info → cdk_nag-2.35.23.dist-info}/top_level.txt +0 -0
cdk_nag/__init__.py
CHANGED
@@ -3106,12 +3106,19 @@ class NagRules(metaclass=jsii.JSIIMeta, jsii_type="cdk-nag.NagRules"):
|
|
3106
3106
|
node: _aws_cdk_ceddda9d.CfnResource,
|
3107
3107
|
parameter: typing.Any,
|
3108
3108
|
) -> typing.Any:
|
3109
|
-
'''
|
3110
|
-
|
3109
|
+
'''
|
3111
3110
|
:param node: The CfnResource to check.
|
3112
3111
|
:param parameter: The value to attempt to resolve.
|
3113
3112
|
|
3114
3113
|
:return: Return the Logical resource Id if resolves to a intrinsic function, otherwise the resolved provided value.
|
3114
|
+
|
3115
|
+
:deprecated:
|
3116
|
+
|
3117
|
+
Use resolveResourceFromIntrinsic instead
|
3118
|
+
|
3119
|
+
Use in cases where a token resolves to an intrinsic function and the referenced resource must be known to pass a rule.
|
3120
|
+
|
3121
|
+
:stability: deprecated
|
3115
3122
|
'''
|
3116
3123
|
if __debug__:
|
3117
3124
|
type_hints = typing.get_type_hints(_typecheckingstub__b2af31e0e8c775eabad30b7da777a2689dbf22e8f31976bf4840dbd2cbbbf939)
|
@@ -3119,6 +3126,26 @@ class NagRules(metaclass=jsii.JSIIMeta, jsii_type="cdk-nag.NagRules"):
|
|
3119
3126
|
check_type(argname="argument parameter", value=parameter, expected_type=type_hints["parameter"])
|
3120
3127
|
return typing.cast(typing.Any, jsii.sinvoke(cls, "resolveResourceFromInstrinsic", [node, parameter]))
|
3121
3128
|
|
3129
|
+
@jsii.member(jsii_name="resolveResourceFromIntrinsic")
|
3130
|
+
@builtins.classmethod
|
3131
|
+
def resolve_resource_from_intrinsic(
|
3132
|
+
cls,
|
3133
|
+
node: _aws_cdk_ceddda9d.CfnResource,
|
3134
|
+
parameter: typing.Any,
|
3135
|
+
) -> typing.Any:
|
3136
|
+
'''Use in cases where a token resolves to an intrinsic function and the referenced resource must be known to pass a rule.
|
3137
|
+
|
3138
|
+
:param node: The CfnResource to check.
|
3139
|
+
:param parameter: The value to attempt to resolve.
|
3140
|
+
|
3141
|
+
:return: Return the Logical resource Id if resolves to a intrinsic function, otherwise the resolved provided value.
|
3142
|
+
'''
|
3143
|
+
if __debug__:
|
3144
|
+
type_hints = typing.get_type_hints(_typecheckingstub__31cd67cca34b4963ea5b427552d0ed8190cf2265f4659708bb7d899d8e5fc6cb)
|
3145
|
+
check_type(argname="argument node", value=node, expected_type=type_hints["node"])
|
3146
|
+
check_type(argname="argument parameter", value=parameter, expected_type=type_hints["parameter"])
|
3147
|
+
return typing.cast(typing.Any, jsii.sinvoke(cls, "resolveResourceFromIntrinsic", [node, parameter]))
|
3148
|
+
|
3122
3149
|
|
3123
3150
|
class NagSuppressions(metaclass=jsii.JSIIMeta, jsii_type="cdk-nag.NagSuppressions"):
|
3124
3151
|
'''Helper class with methods to add cdk-nag suppressions to cdk resources.'''
|
@@ -4372,6 +4399,13 @@ def _typecheckingstub__b2af31e0e8c775eabad30b7da777a2689dbf22e8f31976bf4840dbd2c
|
|
4372
4399
|
"""Type checking stubs"""
|
4373
4400
|
pass
|
4374
4401
|
|
4402
|
+
def _typecheckingstub__31cd67cca34b4963ea5b427552d0ed8190cf2265f4659708bb7d899d8e5fc6cb(
|
4403
|
+
node: _aws_cdk_ceddda9d.CfnResource,
|
4404
|
+
parameter: typing.Any,
|
4405
|
+
) -> None:
|
4406
|
+
"""Type checking stubs"""
|
4407
|
+
pass
|
4408
|
+
|
4375
4409
|
def _typecheckingstub__a019ccc6d0325c092e9799383fe39f9bffd3785f51142f30e692e0947937f98e(
|
4376
4410
|
construct: typing.Union[_constructs_77d1e7e8.IConstruct, typing.Sequence[_constructs_77d1e7e8.IConstruct]],
|
4377
4411
|
suppressions: typing.Sequence[typing.Union[NagPackSuppression, typing.Dict[builtins.str, typing.Any]]],
|
cdk_nag/_jsii/__init__.py
CHANGED
Binary file
|
@@ -0,0 +1,10 @@
|
|
1
|
+
cdk_nag/__init__.py,sha256=o2wPmFKshPTJCnsUd3-TPhqyvFdZT1RtNriRcrswwFU,172640
|
2
|
+
cdk_nag/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
+
cdk_nag/_jsii/__init__.py,sha256=3XAiWJ3pMhsvJ7imxEh84kESzkxs_d-kD8rTuammcHU,1429
|
4
|
+
cdk_nag/_jsii/cdk-nag@2.35.23.jsii.tgz,sha256=j_s8IdeOxWavL2pSd1ydBp1F3BwW7bJnSYHx6pBwOmc,694553
|
5
|
+
cdk_nag-2.35.23.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
+
cdk_nag-2.35.23.dist-info/METADATA,sha256=b_VnZKtnu5BW3h8KB8bFfm0kWSmhTyL6vgndvAut3og,23257
|
7
|
+
cdk_nag-2.35.23.dist-info/NOTICE,sha256=iY5F0xzQe4KtUQk3HOYeKSkIN2Xty0Y_tmkXNX4mzdw,105
|
8
|
+
cdk_nag-2.35.23.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
9
|
+
cdk_nag-2.35.23.dist-info/top_level.txt,sha256=uA4ZNR24n8x6ieIX39y6e7sTFkC--8tF78mNKV88Ce0,8
|
10
|
+
cdk_nag-2.35.23.dist-info/RECORD,,
|
Binary file
|
cdk_nag-2.35.21.dist-info/RECORD
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
cdk_nag/__init__.py,sha256=PpS8ZAuEavTcM57KeANZVLldKqtWnLwvKNFTg1jdQSk,171242
|
2
|
-
cdk_nag/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
-
cdk_nag/_jsii/__init__.py,sha256=ZDC2TWTFPJwC016pv28GwV4mKzNfeX-PnA9YXcNLml4,1429
|
4
|
-
cdk_nag/_jsii/cdk-nag@2.35.21.jsii.tgz,sha256=HYIqYM4UkBP_gGz4PZDFmTcoyEVnf61OEMOQtdSRCbk,694026
|
5
|
-
cdk_nag-2.35.21.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
-
cdk_nag-2.35.21.dist-info/METADATA,sha256=BooR6XQmvUx1w0yebvHHZ4map8SeE7WCKuBezRC9Vrw,23257
|
7
|
-
cdk_nag-2.35.21.dist-info/NOTICE,sha256=iY5F0xzQe4KtUQk3HOYeKSkIN2Xty0Y_tmkXNX4mzdw,105
|
8
|
-
cdk_nag-2.35.21.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
9
|
-
cdk_nag-2.35.21.dist-info/top_level.txt,sha256=uA4ZNR24n8x6ieIX39y6e7sTFkC--8tF78mNKV88Ce0,8
|
10
|
-
cdk_nag-2.35.21.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|