#[non_exhaustive]pub struct EnvironmentAccountConnection { /* private fields */ }
Expand description
Detailed data of an Proton environment account connection resource.
Implementations§
source§impl EnvironmentAccountConnection
impl EnvironmentAccountConnection
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the environment account connection.
sourcepub fn management_account_id(&self) -> Option<&str>
pub fn management_account_id(&self) -> Option<&str>
The ID of the management account that's connected to the environment account connection.
sourcepub fn environment_account_id(&self) -> Option<&str>
pub fn environment_account_id(&self) -> Option<&str>
The environment account that's connected to the environment account connection.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The IAM service role that's associated with the environment account connection.
sourcepub fn environment_name(&self) -> Option<&str>
pub fn environment_name(&self) -> Option<&str>
The name of the environment that's associated with the environment account connection.
sourcepub fn requested_at(&self) -> Option<&DateTime>
pub fn requested_at(&self) -> Option<&DateTime>
The time when the environment account connection request was made.
sourcepub fn last_modified_at(&self) -> Option<&DateTime>
pub fn last_modified_at(&self) -> Option<&DateTime>
The time when the environment account connection was last modified.
sourcepub fn status(&self) -> Option<&EnvironmentAccountConnectionStatus>
pub fn status(&self) -> Option<&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.
sourcepub fn codebuild_role_arn(&self) -> Option<&str>
pub fn codebuild_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
source§impl EnvironmentAccountConnection
impl EnvironmentAccountConnection
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EnvironmentAccountConnection
.
Trait Implementations§
source§impl Clone for EnvironmentAccountConnection
impl Clone for EnvironmentAccountConnection
source§fn clone(&self) -> EnvironmentAccountConnection
fn clone(&self) -> EnvironmentAccountConnection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnvironmentAccountConnection
impl Debug for EnvironmentAccountConnection
source§impl PartialEq<EnvironmentAccountConnection> for EnvironmentAccountConnection
impl PartialEq<EnvironmentAccountConnection> for EnvironmentAccountConnection
source§fn eq(&self, other: &EnvironmentAccountConnection) -> bool
fn eq(&self, other: &EnvironmentAccountConnection) -> bool
self
and other
values to be equal, and is used
by ==
.