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 ==.