Skip to content
v2.278.0

SignalFetchConfigProperty Struct ​

The configuration of the signal fetch operation.

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 ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotfleetwise as iotfleetwise } from 'aws-cdk-lib';
const signalFetchConfigProperty: iotfleetwise.CfnCampaign.SignalFetchConfigProperty = {
  conditionBased: {
    conditionExpression: 'conditionExpression',
    triggerMode: 'triggerMode',
  },
  timeBased: {
    executionFrequencyMs: 123,
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotfleetwise as iotfleetwise

signal_fetch_config_property = iotfleetwise.CfnCampaign.SignalFetchConfigProperty(
    condition_based=iotfleetwise.CfnCampaign.ConditionBasedSignalFetchConfigProperty(
        condition_expression="conditionExpression",
        trigger_mode="triggerMode"
    ),
    time_based=iotfleetwise.CfnCampaign.TimeBasedSignalFetchConfigProperty(
        execution_frequency_ms=123
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotfleetwise.*;

SignalFetchConfigProperty signalFetchConfigProperty = SignalFetchConfigProperty.builder()
        .conditionBased(ConditionBasedSignalFetchConfigProperty.builder()
                .conditionExpression("conditionExpression")
                .triggerMode("triggerMode")
                .build())
        .timeBased(TimeBasedSignalFetchConfigProperty.builder()
                .executionFrequencyMs(123)
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTFleetWise;

var signalFetchConfigProperty = new SignalFetchConfigProperty {
    ConditionBased = new ConditionBasedSignalFetchConfigProperty {
        ConditionExpression = "conditionExpression",
        TriggerMode = "triggerMode"
    },
    TimeBased = new TimeBasedSignalFetchConfigProperty {
        ExecutionFrequencyMs = 123
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

signalFetchConfigProperty := &SignalFetchConfigProperty{
	ConditionBased: &ConditionBasedSignalFetchConfigProperty{
		ConditionExpression: jsii.String("conditionExpression"),
		TriggerMode: jsii.String("triggerMode"),
	},
	TimeBased: &TimeBasedSignalFetchConfigProperty{
		ExecutionFrequencyMs: jsii.Number(123),
	},
}

Properties ​

conditionBasedoptionalIResolvable | CfnCampaign.ConditionBasedSignalFetchConfigPropertycondition_basedoptionaltyping.Union[IResolvable, ConditionBasedSignalFetchConfigProperty]conditionBasedoptionalIResolvableConditionBasedoptionalIResolvableConditionBasedoptionalinterface{} #
The configuration of a condition-based signal fetch operation.
timeBasedoptionalIResolvable | CfnCampaign.TimeBasedSignalFetchConfigPropertytime_basedoptionaltyping.Union[IResolvable, TimeBasedSignalFetchConfigProperty]timeBasedoptionalIResolvableTimeBasedoptionalIResolvableTimeBasedoptionalinterface{} #
The configuration of a time-based signal fetch operation.