# UrlEndpointInputProperty

The configuration for the URL endpoint type.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_refactorspaces as refactorspaces } from 'aws-cdk-lib';
const urlEndpointInputProperty: refactorspaces.CfnService.UrlEndpointInputProperty = {
  url: 'url',

  // the properties below are optional
  healthUrl: 'healthUrl',
};
```

Python:

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

url_endpoint_input_property = refactorspaces.CfnService.UrlEndpointInputProperty(
    url="url",

    # the properties below are optional
    health_url="healthUrl"
)
```

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.services.refactorspaces.*;

UrlEndpointInputProperty urlEndpointInputProperty = UrlEndpointInputProperty.builder()
        .url("url")

        // the properties below are optional
        .healthUrl("healthUrl")
        .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.AWS.RefactorSpaces;

var urlEndpointInputProperty = new UrlEndpointInputProperty {
    Url = "url",

    // the properties below are optional
    HealthUrl = "healthUrl"
};
```

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"

urlEndpointInputProperty := &UrlEndpointInputProperty{
	Url: jsii.String("url"),

	// the properties below are optional
	HealthUrl: jsii.String("healthUrl"),
}
```

## Properties

- `healthUrl`: string — The health check URL of the URL endpoint type.

  If the URL is a public endpoint, the `HealthUrl` must also be a public endpoint. If the URL is a private endpoint inside a virtual private cloud (VPC), the health URL must also be a private endpoint, and the host must be the same as the URL.

- `url`: string (required) — The URL to route traffic to.

  The URL must be an [rfc3986-formatted URL](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc3986) . If the host is a domain name, the name must be resolvable over the public internet. If the scheme is `https` , the top level domain of the host must be listed in the [IANA root zone database](https://docs.aws.amazon.com/https://www.iana.org/domains/root/db) .
