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:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> 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 to AWS::IoTFleetWise::Campaign.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnCampaignPropsMixin

      @Stability(Stable) public CfnCampaignPropsMixin(@NotNull CfnCampaignMixinProps props)
      Create a mixin to apply properties to AWS::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.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnCampaignMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()