Struct rusoto_ecs::ServiceRegistry
source · [−]pub struct ServiceRegistry {
pub container_name: Option<String>,
pub container_port: Option<i64>,
pub port: Option<i64>,
pub registry_arn: Option<String>,
}
Expand description
Details of the service registry.
Fields
container_name: Option<String>
The container name value, already specified in the task definition, to be used for your service discovery service. 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, but not both.
container_port: Option<i64>
The port value, already specified in the task definition, to be used for your service discovery service. 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, but not both.
port: Option<i64>
The port value used if your service discovery service specified an SRV record. This field may be used if both the awsvpc
network mode and SRV records are used.
registry_arn: Option<String>
The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS Cloud Map. For more information, see CreateService.
Trait Implementations
sourceimpl Clone for ServiceRegistry
impl Clone for ServiceRegistry
sourcefn clone(&self) -> ServiceRegistry
fn clone(&self) -> ServiceRegistry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ServiceRegistry
impl Debug for ServiceRegistry
sourceimpl Default for ServiceRegistry
impl Default for ServiceRegistry
sourcefn default() -> ServiceRegistry
fn default() -> ServiceRegistry
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ServiceRegistry
impl<'de> Deserialize<'de> for ServiceRegistry
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ServiceRegistry> for ServiceRegistry
impl PartialEq<ServiceRegistry> for ServiceRegistry
sourcefn eq(&self, other: &ServiceRegistry) -> bool
fn eq(&self, other: &ServiceRegistry) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ServiceRegistry) -> bool
fn ne(&self, other: &ServiceRegistry) -> bool
This method tests for !=
.
sourceimpl Serialize for ServiceRegistry
impl Serialize for ServiceRegistry
impl StructuralPartialEq for ServiceRegistry
Auto Trait Implementations
impl RefUnwindSafe for ServiceRegistry
impl Send for ServiceRegistry
impl Sync for ServiceRegistry
impl Unpin for ServiceRegistry
impl UnwindSafe for ServiceRegistry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more