# AppArmorProfileV1

- Kind: `class`
- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Version: `13.3.0-preview.1.26254.5`
- Namespace: `Aspire.Hosting.Kubernetes.Resources`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/AppArmorProfileV1.cs)

Represents the AppArmor profile configuration for a Kubernetes resource.

## Definition

```csharp
namespace Aspire.Hosting.Kubernetes.Resources;

public sealed class AppArmorProfileV1
{
    // ...
}
```

## Constructors

- [AppArmorProfileV1](/reference/api/csharp/aspire.hosting.kubernetes/apparmorprofilev1/constructors.md#constructor)

## Properties

- [LocalhostProfile](/reference/api/csharp/aspire.hosting.kubernetes/apparmorprofilev1/properties.md#localhostprofile) : `string` `get; set` -- Gets or sets the name of the local host profile for AppArmor. This property specifies the custom profile to be used for defining security policies for the application on the local host.
- [Type](/reference/api/csharp/aspire.hosting.kubernetes/apparmorprofilev1/properties.md#type) : `string` `get; set` -- Gets or sets the type of the AppArmor profile. This property indicates the kind of AppArmor configuration to be applied, and its value determines the specific behavior or rules enforced by AppArmor for a workload or container.
