Struct aws_sdk_proton::model::Environment
source · #[non_exhaustive]pub struct Environment { /* private fields */ }
Expand description
Detailed data of an Proton environment resource. An Proton environment is a set of resources shared across Proton services.
Implementations§
source§impl Environment
impl Environment
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the environment.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the environment was created.
sourcepub fn last_deployment_attempted_at(&self) -> Option<&DateTime>
pub fn last_deployment_attempted_at(&self) -> Option<&DateTime>
The time when a deployment of the environment was last attempted.
sourcepub fn last_deployment_succeeded_at(&self) -> Option<&DateTime>
pub fn last_deployment_succeeded_at(&self) -> Option<&DateTime>
The time when the environment was last deployed successfully.
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the environment template.
sourcepub fn template_major_version(&self) -> Option<&str>
pub fn template_major_version(&self) -> Option<&str>
The major version of the environment template.
sourcepub fn template_minor_version(&self) -> Option<&str>
pub fn template_minor_version(&self) -> Option<&str>
The minor version of the environment template.
sourcepub fn deployment_status(&self) -> Option<&DeploymentStatus>
pub fn deployment_status(&self) -> Option<&DeploymentStatus>
The environment deployment status.
sourcepub fn deployment_status_message(&self) -> Option<&str>
pub fn deployment_status_message(&self) -> Option<&str>
An environment deployment status message.
sourcepub fn proton_service_role_arn(&self) -> Option<&str>
pub fn proton_service_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
sourcepub fn environment_account_connection_id(&self) -> Option<&str>
pub fn environment_account_connection_id(&self) -> Option<&str>
The ID of the environment account connection that's used to provision infrastructure resources in an environment account.
sourcepub fn environment_account_id(&self) -> Option<&str>
pub fn environment_account_id(&self) -> Option<&str>
The ID of the environment account that the environment infrastructure resources are provisioned in.
sourcepub fn provisioning(&self) -> Option<&Provisioning>
pub fn provisioning(&self) -> Option<&Provisioning>
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
sourcepub fn provisioning_repository(&self) -> Option<&RepositoryBranch>
pub fn provisioning_repository(&self) -> Option<&RepositoryBranch>
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository
.
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 this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn
to allow directly defined components to be associated with the environment.
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 the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
source§impl Environment
impl Environment
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Environment
.
Trait Implementations§
source§impl Clone for Environment
impl Clone for Environment
source§fn clone(&self) -> Environment
fn clone(&self) -> Environment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Environment
impl Debug for Environment
source§impl PartialEq<Environment> for Environment
impl PartialEq<Environment> for Environment
source§fn eq(&self, other: &Environment) -> bool
fn eq(&self, other: &Environment) -> bool
self
and other
values to be equal, and is used
by ==
.