# StartableTriggerOptions

Base options for triggers that can be started when they are created.

Extends: [TriggerOptions](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_glue.TriggerOptions.html)

- Source: [`aws-glue/lib/triggers/trigger-options.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-glue/lib/triggers/trigger-options.ts#L341)
- Type last changed: v2.270.0 · 17 Sep 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';

declare const action: glue.Action;
const startableTriggerOptions: glue.StartableTriggerOptions = {
  actions: [action],

  // the properties below are optional
  description: 'description',
  name: 'name',
  startOnCreation: false,
};
```

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_glue as glue

# action: glue.Action

startable_trigger_options = glue.StartableTriggerOptions(
    actions=[action],

    # the properties below are optional
    description="description",
    name="name",
    start_on_creation=False
)
```

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

Action action;

StartableTriggerOptions startableTriggerOptions = StartableTriggerOptions.builder()
        .actions(List.of(action))

        // the properties below are optional
        .description("description")
        .name("name")
        .startOnCreation(false)
        .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.Glue;

Action action;

var startableTriggerOptions = new StartableTriggerOptions {
    Actions = new [] { action },

    // the properties below are optional
    Description = "description",
    Name = "name",
    StartOnCreation = false
};
```

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"

var action Action

startableTriggerOptions := &StartableTriggerOptions{
	Actions: []Action{
		action,
	},

	// the properties below are optional
	Description: jsii.String("description"),
	Name: jsii.String("name"),
	StartOnCreation: jsii.Boolean(false),
}
```

## Properties

- `actions`: [Action](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_glue.Action.html)[] (required) — The actions initiated by this trigger.

- `description`: string — A description for the trigger.

  **Default:** no description

- `name`: string — A name for the trigger.

  **Default:** no name is provided

- `startOnCreation`: boolean = false — Whether to start the trigger on creation or not.
