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
sourceimpl 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 infrastructure repository that you use to host your rendered infrastructure templates for self-managed provisioning.
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 Administrator Guide.
sourceimpl Environment
impl Environment
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Environment.
Trait Implementations
sourceimpl Clone for Environment
impl Clone for Environment
sourcefn clone(&self) -> Environment
fn clone(&self) -> Environment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for Environment
impl Debug for Environment
sourceimpl PartialEq<Environment> for Environment
impl PartialEq<Environment> for Environment
sourcefn eq(&self, other: &Environment) -> bool
fn eq(&self, other: &Environment) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for Environment
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more