IResourceWithEndpoints.withHttpsEndpoint
Method
interface IResourceWithEndpoints { // ... omitted for brevity withHttpsEndpoint( port?: number, targetPort?: number, name?: string, env?: string, isProxied?: boolean): IResourceWithEndpoints;}Signature
method
withHttpsEndpoint builderAdds an HTTPS endpoint
withHttpsEndpoint( port?: number, targetPort?: number, name?: string, env?: string, isProxied?: boolean): IResourceWithEndpointsParameters
portnumberoptionalAn optional host port.targetPort numberoptionalThis is the port the resource is listening on. If the endpoint is used for the container, it is the container port.namestringoptionalAn optional name of the endpoint. Defaults to "https" if not specified.envstringoptionalAn optional name of the environment variable to inject.isProxied booleanoptionalSpecifies if the endpoint will be proxied by DCP. Defaults to `null`.Returns
IResourceWithEndpoints Defined on
This method is defined on the following type: