Class CfnService.ServiceConnectServiceProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnService.ServiceConnectServiceProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnService.ServiceConnectServiceProperty
CfnService.ServiceConnectServiceProperty-
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.ServiceConnectServiceProperty
CfnService.ServiceConnectServiceProperty.Builder, CfnService.ServiceConnectServiceProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnService.ServiceConnectServiceProperty.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 ObjectThe list of client aliases for this Service Connect service.final StringThediscoveryNameis the name of the new AWS Cloud Map service that Amazon ECS creates for this Amazon ECS service.final NumberThe port number for the Service Connect proxy to listen on.final StringTheportNamemust match the name of one of theportMappingsfrom all the containers in the task definition of this Amazon ECS service.final ObjectA reference to an object that represents the configured timeouts for Service Connect.final ObjectgetTls()A reference to an object that represents a Transport Layer Security (TLS) configuration.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.ServiceConnectServiceProperty.Builder.
-
-
Method Details
-
getPortName
Description copied from interface:CfnService.ServiceConnectServicePropertyTheportNamemust match the name of one of theportMappingsfrom all the containers in the task definition of this Amazon ECS service.- Specified by:
getPortNamein interfaceCfnService.ServiceConnectServiceProperty- See Also:
-
getClientAliases
Description copied from interface:CfnService.ServiceConnectServicePropertyThe list of client aliases for this Service Connect service.You use these to assign names that can be used by client applications. The maximum number of client aliases that you can have in this list is 1.
Each alias ("endpoint") is a fully-qualified name and port number that other Amazon ECS tasks ("clients") can use to connect to this service.
Each name and port mapping must be unique within the namespace.
For each
ServiceConnectService, you must provide at least oneclientAliaswith oneport.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnService.ServiceConnectClientAliasProperty>- Specified by:
getClientAliasesin interfaceCfnService.ServiceConnectServiceProperty- See Also:
-
getDiscoveryName
Description copied from interface:CfnService.ServiceConnectServicePropertyThediscoveryNameis the name of the new AWS Cloud Map service that Amazon ECS creates for this Amazon ECS service.This must be unique within the AWS Cloud Map namespace. The name can contain up to 64 characters. The name can include lowercase letters, numbers, underscores (_), and hyphens (-). The name can't start with a hyphen.
If the
discoveryNameisn't specified, the port mapping name from the task definition is used inportName.namespace.- Specified by:
getDiscoveryNamein interfaceCfnService.ServiceConnectServiceProperty- See Also:
-
getIngressPortOverride
Description copied from interface:CfnService.ServiceConnectServicePropertyThe port number for the Service Connect proxy to listen on.Use the value of this field to bypass the proxy for traffic on the port number specified in the named
portMappingin the task definition of this application, and then use it in your VPC security groups to allow traffic into the proxy for this Amazon ECS service.In
awsvpcmode and Fargate, the default value is the container port number. The container port number is in theportMappingin the task definition. In bridge mode, the default value is the ephemeral port of the Service Connect proxy.- Specified by:
getIngressPortOverridein interfaceCfnService.ServiceConnectServiceProperty- See Also:
-
getTimeout
Description copied from interface:CfnService.ServiceConnectServicePropertyA reference to an object that represents the configured timeouts for Service Connect.Returns union: either
IResolvableorCfnService.TimeoutConfigurationProperty- Specified by:
getTimeoutin interfaceCfnService.ServiceConnectServiceProperty- See Also:
-
getTls
Description copied from interface:CfnService.ServiceConnectServicePropertyA reference to an object that represents a Transport Layer Security (TLS) configuration.Returns union: either
IResolvableorCfnService.ServiceConnectTlsConfigurationProperty- Specified by:
getTlsin interfaceCfnService.ServiceConnectServiceProperty- 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()
-