#[non_exhaustive]pub struct EnvironmentAccountConnection {
pub id: Option<String>,
pub arn: Option<String>,
pub management_account_id: Option<String>,
pub environment_account_id: Option<String>,
pub role_arn: Option<String>,
pub environment_name: Option<String>,
pub requested_at: Option<DateTime>,
pub last_modified_at: Option<DateTime>,
pub status: Option<EnvironmentAccountConnectionStatus>,
pub component_role_arn: Option<String>,
pub codebuild_role_arn: Option<String>,
}
Expand description
Detailed 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: Option<String>
The ID of the environment account connection.
arn: Option<String>
The Amazon Resource Name (ARN) of the environment account connection.
management_account_id: Option<String>
The ID of the management account that's connected to the environment account connection.
environment_account_id: Option<String>
The environment account that's connected to the environment account connection.
role_arn: Option<String>
The IAM service role that's associated with the environment account connection.
environment_name: Option<String>
The name of the environment that's associated with the environment account connection.
requested_at: Option<DateTime>
The time when the environment account connection request was made.
last_modified_at: Option<DateTime>
The time when the environment account connection was last modified.
status: Option<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.
codebuild_role_arn: Option<String>
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.
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() -> EnvironmentAccountConnectionBuilder
pub fn builder() -> EnvironmentAccountConnectionBuilder
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 for EnvironmentAccountConnection
impl PartialEq 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 ==
.