Skip to content
v2.278.0

TriggerConfigProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
        }
    }
};
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 ​

triggerPropertiesoptionalIResolvable | CfnIntegration.TriggerPropertiesPropertytrigger_propertiesoptionaltyping.Union[IResolvable, TriggerPropertiesProperty]triggerPropertiesoptionalIResolvableTriggerPropertiesoptionalIResolvableTriggerPropertiesoptionalinterface{} #
Specifies the configuration details of a schedule-triggered flow that you define.

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

triggerTypestringtrigger_typestrtriggerTypeStringTriggerTypestringTriggerType*string required #
Specifies the type of flow trigger.

It can be OnDemand, Scheduled, or Event.