# RadiusEnvironmentConstruct

- Kind: `class`
- Package: [Aspire.Hosting.Radius](/reference/api/csharp/aspire.hosting.radius.md)
- Version: `13.5.3-preview.1.26425.3`
- Namespace: `Aspire.Hosting.Radius.Publishing.Constructs`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/Publishing/Constructs/RadiusEnvironmentConstruct.cs)
- Inherits: `ProvisionableResource`

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

## Definition

```csharp
namespace Aspire.Hosting.Radius.Publishing.Constructs;

public sealed class RadiusEnvironmentConstruct
    : Azure.Provisioning.Primitives.ProvisionableResource
{
    // ...
}
```

## Constructors

- [RadiusEnvironmentConstruct(string)](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentconstruct/constructors.md#constructor-string) -- Initializes a new [RadiusEnvironmentConstruct](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentconstruct.md) with the given Bicep identifier.

## Properties

- [AwsAccountId](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentconstruct/properties.md#awsaccountid) : `BicepValue<string>` `get; set` -- 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.
- [AwsRegion](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentconstruct/properties.md#awsregion) : `BicepValue<string>` `get; set` -- 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.
- [AzureResourceGroupName](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentconstruct/properties.md#azureresourcegroupname) : `BicepValue<string>` `get; set` -- Resource-group name of the Azure cloud provider. Emitted as `properties.providers.azure.resourceGroupName`. Unset for environments that do not configure an Azure provider.
- [AzureSubscriptionId](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentconstruct/properties.md#azuresubscriptionid) : `BicepValue<string>` `get; set` -- 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.
- [EnvironmentName](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentconstruct/properties.md#environmentname) : `BicepValue<string>` `get; set` -- The resource name.
- [KubernetesNamespace](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentconstruct/properties.md#kubernetesnamespace) : `BicepValue<string>` `get; set` -- 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.
- [RecipePacks](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentconstruct/properties.md#recipepacks) : `BicepList<string>` `get; set` -- List of recipe pack resource ID references (BicepExpressions).
