Class CfnService.ServiceRegistryProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnService.ServiceRegistryProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnService.ServiceRegistryProperty
CfnService.ServiceRegistryProperty
-
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.ServiceRegistryProperty
CfnService.ServiceRegistryProperty.Builder, CfnService.ServiceRegistryProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnService.ServiceRegistryProperty.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
The container name value to be used for your service discovery service.final Number
The port value to be used for your service discovery service.final Number
getPort()
The port value used if your service discovery service specified an SRV record.final String
The Amazon Resource Name (ARN) of the service registry.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.ServiceRegistryProperty.Builder
.
-
-
Method Details
-
getContainerName
Description copied from interface:CfnService.ServiceRegistryProperty
The container name value to be used for your service discovery service.It's already specified in the task definition. If the task definition that your service task specifies uses the
bridge
orhost
network mode, you must specify acontainerName
andcontainerPort
combination from the task definition. If the task definition that your service task specifies uses theawsvpc
network mode and a type SRV DNS record is used, you must specify either acontainerName
andcontainerPort
combination or aport
value. However, you can't specify both.- Specified by:
getContainerName
in interfaceCfnService.ServiceRegistryProperty
-
getContainerPort
Description copied from interface:CfnService.ServiceRegistryProperty
The port value to be used for your service discovery service.It's already specified in the task definition. If the task definition your service task specifies uses the
bridge
orhost
network mode, you must specify acontainerName
andcontainerPort
combination from the task definition. If the task definition your service task specifies uses theawsvpc
network mode and a type SRV DNS record is used, you must specify either acontainerName
andcontainerPort
combination or aport
value. However, you can't specify both.- Specified by:
getContainerPort
in interfaceCfnService.ServiceRegistryProperty
-
getPort
Description copied from interface:CfnService.ServiceRegistryProperty
The port value used if your service discovery service specified an SRV record.This field might be used if both the
awsvpc
network mode and SRV records are used.- Specified by:
getPort
in interfaceCfnService.ServiceRegistryProperty
-
getRegistryArn
Description copied from interface:CfnService.ServiceRegistryProperty
The Amazon Resource Name (ARN) of the service registry.The currently supported service registry is AWS Cloud Map . For more information, see CreateService .
- Specified by:
getRegistryArn
in interfaceCfnService.ServiceRegistryProperty
-
$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()
-