/* * 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 codedeploy-2014-10-06.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.CodeDeploy.Model { /// /// Information about a Lambda function specified in a deployment. /// public partial class LambdaFunctionInfo { private string _currentVersion; private string _functionAlias; private string _functionName; private string _targetVersion; private double? _targetVersionWeight; /// /// Gets and sets the property CurrentVersion. /// /// The version of a Lambda function that production traffic points to. /// /// public string CurrentVersion { get { return this._currentVersion; } set { this._currentVersion = value; } } // Check to see if CurrentVersion property is set internal bool IsSetCurrentVersion() { return this._currentVersion != null; } /// /// Gets and sets the property FunctionAlias. /// /// The alias of a Lambda function. For more information, see Lambda /// Function Aliases in the Lambda Developer Guide. /// /// public string FunctionAlias { get { return this._functionAlias; } set { this._functionAlias = value; } } // Check to see if FunctionAlias property is set internal bool IsSetFunctionAlias() { return this._functionAlias != null; } /// /// Gets and sets the property FunctionName. /// /// The name of a Lambda function. /// /// public string FunctionName { get { return this._functionName; } set { this._functionName = value; } } // Check to see if FunctionName property is set internal bool IsSetFunctionName() { return this._functionName != null; } /// /// Gets and sets the property TargetVersion. /// /// The version of a Lambda function that production traffic points to after the Lambda /// function is deployed. /// /// public string TargetVersion { get { return this._targetVersion; } set { this._targetVersion = value; } } // Check to see if TargetVersion property is set internal bool IsSetTargetVersion() { return this._targetVersion != null; } /// /// Gets and sets the property TargetVersionWeight. /// /// The percentage of production traffic that the target version of a Lambda function /// receives. /// /// public double TargetVersionWeight { get { return this._targetVersionWeight.GetValueOrDefault(); } set { this._targetVersionWeight = value; } } // Check to see if TargetVersionWeight property is set internal bool IsSetTargetVersionWeight() { return this._targetVersionWeight.HasValue; } } }