aws-cdk-lib 2.209.1__py3-none-any.whl → 2.211.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 +6 -11
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.209.1.jsii.tgz → aws-cdk-lib@2.211.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -1
- aws_cdk/aws_appconfig/__init__.py +9 -0
- aws_cdk/aws_arcregionswitch/__init__.py +4962 -0
- aws_cdk/aws_athena/__init__.py +23 -19
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_batch/__init__.py +721 -51
- aws_cdk/aws_cassandra/__init__.py +28 -1
- aws_cdk/aws_cloudfront/__init__.py +20 -8
- aws_cdk/aws_cognito/__init__.py +9 -2
- aws_cdk/aws_datazone/__init__.py +118 -77
- aws_cdk/aws_dax/__init__.py +39 -0
- aws_cdk/aws_deadline/__init__.py +155 -7
- aws_cdk/aws_docdb/__init__.py +20 -11
- aws_cdk/aws_dynamodb/__init__.py +160 -20
- aws_cdk/aws_ec2/__init__.py +978 -256
- aws_cdk/aws_ecr/__init__.py +274 -0
- aws_cdk/aws_ecs/__init__.py +335 -220
- aws_cdk/aws_eks/__init__.py +51 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +9 -7
- aws_cdk/aws_entityresolution/__init__.py +240 -45
- aws_cdk/aws_evs/__init__.py +20 -45
- aws_cdk/aws_iot/__init__.py +387 -0
- aws_cdk/aws_iotsitewise/__init__.py +1247 -139
- aws_cdk/aws_ivs/__init__.py +443 -33
- aws_cdk/aws_kinesisfirehose/__init__.py +2 -0
- aws_cdk/aws_kms/__init__.py +15 -0
- aws_cdk/aws_lambda/__init__.py +3 -3
- aws_cdk/aws_lightsail/__init__.py +590 -0
- aws_cdk/aws_logs/__init__.py +97 -3
- aws_cdk/aws_medialive/__init__.py +270 -7
- aws_cdk/aws_mediapackagev2/__init__.py +204 -6
- aws_cdk/aws_neptune/__init__.py +41 -2
- aws_cdk/aws_networkfirewall/__init__.py +490 -134
- aws_cdk/aws_observabilityadmin/__init__.py +1468 -0
- aws_cdk/aws_opensearchserverless/__init__.py +2 -2
- aws_cdk/aws_opsworks/__init__.py +125 -125
- aws_cdk/aws_opsworkscm/__init__.py +1 -53
- aws_cdk/aws_pcs/__init__.py +36 -0
- aws_cdk/aws_qbusiness/__init__.py +3 -3
- aws_cdk/aws_quicksight/__init__.py +107 -0
- aws_cdk/aws_rds/__init__.py +274 -0
- aws_cdk/aws_s3/__init__.py +56 -1
- aws_cdk/aws_s3express/__init__.py +52 -1
- aws_cdk/aws_sagemaker/__init__.py +4033 -218
- aws_cdk/aws_ses/__init__.py +172 -9
- aws_cdk/aws_ssm/__init__.py +8 -4
- aws_cdk/aws_verifiedpermissions/__init__.py +23 -2
- aws_cdk/aws_wisdom/__init__.py +2 -2
- aws_cdk/aws_workspacesweb/__init__.py +949 -157
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/METADATA +8 -8
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/RECORD +58 -56
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_evs/__init__.py
CHANGED
|
@@ -85,11 +85,7 @@ class CfnEnvironment(
|
|
|
85
85
|
metaclass=jsii.JSIIMeta,
|
|
86
86
|
jsii_type="aws-cdk-lib.aws_evs.CfnEnvironment",
|
|
87
87
|
):
|
|
88
|
-
'''
|
|
89
|
-
|
|
90
|
-
Amazon EVS is in public preview release and is subject to change.
|
|
91
|
-
|
|
92
|
-
Creates an Amazon EVS environment that runs VCF software, such as SDDC Manager, NSX Manager, and vCenter Server.
|
|
88
|
+
'''Creates an Amazon EVS environment that runs VCF software, such as SDDC Manager, NSX Manager, and vCenter Server.
|
|
93
89
|
|
|
94
90
|
During environment creation, Amazon EVS performs validations on DNS settings, provisions VLAN subnets and hosts, and deploys the supplied version of VCF.
|
|
95
91
|
|
|
@@ -214,7 +210,7 @@ class CfnEnvironment(
|
|
|
214
210
|
:param license_info: The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. The VCF solution key must cover a minimum of 256 cores. The vSAN license key must provide at least 110 TiB of vSAN capacity.
|
|
215
211
|
:param service_access_subnet_id: The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to perform validations and create the environment.
|
|
216
212
|
:param site_id: The Broadcom Site ID that is associated with your Amazon EVS environment. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS.
|
|
217
|
-
:param terms_accepted: Customer confirmation that the customer has purchased and will continue to maintain the required number of VCF software licenses to cover all physical processor cores in the Amazon EVS environment. Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance.
|
|
213
|
+
:param terms_accepted: Customer confirmation that the customer has purchased and will continue to maintain the required number of VCF software licenses to cover all physical processor cores in the Amazon EVS environment. Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance. Amazon EVS does not validate license keys. To validate license keys, visit the Broadcom support portal.
|
|
218
214
|
:param vcf_hostnames: The DNS hostnames to be used by the VCF management appliances in your environment. For environment creation to be successful, each hostname entry must resolve to a domain name that you've registered in your DNS service of choice and configured in the DHCP option set of your VPC. DNS hostnames cannot be changed after environment creation has started.
|
|
219
215
|
:param vcf_version: The VCF version of the environment.
|
|
220
216
|
:param vpc_id: The VPC associated with the environment.
|
|
@@ -613,11 +609,7 @@ class CfnEnvironment(
|
|
|
613
609
|
type: builtins.str,
|
|
614
610
|
impaired_since: typing.Optional[builtins.str] = None,
|
|
615
611
|
) -> None:
|
|
616
|
-
'''
|
|
617
|
-
|
|
618
|
-
Amazon EVS is in public preview release and is subject to change.
|
|
619
|
-
|
|
620
|
-
A check on the environment to identify environment health and validate VMware VCF licensing compliance.
|
|
612
|
+
'''A check on the environment to identify environment health and validate VMware VCF licensing compliance.
|
|
621
613
|
|
|
622
614
|
:param result: The check result.
|
|
623
615
|
:param type: The check type. Amazon EVS performs the following checks. - ``KEY_REUSE`` : checks that the VCF license key is not used by another Amazon EVS environment. This check fails if a used license is added to the environment. - ``KEY_COVERAGE`` : checks that your VCF license key allocates sufficient vCPU cores for all deployed hosts. The check fails when any assigned hosts in the EVS environment are not covered by license keys, or when any unassigned hosts cannot be covered by available vCPU cores in keys. - ``REACHABILITY`` : checks that the Amazon EVS control plane has a persistent connection to SDDC Manager. If Amazon EVS cannot reach the environment, this check fails. - ``HOST_COUNT`` : Checks that your environment has a minimum of 4 hosts, which is a requirement for VCF 5.2.1. If this check fails, you will need to add hosts so that your environment meets this minimum requirement. Amazon EVS only supports environments with 4-16 hosts.
|
|
@@ -710,11 +702,9 @@ class CfnEnvironment(
|
|
|
710
702
|
*,
|
|
711
703
|
private_route_server_peerings: typing.Sequence[builtins.str],
|
|
712
704
|
) -> None:
|
|
713
|
-
'''
|
|
705
|
+
'''The connectivity configuration for the environment.
|
|
714
706
|
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX uplink VLAN for connectivity to the NSX overlay network.
|
|
707
|
+
Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX uplink VLAN for connectivity to the NSX overlay network.
|
|
718
708
|
|
|
719
709
|
:param private_route_server_peerings: The unique IDs for private route server peers.
|
|
720
710
|
|
|
@@ -780,11 +770,8 @@ class CfnEnvironment(
|
|
|
780
770
|
dedicated_host_id: typing.Optional[builtins.str] = None,
|
|
781
771
|
placement_group_id: typing.Optional[builtins.str] = None,
|
|
782
772
|
) -> None:
|
|
783
|
-
'''
|
|
784
|
-
|
|
785
|
-
Amazon EVS is in public preview release and is subject to change.
|
|
773
|
+
'''An object that represents a host.
|
|
786
774
|
|
|
787
|
-
An object that represents a host.
|
|
788
775
|
.. epigraph::
|
|
789
776
|
|
|
790
777
|
You cannot use ``dedicatedHostId`` and ``placementGroupId`` together in the same ``HostInfoForCreate`` object. This results in a ``ValidationException`` response.
|
|
@@ -899,11 +886,9 @@ class CfnEnvironment(
|
|
|
899
886
|
)
|
|
900
887
|
class InitialVlanInfoProperty:
|
|
901
888
|
def __init__(self, *, cidr: builtins.str) -> None:
|
|
902
|
-
'''
|
|
903
|
-
|
|
904
|
-
Amazon EVS is in public preview release and is subject to change.
|
|
889
|
+
'''An object that represents an initial VLAN subnet for the Amazon EVS environment.
|
|
905
890
|
|
|
906
|
-
|
|
891
|
+
Amazon EVS creates initial VLAN subnets when you first create the environment. Amazon EVS creates the following 10 VLAN subnets: host management VLAN, vMotion VLAN, vSAN VLAN, VTEP VLAN, Edge VTEP VLAN, Management VM VLAN, HCX uplink VLAN, NSX uplink VLAN, expansion VLAN 1, expansion VLAN 2.
|
|
907
892
|
.. epigraph::
|
|
908
893
|
|
|
909
894
|
For each Amazon EVS VLAN subnet, you must specify a non-overlapping CIDR block. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24.
|
|
@@ -984,11 +969,9 @@ class CfnEnvironment(
|
|
|
984
969
|
v_san: typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.InitialVlanInfoProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
985
970
|
v_tep: typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.InitialVlanInfoProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
986
971
|
) -> None:
|
|
987
|
-
'''
|
|
972
|
+
'''The initial VLAN subnets for the environment.
|
|
988
973
|
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
The initial VLAN subnets for the environment. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC.
|
|
974
|
+
Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC.
|
|
992
975
|
|
|
993
976
|
:param edge_v_tep: The edge VTEP VLAN subnet. This VLAN subnet manages traffic flowing between the internal network and external networks, including internet access and other site connections.
|
|
994
977
|
:param expansion_vlan1: An additional VLAN subnet that can be used to extend VCF capabilities once configured. For example, you can configure an expansion VLAN subnet to use NSX Federation for centralized management and synchronization of multiple NSX deployments across different locations.
|
|
@@ -1231,11 +1214,9 @@ class CfnEnvironment(
|
|
|
1231
1214
|
solution_key: builtins.str,
|
|
1232
1215
|
vsan_key: builtins.str,
|
|
1233
1216
|
) -> None:
|
|
1234
|
-
'''
|
|
1217
|
+
'''The license information that Amazon EVS requires to create an environment.
|
|
1235
1218
|
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key.
|
|
1219
|
+
Amazon EVS requires two license keys: a VCF solution key and a vSAN license key.
|
|
1239
1220
|
|
|
1240
1221
|
:param solution_key: The VCF solution key. This license unlocks VMware VCF product features, including vSphere, NSX, SDDC Manager, and vCenter Server. The VCF solution key must cover a minimum of 256 cores.
|
|
1241
1222
|
:param vsan_key: The VSAN license key. This license unlocks vSAN features. The vSAN license key must provide at least 110 TiB of vSAN capacity.
|
|
@@ -1305,11 +1286,9 @@ class CfnEnvironment(
|
|
|
1305
1286
|
)
|
|
1306
1287
|
class SecretProperty:
|
|
1307
1288
|
def __init__(self, *, secret_arn: typing.Optional[builtins.str] = None) -> None:
|
|
1308
|
-
'''
|
|
1289
|
+
'''A managed secret that contains the credentials for installing vCenter Server, NSX, and SDDC Manager.
|
|
1309
1290
|
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
A managed secret that contains the credentials for installing vCenter Server, NSX, and SDDC Manager. During environment creation, the Amazon EVS control plane uses AWS Secrets Manager to create, encrypt, validate, and store secrets. If you choose to delete your environment, Amazon EVS also deletes the secrets that are associated with your environment. Amazon EVS does not provide managed rotation of secrets. We recommend that you rotate secrets regularly to ensure that secrets are not long-lived.
|
|
1291
|
+
During environment creation, the Amazon EVS control plane uses AWS Secrets Manager to create, encrypt, validate, and store secrets. If you choose to delete your environment, Amazon EVS also deletes the secrets that are associated with your environment. Amazon EVS does not provide managed rotation of secrets. We recommend that you rotate secrets regularly to ensure that secrets are not long-lived.
|
|
1313
1292
|
|
|
1314
1293
|
:param secret_arn: The Amazon Resource Name (ARN) of the secret.
|
|
1315
1294
|
|
|
@@ -1364,11 +1343,9 @@ class CfnEnvironment(
|
|
|
1364
1343
|
*,
|
|
1365
1344
|
security_groups: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1366
1345
|
) -> None:
|
|
1367
|
-
'''
|
|
1368
|
-
|
|
1369
|
-
Amazon EVS is in public preview release and is subject to change.
|
|
1346
|
+
'''The security groups that allow traffic between the Amazon EVS control plane and your VPC for Amazon EVS service access.
|
|
1370
1347
|
|
|
1371
|
-
|
|
1348
|
+
If a security group is not specified, Amazon EVS uses the default security group in your account for service access.
|
|
1372
1349
|
|
|
1373
1350
|
:param security_groups: The security groups that allow service access.
|
|
1374
1351
|
|
|
@@ -1441,11 +1418,9 @@ class CfnEnvironment(
|
|
|
1441
1418
|
sddc_manager: builtins.str,
|
|
1442
1419
|
v_center: builtins.str,
|
|
1443
1420
|
) -> None:
|
|
1444
|
-
'''
|
|
1445
|
-
|
|
1446
|
-
Amazon EVS is in public preview release and is subject to change.
|
|
1421
|
+
'''The DNS hostnames that Amazon EVS uses to install VMware vCenter Server, NSX, SDDC Manager, and Cloud Builder.
|
|
1447
1422
|
|
|
1448
|
-
|
|
1423
|
+
Each hostname must be unique, and resolve to a domain name that you've registered in your DNS service of choice. Hostnames cannot be changed.
|
|
1449
1424
|
|
|
1450
1425
|
VMware VCF requires the deployment of two NSX Edge nodes, and three NSX Manager virtual machines.
|
|
1451
1426
|
|
|
@@ -1650,7 +1625,7 @@ class CfnEnvironmentProps:
|
|
|
1650
1625
|
:param license_info: The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. The VCF solution key must cover a minimum of 256 cores. The vSAN license key must provide at least 110 TiB of vSAN capacity.
|
|
1651
1626
|
:param service_access_subnet_id: The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to perform validations and create the environment.
|
|
1652
1627
|
:param site_id: The Broadcom Site ID that is associated with your Amazon EVS environment. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS.
|
|
1653
|
-
:param terms_accepted: Customer confirmation that the customer has purchased and will continue to maintain the required number of VCF software licenses to cover all physical processor cores in the Amazon EVS environment. Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance.
|
|
1628
|
+
:param terms_accepted: Customer confirmation that the customer has purchased and will continue to maintain the required number of VCF software licenses to cover all physical processor cores in the Amazon EVS environment. Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance. Amazon EVS does not validate license keys. To validate license keys, visit the Broadcom support portal.
|
|
1654
1629
|
:param vcf_hostnames: The DNS hostnames to be used by the VCF management appliances in your environment. For environment creation to be successful, each hostname entry must resolve to a domain name that you've registered in your DNS service of choice and configured in the DHCP option set of your VPC. DNS hostnames cannot be changed after environment creation has started.
|
|
1655
1630
|
:param vcf_version: The VCF version of the environment.
|
|
1656
1631
|
:param vpc_id: The VPC associated with the environment.
|
|
@@ -1843,7 +1818,7 @@ class CfnEnvironmentProps:
|
|
|
1843
1818
|
def terms_accepted(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
1844
1819
|
'''Customer confirmation that the customer has purchased and will continue to maintain the required number of VCF software licenses to cover all physical processor cores in the Amazon EVS environment.
|
|
1845
1820
|
|
|
1846
|
-
Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance.
|
|
1821
|
+
Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance. Amazon EVS does not validate license keys. To validate license keys, visit the Broadcom support portal.
|
|
1847
1822
|
|
|
1848
1823
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evs-environment.html#cfn-evs-environment-termsaccepted
|
|
1849
1824
|
'''
|
aws_cdk/aws_iot/__init__.py
CHANGED
|
@@ -5706,6 +5706,332 @@ class CfnDomainConfigurationProps:
|
|
|
5706
5706
|
)
|
|
5707
5707
|
|
|
5708
5708
|
|
|
5709
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
5710
|
+
class CfnEncryptionConfiguration(
|
|
5711
|
+
_CfnResource_9df397a6,
|
|
5712
|
+
metaclass=jsii.JSIIMeta,
|
|
5713
|
+
jsii_type="aws-cdk-lib.aws_iot.CfnEncryptionConfiguration",
|
|
5714
|
+
):
|
|
5715
|
+
'''Resource Type definition for AWS::IoT::EncryptionConfiguration.
|
|
5716
|
+
|
|
5717
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-encryptionconfiguration.html
|
|
5718
|
+
:cloudformationResource: AWS::IoT::EncryptionConfiguration
|
|
5719
|
+
:exampleMetadata: fixture=_generated
|
|
5720
|
+
|
|
5721
|
+
Example::
|
|
5722
|
+
|
|
5723
|
+
# The code below shows an example of how to instantiate this type.
|
|
5724
|
+
# The values are placeholders you should change.
|
|
5725
|
+
from aws_cdk import aws_iot as iot
|
|
5726
|
+
|
|
5727
|
+
cfn_encryption_configuration = iot.CfnEncryptionConfiguration(self, "MyCfnEncryptionConfiguration",
|
|
5728
|
+
encryption_type="encryptionType",
|
|
5729
|
+
|
|
5730
|
+
# the properties below are optional
|
|
5731
|
+
kms_access_role_arn="kmsAccessRoleArn",
|
|
5732
|
+
kms_key_arn="kmsKeyArn"
|
|
5733
|
+
)
|
|
5734
|
+
'''
|
|
5735
|
+
|
|
5736
|
+
def __init__(
|
|
5737
|
+
self,
|
|
5738
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
5739
|
+
id: builtins.str,
|
|
5740
|
+
*,
|
|
5741
|
+
encryption_type: builtins.str,
|
|
5742
|
+
kms_access_role_arn: typing.Optional[builtins.str] = None,
|
|
5743
|
+
kms_key_arn: typing.Optional[builtins.str] = None,
|
|
5744
|
+
) -> None:
|
|
5745
|
+
'''
|
|
5746
|
+
:param scope: Scope in which this resource is defined.
|
|
5747
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
5748
|
+
:param encryption_type:
|
|
5749
|
+
:param kms_access_role_arn:
|
|
5750
|
+
:param kms_key_arn:
|
|
5751
|
+
'''
|
|
5752
|
+
if __debug__:
|
|
5753
|
+
type_hints = typing.get_type_hints(_typecheckingstub__590a310b1ce9a41bd611fc7e92d5bb9381ff548973b6322c201006617fc000f1)
|
|
5754
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
5755
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
5756
|
+
props = CfnEncryptionConfigurationProps(
|
|
5757
|
+
encryption_type=encryption_type,
|
|
5758
|
+
kms_access_role_arn=kms_access_role_arn,
|
|
5759
|
+
kms_key_arn=kms_key_arn,
|
|
5760
|
+
)
|
|
5761
|
+
|
|
5762
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
5763
|
+
|
|
5764
|
+
@jsii.member(jsii_name="inspect")
|
|
5765
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
5766
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
5767
|
+
|
|
5768
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
5769
|
+
'''
|
|
5770
|
+
if __debug__:
|
|
5771
|
+
type_hints = typing.get_type_hints(_typecheckingstub__233141f5c147d73830fe3e9d9d504b3652e1d15f02ed8b705668c8e28e9b750c)
|
|
5772
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
5773
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
5774
|
+
|
|
5775
|
+
@jsii.member(jsii_name="renderProperties")
|
|
5776
|
+
def _render_properties(
|
|
5777
|
+
self,
|
|
5778
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
5779
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
5780
|
+
'''
|
|
5781
|
+
:param props: -
|
|
5782
|
+
'''
|
|
5783
|
+
if __debug__:
|
|
5784
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5cd2e788d7ff1c10202a0e433dda70ca35befefeabdbfc3016d8016e6cf1ed37)
|
|
5785
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
5786
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
5787
|
+
|
|
5788
|
+
@jsii.python.classproperty
|
|
5789
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
5790
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
5791
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
5792
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
5793
|
+
|
|
5794
|
+
@builtins.property
|
|
5795
|
+
@jsii.member(jsii_name="attrAccountId")
|
|
5796
|
+
def attr_account_id(self) -> builtins.str:
|
|
5797
|
+
'''
|
|
5798
|
+
:cloudformationAttribute: AccountId
|
|
5799
|
+
'''
|
|
5800
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAccountId"))
|
|
5801
|
+
|
|
5802
|
+
@builtins.property
|
|
5803
|
+
@jsii.member(jsii_name="attrConfigurationDetails")
|
|
5804
|
+
def attr_configuration_details(self) -> _IResolvable_da3f097b:
|
|
5805
|
+
'''
|
|
5806
|
+
:cloudformationAttribute: ConfigurationDetails
|
|
5807
|
+
'''
|
|
5808
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrConfigurationDetails"))
|
|
5809
|
+
|
|
5810
|
+
@builtins.property
|
|
5811
|
+
@jsii.member(jsii_name="attrLastModifiedDate")
|
|
5812
|
+
def attr_last_modified_date(self) -> builtins.str:
|
|
5813
|
+
'''
|
|
5814
|
+
:cloudformationAttribute: LastModifiedDate
|
|
5815
|
+
'''
|
|
5816
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLastModifiedDate"))
|
|
5817
|
+
|
|
5818
|
+
@builtins.property
|
|
5819
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
5820
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
5821
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
5822
|
+
|
|
5823
|
+
@builtins.property
|
|
5824
|
+
@jsii.member(jsii_name="encryptionType")
|
|
5825
|
+
def encryption_type(self) -> builtins.str:
|
|
5826
|
+
return typing.cast(builtins.str, jsii.get(self, "encryptionType"))
|
|
5827
|
+
|
|
5828
|
+
@encryption_type.setter
|
|
5829
|
+
def encryption_type(self, value: builtins.str) -> None:
|
|
5830
|
+
if __debug__:
|
|
5831
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7fba231b8f68aa059f7c06875e959b3f3bd5636f6165991d32e54a5cc6d0bcd5)
|
|
5832
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5833
|
+
jsii.set(self, "encryptionType", value) # pyright: ignore[reportArgumentType]
|
|
5834
|
+
|
|
5835
|
+
@builtins.property
|
|
5836
|
+
@jsii.member(jsii_name="kmsAccessRoleArn")
|
|
5837
|
+
def kms_access_role_arn(self) -> typing.Optional[builtins.str]:
|
|
5838
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsAccessRoleArn"))
|
|
5839
|
+
|
|
5840
|
+
@kms_access_role_arn.setter
|
|
5841
|
+
def kms_access_role_arn(self, value: typing.Optional[builtins.str]) -> None:
|
|
5842
|
+
if __debug__:
|
|
5843
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c7090d98481b34dbf2479198088f6a73b9c942d4517672b8d308682e61d5dbba)
|
|
5844
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5845
|
+
jsii.set(self, "kmsAccessRoleArn", value) # pyright: ignore[reportArgumentType]
|
|
5846
|
+
|
|
5847
|
+
@builtins.property
|
|
5848
|
+
@jsii.member(jsii_name="kmsKeyArn")
|
|
5849
|
+
def kms_key_arn(self) -> typing.Optional[builtins.str]:
|
|
5850
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyArn"))
|
|
5851
|
+
|
|
5852
|
+
@kms_key_arn.setter
|
|
5853
|
+
def kms_key_arn(self, value: typing.Optional[builtins.str]) -> None:
|
|
5854
|
+
if __debug__:
|
|
5855
|
+
type_hints = typing.get_type_hints(_typecheckingstub__19b09278cd32890a2953a31edf28ad2ac6b609136b5854732d407ccb4b6766d9)
|
|
5856
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5857
|
+
jsii.set(self, "kmsKeyArn", value) # pyright: ignore[reportArgumentType]
|
|
5858
|
+
|
|
5859
|
+
@jsii.data_type(
|
|
5860
|
+
jsii_type="aws-cdk-lib.aws_iot.CfnEncryptionConfiguration.ConfigurationDetailsProperty",
|
|
5861
|
+
jsii_struct_bases=[],
|
|
5862
|
+
name_mapping={
|
|
5863
|
+
"configuration_status": "configurationStatus",
|
|
5864
|
+
"error_code": "errorCode",
|
|
5865
|
+
"error_message": "errorMessage",
|
|
5866
|
+
},
|
|
5867
|
+
)
|
|
5868
|
+
class ConfigurationDetailsProperty:
|
|
5869
|
+
def __init__(
|
|
5870
|
+
self,
|
|
5871
|
+
*,
|
|
5872
|
+
configuration_status: typing.Optional[builtins.str] = None,
|
|
5873
|
+
error_code: typing.Optional[builtins.str] = None,
|
|
5874
|
+
error_message: typing.Optional[builtins.str] = None,
|
|
5875
|
+
) -> None:
|
|
5876
|
+
'''
|
|
5877
|
+
:param configuration_status:
|
|
5878
|
+
:param error_code:
|
|
5879
|
+
:param error_message:
|
|
5880
|
+
|
|
5881
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-encryptionconfiguration-configurationdetails.html
|
|
5882
|
+
:exampleMetadata: fixture=_generated
|
|
5883
|
+
|
|
5884
|
+
Example::
|
|
5885
|
+
|
|
5886
|
+
# The code below shows an example of how to instantiate this type.
|
|
5887
|
+
# The values are placeholders you should change.
|
|
5888
|
+
from aws_cdk import aws_iot as iot
|
|
5889
|
+
|
|
5890
|
+
configuration_details_property = iot.CfnEncryptionConfiguration.ConfigurationDetailsProperty(
|
|
5891
|
+
configuration_status="configurationStatus",
|
|
5892
|
+
error_code="errorCode",
|
|
5893
|
+
error_message="errorMessage"
|
|
5894
|
+
)
|
|
5895
|
+
'''
|
|
5896
|
+
if __debug__:
|
|
5897
|
+
type_hints = typing.get_type_hints(_typecheckingstub__177ce092c0e88e844eafa9e6b2f72e02413a4aecda7bf05efcdfd6fbf7857eff)
|
|
5898
|
+
check_type(argname="argument configuration_status", value=configuration_status, expected_type=type_hints["configuration_status"])
|
|
5899
|
+
check_type(argname="argument error_code", value=error_code, expected_type=type_hints["error_code"])
|
|
5900
|
+
check_type(argname="argument error_message", value=error_message, expected_type=type_hints["error_message"])
|
|
5901
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5902
|
+
if configuration_status is not None:
|
|
5903
|
+
self._values["configuration_status"] = configuration_status
|
|
5904
|
+
if error_code is not None:
|
|
5905
|
+
self._values["error_code"] = error_code
|
|
5906
|
+
if error_message is not None:
|
|
5907
|
+
self._values["error_message"] = error_message
|
|
5908
|
+
|
|
5909
|
+
@builtins.property
|
|
5910
|
+
def configuration_status(self) -> typing.Optional[builtins.str]:
|
|
5911
|
+
'''
|
|
5912
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-encryptionconfiguration-configurationdetails.html#cfn-iot-encryptionconfiguration-configurationdetails-configurationstatus
|
|
5913
|
+
'''
|
|
5914
|
+
result = self._values.get("configuration_status")
|
|
5915
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5916
|
+
|
|
5917
|
+
@builtins.property
|
|
5918
|
+
def error_code(self) -> typing.Optional[builtins.str]:
|
|
5919
|
+
'''
|
|
5920
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-encryptionconfiguration-configurationdetails.html#cfn-iot-encryptionconfiguration-configurationdetails-errorcode
|
|
5921
|
+
'''
|
|
5922
|
+
result = self._values.get("error_code")
|
|
5923
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5924
|
+
|
|
5925
|
+
@builtins.property
|
|
5926
|
+
def error_message(self) -> typing.Optional[builtins.str]:
|
|
5927
|
+
'''
|
|
5928
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-encryptionconfiguration-configurationdetails.html#cfn-iot-encryptionconfiguration-configurationdetails-errormessage
|
|
5929
|
+
'''
|
|
5930
|
+
result = self._values.get("error_message")
|
|
5931
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5932
|
+
|
|
5933
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5934
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5935
|
+
|
|
5936
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5937
|
+
return not (rhs == self)
|
|
5938
|
+
|
|
5939
|
+
def __repr__(self) -> str:
|
|
5940
|
+
return "ConfigurationDetailsProperty(%s)" % ", ".join(
|
|
5941
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5942
|
+
)
|
|
5943
|
+
|
|
5944
|
+
|
|
5945
|
+
@jsii.data_type(
|
|
5946
|
+
jsii_type="aws-cdk-lib.aws_iot.CfnEncryptionConfigurationProps",
|
|
5947
|
+
jsii_struct_bases=[],
|
|
5948
|
+
name_mapping={
|
|
5949
|
+
"encryption_type": "encryptionType",
|
|
5950
|
+
"kms_access_role_arn": "kmsAccessRoleArn",
|
|
5951
|
+
"kms_key_arn": "kmsKeyArn",
|
|
5952
|
+
},
|
|
5953
|
+
)
|
|
5954
|
+
class CfnEncryptionConfigurationProps:
|
|
5955
|
+
def __init__(
|
|
5956
|
+
self,
|
|
5957
|
+
*,
|
|
5958
|
+
encryption_type: builtins.str,
|
|
5959
|
+
kms_access_role_arn: typing.Optional[builtins.str] = None,
|
|
5960
|
+
kms_key_arn: typing.Optional[builtins.str] = None,
|
|
5961
|
+
) -> None:
|
|
5962
|
+
'''Properties for defining a ``CfnEncryptionConfiguration``.
|
|
5963
|
+
|
|
5964
|
+
:param encryption_type:
|
|
5965
|
+
:param kms_access_role_arn:
|
|
5966
|
+
:param kms_key_arn:
|
|
5967
|
+
|
|
5968
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-encryptionconfiguration.html
|
|
5969
|
+
:exampleMetadata: fixture=_generated
|
|
5970
|
+
|
|
5971
|
+
Example::
|
|
5972
|
+
|
|
5973
|
+
# The code below shows an example of how to instantiate this type.
|
|
5974
|
+
# The values are placeholders you should change.
|
|
5975
|
+
from aws_cdk import aws_iot as iot
|
|
5976
|
+
|
|
5977
|
+
cfn_encryption_configuration_props = iot.CfnEncryptionConfigurationProps(
|
|
5978
|
+
encryption_type="encryptionType",
|
|
5979
|
+
|
|
5980
|
+
# the properties below are optional
|
|
5981
|
+
kms_access_role_arn="kmsAccessRoleArn",
|
|
5982
|
+
kms_key_arn="kmsKeyArn"
|
|
5983
|
+
)
|
|
5984
|
+
'''
|
|
5985
|
+
if __debug__:
|
|
5986
|
+
type_hints = typing.get_type_hints(_typecheckingstub__336ea497535e43391cf9df6341fe126d948316050e95d2d41cb831737802b9ab)
|
|
5987
|
+
check_type(argname="argument encryption_type", value=encryption_type, expected_type=type_hints["encryption_type"])
|
|
5988
|
+
check_type(argname="argument kms_access_role_arn", value=kms_access_role_arn, expected_type=type_hints["kms_access_role_arn"])
|
|
5989
|
+
check_type(argname="argument kms_key_arn", value=kms_key_arn, expected_type=type_hints["kms_key_arn"])
|
|
5990
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5991
|
+
"encryption_type": encryption_type,
|
|
5992
|
+
}
|
|
5993
|
+
if kms_access_role_arn is not None:
|
|
5994
|
+
self._values["kms_access_role_arn"] = kms_access_role_arn
|
|
5995
|
+
if kms_key_arn is not None:
|
|
5996
|
+
self._values["kms_key_arn"] = kms_key_arn
|
|
5997
|
+
|
|
5998
|
+
@builtins.property
|
|
5999
|
+
def encryption_type(self) -> builtins.str:
|
|
6000
|
+
'''
|
|
6001
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-encryptionconfiguration.html#cfn-iot-encryptionconfiguration-encryptiontype
|
|
6002
|
+
'''
|
|
6003
|
+
result = self._values.get("encryption_type")
|
|
6004
|
+
assert result is not None, "Required property 'encryption_type' is missing"
|
|
6005
|
+
return typing.cast(builtins.str, result)
|
|
6006
|
+
|
|
6007
|
+
@builtins.property
|
|
6008
|
+
def kms_access_role_arn(self) -> typing.Optional[builtins.str]:
|
|
6009
|
+
'''
|
|
6010
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-encryptionconfiguration.html#cfn-iot-encryptionconfiguration-kmsaccessrolearn
|
|
6011
|
+
'''
|
|
6012
|
+
result = self._values.get("kms_access_role_arn")
|
|
6013
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6014
|
+
|
|
6015
|
+
@builtins.property
|
|
6016
|
+
def kms_key_arn(self) -> typing.Optional[builtins.str]:
|
|
6017
|
+
'''
|
|
6018
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-encryptionconfiguration.html#cfn-iot-encryptionconfiguration-kmskeyarn
|
|
6019
|
+
'''
|
|
6020
|
+
result = self._values.get("kms_key_arn")
|
|
6021
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6022
|
+
|
|
6023
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6024
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6025
|
+
|
|
6026
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6027
|
+
return not (rhs == self)
|
|
6028
|
+
|
|
6029
|
+
def __repr__(self) -> str:
|
|
6030
|
+
return "CfnEncryptionConfigurationProps(%s)" % ", ".join(
|
|
6031
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6032
|
+
)
|
|
6033
|
+
|
|
6034
|
+
|
|
5709
6035
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
5710
6036
|
class CfnFleetMetric(
|
|
5711
6037
|
_CfnResource_9df397a6,
|
|
@@ -21300,6 +21626,8 @@ __all__ = [
|
|
|
21300
21626
|
"CfnDimensionProps",
|
|
21301
21627
|
"CfnDomainConfiguration",
|
|
21302
21628
|
"CfnDomainConfigurationProps",
|
|
21629
|
+
"CfnEncryptionConfiguration",
|
|
21630
|
+
"CfnEncryptionConfigurationProps",
|
|
21303
21631
|
"CfnFleetMetric",
|
|
21304
21632
|
"CfnFleetMetricProps",
|
|
21305
21633
|
"CfnJobTemplate",
|
|
@@ -22270,6 +22598,65 @@ def _typecheckingstub__af698e1a1ead0a2d7000837dd712796a150772065ad59ab9baf10a759
|
|
|
22270
22598
|
"""Type checking stubs"""
|
|
22271
22599
|
pass
|
|
22272
22600
|
|
|
22601
|
+
def _typecheckingstub__590a310b1ce9a41bd611fc7e92d5bb9381ff548973b6322c201006617fc000f1(
|
|
22602
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
22603
|
+
id: builtins.str,
|
|
22604
|
+
*,
|
|
22605
|
+
encryption_type: builtins.str,
|
|
22606
|
+
kms_access_role_arn: typing.Optional[builtins.str] = None,
|
|
22607
|
+
kms_key_arn: typing.Optional[builtins.str] = None,
|
|
22608
|
+
) -> None:
|
|
22609
|
+
"""Type checking stubs"""
|
|
22610
|
+
pass
|
|
22611
|
+
|
|
22612
|
+
def _typecheckingstub__233141f5c147d73830fe3e9d9d504b3652e1d15f02ed8b705668c8e28e9b750c(
|
|
22613
|
+
inspector: _TreeInspector_488e0dd5,
|
|
22614
|
+
) -> None:
|
|
22615
|
+
"""Type checking stubs"""
|
|
22616
|
+
pass
|
|
22617
|
+
|
|
22618
|
+
def _typecheckingstub__5cd2e788d7ff1c10202a0e433dda70ca35befefeabdbfc3016d8016e6cf1ed37(
|
|
22619
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
22620
|
+
) -> None:
|
|
22621
|
+
"""Type checking stubs"""
|
|
22622
|
+
pass
|
|
22623
|
+
|
|
22624
|
+
def _typecheckingstub__7fba231b8f68aa059f7c06875e959b3f3bd5636f6165991d32e54a5cc6d0bcd5(
|
|
22625
|
+
value: builtins.str,
|
|
22626
|
+
) -> None:
|
|
22627
|
+
"""Type checking stubs"""
|
|
22628
|
+
pass
|
|
22629
|
+
|
|
22630
|
+
def _typecheckingstub__c7090d98481b34dbf2479198088f6a73b9c942d4517672b8d308682e61d5dbba(
|
|
22631
|
+
value: typing.Optional[builtins.str],
|
|
22632
|
+
) -> None:
|
|
22633
|
+
"""Type checking stubs"""
|
|
22634
|
+
pass
|
|
22635
|
+
|
|
22636
|
+
def _typecheckingstub__19b09278cd32890a2953a31edf28ad2ac6b609136b5854732d407ccb4b6766d9(
|
|
22637
|
+
value: typing.Optional[builtins.str],
|
|
22638
|
+
) -> None:
|
|
22639
|
+
"""Type checking stubs"""
|
|
22640
|
+
pass
|
|
22641
|
+
|
|
22642
|
+
def _typecheckingstub__177ce092c0e88e844eafa9e6b2f72e02413a4aecda7bf05efcdfd6fbf7857eff(
|
|
22643
|
+
*,
|
|
22644
|
+
configuration_status: typing.Optional[builtins.str] = None,
|
|
22645
|
+
error_code: typing.Optional[builtins.str] = None,
|
|
22646
|
+
error_message: typing.Optional[builtins.str] = None,
|
|
22647
|
+
) -> None:
|
|
22648
|
+
"""Type checking stubs"""
|
|
22649
|
+
pass
|
|
22650
|
+
|
|
22651
|
+
def _typecheckingstub__336ea497535e43391cf9df6341fe126d948316050e95d2d41cb831737802b9ab(
|
|
22652
|
+
*,
|
|
22653
|
+
encryption_type: builtins.str,
|
|
22654
|
+
kms_access_role_arn: typing.Optional[builtins.str] = None,
|
|
22655
|
+
kms_key_arn: typing.Optional[builtins.str] = None,
|
|
22656
|
+
) -> None:
|
|
22657
|
+
"""Type checking stubs"""
|
|
22658
|
+
pass
|
|
22659
|
+
|
|
22273
22660
|
def _typecheckingstub__3b4b6a6d0b19c68229922afca72d9918cdfd5933a93f8ad694fe94bccab652c5(
|
|
22274
22661
|
scope: _constructs_77d1e7e8.Construct,
|
|
22275
22662
|
id: builtins.str,
|