Class CfnCampaignPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.iotfleetwise.CfnCampaignPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:00.393Z")
@Stability(Stable)
public class CfnCampaignPropsMixin
extends Mixin
implements software.constructs.IMixin
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 software.amazon.awscdk.cfnpropertymixins.services.iotfleetwise.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnCampaignPropsMixin cfnCampaignPropsMixin = CfnCampaignPropsMixin.Builder.create(CfnCampaignMixinProps.builder()
.action("action")
.collectionScheme(CollectionSchemeProperty.builder()
.conditionBasedCollectionScheme(ConditionBasedCollectionSchemeProperty.builder()
.conditionLanguageVersion(123)
.expression("expression")
.minimumTriggerIntervalMs(123)
.triggerMode("triggerMode")
.build())
.timeBasedCollectionScheme(TimeBasedCollectionSchemeProperty.builder()
.periodMs(123)
.build())
.build())
.compression("compression")
.dataDestinationConfigs(List.of(DataDestinationConfigProperty.builder()
.mqttTopicConfig(MqttTopicConfigProperty.builder()
.executionRoleArn("executionRoleArn")
.mqttTopicArn("mqttTopicArn")
.build())
.s3Config(S3ConfigProperty.builder()
.bucketArn("bucketArn")
.dataFormat("dataFormat")
.prefix("prefix")
.storageCompressionFormat("storageCompressionFormat")
.build())
.timestreamConfig(TimestreamConfigProperty.builder()
.executionRoleArn("executionRoleArn")
.timestreamTableArn("timestreamTableArn")
.build())
.build()))
.dataExtraDimensions(List.of("dataExtraDimensions"))
.dataPartitions(List.of(DataPartitionProperty.builder()
.id("id")
.storageOptions(DataPartitionStorageOptionsProperty.builder()
.maximumSize(StorageMaximumSizeProperty.builder()
.unit("unit")
.value(123)
.build())
.minimumTimeToLive(StorageMinimumTimeToLiveProperty.builder()
.unit("unit")
.value(123)
.build())
.storageLocation("storageLocation")
.build())
.uploadOptions(DataPartitionUploadOptionsProperty.builder()
.conditionLanguageVersion(123)
.expression("expression")
.build())
.build()))
.description("description")
.diagnosticsMode("diagnosticsMode")
.expiryTime("expiryTime")
.name("name")
.postTriggerCollectionDuration(123)
.priority(123)
.signalCatalogArn("signalCatalogArn")
.signalsToCollect(List.of(SignalInformationProperty.builder()
.dataPartitionId("dataPartitionId")
.maxSampleCount(123)
.minimumSamplingIntervalMs(123)
.name("name")
.build()))
.signalsToFetch(List.of(SignalFetchInformationProperty.builder()
.actions(List.of("actions"))
.conditionLanguageVersion(123)
.fullyQualifiedName("fullyQualifiedName")
.signalFetchConfig(SignalFetchConfigProperty.builder()
.conditionBased(ConditionBasedSignalFetchConfigProperty.builder()
.conditionExpression("conditionExpression")
.triggerMode("triggerMode")
.build())
.timeBased(TimeBasedSignalFetchConfigProperty.builder()
.executionFrequencyMs(123)
.build())
.build())
.build()))
.spoolingMode("spoolingMode")
.startTime("startTime")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetArn("targetArn")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnCampaignPropsMixin.static interfaceSpecifies what data to collect and how often or when to collect it.static interfaceInformation about a collection scheme that uses a simple logical expression to recognize what data to collect.static interfaceSpecifies the condition under which a signal fetch occurs.static interfaceThe destination where the AWS IoT FleetWise campaign sends data.static interfaceThe configuration for signal data storage and upload options.static interfaceSize, time, and location options for the data partition.static interfaceThe upload options for the data partition.static interfaceThe MQTT topic to which the AWS IoT FleetWise campaign routes data.static interfaceThe Amazon S3 bucket where the AWS IoT FleetWise campaign sends data.static interfaceThe configuration of the signal fetch operation.static interfaceInformation about the signal to be fetched.static interfaceInformation about a signal.static interfaceThe maximum storage size for the data partition.static interfaceInformation about the minimum amount of time that data will be kept.static interfaceInformation about a collection scheme that uses a time period to decide how often to collect data.static interfaceUsed to configure a frequency-based vehicle signal fetch.static interfaceThe Amazon Timestream table where the AWS IoT FleetWise campaign sends data.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::IoTFleetWise::Campaign.CfnCampaignPropsMixin(CfnCampaignMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::IoTFleetWise::Campaign.protectedCfnCampaignPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCampaignPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnCampaignMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnCampaignPropsMixin
protected CfnCampaignPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCampaignPropsMixin
protected CfnCampaignPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCampaignPropsMixin
@Stability(Stable) public CfnCampaignPropsMixin(@NotNull CfnCampaignMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::IoTFleetWise::Campaign.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnCampaignPropsMixin
Create a mixin to apply properties toAWS::IoTFleetWise::Campaign.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-