aws-cdk-lib 2.158.0__py3-none-any.whl → 2.159.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 +36 -19
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.158.0.jsii.tgz → aws-cdk-lib@2.159.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +22 -8
- aws_cdk/aws_apigatewayv2/__init__.py +30 -0
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_applicationinsights/__init__.py +544 -4
- aws_cdk/aws_applicationsignals/__init__.py +170 -142
- aws_cdk/aws_athena/__init__.py +15 -15
- aws_cdk/aws_auditmanager/__init__.py +5 -5
- aws_cdk/aws_bedrock/__init__.py +7 -7
- aws_cdk/aws_codebuild/__init__.py +39 -18
- aws_cdk/aws_codeconnections/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +390 -203
- aws_cdk/aws_connect/__init__.py +1679 -152
- aws_cdk/aws_datazone/__init__.py +665 -40
- aws_cdk/aws_docdb/__init__.py +6 -1
- aws_cdk/aws_dynamodb/__init__.py +5 -5
- aws_cdk/aws_ec2/__init__.py +121 -36
- aws_cdk/aws_ecr/__init__.py +14 -6
- aws_cdk/aws_ecs/__init__.py +20 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +167 -20
- aws_cdk/aws_emr/__init__.py +8 -8
- aws_cdk/aws_events/__init__.py +19 -17
- aws_cdk/aws_events_targets/__init__.py +165 -85
- aws_cdk/aws_fms/__init__.py +59 -0
- aws_cdk/aws_fsx/__init__.py +3 -3
- aws_cdk/aws_gamelift/__init__.py +40 -52
- aws_cdk/aws_globalaccelerator/__init__.py +22 -29
- aws_cdk/aws_iam/__init__.py +22 -20
- aws_cdk/aws_iotfleetwise/__init__.py +419 -0
- aws_cdk/aws_iotsitewise/__init__.py +90 -1
- aws_cdk/aws_iotwireless/__init__.py +205 -0
- aws_cdk/aws_lambda/__init__.py +129 -16
- aws_cdk/aws_lex/__init__.py +15 -1
- aws_cdk/aws_logs/__init__.py +1 -1
- aws_cdk/aws_mediaconnect/__init__.py +111 -0
- aws_cdk/aws_medialive/__init__.py +7988 -3262
- aws_cdk/aws_msk/__init__.py +287 -479
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +69 -30
- aws_cdk/aws_pipes/__init__.py +49 -0
- aws_cdk/aws_qbusiness/__init__.py +11 -14
- aws_cdk/aws_quicksight/__init__.py +638 -99
- aws_cdk/aws_rds/__init__.py +38 -27
- aws_cdk/aws_s3/__init__.py +215 -33
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +872 -58
- aws_cdk/aws_secretsmanager/__init__.py +22 -8
- aws_cdk/aws_securityhub/__init__.py +261 -19
- aws_cdk/aws_securitylake/__init__.py +327 -7
- aws_cdk/aws_servicediscovery/__init__.py +5 -5
- aws_cdk/aws_sns/__init__.py +0 -8
- aws_cdk/aws_ssm/__init__.py +20 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +36 -0
- aws_cdk/cx_api/__init__.py +19 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/RECORD +62 -62
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_connect/__init__.py
CHANGED
|
@@ -70,16 +70,16 @@ from .. import (
|
|
|
70
70
|
)
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
74
|
-
class
|
|
73
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
74
|
+
class CfnAgentStatus(
|
|
75
75
|
_CfnResource_9df397a6,
|
|
76
76
|
metaclass=jsii.JSIIMeta,
|
|
77
|
-
jsii_type="aws-cdk-lib.aws_connect.
|
|
77
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnAgentStatus",
|
|
78
78
|
):
|
|
79
|
-
'''
|
|
79
|
+
'''Contains information about an agent status.
|
|
80
80
|
|
|
81
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-
|
|
82
|
-
:cloudformationResource: AWS::Connect::
|
|
81
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html
|
|
82
|
+
:cloudformationResource: AWS::Connect::AgentStatus
|
|
83
83
|
:exampleMetadata: fixture=_generated
|
|
84
84
|
|
|
85
85
|
Example::
|
|
@@ -88,9 +88,20 @@ class CfnApprovedOrigin(
|
|
|
88
88
|
# The values are placeholders you should change.
|
|
89
89
|
from aws_cdk import aws_connect as connect
|
|
90
90
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
cfn_agent_status = connect.CfnAgentStatus(self, "MyCfnAgentStatus",
|
|
92
|
+
instance_arn="instanceArn",
|
|
93
|
+
name="name",
|
|
94
|
+
state="state",
|
|
95
|
+
|
|
96
|
+
# the properties below are optional
|
|
97
|
+
description="description",
|
|
98
|
+
display_order=123,
|
|
99
|
+
reset_order_number=False,
|
|
100
|
+
tags=[CfnTag(
|
|
101
|
+
key="key",
|
|
102
|
+
value="value"
|
|
103
|
+
)],
|
|
104
|
+
type="type"
|
|
94
105
|
)
|
|
95
106
|
'''
|
|
96
107
|
|
|
@@ -99,20 +110,41 @@ class CfnApprovedOrigin(
|
|
|
99
110
|
scope: _constructs_77d1e7e8.Construct,
|
|
100
111
|
id: builtins.str,
|
|
101
112
|
*,
|
|
102
|
-
|
|
103
|
-
|
|
113
|
+
instance_arn: builtins.str,
|
|
114
|
+
name: builtins.str,
|
|
115
|
+
state: builtins.str,
|
|
116
|
+
description: typing.Optional[builtins.str] = None,
|
|
117
|
+
display_order: typing.Optional[jsii.Number] = None,
|
|
118
|
+
reset_order_number: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
119
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
120
|
+
type: typing.Optional[builtins.str] = None,
|
|
104
121
|
) -> None:
|
|
105
122
|
'''
|
|
106
123
|
:param scope: Scope in which this resource is defined.
|
|
107
124
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
108
|
-
:param
|
|
109
|
-
:param
|
|
125
|
+
:param instance_arn: The Amazon Resource Name (ARN) of the instance.
|
|
126
|
+
:param name: The name of the agent status.
|
|
127
|
+
:param state: The state of the agent status.
|
|
128
|
+
:param description: The description of the agent status.
|
|
129
|
+
:param display_order: The display order of the agent status.
|
|
130
|
+
:param reset_order_number: A number indicating the reset order of the agent status.
|
|
131
|
+
:param tags: The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
|
|
132
|
+
:param type: The type of agent status.
|
|
110
133
|
'''
|
|
111
134
|
if __debug__:
|
|
112
|
-
type_hints = typing.get_type_hints(
|
|
135
|
+
type_hints = typing.get_type_hints(_typecheckingstub__188703c629c18d36bedd60b2ef308608c79b0a7639ceafb679e00ecdf1434bcb)
|
|
113
136
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
114
137
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
115
|
-
props =
|
|
138
|
+
props = CfnAgentStatusProps(
|
|
139
|
+
instance_arn=instance_arn,
|
|
140
|
+
name=name,
|
|
141
|
+
state=state,
|
|
142
|
+
description=description,
|
|
143
|
+
display_order=display_order,
|
|
144
|
+
reset_order_number=reset_order_number,
|
|
145
|
+
tags=tags,
|
|
146
|
+
type=type,
|
|
147
|
+
)
|
|
116
148
|
|
|
117
149
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
118
150
|
|
|
@@ -123,7 +155,7 @@ class CfnApprovedOrigin(
|
|
|
123
155
|
:param inspector: tree inspector to collect and process attributes.
|
|
124
156
|
'''
|
|
125
157
|
if __debug__:
|
|
126
|
-
type_hints = typing.get_type_hints(
|
|
158
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3d83454aed4d3419db0f2c17c70b50ce23d4acfe85654c14b3955ccec567507d)
|
|
127
159
|
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
128
160
|
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
129
161
|
|
|
@@ -136,7 +168,7 @@ class CfnApprovedOrigin(
|
|
|
136
168
|
:param props: -
|
|
137
169
|
'''
|
|
138
170
|
if __debug__:
|
|
139
|
-
type_hints = typing.get_type_hints(
|
|
171
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b1c5df080fdb044579c972766c7367eb342670174bc6082d6589575910dd5a33)
|
|
140
172
|
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
141
173
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
142
174
|
|
|
@@ -146,51 +178,193 @@ class CfnApprovedOrigin(
|
|
|
146
178
|
'''The CloudFormation resource type name for this resource class.'''
|
|
147
179
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
148
180
|
|
|
181
|
+
@builtins.property
|
|
182
|
+
@jsii.member(jsii_name="attrAgentStatusArn")
|
|
183
|
+
def attr_agent_status_arn(self) -> builtins.str:
|
|
184
|
+
'''The Amazon Resource Name (ARN) of the agent status.
|
|
185
|
+
|
|
186
|
+
:cloudformationAttribute: AgentStatusArn
|
|
187
|
+
'''
|
|
188
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAgentStatusArn"))
|
|
189
|
+
|
|
190
|
+
@builtins.property
|
|
191
|
+
@jsii.member(jsii_name="attrLastModifiedRegion")
|
|
192
|
+
def attr_last_modified_region(self) -> builtins.str:
|
|
193
|
+
'''The AWS Region where this resource was last modified.
|
|
194
|
+
|
|
195
|
+
:cloudformationAttribute: LastModifiedRegion
|
|
196
|
+
'''
|
|
197
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLastModifiedRegion"))
|
|
198
|
+
|
|
199
|
+
@builtins.property
|
|
200
|
+
@jsii.member(jsii_name="attrLastModifiedTime")
|
|
201
|
+
def attr_last_modified_time(self) -> _IResolvable_da3f097b:
|
|
202
|
+
'''The timestamp when this resource was last modified.
|
|
203
|
+
|
|
204
|
+
:cloudformationAttribute: LastModifiedTime
|
|
205
|
+
'''
|
|
206
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrLastModifiedTime"))
|
|
207
|
+
|
|
208
|
+
@builtins.property
|
|
209
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
210
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
211
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
212
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
213
|
+
|
|
149
214
|
@builtins.property
|
|
150
215
|
@jsii.member(jsii_name="cfnProperties")
|
|
151
216
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
152
217
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
153
218
|
|
|
154
219
|
@builtins.property
|
|
155
|
-
@jsii.member(jsii_name="
|
|
156
|
-
def
|
|
220
|
+
@jsii.member(jsii_name="instanceArn")
|
|
221
|
+
def instance_arn(self) -> builtins.str:
|
|
157
222
|
'''The Amazon Resource Name (ARN) of the instance.'''
|
|
158
|
-
return typing.cast(builtins.str, jsii.get(self, "
|
|
223
|
+
return typing.cast(builtins.str, jsii.get(self, "instanceArn"))
|
|
159
224
|
|
|
160
|
-
@
|
|
161
|
-
def
|
|
225
|
+
@instance_arn.setter
|
|
226
|
+
def instance_arn(self, value: builtins.str) -> None:
|
|
162
227
|
if __debug__:
|
|
163
|
-
type_hints = typing.get_type_hints(
|
|
228
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ed4d83a484ce207a953725dcb30f7724c73600b781c7372b0461fd7ad61d0ace)
|
|
164
229
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
165
|
-
jsii.set(self, "
|
|
230
|
+
jsii.set(self, "instanceArn", value) # pyright: ignore[reportArgumentType]
|
|
166
231
|
|
|
167
232
|
@builtins.property
|
|
168
|
-
@jsii.member(jsii_name="
|
|
169
|
-
def
|
|
170
|
-
'''
|
|
171
|
-
return typing.cast(builtins.str, jsii.get(self, "
|
|
233
|
+
@jsii.member(jsii_name="name")
|
|
234
|
+
def name(self) -> builtins.str:
|
|
235
|
+
'''The name of the agent status.'''
|
|
236
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
172
237
|
|
|
173
|
-
@
|
|
174
|
-
def
|
|
238
|
+
@name.setter
|
|
239
|
+
def name(self, value: builtins.str) -> None:
|
|
175
240
|
if __debug__:
|
|
176
|
-
type_hints = typing.get_type_hints(
|
|
241
|
+
type_hints = typing.get_type_hints(_typecheckingstub__061ec6e9e391f38b63492def9966c786b74f237e0b42482e6a94a558541dff9c)
|
|
177
242
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
178
|
-
jsii.set(self, "
|
|
243
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
244
|
+
|
|
245
|
+
@builtins.property
|
|
246
|
+
@jsii.member(jsii_name="state")
|
|
247
|
+
def state(self) -> builtins.str:
|
|
248
|
+
'''The state of the agent status.'''
|
|
249
|
+
return typing.cast(builtins.str, jsii.get(self, "state"))
|
|
250
|
+
|
|
251
|
+
@state.setter
|
|
252
|
+
def state(self, value: builtins.str) -> None:
|
|
253
|
+
if __debug__:
|
|
254
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1c11e7969fab74b6f001a9aea8ba880ba4e4fe1aea7421007717072a8c292b4b)
|
|
255
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
256
|
+
jsii.set(self, "state", value) # pyright: ignore[reportArgumentType]
|
|
257
|
+
|
|
258
|
+
@builtins.property
|
|
259
|
+
@jsii.member(jsii_name="description")
|
|
260
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
261
|
+
'''The description of the agent status.'''
|
|
262
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
263
|
+
|
|
264
|
+
@description.setter
|
|
265
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
266
|
+
if __debug__:
|
|
267
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9144ba2976476302e60ab5f2ac4a2f610fd8e073acae78e05684de97d10172f5)
|
|
268
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
269
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
270
|
+
|
|
271
|
+
@builtins.property
|
|
272
|
+
@jsii.member(jsii_name="displayOrder")
|
|
273
|
+
def display_order(self) -> typing.Optional[jsii.Number]:
|
|
274
|
+
'''The display order of the agent status.'''
|
|
275
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "displayOrder"))
|
|
276
|
+
|
|
277
|
+
@display_order.setter
|
|
278
|
+
def display_order(self, value: typing.Optional[jsii.Number]) -> None:
|
|
279
|
+
if __debug__:
|
|
280
|
+
type_hints = typing.get_type_hints(_typecheckingstub__638f21787e6ad0e1e5edbabc219bb6c1bef5220c08895c9bf42932addcfd0544)
|
|
281
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
282
|
+
jsii.set(self, "displayOrder", value) # pyright: ignore[reportArgumentType]
|
|
283
|
+
|
|
284
|
+
@builtins.property
|
|
285
|
+
@jsii.member(jsii_name="resetOrderNumber")
|
|
286
|
+
def reset_order_number(
|
|
287
|
+
self,
|
|
288
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
289
|
+
'''A number indicating the reset order of the agent status.'''
|
|
290
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "resetOrderNumber"))
|
|
291
|
+
|
|
292
|
+
@reset_order_number.setter
|
|
293
|
+
def reset_order_number(
|
|
294
|
+
self,
|
|
295
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
296
|
+
) -> None:
|
|
297
|
+
if __debug__:
|
|
298
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8eb07c6ec669286d2212cb0912d5a8f834b8640121216334d872426d4e11f350)
|
|
299
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
300
|
+
jsii.set(self, "resetOrderNumber", value) # pyright: ignore[reportArgumentType]
|
|
301
|
+
|
|
302
|
+
@builtins.property
|
|
303
|
+
@jsii.member(jsii_name="tags")
|
|
304
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
305
|
+
'''The tags used to organize, track, or control access for this resource.'''
|
|
306
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
307
|
+
|
|
308
|
+
@tags.setter
|
|
309
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
310
|
+
if __debug__:
|
|
311
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9ae59e45659b6cf9bd60c4c492979307ad6d24a8eb501dcc3b2ac9a116c44988)
|
|
312
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
313
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
314
|
+
|
|
315
|
+
@builtins.property
|
|
316
|
+
@jsii.member(jsii_name="type")
|
|
317
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
318
|
+
'''The type of agent status.'''
|
|
319
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "type"))
|
|
320
|
+
|
|
321
|
+
@type.setter
|
|
322
|
+
def type(self, value: typing.Optional[builtins.str]) -> None:
|
|
323
|
+
if __debug__:
|
|
324
|
+
type_hints = typing.get_type_hints(_typecheckingstub__64b83fcef3b8683e26746763b9a4121f9ed52687deb75b8c04eaf159e6ddf352)
|
|
325
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
326
|
+
jsii.set(self, "type", value) # pyright: ignore[reportArgumentType]
|
|
179
327
|
|
|
180
328
|
|
|
181
329
|
@jsii.data_type(
|
|
182
|
-
jsii_type="aws-cdk-lib.aws_connect.
|
|
330
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnAgentStatusProps",
|
|
183
331
|
jsii_struct_bases=[],
|
|
184
|
-
name_mapping={
|
|
332
|
+
name_mapping={
|
|
333
|
+
"instance_arn": "instanceArn",
|
|
334
|
+
"name": "name",
|
|
335
|
+
"state": "state",
|
|
336
|
+
"description": "description",
|
|
337
|
+
"display_order": "displayOrder",
|
|
338
|
+
"reset_order_number": "resetOrderNumber",
|
|
339
|
+
"tags": "tags",
|
|
340
|
+
"type": "type",
|
|
341
|
+
},
|
|
185
342
|
)
|
|
186
|
-
class
|
|
187
|
-
def __init__(
|
|
188
|
-
|
|
343
|
+
class CfnAgentStatusProps:
|
|
344
|
+
def __init__(
|
|
345
|
+
self,
|
|
346
|
+
*,
|
|
347
|
+
instance_arn: builtins.str,
|
|
348
|
+
name: builtins.str,
|
|
349
|
+
state: builtins.str,
|
|
350
|
+
description: typing.Optional[builtins.str] = None,
|
|
351
|
+
display_order: typing.Optional[jsii.Number] = None,
|
|
352
|
+
reset_order_number: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
353
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
354
|
+
type: typing.Optional[builtins.str] = None,
|
|
355
|
+
) -> None:
|
|
356
|
+
'''Properties for defining a ``CfnAgentStatus``.
|
|
189
357
|
|
|
190
|
-
:param
|
|
191
|
-
:param
|
|
358
|
+
:param instance_arn: The Amazon Resource Name (ARN) of the instance.
|
|
359
|
+
:param name: The name of the agent status.
|
|
360
|
+
:param state: The state of the agent status.
|
|
361
|
+
:param description: The description of the agent status.
|
|
362
|
+
:param display_order: The display order of the agent status.
|
|
363
|
+
:param reset_order_number: A number indicating the reset order of the agent status.
|
|
364
|
+
:param tags: The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
|
|
365
|
+
:param type: The type of agent status.
|
|
192
366
|
|
|
193
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-
|
|
367
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html
|
|
194
368
|
:exampleMetadata: fixture=_generated
|
|
195
369
|
|
|
196
370
|
Example::
|
|
@@ -199,62 +373,324 @@ class CfnApprovedOriginProps:
|
|
|
199
373
|
# The values are placeholders you should change.
|
|
200
374
|
from aws_cdk import aws_connect as connect
|
|
201
375
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
376
|
+
cfn_agent_status_props = connect.CfnAgentStatusProps(
|
|
377
|
+
instance_arn="instanceArn",
|
|
378
|
+
name="name",
|
|
379
|
+
state="state",
|
|
380
|
+
|
|
381
|
+
# the properties below are optional
|
|
382
|
+
description="description",
|
|
383
|
+
display_order=123,
|
|
384
|
+
reset_order_number=False,
|
|
385
|
+
tags=[CfnTag(
|
|
386
|
+
key="key",
|
|
387
|
+
value="value"
|
|
388
|
+
)],
|
|
389
|
+
type="type"
|
|
205
390
|
)
|
|
206
391
|
'''
|
|
207
392
|
if __debug__:
|
|
208
|
-
type_hints = typing.get_type_hints(
|
|
209
|
-
check_type(argname="argument
|
|
210
|
-
check_type(argname="argument
|
|
393
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7ea651682301a3c8be4ae90c231be7d774e8c3bcc6aecdc9ffdd77f14213429c)
|
|
394
|
+
check_type(argname="argument instance_arn", value=instance_arn, expected_type=type_hints["instance_arn"])
|
|
395
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
396
|
+
check_type(argname="argument state", value=state, expected_type=type_hints["state"])
|
|
397
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
398
|
+
check_type(argname="argument display_order", value=display_order, expected_type=type_hints["display_order"])
|
|
399
|
+
check_type(argname="argument reset_order_number", value=reset_order_number, expected_type=type_hints["reset_order_number"])
|
|
400
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
401
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
211
402
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
212
|
-
"
|
|
213
|
-
"
|
|
403
|
+
"instance_arn": instance_arn,
|
|
404
|
+
"name": name,
|
|
405
|
+
"state": state,
|
|
214
406
|
}
|
|
407
|
+
if description is not None:
|
|
408
|
+
self._values["description"] = description
|
|
409
|
+
if display_order is not None:
|
|
410
|
+
self._values["display_order"] = display_order
|
|
411
|
+
if reset_order_number is not None:
|
|
412
|
+
self._values["reset_order_number"] = reset_order_number
|
|
413
|
+
if tags is not None:
|
|
414
|
+
self._values["tags"] = tags
|
|
415
|
+
if type is not None:
|
|
416
|
+
self._values["type"] = type
|
|
215
417
|
|
|
216
418
|
@builtins.property
|
|
217
|
-
def
|
|
419
|
+
def instance_arn(self) -> builtins.str:
|
|
218
420
|
'''The Amazon Resource Name (ARN) of the instance.
|
|
219
421
|
|
|
220
|
-
|
|
422
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-instancearn
|
|
423
|
+
'''
|
|
424
|
+
result = self._values.get("instance_arn")
|
|
425
|
+
assert result is not None, "Required property 'instance_arn' is missing"
|
|
426
|
+
return typing.cast(builtins.str, result)
|
|
221
427
|
|
|
222
|
-
|
|
428
|
+
@builtins.property
|
|
429
|
+
def name(self) -> builtins.str:
|
|
430
|
+
'''The name of the agent status.
|
|
223
431
|
|
|
224
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-
|
|
432
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-name
|
|
225
433
|
'''
|
|
226
|
-
result = self._values.get("
|
|
227
|
-
assert result is not None, "Required property '
|
|
434
|
+
result = self._values.get("name")
|
|
435
|
+
assert result is not None, "Required property 'name' is missing"
|
|
228
436
|
return typing.cast(builtins.str, result)
|
|
229
437
|
|
|
230
438
|
@builtins.property
|
|
231
|
-
def
|
|
232
|
-
'''
|
|
233
|
-
|
|
234
|
-
*Maximum* : ``267``
|
|
439
|
+
def state(self) -> builtins.str:
|
|
440
|
+
'''The state of the agent status.
|
|
235
441
|
|
|
236
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-
|
|
442
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-state
|
|
237
443
|
'''
|
|
238
|
-
result = self._values.get("
|
|
239
|
-
assert result is not None, "Required property '
|
|
444
|
+
result = self._values.get("state")
|
|
445
|
+
assert result is not None, "Required property 'state' is missing"
|
|
240
446
|
return typing.cast(builtins.str, result)
|
|
241
447
|
|
|
242
|
-
|
|
243
|
-
|
|
448
|
+
@builtins.property
|
|
449
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
450
|
+
'''The description of the agent status.
|
|
244
451
|
|
|
245
|
-
|
|
246
|
-
|
|
452
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-description
|
|
453
|
+
'''
|
|
454
|
+
result = self._values.get("description")
|
|
455
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
247
456
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
)
|
|
457
|
+
@builtins.property
|
|
458
|
+
def display_order(self) -> typing.Optional[jsii.Number]:
|
|
459
|
+
'''The display order of the agent status.
|
|
252
460
|
|
|
461
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-displayorder
|
|
462
|
+
'''
|
|
463
|
+
result = self._values.get("display_order")
|
|
464
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
253
465
|
|
|
254
|
-
@
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
466
|
+
@builtins.property
|
|
467
|
+
def reset_order_number(
|
|
468
|
+
self,
|
|
469
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
470
|
+
'''A number indicating the reset order of the agent status.
|
|
471
|
+
|
|
472
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-resetordernumber
|
|
473
|
+
'''
|
|
474
|
+
result = self._values.get("reset_order_number")
|
|
475
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
476
|
+
|
|
477
|
+
@builtins.property
|
|
478
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
479
|
+
'''The tags used to organize, track, or control access for this resource.
|
|
480
|
+
|
|
481
|
+
For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
|
|
482
|
+
|
|
483
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-tags
|
|
484
|
+
'''
|
|
485
|
+
result = self._values.get("tags")
|
|
486
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
487
|
+
|
|
488
|
+
@builtins.property
|
|
489
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
490
|
+
'''The type of agent status.
|
|
491
|
+
|
|
492
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-agentstatus.html#cfn-connect-agentstatus-type
|
|
493
|
+
'''
|
|
494
|
+
result = self._values.get("type")
|
|
495
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
496
|
+
|
|
497
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
498
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
499
|
+
|
|
500
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
501
|
+
return not (rhs == self)
|
|
502
|
+
|
|
503
|
+
def __repr__(self) -> str:
|
|
504
|
+
return "CfnAgentStatusProps(%s)" % ", ".join(
|
|
505
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
506
|
+
)
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
510
|
+
class CfnApprovedOrigin(
|
|
511
|
+
_CfnResource_9df397a6,
|
|
512
|
+
metaclass=jsii.JSIIMeta,
|
|
513
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnApprovedOrigin",
|
|
514
|
+
):
|
|
515
|
+
'''The approved origin for the instance.
|
|
516
|
+
|
|
517
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-approvedorigin.html
|
|
518
|
+
:cloudformationResource: AWS::Connect::ApprovedOrigin
|
|
519
|
+
:exampleMetadata: fixture=_generated
|
|
520
|
+
|
|
521
|
+
Example::
|
|
522
|
+
|
|
523
|
+
# The code below shows an example of how to instantiate this type.
|
|
524
|
+
# The values are placeholders you should change.
|
|
525
|
+
from aws_cdk import aws_connect as connect
|
|
526
|
+
|
|
527
|
+
cfn_approved_origin = connect.CfnApprovedOrigin(self, "MyCfnApprovedOrigin",
|
|
528
|
+
instance_id="instanceId",
|
|
529
|
+
origin="origin"
|
|
530
|
+
)
|
|
531
|
+
'''
|
|
532
|
+
|
|
533
|
+
def __init__(
|
|
534
|
+
self,
|
|
535
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
536
|
+
id: builtins.str,
|
|
537
|
+
*,
|
|
538
|
+
instance_id: builtins.str,
|
|
539
|
+
origin: builtins.str,
|
|
540
|
+
) -> None:
|
|
541
|
+
'''
|
|
542
|
+
:param scope: Scope in which this resource is defined.
|
|
543
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
544
|
+
:param instance_id: The Amazon Resource Name (ARN) of the instance. *Minimum* : ``1`` *Maximum* : ``100``
|
|
545
|
+
:param origin: Domain name to be added to the allow-list of the instance. *Maximum* : ``267``
|
|
546
|
+
'''
|
|
547
|
+
if __debug__:
|
|
548
|
+
type_hints = typing.get_type_hints(_typecheckingstub__44955422cb4c00b338f45e52a0d4136fdcdb94c8e433595b636f468d589e514a)
|
|
549
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
550
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
551
|
+
props = CfnApprovedOriginProps(instance_id=instance_id, origin=origin)
|
|
552
|
+
|
|
553
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
554
|
+
|
|
555
|
+
@jsii.member(jsii_name="inspect")
|
|
556
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
557
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
558
|
+
|
|
559
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
560
|
+
'''
|
|
561
|
+
if __debug__:
|
|
562
|
+
type_hints = typing.get_type_hints(_typecheckingstub__15b611bd9c5a92c253c2e2b0cba97b9f73bad0cfc8494953acb694fda143bba2)
|
|
563
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
564
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
565
|
+
|
|
566
|
+
@jsii.member(jsii_name="renderProperties")
|
|
567
|
+
def _render_properties(
|
|
568
|
+
self,
|
|
569
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
570
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
571
|
+
'''
|
|
572
|
+
:param props: -
|
|
573
|
+
'''
|
|
574
|
+
if __debug__:
|
|
575
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bc2ef7b8d5a06b007fe66bb9f5b0208e869ed47a6e5af0d6bf354f4df2d4d6c8)
|
|
576
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
577
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
578
|
+
|
|
579
|
+
@jsii.python.classproperty
|
|
580
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
581
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
582
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
583
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
584
|
+
|
|
585
|
+
@builtins.property
|
|
586
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
587
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
588
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
589
|
+
|
|
590
|
+
@builtins.property
|
|
591
|
+
@jsii.member(jsii_name="instanceId")
|
|
592
|
+
def instance_id(self) -> builtins.str:
|
|
593
|
+
'''The Amazon Resource Name (ARN) of the instance.'''
|
|
594
|
+
return typing.cast(builtins.str, jsii.get(self, "instanceId"))
|
|
595
|
+
|
|
596
|
+
@instance_id.setter
|
|
597
|
+
def instance_id(self, value: builtins.str) -> None:
|
|
598
|
+
if __debug__:
|
|
599
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7fd219e5b157d40fbc4254297a9308245796269c824a72c0b9db3bad7013261c)
|
|
600
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
601
|
+
jsii.set(self, "instanceId", value) # pyright: ignore[reportArgumentType]
|
|
602
|
+
|
|
603
|
+
@builtins.property
|
|
604
|
+
@jsii.member(jsii_name="origin")
|
|
605
|
+
def origin(self) -> builtins.str:
|
|
606
|
+
'''Domain name to be added to the allow-list of the instance.'''
|
|
607
|
+
return typing.cast(builtins.str, jsii.get(self, "origin"))
|
|
608
|
+
|
|
609
|
+
@origin.setter
|
|
610
|
+
def origin(self, value: builtins.str) -> None:
|
|
611
|
+
if __debug__:
|
|
612
|
+
type_hints = typing.get_type_hints(_typecheckingstub__49fb9b02cf4a1b22d6433eac9cb35377d1877512b477dbf9c030fec47fb54f75)
|
|
613
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
614
|
+
jsii.set(self, "origin", value) # pyright: ignore[reportArgumentType]
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
@jsii.data_type(
|
|
618
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnApprovedOriginProps",
|
|
619
|
+
jsii_struct_bases=[],
|
|
620
|
+
name_mapping={"instance_id": "instanceId", "origin": "origin"},
|
|
621
|
+
)
|
|
622
|
+
class CfnApprovedOriginProps:
|
|
623
|
+
def __init__(self, *, instance_id: builtins.str, origin: builtins.str) -> None:
|
|
624
|
+
'''Properties for defining a ``CfnApprovedOrigin``.
|
|
625
|
+
|
|
626
|
+
:param instance_id: The Amazon Resource Name (ARN) of the instance. *Minimum* : ``1`` *Maximum* : ``100``
|
|
627
|
+
:param origin: Domain name to be added to the allow-list of the instance. *Maximum* : ``267``
|
|
628
|
+
|
|
629
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-approvedorigin.html
|
|
630
|
+
:exampleMetadata: fixture=_generated
|
|
631
|
+
|
|
632
|
+
Example::
|
|
633
|
+
|
|
634
|
+
# The code below shows an example of how to instantiate this type.
|
|
635
|
+
# The values are placeholders you should change.
|
|
636
|
+
from aws_cdk import aws_connect as connect
|
|
637
|
+
|
|
638
|
+
cfn_approved_origin_props = connect.CfnApprovedOriginProps(
|
|
639
|
+
instance_id="instanceId",
|
|
640
|
+
origin="origin"
|
|
641
|
+
)
|
|
642
|
+
'''
|
|
643
|
+
if __debug__:
|
|
644
|
+
type_hints = typing.get_type_hints(_typecheckingstub__437fb8bad3e7665288233ec7ee3b4db6669d85ab53efddb888b5d729979a4e2f)
|
|
645
|
+
check_type(argname="argument instance_id", value=instance_id, expected_type=type_hints["instance_id"])
|
|
646
|
+
check_type(argname="argument origin", value=origin, expected_type=type_hints["origin"])
|
|
647
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
648
|
+
"instance_id": instance_id,
|
|
649
|
+
"origin": origin,
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
@builtins.property
|
|
653
|
+
def instance_id(self) -> builtins.str:
|
|
654
|
+
'''The Amazon Resource Name (ARN) of the instance.
|
|
655
|
+
|
|
656
|
+
*Minimum* : ``1``
|
|
657
|
+
|
|
658
|
+
*Maximum* : ``100``
|
|
659
|
+
|
|
660
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-approvedorigin.html#cfn-connect-approvedorigin-instanceid
|
|
661
|
+
'''
|
|
662
|
+
result = self._values.get("instance_id")
|
|
663
|
+
assert result is not None, "Required property 'instance_id' is missing"
|
|
664
|
+
return typing.cast(builtins.str, result)
|
|
665
|
+
|
|
666
|
+
@builtins.property
|
|
667
|
+
def origin(self) -> builtins.str:
|
|
668
|
+
'''Domain name to be added to the allow-list of the instance.
|
|
669
|
+
|
|
670
|
+
*Maximum* : ``267``
|
|
671
|
+
|
|
672
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-approvedorigin.html#cfn-connect-approvedorigin-origin
|
|
673
|
+
'''
|
|
674
|
+
result = self._values.get("origin")
|
|
675
|
+
assert result is not None, "Required property 'origin' is missing"
|
|
676
|
+
return typing.cast(builtins.str, result)
|
|
677
|
+
|
|
678
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
679
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
680
|
+
|
|
681
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
682
|
+
return not (rhs == self)
|
|
683
|
+
|
|
684
|
+
def __repr__(self) -> str:
|
|
685
|
+
return "CfnApprovedOriginProps(%s)" % ", ".join(
|
|
686
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
687
|
+
)
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
691
|
+
class CfnContactFlow(
|
|
692
|
+
_CfnResource_9df397a6,
|
|
693
|
+
metaclass=jsii.JSIIMeta,
|
|
258
694
|
jsii_type="aws-cdk-lib.aws_connect.CfnContactFlow",
|
|
259
695
|
):
|
|
260
696
|
'''Specifies a flow for an Amazon Connect instance.
|
|
@@ -13108,60 +13544,950 @@ class CfnUserHierarchyGroup(
|
|
|
13108
13544
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13109
13545
|
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
13110
13546
|
|
|
13111
|
-
@builtins.property
|
|
13112
|
-
@jsii.member(jsii_name="parentGroupArn")
|
|
13113
|
-
def parent_group_arn(self) -> typing.Optional[builtins.str]:
|
|
13114
|
-
'''The Amazon Resource Name (ARN) of the parent group.'''
|
|
13115
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "parentGroupArn"))
|
|
13547
|
+
@builtins.property
|
|
13548
|
+
@jsii.member(jsii_name="parentGroupArn")
|
|
13549
|
+
def parent_group_arn(self) -> typing.Optional[builtins.str]:
|
|
13550
|
+
'''The Amazon Resource Name (ARN) of the parent group.'''
|
|
13551
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "parentGroupArn"))
|
|
13552
|
+
|
|
13553
|
+
@parent_group_arn.setter
|
|
13554
|
+
def parent_group_arn(self, value: typing.Optional[builtins.str]) -> None:
|
|
13555
|
+
if __debug__:
|
|
13556
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ec2be8f8330a2a7250df106f290a4e8ddeda8715a95a83b481ae76d8ac2d2d8e)
|
|
13557
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13558
|
+
jsii.set(self, "parentGroupArn", value) # pyright: ignore[reportArgumentType]
|
|
13559
|
+
|
|
13560
|
+
@builtins.property
|
|
13561
|
+
@jsii.member(jsii_name="tags")
|
|
13562
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
13563
|
+
'''An array of key-value pairs to apply to this resource.'''
|
|
13564
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
13565
|
+
|
|
13566
|
+
@tags.setter
|
|
13567
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
13568
|
+
if __debug__:
|
|
13569
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0d964880cee57a50d651477affc39220cab9a8575f6e5da757f56a627d3121f3)
|
|
13570
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13571
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
13572
|
+
|
|
13573
|
+
|
|
13574
|
+
@jsii.data_type(
|
|
13575
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnUserHierarchyGroupProps",
|
|
13576
|
+
jsii_struct_bases=[],
|
|
13577
|
+
name_mapping={
|
|
13578
|
+
"instance_arn": "instanceArn",
|
|
13579
|
+
"name": "name",
|
|
13580
|
+
"parent_group_arn": "parentGroupArn",
|
|
13581
|
+
"tags": "tags",
|
|
13582
|
+
},
|
|
13583
|
+
)
|
|
13584
|
+
class CfnUserHierarchyGroupProps:
|
|
13585
|
+
def __init__(
|
|
13586
|
+
self,
|
|
13587
|
+
*,
|
|
13588
|
+
instance_arn: builtins.str,
|
|
13589
|
+
name: builtins.str,
|
|
13590
|
+
parent_group_arn: typing.Optional[builtins.str] = None,
|
|
13591
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13592
|
+
) -> None:
|
|
13593
|
+
'''Properties for defining a ``CfnUserHierarchyGroup``.
|
|
13594
|
+
|
|
13595
|
+
:param instance_arn: The Amazon Resource Name (ARN) of the user hierarchy group.
|
|
13596
|
+
:param name: The name of the user hierarchy group.
|
|
13597
|
+
:param parent_group_arn: The Amazon Resource Name (ARN) of the parent group.
|
|
13598
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
13599
|
+
|
|
13600
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html
|
|
13601
|
+
:exampleMetadata: fixture=_generated
|
|
13602
|
+
|
|
13603
|
+
Example::
|
|
13604
|
+
|
|
13605
|
+
# The code below shows an example of how to instantiate this type.
|
|
13606
|
+
# The values are placeholders you should change.
|
|
13607
|
+
from aws_cdk import aws_connect as connect
|
|
13608
|
+
|
|
13609
|
+
cfn_user_hierarchy_group_props = connect.CfnUserHierarchyGroupProps(
|
|
13610
|
+
instance_arn="instanceArn",
|
|
13611
|
+
name="name",
|
|
13612
|
+
|
|
13613
|
+
# the properties below are optional
|
|
13614
|
+
parent_group_arn="parentGroupArn",
|
|
13615
|
+
tags=[CfnTag(
|
|
13616
|
+
key="key",
|
|
13617
|
+
value="value"
|
|
13618
|
+
)]
|
|
13619
|
+
)
|
|
13620
|
+
'''
|
|
13621
|
+
if __debug__:
|
|
13622
|
+
type_hints = typing.get_type_hints(_typecheckingstub__51f9a797f445ffc1deaff140a69a030bdb25f3fa135ef233a56621cf7d99867c)
|
|
13623
|
+
check_type(argname="argument instance_arn", value=instance_arn, expected_type=type_hints["instance_arn"])
|
|
13624
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
13625
|
+
check_type(argname="argument parent_group_arn", value=parent_group_arn, expected_type=type_hints["parent_group_arn"])
|
|
13626
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
13627
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
13628
|
+
"instance_arn": instance_arn,
|
|
13629
|
+
"name": name,
|
|
13630
|
+
}
|
|
13631
|
+
if parent_group_arn is not None:
|
|
13632
|
+
self._values["parent_group_arn"] = parent_group_arn
|
|
13633
|
+
if tags is not None:
|
|
13634
|
+
self._values["tags"] = tags
|
|
13635
|
+
|
|
13636
|
+
@builtins.property
|
|
13637
|
+
def instance_arn(self) -> builtins.str:
|
|
13638
|
+
'''The Amazon Resource Name (ARN) of the user hierarchy group.
|
|
13639
|
+
|
|
13640
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-instancearn
|
|
13641
|
+
'''
|
|
13642
|
+
result = self._values.get("instance_arn")
|
|
13643
|
+
assert result is not None, "Required property 'instance_arn' is missing"
|
|
13644
|
+
return typing.cast(builtins.str, result)
|
|
13645
|
+
|
|
13646
|
+
@builtins.property
|
|
13647
|
+
def name(self) -> builtins.str:
|
|
13648
|
+
'''The name of the user hierarchy group.
|
|
13649
|
+
|
|
13650
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-name
|
|
13651
|
+
'''
|
|
13652
|
+
result = self._values.get("name")
|
|
13653
|
+
assert result is not None, "Required property 'name' is missing"
|
|
13654
|
+
return typing.cast(builtins.str, result)
|
|
13655
|
+
|
|
13656
|
+
@builtins.property
|
|
13657
|
+
def parent_group_arn(self) -> typing.Optional[builtins.str]:
|
|
13658
|
+
'''The Amazon Resource Name (ARN) of the parent group.
|
|
13659
|
+
|
|
13660
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-parentgrouparn
|
|
13661
|
+
'''
|
|
13662
|
+
result = self._values.get("parent_group_arn")
|
|
13663
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
13664
|
+
|
|
13665
|
+
@builtins.property
|
|
13666
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
13667
|
+
'''An array of key-value pairs to apply to this resource.
|
|
13668
|
+
|
|
13669
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-tags
|
|
13670
|
+
'''
|
|
13671
|
+
result = self._values.get("tags")
|
|
13672
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
13673
|
+
|
|
13674
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
13675
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
13676
|
+
|
|
13677
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
13678
|
+
return not (rhs == self)
|
|
13679
|
+
|
|
13680
|
+
def __repr__(self) -> str:
|
|
13681
|
+
return "CfnUserHierarchyGroupProps(%s)" % ", ".join(
|
|
13682
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
13683
|
+
)
|
|
13684
|
+
|
|
13685
|
+
|
|
13686
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
13687
|
+
class CfnUserHierarchyStructure(
|
|
13688
|
+
_CfnResource_9df397a6,
|
|
13689
|
+
metaclass=jsii.JSIIMeta,
|
|
13690
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnUserHierarchyStructure",
|
|
13691
|
+
):
|
|
13692
|
+
'''Contains information about a hierarchy structure.
|
|
13693
|
+
|
|
13694
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchystructure.html
|
|
13695
|
+
:cloudformationResource: AWS::Connect::UserHierarchyStructure
|
|
13696
|
+
:exampleMetadata: fixture=_generated
|
|
13697
|
+
|
|
13698
|
+
Example::
|
|
13699
|
+
|
|
13700
|
+
# The code below shows an example of how to instantiate this type.
|
|
13701
|
+
# The values are placeholders you should change.
|
|
13702
|
+
from aws_cdk import aws_connect as connect
|
|
13703
|
+
|
|
13704
|
+
cfn_user_hierarchy_structure = connect.CfnUserHierarchyStructure(self, "MyCfnUserHierarchyStructure",
|
|
13705
|
+
instance_arn="instanceArn",
|
|
13706
|
+
|
|
13707
|
+
# the properties below are optional
|
|
13708
|
+
user_hierarchy_structure=connect.CfnUserHierarchyStructure.UserHierarchyStructureProperty(
|
|
13709
|
+
level_five=connect.CfnUserHierarchyStructure.LevelFiveProperty(
|
|
13710
|
+
name="name",
|
|
13711
|
+
|
|
13712
|
+
# the properties below are optional
|
|
13713
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
13714
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
13715
|
+
),
|
|
13716
|
+
level_four=connect.CfnUserHierarchyStructure.LevelFourProperty(
|
|
13717
|
+
name="name",
|
|
13718
|
+
|
|
13719
|
+
# the properties below are optional
|
|
13720
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
13721
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
13722
|
+
),
|
|
13723
|
+
level_one=connect.CfnUserHierarchyStructure.LevelOneProperty(
|
|
13724
|
+
name="name",
|
|
13725
|
+
|
|
13726
|
+
# the properties below are optional
|
|
13727
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
13728
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
13729
|
+
),
|
|
13730
|
+
level_three=connect.CfnUserHierarchyStructure.LevelThreeProperty(
|
|
13731
|
+
name="name",
|
|
13732
|
+
|
|
13733
|
+
# the properties below are optional
|
|
13734
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
13735
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
13736
|
+
),
|
|
13737
|
+
level_two=connect.CfnUserHierarchyStructure.LevelTwoProperty(
|
|
13738
|
+
name="name",
|
|
13739
|
+
|
|
13740
|
+
# the properties below are optional
|
|
13741
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
13742
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
13743
|
+
)
|
|
13744
|
+
)
|
|
13745
|
+
)
|
|
13746
|
+
'''
|
|
13747
|
+
|
|
13748
|
+
def __init__(
|
|
13749
|
+
self,
|
|
13750
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
13751
|
+
id: builtins.str,
|
|
13752
|
+
*,
|
|
13753
|
+
instance_arn: builtins.str,
|
|
13754
|
+
user_hierarchy_structure: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserHierarchyStructure.UserHierarchyStructureProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13755
|
+
) -> None:
|
|
13756
|
+
'''
|
|
13757
|
+
:param scope: Scope in which this resource is defined.
|
|
13758
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
13759
|
+
:param instance_arn: The Amazon Resource Name (ARN) of the instance.
|
|
13760
|
+
:param user_hierarchy_structure: Contains information about a hierarchy structure.
|
|
13761
|
+
'''
|
|
13762
|
+
if __debug__:
|
|
13763
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0dd86f1d677cc33d8aa1cee7bb5d0ab37a797bd1cb536ed79c4373391800e9a4)
|
|
13764
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
13765
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
13766
|
+
props = CfnUserHierarchyStructureProps(
|
|
13767
|
+
instance_arn=instance_arn,
|
|
13768
|
+
user_hierarchy_structure=user_hierarchy_structure,
|
|
13769
|
+
)
|
|
13770
|
+
|
|
13771
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
13772
|
+
|
|
13773
|
+
@jsii.member(jsii_name="inspect")
|
|
13774
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
13775
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
13776
|
+
|
|
13777
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
13778
|
+
'''
|
|
13779
|
+
if __debug__:
|
|
13780
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fbd54f03d47dfe693d25a358b73292c1394a460529ffaf99b2f4f743f638201f)
|
|
13781
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
13782
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
13783
|
+
|
|
13784
|
+
@jsii.member(jsii_name="renderProperties")
|
|
13785
|
+
def _render_properties(
|
|
13786
|
+
self,
|
|
13787
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
13788
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
13789
|
+
'''
|
|
13790
|
+
:param props: -
|
|
13791
|
+
'''
|
|
13792
|
+
if __debug__:
|
|
13793
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a7400bb522e36f72f47aff1d19ebc73a5c73457ca7641a36442a6e7ac7a25b21)
|
|
13794
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
13795
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
13796
|
+
|
|
13797
|
+
@jsii.python.classproperty
|
|
13798
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
13799
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
13800
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
13801
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
13802
|
+
|
|
13803
|
+
@builtins.property
|
|
13804
|
+
@jsii.member(jsii_name="attrUserHierarchyStructureArn")
|
|
13805
|
+
def attr_user_hierarchy_structure_arn(self) -> builtins.str:
|
|
13806
|
+
'''The identifier for the user hierarchy structure.
|
|
13807
|
+
|
|
13808
|
+
:cloudformationAttribute: UserHierarchyStructureArn
|
|
13809
|
+
'''
|
|
13810
|
+
return typing.cast(builtins.str, jsii.get(self, "attrUserHierarchyStructureArn"))
|
|
13811
|
+
|
|
13812
|
+
@builtins.property
|
|
13813
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
13814
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
13815
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
13816
|
+
|
|
13817
|
+
@builtins.property
|
|
13818
|
+
@jsii.member(jsii_name="instanceArn")
|
|
13819
|
+
def instance_arn(self) -> builtins.str:
|
|
13820
|
+
'''The Amazon Resource Name (ARN) of the instance.'''
|
|
13821
|
+
return typing.cast(builtins.str, jsii.get(self, "instanceArn"))
|
|
13822
|
+
|
|
13823
|
+
@instance_arn.setter
|
|
13824
|
+
def instance_arn(self, value: builtins.str) -> None:
|
|
13825
|
+
if __debug__:
|
|
13826
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5f8b6509aa7f272064174751117ffad2a9852e596869e23359121e3893b52cc2)
|
|
13827
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13828
|
+
jsii.set(self, "instanceArn", value) # pyright: ignore[reportArgumentType]
|
|
13829
|
+
|
|
13830
|
+
@builtins.property
|
|
13831
|
+
@jsii.member(jsii_name="userHierarchyStructure")
|
|
13832
|
+
def user_hierarchy_structure(
|
|
13833
|
+
self,
|
|
13834
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.UserHierarchyStructureProperty"]]:
|
|
13835
|
+
'''Contains information about a hierarchy structure.'''
|
|
13836
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.UserHierarchyStructureProperty"]], jsii.get(self, "userHierarchyStructure"))
|
|
13837
|
+
|
|
13838
|
+
@user_hierarchy_structure.setter
|
|
13839
|
+
def user_hierarchy_structure(
|
|
13840
|
+
self,
|
|
13841
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.UserHierarchyStructureProperty"]],
|
|
13842
|
+
) -> None:
|
|
13843
|
+
if __debug__:
|
|
13844
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bcd2903ecfa18c2bbf90b09687bf212ecbd1043a019b13ebf81b9f508889de19)
|
|
13845
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
13846
|
+
jsii.set(self, "userHierarchyStructure", value) # pyright: ignore[reportArgumentType]
|
|
13847
|
+
|
|
13848
|
+
@jsii.data_type(
|
|
13849
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnUserHierarchyStructure.LevelFiveProperty",
|
|
13850
|
+
jsii_struct_bases=[],
|
|
13851
|
+
name_mapping={
|
|
13852
|
+
"name": "name",
|
|
13853
|
+
"hierarchy_level_arn": "hierarchyLevelArn",
|
|
13854
|
+
"hierarchy_level_id": "hierarchyLevelId",
|
|
13855
|
+
},
|
|
13856
|
+
)
|
|
13857
|
+
class LevelFiveProperty:
|
|
13858
|
+
def __init__(
|
|
13859
|
+
self,
|
|
13860
|
+
*,
|
|
13861
|
+
name: builtins.str,
|
|
13862
|
+
hierarchy_level_arn: typing.Optional[builtins.str] = None,
|
|
13863
|
+
hierarchy_level_id: typing.Optional[builtins.str] = None,
|
|
13864
|
+
) -> None:
|
|
13865
|
+
'''The update for level five.
|
|
13866
|
+
|
|
13867
|
+
:param name: The name of the hierarchy level.
|
|
13868
|
+
:param hierarchy_level_arn: The Amazon Resource Name (ARN) of the hierarchy level.
|
|
13869
|
+
:param hierarchy_level_id: The identifier of the hierarchy level.
|
|
13870
|
+
|
|
13871
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfive.html
|
|
13872
|
+
:exampleMetadata: fixture=_generated
|
|
13873
|
+
|
|
13874
|
+
Example::
|
|
13875
|
+
|
|
13876
|
+
# The code below shows an example of how to instantiate this type.
|
|
13877
|
+
# The values are placeholders you should change.
|
|
13878
|
+
from aws_cdk import aws_connect as connect
|
|
13879
|
+
|
|
13880
|
+
level_five_property = connect.CfnUserHierarchyStructure.LevelFiveProperty(
|
|
13881
|
+
name="name",
|
|
13882
|
+
|
|
13883
|
+
# the properties below are optional
|
|
13884
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
13885
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
13886
|
+
)
|
|
13887
|
+
'''
|
|
13888
|
+
if __debug__:
|
|
13889
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4ec14459c1a784fe4a0a8c9e1391d223d43fbb147cdb17d0047a7cc468853b03)
|
|
13890
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
13891
|
+
check_type(argname="argument hierarchy_level_arn", value=hierarchy_level_arn, expected_type=type_hints["hierarchy_level_arn"])
|
|
13892
|
+
check_type(argname="argument hierarchy_level_id", value=hierarchy_level_id, expected_type=type_hints["hierarchy_level_id"])
|
|
13893
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
13894
|
+
"name": name,
|
|
13895
|
+
}
|
|
13896
|
+
if hierarchy_level_arn is not None:
|
|
13897
|
+
self._values["hierarchy_level_arn"] = hierarchy_level_arn
|
|
13898
|
+
if hierarchy_level_id is not None:
|
|
13899
|
+
self._values["hierarchy_level_id"] = hierarchy_level_id
|
|
13900
|
+
|
|
13901
|
+
@builtins.property
|
|
13902
|
+
def name(self) -> builtins.str:
|
|
13903
|
+
'''The name of the hierarchy level.
|
|
13904
|
+
|
|
13905
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfive.html#cfn-connect-userhierarchystructure-levelfive-name
|
|
13906
|
+
'''
|
|
13907
|
+
result = self._values.get("name")
|
|
13908
|
+
assert result is not None, "Required property 'name' is missing"
|
|
13909
|
+
return typing.cast(builtins.str, result)
|
|
13910
|
+
|
|
13911
|
+
@builtins.property
|
|
13912
|
+
def hierarchy_level_arn(self) -> typing.Optional[builtins.str]:
|
|
13913
|
+
'''The Amazon Resource Name (ARN) of the hierarchy level.
|
|
13914
|
+
|
|
13915
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfive.html#cfn-connect-userhierarchystructure-levelfive-hierarchylevelarn
|
|
13916
|
+
'''
|
|
13917
|
+
result = self._values.get("hierarchy_level_arn")
|
|
13918
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
13919
|
+
|
|
13920
|
+
@builtins.property
|
|
13921
|
+
def hierarchy_level_id(self) -> typing.Optional[builtins.str]:
|
|
13922
|
+
'''The identifier of the hierarchy level.
|
|
13923
|
+
|
|
13924
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfive.html#cfn-connect-userhierarchystructure-levelfive-hierarchylevelid
|
|
13925
|
+
'''
|
|
13926
|
+
result = self._values.get("hierarchy_level_id")
|
|
13927
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
13928
|
+
|
|
13929
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
13930
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
13931
|
+
|
|
13932
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
13933
|
+
return not (rhs == self)
|
|
13934
|
+
|
|
13935
|
+
def __repr__(self) -> str:
|
|
13936
|
+
return "LevelFiveProperty(%s)" % ", ".join(
|
|
13937
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
13938
|
+
)
|
|
13939
|
+
|
|
13940
|
+
@jsii.data_type(
|
|
13941
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnUserHierarchyStructure.LevelFourProperty",
|
|
13942
|
+
jsii_struct_bases=[],
|
|
13943
|
+
name_mapping={
|
|
13944
|
+
"name": "name",
|
|
13945
|
+
"hierarchy_level_arn": "hierarchyLevelArn",
|
|
13946
|
+
"hierarchy_level_id": "hierarchyLevelId",
|
|
13947
|
+
},
|
|
13948
|
+
)
|
|
13949
|
+
class LevelFourProperty:
|
|
13950
|
+
def __init__(
|
|
13951
|
+
self,
|
|
13952
|
+
*,
|
|
13953
|
+
name: builtins.str,
|
|
13954
|
+
hierarchy_level_arn: typing.Optional[builtins.str] = None,
|
|
13955
|
+
hierarchy_level_id: typing.Optional[builtins.str] = None,
|
|
13956
|
+
) -> None:
|
|
13957
|
+
'''The update for level four.
|
|
13958
|
+
|
|
13959
|
+
:param name: The name of the hierarchy level.
|
|
13960
|
+
:param hierarchy_level_arn: The Amazon Resource Name (ARN) of the hierarchy level.
|
|
13961
|
+
:param hierarchy_level_id: The identifier of the hierarchy level.
|
|
13962
|
+
|
|
13963
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfour.html
|
|
13964
|
+
:exampleMetadata: fixture=_generated
|
|
13965
|
+
|
|
13966
|
+
Example::
|
|
13967
|
+
|
|
13968
|
+
# The code below shows an example of how to instantiate this type.
|
|
13969
|
+
# The values are placeholders you should change.
|
|
13970
|
+
from aws_cdk import aws_connect as connect
|
|
13971
|
+
|
|
13972
|
+
level_four_property = connect.CfnUserHierarchyStructure.LevelFourProperty(
|
|
13973
|
+
name="name",
|
|
13974
|
+
|
|
13975
|
+
# the properties below are optional
|
|
13976
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
13977
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
13978
|
+
)
|
|
13979
|
+
'''
|
|
13980
|
+
if __debug__:
|
|
13981
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a30a5b57c745f14c2a2362592e133d77736856b78418b44a66dd7d07ad9cc350)
|
|
13982
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
13983
|
+
check_type(argname="argument hierarchy_level_arn", value=hierarchy_level_arn, expected_type=type_hints["hierarchy_level_arn"])
|
|
13984
|
+
check_type(argname="argument hierarchy_level_id", value=hierarchy_level_id, expected_type=type_hints["hierarchy_level_id"])
|
|
13985
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
13986
|
+
"name": name,
|
|
13987
|
+
}
|
|
13988
|
+
if hierarchy_level_arn is not None:
|
|
13989
|
+
self._values["hierarchy_level_arn"] = hierarchy_level_arn
|
|
13990
|
+
if hierarchy_level_id is not None:
|
|
13991
|
+
self._values["hierarchy_level_id"] = hierarchy_level_id
|
|
13992
|
+
|
|
13993
|
+
@builtins.property
|
|
13994
|
+
def name(self) -> builtins.str:
|
|
13995
|
+
'''The name of the hierarchy level.
|
|
13996
|
+
|
|
13997
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfour.html#cfn-connect-userhierarchystructure-levelfour-name
|
|
13998
|
+
'''
|
|
13999
|
+
result = self._values.get("name")
|
|
14000
|
+
assert result is not None, "Required property 'name' is missing"
|
|
14001
|
+
return typing.cast(builtins.str, result)
|
|
14002
|
+
|
|
14003
|
+
@builtins.property
|
|
14004
|
+
def hierarchy_level_arn(self) -> typing.Optional[builtins.str]:
|
|
14005
|
+
'''The Amazon Resource Name (ARN) of the hierarchy level.
|
|
14006
|
+
|
|
14007
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfour.html#cfn-connect-userhierarchystructure-levelfour-hierarchylevelarn
|
|
14008
|
+
'''
|
|
14009
|
+
result = self._values.get("hierarchy_level_arn")
|
|
14010
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
14011
|
+
|
|
14012
|
+
@builtins.property
|
|
14013
|
+
def hierarchy_level_id(self) -> typing.Optional[builtins.str]:
|
|
14014
|
+
'''The identifier of the hierarchy level.
|
|
14015
|
+
|
|
14016
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelfour.html#cfn-connect-userhierarchystructure-levelfour-hierarchylevelid
|
|
14017
|
+
'''
|
|
14018
|
+
result = self._values.get("hierarchy_level_id")
|
|
14019
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
14020
|
+
|
|
14021
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
14022
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
14023
|
+
|
|
14024
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
14025
|
+
return not (rhs == self)
|
|
14026
|
+
|
|
14027
|
+
def __repr__(self) -> str:
|
|
14028
|
+
return "LevelFourProperty(%s)" % ", ".join(
|
|
14029
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
14030
|
+
)
|
|
14031
|
+
|
|
14032
|
+
@jsii.data_type(
|
|
14033
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnUserHierarchyStructure.LevelOneProperty",
|
|
14034
|
+
jsii_struct_bases=[],
|
|
14035
|
+
name_mapping={
|
|
14036
|
+
"name": "name",
|
|
14037
|
+
"hierarchy_level_arn": "hierarchyLevelArn",
|
|
14038
|
+
"hierarchy_level_id": "hierarchyLevelId",
|
|
14039
|
+
},
|
|
14040
|
+
)
|
|
14041
|
+
class LevelOneProperty:
|
|
14042
|
+
def __init__(
|
|
14043
|
+
self,
|
|
14044
|
+
*,
|
|
14045
|
+
name: builtins.str,
|
|
14046
|
+
hierarchy_level_arn: typing.Optional[builtins.str] = None,
|
|
14047
|
+
hierarchy_level_id: typing.Optional[builtins.str] = None,
|
|
14048
|
+
) -> None:
|
|
14049
|
+
'''Information about level one.
|
|
14050
|
+
|
|
14051
|
+
:param name: The name of the hierarchy level.
|
|
14052
|
+
:param hierarchy_level_arn: The Amazon Resource Name (ARN) of the hierarchy level.
|
|
14053
|
+
:param hierarchy_level_id: The identifier of the hierarchy level.
|
|
14054
|
+
|
|
14055
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelone.html
|
|
14056
|
+
:exampleMetadata: fixture=_generated
|
|
14057
|
+
|
|
14058
|
+
Example::
|
|
14059
|
+
|
|
14060
|
+
# The code below shows an example of how to instantiate this type.
|
|
14061
|
+
# The values are placeholders you should change.
|
|
14062
|
+
from aws_cdk import aws_connect as connect
|
|
14063
|
+
|
|
14064
|
+
level_one_property = connect.CfnUserHierarchyStructure.LevelOneProperty(
|
|
14065
|
+
name="name",
|
|
14066
|
+
|
|
14067
|
+
# the properties below are optional
|
|
14068
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14069
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14070
|
+
)
|
|
14071
|
+
'''
|
|
14072
|
+
if __debug__:
|
|
14073
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f0db2dab3b74afa5ed3dacbb779e473976d0340297789c822de987cd90791659)
|
|
14074
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
14075
|
+
check_type(argname="argument hierarchy_level_arn", value=hierarchy_level_arn, expected_type=type_hints["hierarchy_level_arn"])
|
|
14076
|
+
check_type(argname="argument hierarchy_level_id", value=hierarchy_level_id, expected_type=type_hints["hierarchy_level_id"])
|
|
14077
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
14078
|
+
"name": name,
|
|
14079
|
+
}
|
|
14080
|
+
if hierarchy_level_arn is not None:
|
|
14081
|
+
self._values["hierarchy_level_arn"] = hierarchy_level_arn
|
|
14082
|
+
if hierarchy_level_id is not None:
|
|
14083
|
+
self._values["hierarchy_level_id"] = hierarchy_level_id
|
|
14084
|
+
|
|
14085
|
+
@builtins.property
|
|
14086
|
+
def name(self) -> builtins.str:
|
|
14087
|
+
'''The name of the hierarchy level.
|
|
14088
|
+
|
|
14089
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelone.html#cfn-connect-userhierarchystructure-levelone-name
|
|
14090
|
+
'''
|
|
14091
|
+
result = self._values.get("name")
|
|
14092
|
+
assert result is not None, "Required property 'name' is missing"
|
|
14093
|
+
return typing.cast(builtins.str, result)
|
|
14094
|
+
|
|
14095
|
+
@builtins.property
|
|
14096
|
+
def hierarchy_level_arn(self) -> typing.Optional[builtins.str]:
|
|
14097
|
+
'''The Amazon Resource Name (ARN) of the hierarchy level.
|
|
14098
|
+
|
|
14099
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelone.html#cfn-connect-userhierarchystructure-levelone-hierarchylevelarn
|
|
14100
|
+
'''
|
|
14101
|
+
result = self._values.get("hierarchy_level_arn")
|
|
14102
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
14103
|
+
|
|
14104
|
+
@builtins.property
|
|
14105
|
+
def hierarchy_level_id(self) -> typing.Optional[builtins.str]:
|
|
14106
|
+
'''The identifier of the hierarchy level.
|
|
14107
|
+
|
|
14108
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelone.html#cfn-connect-userhierarchystructure-levelone-hierarchylevelid
|
|
14109
|
+
'''
|
|
14110
|
+
result = self._values.get("hierarchy_level_id")
|
|
14111
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
14112
|
+
|
|
14113
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
14114
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
14115
|
+
|
|
14116
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
14117
|
+
return not (rhs == self)
|
|
14118
|
+
|
|
14119
|
+
def __repr__(self) -> str:
|
|
14120
|
+
return "LevelOneProperty(%s)" % ", ".join(
|
|
14121
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
14122
|
+
)
|
|
14123
|
+
|
|
14124
|
+
@jsii.data_type(
|
|
14125
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnUserHierarchyStructure.LevelThreeProperty",
|
|
14126
|
+
jsii_struct_bases=[],
|
|
14127
|
+
name_mapping={
|
|
14128
|
+
"name": "name",
|
|
14129
|
+
"hierarchy_level_arn": "hierarchyLevelArn",
|
|
14130
|
+
"hierarchy_level_id": "hierarchyLevelId",
|
|
14131
|
+
},
|
|
14132
|
+
)
|
|
14133
|
+
class LevelThreeProperty:
|
|
14134
|
+
def __init__(
|
|
14135
|
+
self,
|
|
14136
|
+
*,
|
|
14137
|
+
name: builtins.str,
|
|
14138
|
+
hierarchy_level_arn: typing.Optional[builtins.str] = None,
|
|
14139
|
+
hierarchy_level_id: typing.Optional[builtins.str] = None,
|
|
14140
|
+
) -> None:
|
|
14141
|
+
'''The update for level three.
|
|
14142
|
+
|
|
14143
|
+
:param name: The name of the hierarchy level.
|
|
14144
|
+
:param hierarchy_level_arn: The Amazon Resource Name (ARN) of the hierarchy level.
|
|
14145
|
+
:param hierarchy_level_id: The identifier of the hierarchy level.
|
|
14146
|
+
|
|
14147
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelthree.html
|
|
14148
|
+
:exampleMetadata: fixture=_generated
|
|
14149
|
+
|
|
14150
|
+
Example::
|
|
14151
|
+
|
|
14152
|
+
# The code below shows an example of how to instantiate this type.
|
|
14153
|
+
# The values are placeholders you should change.
|
|
14154
|
+
from aws_cdk import aws_connect as connect
|
|
14155
|
+
|
|
14156
|
+
level_three_property = connect.CfnUserHierarchyStructure.LevelThreeProperty(
|
|
14157
|
+
name="name",
|
|
14158
|
+
|
|
14159
|
+
# the properties below are optional
|
|
14160
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14161
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14162
|
+
)
|
|
14163
|
+
'''
|
|
14164
|
+
if __debug__:
|
|
14165
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a26d3074cdc1319045580e770f1df04301aeea9e2dd191241cefa6896a835c4e)
|
|
14166
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
14167
|
+
check_type(argname="argument hierarchy_level_arn", value=hierarchy_level_arn, expected_type=type_hints["hierarchy_level_arn"])
|
|
14168
|
+
check_type(argname="argument hierarchy_level_id", value=hierarchy_level_id, expected_type=type_hints["hierarchy_level_id"])
|
|
14169
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
14170
|
+
"name": name,
|
|
14171
|
+
}
|
|
14172
|
+
if hierarchy_level_arn is not None:
|
|
14173
|
+
self._values["hierarchy_level_arn"] = hierarchy_level_arn
|
|
14174
|
+
if hierarchy_level_id is not None:
|
|
14175
|
+
self._values["hierarchy_level_id"] = hierarchy_level_id
|
|
14176
|
+
|
|
14177
|
+
@builtins.property
|
|
14178
|
+
def name(self) -> builtins.str:
|
|
14179
|
+
'''The name of the hierarchy level.
|
|
14180
|
+
|
|
14181
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelthree.html#cfn-connect-userhierarchystructure-levelthree-name
|
|
14182
|
+
'''
|
|
14183
|
+
result = self._values.get("name")
|
|
14184
|
+
assert result is not None, "Required property 'name' is missing"
|
|
14185
|
+
return typing.cast(builtins.str, result)
|
|
14186
|
+
|
|
14187
|
+
@builtins.property
|
|
14188
|
+
def hierarchy_level_arn(self) -> typing.Optional[builtins.str]:
|
|
14189
|
+
'''The Amazon Resource Name (ARN) of the hierarchy level.
|
|
14190
|
+
|
|
14191
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelthree.html#cfn-connect-userhierarchystructure-levelthree-hierarchylevelarn
|
|
14192
|
+
'''
|
|
14193
|
+
result = self._values.get("hierarchy_level_arn")
|
|
14194
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
14195
|
+
|
|
14196
|
+
@builtins.property
|
|
14197
|
+
def hierarchy_level_id(self) -> typing.Optional[builtins.str]:
|
|
14198
|
+
'''The identifier of the hierarchy level.
|
|
14199
|
+
|
|
14200
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-levelthree.html#cfn-connect-userhierarchystructure-levelthree-hierarchylevelid
|
|
14201
|
+
'''
|
|
14202
|
+
result = self._values.get("hierarchy_level_id")
|
|
14203
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
14204
|
+
|
|
14205
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
14206
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
14207
|
+
|
|
14208
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
14209
|
+
return not (rhs == self)
|
|
14210
|
+
|
|
14211
|
+
def __repr__(self) -> str:
|
|
14212
|
+
return "LevelThreeProperty(%s)" % ", ".join(
|
|
14213
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
14214
|
+
)
|
|
14215
|
+
|
|
14216
|
+
@jsii.data_type(
|
|
14217
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnUserHierarchyStructure.LevelTwoProperty",
|
|
14218
|
+
jsii_struct_bases=[],
|
|
14219
|
+
name_mapping={
|
|
14220
|
+
"name": "name",
|
|
14221
|
+
"hierarchy_level_arn": "hierarchyLevelArn",
|
|
14222
|
+
"hierarchy_level_id": "hierarchyLevelId",
|
|
14223
|
+
},
|
|
14224
|
+
)
|
|
14225
|
+
class LevelTwoProperty:
|
|
14226
|
+
def __init__(
|
|
14227
|
+
self,
|
|
14228
|
+
*,
|
|
14229
|
+
name: builtins.str,
|
|
14230
|
+
hierarchy_level_arn: typing.Optional[builtins.str] = None,
|
|
14231
|
+
hierarchy_level_id: typing.Optional[builtins.str] = None,
|
|
14232
|
+
) -> None:
|
|
14233
|
+
'''The update for level two.
|
|
14234
|
+
|
|
14235
|
+
:param name: The name of the hierarchy level.
|
|
14236
|
+
:param hierarchy_level_arn: The Amazon Resource Name (ARN) of the hierarchy level.
|
|
14237
|
+
:param hierarchy_level_id: The identifier of the hierarchy level.
|
|
14238
|
+
|
|
14239
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-leveltwo.html
|
|
14240
|
+
:exampleMetadata: fixture=_generated
|
|
14241
|
+
|
|
14242
|
+
Example::
|
|
14243
|
+
|
|
14244
|
+
# The code below shows an example of how to instantiate this type.
|
|
14245
|
+
# The values are placeholders you should change.
|
|
14246
|
+
from aws_cdk import aws_connect as connect
|
|
14247
|
+
|
|
14248
|
+
level_two_property = connect.CfnUserHierarchyStructure.LevelTwoProperty(
|
|
14249
|
+
name="name",
|
|
14250
|
+
|
|
14251
|
+
# the properties below are optional
|
|
14252
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14253
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14254
|
+
)
|
|
14255
|
+
'''
|
|
14256
|
+
if __debug__:
|
|
14257
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7b262c173e72f782b2d7006feffac033b5374b22e10fc78ca9aa7d26791a7693)
|
|
14258
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
14259
|
+
check_type(argname="argument hierarchy_level_arn", value=hierarchy_level_arn, expected_type=type_hints["hierarchy_level_arn"])
|
|
14260
|
+
check_type(argname="argument hierarchy_level_id", value=hierarchy_level_id, expected_type=type_hints["hierarchy_level_id"])
|
|
14261
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
14262
|
+
"name": name,
|
|
14263
|
+
}
|
|
14264
|
+
if hierarchy_level_arn is not None:
|
|
14265
|
+
self._values["hierarchy_level_arn"] = hierarchy_level_arn
|
|
14266
|
+
if hierarchy_level_id is not None:
|
|
14267
|
+
self._values["hierarchy_level_id"] = hierarchy_level_id
|
|
14268
|
+
|
|
14269
|
+
@builtins.property
|
|
14270
|
+
def name(self) -> builtins.str:
|
|
14271
|
+
'''The name of the hierarchy level.
|
|
14272
|
+
|
|
14273
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-leveltwo.html#cfn-connect-userhierarchystructure-leveltwo-name
|
|
14274
|
+
'''
|
|
14275
|
+
result = self._values.get("name")
|
|
14276
|
+
assert result is not None, "Required property 'name' is missing"
|
|
14277
|
+
return typing.cast(builtins.str, result)
|
|
14278
|
+
|
|
14279
|
+
@builtins.property
|
|
14280
|
+
def hierarchy_level_arn(self) -> typing.Optional[builtins.str]:
|
|
14281
|
+
'''The Amazon Resource Name (ARN) of the hierarchy level.
|
|
14282
|
+
|
|
14283
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-leveltwo.html#cfn-connect-userhierarchystructure-leveltwo-hierarchylevelarn
|
|
14284
|
+
'''
|
|
14285
|
+
result = self._values.get("hierarchy_level_arn")
|
|
14286
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
14287
|
+
|
|
14288
|
+
@builtins.property
|
|
14289
|
+
def hierarchy_level_id(self) -> typing.Optional[builtins.str]:
|
|
14290
|
+
'''The identifier of the hierarchy level.
|
|
14291
|
+
|
|
14292
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-leveltwo.html#cfn-connect-userhierarchystructure-leveltwo-hierarchylevelid
|
|
14293
|
+
'''
|
|
14294
|
+
result = self._values.get("hierarchy_level_id")
|
|
14295
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
14296
|
+
|
|
14297
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
14298
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
14299
|
+
|
|
14300
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
14301
|
+
return not (rhs == self)
|
|
14302
|
+
|
|
14303
|
+
def __repr__(self) -> str:
|
|
14304
|
+
return "LevelTwoProperty(%s)" % ", ".join(
|
|
14305
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
14306
|
+
)
|
|
14307
|
+
|
|
14308
|
+
@jsii.data_type(
|
|
14309
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnUserHierarchyStructure.UserHierarchyStructureProperty",
|
|
14310
|
+
jsii_struct_bases=[],
|
|
14311
|
+
name_mapping={
|
|
14312
|
+
"level_five": "levelFive",
|
|
14313
|
+
"level_four": "levelFour",
|
|
14314
|
+
"level_one": "levelOne",
|
|
14315
|
+
"level_three": "levelThree",
|
|
14316
|
+
"level_two": "levelTwo",
|
|
14317
|
+
},
|
|
14318
|
+
)
|
|
14319
|
+
class UserHierarchyStructureProperty:
|
|
14320
|
+
def __init__(
|
|
14321
|
+
self,
|
|
14322
|
+
*,
|
|
14323
|
+
level_five: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserHierarchyStructure.LevelFiveProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14324
|
+
level_four: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserHierarchyStructure.LevelFourProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14325
|
+
level_one: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserHierarchyStructure.LevelOneProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14326
|
+
level_three: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserHierarchyStructure.LevelThreeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14327
|
+
level_two: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserHierarchyStructure.LevelTwoProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14328
|
+
) -> None:
|
|
14329
|
+
'''Contains information about a hierarchy structure.
|
|
14330
|
+
|
|
14331
|
+
:param level_five: Information about level five.
|
|
14332
|
+
:param level_four: The update for level four.
|
|
14333
|
+
:param level_one: The update for level one.
|
|
14334
|
+
:param level_three: The update for level three.
|
|
14335
|
+
:param level_two: The update for level two.
|
|
14336
|
+
|
|
14337
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-userhierarchystructure.html
|
|
14338
|
+
:exampleMetadata: fixture=_generated
|
|
14339
|
+
|
|
14340
|
+
Example::
|
|
14341
|
+
|
|
14342
|
+
# The code below shows an example of how to instantiate this type.
|
|
14343
|
+
# The values are placeholders you should change.
|
|
14344
|
+
from aws_cdk import aws_connect as connect
|
|
14345
|
+
|
|
14346
|
+
user_hierarchy_structure_property = connect.CfnUserHierarchyStructure.UserHierarchyStructureProperty(
|
|
14347
|
+
level_five=connect.CfnUserHierarchyStructure.LevelFiveProperty(
|
|
14348
|
+
name="name",
|
|
14349
|
+
|
|
14350
|
+
# the properties below are optional
|
|
14351
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14352
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14353
|
+
),
|
|
14354
|
+
level_four=connect.CfnUserHierarchyStructure.LevelFourProperty(
|
|
14355
|
+
name="name",
|
|
14356
|
+
|
|
14357
|
+
# the properties below are optional
|
|
14358
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14359
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14360
|
+
),
|
|
14361
|
+
level_one=connect.CfnUserHierarchyStructure.LevelOneProperty(
|
|
14362
|
+
name="name",
|
|
14363
|
+
|
|
14364
|
+
# the properties below are optional
|
|
14365
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14366
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14367
|
+
),
|
|
14368
|
+
level_three=connect.CfnUserHierarchyStructure.LevelThreeProperty(
|
|
14369
|
+
name="name",
|
|
14370
|
+
|
|
14371
|
+
# the properties below are optional
|
|
14372
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14373
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14374
|
+
),
|
|
14375
|
+
level_two=connect.CfnUserHierarchyStructure.LevelTwoProperty(
|
|
14376
|
+
name="name",
|
|
14377
|
+
|
|
14378
|
+
# the properties below are optional
|
|
14379
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14380
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14381
|
+
)
|
|
14382
|
+
)
|
|
14383
|
+
'''
|
|
14384
|
+
if __debug__:
|
|
14385
|
+
type_hints = typing.get_type_hints(_typecheckingstub__efc08d5c8ecf814ad20666235f44e6655cd2dd7020e91e5f43db827f38deb5a5)
|
|
14386
|
+
check_type(argname="argument level_five", value=level_five, expected_type=type_hints["level_five"])
|
|
14387
|
+
check_type(argname="argument level_four", value=level_four, expected_type=type_hints["level_four"])
|
|
14388
|
+
check_type(argname="argument level_one", value=level_one, expected_type=type_hints["level_one"])
|
|
14389
|
+
check_type(argname="argument level_three", value=level_three, expected_type=type_hints["level_three"])
|
|
14390
|
+
check_type(argname="argument level_two", value=level_two, expected_type=type_hints["level_two"])
|
|
14391
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
14392
|
+
if level_five is not None:
|
|
14393
|
+
self._values["level_five"] = level_five
|
|
14394
|
+
if level_four is not None:
|
|
14395
|
+
self._values["level_four"] = level_four
|
|
14396
|
+
if level_one is not None:
|
|
14397
|
+
self._values["level_one"] = level_one
|
|
14398
|
+
if level_three is not None:
|
|
14399
|
+
self._values["level_three"] = level_three
|
|
14400
|
+
if level_two is not None:
|
|
14401
|
+
self._values["level_two"] = level_two
|
|
14402
|
+
|
|
14403
|
+
@builtins.property
|
|
14404
|
+
def level_five(
|
|
14405
|
+
self,
|
|
14406
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.LevelFiveProperty"]]:
|
|
14407
|
+
'''Information about level five.
|
|
14408
|
+
|
|
14409
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-userhierarchystructure.html#cfn-connect-userhierarchystructure-userhierarchystructure-levelfive
|
|
14410
|
+
'''
|
|
14411
|
+
result = self._values.get("level_five")
|
|
14412
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.LevelFiveProperty"]], result)
|
|
14413
|
+
|
|
14414
|
+
@builtins.property
|
|
14415
|
+
def level_four(
|
|
14416
|
+
self,
|
|
14417
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.LevelFourProperty"]]:
|
|
14418
|
+
'''The update for level four.
|
|
14419
|
+
|
|
14420
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-userhierarchystructure.html#cfn-connect-userhierarchystructure-userhierarchystructure-levelfour
|
|
14421
|
+
'''
|
|
14422
|
+
result = self._values.get("level_four")
|
|
14423
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.LevelFourProperty"]], result)
|
|
14424
|
+
|
|
14425
|
+
@builtins.property
|
|
14426
|
+
def level_one(
|
|
14427
|
+
self,
|
|
14428
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.LevelOneProperty"]]:
|
|
14429
|
+
'''The update for level one.
|
|
14430
|
+
|
|
14431
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-userhierarchystructure.html#cfn-connect-userhierarchystructure-userhierarchystructure-levelone
|
|
14432
|
+
'''
|
|
14433
|
+
result = self._values.get("level_one")
|
|
14434
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.LevelOneProperty"]], result)
|
|
14435
|
+
|
|
14436
|
+
@builtins.property
|
|
14437
|
+
def level_three(
|
|
14438
|
+
self,
|
|
14439
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.LevelThreeProperty"]]:
|
|
14440
|
+
'''The update for level three.
|
|
14441
|
+
|
|
14442
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-userhierarchystructure.html#cfn-connect-userhierarchystructure-userhierarchystructure-levelthree
|
|
14443
|
+
'''
|
|
14444
|
+
result = self._values.get("level_three")
|
|
14445
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.LevelThreeProperty"]], result)
|
|
13116
14446
|
|
|
13117
|
-
|
|
13118
|
-
|
|
13119
|
-
|
|
13120
|
-
|
|
13121
|
-
|
|
13122
|
-
jsii.set(self, "parentGroupArn", value) # pyright: ignore[reportArgumentType]
|
|
14447
|
+
@builtins.property
|
|
14448
|
+
def level_two(
|
|
14449
|
+
self,
|
|
14450
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.LevelTwoProperty"]]:
|
|
14451
|
+
'''The update for level two.
|
|
13123
14452
|
|
|
13124
|
-
|
|
13125
|
-
|
|
13126
|
-
|
|
13127
|
-
|
|
13128
|
-
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
14453
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-userhierarchystructure-userhierarchystructure.html#cfn-connect-userhierarchystructure-userhierarchystructure-leveltwo
|
|
14454
|
+
'''
|
|
14455
|
+
result = self._values.get("level_two")
|
|
14456
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserHierarchyStructure.LevelTwoProperty"]], result)
|
|
13129
14457
|
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
|
|
13135
|
-
|
|
14458
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
14459
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
14460
|
+
|
|
14461
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
14462
|
+
return not (rhs == self)
|
|
14463
|
+
|
|
14464
|
+
def __repr__(self) -> str:
|
|
14465
|
+
return "UserHierarchyStructureProperty(%s)" % ", ".join(
|
|
14466
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
14467
|
+
)
|
|
13136
14468
|
|
|
13137
14469
|
|
|
13138
14470
|
@jsii.data_type(
|
|
13139
|
-
jsii_type="aws-cdk-lib.aws_connect.
|
|
14471
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnUserHierarchyStructureProps",
|
|
13140
14472
|
jsii_struct_bases=[],
|
|
13141
14473
|
name_mapping={
|
|
13142
14474
|
"instance_arn": "instanceArn",
|
|
13143
|
-
"
|
|
13144
|
-
"parent_group_arn": "parentGroupArn",
|
|
13145
|
-
"tags": "tags",
|
|
14475
|
+
"user_hierarchy_structure": "userHierarchyStructure",
|
|
13146
14476
|
},
|
|
13147
14477
|
)
|
|
13148
|
-
class
|
|
14478
|
+
class CfnUserHierarchyStructureProps:
|
|
13149
14479
|
def __init__(
|
|
13150
14480
|
self,
|
|
13151
14481
|
*,
|
|
13152
14482
|
instance_arn: builtins.str,
|
|
13153
|
-
|
|
13154
|
-
parent_group_arn: typing.Optional[builtins.str] = None,
|
|
13155
|
-
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14483
|
+
user_hierarchy_structure: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserHierarchyStructure.UserHierarchyStructureProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13156
14484
|
) -> None:
|
|
13157
|
-
'''Properties for defining a ``
|
|
14485
|
+
'''Properties for defining a ``CfnUserHierarchyStructure``.
|
|
13158
14486
|
|
|
13159
|
-
:param instance_arn: The Amazon Resource Name (ARN) of the
|
|
13160
|
-
:param
|
|
13161
|
-
:param parent_group_arn: The Amazon Resource Name (ARN) of the parent group.
|
|
13162
|
-
:param tags: An array of key-value pairs to apply to this resource.
|
|
14487
|
+
:param instance_arn: The Amazon Resource Name (ARN) of the instance.
|
|
14488
|
+
:param user_hierarchy_structure: Contains information about a hierarchy structure.
|
|
13163
14489
|
|
|
13164
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-
|
|
14490
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchystructure.html
|
|
13165
14491
|
:exampleMetadata: fixture=_generated
|
|
13166
14492
|
|
|
13167
14493
|
Example::
|
|
@@ -13170,70 +14496,79 @@ class CfnUserHierarchyGroupProps:
|
|
|
13170
14496
|
# The values are placeholders you should change.
|
|
13171
14497
|
from aws_cdk import aws_connect as connect
|
|
13172
14498
|
|
|
13173
|
-
|
|
14499
|
+
cfn_user_hierarchy_structure_props = connect.CfnUserHierarchyStructureProps(
|
|
13174
14500
|
instance_arn="instanceArn",
|
|
13175
|
-
name="name",
|
|
13176
14501
|
|
|
13177
14502
|
# the properties below are optional
|
|
13178
|
-
|
|
13179
|
-
|
|
13180
|
-
|
|
13181
|
-
|
|
13182
|
-
|
|
14503
|
+
user_hierarchy_structure=connect.CfnUserHierarchyStructure.UserHierarchyStructureProperty(
|
|
14504
|
+
level_five=connect.CfnUserHierarchyStructure.LevelFiveProperty(
|
|
14505
|
+
name="name",
|
|
14506
|
+
|
|
14507
|
+
# the properties below are optional
|
|
14508
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14509
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14510
|
+
),
|
|
14511
|
+
level_four=connect.CfnUserHierarchyStructure.LevelFourProperty(
|
|
14512
|
+
name="name",
|
|
14513
|
+
|
|
14514
|
+
# the properties below are optional
|
|
14515
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14516
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14517
|
+
),
|
|
14518
|
+
level_one=connect.CfnUserHierarchyStructure.LevelOneProperty(
|
|
14519
|
+
name="name",
|
|
14520
|
+
|
|
14521
|
+
# the properties below are optional
|
|
14522
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14523
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14524
|
+
),
|
|
14525
|
+
level_three=connect.CfnUserHierarchyStructure.LevelThreeProperty(
|
|
14526
|
+
name="name",
|
|
14527
|
+
|
|
14528
|
+
# the properties below are optional
|
|
14529
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14530
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14531
|
+
),
|
|
14532
|
+
level_two=connect.CfnUserHierarchyStructure.LevelTwoProperty(
|
|
14533
|
+
name="name",
|
|
14534
|
+
|
|
14535
|
+
# the properties below are optional
|
|
14536
|
+
hierarchy_level_arn="hierarchyLevelArn",
|
|
14537
|
+
hierarchy_level_id="hierarchyLevelId"
|
|
14538
|
+
)
|
|
14539
|
+
)
|
|
13183
14540
|
)
|
|
13184
14541
|
'''
|
|
13185
14542
|
if __debug__:
|
|
13186
|
-
type_hints = typing.get_type_hints(
|
|
14543
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9ef8ab1a9f85518aac6fecbf1c6c15b8b8e1c433138b08b759d4bc60035a64a4)
|
|
13187
14544
|
check_type(argname="argument instance_arn", value=instance_arn, expected_type=type_hints["instance_arn"])
|
|
13188
|
-
check_type(argname="argument
|
|
13189
|
-
check_type(argname="argument parent_group_arn", value=parent_group_arn, expected_type=type_hints["parent_group_arn"])
|
|
13190
|
-
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
14545
|
+
check_type(argname="argument user_hierarchy_structure", value=user_hierarchy_structure, expected_type=type_hints["user_hierarchy_structure"])
|
|
13191
14546
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
13192
14547
|
"instance_arn": instance_arn,
|
|
13193
|
-
"name": name,
|
|
13194
14548
|
}
|
|
13195
|
-
if
|
|
13196
|
-
self._values["
|
|
13197
|
-
if tags is not None:
|
|
13198
|
-
self._values["tags"] = tags
|
|
14549
|
+
if user_hierarchy_structure is not None:
|
|
14550
|
+
self._values["user_hierarchy_structure"] = user_hierarchy_structure
|
|
13199
14551
|
|
|
13200
14552
|
@builtins.property
|
|
13201
14553
|
def instance_arn(self) -> builtins.str:
|
|
13202
|
-
'''The Amazon Resource Name (ARN) of the
|
|
14554
|
+
'''The Amazon Resource Name (ARN) of the instance.
|
|
13203
14555
|
|
|
13204
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-
|
|
14556
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchystructure.html#cfn-connect-userhierarchystructure-instancearn
|
|
13205
14557
|
'''
|
|
13206
14558
|
result = self._values.get("instance_arn")
|
|
13207
14559
|
assert result is not None, "Required property 'instance_arn' is missing"
|
|
13208
14560
|
return typing.cast(builtins.str, result)
|
|
13209
14561
|
|
|
13210
14562
|
@builtins.property
|
|
13211
|
-
def
|
|
13212
|
-
|
|
13213
|
-
|
|
13214
|
-
|
|
13215
|
-
'''
|
|
13216
|
-
result = self._values.get("name")
|
|
13217
|
-
assert result is not None, "Required property 'name' is missing"
|
|
13218
|
-
return typing.cast(builtins.str, result)
|
|
13219
|
-
|
|
13220
|
-
@builtins.property
|
|
13221
|
-
def parent_group_arn(self) -> typing.Optional[builtins.str]:
|
|
13222
|
-
'''The Amazon Resource Name (ARN) of the parent group.
|
|
13223
|
-
|
|
13224
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-parentgrouparn
|
|
13225
|
-
'''
|
|
13226
|
-
result = self._values.get("parent_group_arn")
|
|
13227
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
13228
|
-
|
|
13229
|
-
@builtins.property
|
|
13230
|
-
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
13231
|
-
'''An array of key-value pairs to apply to this resource.
|
|
14563
|
+
def user_hierarchy_structure(
|
|
14564
|
+
self,
|
|
14565
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnUserHierarchyStructure.UserHierarchyStructureProperty]]:
|
|
14566
|
+
'''Contains information about a hierarchy structure.
|
|
13232
14567
|
|
|
13233
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-
|
|
14568
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchystructure.html#cfn-connect-userhierarchystructure-userhierarchystructure
|
|
13234
14569
|
'''
|
|
13235
|
-
result = self._values.get("
|
|
13236
|
-
return typing.cast(typing.Optional[typing.
|
|
14570
|
+
result = self._values.get("user_hierarchy_structure")
|
|
14571
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnUserHierarchyStructure.UserHierarchyStructureProperty]], result)
|
|
13237
14572
|
|
|
13238
14573
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
13239
14574
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -13242,7 +14577,7 @@ class CfnUserHierarchyGroupProps:
|
|
|
13242
14577
|
return not (rhs == self)
|
|
13243
14578
|
|
|
13244
14579
|
def __repr__(self) -> str:
|
|
13245
|
-
return "
|
|
14580
|
+
return "CfnUserHierarchyStructureProps(%s)" % ", ".join(
|
|
13246
14581
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
13247
14582
|
)
|
|
13248
14583
|
|
|
@@ -14109,6 +15444,8 @@ class CfnViewVersionProps:
|
|
|
14109
15444
|
|
|
14110
15445
|
|
|
14111
15446
|
__all__ = [
|
|
15447
|
+
"CfnAgentStatus",
|
|
15448
|
+
"CfnAgentStatusProps",
|
|
14112
15449
|
"CfnApprovedOrigin",
|
|
14113
15450
|
"CfnApprovedOriginProps",
|
|
14114
15451
|
"CfnContactFlow",
|
|
@@ -14150,6 +15487,8 @@ __all__ = [
|
|
|
14150
15487
|
"CfnUser",
|
|
14151
15488
|
"CfnUserHierarchyGroup",
|
|
14152
15489
|
"CfnUserHierarchyGroupProps",
|
|
15490
|
+
"CfnUserHierarchyStructure",
|
|
15491
|
+
"CfnUserHierarchyStructureProps",
|
|
14153
15492
|
"CfnUserProps",
|
|
14154
15493
|
"CfnView",
|
|
14155
15494
|
"CfnViewProps",
|
|
@@ -14159,6 +15498,96 @@ __all__ = [
|
|
|
14159
15498
|
|
|
14160
15499
|
publication.publish()
|
|
14161
15500
|
|
|
15501
|
+
def _typecheckingstub__188703c629c18d36bedd60b2ef308608c79b0a7639ceafb679e00ecdf1434bcb(
|
|
15502
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
15503
|
+
id: builtins.str,
|
|
15504
|
+
*,
|
|
15505
|
+
instance_arn: builtins.str,
|
|
15506
|
+
name: builtins.str,
|
|
15507
|
+
state: builtins.str,
|
|
15508
|
+
description: typing.Optional[builtins.str] = None,
|
|
15509
|
+
display_order: typing.Optional[jsii.Number] = None,
|
|
15510
|
+
reset_order_number: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
15511
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15512
|
+
type: typing.Optional[builtins.str] = None,
|
|
15513
|
+
) -> None:
|
|
15514
|
+
"""Type checking stubs"""
|
|
15515
|
+
pass
|
|
15516
|
+
|
|
15517
|
+
def _typecheckingstub__3d83454aed4d3419db0f2c17c70b50ce23d4acfe85654c14b3955ccec567507d(
|
|
15518
|
+
inspector: _TreeInspector_488e0dd5,
|
|
15519
|
+
) -> None:
|
|
15520
|
+
"""Type checking stubs"""
|
|
15521
|
+
pass
|
|
15522
|
+
|
|
15523
|
+
def _typecheckingstub__b1c5df080fdb044579c972766c7367eb342670174bc6082d6589575910dd5a33(
|
|
15524
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
15525
|
+
) -> None:
|
|
15526
|
+
"""Type checking stubs"""
|
|
15527
|
+
pass
|
|
15528
|
+
|
|
15529
|
+
def _typecheckingstub__ed4d83a484ce207a953725dcb30f7724c73600b781c7372b0461fd7ad61d0ace(
|
|
15530
|
+
value: builtins.str,
|
|
15531
|
+
) -> None:
|
|
15532
|
+
"""Type checking stubs"""
|
|
15533
|
+
pass
|
|
15534
|
+
|
|
15535
|
+
def _typecheckingstub__061ec6e9e391f38b63492def9966c786b74f237e0b42482e6a94a558541dff9c(
|
|
15536
|
+
value: builtins.str,
|
|
15537
|
+
) -> None:
|
|
15538
|
+
"""Type checking stubs"""
|
|
15539
|
+
pass
|
|
15540
|
+
|
|
15541
|
+
def _typecheckingstub__1c11e7969fab74b6f001a9aea8ba880ba4e4fe1aea7421007717072a8c292b4b(
|
|
15542
|
+
value: builtins.str,
|
|
15543
|
+
) -> None:
|
|
15544
|
+
"""Type checking stubs"""
|
|
15545
|
+
pass
|
|
15546
|
+
|
|
15547
|
+
def _typecheckingstub__9144ba2976476302e60ab5f2ac4a2f610fd8e073acae78e05684de97d10172f5(
|
|
15548
|
+
value: typing.Optional[builtins.str],
|
|
15549
|
+
) -> None:
|
|
15550
|
+
"""Type checking stubs"""
|
|
15551
|
+
pass
|
|
15552
|
+
|
|
15553
|
+
def _typecheckingstub__638f21787e6ad0e1e5edbabc219bb6c1bef5220c08895c9bf42932addcfd0544(
|
|
15554
|
+
value: typing.Optional[jsii.Number],
|
|
15555
|
+
) -> None:
|
|
15556
|
+
"""Type checking stubs"""
|
|
15557
|
+
pass
|
|
15558
|
+
|
|
15559
|
+
def _typecheckingstub__8eb07c6ec669286d2212cb0912d5a8f834b8640121216334d872426d4e11f350(
|
|
15560
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
15561
|
+
) -> None:
|
|
15562
|
+
"""Type checking stubs"""
|
|
15563
|
+
pass
|
|
15564
|
+
|
|
15565
|
+
def _typecheckingstub__9ae59e45659b6cf9bd60c4c492979307ad6d24a8eb501dcc3b2ac9a116c44988(
|
|
15566
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
15567
|
+
) -> None:
|
|
15568
|
+
"""Type checking stubs"""
|
|
15569
|
+
pass
|
|
15570
|
+
|
|
15571
|
+
def _typecheckingstub__64b83fcef3b8683e26746763b9a4121f9ed52687deb75b8c04eaf159e6ddf352(
|
|
15572
|
+
value: typing.Optional[builtins.str],
|
|
15573
|
+
) -> None:
|
|
15574
|
+
"""Type checking stubs"""
|
|
15575
|
+
pass
|
|
15576
|
+
|
|
15577
|
+
def _typecheckingstub__7ea651682301a3c8be4ae90c231be7d774e8c3bcc6aecdc9ffdd77f14213429c(
|
|
15578
|
+
*,
|
|
15579
|
+
instance_arn: builtins.str,
|
|
15580
|
+
name: builtins.str,
|
|
15581
|
+
state: builtins.str,
|
|
15582
|
+
description: typing.Optional[builtins.str] = None,
|
|
15583
|
+
display_order: typing.Optional[jsii.Number] = None,
|
|
15584
|
+
reset_order_number: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
15585
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15586
|
+
type: typing.Optional[builtins.str] = None,
|
|
15587
|
+
) -> None:
|
|
15588
|
+
"""Type checking stubs"""
|
|
15589
|
+
pass
|
|
15590
|
+
|
|
14162
15591
|
def _typecheckingstub__44955422cb4c00b338f45e52a0d4136fdcdb94c8e433595b636f468d589e514a(
|
|
14163
15592
|
scope: _constructs_77d1e7e8.Construct,
|
|
14164
15593
|
id: builtins.str,
|
|
@@ -16195,6 +17624,104 @@ def _typecheckingstub__51f9a797f445ffc1deaff140a69a030bdb25f3fa135ef233a56621cf7
|
|
|
16195
17624
|
"""Type checking stubs"""
|
|
16196
17625
|
pass
|
|
16197
17626
|
|
|
17627
|
+
def _typecheckingstub__0dd86f1d677cc33d8aa1cee7bb5d0ab37a797bd1cb536ed79c4373391800e9a4(
|
|
17628
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
17629
|
+
id: builtins.str,
|
|
17630
|
+
*,
|
|
17631
|
+
instance_arn: builtins.str,
|
|
17632
|
+
user_hierarchy_structure: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserHierarchyStructure.UserHierarchyStructureProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17633
|
+
) -> None:
|
|
17634
|
+
"""Type checking stubs"""
|
|
17635
|
+
pass
|
|
17636
|
+
|
|
17637
|
+
def _typecheckingstub__fbd54f03d47dfe693d25a358b73292c1394a460529ffaf99b2f4f743f638201f(
|
|
17638
|
+
inspector: _TreeInspector_488e0dd5,
|
|
17639
|
+
) -> None:
|
|
17640
|
+
"""Type checking stubs"""
|
|
17641
|
+
pass
|
|
17642
|
+
|
|
17643
|
+
def _typecheckingstub__a7400bb522e36f72f47aff1d19ebc73a5c73457ca7641a36442a6e7ac7a25b21(
|
|
17644
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
17645
|
+
) -> None:
|
|
17646
|
+
"""Type checking stubs"""
|
|
17647
|
+
pass
|
|
17648
|
+
|
|
17649
|
+
def _typecheckingstub__5f8b6509aa7f272064174751117ffad2a9852e596869e23359121e3893b52cc2(
|
|
17650
|
+
value: builtins.str,
|
|
17651
|
+
) -> None:
|
|
17652
|
+
"""Type checking stubs"""
|
|
17653
|
+
pass
|
|
17654
|
+
|
|
17655
|
+
def _typecheckingstub__bcd2903ecfa18c2bbf90b09687bf212ecbd1043a019b13ebf81b9f508889de19(
|
|
17656
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnUserHierarchyStructure.UserHierarchyStructureProperty]],
|
|
17657
|
+
) -> None:
|
|
17658
|
+
"""Type checking stubs"""
|
|
17659
|
+
pass
|
|
17660
|
+
|
|
17661
|
+
def _typecheckingstub__4ec14459c1a784fe4a0a8c9e1391d223d43fbb147cdb17d0047a7cc468853b03(
|
|
17662
|
+
*,
|
|
17663
|
+
name: builtins.str,
|
|
17664
|
+
hierarchy_level_arn: typing.Optional[builtins.str] = None,
|
|
17665
|
+
hierarchy_level_id: typing.Optional[builtins.str] = None,
|
|
17666
|
+
) -> None:
|
|
17667
|
+
"""Type checking stubs"""
|
|
17668
|
+
pass
|
|
17669
|
+
|
|
17670
|
+
def _typecheckingstub__a30a5b57c745f14c2a2362592e133d77736856b78418b44a66dd7d07ad9cc350(
|
|
17671
|
+
*,
|
|
17672
|
+
name: builtins.str,
|
|
17673
|
+
hierarchy_level_arn: typing.Optional[builtins.str] = None,
|
|
17674
|
+
hierarchy_level_id: typing.Optional[builtins.str] = None,
|
|
17675
|
+
) -> None:
|
|
17676
|
+
"""Type checking stubs"""
|
|
17677
|
+
pass
|
|
17678
|
+
|
|
17679
|
+
def _typecheckingstub__f0db2dab3b74afa5ed3dacbb779e473976d0340297789c822de987cd90791659(
|
|
17680
|
+
*,
|
|
17681
|
+
name: builtins.str,
|
|
17682
|
+
hierarchy_level_arn: typing.Optional[builtins.str] = None,
|
|
17683
|
+
hierarchy_level_id: typing.Optional[builtins.str] = None,
|
|
17684
|
+
) -> None:
|
|
17685
|
+
"""Type checking stubs"""
|
|
17686
|
+
pass
|
|
17687
|
+
|
|
17688
|
+
def _typecheckingstub__a26d3074cdc1319045580e770f1df04301aeea9e2dd191241cefa6896a835c4e(
|
|
17689
|
+
*,
|
|
17690
|
+
name: builtins.str,
|
|
17691
|
+
hierarchy_level_arn: typing.Optional[builtins.str] = None,
|
|
17692
|
+
hierarchy_level_id: typing.Optional[builtins.str] = None,
|
|
17693
|
+
) -> None:
|
|
17694
|
+
"""Type checking stubs"""
|
|
17695
|
+
pass
|
|
17696
|
+
|
|
17697
|
+
def _typecheckingstub__7b262c173e72f782b2d7006feffac033b5374b22e10fc78ca9aa7d26791a7693(
|
|
17698
|
+
*,
|
|
17699
|
+
name: builtins.str,
|
|
17700
|
+
hierarchy_level_arn: typing.Optional[builtins.str] = None,
|
|
17701
|
+
hierarchy_level_id: typing.Optional[builtins.str] = None,
|
|
17702
|
+
) -> None:
|
|
17703
|
+
"""Type checking stubs"""
|
|
17704
|
+
pass
|
|
17705
|
+
|
|
17706
|
+
def _typecheckingstub__efc08d5c8ecf814ad20666235f44e6655cd2dd7020e91e5f43db827f38deb5a5(
|
|
17707
|
+
*,
|
|
17708
|
+
level_five: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserHierarchyStructure.LevelFiveProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17709
|
+
level_four: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserHierarchyStructure.LevelFourProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17710
|
+
level_one: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserHierarchyStructure.LevelOneProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17711
|
+
level_three: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserHierarchyStructure.LevelThreeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17712
|
+
level_two: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserHierarchyStructure.LevelTwoProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17713
|
+
) -> None:
|
|
17714
|
+
"""Type checking stubs"""
|
|
17715
|
+
pass
|
|
17716
|
+
|
|
17717
|
+
def _typecheckingstub__9ef8ab1a9f85518aac6fecbf1c6c15b8b8e1c433138b08b759d4bc60035a64a4(
|
|
17718
|
+
*,
|
|
17719
|
+
instance_arn: builtins.str,
|
|
17720
|
+
user_hierarchy_structure: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserHierarchyStructure.UserHierarchyStructureProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17721
|
+
) -> None:
|
|
17722
|
+
"""Type checking stubs"""
|
|
17723
|
+
pass
|
|
17724
|
+
|
|
16198
17725
|
def _typecheckingstub__494987ef0f9b905c50c1efbd53f96fb396b7f25b5354dfbb4027a32dbf61b9b1(
|
|
16199
17726
|
*,
|
|
16200
17727
|
instance_arn: builtins.str,
|