# TriggerConfigProperty

The trigger settings that determine how and when Amazon AppFlow runs the specified flow.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const triggerConfigProperty: customerprofiles.CfnIntegration.TriggerConfigProperty = {
  triggerType: 'triggerType',

  // the properties below are optional
  triggerProperties: {
    scheduled: {
      scheduleExpression: 'scheduleExpression',

      // the properties below are optional
      dataPullMode: 'dataPullMode',
      firstExecutionFrom: 123,
      scheduleEndTime: 123,
      scheduleOffset: 123,
      scheduleStartTime: 123,
      timezone: 'timezone',
    },
  },
};
```

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_customerprofiles as customerprofiles

trigger_config_property = customerprofiles.CfnIntegration.TriggerConfigProperty(
    trigger_type="triggerType",

    # the properties below are optional
    trigger_properties=customerprofiles.CfnIntegration.TriggerPropertiesProperty(
        scheduled=customerprofiles.CfnIntegration.ScheduledTriggerPropertiesProperty(
            schedule_expression="scheduleExpression",

            # the properties below are optional
            data_pull_mode="dataPullMode",
            first_execution_from=123,
            schedule_end_time=123,
            schedule_offset=123,
            schedule_start_time=123,
            timezone="timezone"
        )
    )
)
```

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

TriggerConfigProperty triggerConfigProperty = TriggerConfigProperty.builder()
        .triggerType("triggerType")

        // the properties below are optional
        .triggerProperties(TriggerPropertiesProperty.builder()
                .scheduled(ScheduledTriggerPropertiesProperty.builder()
                        .scheduleExpression("scheduleExpression")

                        // the properties below are optional
                        .dataPullMode("dataPullMode")
                        .firstExecutionFrom(123)
                        .scheduleEndTime(123)
                        .scheduleOffset(123)
                        .scheduleStartTime(123)
                        .timezone("timezone")
                        .build())
                .build())
        .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.CustomerProfiles;

var triggerConfigProperty = new TriggerConfigProperty {
    TriggerType = "triggerType",

    // the properties below are optional
    TriggerProperties = new TriggerPropertiesProperty {
        Scheduled = new ScheduledTriggerPropertiesProperty {
            ScheduleExpression = "scheduleExpression",

            // the properties below are optional
            DataPullMode = "dataPullMode",
            FirstExecutionFrom = 123,
            ScheduleEndTime = 123,
            ScheduleOffset = 123,
            ScheduleStartTime = 123,
            Timezone = "timezone"
        }
    }
};
```

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"

triggerConfigProperty := &TriggerConfigProperty{
	TriggerType: jsii.String("triggerType"),

	// the properties below are optional
	TriggerProperties: &TriggerPropertiesProperty{
		Scheduled: &ScheduledTriggerPropertiesProperty{
			ScheduleExpression: jsii.String("scheduleExpression"),

			// the properties below are optional
			DataPullMode: jsii.String("dataPullMode"),
			FirstExecutionFrom: jsii.Number(123),
			ScheduleEndTime: jsii.Number(123),
			ScheduleOffset: jsii.Number(123),
			ScheduleStartTime: jsii.Number(123),
			Timezone: jsii.String("timezone"),
		},
	},
}
```

## Properties

- `triggerProperties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIntegration.TriggerPropertiesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_customerprofiles.CfnIntegration.TriggerPropertiesProperty.html) — Specifies the configuration details of a schedule-triggered flow that you define.

  Currently, these settings only apply to the Scheduled trigger type.

- `triggerType`: string (required) — Specifies the type of flow trigger.

  It can be OnDemand, Scheduled, or Event.
