Skip to content
v2.278.0

UrlEndpointInputProperty Struct ​

The configuration for the URL endpoint type.

Example ​

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
# 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
// 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();
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"
};
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 ​

healthUrloptionalstringhealth_urloptionalstrhealthUrloptionalStringHealthUrloptionalstringHealthUrloptional*string #
The health check URL of the URL endpoint type.
notes

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.

urlstringurlstrurlStringUrlstringUrl*string required #
The URL to route traffic to.
notes

The URL must be an rfc3986-formatted URL . 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 .