Struct aws_sdk_proton::model::Environment [−][src]
#[non_exhaustive]pub struct Environment {Show 17 fields
pub name: Option<String>,
pub description: Option<String>,
pub created_at: Option<DateTime>,
pub last_deployment_attempted_at: Option<DateTime>,
pub last_deployment_succeeded_at: Option<DateTime>,
pub arn: Option<String>,
pub template_name: Option<String>,
pub template_major_version: Option<String>,
pub template_minor_version: Option<String>,
pub deployment_status: Option<DeploymentStatus>,
pub deployment_status_message: Option<String>,
pub proton_service_role_arn: Option<String>,
pub environment_account_connection_id: Option<String>,
pub environment_account_id: Option<String>,
pub spec: Option<String>,
pub provisioning: Option<Provisioning>,
pub provisioning_repository: Option<RepositoryBranch>,
}Expand description
The environment detail data. An Proton environment is a set resources shared across an Proton service.
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.name: Option<String>The name of the environment.
description: Option<String>The description of the environment.
created_at: Option<DateTime>The time when the environment was created.
last_deployment_attempted_at: Option<DateTime>The time when a deployment of the environment was last attempted.
last_deployment_succeeded_at: Option<DateTime>The time when the environment was last deployed successfully.
arn: Option<String>The Amazon Resource Name (ARN) of the environment.
template_name: Option<String>The Amazon Resource Name (ARN) of the environment template.
template_major_version: Option<String>The ID of the major version of the environment template.
template_minor_version: Option<String>The ID of the minor version of the environment template.
deployment_status: Option<DeploymentStatus>The environment deployment status.
deployment_status_message: Option<String>An environment deployment status message.
proton_service_role_arn: Option<String>The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
environment_account_connection_id: Option<String>The ID of the environment account connection that's used to provision infrastructure resources in an environment account.
environment_account_id: Option<String>The ID of the environment account that the environment infrastructure resources are provisioned in.
spec: Option<String>The environment spec.
provisioning: Option<Provisioning>When included, indicates that the environment template is for customer provisioned and managed infrastructure.
provisioning_repository: Option<RepositoryBranch>The repository that you provide with pull request provisioning.
Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.
Implementations
The description of the environment.
The time when the environment was created.
The time when a deployment of the environment was last attempted.
The time when the environment was last deployed successfully.
The Amazon Resource Name (ARN) of the environment template.
The ID of the major version of the environment template.
The ID of the minor version of the environment template.
The environment deployment status.
An environment deployment status message.
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
The ID of the environment account connection that's used to provision infrastructure resources in an environment account.
The ID of the environment account that the environment infrastructure resources are provisioned in.
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
The repository that you provide with pull request provisioning.
Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.
Creates a new builder-style object to manufacture Environment
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Environment
impl Send for Environment
impl Sync for Environment
impl Unpin for Environment
impl UnwindSafe for Environment
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
