class CfnCampaignLogsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTFleetWise.Mixins.CfnCampaignLogsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotfleetwise/mixins#CfnCampaignLogsMixin |
Java | software.amazon.awscdk.mixins.preview.services.iotfleetwise.mixins.CfnCampaignLogsMixin |
Python | aws_cdk.mixins_preview.aws_iotfleetwise.mixins.CfnCampaignLogsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_iotfleetwise » mixins » CfnCampaignLogsMixin |
Implements
IMixin
Extends
Mixin
Creates 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 .
Access to certain AWS IoT FleetWise features is currently gated. For more information, see AWS Region and feature availability in the AWS IoT FleetWise Developer Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from '@aws-cdk/mixins-preview';
import { mixins as iotfleetwise_mixins } from '@aws-cdk/mixins-preview/aws-iotfleetwise';
declare const logsDelivery: logs.ILogsDelivery;
const cfnCampaignLogsMixin = new iotfleetwise_mixins.CfnCampaignLogsMixin('logType', logsDelivery);
Initializer
new CfnCampaignLogsMixin(logType: string, logDelivery: ILogsDelivery)
Parameters
- logType
string— Type of logs that are getting vended. - logDelivery
ILogs— Object in charge of setting up the delivery source, delivery destination, and delivery connection.Delivery
Create a mixin to enable vended logs for AWS::IoTFleetWise::Campaign.
Properties
| Name | Type | Description |
|---|---|---|
| log | ILogs | |
| log | string | |
| static IOT_FLEETWISE_LOGS | Cfn |
logDelivery
Type:
ILogs
logType
Type:
string
static IOT_FLEETWISE_LOGS
Type:
Cfn
Methods
| Name | Description |
|---|---|
| apply | Apply vended logs configuration to the construct. |
| supports(construct) | Check if this mixin supports the given construct (has vendedLogs property). |
applyTo(resource)
public applyTo(resource: IConstruct): IConstruct
Parameters
- resource
IConstruct
Returns
Apply vended logs configuration to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct (has vendedLogs property).

.NET
Go
Java
Python
TypeScript