CfnCampaignLogsMixin
- class aws_cdk.mixins_preview.aws_iotfleetwise.mixins.CfnCampaignLogsMixin(log_type, log_delivery)
Bases:
MixinCreates an orchestration of data collection rules.
The AWS IoT FleetWise Edge Agent software running in vehicles uses campaigns to decide how to collect and transfer data to the cloud. You create campaigns in the cloud. After you or your team approve campaigns, AWS IoT FleetWise automatically deploys them to vehicles.
For more information, see Campaigns in the AWS IoT FleetWise Developer Guide . .. epigraph:
Access to certain AWS IoT FleetWise features is currently gated. For more information, see `AWS Region and feature availability <https://docs.aws.amazon.com/iot-fleetwise/latest/developerguide/fleetwise-regions.html>`_ in the *AWS IoT FleetWise Developer Guide* .
- See:
- CloudformationResource:
AWS::IoTFleetWise::Campaign
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import aws_logs as logs from aws_cdk.mixins_preview.aws_iotfleetwise import mixins as iotfleetwise_mixins # logs_delivery: logs.ILogsDelivery cfn_campaign_logs_mixin = iotfleetwise_mixins.CfnCampaignLogsMixin("logType", logs_delivery)
Create a mixin to enable vended logs for
AWS::IoTFleetWise::Campaign.- Parameters:
log_type (
str) – Type of logs that are getting vended.log_delivery (
ILogsDelivery) – Object in charge of setting up the delivery destination and delivery connection.
Methods
- apply_to(resource)
Apply vended logs configuration to the construct.
- Parameters:
resource (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct (has vendedLogs property).
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- IOT_FLEETWISE_LOGS = <aws_cdk.mixins_preview.aws_iotfleetwise.mixins.CfnCampaignIotFleetwiseLogs object>
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental