Share via


PodSecurityContextV1.AppArmorProfile Property

Definition

Represents the AppArmor profile configuration associated with the pod security context. This property defines the AppArmor settings that are applied to the containers in the pod, such as profile type and/or specific profiles applied for runtime security.

[YamlDotNet.Serialization.YamlMember(Alias="appArmorProfile")]
public Aspire.Hosting.Kubernetes.Resources.AppArmorProfileV1? AppArmorProfile { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="appArmorProfile")>]
member this.AppArmorProfile : Aspire.Hosting.Kubernetes.Resources.AppArmorProfileV1 with get, set
Public Property AppArmorProfile As AppArmorProfileV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

AppArmor allows defining mandatory access control policies for applications. When set, this property specifies the AppArmor profile details, enabling fine-grained security controls on containerized workloads.

Applies to