Struct aws_sdk_codedeploy::input::UpdateDeploymentGroupInput [−][src]
#[non_exhaustive]pub struct UpdateDeploymentGroupInput {Show 18 fields
pub application_name: Option<String>,
pub current_deployment_group_name: Option<String>,
pub new_deployment_group_name: Option<String>,
pub deployment_config_name: Option<String>,
pub ec2_tag_filters: Option<Vec<Ec2TagFilter>>,
pub on_premises_instance_tag_filters: Option<Vec<TagFilter>>,
pub auto_scaling_groups: Option<Vec<String>>,
pub service_role_arn: Option<String>,
pub trigger_configurations: Option<Vec<TriggerConfig>>,
pub alarm_configuration: Option<AlarmConfiguration>,
pub auto_rollback_configuration: Option<AutoRollbackConfiguration>,
pub outdated_instances_strategy: Option<OutdatedInstancesStrategy>,
pub deployment_style: Option<DeploymentStyle>,
pub blue_green_deployment_configuration: Option<BlueGreenDeploymentConfiguration>,
pub load_balancer_info: Option<LoadBalancerInfo>,
pub ec2_tag_set: Option<Ec2TagSet>,
pub ecs_services: Option<Vec<EcsService>>,
pub on_premises_tag_set: Option<OnPremisesTagSet>,
}
Expand description
Represents the input of an UpdateDeploymentGroup
operation.
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.application_name: Option<String>
The application name that corresponds to the deployment group to update.
current_deployment_group_name: Option<String>
The current name of the deployment group.
new_deployment_group_name: Option<String>
The new name of the deployment group, if you want to change it.
deployment_config_name: Option<String>
The replacement deployment configuration name to use, if you want to change it.
ec2_tag_filters: Option<Vec<Ec2TagFilter>>
The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
on_premises_instance_tag_filters: Option<Vec<TagFilter>>
The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
auto_scaling_groups: Option<Vec<String>>
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them. To keep the Auto Scaling groups, enter their names. To remove Auto Scaling groups, do not enter any Auto Scaling group names.
service_role_arn: Option<String>
A replacement ARN for the service role, if you want to change it.
trigger_configurations: Option<Vec<TriggerConfig>>
Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a CodeDeploy Deployment Group in the AWS CodeDeploy User Guide.
alarm_configuration: Option<AlarmConfiguration>
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
auto_rollback_configuration: Option<AutoRollbackConfiguration>
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
outdated_instances_strategy: Option<OutdatedInstancesStrategy>
Indicates what happens when new EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates
one or more 'auto-update outdated instances' deployments to apply the deployed
application revision to the new EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a
deployment to update the new EC2 instances. This may result in instances having
different revisions.
deployment_style: Option<DeploymentStyle>
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
blue_green_deployment_configuration: Option<BlueGreenDeploymentConfiguration>
Information about blue/green deployment options for a deployment group.
load_balancer_info: Option<LoadBalancerInfo>
Information about the load balancer used in a deployment.
ec2_tag_set: Option<Ec2TagSet>
Information about groups of tags applied to on-premises instances. The deployment group includes only EC2 instances identified by all the tag groups.
ecs_services: Option<Vec<EcsService>>
The target Amazon ECS services in the deployment group. This applies only to
deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service
is specified as an Amazon ECS cluster and service name pair using the format
.
on_premises_tag_set: Option<OnPremisesTagSet>
Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDeploymentGroup, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDeploymentGroup, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateDeploymentGroup
>
Creates a new builder-style object to manufacture UpdateDeploymentGroupInput
The application name that corresponds to the deployment group to update.
The current name of the deployment group.
The new name of the deployment group, if you want to change it.
The replacement deployment configuration name to use, if you want to change it.
The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them. To keep the Auto Scaling groups, enter their names. To remove Auto Scaling groups, do not enter any Auto Scaling group names.
A replacement ARN for the service role, if you want to change it.
Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a CodeDeploy Deployment Group in the AWS CodeDeploy User Guide.
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
Indicates what happens when new EC2 instances are launched mid-deployment and do not receive the deployed application revision.
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates
one or more 'auto-update outdated instances' deployments to apply the deployed
application revision to the new EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a
deployment to update the new EC2 instances. This may result in instances having
different revisions.
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
pub fn blue_green_deployment_configuration(
&self
) -> Option<&BlueGreenDeploymentConfiguration>
pub fn blue_green_deployment_configuration(
&self
) -> Option<&BlueGreenDeploymentConfiguration>
Information about blue/green deployment options for a deployment group.
Information about the load balancer used in a deployment.
Information about groups of tags applied to on-premises instances. The deployment group includes only EC2 instances identified by all the tag groups.
The target Amazon ECS services in the deployment group. This applies only to
deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service
is specified as an Amazon ECS cluster and service name pair using the format
.
Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
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 UpdateDeploymentGroupInput
impl Send for UpdateDeploymentGroupInput
impl Sync for UpdateDeploymentGroupInput
impl Unpin for UpdateDeploymentGroupInput
impl UnwindSafe for UpdateDeploymentGroupInput
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