aws-cdk-lib 2.210.0__py3-none-any.whl → 2.212.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 +404 -54
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.210.0.jsii.tgz → aws-cdk-lib@2.212.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -1
- aws_cdk/aws_apigateway/__init__.py +2 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1798 -74
- aws_cdk/aws_appconfig/__init__.py +9 -0
- aws_cdk/aws_appintegrations/__init__.py +395 -0
- aws_cdk/aws_arcregionswitch/__init__.py +5080 -0
- aws_cdk/aws_athena/__init__.py +23 -19
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_batch/__init__.py +725 -55
- aws_cdk/aws_bedrock/__init__.py +18 -0
- aws_cdk/aws_billingconductor/__init__.py +3 -3
- aws_cdk/aws_cassandra/__init__.py +28 -1
- aws_cdk/aws_cloudfront/__init__.py +39 -8
- aws_cdk/aws_codebuild/__init__.py +122 -0
- aws_cdk/aws_codepipeline/__init__.py +51 -50
- aws_cdk/aws_cognito/__init__.py +9 -2
- aws_cdk/aws_connect/__init__.py +40 -15
- aws_cdk/aws_datazone/__init__.py +118 -77
- aws_cdk/aws_dax/__init__.py +39 -0
- aws_cdk/aws_deadline/__init__.py +166 -7
- aws_cdk/aws_docdb/__init__.py +20 -11
- aws_cdk/aws_dynamodb/__init__.py +246 -36
- aws_cdk/aws_ec2/__init__.py +1044 -111
- aws_cdk/aws_ecr/__init__.py +274 -0
- aws_cdk/aws_ecs/__init__.py +1637 -137
- aws_cdk/aws_eks/__init__.py +53 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +31 -17
- aws_cdk/aws_entityresolution/__init__.py +240 -45
- aws_cdk/aws_evs/__init__.py +20 -45
- aws_cdk/aws_gameliftstreams/__init__.py +7 -6
- aws_cdk/aws_glue/__init__.py +18 -9
- aws_cdk/aws_guardduty/__init__.py +1233 -113
- aws_cdk/aws_imagebuilder/__init__.py +34 -20
- aws_cdk/aws_inspectorv2/__init__.py +1516 -0
- 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_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +9 -9
- 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_omics/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +2 -2
- aws_cdk/aws_opensearchservice/__init__.py +128 -0
- aws_cdk/aws_opsworks/__init__.py +125 -125
- aws_cdk/aws_opsworkscm/__init__.py +1 -53
- aws_cdk/aws_pcs/__init__.py +49 -5
- aws_cdk/aws_qbusiness/__init__.py +3 -3
- aws_cdk/aws_quicksight/__init__.py +188 -83
- aws_cdk/aws_rds/__init__.py +245 -103
- aws_cdk/aws_s3/__init__.py +56 -1
- aws_cdk/aws_s3express/__init__.py +56 -1
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +4080 -223
- aws_cdk/aws_ses/__init__.py +172 -9
- aws_cdk/aws_sqs/__init__.py +4 -3
- aws_cdk/aws_ssm/__init__.py +8 -4
- aws_cdk/aws_stepfunctions_tasks/__init__.py +16 -9
- aws_cdk/aws_synthetics/__init__.py +116 -0
- 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/cx_api/__init__.py +22 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/METADATA +335 -15
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/RECORD +78 -76
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/top_level.txt +0 -0
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,
|