aws-cdk-lib 2.157.0__py3-none-any.whl → 2.159.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +52 -20
- aws_cdk/_jsii/__init__.py +17 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.157.0.jsii.tgz → aws-cdk-lib@2.159.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +16 -1
- aws_cdk/assertions/__init__.py +16 -1
- aws_cdk/aws_accessanalyzer/__init__.py +16 -1
- aws_cdk/aws_acmpca/__init__.py +16 -1
- aws_cdk/aws_amazonmq/__init__.py +16 -1
- aws_cdk/aws_amplify/__init__.py +38 -9
- aws_cdk/aws_amplifyuibuilder/__init__.py +16 -1
- aws_cdk/aws_apigateway/__init__.py +16 -1
- aws_cdk/aws_apigatewayv2/__init__.py +46 -1
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +16 -1
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +16 -1
- aws_cdk/aws_appconfig/__init__.py +19 -4
- aws_cdk/aws_appflow/__init__.py +16 -1
- aws_cdk/aws_appintegrations/__init__.py +16 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -1
- aws_cdk/aws_applicationinsights/__init__.py +560 -5
- aws_cdk/aws_applicationsignals/__init__.py +186 -143
- aws_cdk/aws_appmesh/__init__.py +16 -1
- aws_cdk/aws_apprunner/__init__.py +16 -1
- aws_cdk/aws_appstream/__init__.py +16 -1
- aws_cdk/aws_appsync/__init__.py +16 -1
- aws_cdk/aws_apptest/__init__.py +16 -1
- aws_cdk/aws_aps/__init__.py +16 -1
- aws_cdk/aws_arczonalshift/__init__.py +16 -1
- aws_cdk/aws_athena/__init__.py +31 -16
- aws_cdk/aws_auditmanager/__init__.py +21 -6
- aws_cdk/aws_autoscaling/__init__.py +16 -1
- aws_cdk/aws_autoscaling_common/__init__.py +16 -1
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +16 -1
- aws_cdk/aws_autoscalingplans/__init__.py +16 -1
- aws_cdk/aws_b2bi/__init__.py +16 -1
- aws_cdk/aws_backup/__init__.py +16 -1
- aws_cdk/aws_backupgateway/__init__.py +16 -1
- aws_cdk/aws_batch/__init__.py +16 -1
- aws_cdk/aws_bcmdataexports/__init__.py +16 -1
- aws_cdk/aws_bedrock/__init__.py +23 -8
- aws_cdk/aws_billingconductor/__init__.py +16 -1
- aws_cdk/aws_budgets/__init__.py +16 -1
- aws_cdk/aws_cassandra/__init__.py +16 -1
- aws_cdk/aws_ce/__init__.py +16 -1
- aws_cdk/aws_certificatemanager/__init__.py +16 -1
- aws_cdk/aws_chatbot/__init__.py +16 -1
- aws_cdk/aws_cleanrooms/__init__.py +16 -1
- aws_cdk/aws_cleanroomsml/__init__.py +16 -1
- aws_cdk/aws_cloud9/__init__.py +16 -1
- aws_cdk/aws_cloudformation/__init__.py +16 -1
- aws_cdk/aws_cloudfront/__init__.py +16 -1
- aws_cdk/aws_cloudfront/experimental/__init__.py +16 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +16 -1
- aws_cdk/aws_cloudtrail/__init__.py +16 -1
- aws_cdk/aws_cloudwatch/__init__.py +16 -1
- aws_cdk/aws_cloudwatch_actions/__init__.py +16 -1
- aws_cdk/aws_codeartifact/__init__.py +16 -1
- aws_cdk/aws_codebuild/__init__.py +55 -19
- aws_cdk/aws_codecommit/__init__.py +16 -1
- aws_cdk/aws_codeconnections/__init__.py +17 -2
- aws_cdk/aws_codedeploy/__init__.py +16 -1
- aws_cdk/aws_codeguruprofiler/__init__.py +16 -1
- aws_cdk/aws_codegurureviewer/__init__.py +16 -1
- aws_cdk/aws_codepipeline/__init__.py +16 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +16 -1
- aws_cdk/aws_codestar/__init__.py +16 -1
- aws_cdk/aws_codestarconnections/__init__.py +16 -1
- aws_cdk/aws_codestarnotifications/__init__.py +16 -1
- aws_cdk/aws_cognito/__init__.py +406 -204
- aws_cdk/aws_comprehend/__init__.py +16 -1
- aws_cdk/aws_config/__init__.py +16 -1
- aws_cdk/aws_connect/__init__.py +1695 -153
- aws_cdk/aws_connectcampaigns/__init__.py +16 -1
- aws_cdk/aws_controltower/__init__.py +16 -1
- aws_cdk/aws_cur/__init__.py +16 -1
- aws_cdk/aws_customerprofiles/__init__.py +16 -1
- aws_cdk/aws_databrew/__init__.py +16 -1
- aws_cdk/aws_datapipeline/__init__.py +16 -1
- aws_cdk/aws_datasync/__init__.py +16 -1
- aws_cdk/aws_datazone/__init__.py +681 -41
- aws_cdk/aws_dax/__init__.py +16 -1
- aws_cdk/aws_deadline/__init__.py +16 -1
- aws_cdk/aws_detective/__init__.py +16 -1
- aws_cdk/aws_devicefarm/__init__.py +16 -1
- aws_cdk/aws_devopsguru/__init__.py +16 -1
- aws_cdk/aws_directoryservice/__init__.py +16 -1
- aws_cdk/aws_dlm/__init__.py +16 -1
- aws_cdk/aws_dms/__init__.py +16 -1
- aws_cdk/aws_docdb/__init__.py +22 -2
- aws_cdk/aws_docdbelastic/__init__.py +16 -1
- aws_cdk/aws_dynamodb/__init__.py +21 -6
- aws_cdk/aws_ec2/__init__.py +137 -37
- aws_cdk/aws_ecr/__init__.py +30 -7
- aws_cdk/aws_ecr_assets/__init__.py +16 -1
- aws_cdk/aws_ecs/__init__.py +36 -21
- aws_cdk/aws_ecs_patterns/__init__.py +16 -1
- aws_cdk/aws_efs/__init__.py +16 -1
- aws_cdk/aws_eks/__init__.py +16 -1
- aws_cdk/aws_elasticache/__init__.py +16 -1
- aws_cdk/aws_elasticbeanstalk/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +183 -21
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +16 -1
- aws_cdk/aws_elasticsearch/__init__.py +16 -1
- aws_cdk/aws_emr/__init__.py +24 -9
- aws_cdk/aws_emrcontainers/__init__.py +16 -1
- aws_cdk/aws_emrserverless/__init__.py +16 -1
- aws_cdk/aws_entityresolution/__init__.py +16 -1
- aws_cdk/aws_events/__init__.py +35 -18
- aws_cdk/aws_events_targets/__init__.py +181 -86
- aws_cdk/aws_eventschemas/__init__.py +16 -1
- aws_cdk/aws_evidently/__init__.py +16 -1
- aws_cdk/aws_finspace/__init__.py +16 -1
- aws_cdk/aws_fis/__init__.py +16 -1
- aws_cdk/aws_fms/__init__.py +75 -1
- aws_cdk/aws_forecast/__init__.py +16 -1
- aws_cdk/aws_frauddetector/__init__.py +16 -1
- aws_cdk/aws_fsx/__init__.py +19 -4
- aws_cdk/aws_gamelift/__init__.py +56 -53
- aws_cdk/aws_globalaccelerator/__init__.py +38 -30
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +16 -1
- aws_cdk/aws_glue/__init__.py +16 -1
- aws_cdk/aws_grafana/__init__.py +16 -1
- aws_cdk/aws_greengrass/__init__.py +16 -1
- aws_cdk/aws_greengrassv2/__init__.py +16 -1
- aws_cdk/aws_groundstation/__init__.py +16 -1
- aws_cdk/aws_guardduty/__init__.py +16 -1
- aws_cdk/aws_healthimaging/__init__.py +16 -1
- aws_cdk/aws_healthlake/__init__.py +16 -1
- aws_cdk/aws_iam/__init__.py +38 -21
- aws_cdk/aws_identitystore/__init__.py +16 -1
- aws_cdk/aws_imagebuilder/__init__.py +16 -1
- aws_cdk/aws_inspector/__init__.py +16 -1
- aws_cdk/aws_inspectorv2/__init__.py +16 -1
- aws_cdk/aws_internetmonitor/__init__.py +16 -1
- aws_cdk/aws_iot/__init__.py +16 -1
- aws_cdk/aws_iot1click/__init__.py +16 -1
- aws_cdk/aws_iotanalytics/__init__.py +16 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -1
- aws_cdk/aws_iotevents/__init__.py +16 -1
- aws_cdk/aws_iotfleethub/__init__.py +16 -1
- aws_cdk/aws_iotfleetwise/__init__.py +435 -1
- aws_cdk/aws_iotsitewise/__init__.py +106 -2
- aws_cdk/aws_iotthingsgraph/__init__.py +16 -1
- aws_cdk/aws_iottwinmaker/__init__.py +16 -1
- aws_cdk/aws_iotwireless/__init__.py +221 -1
- aws_cdk/aws_ivs/__init__.py +16 -1
- aws_cdk/aws_ivschat/__init__.py +16 -1
- aws_cdk/aws_kafkaconnect/__init__.py +16 -1
- aws_cdk/aws_kendra/__init__.py +16 -1
- aws_cdk/aws_kendraranking/__init__.py +16 -1
- aws_cdk/aws_kinesis/__init__.py +16 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +16 -1
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +16 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +16 -1
- aws_cdk/aws_kinesisvideo/__init__.py +16 -1
- aws_cdk/aws_kms/__init__.py +16 -1
- aws_cdk/aws_lakeformation/__init__.py +16 -1
- aws_cdk/aws_lambda/__init__.py +145 -17
- aws_cdk/aws_lambda_destinations/__init__.py +16 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +16 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +16 -1
- aws_cdk/aws_launchwizard/__init__.py +16 -1
- aws_cdk/aws_lex/__init__.py +31 -2
- aws_cdk/aws_licensemanager/__init__.py +16 -1
- aws_cdk/aws_lightsail/__init__.py +16 -1
- aws_cdk/aws_location/__init__.py +16 -1
- aws_cdk/aws_logs/__init__.py +17 -2
- aws_cdk/aws_logs_destinations/__init__.py +16 -1
- aws_cdk/aws_lookoutequipment/__init__.py +16 -1
- aws_cdk/aws_lookoutmetrics/__init__.py +16 -1
- aws_cdk/aws_lookoutvision/__init__.py +16 -1
- aws_cdk/aws_m2/__init__.py +16 -1
- aws_cdk/aws_macie/__init__.py +16 -1
- aws_cdk/aws_managedblockchain/__init__.py +16 -1
- aws_cdk/aws_mediaconnect/__init__.py +127 -1
- aws_cdk/aws_mediaconvert/__init__.py +16 -1
- aws_cdk/aws_medialive/__init__.py +8004 -3263
- aws_cdk/aws_mediapackage/__init__.py +16 -1
- aws_cdk/aws_mediapackagev2/__init__.py +16 -1
- aws_cdk/aws_mediastore/__init__.py +16 -1
- aws_cdk/aws_mediatailor/__init__.py +16 -1
- aws_cdk/aws_memorydb/__init__.py +16 -1
- aws_cdk/aws_msk/__init__.py +303 -480
- aws_cdk/aws_mwaa/__init__.py +16 -1
- aws_cdk/aws_neptune/__init__.py +16 -1
- aws_cdk/aws_neptunegraph/__init__.py +16 -1
- aws_cdk/aws_networkfirewall/__init__.py +16 -1
- aws_cdk/aws_networkmanager/__init__.py +16 -1
- aws_cdk/aws_nimblestudio/__init__.py +16 -1
- aws_cdk/aws_oam/__init__.py +16 -1
- aws_cdk/aws_omics/__init__.py +16 -1
- aws_cdk/aws_opensearchserverless/__init__.py +16 -1
- aws_cdk/aws_opensearchservice/__init__.py +22 -1
- aws_cdk/aws_opsworks/__init__.py +16 -1
- aws_cdk/aws_opsworkscm/__init__.py +16 -1
- aws_cdk/aws_organizations/__init__.py +16 -1
- aws_cdk/aws_osis/__init__.py +16 -1
- aws_cdk/aws_panorama/__init__.py +16 -1
- aws_cdk/aws_paymentcryptography/__init__.py +16 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +16 -1
- aws_cdk/aws_pcaconnectorscep/__init__.py +85 -31
- aws_cdk/aws_personalize/__init__.py +16 -1
- aws_cdk/aws_pinpoint/__init__.py +16 -1
- aws_cdk/aws_pinpointemail/__init__.py +16 -1
- aws_cdk/aws_pipes/__init__.py +65 -1
- aws_cdk/aws_proton/__init__.py +16 -1
- aws_cdk/aws_qbusiness/__init__.py +27 -15
- aws_cdk/aws_qldb/__init__.py +16 -1
- aws_cdk/aws_quicksight/__init__.py +654 -100
- aws_cdk/aws_ram/__init__.py +16 -1
- aws_cdk/aws_rds/__init__.py +78 -32
- aws_cdk/aws_redshift/__init__.py +16 -1
- aws_cdk/aws_redshiftserverless/__init__.py +16 -1
- aws_cdk/aws_refactorspaces/__init__.py +16 -1
- aws_cdk/aws_rekognition/__init__.py +16 -1
- aws_cdk/aws_resiliencehub/__init__.py +16 -1
- aws_cdk/aws_resourceexplorer2/__init__.py +16 -1
- aws_cdk/aws_resourcegroups/__init__.py +16 -1
- aws_cdk/aws_robomaker/__init__.py +16 -1
- aws_cdk/aws_rolesanywhere/__init__.py +16 -1
- aws_cdk/aws_route53/__init__.py +16 -1
- aws_cdk/aws_route53_patterns/__init__.py +16 -1
- aws_cdk/aws_route53_targets/__init__.py +16 -1
- aws_cdk/aws_route53profiles/__init__.py +16 -1
- aws_cdk/aws_route53recoverycontrol/__init__.py +16 -1
- aws_cdk/aws_route53recoveryreadiness/__init__.py +16 -1
- aws_cdk/aws_route53resolver/__init__.py +16 -1
- aws_cdk/aws_rum/__init__.py +16 -1
- aws_cdk/aws_s3/__init__.py +231 -34
- aws_cdk/aws_s3_assets/__init__.py +16 -1
- aws_cdk/aws_s3_deployment/__init__.py +16 -1
- aws_cdk/aws_s3_notifications/__init__.py +16 -1
- aws_cdk/aws_s3express/__init__.py +16 -1
- aws_cdk/aws_s3objectlambda/__init__.py +18 -3
- aws_cdk/aws_s3outposts/__init__.py +16 -1
- aws_cdk/aws_sagemaker/__init__.py +888 -59
- aws_cdk/aws_sam/__init__.py +16 -1
- aws_cdk/aws_scheduler/__init__.py +16 -1
- aws_cdk/aws_sdb/__init__.py +16 -1
- aws_cdk/aws_secretsmanager/__init__.py +38 -9
- aws_cdk/aws_securityhub/__init__.py +277 -20
- aws_cdk/aws_securitylake/__init__.py +343 -8
- aws_cdk/aws_servicecatalog/__init__.py +16 -1
- aws_cdk/aws_servicecatalogappregistry/__init__.py +16 -1
- aws_cdk/aws_servicediscovery/__init__.py +21 -6
- aws_cdk/aws_ses/__init__.py +16 -1
- aws_cdk/aws_ses_actions/__init__.py +16 -1
- aws_cdk/aws_shield/__init__.py +16 -1
- aws_cdk/aws_signer/__init__.py +16 -1
- aws_cdk/aws_simspaceweaver/__init__.py +16 -1
- aws_cdk/aws_sns/__init__.py +16 -9
- aws_cdk/aws_sns_subscriptions/__init__.py +16 -1
- aws_cdk/aws_sqs/__init__.py +16 -1
- aws_cdk/aws_ssm/__init__.py +36 -13
- aws_cdk/aws_ssmcontacts/__init__.py +16 -1
- aws_cdk/aws_ssmincidents/__init__.py +16 -1
- aws_cdk/aws_ssmquicksetup/__init__.py +16 -1
- aws_cdk/aws_sso/__init__.py +16 -1
- aws_cdk/aws_stepfunctions/__init__.py +16 -1
- aws_cdk/aws_stepfunctions_tasks/__init__.py +52 -1
- aws_cdk/aws_supportapp/__init__.py +16 -1
- aws_cdk/aws_synthetics/__init__.py +16 -1
- aws_cdk/aws_systemsmanagersap/__init__.py +16 -1
- aws_cdk/aws_timestream/__init__.py +16 -1
- aws_cdk/aws_transfer/__init__.py +16 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +16 -1
- aws_cdk/aws_voiceid/__init__.py +16 -1
- aws_cdk/aws_vpclattice/__init__.py +16 -1
- aws_cdk/aws_waf/__init__.py +16 -1
- aws_cdk/aws_wafregional/__init__.py +16 -1
- aws_cdk/aws_wafv2/__init__.py +16 -1
- aws_cdk/aws_wisdom/__init__.py +16 -1
- aws_cdk/aws_workspaces/__init__.py +16 -1
- aws_cdk/aws_workspacesthinclient/__init__.py +16 -1
- aws_cdk/aws_workspacesweb/__init__.py +16 -1
- aws_cdk/aws_xray/__init__.py +16 -1
- aws_cdk/cloud_assembly_schema/__init__.py +16 -1
- aws_cdk/cloudformation_include/__init__.py +16 -1
- aws_cdk/custom_resources/__init__.py +16 -1
- aws_cdk/cx_api/__init__.py +35 -1
- aws_cdk/lambda_layer_awscli/__init__.py +16 -1
- aws_cdk/lambda_layer_kubectl/__init__.py +16 -1
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +16 -1
- aws_cdk/pipelines/__init__.py +16 -1
- aws_cdk/region_info/__init__.py +16 -1
- aws_cdk/triggers/__init__.py +16 -1
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/METADATA +5 -5
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/NOTICE +27 -8
- aws_cdk_lib-2.159.0.dist-info/RECORD +294 -0
- aws_cdk_lib-2.157.0.dist-info/RECORD +0 -294
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/top_level.txt +0 -0
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|
|
@@ -128,6 +143,22 @@ class CfnCampaign(
|
|
|
128
143
|
max_sample_count=123,
|
|
129
144
|
minimum_sampling_interval_ms=123
|
|
130
145
|
)],
|
|
146
|
+
signals_to_fetch=[iotfleetwise.CfnCampaign.SignalFetchInformationProperty(
|
|
147
|
+
actions=["actions"],
|
|
148
|
+
fully_qualified_name="fullyQualifiedName",
|
|
149
|
+
signal_fetch_config=iotfleetwise.CfnCampaign.SignalFetchConfigProperty(
|
|
150
|
+
condition_based=iotfleetwise.CfnCampaign.ConditionBasedSignalFetchConfigProperty(
|
|
151
|
+
condition_expression="conditionExpression",
|
|
152
|
+
trigger_mode="triggerMode"
|
|
153
|
+
),
|
|
154
|
+
time_based=iotfleetwise.CfnCampaign.TimeBasedSignalFetchConfigProperty(
|
|
155
|
+
execution_frequency_ms=123
|
|
156
|
+
)
|
|
157
|
+
),
|
|
158
|
+
|
|
159
|
+
# the properties below are optional
|
|
160
|
+
condition_language_version=123
|
|
161
|
+
)],
|
|
131
162
|
spooling_mode="spoolingMode",
|
|
132
163
|
start_time="startTime",
|
|
133
164
|
tags=[CfnTag(
|
|
@@ -156,6 +187,7 @@ class CfnCampaign(
|
|
|
156
187
|
post_trigger_collection_duration: typing.Optional[jsii.Number] = None,
|
|
157
188
|
priority: typing.Optional[jsii.Number] = None,
|
|
158
189
|
signals_to_collect: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCampaign.SignalInformationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
190
|
+
signals_to_fetch: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCampaign.SignalFetchInformationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
159
191
|
spooling_mode: typing.Optional[builtins.str] = None,
|
|
160
192
|
start_time: typing.Optional[builtins.str] = None,
|
|
161
193
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -177,6 +209,7 @@ class CfnCampaign(
|
|
|
177
209
|
:param post_trigger_collection_duration: (Optional) How long (in milliseconds) to collect raw data after a triggering event initiates the collection. If it's not specified, ``0`` is used. Default: ``0`` Default: - 0
|
|
178
210
|
:param priority: (Optional) A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet. A campaign with the lowest value is deployed to vehicles before any other campaigns. If it's not specified, ``0`` is used. Default: ``0`` Default: - 0
|
|
179
211
|
:param signals_to_collect: (Optional) A list of information about signals to collect.
|
|
212
|
+
:param signals_to_fetch:
|
|
180
213
|
:param spooling_mode: (Optional) Whether to store collected data after a vehicle lost a connection with the cloud. After a connection is re-established, the data is automatically forwarded to AWS IoT FleetWise . If you want to store collected data when a vehicle loses connection with the cloud, use ``TO_DISK`` . If it's not specified, ``OFF`` is used. Default: ``OFF`` Default: - "OFF"
|
|
181
214
|
:param start_time: (Optional) The time, in milliseconds, to deliver a campaign after it was approved. If it's not specified, ``0`` is used. Default: ``0`` Default: - "0"
|
|
182
215
|
:param tags: (Optional) Metadata that can be used to manage the campaign.
|
|
@@ -200,6 +233,7 @@ class CfnCampaign(
|
|
|
200
233
|
post_trigger_collection_duration=post_trigger_collection_duration,
|
|
201
234
|
priority=priority,
|
|
202
235
|
signals_to_collect=signals_to_collect,
|
|
236
|
+
signals_to_fetch=signals_to_fetch,
|
|
203
237
|
spooling_mode=spooling_mode,
|
|
204
238
|
start_time=start_time,
|
|
205
239
|
tags=tags,
|
|
@@ -492,6 +526,23 @@ class CfnCampaign(
|
|
|
492
526
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
493
527
|
jsii.set(self, "signalsToCollect", value) # pyright: ignore[reportArgumentType]
|
|
494
528
|
|
|
529
|
+
@builtins.property
|
|
530
|
+
@jsii.member(jsii_name="signalsToFetch")
|
|
531
|
+
def signals_to_fetch(
|
|
532
|
+
self,
|
|
533
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCampaign.SignalFetchInformationProperty"]]]]:
|
|
534
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCampaign.SignalFetchInformationProperty"]]]], jsii.get(self, "signalsToFetch"))
|
|
535
|
+
|
|
536
|
+
@signals_to_fetch.setter
|
|
537
|
+
def signals_to_fetch(
|
|
538
|
+
self,
|
|
539
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCampaign.SignalFetchInformationProperty"]]]],
|
|
540
|
+
) -> None:
|
|
541
|
+
if __debug__:
|
|
542
|
+
type_hints = typing.get_type_hints(_typecheckingstub__da949c7830745c6406e29a86a584eac30d385afd88a7608bc2c36f6371ab5b8b)
|
|
543
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
544
|
+
jsii.set(self, "signalsToFetch", value) # pyright: ignore[reportArgumentType]
|
|
545
|
+
|
|
495
546
|
@builtins.property
|
|
496
547
|
@jsii.member(jsii_name="spoolingMode")
|
|
497
548
|
def spooling_mode(self) -> typing.Optional[builtins.str]:
|
|
@@ -733,6 +784,77 @@ class CfnCampaign(
|
|
|
733
784
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
734
785
|
)
|
|
735
786
|
|
|
787
|
+
@jsii.data_type(
|
|
788
|
+
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.ConditionBasedSignalFetchConfigProperty",
|
|
789
|
+
jsii_struct_bases=[],
|
|
790
|
+
name_mapping={
|
|
791
|
+
"condition_expression": "conditionExpression",
|
|
792
|
+
"trigger_mode": "triggerMode",
|
|
793
|
+
},
|
|
794
|
+
)
|
|
795
|
+
class ConditionBasedSignalFetchConfigProperty:
|
|
796
|
+
def __init__(
|
|
797
|
+
self,
|
|
798
|
+
*,
|
|
799
|
+
condition_expression: builtins.str,
|
|
800
|
+
trigger_mode: builtins.str,
|
|
801
|
+
) -> None:
|
|
802
|
+
'''
|
|
803
|
+
:param condition_expression:
|
|
804
|
+
:param trigger_mode:
|
|
805
|
+
|
|
806
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-conditionbasedsignalfetchconfig.html
|
|
807
|
+
:exampleMetadata: fixture=_generated
|
|
808
|
+
|
|
809
|
+
Example::
|
|
810
|
+
|
|
811
|
+
# The code below shows an example of how to instantiate this type.
|
|
812
|
+
# The values are placeholders you should change.
|
|
813
|
+
from aws_cdk import aws_iotfleetwise as iotfleetwise
|
|
814
|
+
|
|
815
|
+
condition_based_signal_fetch_config_property = iotfleetwise.CfnCampaign.ConditionBasedSignalFetchConfigProperty(
|
|
816
|
+
condition_expression="conditionExpression",
|
|
817
|
+
trigger_mode="triggerMode"
|
|
818
|
+
)
|
|
819
|
+
'''
|
|
820
|
+
if __debug__:
|
|
821
|
+
type_hints = typing.get_type_hints(_typecheckingstub__098372f705b13524c2d755dc2678c8d54bbf827d156581e9b771f5ca763e471f)
|
|
822
|
+
check_type(argname="argument condition_expression", value=condition_expression, expected_type=type_hints["condition_expression"])
|
|
823
|
+
check_type(argname="argument trigger_mode", value=trigger_mode, expected_type=type_hints["trigger_mode"])
|
|
824
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
825
|
+
"condition_expression": condition_expression,
|
|
826
|
+
"trigger_mode": trigger_mode,
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
@builtins.property
|
|
830
|
+
def condition_expression(self) -> builtins.str:
|
|
831
|
+
'''
|
|
832
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-conditionbasedsignalfetchconfig.html#cfn-iotfleetwise-campaign-conditionbasedsignalfetchconfig-conditionexpression
|
|
833
|
+
'''
|
|
834
|
+
result = self._values.get("condition_expression")
|
|
835
|
+
assert result is not None, "Required property 'condition_expression' is missing"
|
|
836
|
+
return typing.cast(builtins.str, result)
|
|
837
|
+
|
|
838
|
+
@builtins.property
|
|
839
|
+
def trigger_mode(self) -> builtins.str:
|
|
840
|
+
'''
|
|
841
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-conditionbasedsignalfetchconfig.html#cfn-iotfleetwise-campaign-conditionbasedsignalfetchconfig-triggermode
|
|
842
|
+
'''
|
|
843
|
+
result = self._values.get("trigger_mode")
|
|
844
|
+
assert result is not None, "Required property 'trigger_mode' is missing"
|
|
845
|
+
return typing.cast(builtins.str, result)
|
|
846
|
+
|
|
847
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
848
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
849
|
+
|
|
850
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
851
|
+
return not (rhs == self)
|
|
852
|
+
|
|
853
|
+
def __repr__(self) -> str:
|
|
854
|
+
return "ConditionBasedSignalFetchConfigProperty(%s)" % ", ".join(
|
|
855
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
856
|
+
)
|
|
857
|
+
|
|
736
858
|
@jsii.data_type(
|
|
737
859
|
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.DataDestinationConfigProperty",
|
|
738
860
|
jsii_struct_bases=[],
|
|
@@ -1032,6 +1154,195 @@ class CfnCampaign(
|
|
|
1032
1154
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1033
1155
|
)
|
|
1034
1156
|
|
|
1157
|
+
@jsii.data_type(
|
|
1158
|
+
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.SignalFetchConfigProperty",
|
|
1159
|
+
jsii_struct_bases=[],
|
|
1160
|
+
name_mapping={"condition_based": "conditionBased", "time_based": "timeBased"},
|
|
1161
|
+
)
|
|
1162
|
+
class SignalFetchConfigProperty:
|
|
1163
|
+
def __init__(
|
|
1164
|
+
self,
|
|
1165
|
+
*,
|
|
1166
|
+
condition_based: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCampaign.ConditionBasedSignalFetchConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1167
|
+
time_based: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCampaign.TimeBasedSignalFetchConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1168
|
+
) -> None:
|
|
1169
|
+
'''
|
|
1170
|
+
:param condition_based:
|
|
1171
|
+
:param time_based:
|
|
1172
|
+
|
|
1173
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-signalfetchconfig.html
|
|
1174
|
+
:exampleMetadata: fixture=_generated
|
|
1175
|
+
|
|
1176
|
+
Example::
|
|
1177
|
+
|
|
1178
|
+
# The code below shows an example of how to instantiate this type.
|
|
1179
|
+
# The values are placeholders you should change.
|
|
1180
|
+
from aws_cdk import aws_iotfleetwise as iotfleetwise
|
|
1181
|
+
|
|
1182
|
+
signal_fetch_config_property = iotfleetwise.CfnCampaign.SignalFetchConfigProperty(
|
|
1183
|
+
condition_based=iotfleetwise.CfnCampaign.ConditionBasedSignalFetchConfigProperty(
|
|
1184
|
+
condition_expression="conditionExpression",
|
|
1185
|
+
trigger_mode="triggerMode"
|
|
1186
|
+
),
|
|
1187
|
+
time_based=iotfleetwise.CfnCampaign.TimeBasedSignalFetchConfigProperty(
|
|
1188
|
+
execution_frequency_ms=123
|
|
1189
|
+
)
|
|
1190
|
+
)
|
|
1191
|
+
'''
|
|
1192
|
+
if __debug__:
|
|
1193
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ca1820ed0602e93ad63464d2024852554d77196b666913dcbfab888a1fdd4613)
|
|
1194
|
+
check_type(argname="argument condition_based", value=condition_based, expected_type=type_hints["condition_based"])
|
|
1195
|
+
check_type(argname="argument time_based", value=time_based, expected_type=type_hints["time_based"])
|
|
1196
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1197
|
+
if condition_based is not None:
|
|
1198
|
+
self._values["condition_based"] = condition_based
|
|
1199
|
+
if time_based is not None:
|
|
1200
|
+
self._values["time_based"] = time_based
|
|
1201
|
+
|
|
1202
|
+
@builtins.property
|
|
1203
|
+
def condition_based(
|
|
1204
|
+
self,
|
|
1205
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCampaign.ConditionBasedSignalFetchConfigProperty"]]:
|
|
1206
|
+
'''
|
|
1207
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-signalfetchconfig.html#cfn-iotfleetwise-campaign-signalfetchconfig-conditionbased
|
|
1208
|
+
'''
|
|
1209
|
+
result = self._values.get("condition_based")
|
|
1210
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCampaign.ConditionBasedSignalFetchConfigProperty"]], result)
|
|
1211
|
+
|
|
1212
|
+
@builtins.property
|
|
1213
|
+
def time_based(
|
|
1214
|
+
self,
|
|
1215
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCampaign.TimeBasedSignalFetchConfigProperty"]]:
|
|
1216
|
+
'''
|
|
1217
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-signalfetchconfig.html#cfn-iotfleetwise-campaign-signalfetchconfig-timebased
|
|
1218
|
+
'''
|
|
1219
|
+
result = self._values.get("time_based")
|
|
1220
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCampaign.TimeBasedSignalFetchConfigProperty"]], result)
|
|
1221
|
+
|
|
1222
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1223
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1224
|
+
|
|
1225
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1226
|
+
return not (rhs == self)
|
|
1227
|
+
|
|
1228
|
+
def __repr__(self) -> str:
|
|
1229
|
+
return "SignalFetchConfigProperty(%s)" % ", ".join(
|
|
1230
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1231
|
+
)
|
|
1232
|
+
|
|
1233
|
+
@jsii.data_type(
|
|
1234
|
+
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.SignalFetchInformationProperty",
|
|
1235
|
+
jsii_struct_bases=[],
|
|
1236
|
+
name_mapping={
|
|
1237
|
+
"actions": "actions",
|
|
1238
|
+
"fully_qualified_name": "fullyQualifiedName",
|
|
1239
|
+
"signal_fetch_config": "signalFetchConfig",
|
|
1240
|
+
"condition_language_version": "conditionLanguageVersion",
|
|
1241
|
+
},
|
|
1242
|
+
)
|
|
1243
|
+
class SignalFetchInformationProperty:
|
|
1244
|
+
def __init__(
|
|
1245
|
+
self,
|
|
1246
|
+
*,
|
|
1247
|
+
actions: typing.Sequence[builtins.str],
|
|
1248
|
+
fully_qualified_name: builtins.str,
|
|
1249
|
+
signal_fetch_config: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCampaign.SignalFetchConfigProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1250
|
+
condition_language_version: typing.Optional[jsii.Number] = None,
|
|
1251
|
+
) -> None:
|
|
1252
|
+
'''
|
|
1253
|
+
:param actions:
|
|
1254
|
+
:param fully_qualified_name:
|
|
1255
|
+
:param signal_fetch_config:
|
|
1256
|
+
:param condition_language_version:
|
|
1257
|
+
|
|
1258
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-signalfetchinformation.html
|
|
1259
|
+
:exampleMetadata: fixture=_generated
|
|
1260
|
+
|
|
1261
|
+
Example::
|
|
1262
|
+
|
|
1263
|
+
# The code below shows an example of how to instantiate this type.
|
|
1264
|
+
# The values are placeholders you should change.
|
|
1265
|
+
from aws_cdk import aws_iotfleetwise as iotfleetwise
|
|
1266
|
+
|
|
1267
|
+
signal_fetch_information_property = iotfleetwise.CfnCampaign.SignalFetchInformationProperty(
|
|
1268
|
+
actions=["actions"],
|
|
1269
|
+
fully_qualified_name="fullyQualifiedName",
|
|
1270
|
+
signal_fetch_config=iotfleetwise.CfnCampaign.SignalFetchConfigProperty(
|
|
1271
|
+
condition_based=iotfleetwise.CfnCampaign.ConditionBasedSignalFetchConfigProperty(
|
|
1272
|
+
condition_expression="conditionExpression",
|
|
1273
|
+
trigger_mode="triggerMode"
|
|
1274
|
+
),
|
|
1275
|
+
time_based=iotfleetwise.CfnCampaign.TimeBasedSignalFetchConfigProperty(
|
|
1276
|
+
execution_frequency_ms=123
|
|
1277
|
+
)
|
|
1278
|
+
),
|
|
1279
|
+
|
|
1280
|
+
# the properties below are optional
|
|
1281
|
+
condition_language_version=123
|
|
1282
|
+
)
|
|
1283
|
+
'''
|
|
1284
|
+
if __debug__:
|
|
1285
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0ce7b2e7c039b451b026dce9f5179434b5d1dc7492a291c8db13df52d9e5f47e)
|
|
1286
|
+
check_type(argname="argument actions", value=actions, expected_type=type_hints["actions"])
|
|
1287
|
+
check_type(argname="argument fully_qualified_name", value=fully_qualified_name, expected_type=type_hints["fully_qualified_name"])
|
|
1288
|
+
check_type(argname="argument signal_fetch_config", value=signal_fetch_config, expected_type=type_hints["signal_fetch_config"])
|
|
1289
|
+
check_type(argname="argument condition_language_version", value=condition_language_version, expected_type=type_hints["condition_language_version"])
|
|
1290
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1291
|
+
"actions": actions,
|
|
1292
|
+
"fully_qualified_name": fully_qualified_name,
|
|
1293
|
+
"signal_fetch_config": signal_fetch_config,
|
|
1294
|
+
}
|
|
1295
|
+
if condition_language_version is not None:
|
|
1296
|
+
self._values["condition_language_version"] = condition_language_version
|
|
1297
|
+
|
|
1298
|
+
@builtins.property
|
|
1299
|
+
def actions(self) -> typing.List[builtins.str]:
|
|
1300
|
+
'''
|
|
1301
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-signalfetchinformation.html#cfn-iotfleetwise-campaign-signalfetchinformation-actions
|
|
1302
|
+
'''
|
|
1303
|
+
result = self._values.get("actions")
|
|
1304
|
+
assert result is not None, "Required property 'actions' is missing"
|
|
1305
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
1306
|
+
|
|
1307
|
+
@builtins.property
|
|
1308
|
+
def fully_qualified_name(self) -> builtins.str:
|
|
1309
|
+
'''
|
|
1310
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-signalfetchinformation.html#cfn-iotfleetwise-campaign-signalfetchinformation-fullyqualifiedname
|
|
1311
|
+
'''
|
|
1312
|
+
result = self._values.get("fully_qualified_name")
|
|
1313
|
+
assert result is not None, "Required property 'fully_qualified_name' is missing"
|
|
1314
|
+
return typing.cast(builtins.str, result)
|
|
1315
|
+
|
|
1316
|
+
@builtins.property
|
|
1317
|
+
def signal_fetch_config(
|
|
1318
|
+
self,
|
|
1319
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnCampaign.SignalFetchConfigProperty"]:
|
|
1320
|
+
'''
|
|
1321
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-signalfetchinformation.html#cfn-iotfleetwise-campaign-signalfetchinformation-signalfetchconfig
|
|
1322
|
+
'''
|
|
1323
|
+
result = self._values.get("signal_fetch_config")
|
|
1324
|
+
assert result is not None, "Required property 'signal_fetch_config' is missing"
|
|
1325
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnCampaign.SignalFetchConfigProperty"], result)
|
|
1326
|
+
|
|
1327
|
+
@builtins.property
|
|
1328
|
+
def condition_language_version(self) -> typing.Optional[jsii.Number]:
|
|
1329
|
+
'''
|
|
1330
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-signalfetchinformation.html#cfn-iotfleetwise-campaign-signalfetchinformation-conditionlanguageversion
|
|
1331
|
+
'''
|
|
1332
|
+
result = self._values.get("condition_language_version")
|
|
1333
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1334
|
+
|
|
1335
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1336
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1337
|
+
|
|
1338
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1339
|
+
return not (rhs == self)
|
|
1340
|
+
|
|
1341
|
+
def __repr__(self) -> str:
|
|
1342
|
+
return "SignalFetchInformationProperty(%s)" % ", ".join(
|
|
1343
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1344
|
+
)
|
|
1345
|
+
|
|
1035
1346
|
@jsii.data_type(
|
|
1036
1347
|
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.SignalInformationProperty",
|
|
1037
1348
|
jsii_struct_bases=[],
|
|
@@ -1182,6 +1493,56 @@ class CfnCampaign(
|
|
|
1182
1493
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1183
1494
|
)
|
|
1184
1495
|
|
|
1496
|
+
@jsii.data_type(
|
|
1497
|
+
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.TimeBasedSignalFetchConfigProperty",
|
|
1498
|
+
jsii_struct_bases=[],
|
|
1499
|
+
name_mapping={"execution_frequency_ms": "executionFrequencyMs"},
|
|
1500
|
+
)
|
|
1501
|
+
class TimeBasedSignalFetchConfigProperty:
|
|
1502
|
+
def __init__(self, *, execution_frequency_ms: jsii.Number) -> None:
|
|
1503
|
+
'''
|
|
1504
|
+
:param execution_frequency_ms:
|
|
1505
|
+
|
|
1506
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-timebasedsignalfetchconfig.html
|
|
1507
|
+
:exampleMetadata: fixture=_generated
|
|
1508
|
+
|
|
1509
|
+
Example::
|
|
1510
|
+
|
|
1511
|
+
# The code below shows an example of how to instantiate this type.
|
|
1512
|
+
# The values are placeholders you should change.
|
|
1513
|
+
from aws_cdk import aws_iotfleetwise as iotfleetwise
|
|
1514
|
+
|
|
1515
|
+
time_based_signal_fetch_config_property = iotfleetwise.CfnCampaign.TimeBasedSignalFetchConfigProperty(
|
|
1516
|
+
execution_frequency_ms=123
|
|
1517
|
+
)
|
|
1518
|
+
'''
|
|
1519
|
+
if __debug__:
|
|
1520
|
+
type_hints = typing.get_type_hints(_typecheckingstub__75a3c6f8580807207761d988ea349845062836e50e8544a902a02a7fe987d3c0)
|
|
1521
|
+
check_type(argname="argument execution_frequency_ms", value=execution_frequency_ms, expected_type=type_hints["execution_frequency_ms"])
|
|
1522
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1523
|
+
"execution_frequency_ms": execution_frequency_ms,
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
@builtins.property
|
|
1527
|
+
def execution_frequency_ms(self) -> jsii.Number:
|
|
1528
|
+
'''
|
|
1529
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-campaign-timebasedsignalfetchconfig.html#cfn-iotfleetwise-campaign-timebasedsignalfetchconfig-executionfrequencyms
|
|
1530
|
+
'''
|
|
1531
|
+
result = self._values.get("execution_frequency_ms")
|
|
1532
|
+
assert result is not None, "Required property 'execution_frequency_ms' is missing"
|
|
1533
|
+
return typing.cast(jsii.Number, result)
|
|
1534
|
+
|
|
1535
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1536
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1537
|
+
|
|
1538
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1539
|
+
return not (rhs == self)
|
|
1540
|
+
|
|
1541
|
+
def __repr__(self) -> str:
|
|
1542
|
+
return "TimeBasedSignalFetchConfigProperty(%s)" % ", ".join(
|
|
1543
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1544
|
+
)
|
|
1545
|
+
|
|
1185
1546
|
@jsii.data_type(
|
|
1186
1547
|
jsii_type="aws-cdk-lib.aws_iotfleetwise.CfnCampaign.TimestreamConfigProperty",
|
|
1187
1548
|
jsii_struct_bases=[],
|
|
@@ -1277,6 +1638,7 @@ class CfnCampaign(
|
|
|
1277
1638
|
"post_trigger_collection_duration": "postTriggerCollectionDuration",
|
|
1278
1639
|
"priority": "priority",
|
|
1279
1640
|
"signals_to_collect": "signalsToCollect",
|
|
1641
|
+
"signals_to_fetch": "signalsToFetch",
|
|
1280
1642
|
"spooling_mode": "spoolingMode",
|
|
1281
1643
|
"start_time": "startTime",
|
|
1282
1644
|
"tags": "tags",
|
|
@@ -1300,6 +1662,7 @@ class CfnCampaignProps:
|
|
|
1300
1662
|
post_trigger_collection_duration: typing.Optional[jsii.Number] = None,
|
|
1301
1663
|
priority: typing.Optional[jsii.Number] = None,
|
|
1302
1664
|
signals_to_collect: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.SignalInformationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1665
|
+
signals_to_fetch: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.SignalFetchInformationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1303
1666
|
spooling_mode: typing.Optional[builtins.str] = None,
|
|
1304
1667
|
start_time: typing.Optional[builtins.str] = None,
|
|
1305
1668
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1320,6 +1683,7 @@ class CfnCampaignProps:
|
|
|
1320
1683
|
:param post_trigger_collection_duration: (Optional) How long (in milliseconds) to collect raw data after a triggering event initiates the collection. If it's not specified, ``0`` is used. Default: ``0`` Default: - 0
|
|
1321
1684
|
:param priority: (Optional) A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet. A campaign with the lowest value is deployed to vehicles before any other campaigns. If it's not specified, ``0`` is used. Default: ``0`` Default: - 0
|
|
1322
1685
|
:param signals_to_collect: (Optional) A list of information about signals to collect.
|
|
1686
|
+
:param signals_to_fetch:
|
|
1323
1687
|
:param spooling_mode: (Optional) Whether to store collected data after a vehicle lost a connection with the cloud. After a connection is re-established, the data is automatically forwarded to AWS IoT FleetWise . If you want to store collected data when a vehicle loses connection with the cloud, use ``TO_DISK`` . If it's not specified, ``OFF`` is used. Default: ``OFF`` Default: - "OFF"
|
|
1324
1688
|
:param start_time: (Optional) The time, in milliseconds, to deliver a campaign after it was approved. If it's not specified, ``0`` is used. Default: ``0`` Default: - "0"
|
|
1325
1689
|
:param tags: (Optional) Metadata that can be used to manage the campaign.
|
|
@@ -1385,6 +1749,22 @@ class CfnCampaignProps:
|
|
|
1385
1749
|
max_sample_count=123,
|
|
1386
1750
|
minimum_sampling_interval_ms=123
|
|
1387
1751
|
)],
|
|
1752
|
+
signals_to_fetch=[iotfleetwise.CfnCampaign.SignalFetchInformationProperty(
|
|
1753
|
+
actions=["actions"],
|
|
1754
|
+
fully_qualified_name="fullyQualifiedName",
|
|
1755
|
+
signal_fetch_config=iotfleetwise.CfnCampaign.SignalFetchConfigProperty(
|
|
1756
|
+
condition_based=iotfleetwise.CfnCampaign.ConditionBasedSignalFetchConfigProperty(
|
|
1757
|
+
condition_expression="conditionExpression",
|
|
1758
|
+
trigger_mode="triggerMode"
|
|
1759
|
+
),
|
|
1760
|
+
time_based=iotfleetwise.CfnCampaign.TimeBasedSignalFetchConfigProperty(
|
|
1761
|
+
execution_frequency_ms=123
|
|
1762
|
+
)
|
|
1763
|
+
),
|
|
1764
|
+
|
|
1765
|
+
# the properties below are optional
|
|
1766
|
+
condition_language_version=123
|
|
1767
|
+
)],
|
|
1388
1768
|
spooling_mode="spoolingMode",
|
|
1389
1769
|
start_time="startTime",
|
|
1390
1770
|
tags=[CfnTag(
|
|
@@ -1409,6 +1789,7 @@ class CfnCampaignProps:
|
|
|
1409
1789
|
check_type(argname="argument post_trigger_collection_duration", value=post_trigger_collection_duration, expected_type=type_hints["post_trigger_collection_duration"])
|
|
1410
1790
|
check_type(argname="argument priority", value=priority, expected_type=type_hints["priority"])
|
|
1411
1791
|
check_type(argname="argument signals_to_collect", value=signals_to_collect, expected_type=type_hints["signals_to_collect"])
|
|
1792
|
+
check_type(argname="argument signals_to_fetch", value=signals_to_fetch, expected_type=type_hints["signals_to_fetch"])
|
|
1412
1793
|
check_type(argname="argument spooling_mode", value=spooling_mode, expected_type=type_hints["spooling_mode"])
|
|
1413
1794
|
check_type(argname="argument start_time", value=start_time, expected_type=type_hints["start_time"])
|
|
1414
1795
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -1437,6 +1818,8 @@ class CfnCampaignProps:
|
|
|
1437
1818
|
self._values["priority"] = priority
|
|
1438
1819
|
if signals_to_collect is not None:
|
|
1439
1820
|
self._values["signals_to_collect"] = signals_to_collect
|
|
1821
|
+
if signals_to_fetch is not None:
|
|
1822
|
+
self._values["signals_to_fetch"] = signals_to_fetch
|
|
1440
1823
|
if spooling_mode is not None:
|
|
1441
1824
|
self._values["spooling_mode"] = spooling_mode
|
|
1442
1825
|
if start_time is not None:
|
|
@@ -1628,6 +2011,16 @@ class CfnCampaignProps:
|
|
|
1628
2011
|
result = self._values.get("signals_to_collect")
|
|
1629
2012
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCampaign.SignalInformationProperty]]]], result)
|
|
1630
2013
|
|
|
2014
|
+
@builtins.property
|
|
2015
|
+
def signals_to_fetch(
|
|
2016
|
+
self,
|
|
2017
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCampaign.SignalFetchInformationProperty]]]]:
|
|
2018
|
+
'''
|
|
2019
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleetwise-campaign.html#cfn-iotfleetwise-campaign-signalstofetch
|
|
2020
|
+
'''
|
|
2021
|
+
result = self._values.get("signals_to_fetch")
|
|
2022
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCampaign.SignalFetchInformationProperty]]]], result)
|
|
2023
|
+
|
|
1631
2024
|
@builtins.property
|
|
1632
2025
|
def spooling_mode(self) -> typing.Optional[builtins.str]:
|
|
1633
2026
|
'''(Optional) Whether to store collected data after a vehicle lost a connection with the cloud.
|
|
@@ -5995,6 +6388,7 @@ def _typecheckingstub__f7abc45d2046b48ec3bc5807ec2826a784930a5009b41b194dd6e4bed
|
|
|
5995
6388
|
post_trigger_collection_duration: typing.Optional[jsii.Number] = None,
|
|
5996
6389
|
priority: typing.Optional[jsii.Number] = None,
|
|
5997
6390
|
signals_to_collect: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.SignalInformationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6391
|
+
signals_to_fetch: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.SignalFetchInformationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5998
6392
|
spooling_mode: typing.Optional[builtins.str] = None,
|
|
5999
6393
|
start_time: typing.Optional[builtins.str] = None,
|
|
6000
6394
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -6098,6 +6492,12 @@ def _typecheckingstub__49e9a686748dfc74bfa8ee7c7e9c87ccd64dc236b6b72144f22cebb87
|
|
|
6098
6492
|
"""Type checking stubs"""
|
|
6099
6493
|
pass
|
|
6100
6494
|
|
|
6495
|
+
def _typecheckingstub__da949c7830745c6406e29a86a584eac30d385afd88a7608bc2c36f6371ab5b8b(
|
|
6496
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCampaign.SignalFetchInformationProperty]]]],
|
|
6497
|
+
) -> None:
|
|
6498
|
+
"""Type checking stubs"""
|
|
6499
|
+
pass
|
|
6500
|
+
|
|
6101
6501
|
def _typecheckingstub__2470f955a4e2089dd25722e38734a0e9fffc60420def257c19a15c6db378b523(
|
|
6102
6502
|
value: typing.Optional[builtins.str],
|
|
6103
6503
|
) -> None:
|
|
@@ -6134,6 +6534,14 @@ def _typecheckingstub__dd3351de9470a98f13f006dd95deedef6c30dbfc08cdfe7bde2b9d950
|
|
|
6134
6534
|
"""Type checking stubs"""
|
|
6135
6535
|
pass
|
|
6136
6536
|
|
|
6537
|
+
def _typecheckingstub__098372f705b13524c2d755dc2678c8d54bbf827d156581e9b771f5ca763e471f(
|
|
6538
|
+
*,
|
|
6539
|
+
condition_expression: builtins.str,
|
|
6540
|
+
trigger_mode: builtins.str,
|
|
6541
|
+
) -> None:
|
|
6542
|
+
"""Type checking stubs"""
|
|
6543
|
+
pass
|
|
6544
|
+
|
|
6137
6545
|
def _typecheckingstub__a76d3ecac8a3286ba64142d7bb2621dd82495be58438bdb339be1559bb8129f3(
|
|
6138
6546
|
*,
|
|
6139
6547
|
mqtt_topic_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.MqttTopicConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -6161,6 +6569,24 @@ def _typecheckingstub__cb82e0c92a9fdd48764ec7ba91d5dabd16d19776d63621d9b09fba43e
|
|
|
6161
6569
|
"""Type checking stubs"""
|
|
6162
6570
|
pass
|
|
6163
6571
|
|
|
6572
|
+
def _typecheckingstub__ca1820ed0602e93ad63464d2024852554d77196b666913dcbfab888a1fdd4613(
|
|
6573
|
+
*,
|
|
6574
|
+
condition_based: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.ConditionBasedSignalFetchConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6575
|
+
time_based: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.TimeBasedSignalFetchConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6576
|
+
) -> None:
|
|
6577
|
+
"""Type checking stubs"""
|
|
6578
|
+
pass
|
|
6579
|
+
|
|
6580
|
+
def _typecheckingstub__0ce7b2e7c039b451b026dce9f5179434b5d1dc7492a291c8db13df52d9e5f47e(
|
|
6581
|
+
*,
|
|
6582
|
+
actions: typing.Sequence[builtins.str],
|
|
6583
|
+
fully_qualified_name: builtins.str,
|
|
6584
|
+
signal_fetch_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.SignalFetchConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
6585
|
+
condition_language_version: typing.Optional[jsii.Number] = None,
|
|
6586
|
+
) -> None:
|
|
6587
|
+
"""Type checking stubs"""
|
|
6588
|
+
pass
|
|
6589
|
+
|
|
6164
6590
|
def _typecheckingstub__53d5027f8c4da8a26f3f9cf9e5ab42f41c46c70820c567f2c340ad26784c6997(
|
|
6165
6591
|
*,
|
|
6166
6592
|
name: builtins.str,
|
|
@@ -6177,6 +6603,13 @@ def _typecheckingstub__7bffeabbd9e812e2b77c405369e410069d9bd5d47737b57d4b23d1143
|
|
|
6177
6603
|
"""Type checking stubs"""
|
|
6178
6604
|
pass
|
|
6179
6605
|
|
|
6606
|
+
def _typecheckingstub__75a3c6f8580807207761d988ea349845062836e50e8544a902a02a7fe987d3c0(
|
|
6607
|
+
*,
|
|
6608
|
+
execution_frequency_ms: jsii.Number,
|
|
6609
|
+
) -> None:
|
|
6610
|
+
"""Type checking stubs"""
|
|
6611
|
+
pass
|
|
6612
|
+
|
|
6180
6613
|
def _typecheckingstub__5788ae222c7e21aaed8bd9dbed72cfbc09a7c423d494e8aa4ae9d7a226350700(
|
|
6181
6614
|
*,
|
|
6182
6615
|
execution_role_arn: builtins.str,
|
|
@@ -6201,6 +6634,7 @@ def _typecheckingstub__54c45792d3f0c102d3358acf678401b9616a7fee4b70882083776c5f9
|
|
|
6201
6634
|
post_trigger_collection_duration: typing.Optional[jsii.Number] = None,
|
|
6202
6635
|
priority: typing.Optional[jsii.Number] = None,
|
|
6203
6636
|
signals_to_collect: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.SignalInformationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6637
|
+
signals_to_fetch: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCampaign.SignalFetchInformationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6204
6638
|
spooling_mode: typing.Optional[builtins.str] = None,
|
|
6205
6639
|
start_time: typing.Optional[builtins.str] = None,
|
|
6206
6640
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|