# Amazon AppStream 2.0 Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as appstream from 'aws-cdk-lib/aws-appstream';
```

Python:

```python
import aws_cdk.aws_appstream as appstream
```

Java:

```java
import software.amazon.awscdk.services.appstream.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.AppStream;
```

Golang:

```go
import appstream "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for AppStream construct libraries](https://constructs.dev/search?q=appstream)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::AppStream resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_AppStream.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::AppStream](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_AppStream.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnAppBlock`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlock.html) Construct (L1) This resource creates an app block.
- [`CfnAppBlockBuilder`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlockBuilder.html) Construct (L1) Creates an app block builder.
- [`CfnApplication`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnApplication.html) Construct (L1) This resource creates an application.
- [`CfnApplicationEntitlementAssociation`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnApplicationEntitlementAssociation.html) Construct (L1) Associates an application to an entitlement.
- [`CfnApplicationFleetAssociation`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnApplicationFleetAssociation.html) Construct (L1) This resource associates the specified application with the specified fleet.
- [`CfnDirectoryConfig`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnDirectoryConfig.html) Construct (L1) The `AWS::AppStream::DirectoryConfig` resource specifies the configuration information required to join Amazon AppStream 2.0 fleets and image builders to Microsoft Active Directory domains.
- [`CfnEntitlement`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnEntitlement.html) Construct (L1) Creates an entitlement to control access, based on user attributes, to specific applications within a stack.
- [`CfnFleet`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnFleet.html) Construct (L1) The `AWS::AppStream::Fleet` 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.
- [`CfnImageBuilder`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnImageBuilder.html) Construct (L1) The `AWS::AppStream::ImageBuilder` resource creates an image builder for Amazon AppStream 2.0. An image builder is a virtual machine that is used to create an image.
- [`CfnStack`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStack.html) Construct (L1) The `AWS::AppStream::Stack` resource creates a stack to start streaming applications to Amazon AppStream 2.0 users. A stack consists of an associated fleet, user access policies, and storage configurations.
- [`CfnStackFleetAssociation`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStackFleetAssociation.html) Construct (L1) The `AWS::AppStream::StackFleetAssociation` resource associates the specified fleet with the specified stack for Amazon AppStream 2.0.
- [`CfnStackUserAssociation`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStackUserAssociation.html) Construct (L1) The `AWS::AppStream::StackUserAssociation` resource associates the specified users with the specified stacks for Amazon AppStream 2.0. Users in an AppStream 2.0 user pool cannot be assigned to stacks with fleets that are joined to an Active Directory domain.
- [`CfnUser`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnUser.html) Construct (L1) The `AWS::AppStream::User` resource creates a new user in the AppStream 2.0 user pool.

### Structs

- [`CfnAppBlock.S3LocationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlock.S3LocationProperty.html) Struct The S3 location of the app block.
- [`CfnAppBlock.ScriptDetailsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlock.ScriptDetailsProperty.html) Struct The details of the script.
- [`CfnAppBlockBuilder.AccessEndpointProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlockBuilder.AccessEndpointProperty.html) Struct Describes an interface VPC endpoint (interface endpoint) that lets you create a private connection between the virtual private cloud (VPC) that you specify and AppStream 2.0. When you specify an interface endpoint for a stack, users of the stack can connect to AppStream 2.0 only through that endpoint. When you specify an interface endpoint for an image builder, administrators can connect to the image builder only through that endpoint.
- [`CfnAppBlockBuilder.VpcConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlockBuilder.VpcConfigProperty.html) Struct Describes VPC configuration information for fleets and image builders.
- [`CfnAppBlockBuilderProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlockBuilderProps.html) Struct Properties for defining a `CfnAppBlockBuilder`.
- [`CfnAppBlockProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlockProps.html) Struct Properties for defining a `CfnAppBlock`.
- [`CfnApplication.S3LocationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnApplication.S3LocationProperty.html) Struct The S3 location of the application icon.
- [`CfnApplicationEntitlementAssociationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnApplicationEntitlementAssociationProps.html) Struct Properties for defining a `CfnApplicationEntitlementAssociation`.
- [`CfnApplicationFleetAssociationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnApplicationFleetAssociationProps.html) Struct Properties for defining a `CfnApplicationFleetAssociation`.
- [`CfnApplicationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnApplicationProps.html) Struct Properties for defining a `CfnApplication`.
- [`CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty.html) Struct The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.
- [`CfnDirectoryConfig.ServiceAccountCredentialsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnDirectoryConfig.ServiceAccountCredentialsProperty.html) Struct The credentials for the service account used by the streaming instance to connect to the directory.
- [`CfnDirectoryConfigProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnDirectoryConfigProps.html) Struct Properties for defining a `CfnDirectoryConfig`.
- [`CfnEntitlement.AttributeProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnEntitlement.AttributeProperty.html) Struct An attribute that belongs to an entitlement.
- [`CfnEntitlementProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnEntitlementProps.html) Struct Properties for defining a `CfnEntitlement`.
- [`CfnFleet.ComputeCapacityProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnFleet.ComputeCapacityProperty.html) Struct The desired capacity for a fleet.
- [`CfnFleet.DomainJoinInfoProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnFleet.DomainJoinInfoProperty.html) Struct The name of the directory and organizational unit (OU) to use to join a fleet to a Microsoft Active Directory domain.
- [`CfnFleet.S3LocationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnFleet.S3LocationProperty.html) Struct Describes the S3 location.
- [`CfnFleet.VolumeConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnFleet.VolumeConfigProperty.html) Struct
- [`CfnFleet.VpcConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnFleet.VpcConfigProperty.html) Struct The VPC configuration information for the fleet.
- [`CfnFleetProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnFleetProps.html) Struct Properties for defining a `CfnFleet`.
- [`CfnImageBuilder.AccessEndpointProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnImageBuilder.AccessEndpointProperty.html) Struct Describes an interface VPC endpoint (interface endpoint) that lets you create a private connection between the virtual private cloud (VPC) that you specify and WorkSpaces Applications.
- [`CfnImageBuilder.DomainJoinInfoProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnImageBuilder.DomainJoinInfoProperty.html) Struct The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
- [`CfnImageBuilder.VolumeConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnImageBuilder.VolumeConfigProperty.html) Struct
- [`CfnImageBuilder.VpcConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnImageBuilder.VpcConfigProperty.html) Struct The VPC configuration for the image builder.
- [`CfnImageBuilderProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnImageBuilderProps.html) Struct Properties for defining a `CfnImageBuilder`.
- [`CfnStack.AccessEndpointProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStack.AccessEndpointProperty.html) Struct Describes an interface VPC endpoint (interface endpoint) that lets you create a private connection between the virtual private cloud (VPC) that you specify and WorkSpaces Applications.
- [`CfnStack.AgentAccessConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStack.AgentAccessConfigProperty.html) Struct The configuration for agent access on a stack.
- [`CfnStack.AgentAccessSettingProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStack.AgentAccessSettingProperty.html) Struct A permission setting for an agent action.
- [`CfnStack.ApplicationSettingsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStack.ApplicationSettingsProperty.html) Struct The persistent application settings for users of a stack.
- [`CfnStack.ContentRedirectionProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStack.ContentRedirectionProperty.html) Struct The content redirection settings for the stack.
- [`CfnStack.StorageConnectorProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStack.StorageConnectorProperty.html) Struct A connector that enables persistent storage for users.
- [`CfnStack.StreamingExperienceSettingsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStack.StreamingExperienceSettingsProperty.html) Struct The streaming protocol that you want your stack to prefer.
- [`CfnStack.UrlRedirectionConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStack.UrlRedirectionConfigProperty.html) Struct The configuration for URL redirection.
- [`CfnStack.UserSettingProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStack.UserSettingProperty.html) Struct Specifies an action and whether the action is enabled or disabled for users during their streaming sessions.
- [`CfnStackFleetAssociationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStackFleetAssociationProps.html) Struct Properties for defining a `CfnStackFleetAssociation`.
- [`CfnStackProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStackProps.html) Struct Properties for defining a `CfnStack`.
- [`CfnStackUserAssociationProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnStackUserAssociationProps.html) Struct Properties for defining a `CfnStackUserAssociation`.
- [`CfnUserProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnUserProps.html) Struct Properties for defining a `CfnUser`.
