#[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: StringThe ID of the environment account connection.
arn: StringThe Amazon Resource Name (ARN) of the environment account connection.
management_account_id: StringThe ID of the management account that's connected to the environment account connection.
environment_account_id: StringThe ID of the environment account that's connected to the environment account connection.
role_arn: StringThe IAM service role that's associated with the environment account connection.
environment_name: StringThe name of the environment that's associated with the environment account connection.
requested_at: DateTimeThe time when the environment account connection request was made.
last_modified_at: DateTimeThe time when the environment account connection was last modified.
status: EnvironmentAccountConnectionStatusThe 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 ==.