Skip to content

Commit

Permalink
Amazon AppStream 2.0 image builders and fleets can now access applica…
Browse files Browse the repository at this point in the history
…tions and network resources that rely on Microsoft Active Directory (AD) for authentication and permissions. This new feature allows you to join your streaming instances to your AD, so you can use your existing AD user management tools.
  • Loading branch information
sstevenkang committed Jul 24, 2017
1 parent a28ccdb commit 16d0f89
Show file tree
Hide file tree
Showing 49 changed files with 3,822 additions and 54 deletions.
315 changes: 297 additions & 18 deletions generator/ServiceModels/appstream/appstream-2016-12-01.normal.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
<property>Amazon.AppStream.Model.CreateStreamingURLRequest.UserId</property>
<min>2</min>
<max>32</max>
<pattern>[\w+=,.@-]*</pattern>
</property-value-rule>
<property-value-rule>
<property>Amazon.AppStream.Model.CreateStreamingURLResponse.StreamingURL</property>
Expand All @@ -73,6 +74,14 @@
<property>Amazon.AppStream.Model.DeleteStackRequest.Name</property>
<min>1</min>
</property-value-rule>
<property-value-rule>
<property>Amazon.AppStream.Model.DescribeDirectoryConfigsRequest.NextToken</property>
<min>1</min>
</property-value-rule>
<property-value-rule>
<property>Amazon.AppStream.Model.DescribeDirectoryConfigsResponse.NextToken</property>
<min>1</min>
</property-value-rule>
<property-value-rule>
<property>Amazon.AppStream.Model.DescribeFleetsRequest.NextToken</property>
<min>1</min>
Expand Down Expand Up @@ -206,6 +215,10 @@
<property>Amazon.AppStream.Model.Application.Name</property>
<min>1</min>
</property-value-rule>
<property-value-rule>
<property>Amazon.AppStream.Model.DomainJoinInfo.OrganizationalUnitDistinguishedName</property>
<max>2000</max>
</property-value-rule>
<property-value-rule>
<property>Amazon.AppStream.Model.Fleet.Arn</property>
<pattern>^arn:aws:[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}$</pattern>
Expand Down Expand Up @@ -258,6 +271,15 @@
<property>Amazon.AppStream.Model.ImageStateChangeReason.Message</property>
<min>1</min>
</property-value-rule>
<property-value-rule>
<property>Amazon.AppStream.Model.ServiceAccountCredentials.AccountName</property>
<min>1</min>
</property-value-rule>
<property-value-rule>
<property>Amazon.AppStream.Model.ServiceAccountCredentials.AccountPassword</property>
<min>1</min>
<max>127</max>
</property-value-rule>
<property-value-rule>
<property>Amazon.AppStream.Model.Session.FleetName</property>
<min>1</min>
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/Services/AppStream/Generated/Model/Application.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ internal bool IsSetDisplayName()
/// <summary>
/// Gets and sets the property Enabled.
/// <para>
/// An application can be disabled after image creation if there is a problem.
/// If there is a problem, an application can be disabled after image creation.
/// </para>
/// </summary>
public bool Enabled
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/*
* Copyright 2010-2014 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 appstream-2016-12-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;

using Amazon.Runtime;
using Amazon.Runtime.Internal;

namespace Amazon.AppStream.Model
{
/// <summary>
/// Container for the parameters to the CreateDirectoryConfig operation.
/// Creates a directory configuration with the given parameters.
/// </summary>
public partial class CreateDirectoryConfigRequest : AmazonAppStreamRequest
{
private string _directoryName;
private List<string> _organizationalUnitDistinguishedNames = new List<string>();
private ServiceAccountCredentials _serviceAccountCredentials;

/// <summary>
/// Gets and sets the property DirectoryName.
/// <para>
/// The fully qualified name of the directory, such as corp.example.com
/// </para>
/// </summary>
public string DirectoryName
{
get { return this._directoryName; }
set { this._directoryName = value; }
}

// Check to see if DirectoryName property is set
internal bool IsSetDirectoryName()
{
return this._directoryName != null;
}

/// <summary>
/// Gets and sets the property OrganizationalUnitDistinguishedNames.
/// <para>
/// The list of the distinguished names of organizational units to place computer accounts
/// in.
/// </para>
/// </summary>
public List<string> OrganizationalUnitDistinguishedNames
{
get { return this._organizationalUnitDistinguishedNames; }
set { this._organizationalUnitDistinguishedNames = value; }
}

// Check to see if OrganizationalUnitDistinguishedNames property is set
internal bool IsSetOrganizationalUnitDistinguishedNames()
{
return this._organizationalUnitDistinguishedNames != null && this._organizationalUnitDistinguishedNames.Count > 0;
}

/// <summary>
/// Gets and sets the property ServiceAccountCredentials.
/// <para>
/// The <i>AccountName</i> and <i>AccountPassword</i> values for the service account,
/// which are used by the streaming instance to connect to the directory.
/// </para>
/// </summary>
public ServiceAccountCredentials ServiceAccountCredentials
{
get { return this._serviceAccountCredentials; }
set { this._serviceAccountCredentials = value; }
}

// Check to see if ServiceAccountCredentials property is set
internal bool IsSetServiceAccountCredentials()
{
return this._serviceAccountCredentials != null;
}

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* Copyright 2010-2014 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 appstream-2016-12-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;

using Amazon.Runtime;
using Amazon.Runtime.Internal;

namespace Amazon.AppStream.Model
{
/// <summary>
/// This is the response object from the CreateDirectoryConfig operation.
/// </summary>
public partial class CreateDirectoryConfigResponse : AmazonWebServiceResponse
{
private DirectoryConfig _directoryConfig;

/// <summary>
/// Gets and sets the property DirectoryConfig.
/// <para>
/// Directory configuration details.
/// </para>
/// </summary>
public DirectoryConfig DirectoryConfig
{
get { return this._directoryConfig; }
set { this._directoryConfig = value; }
}

// Check to see if DirectoryConfig property is set
internal bool IsSetDirectoryConfig()
{
return this._directoryConfig != null;
}

}
}
73 changes: 71 additions & 2 deletions sdk/src/Services/AppStream/Generated/Model/CreateFleetRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public partial class CreateFleetRequest : AmazonAppStreamRequest
private string _description;
private int? _disconnectTimeoutInSeconds;
private string _displayName;
private DomainJoinInfo _domainJoinInfo;
private bool? _enableDefaultInternetAccess;
private string _imageName;
private string _instanceType;
Expand Down Expand Up @@ -119,10 +120,29 @@ internal bool IsSetDisplayName()
return this._displayName != null;
}

/// <summary>
/// Gets and sets the property DomainJoinInfo.
/// <para>
/// The <i>DirectoryName</i> and <i>OrganizationalUnitDistinguishedName</i> values, which
/// are used to join domains for the AppStream 2.0 streaming instances.
/// </para>
/// </summary>
public DomainJoinInfo DomainJoinInfo
{
get { return this._domainJoinInfo; }
set { this._domainJoinInfo = value; }
}

// Check to see if DomainJoinInfo property is set
internal bool IsSetDomainJoinInfo()
{
return this._domainJoinInfo != null;
}

/// <summary>
/// Gets and sets the property EnableDefaultInternetAccess.
/// <para>
/// Enables or disables default Internet access for the fleet.
/// Enables or disables default internet access for the fleet.
/// </para>
/// </summary>
public bool EnableDefaultInternetAccess
Expand Down Expand Up @@ -159,8 +179,57 @@ internal bool IsSetImageName()
/// Gets and sets the property InstanceType.
/// <para>
/// The instance type of compute resources for the fleet. Fleet instances are launched
/// from this instance type.
/// from this instance type. Available instance types are:
/// </para>
/// <ul> <li>
/// <para>
/// stream.standard.medium
/// </para>
/// </li> <li>
/// <para>
/// stream.standard.large
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.large
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.4xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.compute.8xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.large
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.2xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.4xlarge
/// </para>
/// </li> <li>
/// <para>
/// stream.memory.8xlarge
/// </para>
/// </li> </ul>
/// </summary>
public string InstanceType
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public partial class CreateStreamingURLResponse : AmazonWebServiceResponse
/// <summary>
/// Gets and sets the property Expires.
/// <para>
/// Elapsed seconds after the Unix epoch, at which time this URL expires.
/// Elapsed seconds after the Unix epoch, when this URL expires.
/// </para>
/// </summary>
public DateTime Expires
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
* Copyright 2010-2014 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 appstream-2016-12-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;

using Amazon.Runtime;
using Amazon.Runtime.Internal;

namespace Amazon.AppStream.Model
{
/// <summary>
/// Container for the parameters to the DeleteDirectoryConfig operation.
/// Deletes the directory configuration with the given parameters.
/// </summary>
public partial class DeleteDirectoryConfigRequest : AmazonAppStreamRequest
{
private string _directoryName;

/// <summary>
/// Gets and sets the property DirectoryName.
/// <para>
/// The name of the directory configuration to be deleted.
/// </para>
/// </summary>
public string DirectoryName
{
get { return this._directoryName; }
set { this._directoryName = value; }
}

// Check to see if DirectoryName property is set
internal bool IsSetDirectoryName()
{
return this._directoryName != null;
}

}
}
Loading

0 comments on commit 16d0f89

Please sign in to comment.