#[non_exhaustive]pub struct AwsEcsServiceServiceRegistriesDetails { /* private fields */ }Expand description
Information about a service discovery registry to assign to the service.
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
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more