Struct aws_sdk_lightsail::input::RegisterContainerImageInput [−][src]
#[non_exhaustive]pub struct RegisterContainerImageInput {
pub service_name: Option<String>,
pub label: Option<String>,
pub digest: Option<String>,
}
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.service_name: Option<String>
The name of the container service for which to register a container image.
label: Option<String>
The label for the container image when it's registered to the container service.
Use a descriptive label that you can use to track the different versions of your registered container images.
Use the GetContainerImages
action to return the container images registered
to a Lightsail container service. The label is the
portion
of the following image name example:
-
:container-service-1.
.1
If the name of your container service is mycontainerservice
, and the label
that you specify is mystaticwebsite
, then the name of the registered container
image will be :mycontainerservice.mystaticwebsite.1
.
The number at the end of these image name examples represents the version of the
registered container image. If you push and register another container image to the same
Lightsail container service, with the same label, then the version number for the new
registered container image will be 2
. If you push and register another container
image, the version number will be 3
, and so on.
digest: Option<String>
The digest of the container image to be registered.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RegisterContainerImage, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RegisterContainerImage, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RegisterContainerImage
>
Creates a new builder-style object to manufacture RegisterContainerImageInput
The name of the container service for which to register a container image.
The label for the container image when it's registered to the container service.
Use a descriptive label that you can use to track the different versions of your registered container images.
Use the GetContainerImages
action to return the container images registered
to a Lightsail container service. The label is the
portion
of the following image name example:
-
:container-service-1.
.1
If the name of your container service is mycontainerservice
, and the label
that you specify is mystaticwebsite
, then the name of the registered container
image will be :mycontainerservice.mystaticwebsite.1
.
The number at the end of these image name examples represents the version of the
registered container image. If you push and register another container image to the same
Lightsail container service, with the same label, then the version number for the new
registered container image will be 2
. If you push and register another container
image, the version number will be 3
, and so on.
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 RegisterContainerImageInput
impl Send for RegisterContainerImageInput
impl Sync for RegisterContainerImageInput
impl Unpin for RegisterContainerImageInput
impl UnwindSafe for RegisterContainerImageInput
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