# ExecActionV1 Properties

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [ExecActionV1](/reference/api/csharp/aspire.hosting.kubernetes/execactionv1.md)
- Kind: `Properties`
- Members: `1`

ExecActionV1 represents an action that executes a command within a container.

## Command

- Name: `Command`
- Modifiers: `get`
- Returns: `List<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Kubernetes/Resources/ExecActionV1.cs#L25)

Gets the list of commands to be executed. This property represents the specific command-line arguments that will be invoked as part of the execution action.

```csharp
public List<string> Command { get; }
```
