# EndpointProperty

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `enum`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents the properties of an endpoint that can be referenced.

## Definition

```go
type EndpointProperty string

const (
    EndpointPropertyUrl                  EndpointProperty = "Url"
    EndpointPropertyHost                 EndpointProperty = "Host"
    EndpointPropertyIPV4Host             EndpointProperty = "IPV4Host"
    EndpointPropertyPort                 EndpointProperty = "Port"
    EndpointPropertyScheme               EndpointProperty = "Scheme"
    EndpointPropertyTargetPort           EndpointProperty = "TargetPort"
    EndpointPropertyHostAndPort          EndpointProperty = "HostAndPort"
    EndpointPropertyTlsEnabled           EndpointProperty = "TlsEnabled"
    EndpointPropertyBrowserOrigins       EndpointProperty = "BrowserOrigins"
    EndpointPropertyPrimaryBrowserOrigin EndpointProperty = "PrimaryBrowserOrigin"
)
```

## Values

- `EndpointPropertyUrl` = `"Url"` -- The entire URL of the endpoint.
- `EndpointPropertyHost` = `"Host"` -- The host of the endpoint.
- `EndpointPropertyIPV4Host` = `"IPV4Host"` -- The IPv4 address of the endpoint.
- `EndpointPropertyPort` = `"Port"` -- The port of the endpoint.
- `EndpointPropertyScheme` = `"Scheme"` -- The scheme of the endpoint.
- `EndpointPropertyTargetPort` = `"TargetPort"` -- The target port of the endpoint.
- `EndpointPropertyHostAndPort` = `"HostAndPort"` -- The host and port of the endpoint in the format `{Host}:{Port}`.
- `EndpointPropertyTlsEnabled` = `"TlsEnabled"` -- Whether TLS is enabled on the endpoint. Returns `TrueString` or `FalseString`.
- `EndpointPropertyBrowserOrigins` = `"BrowserOrigins"` -- Comma-separated browser-facing origins for this endpoint.
- `EndpointPropertyPrimaryBrowserOrigin` = `"PrimaryBrowserOrigin"` -- The primary browser-facing origin for this endpoint.
