/*
* 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 pipes-2015-10-07.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.Pipes.Model
{
///
/// The amount of ephemeral storage to allocate for the task. This parameter is used to
/// expand the total amount of ephemeral storage available, beyond the default amount,
/// for tasks hosted on Fargate. For more information, see Fargate
/// task storage in the Amazon ECS User Guide for Fargate.
///
///
///
/// This parameter is only supported for tasks hosted on Fargate using Linux platform
/// version 1.4.0
or later. This parameter is not supported for Windows containers
/// on Fargate.
///
///
///
public partial class EcsEphemeralStorage
{
private int? _sizeInGiB;
///
/// Gets and sets the property SizeInGiB.
///
/// The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported
/// value is 21
GiB and the maximum supported value is 200
GiB.
///
///
[AWSProperty(Required=true, Min=21, Max=200)]
public int SizeInGiB
{
get { return this._sizeInGiB.GetValueOrDefault(); }
set { this._sizeInGiB = value; }
}
// Check to see if SizeInGiB property is set
internal bool IsSetSizeInGiB()
{
return this._sizeInGiB.HasValue;
}
}
}