import { Value } from '../../cloudformation/Value';
import { ComputeCapacityProps } from './fleet/ComputeCapacityProps';
import { VpcConfigProps } from './fleet/VpcConfigProps';
import { DomainJoinInfoProps } from './fleet/DomainJoinInfoProps';
import { S3LocationProps } from './fleet/S3LocationProps';
import { Tag } from '../Tag';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::AppStream::Fleet</code> resource creates a fleet for Amazon AppStream 2.0. A fleet consists of streaming instances that run a specified image when using Always-On or On-Demand.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html">the AWS Docs</a>
*/
export type Fleet = AwsResource<'AWS::AppStream::Fleet', FleetProperties>;
export declare function fleet(fleetProps: FleetProperties): Fleet;
/**
  The <code>AWS::AppStream::Fleet</code> resource creates a fleet for Amazon AppStream 2.0. A fleet consists of streaming instances that run a specified image when using Always-On or On-Demand.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html">the AWS Docs</a>
*/
export interface FleetProperties {
    /** <code>Description</code>  <a name="cfn-appstream-fleet-description"></a>
  The description to display.<br />
  
  Required: No<br />
  
  Maximum: <code>256</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    description?: Value<string>;
    /** <code>ComputeCapacity</code>  <a name="cfn-appstream-fleet-computecapacity"></a>
  The desired capacity for the fleet. This is not allowed for Elastic fleets.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    computeCapacity?: ComputeCapacityProps;
    /** <code>Platform</code>  <a name="cfn-appstream-fleet-platform"></a>
  The platform of the fleet. Platform is a required setting for Elastic fleets, and is not used for other fleet types.<br />
  
  Allowed Values: <code>WINDOWS_SERVER_2019</code> | <code>AMAZON_LINUX2</code><br />
  
  Required: No<br />
  
  Allowed values: <code>AMAZON_LINUX2 | WINDOWS | WINDOWS_SERVER_2016 | WINDOWS_SERVER_2019</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    platform?: Value<'AMAZON_LINUX2' | 'WINDOWS' | 'WINDOWS_SERVER_2016' | 'WINDOWS_SERVER_2019'>;
    /** <code>VpcConfig</code>  <a name="cfn-appstream-fleet-vpcconfig"></a>
  The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    vpcConfig?: VpcConfigProps;
    /** <code>FleetType</code>  <a name="cfn-appstream-fleet-fleettype"></a>
  The fleet type.<br />
  ALWAYS_ON<br />
  Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.<br />
  ON_DEMAND<br />
  Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.<br />
  ELASTIC<br />
  The pool of streaming instances is managed by Amazon AppStream 2.0. When a user selects their application or desktop to launch, they will start streaming after the app block has been downloaded and mounted to a streaming instance.
  
  Allowed Values: <code>ALWAYS_ON</code> | <code>ELASTIC</code> | <code>ON_DEMAND</code><br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    fleetType?: Value<string>;
    /** <code>EnableDefaultInternetAccess</code>  <a name="cfn-appstream-fleet-enabledefaultinternetaccess"></a>
  Enables or disables default internet access for the fleet.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    enableDefaultInternetAccess?: Value<boolean>;
    /** <code>DomainJoinInfo</code>  <a name="cfn-appstream-fleet-domainjoininfo"></a>
  The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. This is not allowed for Elastic fleets.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    domainJoinInfo?: DomainJoinInfoProps;
    /** <code>SessionScriptS3Location</code>  <a name="cfn-appstream-fleet-sessionscripts3location"></a>
  The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    sessionScriptS3Location?: S3LocationProps;
    /** <code>Name</code>  <a name="cfn-appstream-fleet-name"></a>
  A unique name for the fleet.<br />
  
  Required: Yes<br />
  
  Pattern: <code>^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    name: Value<string>;
    /** <code>ImageName</code>  <a name="cfn-appstream-fleet-imagename"></a>
  The name of the image used to create the fleet.<br />
  
  Required: No<br />
  
  Pattern: <code>^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    imageName?: Value<string>;
    /** <code>MaxUserDurationInSeconds</code>  <a name="cfn-appstream-fleet-maxuserdurationinseconds"></a>
  The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.<br />
  Specify a value between 600 and 432000.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    maxUserDurationInSeconds?: Value<number>;
    /** <code>IdleDisconnectTimeoutInSeconds</code>  <a name="cfn-appstream-fleet-idledisconnecttimeoutinseconds"></a>
  The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the <code>DisconnectTimeoutInSeconds</code> time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in <code>DisconnectTimeoutInSeconds</code> elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in <code>IdleDisconnectTimeoutInSeconds</code> elapses, they are disconnected.<br />
  To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 3600.<br />
  If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don’t do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    idleDisconnectTimeoutInSeconds?: Value<number>;
    /** <code>UsbDeviceFilterStrings</code>  <a name="cfn-appstream-fleet-usbdevicefilterstrings"></a>
  The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    usbDeviceFilterStrings?: Value<Value<string>[]>;
    /** <code>DisconnectTimeoutInSeconds</code>  <a name="cfn-appstream-fleet-disconnecttimeoutinseconds"></a>
  The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.<br />
  Specify a value between 60 and 360000.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    disconnectTimeoutInSeconds?: Value<number>;
    /** <code>DisplayName</code>  <a name="cfn-appstream-fleet-displayname"></a>
  The fleet name to display.<br />
  
  Required: No<br />
  
  Maximum: <code>100</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    displayName?: Value<string>;
    /** <code>StreamView</code>  <a name="cfn-appstream-fleet-streamview"></a>
  The AppStream 2.0 view that is displayed to your users when they stream from the fleet. When <code>APP</code> is specified, only the windows of applications opened by users display. When <code>DESKTOP</code> is specified, the standard desktop that is provided by the operating system displays.<br />
  The default value is <code>APP</code>.<br />
  
  Required: No<br />
  
  Allowed values: <code>APP | DESKTOP</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    streamView?: Value<'APP' | 'DESKTOP'>;
    /** <code>IamRoleArn</code>  <a name="cfn-appstream-fleet-iamrolearn"></a>
  The ARN of the IAM role that is applied to the fleet. To assume a role, the fleet instance calls the AWS Security Token Service <code>AssumeRole</code> API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the <strong>appstream_machine_role</strong> credential profile on the instance.<br />
  For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances</a> in the
  Amazon AppStream 2.0 Administration Guide: br />
  
  Required: No<br />
  
  Pattern: <code>^arn:aws(?:\-cn|\-iso\-b|\-iso|\-us\-gov)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.\\-]{0,1023}$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    iamRoleArn?: Value<string>;
    /** <code>MaxSessionsPerInstance</code>  <a name="cfn-appstream-fleet-maxsessionsperinstance"></a>
  Property description not available.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    maxSessionsPerInstance?: Value<number>;
    /** <p> */
    instanceType: Value<string>;
    /** <code>MaxConcurrentSessions</code>  <a name="cfn-appstream-fleet-maxconcurrentsessions"></a>
  The maximum number of concurrent sessions that can be run on an Elastic fleet. This setting is required for Elastic fleets, but is not used for other fleet types.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    maxConcurrentSessions?: Value<number>;
    /** <code>Tags</code>  <a name="cfn-appstream-fleet-tags"></a>
  An array of key-value pairs.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tags?: Tag[];
    /** <code>ImageArn</code>  <a name="cfn-appstream-fleet-imagearn"></a>
  The ARN of the public, private, or shared image to use.<br />
  
  Required: No<br />
  
  Pattern: <code>^arn:aws(?:\-cn|\-iso\-b|\-iso|\-us\-gov)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.\\-]{0,1023}$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    imageArn?: Value<string>;
}
