#[non_exhaustive]pub struct PrivateRegistryAccessRequest {
pub ecr_image_puller_role: Option<ContainerServiceEcrImagePullerRoleRequest>,
}
Expand description
Describes a request to configure an Amazon Lightsail container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories.
For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.
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.ecr_image_puller_role: Option<ContainerServiceEcrImagePullerRoleRequest>
An object to describe a request to activate or deactivate the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.
Implementations§
source§impl PrivateRegistryAccessRequest
impl PrivateRegistryAccessRequest
sourcepub fn ecr_image_puller_role(
&self
) -> Option<&ContainerServiceEcrImagePullerRoleRequest>
pub fn ecr_image_puller_role( &self ) -> Option<&ContainerServiceEcrImagePullerRoleRequest>
An object to describe a request to activate or deactivate the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.
source§impl PrivateRegistryAccessRequest
impl PrivateRegistryAccessRequest
sourcepub fn builder() -> PrivateRegistryAccessRequestBuilder
pub fn builder() -> PrivateRegistryAccessRequestBuilder
Creates a new builder-style object to manufacture PrivateRegistryAccessRequest
.
Trait Implementations§
source§impl Clone for PrivateRegistryAccessRequest
impl Clone for PrivateRegistryAccessRequest
source§fn clone(&self) -> PrivateRegistryAccessRequest
fn clone(&self) -> PrivateRegistryAccessRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PrivateRegistryAccessRequest
impl Debug for PrivateRegistryAccessRequest
source§impl PartialEq for PrivateRegistryAccessRequest
impl PartialEq for PrivateRegistryAccessRequest
source§fn eq(&self, other: &PrivateRegistryAccessRequest) -> bool
fn eq(&self, other: &PrivateRegistryAccessRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PrivateRegistryAccessRequest
Auto Trait Implementations§
impl Freeze for PrivateRegistryAccessRequest
impl RefUnwindSafe for PrivateRegistryAccessRequest
impl Send for PrivateRegistryAccessRequest
impl Sync for PrivateRegistryAccessRequest
impl Unpin for PrivateRegistryAccessRequest
impl UnwindSafe for PrivateRegistryAccessRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more