CfnVehicleLogsMixin
- class aws_cdk.mixins_preview.aws_iotfleetwise.mixins.CfnVehicleLogsMixin(log_type, log_delivery)
Bases:
MixinCreates a vehicle, which is an instance of a vehicle model (model manifest).
Vehicles created from the same vehicle model consist of the same signals inherited from the vehicle model. .. epigraph:
If you have an existing AWS IoT thing, you can use AWS IoT FleetWise to create a vehicle and collect data from your thing.
For more information, see Vehicles in the AWS IoT FleetWise Developer Guide .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleetwise-vehicle.html
- CloudformationResource:
AWS::IoTFleetWise::Vehicle
- 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_vehicle_logs_mixin = iotfleetwise_mixins.CfnVehicleLogsMixin("logType", logs_delivery)
Create a mixin to enable vended logs for
AWS::IoTFleetWise::Vehicle.- 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.CfnVehicleIotFleetwiseLogs 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