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
|
@@ -1,540 +0,0 @@
|
|
|
1
|
-
'''
|
|
2
|
-
# AWS::SSMGuiConnect Construct Library
|
|
3
|
-
|
|
4
|
-
<!--BEGIN STABILITY BANNER-->---
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-

|
|
8
|
-
|
|
9
|
-
> All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
<!--END STABILITY BANNER-->
|
|
13
|
-
|
|
14
|
-
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
15
|
-
|
|
16
|
-
```python
|
|
17
|
-
import aws_cdk.aws_ssmguiconnect as ssmguiconnect
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
21
|
-
|
|
22
|
-
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
23
|
-
|
|
24
|
-
* Search [Construct Hub for SSMGuiConnect construct libraries](https://constructs.dev/search?q=ssmguiconnect)
|
|
25
|
-
* Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::SSMGuiConnect resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_SSMGuiConnect.html) directly.
|
|
26
|
-
|
|
27
|
-
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
28
|
-
|
|
29
|
-
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
30
|
-
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
31
|
-
|
|
32
|
-
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::SSMGuiConnect](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_SSMGuiConnect.html).
|
|
33
|
-
|
|
34
|
-
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
35
|
-
|
|
36
|
-
<!--END CFNONLY DISCLAIMER-->
|
|
37
|
-
'''
|
|
38
|
-
import abc
|
|
39
|
-
import builtins
|
|
40
|
-
import datetime
|
|
41
|
-
import enum
|
|
42
|
-
import typing
|
|
43
|
-
|
|
44
|
-
import jsii
|
|
45
|
-
import publication
|
|
46
|
-
import typing_extensions
|
|
47
|
-
|
|
48
|
-
from typeguard import check_type
|
|
49
|
-
|
|
50
|
-
from .._jsii import *
|
|
51
|
-
|
|
52
|
-
import constructs as _constructs_77d1e7e8
|
|
53
|
-
from .. import (
|
|
54
|
-
CfnResource as _CfnResource_9df397a6,
|
|
55
|
-
IInspectable as _IInspectable_c2943556,
|
|
56
|
-
IResolvable as _IResolvable_da3f097b,
|
|
57
|
-
TreeInspector as _TreeInspector_488e0dd5,
|
|
58
|
-
)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
62
|
-
class CfnPreferences(
|
|
63
|
-
_CfnResource_9df397a6,
|
|
64
|
-
metaclass=jsii.JSIIMeta,
|
|
65
|
-
jsii_type="aws-cdk-lib.aws_ssmguiconnect.CfnPreferences",
|
|
66
|
-
):
|
|
67
|
-
'''Definition of AWS::SSMGuiConnect::Preferences Resource Type.
|
|
68
|
-
|
|
69
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html
|
|
70
|
-
:cloudformationResource: AWS::SSMGuiConnect::Preferences
|
|
71
|
-
:exampleMetadata: fixture=_generated
|
|
72
|
-
|
|
73
|
-
Example::
|
|
74
|
-
|
|
75
|
-
# The code below shows an example of how to instantiate this type.
|
|
76
|
-
# The values are placeholders you should change.
|
|
77
|
-
from aws_cdk import aws_ssmguiconnect as ssmguiconnect
|
|
78
|
-
|
|
79
|
-
cfn_preferences = ssmguiconnect.CfnPreferences(self, "MyCfnPreferences",
|
|
80
|
-
idle_connection=[ssmguiconnect.CfnPreferences.IdleConnectionPreferencesProperty(
|
|
81
|
-
alert=ssmguiconnect.CfnPreferences.IdleConnectionAlertProperty(
|
|
82
|
-
value=123,
|
|
83
|
-
|
|
84
|
-
# the properties below are optional
|
|
85
|
-
type="type"
|
|
86
|
-
),
|
|
87
|
-
timeout=ssmguiconnect.CfnPreferences.IdleConnectionTimeoutProperty(
|
|
88
|
-
value=123,
|
|
89
|
-
|
|
90
|
-
# the properties below are optional
|
|
91
|
-
type="type"
|
|
92
|
-
)
|
|
93
|
-
)]
|
|
94
|
-
)
|
|
95
|
-
'''
|
|
96
|
-
|
|
97
|
-
def __init__(
|
|
98
|
-
self,
|
|
99
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
100
|
-
id: builtins.str,
|
|
101
|
-
*,
|
|
102
|
-
idle_connection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPreferences.IdleConnectionPreferencesProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
103
|
-
) -> None:
|
|
104
|
-
'''
|
|
105
|
-
:param scope: Scope in which this resource is defined.
|
|
106
|
-
:param id: Construct identifier for this resource (unique in its scope).
|
|
107
|
-
:param idle_connection: A map for Idle Connection Preferences.
|
|
108
|
-
'''
|
|
109
|
-
if __debug__:
|
|
110
|
-
type_hints = typing.get_type_hints(_typecheckingstub__045e31f70bcabcaa4437ed6c7e11fb8462233ba15c60675b143088abfe090752)
|
|
111
|
-
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
112
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
113
|
-
props = CfnPreferencesProps(idle_connection=idle_connection)
|
|
114
|
-
|
|
115
|
-
jsii.create(self.__class__, self, [scope, id, props])
|
|
116
|
-
|
|
117
|
-
@jsii.member(jsii_name="inspect")
|
|
118
|
-
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
119
|
-
'''Examines the CloudFormation resource and discloses attributes.
|
|
120
|
-
|
|
121
|
-
:param inspector: tree inspector to collect and process attributes.
|
|
122
|
-
'''
|
|
123
|
-
if __debug__:
|
|
124
|
-
type_hints = typing.get_type_hints(_typecheckingstub__59c7a3e2f3cdd2e9d3e4372020a482f624a989ea6d129be44dbf7f070aacda70)
|
|
125
|
-
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
126
|
-
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
127
|
-
|
|
128
|
-
@jsii.member(jsii_name="renderProperties")
|
|
129
|
-
def _render_properties(
|
|
130
|
-
self,
|
|
131
|
-
props: typing.Mapping[builtins.str, typing.Any],
|
|
132
|
-
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
133
|
-
'''
|
|
134
|
-
:param props: -
|
|
135
|
-
'''
|
|
136
|
-
if __debug__:
|
|
137
|
-
type_hints = typing.get_type_hints(_typecheckingstub__3749ba458af11bbb5fb93542c69a8b02362071d74426f5a7f030e9ea0836efac)
|
|
138
|
-
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
139
|
-
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
140
|
-
|
|
141
|
-
@jsii.python.classproperty
|
|
142
|
-
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
143
|
-
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
144
|
-
'''The CloudFormation resource type name for this resource class.'''
|
|
145
|
-
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
146
|
-
|
|
147
|
-
@builtins.property
|
|
148
|
-
@jsii.member(jsii_name="attrAccountId")
|
|
149
|
-
def attr_account_id(self) -> builtins.str:
|
|
150
|
-
'''The AWS Account Id that the preference is associated with, used as the unique identifier for this resource.
|
|
151
|
-
|
|
152
|
-
:cloudformationAttribute: AccountId
|
|
153
|
-
'''
|
|
154
|
-
return typing.cast(builtins.str, jsii.get(self, "attrAccountId"))
|
|
155
|
-
|
|
156
|
-
@builtins.property
|
|
157
|
-
@jsii.member(jsii_name="cfnProperties")
|
|
158
|
-
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
159
|
-
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
160
|
-
|
|
161
|
-
@builtins.property
|
|
162
|
-
@jsii.member(jsii_name="idleConnection")
|
|
163
|
-
def idle_connection(
|
|
164
|
-
self,
|
|
165
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPreferences.IdleConnectionPreferencesProperty"]]]]:
|
|
166
|
-
'''A map for Idle Connection Preferences.'''
|
|
167
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPreferences.IdleConnectionPreferencesProperty"]]]], jsii.get(self, "idleConnection"))
|
|
168
|
-
|
|
169
|
-
@idle_connection.setter
|
|
170
|
-
def idle_connection(
|
|
171
|
-
self,
|
|
172
|
-
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPreferences.IdleConnectionPreferencesProperty"]]]],
|
|
173
|
-
) -> None:
|
|
174
|
-
if __debug__:
|
|
175
|
-
type_hints = typing.get_type_hints(_typecheckingstub__ab719a036cfee03bd05bd1268ec5770183d8de99f212a67f9c1350bdfb6c57f7)
|
|
176
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
177
|
-
jsii.set(self, "idleConnection", value)
|
|
178
|
-
|
|
179
|
-
@jsii.data_type(
|
|
180
|
-
jsii_type="aws-cdk-lib.aws_ssmguiconnect.CfnPreferences.IdleConnectionAlertProperty",
|
|
181
|
-
jsii_struct_bases=[],
|
|
182
|
-
name_mapping={"value": "value", "type": "type"},
|
|
183
|
-
)
|
|
184
|
-
class IdleConnectionAlertProperty:
|
|
185
|
-
def __init__(
|
|
186
|
-
self,
|
|
187
|
-
*,
|
|
188
|
-
value: jsii.Number,
|
|
189
|
-
type: typing.Optional[builtins.str] = None,
|
|
190
|
-
) -> None:
|
|
191
|
-
'''
|
|
192
|
-
:param value: Default: - 1
|
|
193
|
-
:param type:
|
|
194
|
-
|
|
195
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectionalert.html
|
|
196
|
-
:exampleMetadata: fixture=_generated
|
|
197
|
-
|
|
198
|
-
Example::
|
|
199
|
-
|
|
200
|
-
# The code below shows an example of how to instantiate this type.
|
|
201
|
-
# The values are placeholders you should change.
|
|
202
|
-
from aws_cdk import aws_ssmguiconnect as ssmguiconnect
|
|
203
|
-
|
|
204
|
-
idle_connection_alert_property = ssmguiconnect.CfnPreferences.IdleConnectionAlertProperty(
|
|
205
|
-
value=123,
|
|
206
|
-
|
|
207
|
-
# the properties below are optional
|
|
208
|
-
type="type"
|
|
209
|
-
)
|
|
210
|
-
'''
|
|
211
|
-
if __debug__:
|
|
212
|
-
type_hints = typing.get_type_hints(_typecheckingstub__bbe4925665d6f7ea3d8bc552c5d56c3cb572c9238e6022235242e81ee5dd87a7)
|
|
213
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
214
|
-
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
215
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
216
|
-
"value": value,
|
|
217
|
-
}
|
|
218
|
-
if type is not None:
|
|
219
|
-
self._values["type"] = type
|
|
220
|
-
|
|
221
|
-
@builtins.property
|
|
222
|
-
def value(self) -> jsii.Number:
|
|
223
|
-
'''
|
|
224
|
-
:default: - 1
|
|
225
|
-
|
|
226
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectionalert.html#cfn-ssmguiconnect-preferences-idleconnectionalert-value
|
|
227
|
-
'''
|
|
228
|
-
result = self._values.get("value")
|
|
229
|
-
assert result is not None, "Required property 'value' is missing"
|
|
230
|
-
return typing.cast(jsii.Number, result)
|
|
231
|
-
|
|
232
|
-
@builtins.property
|
|
233
|
-
def type(self) -> typing.Optional[builtins.str]:
|
|
234
|
-
'''
|
|
235
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectionalert.html#cfn-ssmguiconnect-preferences-idleconnectionalert-type
|
|
236
|
-
'''
|
|
237
|
-
result = self._values.get("type")
|
|
238
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
239
|
-
|
|
240
|
-
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
241
|
-
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
242
|
-
|
|
243
|
-
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
244
|
-
return not (rhs == self)
|
|
245
|
-
|
|
246
|
-
def __repr__(self) -> str:
|
|
247
|
-
return "IdleConnectionAlertProperty(%s)" % ", ".join(
|
|
248
|
-
k + "=" + repr(v) for k, v in self._values.items()
|
|
249
|
-
)
|
|
250
|
-
|
|
251
|
-
@jsii.data_type(
|
|
252
|
-
jsii_type="aws-cdk-lib.aws_ssmguiconnect.CfnPreferences.IdleConnectionPreferencesProperty",
|
|
253
|
-
jsii_struct_bases=[],
|
|
254
|
-
name_mapping={"alert": "alert", "timeout": "timeout"},
|
|
255
|
-
)
|
|
256
|
-
class IdleConnectionPreferencesProperty:
|
|
257
|
-
def __init__(
|
|
258
|
-
self,
|
|
259
|
-
*,
|
|
260
|
-
alert: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPreferences.IdleConnectionAlertProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
261
|
-
timeout: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPreferences.IdleConnectionTimeoutProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
262
|
-
) -> None:
|
|
263
|
-
'''Idle Connection Preferences.
|
|
264
|
-
|
|
265
|
-
:param alert:
|
|
266
|
-
:param timeout:
|
|
267
|
-
|
|
268
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectionpreferences.html
|
|
269
|
-
:exampleMetadata: fixture=_generated
|
|
270
|
-
|
|
271
|
-
Example::
|
|
272
|
-
|
|
273
|
-
# The code below shows an example of how to instantiate this type.
|
|
274
|
-
# The values are placeholders you should change.
|
|
275
|
-
from aws_cdk import aws_ssmguiconnect as ssmguiconnect
|
|
276
|
-
|
|
277
|
-
idle_connection_preferences_property = ssmguiconnect.CfnPreferences.IdleConnectionPreferencesProperty(
|
|
278
|
-
alert=ssmguiconnect.CfnPreferences.IdleConnectionAlertProperty(
|
|
279
|
-
value=123,
|
|
280
|
-
|
|
281
|
-
# the properties below are optional
|
|
282
|
-
type="type"
|
|
283
|
-
),
|
|
284
|
-
timeout=ssmguiconnect.CfnPreferences.IdleConnectionTimeoutProperty(
|
|
285
|
-
value=123,
|
|
286
|
-
|
|
287
|
-
# the properties below are optional
|
|
288
|
-
type="type"
|
|
289
|
-
)
|
|
290
|
-
)
|
|
291
|
-
'''
|
|
292
|
-
if __debug__:
|
|
293
|
-
type_hints = typing.get_type_hints(_typecheckingstub__41c010404bc38fc03000ecbd3228c89dc9f1e752b2f500a711fd5b8c9ed77a1a)
|
|
294
|
-
check_type(argname="argument alert", value=alert, expected_type=type_hints["alert"])
|
|
295
|
-
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
296
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
297
|
-
if alert is not None:
|
|
298
|
-
self._values["alert"] = alert
|
|
299
|
-
if timeout is not None:
|
|
300
|
-
self._values["timeout"] = timeout
|
|
301
|
-
|
|
302
|
-
@builtins.property
|
|
303
|
-
def alert(
|
|
304
|
-
self,
|
|
305
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPreferences.IdleConnectionAlertProperty"]]:
|
|
306
|
-
'''
|
|
307
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectionpreferences.html#cfn-ssmguiconnect-preferences-idleconnectionpreferences-alert
|
|
308
|
-
'''
|
|
309
|
-
result = self._values.get("alert")
|
|
310
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPreferences.IdleConnectionAlertProperty"]], result)
|
|
311
|
-
|
|
312
|
-
@builtins.property
|
|
313
|
-
def timeout(
|
|
314
|
-
self,
|
|
315
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPreferences.IdleConnectionTimeoutProperty"]]:
|
|
316
|
-
'''
|
|
317
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectionpreferences.html#cfn-ssmguiconnect-preferences-idleconnectionpreferences-timeout
|
|
318
|
-
'''
|
|
319
|
-
result = self._values.get("timeout")
|
|
320
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPreferences.IdleConnectionTimeoutProperty"]], result)
|
|
321
|
-
|
|
322
|
-
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
323
|
-
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
324
|
-
|
|
325
|
-
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
326
|
-
return not (rhs == self)
|
|
327
|
-
|
|
328
|
-
def __repr__(self) -> str:
|
|
329
|
-
return "IdleConnectionPreferencesProperty(%s)" % ", ".join(
|
|
330
|
-
k + "=" + repr(v) for k, v in self._values.items()
|
|
331
|
-
)
|
|
332
|
-
|
|
333
|
-
@jsii.data_type(
|
|
334
|
-
jsii_type="aws-cdk-lib.aws_ssmguiconnect.CfnPreferences.IdleConnectionTimeoutProperty",
|
|
335
|
-
jsii_struct_bases=[],
|
|
336
|
-
name_mapping={"value": "value", "type": "type"},
|
|
337
|
-
)
|
|
338
|
-
class IdleConnectionTimeoutProperty:
|
|
339
|
-
def __init__(
|
|
340
|
-
self,
|
|
341
|
-
*,
|
|
342
|
-
value: jsii.Number,
|
|
343
|
-
type: typing.Optional[builtins.str] = None,
|
|
344
|
-
) -> None:
|
|
345
|
-
'''
|
|
346
|
-
:param value: Default: - 10
|
|
347
|
-
:param type:
|
|
348
|
-
|
|
349
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectiontimeout.html
|
|
350
|
-
:exampleMetadata: fixture=_generated
|
|
351
|
-
|
|
352
|
-
Example::
|
|
353
|
-
|
|
354
|
-
# The code below shows an example of how to instantiate this type.
|
|
355
|
-
# The values are placeholders you should change.
|
|
356
|
-
from aws_cdk import aws_ssmguiconnect as ssmguiconnect
|
|
357
|
-
|
|
358
|
-
idle_connection_timeout_property = ssmguiconnect.CfnPreferences.IdleConnectionTimeoutProperty(
|
|
359
|
-
value=123,
|
|
360
|
-
|
|
361
|
-
# the properties below are optional
|
|
362
|
-
type="type"
|
|
363
|
-
)
|
|
364
|
-
'''
|
|
365
|
-
if __debug__:
|
|
366
|
-
type_hints = typing.get_type_hints(_typecheckingstub__e3c76c83a3db9620d5734254439f4d906cfcdeecbf44afb4b7473d610bef05ca)
|
|
367
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
368
|
-
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
369
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
370
|
-
"value": value,
|
|
371
|
-
}
|
|
372
|
-
if type is not None:
|
|
373
|
-
self._values["type"] = type
|
|
374
|
-
|
|
375
|
-
@builtins.property
|
|
376
|
-
def value(self) -> jsii.Number:
|
|
377
|
-
'''
|
|
378
|
-
:default: - 10
|
|
379
|
-
|
|
380
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectiontimeout.html#cfn-ssmguiconnect-preferences-idleconnectiontimeout-value
|
|
381
|
-
'''
|
|
382
|
-
result = self._values.get("value")
|
|
383
|
-
assert result is not None, "Required property 'value' is missing"
|
|
384
|
-
return typing.cast(jsii.Number, result)
|
|
385
|
-
|
|
386
|
-
@builtins.property
|
|
387
|
-
def type(self) -> typing.Optional[builtins.str]:
|
|
388
|
-
'''
|
|
389
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectiontimeout.html#cfn-ssmguiconnect-preferences-idleconnectiontimeout-type
|
|
390
|
-
'''
|
|
391
|
-
result = self._values.get("type")
|
|
392
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
393
|
-
|
|
394
|
-
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
395
|
-
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
396
|
-
|
|
397
|
-
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
398
|
-
return not (rhs == self)
|
|
399
|
-
|
|
400
|
-
def __repr__(self) -> str:
|
|
401
|
-
return "IdleConnectionTimeoutProperty(%s)" % ", ".join(
|
|
402
|
-
k + "=" + repr(v) for k, v in self._values.items()
|
|
403
|
-
)
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
@jsii.data_type(
|
|
407
|
-
jsii_type="aws-cdk-lib.aws_ssmguiconnect.CfnPreferencesProps",
|
|
408
|
-
jsii_struct_bases=[],
|
|
409
|
-
name_mapping={"idle_connection": "idleConnection"},
|
|
410
|
-
)
|
|
411
|
-
class CfnPreferencesProps:
|
|
412
|
-
def __init__(
|
|
413
|
-
self,
|
|
414
|
-
*,
|
|
415
|
-
idle_connection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPreferences.IdleConnectionPreferencesProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
416
|
-
) -> None:
|
|
417
|
-
'''Properties for defining a ``CfnPreferences``.
|
|
418
|
-
|
|
419
|
-
:param idle_connection: A map for Idle Connection Preferences.
|
|
420
|
-
|
|
421
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html
|
|
422
|
-
:exampleMetadata: fixture=_generated
|
|
423
|
-
|
|
424
|
-
Example::
|
|
425
|
-
|
|
426
|
-
# The code below shows an example of how to instantiate this type.
|
|
427
|
-
# The values are placeholders you should change.
|
|
428
|
-
from aws_cdk import aws_ssmguiconnect as ssmguiconnect
|
|
429
|
-
|
|
430
|
-
cfn_preferences_props = ssmguiconnect.CfnPreferencesProps(
|
|
431
|
-
idle_connection=[ssmguiconnect.CfnPreferences.IdleConnectionPreferencesProperty(
|
|
432
|
-
alert=ssmguiconnect.CfnPreferences.IdleConnectionAlertProperty(
|
|
433
|
-
value=123,
|
|
434
|
-
|
|
435
|
-
# the properties below are optional
|
|
436
|
-
type="type"
|
|
437
|
-
),
|
|
438
|
-
timeout=ssmguiconnect.CfnPreferences.IdleConnectionTimeoutProperty(
|
|
439
|
-
value=123,
|
|
440
|
-
|
|
441
|
-
# the properties below are optional
|
|
442
|
-
type="type"
|
|
443
|
-
)
|
|
444
|
-
)]
|
|
445
|
-
)
|
|
446
|
-
'''
|
|
447
|
-
if __debug__:
|
|
448
|
-
type_hints = typing.get_type_hints(_typecheckingstub__98cae01e7635c618ff7b373fa87c04c806f9ee04274631cc3ad753469d5b8661)
|
|
449
|
-
check_type(argname="argument idle_connection", value=idle_connection, expected_type=type_hints["idle_connection"])
|
|
450
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
451
|
-
if idle_connection is not None:
|
|
452
|
-
self._values["idle_connection"] = idle_connection
|
|
453
|
-
|
|
454
|
-
@builtins.property
|
|
455
|
-
def idle_connection(
|
|
456
|
-
self,
|
|
457
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnPreferences.IdleConnectionPreferencesProperty]]]]:
|
|
458
|
-
'''A map for Idle Connection Preferences.
|
|
459
|
-
|
|
460
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html#cfn-ssmguiconnect-preferences-idleconnection
|
|
461
|
-
'''
|
|
462
|
-
result = self._values.get("idle_connection")
|
|
463
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnPreferences.IdleConnectionPreferencesProperty]]]], result)
|
|
464
|
-
|
|
465
|
-
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
466
|
-
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
467
|
-
|
|
468
|
-
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
469
|
-
return not (rhs == self)
|
|
470
|
-
|
|
471
|
-
def __repr__(self) -> str:
|
|
472
|
-
return "CfnPreferencesProps(%s)" % ", ".join(
|
|
473
|
-
k + "=" + repr(v) for k, v in self._values.items()
|
|
474
|
-
)
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
__all__ = [
|
|
478
|
-
"CfnPreferences",
|
|
479
|
-
"CfnPreferencesProps",
|
|
480
|
-
]
|
|
481
|
-
|
|
482
|
-
publication.publish()
|
|
483
|
-
|
|
484
|
-
def _typecheckingstub__045e31f70bcabcaa4437ed6c7e11fb8462233ba15c60675b143088abfe090752(
|
|
485
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
486
|
-
id: builtins.str,
|
|
487
|
-
*,
|
|
488
|
-
idle_connection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPreferences.IdleConnectionPreferencesProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
489
|
-
) -> None:
|
|
490
|
-
"""Type checking stubs"""
|
|
491
|
-
pass
|
|
492
|
-
|
|
493
|
-
def _typecheckingstub__59c7a3e2f3cdd2e9d3e4372020a482f624a989ea6d129be44dbf7f070aacda70(
|
|
494
|
-
inspector: _TreeInspector_488e0dd5,
|
|
495
|
-
) -> None:
|
|
496
|
-
"""Type checking stubs"""
|
|
497
|
-
pass
|
|
498
|
-
|
|
499
|
-
def _typecheckingstub__3749ba458af11bbb5fb93542c69a8b02362071d74426f5a7f030e9ea0836efac(
|
|
500
|
-
props: typing.Mapping[builtins.str, typing.Any],
|
|
501
|
-
) -> None:
|
|
502
|
-
"""Type checking stubs"""
|
|
503
|
-
pass
|
|
504
|
-
|
|
505
|
-
def _typecheckingstub__ab719a036cfee03bd05bd1268ec5770183d8de99f212a67f9c1350bdfb6c57f7(
|
|
506
|
-
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnPreferences.IdleConnectionPreferencesProperty]]]],
|
|
507
|
-
) -> None:
|
|
508
|
-
"""Type checking stubs"""
|
|
509
|
-
pass
|
|
510
|
-
|
|
511
|
-
def _typecheckingstub__bbe4925665d6f7ea3d8bc552c5d56c3cb572c9238e6022235242e81ee5dd87a7(
|
|
512
|
-
*,
|
|
513
|
-
value: jsii.Number,
|
|
514
|
-
type: typing.Optional[builtins.str] = None,
|
|
515
|
-
) -> None:
|
|
516
|
-
"""Type checking stubs"""
|
|
517
|
-
pass
|
|
518
|
-
|
|
519
|
-
def _typecheckingstub__41c010404bc38fc03000ecbd3228c89dc9f1e752b2f500a711fd5b8c9ed77a1a(
|
|
520
|
-
*,
|
|
521
|
-
alert: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPreferences.IdleConnectionAlertProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
522
|
-
timeout: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPreferences.IdleConnectionTimeoutProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
523
|
-
) -> None:
|
|
524
|
-
"""Type checking stubs"""
|
|
525
|
-
pass
|
|
526
|
-
|
|
527
|
-
def _typecheckingstub__e3c76c83a3db9620d5734254439f4d906cfcdeecbf44afb4b7473d610bef05ca(
|
|
528
|
-
*,
|
|
529
|
-
value: jsii.Number,
|
|
530
|
-
type: typing.Optional[builtins.str] = None,
|
|
531
|
-
) -> None:
|
|
532
|
-
"""Type checking stubs"""
|
|
533
|
-
pass
|
|
534
|
-
|
|
535
|
-
def _typecheckingstub__98cae01e7635c618ff7b373fa87c04c806f9ee04274631cc3ad753469d5b8661(
|
|
536
|
-
*,
|
|
537
|
-
idle_connection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPreferences.IdleConnectionPreferencesProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
538
|
-
) -> None:
|
|
539
|
-
"""Type checking stubs"""
|
|
540
|
-
pass
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|