Struct aws_sdk_lightsail::types::PrivateRegistryAccess
source · #[non_exhaustive]pub struct PrivateRegistryAccess {
pub ecr_image_puller_role: Option<ContainerServiceEcrImagePullerRole>,
}
Expand description
Describes the configuration for 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<ContainerServiceEcrImagePullerRole>
An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories. If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.
Implementations§
source§impl PrivateRegistryAccess
impl PrivateRegistryAccess
sourcepub fn ecr_image_puller_role(
&self
) -> Option<&ContainerServiceEcrImagePullerRole>
pub fn ecr_image_puller_role( &self ) -> Option<&ContainerServiceEcrImagePullerRole>
An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories. If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.
source§impl PrivateRegistryAccess
impl PrivateRegistryAccess
sourcepub fn builder() -> PrivateRegistryAccessBuilder
pub fn builder() -> PrivateRegistryAccessBuilder
Creates a new builder-style object to manufacture PrivateRegistryAccess
.
Trait Implementations§
source§impl Clone for PrivateRegistryAccess
impl Clone for PrivateRegistryAccess
source§fn clone(&self) -> PrivateRegistryAccess
fn clone(&self) -> PrivateRegistryAccess
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PrivateRegistryAccess
impl Debug for PrivateRegistryAccess
source§impl PartialEq for PrivateRegistryAccess
impl PartialEq for PrivateRegistryAccess
source§fn eq(&self, other: &PrivateRegistryAccess) -> bool
fn eq(&self, other: &PrivateRegistryAccess) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PrivateRegistryAccess
Auto Trait Implementations§
impl Freeze for PrivateRegistryAccess
impl RefUnwindSafe for PrivateRegistryAccess
impl Send for PrivateRegistryAccess
impl Sync for PrivateRegistryAccess
impl Unpin for PrivateRegistryAccess
impl UnwindSafe for PrivateRegistryAccess
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