UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

1,277 lines 143 kB
import * as cdk from "../../core/lib"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; import { AppBlockBuilderReference, AppBlockReference, ApplicationEntitlementAssociationReference, ApplicationFleetAssociationReference, ApplicationReference, DirectoryConfigReference, EntitlementReference, FleetReference, IAppBlockBuilderRef, IAppBlockRef, IApplicationEntitlementAssociationRef, IApplicationFleetAssociationRef, IApplicationRef, IDirectoryConfigRef, IEntitlementRef, IFleetRef, IImageBuilderRef, ImageBuilderReference, IStackFleetAssociationRef, IStackRef, IStackUserAssociationRef, IUserRef, StackFleetAssociationReference, StackReference, StackUserAssociationReference, UserReference } from "../../interfaces/generated/aws-appstream-interfaces.generated"; /** * This resource creates an app block. * * App blocks store details about the virtual hard disk that contains the files for the application in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. App blocks are only supported for Elastic fleets. * * @cloudformationResource AWS::AppStream::AppBlock * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html */ export declare class CfnAppBlock extends cdk.CfnResource implements cdk.IInspectable, IAppBlockRef, cdk.ITaggable { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnAppBlock from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnAppBlock; /** * Checks whether the given object is a CfnAppBlock */ static isCfnAppBlock(x: any): x is CfnAppBlock; static arnForAppBlock(resource: IAppBlockRef): string; /** * The description of the app block. */ private _description?; /** * The display name of the app block. */ private _displayName?; /** * The name of the app block. */ private _name; /** * The packaging type of the app block. */ private _packagingType?; /** * The post setup script details of the app block. */ private _postSetupScriptDetails?; /** * The setup script details of the app block. */ private _setupScriptDetails?; /** * The source S3 location of the app block. */ private _sourceS3Location; /** * Tag Manager which manages the tags for this resource */ readonly tags: cdk.TagManager; /** * The tags of the app block. */ private _tagsRaw?; /** * Create a new `AWS::AppStream::AppBlock`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnAppBlockProps); get appBlockRef(): AppBlockReference; /** * The description of the app block. */ get description(): string | undefined; /** * The description of the app block. */ set description(value: string | undefined); /** * The display name of the app block. */ get displayName(): string | undefined; /** * The display name of the app block. */ set displayName(value: string | undefined); /** * The name of the app block. */ get name(): string; /** * The name of the app block. */ set name(value: string); /** * The packaging type of the app block. */ get packagingType(): string | undefined; /** * The packaging type of the app block. */ set packagingType(value: string | undefined); /** * The post setup script details of the app block. */ get postSetupScriptDetails(): cdk.IResolvable | CfnAppBlock.ScriptDetailsProperty | undefined; /** * The post setup script details of the app block. */ set postSetupScriptDetails(value: cdk.IResolvable | CfnAppBlock.ScriptDetailsProperty | undefined); /** * The setup script details of the app block. */ get setupScriptDetails(): cdk.IResolvable | CfnAppBlock.ScriptDetailsProperty | undefined; /** * The setup script details of the app block. */ set setupScriptDetails(value: cdk.IResolvable | CfnAppBlock.ScriptDetailsProperty | undefined); /** * The source S3 location of the app block. */ get sourceS3Location(): cdk.IResolvable | CfnAppBlock.S3LocationProperty; /** * The source S3 location of the app block. */ set sourceS3Location(value: cdk.IResolvable | CfnAppBlock.S3LocationProperty); /** * The tags of the app block. */ get tagsRaw(): Array<cdk.CfnTag> | undefined; /** * The tags of the app block. */ set tagsRaw(value: Array<cdk.CfnTag> | undefined); /** * The ARN of the app block. * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The time when the app block was created. * * @cloudformationAttribute CreatedTime */ get attrCreatedTime(): string; protected get cfnProperties(): Record<string, any>; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record<string, any>): Record<string, any>; } export declare namespace CfnAppBlock { /** * The details of the script. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-scriptdetails.html */ interface ScriptDetailsProperty { /** * The parameters used in the run path for the script. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-scriptdetails.html#cfn-appstream-appblock-scriptdetails-executableparameters */ readonly executableParameters?: string; /** * The run path for the script. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-scriptdetails.html#cfn-appstream-appblock-scriptdetails-executablepath */ readonly executablePath: string; /** * The S3 object location of the script. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-scriptdetails.html#cfn-appstream-appblock-scriptdetails-scripts3location */ readonly scriptS3Location: cdk.IResolvable | CfnAppBlock.S3LocationProperty; /** * The run timeout, in seconds, for the script. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-scriptdetails.html#cfn-appstream-appblock-scriptdetails-timeoutinseconds */ readonly timeoutInSeconds: number; } /** * The S3 location of the app block. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-s3location.html */ interface S3LocationProperty { /** * The S3 bucket of the app block. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-s3location.html#cfn-appstream-appblock-s3location-s3bucket */ readonly s3Bucket: string; /** * The S3 key of the S3 object of the virtual hard disk. * * This is required when it's used by `SetupScriptDetails` and `PostSetupScriptDetails` . * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-s3location.html#cfn-appstream-appblock-s3location-s3key */ readonly s3Key?: string; } } /** * Properties for defining a `CfnAppBlock` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html */ export interface CfnAppBlockProps { /** * The description of the app block. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-description */ readonly description?: string; /** * The display name of the app block. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-displayname */ readonly displayName?: string; /** * The name of the app block. * * *Pattern* : `^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$` * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-name */ readonly name: string; /** * The packaging type of the app block. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-packagingtype */ readonly packagingType?: string; /** * The post setup script details of the app block. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-postsetupscriptdetails */ readonly postSetupScriptDetails?: cdk.IResolvable | CfnAppBlock.ScriptDetailsProperty; /** * The setup script details of the app block. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-setupscriptdetails */ readonly setupScriptDetails?: cdk.IResolvable | CfnAppBlock.ScriptDetailsProperty; /** * The source S3 location of the app block. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-sources3location */ readonly sourceS3Location: cdk.IResolvable | CfnAppBlock.S3LocationProperty; /** * The tags of the app block. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-tags */ readonly tags?: Array<cdk.CfnTag>; } /** * Creates an app block builder. * * @cloudformationResource AWS::AppStream::AppBlockBuilder * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html */ export declare class CfnAppBlockBuilder extends cdk.CfnResource implements cdk.IInspectable, IAppBlockBuilderRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnAppBlockBuilder from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnAppBlockBuilder; /** * Checks whether the given object is a CfnAppBlockBuilder */ static isCfnAppBlockBuilder(x: any): x is CfnAppBlockBuilder; /** * Creates a new IAppBlockBuilderRef from an ARN */ static fromAppBlockBuilderArn(scope: constructs.Construct, id: string, arn: string): IAppBlockBuilderRef; /** * Creates a new IAppBlockBuilderRef from a appBlockBuilderName */ static fromAppBlockBuilderName(scope: constructs.Construct, id: string, appBlockBuilderName: string): IAppBlockBuilderRef; static arnForAppBlockBuilder(resource: IAppBlockBuilderRef): string; /** * The access endpoints of the app block builder. */ private _accessEndpoints?; /** * The ARN of the app block. */ private _appBlockArns?; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * The description of the app block builder. */ private _description?; /** * The display name of the app block builder. */ private _displayName?; /** * Indicates whether default internet access is enabled for the app block builder. */ private _enableDefaultInternetAccess?; /** * The ARN of the IAM role that is applied to the app block builder. */ private _iamRoleArn?; /** * The instance type of the app block builder. */ private _instanceType; /** * The name of the app block builder. */ private _name; /** * The platform of the app block builder. */ private _platform; /** * The tags of the app block builder. */ private _tags?; /** * The VPC configuration for the app block builder. */ private _vpcConfig; /** * Create a new `AWS::AppStream::AppBlockBuilder`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnAppBlockBuilderProps); get appBlockBuilderRef(): AppBlockBuilderReference; /** * The access endpoints of the app block builder. */ get accessEndpoints(): Array<CfnAppBlockBuilder.AccessEndpointProperty | cdk.IResolvable> | cdk.IResolvable | undefined; /** * The access endpoints of the app block builder. */ set accessEndpoints(value: Array<CfnAppBlockBuilder.AccessEndpointProperty | cdk.IResolvable> | cdk.IResolvable | undefined); /** * The ARN of the app block. */ get appBlockArns(): Array<string> | undefined; /** * The ARN of the app block. */ set appBlockArns(value: Array<string> | undefined); /** * The description of the app block builder. */ get description(): string | undefined; /** * The description of the app block builder. */ set description(value: string | undefined); /** * The display name of the app block builder. */ get displayName(): string | undefined; /** * The display name of the app block builder. */ set displayName(value: string | undefined); /** * Indicates whether default internet access is enabled for the app block builder. */ get enableDefaultInternetAccess(): boolean | cdk.IResolvable | undefined; /** * Indicates whether default internet access is enabled for the app block builder. */ set enableDefaultInternetAccess(value: boolean | cdk.IResolvable | undefined); /** * The ARN of the IAM role that is applied to the app block builder. */ get iamRoleArn(): string | undefined; /** * The ARN of the IAM role that is applied to the app block builder. */ set iamRoleArn(value: string | undefined); /** * The instance type of the app block builder. */ get instanceType(): string; /** * The instance type of the app block builder. */ set instanceType(value: string); /** * The name of the app block builder. */ get name(): string; /** * The name of the app block builder. */ set name(value: string); /** * The platform of the app block builder. */ get platform(): string; /** * The platform of the app block builder. */ set platform(value: string); /** * The tags of the app block builder. */ get tags(): Array<cdk.CfnTag> | undefined; /** * The tags of the app block builder. */ set tags(value: Array<cdk.CfnTag> | undefined); /** * The VPC configuration for the app block builder. */ get vpcConfig(): cdk.IResolvable | CfnAppBlockBuilder.VpcConfigProperty; /** * The VPC configuration for the app block builder. */ set vpcConfig(value: cdk.IResolvable | CfnAppBlockBuilder.VpcConfigProperty); /** * The ARN of the app block builder. * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The time when the app block builder was created. * * @cloudformationAttribute CreatedTime */ get attrCreatedTime(): string; protected get cfnProperties(): Record<string, any>; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record<string, any>): Record<string, any>; } export declare namespace CfnAppBlockBuilder { /** * Describes VPC configuration information for fleets and image builders. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblockbuilder-vpcconfig.html */ interface VpcConfigProperty { /** * The identifiers of the security groups for the fleet or image builder. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblockbuilder-vpcconfig.html#cfn-appstream-appblockbuilder-vpcconfig-securitygroupids */ readonly securityGroupIds?: Array<string>; /** * The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. * * Fleet instances use one or more subnets. Image builder instances use one subnet. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblockbuilder-vpcconfig.html#cfn-appstream-appblockbuilder-vpcconfig-subnetids */ readonly subnetIds?: Array<string>; } /** * 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. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblockbuilder-accessendpoint.html */ interface AccessEndpointProperty { /** * The type of interface endpoint. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblockbuilder-accessendpoint.html#cfn-appstream-appblockbuilder-accessendpoint-endpointtype */ readonly endpointType: string; /** * The identifier (ID) of the VPC in which the interface endpoint is used. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblockbuilder-accessendpoint.html#cfn-appstream-appblockbuilder-accessendpoint-vpceid */ readonly vpceId: string; } } /** * Properties for defining a `CfnAppBlockBuilder` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html */ export interface CfnAppBlockBuilderProps { /** * The access endpoints of the app block builder. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-accessendpoints */ readonly accessEndpoints?: Array<CfnAppBlockBuilder.AccessEndpointProperty | cdk.IResolvable> | cdk.IResolvable; /** * The ARN of the app block. * * *Maximum* : `1` * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-appblockarns */ readonly appBlockArns?: Array<string>; /** * The description of the app block builder. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-description */ readonly description?: string; /** * The display name of the app block builder. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-displayname */ readonly displayName?: string; /** * Indicates whether default internet access is enabled for the app block builder. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-enabledefaultinternetaccess */ readonly enableDefaultInternetAccess?: boolean | cdk.IResolvable; /** * The ARN of the IAM role that is applied to the app block builder. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-iamrolearn */ readonly iamRoleArn?: string; /** * The instance type of the app block builder. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-instancetype */ readonly instanceType: string; /** * The name of the app block builder. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-name */ readonly name: string; /** * The platform of the app block builder. * * *Allowed values* : `WINDOWS_SERVER_2019` * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-platform */ readonly platform: string; /** * The tags of the app block builder. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-tags */ readonly tags?: Array<cdk.CfnTag>; /** * The VPC configuration for the app block builder. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html#cfn-appstream-appblockbuilder-vpcconfig */ readonly vpcConfig: cdk.IResolvable | CfnAppBlockBuilder.VpcConfigProperty; } /** * This resource creates an application. * * Applications store the details about how to launch applications on streaming instances. This is only supported for Elastic fleets. * * @cloudformationResource AWS::AppStream::Application * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html */ export declare class CfnApplication extends cdk.CfnResource implements cdk.IInspectable, IApplicationRef, cdk.ITaggable { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnApplication from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnApplication; /** * Checks whether the given object is a CfnApplication */ static isCfnApplication(x: any): x is CfnApplication; static arnForApplication(resource: IApplicationRef): string; /** * The app block ARN with which the application should be associated. */ private _appBlockArn; /** * A list of attributes to delete from an application. */ private _attributesToDelete?; /** * The description of the application. */ private _description?; /** * The display name of the application. */ private _displayName?; /** * The icon S3 location of the application. */ private _iconS3Location; /** * The instance families the application supports. */ private _instanceFamilies; /** * The launch parameters of the application. */ private _launchParameters?; /** * The launch path of the application. */ private _launchPath; /** * The name of the application. */ private _name; /** * The platforms the application supports. */ private _platforms; /** * Tag Manager which manages the tags for this resource */ readonly tags: cdk.TagManager; /** * The tags of the application. */ private _tagsRaw?; /** * The working directory of the application. */ private _workingDirectory?; /** * Create a new `AWS::AppStream::Application`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnApplicationProps); get applicationRef(): ApplicationReference; /** * The app block ARN with which the application should be associated. */ get appBlockArn(): string; /** * The app block ARN with which the application should be associated. */ set appBlockArn(value: string); /** * A list of attributes to delete from an application. */ get attributesToDelete(): Array<string> | undefined; /** * A list of attributes to delete from an application. */ set attributesToDelete(value: Array<string> | undefined); /** * The description of the application. */ get description(): string | undefined; /** * The description of the application. */ set description(value: string | undefined); /** * The display name of the application. */ get displayName(): string | undefined; /** * The display name of the application. */ set displayName(value: string | undefined); /** * The icon S3 location of the application. */ get iconS3Location(): cdk.IResolvable | CfnApplication.S3LocationProperty; /** * The icon S3 location of the application. */ set iconS3Location(value: cdk.IResolvable | CfnApplication.S3LocationProperty); /** * The instance families the application supports. */ get instanceFamilies(): Array<string>; /** * The instance families the application supports. */ set instanceFamilies(value: Array<string>); /** * The launch parameters of the application. */ get launchParameters(): string | undefined; /** * The launch parameters of the application. */ set launchParameters(value: string | undefined); /** * The launch path of the application. */ get launchPath(): string; /** * The launch path of the application. */ set launchPath(value: string); /** * The name of the application. */ get name(): string; /** * The name of the application. */ set name(value: string); /** * The platforms the application supports. */ get platforms(): Array<string>; /** * The platforms the application supports. */ set platforms(value: Array<string>); /** * The tags of the application. */ get tagsRaw(): Array<cdk.CfnTag> | undefined; /** * The tags of the application. */ set tagsRaw(value: Array<cdk.CfnTag> | undefined); /** * The working directory of the application. */ get workingDirectory(): string | undefined; /** * The working directory of the application. */ set workingDirectory(value: string | undefined); /** * The ARN of the application. * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The time when the application was created. * * @cloudformationAttribute CreatedTime */ get attrCreatedTime(): string; protected get cfnProperties(): Record<string, any>; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record<string, any>): Record<string, any>; } export declare namespace CfnApplication { /** * The S3 location of the application icon. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-application-s3location.html */ interface S3LocationProperty { /** * The S3 bucket of the S3 object. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-application-s3location.html#cfn-appstream-application-s3location-s3bucket */ readonly s3Bucket: string; /** * The S3 key of the S3 object. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-application-s3location.html#cfn-appstream-application-s3location-s3key */ readonly s3Key: string; } } /** * Properties for defining a `CfnApplication` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html */ export interface CfnApplicationProps { /** * The app block ARN with which the application should be associated. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-appblockarn */ readonly appBlockArn: string; /** * A list of attributes to delete from an application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-attributestodelete */ readonly attributesToDelete?: Array<string>; /** * The description of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-description */ readonly description?: string; /** * The display name of the application. * * This name is visible to users in the application catalog. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-displayname */ readonly displayName?: string; /** * The icon S3 location of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-icons3location */ readonly iconS3Location: cdk.IResolvable | CfnApplication.S3LocationProperty; /** * The instance families the application supports. * * *Allowed Values* : `GENERAL_PURPOSE` | `GRAPHICS_G4` * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-instancefamilies */ readonly instanceFamilies: Array<string>; /** * The launch parameters of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-launchparameters */ readonly launchParameters?: string; /** * The launch path of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-launchpath */ readonly launchPath: string; /** * The name of the application. * * This name is visible to users when a name is not specified in the DisplayName property. * * *Pattern* : `^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$` * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-name */ readonly name: string; /** * The platforms the application supports. * * *Allowed Values* : `WINDOWS_SERVER_2019` | `AMAZON_LINUX2` * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-platforms */ readonly platforms: Array<string>; /** * The tags of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-tags */ readonly tags?: Array<cdk.CfnTag>; /** * The working directory of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-workingdirectory */ readonly workingDirectory?: string; } /** * Associates an application to an entitlement. * * @cloudformationResource AWS::AppStream::ApplicationEntitlementAssociation * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-applicationentitlementassociation.html */ export declare class CfnApplicationEntitlementAssociation extends cdk.CfnResource implements cdk.IInspectable, IApplicationEntitlementAssociationRef { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnApplicationEntitlementAssociation from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnApplicationEntitlementAssociation; /** * Checks whether the given object is a CfnApplicationEntitlementAssociation */ static isCfnApplicationEntitlementAssociation(x: any): x is CfnApplicationEntitlementAssociation; /** * The identifier of the application. */ private _applicationIdentifier; /** * The name of the entitlement. */ private _entitlementName; /** * The name of the stack. */ private _stackName; /** * Create a new `AWS::AppStream::ApplicationEntitlementAssociation`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnApplicationEntitlementAssociationProps); get applicationEntitlementAssociationRef(): ApplicationEntitlementAssociationReference; /** * The identifier of the application. */ get applicationIdentifier(): string; /** * The identifier of the application. */ set applicationIdentifier(value: string); /** * The name of the entitlement. */ get entitlementName(): string; /** * The name of the entitlement. */ set entitlementName(value: string); /** * The name of the stack. */ get stackName(): string; /** * The name of the stack. */ set stackName(value: string); protected get cfnProperties(): Record<string, any>; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record<string, any>): Record<string, any>; } /** * Properties for defining a `CfnApplicationEntitlementAssociation` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-applicationentitlementassociation.html */ export interface CfnApplicationEntitlementAssociationProps { /** * The identifier of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-applicationentitlementassociation.html#cfn-appstream-applicationentitlementassociation-applicationidentifier */ readonly applicationIdentifier: string; /** * The name of the entitlement. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-applicationentitlementassociation.html#cfn-appstream-applicationentitlementassociation-entitlementname */ readonly entitlementName: string; /** * The name of the stack. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-applicationentitlementassociation.html#cfn-appstream-applicationentitlementassociation-stackname */ readonly stackName: string; } /** * This resource associates the specified application with the specified fleet. * * This is only supported for Elastic fleets. * * @cloudformationResource AWS::AppStream::ApplicationFleetAssociation * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-applicationfleetassociation.html */ export declare class CfnApplicationFleetAssociation extends cdk.CfnResource implements cdk.IInspectable, IApplicationFleetAssociationRef { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnApplicationFleetAssociation from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnApplicationFleetAssociation; /** * Checks whether the given object is a CfnApplicationFleetAssociation */ static isCfnApplicationFleetAssociation(x: any): x is CfnApplicationFleetAssociation; /** * The ARN of the application. */ private _applicationArn; /** * The name of the fleet. */ private _fleetName; /** * Create a new `AWS::AppStream::ApplicationFleetAssociation`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnApplicationFleetAssociationProps); get applicationFleetAssociationRef(): ApplicationFleetAssociationReference; /** * The ARN of the application. */ get applicationArn(): string; /** * The ARN of the application. */ set applicationArn(value: string); /** * The name of the fleet. */ get fleetName(): string; /** * The name of the fleet. */ set fleetName(value: string); protected get cfnProperties(): Record<string, any>; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record<string, any>): Record<string, any>; } /** * Properties for defining a `CfnApplicationFleetAssociation` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-applicationfleetassociation.html */ export interface CfnApplicationFleetAssociationProps { /** * The ARN of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-applicationfleetassociation.html#cfn-appstream-applicationfleetassociation-applicationarn */ readonly applicationArn: string; /** * The name of the fleet. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-applicationfleetassociation.html#cfn-appstream-applicationfleetassociation-fleetname */ readonly fleetName: string; } /** * 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. * * @cloudformationResource AWS::AppStream::DirectoryConfig * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-directoryconfig.html */ export declare class CfnDirectoryConfig extends cdk.CfnResource implements cdk.IInspectable, IDirectoryConfigRef { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnDirectoryConfig from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnDirectoryConfig; /** * Checks whether the given object is a CfnDirectoryConfig */ static isCfnDirectoryConfig(x: any): x is CfnDirectoryConfig; /** * The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. */ private _certificateBasedAuthProperties?; /** * The fully qualified name of the directory (for example, corp.example.com). */ private _directoryName; /** * The distinguished names of the organizational units for computer accounts. */ private _organizationalUnitDistinguishedNames; /** * The credentials for the service account used by the streaming instance to connect to the directory. */ private _serviceAccountCredentials; /** * Create a new `AWS::AppStream::DirectoryConfig`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnDirectoryConfigProps); get directoryConfigRef(): DirectoryConfigReference; /** * The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. */ get certificateBasedAuthProperties(): CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty | cdk.IResolvable | undefined; /** * The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. */ set certificateBasedAuthProperties(value: CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty | cdk.IResolvable | undefined); /** * The fully qualified name of the directory (for example, corp.example.com). */ get directoryName(): string; /** * The fully qualified name of the directory (for example, corp.example.com). */ set directoryName(value: string); /** * The distinguished names of the organizational units for computer accounts. */ get organizationalUnitDistinguishedNames(): Array<string>; /** * The distinguished names of the organizational units for computer accounts. */ set organizationalUnitDistinguishedNames(value: Array<string>); /** * The credentials for the service account used by the streaming instance to connect to the directory. */ get serviceAccountCredentials(): cdk.IResolvable | CfnDirectoryConfig.ServiceAccountCredentialsProperty; /** * The credentials for the service account used by the streaming instance to connect to the directory. */ set serviceAccountCredentials(value: cdk.IResolvable | CfnDirectoryConfig.ServiceAccountCredentialsProperty); protected get cfnProperties(): Record<string, any>; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record<string, any>): Record<string, any>; } export declare namespace CfnDirectoryConfig { /** * The credentials for the service account used by the streaming instance to connect to the directory. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-directoryconfig-serviceaccountcredentials.html */ interface ServiceAccountCredentialsProperty { /** * The user name of the account. * * This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-directoryconfig-serviceaccountcredentials.html#cfn-appstream-directoryconfig-serviceaccountcredentials-accountname */ readonly accountName: string; /** * The password for the account. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-directoryconfig-serviceaccountcredentials.html#cfn-appstream-directoryconfig-serviceaccountcredentials-accountpassword */ readonly accountPassword: string; } /** * The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-directoryconfig-certificatebasedauthproperties.html */ interface CertificateBasedAuthPropertiesProperty { /** * The ARN of the AWS Certificate Manager Private CA resource. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-directoryconfig-certificatebasedauthproperties.html#cfn-appstream-directoryconfig-certificatebasedauthproperties-certificateauthorityarn */ readonly certificateAuthorityArn?: string; /** * The status of the certificate-based authentication properties. * * Fallback is turned on by default when certificate-based authentication is *Enabled* . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. *Enabled_no_directory_login_fallback* enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-directoryconfig-certificatebasedauthproperties.html#cfn-appstream-directoryconfig-certificatebasedauthproperties-status */ readonly status?: string; } } /** * Properties for defining a `CfnDirectoryConfig` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-directoryconfig.html */ export interface CfnDirectoryConfigProps { /** * The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. * * @see http://docs.aw