# 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/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/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; }
```
