---
title: allowedExecutionTargets
framework: appintents
role: symbol
role_heading: Type Property
path: appintents/appintent/allowedexecutiontargets
---

# allowedExecutionTargets

The list of targets this intent can be executed against.

## Declaration

```swift
static var allowedExecutionTargets: IntentExecutionTargets { get }
```

## Discussion

Discussion By default, an intent can be executed against any target. Use this property to restrict execution to specific targets such as the main app, an App Intents extension, or a WidgetKit extension.

## See Also

### Specifying the intent’s allowed target

- [IntentExecutionTargets](appintents/intentexecutiontargets.md)
- [AppIntent.ExecutionTargets](appintents/appintent/executiontargets.md)
