# RadiusEnvironmentConstruct Properties

- Package: [Aspire.Hosting.Radius](/reference/api/csharp/aspire.hosting.radius.md)
- Type: [RadiusEnvironmentConstruct](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentconstruct.md)
- Kind: `Properties`
- Members: `7`

Represents a `Radius.Core/environments` resource in the Bicep AST.

<a id="awsaccountid"></a>

## AwsAccountId

- Name: `AwsAccountId`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusEnvironmentConstruct.cs)

12-digit account ID of the AWS cloud provider. Emitted as `properties.providers.aws.accountId`. The native `Radius.Core/environments` schema models the AWS provider with discrete `accountId` / `region` fields (unlike the legacy `Applications.Core/environments` single `scope` path). Unset for environments that do not configure an AWS provider.

```csharp
public BicepValue<string> AwsAccountId { get; set; }
```

<a id="awsregion"></a>

## AwsRegion

- Name: `AwsRegion`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusEnvironmentConstruct.cs)

Region code of the AWS cloud provider, e.g. `us-west-2`. Emitted as `properties.providers.aws.region`. Unset for environments that do not configure an AWS provider.

```csharp
public BicepValue<string> AwsRegion { get; set; }
```

<a id="azureresourcegroupname"></a>

## AzureResourceGroupName

- Name: `AzureResourceGroupName`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusEnvironmentConstruct.cs)

Resource-group name of the Azure cloud provider. Emitted as `properties.providers.azure.resourceGroupName`. Unset for environments that do not configure an Azure provider.

```csharp
public BicepValue<string> AzureResourceGroupName { get; set; }
```

<a id="azuresubscriptionid"></a>

## AzureSubscriptionId

- Name: `AzureSubscriptionId`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusEnvironmentConstruct.cs)

Subscription GUID of the Azure cloud provider. Emitted as `properties.providers.azure.subscriptionId`. The native `Radius.Core/environments` schema models the Azure provider with discrete `subscriptionId` / `resourceGroupName` fields (unlike the legacy `Applications.Core/environments` single `scope` path). Unset for environments that do not configure an Azure provider.

```csharp
public BicepValue<string> AzureSubscriptionId { get; set; }
```

<a id="environmentname"></a>

## EnvironmentName

- Name: `EnvironmentName`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusEnvironmentConstruct.cs)

The resource name.

```csharp
public BicepValue<string> EnvironmentName { get; set; }
```

<a id="kubernetesnamespace"></a>

## KubernetesNamespace

- Name: `KubernetesNamespace`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusEnvironmentConstruct.cs)

Kubernetes namespace for the environment's Kubernetes provider. When set, emits `properties.providers.kubernetes.namespace`, which Radius requires to route built-in compute UDTs (e.g. `Radius.Compute/containers`) to a Kubernetes cluster instead of falling back to the Azure provider.

```csharp
public BicepValue<string> KubernetesNamespace { get; set; }
```

<a id="recipepacks"></a>

## RecipePacks

- Name: `RecipePacks`
- Modifiers: `get; set`
- Returns: `BicepList<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusEnvironmentConstruct.cs)

List of recipe pack resource ID references (BicepExpressions).

```csharp
public BicepList<string> RecipePacks { get; set; }
```
