aws-cdk-lib 2.132.1__py3-none-any.whl → 2.134.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 +9 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.132.1.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +12 -10
- aws_cdk/aws_apigatewayv2/__init__.py +112 -6
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
- aws_cdk/aws_appconfig/__init__.py +186 -8
- aws_cdk/aws_appintegrations/__init__.py +551 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -6
- aws_cdk/aws_appsync/__init__.py +71 -0
- aws_cdk/aws_autoscaling/__init__.py +10 -14
- aws_cdk/aws_b2bi/__init__.py +2 -42
- aws_cdk/aws_backup/__init__.py +23 -12
- aws_cdk/aws_batch/__init__.py +2150 -1078
- aws_cdk/aws_bedrock/__init__.py +197 -2
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +4 -4
- aws_cdk/aws_cloudtrail/__init__.py +44 -14
- aws_cdk/aws_cloudwatch/__init__.py +20 -4
- aws_cdk/aws_codeartifact/__init__.py +812 -2
- aws_cdk/aws_codebuild/__init__.py +32 -10
- aws_cdk/aws_codepipeline/__init__.py +33 -11
- aws_cdk/aws_cognito/__init__.py +49 -44
- aws_cdk/aws_connect/__init__.py +256 -0
- aws_cdk/aws_controltower/__init__.py +4 -4
- aws_cdk/aws_datasync/__init__.py +393 -13
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_docdbelastic/__init__.py +117 -0
- aws_cdk/aws_dynamodb/__init__.py +416 -5
- aws_cdk/aws_ec2/__init__.py +590 -134
- aws_cdk/aws_ecs/__init__.py +29 -20
- aws_cdk/aws_ecs_patterns/__init__.py +52 -12
- aws_cdk/aws_eks/__init__.py +27 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +363 -62
- aws_cdk/aws_emr/__init__.py +7 -4
- aws_cdk/aws_entityresolution/__init__.py +91 -64
- aws_cdk/aws_fsx/__init__.py +7 -7
- aws_cdk/aws_glue/__init__.py +137 -3
- aws_cdk/aws_iam/__init__.py +9 -10
- aws_cdk/aws_internetmonitor/__init__.py +85 -0
- aws_cdk/aws_iotsitewise/__init__.py +208 -198
- aws_cdk/aws_iotwireless/__init__.py +6 -5
- aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
- aws_cdk/aws_kendra/__init__.py +34 -24
- aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
- aws_cdk/aws_lambda/__init__.py +16 -16
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_opensearchservice/__init__.py +61 -18
- aws_cdk/aws_pinpoint/__init__.py +42 -0
- aws_cdk/aws_rds/__init__.py +1292 -216
- aws_cdk/aws_redshift/__init__.py +6 -3
- aws_cdk/aws_redshiftserverless/__init__.py +0 -157
- aws_cdk/aws_sagemaker/__init__.py +29 -9
- aws_cdk/aws_shield/__init__.py +7 -8
- aws_cdk/aws_ssm/__init__.py +15 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +476 -0
- aws_cdk/aws_synthetics/__init__.py +74 -14
- aws_cdk/aws_transfer/__init__.py +4 -3
- aws_cdk/aws_wafv2/__init__.py +516 -42
- aws_cdk/cx_api/__init__.py +34 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +69 -69
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_connect/__init__.py
CHANGED
|
@@ -10238,11 +10238,17 @@ class CfnSecurityProfile(
|
|
|
10238
10238
|
security_profile_name="securityProfileName",
|
|
10239
10239
|
|
|
10240
10240
|
# the properties below are optional
|
|
10241
|
+
allowed_access_control_hierarchy_group_id="allowedAccessControlHierarchyGroupId",
|
|
10241
10242
|
allowed_access_control_tags=[CfnTag(
|
|
10242
10243
|
key="key",
|
|
10243
10244
|
value="value"
|
|
10244
10245
|
)],
|
|
10246
|
+
applications=[connect.CfnSecurityProfile.ApplicationProperty(
|
|
10247
|
+
application_permissions=["applicationPermissions"],
|
|
10248
|
+
namespace="namespace"
|
|
10249
|
+
)],
|
|
10245
10250
|
description="description",
|
|
10251
|
+
hierarchy_restricted_resources=["hierarchyRestrictedResources"],
|
|
10246
10252
|
permissions=["permissions"],
|
|
10247
10253
|
tag_restricted_resources=["tagRestrictedResources"],
|
|
10248
10254
|
tags=[CfnTag(
|
|
@@ -10259,8 +10265,11 @@ class CfnSecurityProfile(
|
|
|
10259
10265
|
*,
|
|
10260
10266
|
instance_arn: builtins.str,
|
|
10261
10267
|
security_profile_name: builtins.str,
|
|
10268
|
+
allowed_access_control_hierarchy_group_id: typing.Optional[builtins.str] = None,
|
|
10262
10269
|
allowed_access_control_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10270
|
+
applications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityProfile.ApplicationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10263
10271
|
description: typing.Optional[builtins.str] = None,
|
|
10272
|
+
hierarchy_restricted_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10264
10273
|
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10265
10274
|
tag_restricted_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10266
10275
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -10270,8 +10279,11 @@ class CfnSecurityProfile(
|
|
|
10270
10279
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
10271
10280
|
:param instance_arn: The identifier of the Amazon Connect instance.
|
|
10272
10281
|
:param security_profile_name: The name for the security profile.
|
|
10282
|
+
:param allowed_access_control_hierarchy_group_id: The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
|
|
10273
10283
|
:param allowed_access_control_tags: The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
|
|
10284
|
+
:param applications: A list of third-party applications that the security profile will give access to.
|
|
10274
10285
|
:param description: The description of the security profile.
|
|
10286
|
+
:param hierarchy_restricted_resources: The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: ``User`` .
|
|
10275
10287
|
:param permissions: Permissions assigned to the security profile. For a list of valid permissions, see `List of security profile permissions <https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html>`_ .
|
|
10276
10288
|
:param tag_restricted_resources: The list of resources that a security profile applies tag restrictions to in Amazon Connect.
|
|
10277
10289
|
:param tags: The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
|
|
@@ -10283,8 +10295,11 @@ class CfnSecurityProfile(
|
|
|
10283
10295
|
props = CfnSecurityProfileProps(
|
|
10284
10296
|
instance_arn=instance_arn,
|
|
10285
10297
|
security_profile_name=security_profile_name,
|
|
10298
|
+
allowed_access_control_hierarchy_group_id=allowed_access_control_hierarchy_group_id,
|
|
10286
10299
|
allowed_access_control_tags=allowed_access_control_tags,
|
|
10300
|
+
applications=applications,
|
|
10287
10301
|
description=description,
|
|
10302
|
+
hierarchy_restricted_resources=hierarchy_restricted_resources,
|
|
10288
10303
|
permissions=permissions,
|
|
10289
10304
|
tag_restricted_resources=tag_restricted_resources,
|
|
10290
10305
|
tags=tags,
|
|
@@ -10322,6 +10337,24 @@ class CfnSecurityProfile(
|
|
|
10322
10337
|
'''The CloudFormation resource type name for this resource class.'''
|
|
10323
10338
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
10324
10339
|
|
|
10340
|
+
@builtins.property
|
|
10341
|
+
@jsii.member(jsii_name="attrLastModifiedRegion")
|
|
10342
|
+
def attr_last_modified_region(self) -> builtins.str:
|
|
10343
|
+
'''The AWS Region where this resource was last modified.
|
|
10344
|
+
|
|
10345
|
+
:cloudformationAttribute: LastModifiedRegion
|
|
10346
|
+
'''
|
|
10347
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLastModifiedRegion"))
|
|
10348
|
+
|
|
10349
|
+
@builtins.property
|
|
10350
|
+
@jsii.member(jsii_name="attrLastModifiedTime")
|
|
10351
|
+
def attr_last_modified_time(self) -> _IResolvable_da3f097b:
|
|
10352
|
+
'''The timestamp when this resource was last modified.
|
|
10353
|
+
|
|
10354
|
+
:cloudformationAttribute: LastModifiedTime
|
|
10355
|
+
'''
|
|
10356
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrLastModifiedTime"))
|
|
10357
|
+
|
|
10325
10358
|
@builtins.property
|
|
10326
10359
|
@jsii.member(jsii_name="attrSecurityProfileArn")
|
|
10327
10360
|
def attr_security_profile_arn(self) -> builtins.str:
|
|
@@ -10368,6 +10401,24 @@ class CfnSecurityProfile(
|
|
|
10368
10401
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10369
10402
|
jsii.set(self, "securityProfileName", value)
|
|
10370
10403
|
|
|
10404
|
+
@builtins.property
|
|
10405
|
+
@jsii.member(jsii_name="allowedAccessControlHierarchyGroupId")
|
|
10406
|
+
def allowed_access_control_hierarchy_group_id(
|
|
10407
|
+
self,
|
|
10408
|
+
) -> typing.Optional[builtins.str]:
|
|
10409
|
+
'''The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.'''
|
|
10410
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "allowedAccessControlHierarchyGroupId"))
|
|
10411
|
+
|
|
10412
|
+
@allowed_access_control_hierarchy_group_id.setter
|
|
10413
|
+
def allowed_access_control_hierarchy_group_id(
|
|
10414
|
+
self,
|
|
10415
|
+
value: typing.Optional[builtins.str],
|
|
10416
|
+
) -> None:
|
|
10417
|
+
if __debug__:
|
|
10418
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8b0f82dacb2707268147290732f6c1267555107e35b8b506a336b00a5f030de1)
|
|
10419
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10420
|
+
jsii.set(self, "allowedAccessControlHierarchyGroupId", value)
|
|
10421
|
+
|
|
10371
10422
|
@builtins.property
|
|
10372
10423
|
@jsii.member(jsii_name="allowedAccessControlTags")
|
|
10373
10424
|
def allowed_access_control_tags(
|
|
@@ -10386,6 +10437,24 @@ class CfnSecurityProfile(
|
|
|
10386
10437
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10387
10438
|
jsii.set(self, "allowedAccessControlTags", value)
|
|
10388
10439
|
|
|
10440
|
+
@builtins.property
|
|
10441
|
+
@jsii.member(jsii_name="applications")
|
|
10442
|
+
def applications(
|
|
10443
|
+
self,
|
|
10444
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSecurityProfile.ApplicationProperty"]]]]:
|
|
10445
|
+
'''A list of third-party applications that the security profile will give access to.'''
|
|
10446
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSecurityProfile.ApplicationProperty"]]]], jsii.get(self, "applications"))
|
|
10447
|
+
|
|
10448
|
+
@applications.setter
|
|
10449
|
+
def applications(
|
|
10450
|
+
self,
|
|
10451
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSecurityProfile.ApplicationProperty"]]]],
|
|
10452
|
+
) -> None:
|
|
10453
|
+
if __debug__:
|
|
10454
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e31297c3c201035cd5629befaf1f09da3be8968c605549607b25f17835315261)
|
|
10455
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10456
|
+
jsii.set(self, "applications", value)
|
|
10457
|
+
|
|
10389
10458
|
@builtins.property
|
|
10390
10459
|
@jsii.member(jsii_name="description")
|
|
10391
10460
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -10399,6 +10468,24 @@ class CfnSecurityProfile(
|
|
|
10399
10468
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10400
10469
|
jsii.set(self, "description", value)
|
|
10401
10470
|
|
|
10471
|
+
@builtins.property
|
|
10472
|
+
@jsii.member(jsii_name="hierarchyRestrictedResources")
|
|
10473
|
+
def hierarchy_restricted_resources(
|
|
10474
|
+
self,
|
|
10475
|
+
) -> typing.Optional[typing.List[builtins.str]]:
|
|
10476
|
+
'''The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.'''
|
|
10477
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "hierarchyRestrictedResources"))
|
|
10478
|
+
|
|
10479
|
+
@hierarchy_restricted_resources.setter
|
|
10480
|
+
def hierarchy_restricted_resources(
|
|
10481
|
+
self,
|
|
10482
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
10483
|
+
) -> None:
|
|
10484
|
+
if __debug__:
|
|
10485
|
+
type_hints = typing.get_type_hints(_typecheckingstub__22084b5a71b43e42e57329a03ca71f28eb99ce1b07c6cc58e4c267579b7c017d)
|
|
10486
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10487
|
+
jsii.set(self, "hierarchyRestrictedResources", value)
|
|
10488
|
+
|
|
10402
10489
|
@builtins.property
|
|
10403
10490
|
@jsii.member(jsii_name="permissions")
|
|
10404
10491
|
def permissions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -10441,6 +10528,84 @@ class CfnSecurityProfile(
|
|
|
10441
10528
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10442
10529
|
jsii.set(self, "tags", value)
|
|
10443
10530
|
|
|
10531
|
+
@jsii.data_type(
|
|
10532
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnSecurityProfile.ApplicationProperty",
|
|
10533
|
+
jsii_struct_bases=[],
|
|
10534
|
+
name_mapping={
|
|
10535
|
+
"application_permissions": "applicationPermissions",
|
|
10536
|
+
"namespace": "namespace",
|
|
10537
|
+
},
|
|
10538
|
+
)
|
|
10539
|
+
class ApplicationProperty:
|
|
10540
|
+
def __init__(
|
|
10541
|
+
self,
|
|
10542
|
+
*,
|
|
10543
|
+
application_permissions: typing.Sequence[builtins.str],
|
|
10544
|
+
namespace: builtins.str,
|
|
10545
|
+
) -> None:
|
|
10546
|
+
'''This API is in preview release for Amazon Connect and is subject to change.
|
|
10547
|
+
|
|
10548
|
+
A third-party application's metadata.
|
|
10549
|
+
|
|
10550
|
+
:param application_permissions: The permissions that the agent is granted on the application. Only the ``ACCESS`` permission is supported.
|
|
10551
|
+
:param namespace: Namespace of the application that you want to give access to.
|
|
10552
|
+
|
|
10553
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-application.html
|
|
10554
|
+
:exampleMetadata: fixture=_generated
|
|
10555
|
+
|
|
10556
|
+
Example::
|
|
10557
|
+
|
|
10558
|
+
# The code below shows an example of how to instantiate this type.
|
|
10559
|
+
# The values are placeholders you should change.
|
|
10560
|
+
from aws_cdk import aws_connect as connect
|
|
10561
|
+
|
|
10562
|
+
application_property = connect.CfnSecurityProfile.ApplicationProperty(
|
|
10563
|
+
application_permissions=["applicationPermissions"],
|
|
10564
|
+
namespace="namespace"
|
|
10565
|
+
)
|
|
10566
|
+
'''
|
|
10567
|
+
if __debug__:
|
|
10568
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b880e1a466e4d120081a7c103809b59a07385a4cee88474da2f4f00bae13c71a)
|
|
10569
|
+
check_type(argname="argument application_permissions", value=application_permissions, expected_type=type_hints["application_permissions"])
|
|
10570
|
+
check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
|
|
10571
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
10572
|
+
"application_permissions": application_permissions,
|
|
10573
|
+
"namespace": namespace,
|
|
10574
|
+
}
|
|
10575
|
+
|
|
10576
|
+
@builtins.property
|
|
10577
|
+
def application_permissions(self) -> typing.List[builtins.str]:
|
|
10578
|
+
'''The permissions that the agent is granted on the application.
|
|
10579
|
+
|
|
10580
|
+
Only the ``ACCESS`` permission is supported.
|
|
10581
|
+
|
|
10582
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-application.html#cfn-connect-securityprofile-application-applicationpermissions
|
|
10583
|
+
'''
|
|
10584
|
+
result = self._values.get("application_permissions")
|
|
10585
|
+
assert result is not None, "Required property 'application_permissions' is missing"
|
|
10586
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
10587
|
+
|
|
10588
|
+
@builtins.property
|
|
10589
|
+
def namespace(self) -> builtins.str:
|
|
10590
|
+
'''Namespace of the application that you want to give access to.
|
|
10591
|
+
|
|
10592
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-application.html#cfn-connect-securityprofile-application-namespace
|
|
10593
|
+
'''
|
|
10594
|
+
result = self._values.get("namespace")
|
|
10595
|
+
assert result is not None, "Required property 'namespace' is missing"
|
|
10596
|
+
return typing.cast(builtins.str, result)
|
|
10597
|
+
|
|
10598
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
10599
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
10600
|
+
|
|
10601
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
10602
|
+
return not (rhs == self)
|
|
10603
|
+
|
|
10604
|
+
def __repr__(self) -> str:
|
|
10605
|
+
return "ApplicationProperty(%s)" % ", ".join(
|
|
10606
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
10607
|
+
)
|
|
10608
|
+
|
|
10444
10609
|
|
|
10445
10610
|
@jsii.data_type(
|
|
10446
10611
|
jsii_type="aws-cdk-lib.aws_connect.CfnSecurityProfileProps",
|
|
@@ -10448,8 +10613,11 @@ class CfnSecurityProfile(
|
|
|
10448
10613
|
name_mapping={
|
|
10449
10614
|
"instance_arn": "instanceArn",
|
|
10450
10615
|
"security_profile_name": "securityProfileName",
|
|
10616
|
+
"allowed_access_control_hierarchy_group_id": "allowedAccessControlHierarchyGroupId",
|
|
10451
10617
|
"allowed_access_control_tags": "allowedAccessControlTags",
|
|
10618
|
+
"applications": "applications",
|
|
10452
10619
|
"description": "description",
|
|
10620
|
+
"hierarchy_restricted_resources": "hierarchyRestrictedResources",
|
|
10453
10621
|
"permissions": "permissions",
|
|
10454
10622
|
"tag_restricted_resources": "tagRestrictedResources",
|
|
10455
10623
|
"tags": "tags",
|
|
@@ -10461,8 +10629,11 @@ class CfnSecurityProfileProps:
|
|
|
10461
10629
|
*,
|
|
10462
10630
|
instance_arn: builtins.str,
|
|
10463
10631
|
security_profile_name: builtins.str,
|
|
10632
|
+
allowed_access_control_hierarchy_group_id: typing.Optional[builtins.str] = None,
|
|
10464
10633
|
allowed_access_control_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10634
|
+
applications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityProfile.ApplicationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10465
10635
|
description: typing.Optional[builtins.str] = None,
|
|
10636
|
+
hierarchy_restricted_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10466
10637
|
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10467
10638
|
tag_restricted_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
10468
10639
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -10471,8 +10642,11 @@ class CfnSecurityProfileProps:
|
|
|
10471
10642
|
|
|
10472
10643
|
:param instance_arn: The identifier of the Amazon Connect instance.
|
|
10473
10644
|
:param security_profile_name: The name for the security profile.
|
|
10645
|
+
:param allowed_access_control_hierarchy_group_id: The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
|
|
10474
10646
|
:param allowed_access_control_tags: The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
|
|
10647
|
+
:param applications: A list of third-party applications that the security profile will give access to.
|
|
10475
10648
|
:param description: The description of the security profile.
|
|
10649
|
+
:param hierarchy_restricted_resources: The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: ``User`` .
|
|
10476
10650
|
:param permissions: Permissions assigned to the security profile. For a list of valid permissions, see `List of security profile permissions <https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html>`_ .
|
|
10477
10651
|
:param tag_restricted_resources: The list of resources that a security profile applies tag restrictions to in Amazon Connect.
|
|
10478
10652
|
:param tags: The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
|
|
@@ -10491,11 +10665,17 @@ class CfnSecurityProfileProps:
|
|
|
10491
10665
|
security_profile_name="securityProfileName",
|
|
10492
10666
|
|
|
10493
10667
|
# the properties below are optional
|
|
10668
|
+
allowed_access_control_hierarchy_group_id="allowedAccessControlHierarchyGroupId",
|
|
10494
10669
|
allowed_access_control_tags=[CfnTag(
|
|
10495
10670
|
key="key",
|
|
10496
10671
|
value="value"
|
|
10497
10672
|
)],
|
|
10673
|
+
applications=[connect.CfnSecurityProfile.ApplicationProperty(
|
|
10674
|
+
application_permissions=["applicationPermissions"],
|
|
10675
|
+
namespace="namespace"
|
|
10676
|
+
)],
|
|
10498
10677
|
description="description",
|
|
10678
|
+
hierarchy_restricted_resources=["hierarchyRestrictedResources"],
|
|
10499
10679
|
permissions=["permissions"],
|
|
10500
10680
|
tag_restricted_resources=["tagRestrictedResources"],
|
|
10501
10681
|
tags=[CfnTag(
|
|
@@ -10508,8 +10688,11 @@ class CfnSecurityProfileProps:
|
|
|
10508
10688
|
type_hints = typing.get_type_hints(_typecheckingstub__8a8ad9faa5e934c4966c739f0b5e3756a03460ba17b7caf0aca4e26118e04c95)
|
|
10509
10689
|
check_type(argname="argument instance_arn", value=instance_arn, expected_type=type_hints["instance_arn"])
|
|
10510
10690
|
check_type(argname="argument security_profile_name", value=security_profile_name, expected_type=type_hints["security_profile_name"])
|
|
10691
|
+
check_type(argname="argument allowed_access_control_hierarchy_group_id", value=allowed_access_control_hierarchy_group_id, expected_type=type_hints["allowed_access_control_hierarchy_group_id"])
|
|
10511
10692
|
check_type(argname="argument allowed_access_control_tags", value=allowed_access_control_tags, expected_type=type_hints["allowed_access_control_tags"])
|
|
10693
|
+
check_type(argname="argument applications", value=applications, expected_type=type_hints["applications"])
|
|
10512
10694
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
10695
|
+
check_type(argname="argument hierarchy_restricted_resources", value=hierarchy_restricted_resources, expected_type=type_hints["hierarchy_restricted_resources"])
|
|
10513
10696
|
check_type(argname="argument permissions", value=permissions, expected_type=type_hints["permissions"])
|
|
10514
10697
|
check_type(argname="argument tag_restricted_resources", value=tag_restricted_resources, expected_type=type_hints["tag_restricted_resources"])
|
|
10515
10698
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -10517,10 +10700,16 @@ class CfnSecurityProfileProps:
|
|
|
10517
10700
|
"instance_arn": instance_arn,
|
|
10518
10701
|
"security_profile_name": security_profile_name,
|
|
10519
10702
|
}
|
|
10703
|
+
if allowed_access_control_hierarchy_group_id is not None:
|
|
10704
|
+
self._values["allowed_access_control_hierarchy_group_id"] = allowed_access_control_hierarchy_group_id
|
|
10520
10705
|
if allowed_access_control_tags is not None:
|
|
10521
10706
|
self._values["allowed_access_control_tags"] = allowed_access_control_tags
|
|
10707
|
+
if applications is not None:
|
|
10708
|
+
self._values["applications"] = applications
|
|
10522
10709
|
if description is not None:
|
|
10523
10710
|
self._values["description"] = description
|
|
10711
|
+
if hierarchy_restricted_resources is not None:
|
|
10712
|
+
self._values["hierarchy_restricted_resources"] = hierarchy_restricted_resources
|
|
10524
10713
|
if permissions is not None:
|
|
10525
10714
|
self._values["permissions"] = permissions
|
|
10526
10715
|
if tag_restricted_resources is not None:
|
|
@@ -10548,6 +10737,17 @@ class CfnSecurityProfileProps:
|
|
|
10548
10737
|
assert result is not None, "Required property 'security_profile_name' is missing"
|
|
10549
10738
|
return typing.cast(builtins.str, result)
|
|
10550
10739
|
|
|
10740
|
+
@builtins.property
|
|
10741
|
+
def allowed_access_control_hierarchy_group_id(
|
|
10742
|
+
self,
|
|
10743
|
+
) -> typing.Optional[builtins.str]:
|
|
10744
|
+
'''The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
|
|
10745
|
+
|
|
10746
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-allowedaccesscontrolhierarchygroupid
|
|
10747
|
+
'''
|
|
10748
|
+
result = self._values.get("allowed_access_control_hierarchy_group_id")
|
|
10749
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10750
|
+
|
|
10551
10751
|
@builtins.property
|
|
10552
10752
|
def allowed_access_control_tags(
|
|
10553
10753
|
self,
|
|
@@ -10559,6 +10759,17 @@ class CfnSecurityProfileProps:
|
|
|
10559
10759
|
result = self._values.get("allowed_access_control_tags")
|
|
10560
10760
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, _CfnTag_f6864754]]]], result)
|
|
10561
10761
|
|
|
10762
|
+
@builtins.property
|
|
10763
|
+
def applications(
|
|
10764
|
+
self,
|
|
10765
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSecurityProfile.ApplicationProperty]]]]:
|
|
10766
|
+
'''A list of third-party applications that the security profile will give access to.
|
|
10767
|
+
|
|
10768
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-applications
|
|
10769
|
+
'''
|
|
10770
|
+
result = self._values.get("applications")
|
|
10771
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSecurityProfile.ApplicationProperty]]]], result)
|
|
10772
|
+
|
|
10562
10773
|
@builtins.property
|
|
10563
10774
|
def description(self) -> typing.Optional[builtins.str]:
|
|
10564
10775
|
'''The description of the security profile.
|
|
@@ -10568,6 +10779,19 @@ class CfnSecurityProfileProps:
|
|
|
10568
10779
|
result = self._values.get("description")
|
|
10569
10780
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
10570
10781
|
|
|
10782
|
+
@builtins.property
|
|
10783
|
+
def hierarchy_restricted_resources(
|
|
10784
|
+
self,
|
|
10785
|
+
) -> typing.Optional[typing.List[builtins.str]]:
|
|
10786
|
+
'''The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
|
|
10787
|
+
|
|
10788
|
+
Following are acceptable ResourceNames: ``User`` .
|
|
10789
|
+
|
|
10790
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-securityprofile.html#cfn-connect-securityprofile-hierarchyrestrictedresources
|
|
10791
|
+
'''
|
|
10792
|
+
result = self._values.get("hierarchy_restricted_resources")
|
|
10793
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
10794
|
+
|
|
10571
10795
|
@builtins.property
|
|
10572
10796
|
def permissions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
10573
10797
|
'''Permissions assigned to the security profile.
|
|
@@ -15335,8 +15559,11 @@ def _typecheckingstub__3e088a4b4379aab0e18ddc67fbe352d07789383efb957a27db08764dc
|
|
|
15335
15559
|
*,
|
|
15336
15560
|
instance_arn: builtins.str,
|
|
15337
15561
|
security_profile_name: builtins.str,
|
|
15562
|
+
allowed_access_control_hierarchy_group_id: typing.Optional[builtins.str] = None,
|
|
15338
15563
|
allowed_access_control_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15564
|
+
applications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityProfile.ApplicationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15339
15565
|
description: typing.Optional[builtins.str] = None,
|
|
15566
|
+
hierarchy_restricted_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
15340
15567
|
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
15341
15568
|
tag_restricted_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
15342
15569
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -15368,18 +15595,36 @@ def _typecheckingstub__c494cc473b7dcb10d47e5e6898ba1be788ee0a6eeb210dae180c62e7b
|
|
|
15368
15595
|
"""Type checking stubs"""
|
|
15369
15596
|
pass
|
|
15370
15597
|
|
|
15598
|
+
def _typecheckingstub__8b0f82dacb2707268147290732f6c1267555107e35b8b506a336b00a5f030de1(
|
|
15599
|
+
value: typing.Optional[builtins.str],
|
|
15600
|
+
) -> None:
|
|
15601
|
+
"""Type checking stubs"""
|
|
15602
|
+
pass
|
|
15603
|
+
|
|
15371
15604
|
def _typecheckingstub__077ab92a2b57c565722ae2a0fff7719378cf0f3194b2c2b620c43393660a0fd5(
|
|
15372
15605
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, _CfnTag_f6864754]]]],
|
|
15373
15606
|
) -> None:
|
|
15374
15607
|
"""Type checking stubs"""
|
|
15375
15608
|
pass
|
|
15376
15609
|
|
|
15610
|
+
def _typecheckingstub__e31297c3c201035cd5629befaf1f09da3be8968c605549607b25f17835315261(
|
|
15611
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSecurityProfile.ApplicationProperty]]]],
|
|
15612
|
+
) -> None:
|
|
15613
|
+
"""Type checking stubs"""
|
|
15614
|
+
pass
|
|
15615
|
+
|
|
15377
15616
|
def _typecheckingstub__590e303d4355b23e0035628d91db2ef4ef87c1c2276e23fdbfacd943d8c73472(
|
|
15378
15617
|
value: typing.Optional[builtins.str],
|
|
15379
15618
|
) -> None:
|
|
15380
15619
|
"""Type checking stubs"""
|
|
15381
15620
|
pass
|
|
15382
15621
|
|
|
15622
|
+
def _typecheckingstub__22084b5a71b43e42e57329a03ca71f28eb99ce1b07c6cc58e4c267579b7c017d(
|
|
15623
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
15624
|
+
) -> None:
|
|
15625
|
+
"""Type checking stubs"""
|
|
15626
|
+
pass
|
|
15627
|
+
|
|
15383
15628
|
def _typecheckingstub__6057e31a0dc905719aff4c2ffcf4e2eb667ddbf01175ba8a63d9c849c1d9fc7e(
|
|
15384
15629
|
value: typing.Optional[typing.List[builtins.str]],
|
|
15385
15630
|
) -> None:
|
|
@@ -15398,12 +15643,23 @@ def _typecheckingstub__78637aba17fc3177a3492b596a6faf951a63fa4d3e768396f5b976aea
|
|
|
15398
15643
|
"""Type checking stubs"""
|
|
15399
15644
|
pass
|
|
15400
15645
|
|
|
15646
|
+
def _typecheckingstub__b880e1a466e4d120081a7c103809b59a07385a4cee88474da2f4f00bae13c71a(
|
|
15647
|
+
*,
|
|
15648
|
+
application_permissions: typing.Sequence[builtins.str],
|
|
15649
|
+
namespace: builtins.str,
|
|
15650
|
+
) -> None:
|
|
15651
|
+
"""Type checking stubs"""
|
|
15652
|
+
pass
|
|
15653
|
+
|
|
15401
15654
|
def _typecheckingstub__8a8ad9faa5e934c4966c739f0b5e3756a03460ba17b7caf0aca4e26118e04c95(
|
|
15402
15655
|
*,
|
|
15403
15656
|
instance_arn: builtins.str,
|
|
15404
15657
|
security_profile_name: builtins.str,
|
|
15658
|
+
allowed_access_control_hierarchy_group_id: typing.Optional[builtins.str] = None,
|
|
15405
15659
|
allowed_access_control_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15660
|
+
applications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityProfile.ApplicationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15406
15661
|
description: typing.Optional[builtins.str] = None,
|
|
15662
|
+
hierarchy_restricted_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
15407
15663
|
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
15408
15664
|
tag_restricted_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
15409
15665
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -863,7 +863,7 @@ class CfnLandingZone(
|
|
|
863
863
|
'''
|
|
864
864
|
:param scope: Scope in which this resource is defined.
|
|
865
865
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
866
|
-
:param manifest: The landing zone
|
|
866
|
+
:param manifest: The landing zone manifest JSON text file that specifies the landing zone configurations.
|
|
867
867
|
:param version: The landing zone's current deployed version.
|
|
868
868
|
:param tags: Tags to be applied to the landing zone.
|
|
869
869
|
'''
|
|
@@ -966,7 +966,7 @@ class CfnLandingZone(
|
|
|
966
966
|
@builtins.property
|
|
967
967
|
@jsii.member(jsii_name="manifest")
|
|
968
968
|
def manifest(self) -> typing.Any:
|
|
969
|
-
'''The landing zone
|
|
969
|
+
'''The landing zone manifest JSON text file that specifies the landing zone configurations.'''
|
|
970
970
|
return typing.cast(typing.Any, jsii.get(self, "manifest"))
|
|
971
971
|
|
|
972
972
|
@manifest.setter
|
|
@@ -1018,7 +1018,7 @@ class CfnLandingZoneProps:
|
|
|
1018
1018
|
) -> None:
|
|
1019
1019
|
'''Properties for defining a ``CfnLandingZone``.
|
|
1020
1020
|
|
|
1021
|
-
:param manifest: The landing zone
|
|
1021
|
+
:param manifest: The landing zone manifest JSON text file that specifies the landing zone configurations.
|
|
1022
1022
|
:param version: The landing zone's current deployed version.
|
|
1023
1023
|
:param tags: Tags to be applied to the landing zone.
|
|
1024
1024
|
|
|
@@ -1058,7 +1058,7 @@ class CfnLandingZoneProps:
|
|
|
1058
1058
|
|
|
1059
1059
|
@builtins.property
|
|
1060
1060
|
def manifest(self) -> typing.Any:
|
|
1061
|
-
'''The landing zone
|
|
1061
|
+
'''The landing zone manifest JSON text file that specifies the landing zone configurations.
|
|
1062
1062
|
|
|
1063
1063
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-landingzone.html#cfn-controltower-landingzone-manifest
|
|
1064
1064
|
'''
|