@Stability(value=Stable) @Internal public static final class CfnService.ServiceRegistryProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnService.ServiceRegistryProperty
CfnService.ServiceRegistryPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnService.ServiceRegistryProperty.Builder, CfnService.ServiceRegistryProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnService.ServiceRegistryProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnService.AwsVpcConfigurationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getContainerName()
The container name value to be used for your service discovery service.
|
Number |
getContainerPort()
The port value to be used for your service discovery service.
|
Number |
getPort()
The port value used if your service discovery service specified an SRV record.
|
String |
getRegistryArn()
The Amazon Resource Name (ARN) of the service registry.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnService.ServiceRegistryProperty.Builder builder)
CfnService.AwsVpcConfigurationProperty.Builder.public final String getContainerName()
CfnService.ServiceRegistryProperty
It's already specified in the task definition. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value. However, you can't specify both.
getContainerName in interface CfnService.ServiceRegistryPropertypublic final Number getContainerPort()
CfnService.ServiceRegistryProperty
It's already specified in the task definition. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value. However, you can't specify both.
getContainerPort in interface CfnService.ServiceRegistryPropertypublic final Number getPort()
CfnService.ServiceRegistryProperty
This field might be used if both the awsvpc network mode and SRV records are used.
getPort in interface CfnService.ServiceRegistryPropertypublic final String getRegistryArn()
CfnService.ServiceRegistryPropertyThe currently supported service registry is AWS Cloud Map . For more information, see CreateService .
getRegistryArn in interface CfnService.ServiceRegistryProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.