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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.CfnService.ServiceRegistryProperty
CfnService.ServiceRegistryProperty.Builder, CfnService.ServiceRegistryProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnService.ServiceRegistryProperty.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 StringThe container name value to be used for your service discovery service.final NumberThe port value to be used for your service discovery service.final NumbergetPort()The port value used if your service discovery service specified an SRV record.final StringThe Amazon Resource Name (ARN) of the service registry.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.ServiceRegistryProperty.Builder.
-
-
Method Details
-
getContainerName
Description copied from interface:CfnService.ServiceRegistryPropertyThe 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
bridgeorhostnetwork mode, you must specify acontainerNameandcontainerPortcombination from the task definition. If the task definition that your service task specifies uses theawsvpcnetwork mode and a type SRV DNS record is used, you must specify either acontainerNameandcontainerPortcombination or aportvalue. However, you can't specify both.- Specified by:
getContainerNamein interfaceCfnService.ServiceRegistryProperty- See Also:
-
getContainerPort
Description copied from interface:CfnService.ServiceRegistryPropertyThe 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
bridgeorhostnetwork mode, you must specify acontainerNameandcontainerPortcombination from the task definition. If the task definition your service task specifies uses theawsvpcnetwork mode and a type SRV DNS record is used, you must specify either acontainerNameandcontainerPortcombination or aportvalue. However, you can't specify both.- Specified by:
getContainerPortin interfaceCfnService.ServiceRegistryProperty- See Also:
-
getPort
Description copied from interface:CfnService.ServiceRegistryPropertyThe port value used if your service discovery service specified an SRV record.This field might be used if both the
awsvpcnetwork mode and SRV records are used.- Specified by:
getPortin interfaceCfnService.ServiceRegistryProperty- See Also:
-
getRegistryArn
Description copied from interface:CfnService.ServiceRegistryPropertyThe Amazon Resource Name (ARN) of the service registry.The currently supported service registry is AWS Cloud Map . For more information, see CreateService .
- Specified by:
getRegistryArnin interfaceCfnService.ServiceRegistryProperty- 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()
-