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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.CfnService.ServiceConnectClientAliasProperty
CfnService.ServiceConnectClientAliasProperty.Builder, CfnService.ServiceConnectClientAliasProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnService.ServiceConnectClientAliasProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringThednsNameis the name that you use in the applications of client tasks to connect to this service.final NumbergetPort()The listening port number for the Service Connect proxy.final ObjectThe configuration for test traffic routing rules used during blue/green deployments with Amazon ECS Service Connect.final inthashCode()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.ServiceConnectClientAliasPropertyThe 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:
getPortin interfaceCfnService.ServiceConnectClientAliasProperty- See Also:
-
getDnsName
Description copied from interface:CfnService.ServiceConnectClientAliasPropertyThednsNameis 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.namespaceis used. If thediscoveryNameisn'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 asmysqlorredis. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide .- Specified by:
getDnsNamein interfaceCfnService.ServiceConnectClientAliasProperty- See Also:
-
getTestTrafficRules
Description copied from interface:CfnService.ServiceConnectClientAliasPropertyThe configuration for test traffic routing rules used during blue/green deployments with Amazon ECS Service Connect.This allows you to route a portion of traffic to the new service revision of your service for testing before shifting all production traffic.
Returns union: either
IResolvableorCfnService.ServiceConnectTestTrafficRulesProperty- Specified by:
getTestTrafficRulesin interfaceCfnService.ServiceConnectClientAliasProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-