/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the ecs-2014-11-13.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ECS.Model { /// /// The deployment controller to use for the service. For more information, see Amazon /// ECS deployment types in the Amazon Elastic Container Service Developer Guide. /// public partial class DeploymentController { private DeploymentControllerType _type; /// /// Gets and sets the property Type. /// /// The deployment controller type to use. /// /// /// /// There are three deployment controller types available: /// ///
ECS
/// /// The rolling update (ECS) deployment type involves replacing the current /// running version of the container with the latest version. The number of containers /// Amazon ECS adds or removes from the service during a rolling update is controlled /// by adjusting the minimum and maximum number of healthy tasks allowed during a service /// deployment, as specified in the DeploymentConfiguration. /// ///
CODE_DEPLOY
/// /// The blue/green (CODE_DEPLOY) deployment type uses the blue/green deployment /// model powered by CodeDeploy, which allows you to verify a new deployment of a service /// before sending production traffic to it. /// ///
EXTERNAL
/// /// The external (EXTERNAL) deployment type enables you to use any third-party /// deployment controller for full control over the deployment process for an Amazon ECS /// service. /// ///
///
[AWSProperty(Required=true)] public DeploymentControllerType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }