#[non_exhaustive]pub struct EnvironmentAccountConnectionSummary {
pub id: String,
pub arn: String,
pub management_account_id: String,
pub environment_account_id: String,
pub role_arn: String,
pub environment_name: String,
pub requested_at: DateTime,
pub last_modified_at: DateTime,
pub status: EnvironmentAccountConnectionStatus,
pub component_role_arn: Option<String>,
}
Expand description
Summary data of an Proton environment account connection resource.
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.id: String
The ID of the environment account connection.
arn: String
The Amazon Resource Name (ARN) of the environment account connection.
management_account_id: String
The ID of the management account that's connected to the environment account connection.
environment_account_id: String
The ID of the environment account that's connected to the environment account connection.
role_arn: String
The IAM service role that's associated with the environment account connection.
environment_name: String
The name of the environment that's associated with the environment account connection.
requested_at: DateTime
The time when the environment account connection request was made.
last_modified_at: DateTime
The time when the environment account connection was last modified.
status: EnvironmentAccountConnectionStatus
The status of the environment account connection.
component_role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a componentRoleArn
to allow directly defined components to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
Implementations§
source§impl EnvironmentAccountConnectionSummary
impl EnvironmentAccountConnectionSummary
sourcepub fn arn(&self) -> &str
pub fn arn(&self) -> &str
The Amazon Resource Name (ARN) of the environment account connection.
sourcepub fn management_account_id(&self) -> &str
pub fn management_account_id(&self) -> &str
The ID of the management account that's connected to the environment account connection.
sourcepub fn environment_account_id(&self) -> &str
pub fn environment_account_id(&self) -> &str
The ID of the environment account that's connected to the environment account connection.
sourcepub fn role_arn(&self) -> &str
pub fn role_arn(&self) -> &str
The IAM service role that's associated with the environment account connection.
sourcepub fn environment_name(&self) -> &str
pub fn environment_name(&self) -> &str
The name of the environment that's associated with the environment account connection.
sourcepub fn requested_at(&self) -> &DateTime
pub fn requested_at(&self) -> &DateTime
The time when the environment account connection request was made.
sourcepub fn last_modified_at(&self) -> &DateTime
pub fn last_modified_at(&self) -> &DateTime
The time when the environment account connection was last modified.
sourcepub fn status(&self) -> &EnvironmentAccountConnectionStatus
pub fn status(&self) -> &EnvironmentAccountConnectionStatus
The status of the environment account connection.
sourcepub fn component_role_arn(&self) -> Option<&str>
pub fn component_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a componentRoleArn
to allow directly defined components to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
source§impl EnvironmentAccountConnectionSummary
impl EnvironmentAccountConnectionSummary
sourcepub fn builder() -> EnvironmentAccountConnectionSummaryBuilder
pub fn builder() -> EnvironmentAccountConnectionSummaryBuilder
Creates a new builder-style object to manufacture EnvironmentAccountConnectionSummary
.
Trait Implementations§
source§impl Clone for EnvironmentAccountConnectionSummary
impl Clone for EnvironmentAccountConnectionSummary
source§fn clone(&self) -> EnvironmentAccountConnectionSummary
fn clone(&self) -> EnvironmentAccountConnectionSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for EnvironmentAccountConnectionSummary
impl PartialEq for EnvironmentAccountConnectionSummary
source§fn eq(&self, other: &EnvironmentAccountConnectionSummary) -> bool
fn eq(&self, other: &EnvironmentAccountConnectionSummary) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EnvironmentAccountConnectionSummary
Auto Trait Implementations§
impl Freeze for EnvironmentAccountConnectionSummary
impl RefUnwindSafe for EnvironmentAccountConnectionSummary
impl Send for EnvironmentAccountConnectionSummary
impl Sync for EnvironmentAccountConnectionSummary
impl Unpin for EnvironmentAccountConnectionSummary
impl UnwindSafe for EnvironmentAccountConnectionSummary
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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