# ConditionBasedSignalFetchConfigProperty

Specifies the condition under which a signal fetch occurs.

- Source: Generated at build time
- Type last changed: v2.159.0 · 19 Sep 2024

## Example

TypeScript:

```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 conditionBasedSignalFetchConfigProperty: iotfleetwise.CfnCampaign.ConditionBasedSignalFetchConfigProperty = {
  conditionExpression: 'conditionExpression',
  triggerMode: 'triggerMode',
};
```

Python:

```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

condition_based_signal_fetch_config_property = iotfleetwise.CfnCampaign.ConditionBasedSignalFetchConfigProperty(
    condition_expression="conditionExpression",
    trigger_mode="triggerMode"
)
```

Java:

```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.*;

ConditionBasedSignalFetchConfigProperty conditionBasedSignalFetchConfigProperty = ConditionBasedSignalFetchConfigProperty.builder()
        .conditionExpression("conditionExpression")
        .triggerMode("triggerMode")
        .build();
```

C# / .NET:

```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 conditionBasedSignalFetchConfigProperty = new ConditionBasedSignalFetchConfigProperty {
    ConditionExpression = "conditionExpression",
    TriggerMode = "triggerMode"
};
```

Golang:

```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"

conditionBasedSignalFetchConfigProperty := &ConditionBasedSignalFetchConfigProperty{
	ConditionExpression: jsii.String("conditionExpression"),
	TriggerMode: jsii.String("triggerMode"),
}
```

## Properties

- `conditionExpression`: string (required) — The condition that must be satisfied to trigger a signal fetch.

- `triggerMode`: string (required) — Indicates the mode in which the signal fetch is triggered.
