aws-cdk-lib 2.168.0__py3-none-any.whl → 2.169.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 +2 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.168.0.jsii.tgz → aws-cdk-lib@2.169.0.jsii.tgz} +0 -0
- aws_cdk/aws_accessanalyzer/__init__.py +244 -13
- aws_cdk/aws_applicationsignals/__init__.py +8 -1
- aws_cdk/aws_autoscaling/__init__.py +310 -9
- aws_cdk/aws_cloudfront/__init__.py +50 -0
- aws_cdk/aws_codebuild/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +378 -0
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_deadline/__init__.py +299 -6
- aws_cdk/aws_dynamodb/__init__.py +47 -25
- aws_cdk/aws_ec2/__init__.py +6 -2
- aws_cdk/aws_ecs/__init__.py +28 -22
- aws_cdk/aws_efs/__init__.py +61 -4
- aws_cdk/aws_eks/__init__.py +116 -0
- aws_cdk/aws_gamelift/__init__.py +385 -251
- aws_cdk/aws_iot/__init__.py +209 -0
- aws_cdk/aws_iotfleetwise/__init__.py +550 -0
- aws_cdk/aws_iotsitewise/__init__.py +6 -3
- aws_cdk/aws_ivs/__init__.py +458 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +90 -33
- aws_cdk/aws_rbin/__init__.py +902 -0
- aws_cdk/aws_rds/__init__.py +115 -0
- aws_cdk/aws_route53resolver/__init__.py +76 -19
- aws_cdk/aws_sagemaker/__init__.py +32 -0
- aws_cdk/aws_sns/__init__.py +593 -8
- aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
- aws_cdk/aws_synthetics/__init__.py +46 -0
- aws_cdk/aws_vpclattice/__init__.py +118 -2
- aws_cdk/aws_wisdom/__init__.py +16 -21
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/RECORD +37 -36
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/top_level.txt +0 -0
|
@@ -131,6 +131,28 @@ class CfnCampaign(
|
|
|
131
131
|
)
|
|
132
132
|
)],
|
|
133
133
|
data_extra_dimensions=["dataExtraDimensions"],
|
|
134
|
+
data_partitions=[iotfleetwise.CfnCampaign.DataPartitionProperty(
|
|
135
|
+
id="id",
|
|
136
|
+
storage_options=iotfleetwise.CfnCampaign.DataPartitionStorageOptionsProperty(
|
|
137
|
+
maximum_size=iotfleetwise.CfnCampaign.StorageMaximumSizeProperty(
|
|
138
|
+
unit="unit",
|
|
139
|
+
value=123
|
|
140
|
+
),
|
|
141
|
+
minimum_time_to_live=iotfleetwise.CfnCampaign.StorageMinimumTimeToLiveProperty(
|
|
142
|
+
unit="unit",
|
|
143
|
+
value=123
|
|
144
|
+
),
|
|
145
|
+
storage_location="storageLocation"
|
|
146
|
+
),
|
|
147
|
+
|
|
148
|
+
# the properties below are optional
|
|
149
|
+
upload_options=iotfleetwise.CfnCampaign.DataPartitionUploadOptionsProperty(
|
|
150
|
+
expression="expression",
|
|
151
|
+
|
|
152
|
+
# the properties below are optional
|
|
153
|
+
condition_language_version=123
|
|
154
|
+
)
|
|
155
|
+
)],
|
|
134
156
|
description="description",
|
|
135
157
|
diagnostics_mode="diagnosticsMode",
|
|
136
158
|
expiry_time="expiryTime",
|
|
@@ -140,6 +162,7 @@ class CfnCampaign(
|
|
|
140
162
|
name="name",
|
|
141
163
|
|
|
142
164
|
# the properties below are optional
|
|
165
|
+
data_partition_id="dataPartitionId",
|
|
143
166
|
max_sample_count=123,
|
|
144
167
|
minimum_sampling_interval_ms=123
|
|
145
168
|
)],
|
|
@@ -181,6 +204,7 @@ class CfnCampaign(
|
|
|
181
204
|
compression: typing.Optional[builtins.str] = None,
|
|
182
205
|
data_destination_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCampaign.DataDestinationConfigProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
183
206
|
data_extra_dimensions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
207
|
+
data_partitions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCampaign.DataPartitionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
184
208
|
description: typing.Optional[builtins.str] = None,
|
|
185
209
|
diagnostics_mode: typing.Optional[builtins.str] = None,
|
|
186
210
|
expiry_time: typing.Optional[builtins.str] = None,
|
|
@@ -203,6 +227,7 @@ class CfnCampaign(
|
|
|
203
227
|
:param compression: (Optional) Whether to compress signals before transmitting data to AWS IoT FleetWise . If you don't want to compress the signals, use ``OFF`` . If it's not specified, ``SNAPPY`` is used. Default: ``SNAPPY`` Default: - "OFF"
|
|
204
228
|
:param data_destination_configs: (Optional) The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon Timestream . Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data lakes, centralized data storage, data processing pipelines, and analytics. AWS IoT FleetWise supports at-least-once file delivery to S3. Your vehicle data is stored on multiple AWS IoT FleetWise servers for redundancy and high availability. You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so that you can identify trends and patterns.
|
|
205
229
|
:param data_extra_dimensions: (Optional) A list of vehicle attributes to associate with a campaign. Enrich the data with specified vehicle attributes. For example, add ``make`` and ``model`` to the campaign, and AWS IoT FleetWise will associate the data with those attributes as dimensions in Amazon Timestream . You can then query the data against ``make`` and ``model`` . Default: An empty array
|
|
230
|
+
:param data_partitions:
|
|
206
231
|
:param description: (Optional) The description of the campaign.
|
|
207
232
|
:param diagnostics_mode: (Optional) Option for a vehicle to send diagnostic trouble codes to AWS IoT FleetWise . If you want to send diagnostic trouble codes, use ``SEND_ACTIVE_DTCS`` . If it's not specified, ``OFF`` is used. Default: ``OFF`` Default: - "OFF"
|
|
208
233
|
:param expiry_time: (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data isn't collected after the campaign expires. Default: 253402214400 (December 31, 9999, 00:00:00 UTC) Default: - "253402214400"
|
|
@@ -227,6 +252,7 @@ class CfnCampaign(
|
|
|
227
252
|
compression=compression,
|
|
228
253
|
data_destination_configs=data_destination_configs,
|
|
229
254
|
data_extra_dimensions=data_extra_dimensions,
|
|
255
|
+
data_partitions=data_partitions,
|
|
230
256
|
description=description,
|
|
231
257
|
diagnostics_mode=diagnostics_mode,
|
|
232
258
|
expiry_time=expiry_time,
|
|
@@ -440,6 +466,23 @@ class CfnCampaign(
|
|
|
440
466
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
441
467
|
jsii.set(self, "dataExtraDimensions", value) # pyright: ignore[reportArgumentType]
|
|
442
468
|
|
|
469
|
+
@builtins.property
|
|
470
|
+
@jsii.member(jsii_name="dataPartitions")
|
|
471
|
+
def data_partitions(
|
|
472
|
+
self,
|
|
473
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCampaign.DataPartitionProperty"]]]]:
|
|
474
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCampaign.DataPartitionProperty"]]]], jsii.get(self, "dataPartitions"))
|
|
475
|
+
|
|
476
|
+
@data_partitions.setter
|
|
477
|
+
def data_partitions(
|
|
478
|
+
self,
|
|
479
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCampaign.DataPartitionProperty"]]]],
|
|
480
|
+
) -> None:
|
|
481
|
+
if __debug__:
|
|
482
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0e28c8d41eff51a2c0a71a4106b83d99272cca3ed1db06bf167cc4f519354dd1)
|
|
483
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
484
|
+
jsii.set(self, "dataPartitions", value) # pyright: ignore[reportArgumentType]
|
|
485
|
+
|
|
443
486
|
@builtins.property
|
|
444
487
|
@jsii.member(jsii_name="description")
|
|
445
488
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -964,6 +1007,282 @@ class CfnCampaign(
|
|
|
964
1007
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
965
1008
|
)
|
|
966
1009
|
|
|
1010
|
+
@jsii.data_type(
|
|
1011
|
+
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.DataPartitionProperty",
|
|
1012
|
+
jsii_struct_bases=[],
|
|
1013
|
+
name_mapping={
|
|
1014
|
+
"id": "id",
|
|
1015
|
+
"storage_options": "storageOptions",
|
|
1016
|
+
"upload_options": "uploadOptions",
|
|
1017
|
+
},
|
|
1018
|
+
)
|
|
1019
|
+
class DataPartitionProperty:
|
|
1020
|
+
def __init__(
|
|
1021
|
+
self,
|
|
1022
|
+
*,
|
|
1023
|
+
id: builtins.str,
|
|
1024
|
+
storage_options: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCampaign.DataPartitionStorageOptionsProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1025
|
+
upload_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCampaign.DataPartitionUploadOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1026
|
+
) -> None:
|
|
1027
|
+
'''
|
|
1028
|
+
:param id:
|
|
1029
|
+
:param storage_options:
|
|
1030
|
+
:param upload_options:
|
|
1031
|
+
|
|
1032
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-datapartition.html
|
|
1033
|
+
:exampleMetadata: fixture=_generated
|
|
1034
|
+
|
|
1035
|
+
Example::
|
|
1036
|
+
|
|
1037
|
+
# The code below shows an example of how to instantiate this type.
|
|
1038
|
+
# The values are placeholders you should change.
|
|
1039
|
+
from aws_cdk import aws_iotfleetwise as iotfleetwise
|
|
1040
|
+
|
|
1041
|
+
data_partition_property = iotfleetwise.CfnCampaign.DataPartitionProperty(
|
|
1042
|
+
id="id",
|
|
1043
|
+
storage_options=iotfleetwise.CfnCampaign.DataPartitionStorageOptionsProperty(
|
|
1044
|
+
maximum_size=iotfleetwise.CfnCampaign.StorageMaximumSizeProperty(
|
|
1045
|
+
unit="unit",
|
|
1046
|
+
value=123
|
|
1047
|
+
),
|
|
1048
|
+
minimum_time_to_live=iotfleetwise.CfnCampaign.StorageMinimumTimeToLiveProperty(
|
|
1049
|
+
unit="unit",
|
|
1050
|
+
value=123
|
|
1051
|
+
),
|
|
1052
|
+
storage_location="storageLocation"
|
|
1053
|
+
),
|
|
1054
|
+
|
|
1055
|
+
# the properties below are optional
|
|
1056
|
+
upload_options=iotfleetwise.CfnCampaign.DataPartitionUploadOptionsProperty(
|
|
1057
|
+
expression="expression",
|
|
1058
|
+
|
|
1059
|
+
# the properties below are optional
|
|
1060
|
+
condition_language_version=123
|
|
1061
|
+
)
|
|
1062
|
+
)
|
|
1063
|
+
'''
|
|
1064
|
+
if __debug__:
|
|
1065
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bd3787864cce71fcf61244d09dfdf6e1bd60880492a62d83defdbedd1f2eac64)
|
|
1066
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1067
|
+
check_type(argname="argument storage_options", value=storage_options, expected_type=type_hints["storage_options"])
|
|
1068
|
+
check_type(argname="argument upload_options", value=upload_options, expected_type=type_hints["upload_options"])
|
|
1069
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1070
|
+
"id": id,
|
|
1071
|
+
"storage_options": storage_options,
|
|
1072
|
+
}
|
|
1073
|
+
if upload_options is not None:
|
|
1074
|
+
self._values["upload_options"] = upload_options
|
|
1075
|
+
|
|
1076
|
+
@builtins.property
|
|
1077
|
+
def id(self) -> builtins.str:
|
|
1078
|
+
'''
|
|
1079
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-datapartition.html#cfn-iotfleetwise-campaign-datapartition-id
|
|
1080
|
+
'''
|
|
1081
|
+
result = self._values.get("id")
|
|
1082
|
+
assert result is not None, "Required property 'id' is missing"
|
|
1083
|
+
return typing.cast(builtins.str, result)
|
|
1084
|
+
|
|
1085
|
+
@builtins.property
|
|
1086
|
+
def storage_options(
|
|
1087
|
+
self,
|
|
1088
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnCampaign.DataPartitionStorageOptionsProperty"]:
|
|
1089
|
+
'''
|
|
1090
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-datapartition.html#cfn-iotfleetwise-campaign-datapartition-storageoptions
|
|
1091
|
+
'''
|
|
1092
|
+
result = self._values.get("storage_options")
|
|
1093
|
+
assert result is not None, "Required property 'storage_options' is missing"
|
|
1094
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCampaign.DataPartitionStorageOptionsProperty"], result)
|
|
1095
|
+
|
|
1096
|
+
@builtins.property
|
|
1097
|
+
def upload_options(
|
|
1098
|
+
self,
|
|
1099
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCampaign.DataPartitionUploadOptionsProperty"]]:
|
|
1100
|
+
'''
|
|
1101
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-datapartition.html#cfn-iotfleetwise-campaign-datapartition-uploadoptions
|
|
1102
|
+
'''
|
|
1103
|
+
result = self._values.get("upload_options")
|
|
1104
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCampaign.DataPartitionUploadOptionsProperty"]], result)
|
|
1105
|
+
|
|
1106
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1107
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1108
|
+
|
|
1109
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1110
|
+
return not (rhs == self)
|
|
1111
|
+
|
|
1112
|
+
def __repr__(self) -> str:
|
|
1113
|
+
return "DataPartitionProperty(%s)" % ", ".join(
|
|
1114
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1115
|
+
)
|
|
1116
|
+
|
|
1117
|
+
@jsii.data_type(
|
|
1118
|
+
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.DataPartitionStorageOptionsProperty",
|
|
1119
|
+
jsii_struct_bases=[],
|
|
1120
|
+
name_mapping={
|
|
1121
|
+
"maximum_size": "maximumSize",
|
|
1122
|
+
"minimum_time_to_live": "minimumTimeToLive",
|
|
1123
|
+
"storage_location": "storageLocation",
|
|
1124
|
+
},
|
|
1125
|
+
)
|
|
1126
|
+
class DataPartitionStorageOptionsProperty:
|
|
1127
|
+
def __init__(
|
|
1128
|
+
self,
|
|
1129
|
+
*,
|
|
1130
|
+
maximum_size: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCampaign.StorageMaximumSizeProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1131
|
+
minimum_time_to_live: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCampaign.StorageMinimumTimeToLiveProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1132
|
+
storage_location: builtins.str,
|
|
1133
|
+
) -> None:
|
|
1134
|
+
'''
|
|
1135
|
+
:param maximum_size:
|
|
1136
|
+
:param minimum_time_to_live:
|
|
1137
|
+
:param storage_location:
|
|
1138
|
+
|
|
1139
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-datapartitionstorageoptions.html
|
|
1140
|
+
:exampleMetadata: fixture=_generated
|
|
1141
|
+
|
|
1142
|
+
Example::
|
|
1143
|
+
|
|
1144
|
+
# The code below shows an example of how to instantiate this type.
|
|
1145
|
+
# The values are placeholders you should change.
|
|
1146
|
+
from aws_cdk import aws_iotfleetwise as iotfleetwise
|
|
1147
|
+
|
|
1148
|
+
data_partition_storage_options_property = iotfleetwise.CfnCampaign.DataPartitionStorageOptionsProperty(
|
|
1149
|
+
maximum_size=iotfleetwise.CfnCampaign.StorageMaximumSizeProperty(
|
|
1150
|
+
unit="unit",
|
|
1151
|
+
value=123
|
|
1152
|
+
),
|
|
1153
|
+
minimum_time_to_live=iotfleetwise.CfnCampaign.StorageMinimumTimeToLiveProperty(
|
|
1154
|
+
unit="unit",
|
|
1155
|
+
value=123
|
|
1156
|
+
),
|
|
1157
|
+
storage_location="storageLocation"
|
|
1158
|
+
)
|
|
1159
|
+
'''
|
|
1160
|
+
if __debug__:
|
|
1161
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3ddb9a8ece0eb78c362a50476995f8af80aa96a84db84ef19d43d9110cfdc6b6)
|
|
1162
|
+
check_type(argname="argument maximum_size", value=maximum_size, expected_type=type_hints["maximum_size"])
|
|
1163
|
+
check_type(argname="argument minimum_time_to_live", value=minimum_time_to_live, expected_type=type_hints["minimum_time_to_live"])
|
|
1164
|
+
check_type(argname="argument storage_location", value=storage_location, expected_type=type_hints["storage_location"])
|
|
1165
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1166
|
+
"maximum_size": maximum_size,
|
|
1167
|
+
"minimum_time_to_live": minimum_time_to_live,
|
|
1168
|
+
"storage_location": storage_location,
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
@builtins.property
|
|
1172
|
+
def maximum_size(
|
|
1173
|
+
self,
|
|
1174
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnCampaign.StorageMaximumSizeProperty"]:
|
|
1175
|
+
'''
|
|
1176
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-datapartitionstorageoptions.html#cfn-iotfleetwise-campaign-datapartitionstorageoptions-maximumsize
|
|
1177
|
+
'''
|
|
1178
|
+
result = self._values.get("maximum_size")
|
|
1179
|
+
assert result is not None, "Required property 'maximum_size' is missing"
|
|
1180
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCampaign.StorageMaximumSizeProperty"], result)
|
|
1181
|
+
|
|
1182
|
+
@builtins.property
|
|
1183
|
+
def minimum_time_to_live(
|
|
1184
|
+
self,
|
|
1185
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnCampaign.StorageMinimumTimeToLiveProperty"]:
|
|
1186
|
+
'''
|
|
1187
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-datapartitionstorageoptions.html#cfn-iotfleetwise-campaign-datapartitionstorageoptions-minimumtimetolive
|
|
1188
|
+
'''
|
|
1189
|
+
result = self._values.get("minimum_time_to_live")
|
|
1190
|
+
assert result is not None, "Required property 'minimum_time_to_live' is missing"
|
|
1191
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCampaign.StorageMinimumTimeToLiveProperty"], result)
|
|
1192
|
+
|
|
1193
|
+
@builtins.property
|
|
1194
|
+
def storage_location(self) -> builtins.str:
|
|
1195
|
+
'''
|
|
1196
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-datapartitionstorageoptions.html#cfn-iotfleetwise-campaign-datapartitionstorageoptions-storagelocation
|
|
1197
|
+
'''
|
|
1198
|
+
result = self._values.get("storage_location")
|
|
1199
|
+
assert result is not None, "Required property 'storage_location' is missing"
|
|
1200
|
+
return typing.cast(builtins.str, result)
|
|
1201
|
+
|
|
1202
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1203
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1204
|
+
|
|
1205
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1206
|
+
return not (rhs == self)
|
|
1207
|
+
|
|
1208
|
+
def __repr__(self) -> str:
|
|
1209
|
+
return "DataPartitionStorageOptionsProperty(%s)" % ", ".join(
|
|
1210
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1211
|
+
)
|
|
1212
|
+
|
|
1213
|
+
@jsii.data_type(
|
|
1214
|
+
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.DataPartitionUploadOptionsProperty",
|
|
1215
|
+
jsii_struct_bases=[],
|
|
1216
|
+
name_mapping={
|
|
1217
|
+
"expression": "expression",
|
|
1218
|
+
"condition_language_version": "conditionLanguageVersion",
|
|
1219
|
+
},
|
|
1220
|
+
)
|
|
1221
|
+
class DataPartitionUploadOptionsProperty:
|
|
1222
|
+
def __init__(
|
|
1223
|
+
self,
|
|
1224
|
+
*,
|
|
1225
|
+
expression: builtins.str,
|
|
1226
|
+
condition_language_version: typing.Optional[jsii.Number] = None,
|
|
1227
|
+
) -> None:
|
|
1228
|
+
'''
|
|
1229
|
+
:param expression:
|
|
1230
|
+
:param condition_language_version:
|
|
1231
|
+
|
|
1232
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-datapartitionuploadoptions.html
|
|
1233
|
+
:exampleMetadata: fixture=_generated
|
|
1234
|
+
|
|
1235
|
+
Example::
|
|
1236
|
+
|
|
1237
|
+
# The code below shows an example of how to instantiate this type.
|
|
1238
|
+
# The values are placeholders you should change.
|
|
1239
|
+
from aws_cdk import aws_iotfleetwise as iotfleetwise
|
|
1240
|
+
|
|
1241
|
+
data_partition_upload_options_property = iotfleetwise.CfnCampaign.DataPartitionUploadOptionsProperty(
|
|
1242
|
+
expression="expression",
|
|
1243
|
+
|
|
1244
|
+
# the properties below are optional
|
|
1245
|
+
condition_language_version=123
|
|
1246
|
+
)
|
|
1247
|
+
'''
|
|
1248
|
+
if __debug__:
|
|
1249
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aca6d049845089d2536492d500325ea4834413145c7570a89e3f0ce2f388890a)
|
|
1250
|
+
check_type(argname="argument expression", value=expression, expected_type=type_hints["expression"])
|
|
1251
|
+
check_type(argname="argument condition_language_version", value=condition_language_version, expected_type=type_hints["condition_language_version"])
|
|
1252
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1253
|
+
"expression": expression,
|
|
1254
|
+
}
|
|
1255
|
+
if condition_language_version is not None:
|
|
1256
|
+
self._values["condition_language_version"] = condition_language_version
|
|
1257
|
+
|
|
1258
|
+
@builtins.property
|
|
1259
|
+
def expression(self) -> builtins.str:
|
|
1260
|
+
'''
|
|
1261
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-datapartitionuploadoptions.html#cfn-iotfleetwise-campaign-datapartitionuploadoptions-expression
|
|
1262
|
+
'''
|
|
1263
|
+
result = self._values.get("expression")
|
|
1264
|
+
assert result is not None, "Required property 'expression' is missing"
|
|
1265
|
+
return typing.cast(builtins.str, result)
|
|
1266
|
+
|
|
1267
|
+
@builtins.property
|
|
1268
|
+
def condition_language_version(self) -> typing.Optional[jsii.Number]:
|
|
1269
|
+
'''
|
|
1270
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-datapartitionuploadoptions.html#cfn-iotfleetwise-campaign-datapartitionuploadoptions-conditionlanguageversion
|
|
1271
|
+
'''
|
|
1272
|
+
result = self._values.get("condition_language_version")
|
|
1273
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1274
|
+
|
|
1275
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1276
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1277
|
+
|
|
1278
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1279
|
+
return not (rhs == self)
|
|
1280
|
+
|
|
1281
|
+
def __repr__(self) -> str:
|
|
1282
|
+
return "DataPartitionUploadOptionsProperty(%s)" % ", ".join(
|
|
1283
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1284
|
+
)
|
|
1285
|
+
|
|
967
1286
|
@jsii.data_type(
|
|
968
1287
|
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.MqttTopicConfigProperty",
|
|
969
1288
|
jsii_struct_bases=[],
|
|
@@ -1348,6 +1667,7 @@ class CfnCampaign(
|
|
|
1348
1667
|
jsii_struct_bases=[],
|
|
1349
1668
|
name_mapping={
|
|
1350
1669
|
"name": "name",
|
|
1670
|
+
"data_partition_id": "dataPartitionId",
|
|
1351
1671
|
"max_sample_count": "maxSampleCount",
|
|
1352
1672
|
"minimum_sampling_interval_ms": "minimumSamplingIntervalMs",
|
|
1353
1673
|
},
|
|
@@ -1357,12 +1677,14 @@ class CfnCampaign(
|
|
|
1357
1677
|
self,
|
|
1358
1678
|
*,
|
|
1359
1679
|
name: builtins.str,
|
|
1680
|
+
data_partition_id: typing.Optional[builtins.str] = None,
|
|
1360
1681
|
max_sample_count: typing.Optional[jsii.Number] = None,
|
|
1361
1682
|
minimum_sampling_interval_ms: typing.Optional[jsii.Number] = None,
|
|
1362
1683
|
) -> None:
|
|
1363
1684
|
'''Information about a signal.
|
|
1364
1685
|
|
|
1365
1686
|
:param name: The name of the signal.
|
|
1687
|
+
:param data_partition_id:
|
|
1366
1688
|
:param max_sample_count: (Optional) The maximum number of samples to collect.
|
|
1367
1689
|
:param minimum_sampling_interval_ms: (Optional) The minimum duration of time (in milliseconds) between two triggering events to collect data. .. epigraph:: If a signal changes often, you might want to collect data at a slower rate.
|
|
1368
1690
|
|
|
@@ -1379,6 +1701,7 @@ class CfnCampaign(
|
|
|
1379
1701
|
name="name",
|
|
1380
1702
|
|
|
1381
1703
|
# the properties below are optional
|
|
1704
|
+
data_partition_id="dataPartitionId",
|
|
1382
1705
|
max_sample_count=123,
|
|
1383
1706
|
minimum_sampling_interval_ms=123
|
|
1384
1707
|
)
|
|
@@ -1386,11 +1709,14 @@ class CfnCampaign(
|
|
|
1386
1709
|
if __debug__:
|
|
1387
1710
|
type_hints = typing.get_type_hints(_typecheckingstub__53d5027f8c4da8a26f3f9cf9e5ab42f41c46c70820c567f2c340ad26784c6997)
|
|
1388
1711
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1712
|
+
check_type(argname="argument data_partition_id", value=data_partition_id, expected_type=type_hints["data_partition_id"])
|
|
1389
1713
|
check_type(argname="argument max_sample_count", value=max_sample_count, expected_type=type_hints["max_sample_count"])
|
|
1390
1714
|
check_type(argname="argument minimum_sampling_interval_ms", value=minimum_sampling_interval_ms, expected_type=type_hints["minimum_sampling_interval_ms"])
|
|
1391
1715
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1392
1716
|
"name": name,
|
|
1393
1717
|
}
|
|
1718
|
+
if data_partition_id is not None:
|
|
1719
|
+
self._values["data_partition_id"] = data_partition_id
|
|
1394
1720
|
if max_sample_count is not None:
|
|
1395
1721
|
self._values["max_sample_count"] = max_sample_count
|
|
1396
1722
|
if minimum_sampling_interval_ms is not None:
|
|
@@ -1406,6 +1732,14 @@ class CfnCampaign(
|
|
|
1406
1732
|
assert result is not None, "Required property 'name' is missing"
|
|
1407
1733
|
return typing.cast(builtins.str, result)
|
|
1408
1734
|
|
|
1735
|
+
@builtins.property
|
|
1736
|
+
def data_partition_id(self) -> typing.Optional[builtins.str]:
|
|
1737
|
+
'''
|
|
1738
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-signalinformation.html#cfn-iotfleetwise-campaign-signalinformation-datapartitionid
|
|
1739
|
+
'''
|
|
1740
|
+
result = self._values.get("data_partition_id")
|
|
1741
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1742
|
+
|
|
1409
1743
|
@builtins.property
|
|
1410
1744
|
def max_sample_count(self) -> typing.Optional[jsii.Number]:
|
|
1411
1745
|
'''(Optional) The maximum number of samples to collect.
|
|
@@ -1439,6 +1773,132 @@ class CfnCampaign(
|
|
|
1439
1773
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1440
1774
|
)
|
|
1441
1775
|
|
|
1776
|
+
@jsii.data_type(
|
|
1777
|
+
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.StorageMaximumSizeProperty",
|
|
1778
|
+
jsii_struct_bases=[],
|
|
1779
|
+
name_mapping={"unit": "unit", "value": "value"},
|
|
1780
|
+
)
|
|
1781
|
+
class StorageMaximumSizeProperty:
|
|
1782
|
+
def __init__(self, *, unit: builtins.str, value: jsii.Number) -> None:
|
|
1783
|
+
'''
|
|
1784
|
+
:param unit:
|
|
1785
|
+
:param value:
|
|
1786
|
+
|
|
1787
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-storagemaximumsize.html
|
|
1788
|
+
:exampleMetadata: fixture=_generated
|
|
1789
|
+
|
|
1790
|
+
Example::
|
|
1791
|
+
|
|
1792
|
+
# The code below shows an example of how to instantiate this type.
|
|
1793
|
+
# The values are placeholders you should change.
|
|
1794
|
+
from aws_cdk import aws_iotfleetwise as iotfleetwise
|
|
1795
|
+
|
|
1796
|
+
storage_maximum_size_property = iotfleetwise.CfnCampaign.StorageMaximumSizeProperty(
|
|
1797
|
+
unit="unit",
|
|
1798
|
+
value=123
|
|
1799
|
+
)
|
|
1800
|
+
'''
|
|
1801
|
+
if __debug__:
|
|
1802
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dab410f1ac2779faa20576e047ffe3cdff59cdfae9a7dbce24e8e3e75eac9e48)
|
|
1803
|
+
check_type(argname="argument unit", value=unit, expected_type=type_hints["unit"])
|
|
1804
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1805
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1806
|
+
"unit": unit,
|
|
1807
|
+
"value": value,
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
@builtins.property
|
|
1811
|
+
def unit(self) -> builtins.str:
|
|
1812
|
+
'''
|
|
1813
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-storagemaximumsize.html#cfn-iotfleetwise-campaign-storagemaximumsize-unit
|
|
1814
|
+
'''
|
|
1815
|
+
result = self._values.get("unit")
|
|
1816
|
+
assert result is not None, "Required property 'unit' is missing"
|
|
1817
|
+
return typing.cast(builtins.str, result)
|
|
1818
|
+
|
|
1819
|
+
@builtins.property
|
|
1820
|
+
def value(self) -> jsii.Number:
|
|
1821
|
+
'''
|
|
1822
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-storagemaximumsize.html#cfn-iotfleetwise-campaign-storagemaximumsize-value
|
|
1823
|
+
'''
|
|
1824
|
+
result = self._values.get("value")
|
|
1825
|
+
assert result is not None, "Required property 'value' is missing"
|
|
1826
|
+
return typing.cast(jsii.Number, result)
|
|
1827
|
+
|
|
1828
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1829
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1830
|
+
|
|
1831
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1832
|
+
return not (rhs == self)
|
|
1833
|
+
|
|
1834
|
+
def __repr__(self) -> str:
|
|
1835
|
+
return "StorageMaximumSizeProperty(%s)" % ", ".join(
|
|
1836
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1837
|
+
)
|
|
1838
|
+
|
|
1839
|
+
@jsii.data_type(
|
|
1840
|
+
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.StorageMinimumTimeToLiveProperty",
|
|
1841
|
+
jsii_struct_bases=[],
|
|
1842
|
+
name_mapping={"unit": "unit", "value": "value"},
|
|
1843
|
+
)
|
|
1844
|
+
class StorageMinimumTimeToLiveProperty:
|
|
1845
|
+
def __init__(self, *, unit: builtins.str, value: jsii.Number) -> None:
|
|
1846
|
+
'''
|
|
1847
|
+
:param unit:
|
|
1848
|
+
:param value:
|
|
1849
|
+
|
|
1850
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-storageminimumtimetolive.html
|
|
1851
|
+
:exampleMetadata: fixture=_generated
|
|
1852
|
+
|
|
1853
|
+
Example::
|
|
1854
|
+
|
|
1855
|
+
# The code below shows an example of how to instantiate this type.
|
|
1856
|
+
# The values are placeholders you should change.
|
|
1857
|
+
from aws_cdk import aws_iotfleetwise as iotfleetwise
|
|
1858
|
+
|
|
1859
|
+
storage_minimum_time_to_live_property = iotfleetwise.CfnCampaign.StorageMinimumTimeToLiveProperty(
|
|
1860
|
+
unit="unit",
|
|
1861
|
+
value=123
|
|
1862
|
+
)
|
|
1863
|
+
'''
|
|
1864
|
+
if __debug__:
|
|
1865
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cbb810fca8a5157fc86e587282874091be40e430fe297cd022bba3f49e8358ac)
|
|
1866
|
+
check_type(argname="argument unit", value=unit, expected_type=type_hints["unit"])
|
|
1867
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1868
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1869
|
+
"unit": unit,
|
|
1870
|
+
"value": value,
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
@builtins.property
|
|
1874
|
+
def unit(self) -> builtins.str:
|
|
1875
|
+
'''
|
|
1876
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-storageminimumtimetolive.html#cfn-iotfleetwise-campaign-storageminimumtimetolive-unit
|
|
1877
|
+
'''
|
|
1878
|
+
result = self._values.get("unit")
|
|
1879
|
+
assert result is not None, "Required property 'unit' is missing"
|
|
1880
|
+
return typing.cast(builtins.str, result)
|
|
1881
|
+
|
|
1882
|
+
@builtins.property
|
|
1883
|
+
def value(self) -> jsii.Number:
|
|
1884
|
+
'''
|
|
1885
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-storageminimumtimetolive.html#cfn-iotfleetwise-campaign-storageminimumtimetolive-value
|
|
1886
|
+
'''
|
|
1887
|
+
result = self._values.get("value")
|
|
1888
|
+
assert result is not None, "Required property 'value' is missing"
|
|
1889
|
+
return typing.cast(jsii.Number, result)
|
|
1890
|
+
|
|
1891
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1892
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1893
|
+
|
|
1894
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1895
|
+
return not (rhs == self)
|
|
1896
|
+
|
|
1897
|
+
def __repr__(self) -> str:
|
|
1898
|
+
return "StorageMinimumTimeToLiveProperty(%s)" % ", ".join(
|
|
1899
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1900
|
+
)
|
|
1901
|
+
|
|
1442
1902
|
@jsii.data_type(
|
|
1443
1903
|
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.TimeBasedCollectionSchemeProperty",
|
|
1444
1904
|
jsii_struct_bases=[],
|
|
@@ -1632,6 +2092,7 @@ class CfnCampaign(
|
|
|
1632
2092
|
"compression": "compression",
|
|
1633
2093
|
"data_destination_configs": "dataDestinationConfigs",
|
|
1634
2094
|
"data_extra_dimensions": "dataExtraDimensions",
|
|
2095
|
+
"data_partitions": "dataPartitions",
|
|
1635
2096
|
"description": "description",
|
|
1636
2097
|
"diagnostics_mode": "diagnosticsMode",
|
|
1637
2098
|
"expiry_time": "expiryTime",
|
|
@@ -1656,6 +2117,7 @@ class CfnCampaignProps:
|
|
|
1656
2117
|
compression: typing.Optional[builtins.str] = None,
|
|
1657
2118
|
data_destination_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.DataDestinationConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1658
2119
|
data_extra_dimensions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2120
|
+
data_partitions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.DataPartitionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1659
2121
|
description: typing.Optional[builtins.str] = None,
|
|
1660
2122
|
diagnostics_mode: typing.Optional[builtins.str] = None,
|
|
1661
2123
|
expiry_time: typing.Optional[builtins.str] = None,
|
|
@@ -1677,6 +2139,7 @@ class CfnCampaignProps:
|
|
|
1677
2139
|
:param compression: (Optional) Whether to compress signals before transmitting data to AWS IoT FleetWise . If you don't want to compress the signals, use ``OFF`` . If it's not specified, ``SNAPPY`` is used. Default: ``SNAPPY`` Default: - "OFF"
|
|
1678
2140
|
:param data_destination_configs: (Optional) The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon Timestream . Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data lakes, centralized data storage, data processing pipelines, and analytics. AWS IoT FleetWise supports at-least-once file delivery to S3. Your vehicle data is stored on multiple AWS IoT FleetWise servers for redundancy and high availability. You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so that you can identify trends and patterns.
|
|
1679
2141
|
:param data_extra_dimensions: (Optional) A list of vehicle attributes to associate with a campaign. Enrich the data with specified vehicle attributes. For example, add ``make`` and ``model`` to the campaign, and AWS IoT FleetWise will associate the data with those attributes as dimensions in Amazon Timestream . You can then query the data against ``make`` and ``model`` . Default: An empty array
|
|
2142
|
+
:param data_partitions:
|
|
1680
2143
|
:param description: (Optional) The description of the campaign.
|
|
1681
2144
|
:param diagnostics_mode: (Optional) Option for a vehicle to send diagnostic trouble codes to AWS IoT FleetWise . If you want to send diagnostic trouble codes, use ``SEND_ACTIVE_DTCS`` . If it's not specified, ``OFF`` is used. Default: ``OFF`` Default: - "OFF"
|
|
1682
2145
|
:param expiry_time: (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data isn't collected after the campaign expires. Default: 253402214400 (December 31, 9999, 00:00:00 UTC) Default: - "253402214400"
|
|
@@ -1737,6 +2200,28 @@ class CfnCampaignProps:
|
|
|
1737
2200
|
)
|
|
1738
2201
|
)],
|
|
1739
2202
|
data_extra_dimensions=["dataExtraDimensions"],
|
|
2203
|
+
data_partitions=[iotfleetwise.CfnCampaign.DataPartitionProperty(
|
|
2204
|
+
id="id",
|
|
2205
|
+
storage_options=iotfleetwise.CfnCampaign.DataPartitionStorageOptionsProperty(
|
|
2206
|
+
maximum_size=iotfleetwise.CfnCampaign.StorageMaximumSizeProperty(
|
|
2207
|
+
unit="unit",
|
|
2208
|
+
value=123
|
|
2209
|
+
),
|
|
2210
|
+
minimum_time_to_live=iotfleetwise.CfnCampaign.StorageMinimumTimeToLiveProperty(
|
|
2211
|
+
unit="unit",
|
|
2212
|
+
value=123
|
|
2213
|
+
),
|
|
2214
|
+
storage_location="storageLocation"
|
|
2215
|
+
),
|
|
2216
|
+
|
|
2217
|
+
# the properties below are optional
|
|
2218
|
+
upload_options=iotfleetwise.CfnCampaign.DataPartitionUploadOptionsProperty(
|
|
2219
|
+
expression="expression",
|
|
2220
|
+
|
|
2221
|
+
# the properties below are optional
|
|
2222
|
+
condition_language_version=123
|
|
2223
|
+
)
|
|
2224
|
+
)],
|
|
1740
2225
|
description="description",
|
|
1741
2226
|
diagnostics_mode="diagnosticsMode",
|
|
1742
2227
|
expiry_time="expiryTime",
|
|
@@ -1746,6 +2231,7 @@ class CfnCampaignProps:
|
|
|
1746
2231
|
name="name",
|
|
1747
2232
|
|
|
1748
2233
|
# the properties below are optional
|
|
2234
|
+
data_partition_id="dataPartitionId",
|
|
1749
2235
|
max_sample_count=123,
|
|
1750
2236
|
minimum_sampling_interval_ms=123
|
|
1751
2237
|
)],
|
|
@@ -1783,6 +2269,7 @@ class CfnCampaignProps:
|
|
|
1783
2269
|
check_type(argname="argument compression", value=compression, expected_type=type_hints["compression"])
|
|
1784
2270
|
check_type(argname="argument data_destination_configs", value=data_destination_configs, expected_type=type_hints["data_destination_configs"])
|
|
1785
2271
|
check_type(argname="argument data_extra_dimensions", value=data_extra_dimensions, expected_type=type_hints["data_extra_dimensions"])
|
|
2272
|
+
check_type(argname="argument data_partitions", value=data_partitions, expected_type=type_hints["data_partitions"])
|
|
1786
2273
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
1787
2274
|
check_type(argname="argument diagnostics_mode", value=diagnostics_mode, expected_type=type_hints["diagnostics_mode"])
|
|
1788
2275
|
check_type(argname="argument expiry_time", value=expiry_time, expected_type=type_hints["expiry_time"])
|
|
@@ -1807,6 +2294,8 @@ class CfnCampaignProps:
|
|
|
1807
2294
|
self._values["data_destination_configs"] = data_destination_configs
|
|
1808
2295
|
if data_extra_dimensions is not None:
|
|
1809
2296
|
self._values["data_extra_dimensions"] = data_extra_dimensions
|
|
2297
|
+
if data_partitions is not None:
|
|
2298
|
+
self._values["data_partitions"] = data_partitions
|
|
1810
2299
|
if description is not None:
|
|
1811
2300
|
self._values["description"] = description
|
|
1812
2301
|
if diagnostics_mode is not None:
|
|
@@ -1931,6 +2420,16 @@ class CfnCampaignProps:
|
|
|
1931
2420
|
result = self._values.get("data_extra_dimensions")
|
|
1932
2421
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1933
2422
|
|
|
2423
|
+
@builtins.property
|
|
2424
|
+
def data_partitions(
|
|
2425
|
+
self,
|
|
2426
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCampaign.DataPartitionProperty]]]]:
|
|
2427
|
+
'''
|
|
2428
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleetwise-campaign.html#cfn-iotfleetwise-campaign-datapartitions
|
|
2429
|
+
'''
|
|
2430
|
+
result = self._values.get("data_partitions")
|
|
2431
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCampaign.DataPartitionProperty]]]], result)
|
|
2432
|
+
|
|
1934
2433
|
@builtins.property
|
|
1935
2434
|
def description(self) -> typing.Optional[builtins.str]:
|
|
1936
2435
|
'''(Optional) The description of the campaign.
|
|
@@ -6382,6 +6881,7 @@ def _typecheckingstub__f7abc45d2046b48ec3bc5807ec2826a784930a5009b41b194dd6e4bed
|
|
|
6382
6881
|
compression: typing.Optional[builtins.str] = None,
|
|
6383
6882
|
data_destination_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.DataDestinationConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6384
6883
|
data_extra_dimensions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6884
|
+
data_partitions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.DataPartitionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6385
6885
|
description: typing.Optional[builtins.str] = None,
|
|
6386
6886
|
diagnostics_mode: typing.Optional[builtins.str] = None,
|
|
6387
6887
|
expiry_time: typing.Optional[builtins.str] = None,
|
|
@@ -6456,6 +6956,12 @@ def _typecheckingstub__d948dada7b0177410b9932e42eb5ef3a76fe3c3274594fb0b3ffa49de
|
|
|
6456
6956
|
"""Type checking stubs"""
|
|
6457
6957
|
pass
|
|
6458
6958
|
|
|
6959
|
+
def _typecheckingstub__0e28c8d41eff51a2c0a71a4106b83d99272cca3ed1db06bf167cc4f519354dd1(
|
|
6960
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCampaign.DataPartitionProperty]]]],
|
|
6961
|
+
) -> None:
|
|
6962
|
+
"""Type checking stubs"""
|
|
6963
|
+
pass
|
|
6964
|
+
|
|
6459
6965
|
def _typecheckingstub__24bd4808a24c1ef5c17e4550fe902693202fc86dca7d97ddddcd994c722276bf(
|
|
6460
6966
|
value: typing.Optional[builtins.str],
|
|
6461
6967
|
) -> None:
|
|
@@ -6551,6 +7057,32 @@ def _typecheckingstub__a76d3ecac8a3286ba64142d7bb2621dd82495be58438bdb339be1559b
|
|
|
6551
7057
|
"""Type checking stubs"""
|
|
6552
7058
|
pass
|
|
6553
7059
|
|
|
7060
|
+
def _typecheckingstub__bd3787864cce71fcf61244d09dfdf6e1bd60880492a62d83defdbedd1f2eac64(
|
|
7061
|
+
*,
|
|
7062
|
+
id: builtins.str,
|
|
7063
|
+
storage_options: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.DataPartitionStorageOptionsProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
7064
|
+
upload_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.DataPartitionUploadOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7065
|
+
) -> None:
|
|
7066
|
+
"""Type checking stubs"""
|
|
7067
|
+
pass
|
|
7068
|
+
|
|
7069
|
+
def _typecheckingstub__3ddb9a8ece0eb78c362a50476995f8af80aa96a84db84ef19d43d9110cfdc6b6(
|
|
7070
|
+
*,
|
|
7071
|
+
maximum_size: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.StorageMaximumSizeProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
7072
|
+
minimum_time_to_live: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.StorageMinimumTimeToLiveProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
7073
|
+
storage_location: builtins.str,
|
|
7074
|
+
) -> None:
|
|
7075
|
+
"""Type checking stubs"""
|
|
7076
|
+
pass
|
|
7077
|
+
|
|
7078
|
+
def _typecheckingstub__aca6d049845089d2536492d500325ea4834413145c7570a89e3f0ce2f388890a(
|
|
7079
|
+
*,
|
|
7080
|
+
expression: builtins.str,
|
|
7081
|
+
condition_language_version: typing.Optional[jsii.Number] = None,
|
|
7082
|
+
) -> None:
|
|
7083
|
+
"""Type checking stubs"""
|
|
7084
|
+
pass
|
|
7085
|
+
|
|
6554
7086
|
def _typecheckingstub__209686ec18cb4107b2d1b131e663816da747fda2930c62c84213e6efecdbbb97(
|
|
6555
7087
|
*,
|
|
6556
7088
|
execution_role_arn: builtins.str,
|
|
@@ -6590,12 +7122,29 @@ def _typecheckingstub__0ce7b2e7c039b451b026dce9f5179434b5d1dc7492a291c8db13df52d
|
|
|
6590
7122
|
def _typecheckingstub__53d5027f8c4da8a26f3f9cf9e5ab42f41c46c70820c567f2c340ad26784c6997(
|
|
6591
7123
|
*,
|
|
6592
7124
|
name: builtins.str,
|
|
7125
|
+
data_partition_id: typing.Optional[builtins.str] = None,
|
|
6593
7126
|
max_sample_count: typing.Optional[jsii.Number] = None,
|
|
6594
7127
|
minimum_sampling_interval_ms: typing.Optional[jsii.Number] = None,
|
|
6595
7128
|
) -> None:
|
|
6596
7129
|
"""Type checking stubs"""
|
|
6597
7130
|
pass
|
|
6598
7131
|
|
|
7132
|
+
def _typecheckingstub__dab410f1ac2779faa20576e047ffe3cdff59cdfae9a7dbce24e8e3e75eac9e48(
|
|
7133
|
+
*,
|
|
7134
|
+
unit: builtins.str,
|
|
7135
|
+
value: jsii.Number,
|
|
7136
|
+
) -> None:
|
|
7137
|
+
"""Type checking stubs"""
|
|
7138
|
+
pass
|
|
7139
|
+
|
|
7140
|
+
def _typecheckingstub__cbb810fca8a5157fc86e587282874091be40e430fe297cd022bba3f49e8358ac(
|
|
7141
|
+
*,
|
|
7142
|
+
unit: builtins.str,
|
|
7143
|
+
value: jsii.Number,
|
|
7144
|
+
) -> None:
|
|
7145
|
+
"""Type checking stubs"""
|
|
7146
|
+
pass
|
|
7147
|
+
|
|
6599
7148
|
def _typecheckingstub__7bffeabbd9e812e2b77c405369e410069d9bd5d47737b57d4b23d11433d93329(
|
|
6600
7149
|
*,
|
|
6601
7150
|
period_ms: jsii.Number,
|
|
@@ -6628,6 +7177,7 @@ def _typecheckingstub__54c45792d3f0c102d3358acf678401b9616a7fee4b70882083776c5f9
|
|
|
6628
7177
|
compression: typing.Optional[builtins.str] = None,
|
|
6629
7178
|
data_destination_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.DataDestinationConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6630
7179
|
data_extra_dimensions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
7180
|
+
data_partitions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.DataPartitionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6631
7181
|
description: typing.Optional[builtins.str] = None,
|
|
6632
7182
|
diagnostics_mode: typing.Optional[builtins.str] = None,
|
|
6633
7183
|
expiry_time: typing.Optional[builtins.str] = None,
|