Class CfnService.ServiceConnectClientAliasProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnService.ServiceConnectClientAliasProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnService.ServiceConnectClientAliasProperty
CfnService.ServiceConnectClientAliasProperty
-
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.CfnService.ServiceConnectClientAliasProperty
CfnService.ServiceConnectClientAliasProperty.Builder, CfnService.ServiceConnectClientAliasProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnService.ServiceConnectClientAliasProperty.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
ThednsName
is the name that you use in the applications of client tasks to connect to this service.final Number
getPort()
The listening port number for the Service Connect proxy.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 theCfnService.ServiceConnectClientAliasProperty.Builder
.
-
-
Method Details
-
getPort
Description copied from interface:CfnService.ServiceConnectClientAliasProperty
The listening port number for the Service Connect proxy.This port is available inside of all of the tasks within the same namespace.
To avoid changing your applications in client Amazon ECS services, set this to the same port that the client application uses by default. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide .
- Specified by:
getPort
in interfaceCfnService.ServiceConnectClientAliasProperty
-
getDnsName
Description copied from interface:CfnService.ServiceConnectClientAliasProperty
ThednsName
is the name that you use in the applications of client tasks to connect to this service.The name must be a valid DNS name but doesn't need to be fully-qualified. The name can include up to 127 characters. The name can include lowercase letters, numbers, underscores (_), hyphens (-), and periods (.). The name can't start with a hyphen.
If this parameter isn't specified, the default value of
discoveryName.namespace
is used. If thediscoveryName
isn't specified, the port mapping name from the task definition is used inportName.namespace
.To avoid changing your applications in client Amazon ECS services, set this to the same name that the client application uses by default. For example, a few common names are
database
,db
, or the lowercase name of a database, such asmysql
orredis
. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide .- Specified by:
getDnsName
in interfaceCfnService.ServiceConnectClientAliasProperty
-
$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()
-