Struct aws_sdk_ecs::model::ServiceRegistry [−][src]
#[non_exhaustive]pub struct ServiceRegistry {
pub registry_arn: Option<String>,
pub port: Option<i32>,
pub container_name: Option<String>,
pub container_port: Option<i32>,
}
Expand description
Details of the service registry.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.registry_arn: Option<String>
The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is Cloud Map. For more information, see CreateService.
port: Option<i32>
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.
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<i32>
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.
Implementations
The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is Cloud Map. For more information, see CreateService.
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.
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.
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.
Creates a new builder-style object to manufacture ServiceRegistry
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more