Struct aws_sdk_codedeploy::types::DeploymentTarget
source · #[non_exhaustive]pub struct DeploymentTarget {
pub deployment_target_type: Option<DeploymentTargetType>,
pub instance_target: Option<InstanceTarget>,
pub lambda_target: Option<LambdaTarget>,
pub ecs_target: Option<EcsTarget>,
pub cloud_formation_target: Option<CloudFormationTarget>,
}
Expand description
Information about the deployment target.
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.deployment_target_type: Option<DeploymentTargetType>
The deployment type that is specific to the deployment's compute platform or deployments initiated by a CloudFormation stack update.
instance_target: Option<InstanceTarget>
Information about the target for a deployment that uses the EC2/On-premises compute platform.
lambda_target: Option<LambdaTarget>
Information about the target for a deployment that uses the Lambda compute platform.
ecs_target: Option<EcsTarget>
Information about the target for a deployment that uses the Amazon ECS compute platform.
cloud_formation_target: Option<CloudFormationTarget>
Information about the target to be updated by an CloudFormation blue/green deployment. This target type is used for all deployments initiated by a CloudFormation stack update.
Implementations§
source§impl DeploymentTarget
impl DeploymentTarget
sourcepub fn deployment_target_type(&self) -> Option<&DeploymentTargetType>
pub fn deployment_target_type(&self) -> Option<&DeploymentTargetType>
The deployment type that is specific to the deployment's compute platform or deployments initiated by a CloudFormation stack update.
sourcepub fn instance_target(&self) -> Option<&InstanceTarget>
pub fn instance_target(&self) -> Option<&InstanceTarget>
Information about the target for a deployment that uses the EC2/On-premises compute platform.
sourcepub fn lambda_target(&self) -> Option<&LambdaTarget>
pub fn lambda_target(&self) -> Option<&LambdaTarget>
Information about the target for a deployment that uses the Lambda compute platform.
sourcepub fn ecs_target(&self) -> Option<&EcsTarget>
pub fn ecs_target(&self) -> Option<&EcsTarget>
Information about the target for a deployment that uses the Amazon ECS compute platform.
sourcepub fn cloud_formation_target(&self) -> Option<&CloudFormationTarget>
pub fn cloud_formation_target(&self) -> Option<&CloudFormationTarget>
Information about the target to be updated by an CloudFormation blue/green deployment. This target type is used for all deployments initiated by a CloudFormation stack update.
source§impl DeploymentTarget
impl DeploymentTarget
sourcepub fn builder() -> DeploymentTargetBuilder
pub fn builder() -> DeploymentTargetBuilder
Creates a new builder-style object to manufacture DeploymentTarget
.
Trait Implementations§
source§impl Clone for DeploymentTarget
impl Clone for DeploymentTarget
source§fn clone(&self) -> DeploymentTarget
fn clone(&self) -> DeploymentTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentTarget
impl Debug for DeploymentTarget
source§impl PartialEq for DeploymentTarget
impl PartialEq for DeploymentTarget
source§fn eq(&self, other: &DeploymentTarget) -> bool
fn eq(&self, other: &DeploymentTarget) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeploymentTarget
Auto Trait Implementations§
impl Freeze for DeploymentTarget
impl RefUnwindSafe for DeploymentTarget
impl Send for DeploymentTarget
impl Sync for DeploymentTarget
impl Unpin for DeploymentTarget
impl UnwindSafe for DeploymentTarget
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more