Struct aws_sdk_securityhub::model::AwsEcsServiceServiceRegistriesDetails [−][src]
#[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: 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.
port: i32
The port value to use for a service discovery service that specifies an SRV record. This field can be used if both the awsvpc
awsvpc network mode and SRV records are used.
registry_arn: Option<String>
The ARN of the service registry.
Implementations
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.
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.
The port value to use for a service discovery service that specifies an SRV record. This field can be used if both the awsvpc
awsvpc network mode and SRV records are used.
The ARN of the service registry.
Creates a new builder-style object to manufacture AwsEcsServiceServiceRegistriesDetails
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
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