# HostedConfigurationVersionReference

A reference to a HostedConfigurationVersion resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appconfig as interfaces_appconfig } from 'aws-cdk-lib/interfaces';
const hostedConfigurationVersionReference: interfaces_appconfig.HostedConfigurationVersionReference = {
  applicationId: 'applicationId',
  configurationProfileId: 'configurationProfileId',
  versionNumber: 'versionNumber',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_appconfig as interfaces_appconfig

hosted_configuration_version_reference = interfaces_appconfig.HostedConfigurationVersionReference(
    application_id="applicationId",
    configuration_profile_id="configurationProfileId",
    version_number="versionNumber"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.appconfig.*;

HostedConfigurationVersionReference hostedConfigurationVersionReference = HostedConfigurationVersionReference.builder()
        .applicationId("applicationId")
        .configurationProfileId("configurationProfileId")
        .versionNumber("versionNumber")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.AppConfig;

var hostedConfigurationVersionReference = new HostedConfigurationVersionReference {
    ApplicationId = "applicationId",
    ConfigurationProfileId = "configurationProfileId",
    VersionNumber = "versionNumber"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

hostedConfigurationVersionReference := &HostedConfigurationVersionReference{
	ApplicationId: jsii.String("applicationId"),
	ConfigurationProfileId: jsii.String("configurationProfileId"),
	VersionNumber: jsii.String("versionNumber"),
}
```

## Properties

- `applicationId`: string (required) — The ApplicationId of the HostedConfigurationVersion resource.

- `configurationProfileId`: string (required) — The ConfigurationProfileId of the HostedConfigurationVersion resource.

- `versionNumber`: string (required) — The VersionNumber of the HostedConfigurationVersion resource.
