Class ServiceConnectService.Jsii$Proxy
- All Implemented Interfaces:
ServiceConnectService
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ServiceConnectService
ServiceConnectService
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.ServiceConnectService
ServiceConnectService.Builder, ServiceConnectService.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(ServiceConnectService.Builder builder) Constructor that initializes the object based on literal property values passed by theServiceConnectService.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
Optionally specifies an intermediate dns name to register in the CloudMap namespace.final String
The terse DNS alias to use for this port mapping in the service connect mesh.final Duration
The amount of time in seconds a connection for Service Connect will stay active while idle.final Number
Optional.final Duration
The amount of time waiting for the upstream to respond with a complete response per request for Service Connect.final Number
getPort()
The port for clients to use to communicate with this service via Service Connect.final String
portMappingName specifies which port and protocol combination should be used for this service connect service.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theServiceConnectService.Builder
.
-
-
Method Details
-
getPortMappingName
Description copied from interface:ServiceConnectService
portMappingName specifies which port and protocol combination should be used for this service connect service.- Specified by:
getPortMappingName
in interfaceServiceConnectService
-
getDiscoveryName
Description copied from interface:ServiceConnectService
Optionally specifies an intermediate dns name to register in the CloudMap namespace.This is required if you wish to use the same port mapping name in more than one service.
Default: - port mapping name
- Specified by:
getDiscoveryName
in interfaceServiceConnectService
-
getDnsName
Description copied from interface:ServiceConnectService
The terse DNS alias to use for this port mapping in the service connect mesh.Service Connect-enabled clients will be able to reach this service at http://dnsName:port.
Default: - No alias is created. The service is reachable at `portMappingName.namespace:port`.
- Specified by:
getDnsName
in interfaceServiceConnectService
-
getIdleTimeout
Description copied from interface:ServiceConnectService
The amount of time in seconds a connection for Service Connect will stay active while idle.A value of 0 can be set to disable
idleTimeout
.If
idleTimeout
is set to a time that is less thanperRequestTimeout
, the connection will close when theidleTimeout
is reached and not theperRequestTimeout
.Default: - Duration.minutes(5) for HTTP/HTTP2/GRPC, Duration.hours(1) for TCP.
- Specified by:
getIdleTimeout
in interfaceServiceConnectService
-
getIngressPortOverride
Description copied from interface:ServiceConnectService
Optional.The port on the Service Connect agent container to use for traffic ingress to this service.
Default: - none
- Specified by:
getIngressPortOverride
in interfaceServiceConnectService
-
getPerRequestTimeout
Description copied from interface:ServiceConnectService
The amount of time waiting for the upstream to respond with a complete response per request for Service Connect.A value of 0 can be set to disable
perRequestTimeout
. Can only be set when theappProtocol
for the application container is HTTP/HTTP2/GRPC.If
idleTimeout
is set to a time that is less thanperRequestTimeout
, the connection will close when theidleTimeout
is reached and not theperRequestTimeout
.Default: - Duration.seconds(15)
- Specified by:
getPerRequestTimeout
in interfaceServiceConnectService
-
getPort
Description copied from interface:ServiceConnectService
The port for clients to use to communicate with this service via Service Connect.Default: the container port specified by the port mapping in portMappingName.
- Specified by:
getPort
in interfaceServiceConnectService
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-