#[non_exhaustive]pub struct AwsEcsServiceServiceRegistriesDetails {
pub container_name: Option<String>,
pub container_port: i32,
pub port: i32,
pub registry_arn: Option<String>,
}Expand description
Information about a service discovery registry to assign to the service.
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.container_name: Option<String>The container name value to use for the service discovery service.
If the task definition uses the bridge or host network mode, you must specify ContainerName and ContainerPort.
If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify either ContainerName and ContainerPort, or Port , but not both.
container_port: i32The port value to use for the service discovery service.
If the task definition uses the bridge or host network mode, you must specify ContainerName and ContainerPort.
If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify either ContainerName and ContainerPort, or Port , but not both.
port: i32The port value to use for a service discovery service that specifies an SRV record. This field can be used if both the awsvpcawsvpc network mode and SRV records are used.
registry_arn: Option<String>The ARN of the service registry.
Implementations
sourceimpl AwsEcsServiceServiceRegistriesDetails
impl AwsEcsServiceServiceRegistriesDetails
sourcepub fn container_name(&self) -> Option<&str>
pub fn container_name(&self) -> Option<&str>
The container name value to use for the service discovery service.
If the task definition uses the bridge or host network mode, you must specify ContainerName and ContainerPort.
If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify either ContainerName and ContainerPort, or Port , but not both.
sourcepub fn container_port(&self) -> i32
pub fn container_port(&self) -> i32
The port value to use for the service discovery service.
If the task definition uses the bridge or host network mode, you must specify ContainerName and ContainerPort.
If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify either ContainerName and ContainerPort, or Port , but not both.
sourcepub fn port(&self) -> i32
pub fn port(&self) -> i32
The port value to use for a service discovery service that specifies an SRV record. This field can be used if both the awsvpcawsvpc network mode and SRV records are used.
sourcepub fn registry_arn(&self) -> Option<&str>
pub fn registry_arn(&self) -> Option<&str>
The ARN of the service registry.
sourceimpl AwsEcsServiceServiceRegistriesDetails
impl AwsEcsServiceServiceRegistriesDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEcsServiceServiceRegistriesDetails.
Trait Implementations
sourceimpl Clone for AwsEcsServiceServiceRegistriesDetails
impl Clone for AwsEcsServiceServiceRegistriesDetails
sourcefn clone(&self) -> AwsEcsServiceServiceRegistriesDetails
fn clone(&self) -> AwsEcsServiceServiceRegistriesDetails
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 PartialEq<AwsEcsServiceServiceRegistriesDetails> for AwsEcsServiceServiceRegistriesDetails
impl PartialEq<AwsEcsServiceServiceRegistriesDetails> for AwsEcsServiceServiceRegistriesDetails
sourcefn eq(&self, other: &AwsEcsServiceServiceRegistriesDetails) -> bool
fn eq(&self, other: &AwsEcsServiceServiceRegistriesDetails) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AwsEcsServiceServiceRegistriesDetails) -> bool
fn ne(&self, other: &AwsEcsServiceServiceRegistriesDetails) -> bool
This method tests for !=.
impl StructuralPartialEq for AwsEcsServiceServiceRegistriesDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsEcsServiceServiceRegistriesDetails
impl Send for AwsEcsServiceServiceRegistriesDetails
impl Sync for AwsEcsServiceServiceRegistriesDetails
impl Unpin for AwsEcsServiceServiceRegistriesDetails
impl UnwindSafe for AwsEcsServiceServiceRegistriesDetails
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> 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