appstream

package
v4.38.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectoryConfig added in v4.29.0

type DirectoryConfig struct {
	pulumi.CustomResourceState

	// Date and time, in UTC and extended RFC 3339 format, when the directory config was created.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// Fully qualified name of the directory.
	DirectoryName pulumi.StringOutput `pulumi:"directoryName"`
	// Distinguished names of the organizational units for computer accounts.
	OrganizationalUnitDistinguishedNames pulumi.StringArrayOutput `pulumi:"organizationalUnitDistinguishedNames"`
	// Configuration block for the name of the directory and organizational unit (OU) to use to join the directory config to a Microsoft Active Directory domain. See `serviceAccountCredentials` below.
	ServiceAccountCredentials DirectoryConfigServiceAccountCredentialsOutput `pulumi:"serviceAccountCredentials"`
}

Provides an AppStream Directory Config.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appstream"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appstream.NewDirectoryConfig(ctx, "example", &appstream.DirectoryConfigArgs{
			DirectoryName: pulumi.String("NAME OF DIRECTORY"),
			OrganizationalUnitDistinguishedNames: pulumi.StringArray{
				pulumi.String("DISTINGUISHED NAME"),
			},
			ServiceAccountCredentials: &appstream.DirectoryConfigServiceAccountCredentialsArgs{
				AccountName:     pulumi.String("NAME OF ACCOUNT"),
				AccountPassword: pulumi.String("PASSWORD OF ACCOUNT"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_appstream_directory_config` can be imported using the id, e.g.,

```sh

$ pulumi import aws:appstream/directoryConfig:DirectoryConfig example directoryNameExample

```

func GetDirectoryConfig added in v4.29.0

func GetDirectoryConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DirectoryConfigState, opts ...pulumi.ResourceOption) (*DirectoryConfig, error)

GetDirectoryConfig gets an existing DirectoryConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDirectoryConfig added in v4.29.0

func NewDirectoryConfig(ctx *pulumi.Context,
	name string, args *DirectoryConfigArgs, opts ...pulumi.ResourceOption) (*DirectoryConfig, error)

NewDirectoryConfig registers a new resource with the given unique name, arguments, and options.

func (*DirectoryConfig) ElementType added in v4.29.0

func (*DirectoryConfig) ElementType() reflect.Type

func (*DirectoryConfig) ToDirectoryConfigOutput added in v4.29.0

func (i *DirectoryConfig) ToDirectoryConfigOutput() DirectoryConfigOutput

func (*DirectoryConfig) ToDirectoryConfigOutputWithContext added in v4.29.0

func (i *DirectoryConfig) ToDirectoryConfigOutputWithContext(ctx context.Context) DirectoryConfigOutput

type DirectoryConfigArgs added in v4.29.0

type DirectoryConfigArgs struct {
	// Fully qualified name of the directory.
	DirectoryName pulumi.StringInput
	// Distinguished names of the organizational units for computer accounts.
	OrganizationalUnitDistinguishedNames pulumi.StringArrayInput
	// Configuration block for the name of the directory and organizational unit (OU) to use to join the directory config to a Microsoft Active Directory domain. See `serviceAccountCredentials` below.
	ServiceAccountCredentials DirectoryConfigServiceAccountCredentialsInput
}

The set of arguments for constructing a DirectoryConfig resource.

func (DirectoryConfigArgs) ElementType added in v4.29.0

func (DirectoryConfigArgs) ElementType() reflect.Type

type DirectoryConfigArray added in v4.29.0

type DirectoryConfigArray []DirectoryConfigInput

func (DirectoryConfigArray) ElementType added in v4.29.0

func (DirectoryConfigArray) ElementType() reflect.Type

func (DirectoryConfigArray) ToDirectoryConfigArrayOutput added in v4.29.0

func (i DirectoryConfigArray) ToDirectoryConfigArrayOutput() DirectoryConfigArrayOutput

func (DirectoryConfigArray) ToDirectoryConfigArrayOutputWithContext added in v4.29.0

func (i DirectoryConfigArray) ToDirectoryConfigArrayOutputWithContext(ctx context.Context) DirectoryConfigArrayOutput

type DirectoryConfigArrayInput added in v4.29.0

type DirectoryConfigArrayInput interface {
	pulumi.Input

	ToDirectoryConfigArrayOutput() DirectoryConfigArrayOutput
	ToDirectoryConfigArrayOutputWithContext(context.Context) DirectoryConfigArrayOutput
}

DirectoryConfigArrayInput is an input type that accepts DirectoryConfigArray and DirectoryConfigArrayOutput values. You can construct a concrete instance of `DirectoryConfigArrayInput` via:

DirectoryConfigArray{ DirectoryConfigArgs{...} }

type DirectoryConfigArrayOutput added in v4.29.0

type DirectoryConfigArrayOutput struct{ *pulumi.OutputState }

func (DirectoryConfigArrayOutput) ElementType added in v4.29.0

func (DirectoryConfigArrayOutput) ElementType() reflect.Type

func (DirectoryConfigArrayOutput) Index added in v4.29.0

func (DirectoryConfigArrayOutput) ToDirectoryConfigArrayOutput added in v4.29.0

func (o DirectoryConfigArrayOutput) ToDirectoryConfigArrayOutput() DirectoryConfigArrayOutput

func (DirectoryConfigArrayOutput) ToDirectoryConfigArrayOutputWithContext added in v4.29.0

func (o DirectoryConfigArrayOutput) ToDirectoryConfigArrayOutputWithContext(ctx context.Context) DirectoryConfigArrayOutput

type DirectoryConfigInput added in v4.29.0

type DirectoryConfigInput interface {
	pulumi.Input

	ToDirectoryConfigOutput() DirectoryConfigOutput
	ToDirectoryConfigOutputWithContext(ctx context.Context) DirectoryConfigOutput
}

type DirectoryConfigMap added in v4.29.0

type DirectoryConfigMap map[string]DirectoryConfigInput

func (DirectoryConfigMap) ElementType added in v4.29.0

func (DirectoryConfigMap) ElementType() reflect.Type

func (DirectoryConfigMap) ToDirectoryConfigMapOutput added in v4.29.0

func (i DirectoryConfigMap) ToDirectoryConfigMapOutput() DirectoryConfigMapOutput

func (DirectoryConfigMap) ToDirectoryConfigMapOutputWithContext added in v4.29.0

func (i DirectoryConfigMap) ToDirectoryConfigMapOutputWithContext(ctx context.Context) DirectoryConfigMapOutput

type DirectoryConfigMapInput added in v4.29.0

type DirectoryConfigMapInput interface {
	pulumi.Input

	ToDirectoryConfigMapOutput() DirectoryConfigMapOutput
	ToDirectoryConfigMapOutputWithContext(context.Context) DirectoryConfigMapOutput
}

DirectoryConfigMapInput is an input type that accepts DirectoryConfigMap and DirectoryConfigMapOutput values. You can construct a concrete instance of `DirectoryConfigMapInput` via:

DirectoryConfigMap{ "key": DirectoryConfigArgs{...} }

type DirectoryConfigMapOutput added in v4.29.0

type DirectoryConfigMapOutput struct{ *pulumi.OutputState }

func (DirectoryConfigMapOutput) ElementType added in v4.29.0

func (DirectoryConfigMapOutput) ElementType() reflect.Type

func (DirectoryConfigMapOutput) MapIndex added in v4.29.0

func (DirectoryConfigMapOutput) ToDirectoryConfigMapOutput added in v4.29.0

func (o DirectoryConfigMapOutput) ToDirectoryConfigMapOutput() DirectoryConfigMapOutput

func (DirectoryConfigMapOutput) ToDirectoryConfigMapOutputWithContext added in v4.29.0

func (o DirectoryConfigMapOutput) ToDirectoryConfigMapOutputWithContext(ctx context.Context) DirectoryConfigMapOutput

type DirectoryConfigOutput added in v4.29.0

type DirectoryConfigOutput struct{ *pulumi.OutputState }

func (DirectoryConfigOutput) ElementType added in v4.29.0

func (DirectoryConfigOutput) ElementType() reflect.Type

func (DirectoryConfigOutput) ToDirectoryConfigOutput added in v4.29.0

func (o DirectoryConfigOutput) ToDirectoryConfigOutput() DirectoryConfigOutput

func (DirectoryConfigOutput) ToDirectoryConfigOutputWithContext added in v4.29.0

func (o DirectoryConfigOutput) ToDirectoryConfigOutputWithContext(ctx context.Context) DirectoryConfigOutput

type DirectoryConfigServiceAccountCredentials added in v4.29.0

type DirectoryConfigServiceAccountCredentials struct {
	// 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.
	AccountName string `pulumi:"accountName"`
	// Password for the account.
	AccountPassword string `pulumi:"accountPassword"`
}

type DirectoryConfigServiceAccountCredentialsArgs added in v4.29.0

type DirectoryConfigServiceAccountCredentialsArgs struct {
	// 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.
	AccountName pulumi.StringInput `pulumi:"accountName"`
	// Password for the account.
	AccountPassword pulumi.StringInput `pulumi:"accountPassword"`
}

func (DirectoryConfigServiceAccountCredentialsArgs) ElementType added in v4.29.0

func (DirectoryConfigServiceAccountCredentialsArgs) ToDirectoryConfigServiceAccountCredentialsOutput added in v4.29.0

func (i DirectoryConfigServiceAccountCredentialsArgs) ToDirectoryConfigServiceAccountCredentialsOutput() DirectoryConfigServiceAccountCredentialsOutput

func (DirectoryConfigServiceAccountCredentialsArgs) ToDirectoryConfigServiceAccountCredentialsOutputWithContext added in v4.29.0

func (i DirectoryConfigServiceAccountCredentialsArgs) ToDirectoryConfigServiceAccountCredentialsOutputWithContext(ctx context.Context) DirectoryConfigServiceAccountCredentialsOutput

func (DirectoryConfigServiceAccountCredentialsArgs) ToDirectoryConfigServiceAccountCredentialsPtrOutput added in v4.29.0

func (i DirectoryConfigServiceAccountCredentialsArgs) ToDirectoryConfigServiceAccountCredentialsPtrOutput() DirectoryConfigServiceAccountCredentialsPtrOutput

func (DirectoryConfigServiceAccountCredentialsArgs) ToDirectoryConfigServiceAccountCredentialsPtrOutputWithContext added in v4.29.0

func (i DirectoryConfigServiceAccountCredentialsArgs) ToDirectoryConfigServiceAccountCredentialsPtrOutputWithContext(ctx context.Context) DirectoryConfigServiceAccountCredentialsPtrOutput

type DirectoryConfigServiceAccountCredentialsInput added in v4.29.0

type DirectoryConfigServiceAccountCredentialsInput interface {
	pulumi.Input

	ToDirectoryConfigServiceAccountCredentialsOutput() DirectoryConfigServiceAccountCredentialsOutput
	ToDirectoryConfigServiceAccountCredentialsOutputWithContext(context.Context) DirectoryConfigServiceAccountCredentialsOutput
}

DirectoryConfigServiceAccountCredentialsInput is an input type that accepts DirectoryConfigServiceAccountCredentialsArgs and DirectoryConfigServiceAccountCredentialsOutput values. You can construct a concrete instance of `DirectoryConfigServiceAccountCredentialsInput` via:

DirectoryConfigServiceAccountCredentialsArgs{...}

type DirectoryConfigServiceAccountCredentialsOutput added in v4.29.0

type DirectoryConfigServiceAccountCredentialsOutput struct{ *pulumi.OutputState }

func (DirectoryConfigServiceAccountCredentialsOutput) AccountName added in v4.29.0

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.

func (DirectoryConfigServiceAccountCredentialsOutput) AccountPassword added in v4.29.0

Password for the account.

func (DirectoryConfigServiceAccountCredentialsOutput) ElementType added in v4.29.0

func (DirectoryConfigServiceAccountCredentialsOutput) ToDirectoryConfigServiceAccountCredentialsOutput added in v4.29.0

func (o DirectoryConfigServiceAccountCredentialsOutput) ToDirectoryConfigServiceAccountCredentialsOutput() DirectoryConfigServiceAccountCredentialsOutput

func (DirectoryConfigServiceAccountCredentialsOutput) ToDirectoryConfigServiceAccountCredentialsOutputWithContext added in v4.29.0

func (o DirectoryConfigServiceAccountCredentialsOutput) ToDirectoryConfigServiceAccountCredentialsOutputWithContext(ctx context.Context) DirectoryConfigServiceAccountCredentialsOutput

func (DirectoryConfigServiceAccountCredentialsOutput) ToDirectoryConfigServiceAccountCredentialsPtrOutput added in v4.29.0

func (o DirectoryConfigServiceAccountCredentialsOutput) ToDirectoryConfigServiceAccountCredentialsPtrOutput() DirectoryConfigServiceAccountCredentialsPtrOutput

func (DirectoryConfigServiceAccountCredentialsOutput) ToDirectoryConfigServiceAccountCredentialsPtrOutputWithContext added in v4.29.0

func (o DirectoryConfigServiceAccountCredentialsOutput) ToDirectoryConfigServiceAccountCredentialsPtrOutputWithContext(ctx context.Context) DirectoryConfigServiceAccountCredentialsPtrOutput

type DirectoryConfigServiceAccountCredentialsPtrInput added in v4.29.0

type DirectoryConfigServiceAccountCredentialsPtrInput interface {
	pulumi.Input

	ToDirectoryConfigServiceAccountCredentialsPtrOutput() DirectoryConfigServiceAccountCredentialsPtrOutput
	ToDirectoryConfigServiceAccountCredentialsPtrOutputWithContext(context.Context) DirectoryConfigServiceAccountCredentialsPtrOutput
}

DirectoryConfigServiceAccountCredentialsPtrInput is an input type that accepts DirectoryConfigServiceAccountCredentialsArgs, DirectoryConfigServiceAccountCredentialsPtr and DirectoryConfigServiceAccountCredentialsPtrOutput values. You can construct a concrete instance of `DirectoryConfigServiceAccountCredentialsPtrInput` via:

        DirectoryConfigServiceAccountCredentialsArgs{...}

or:

        nil

type DirectoryConfigServiceAccountCredentialsPtrOutput added in v4.29.0

type DirectoryConfigServiceAccountCredentialsPtrOutput struct{ *pulumi.OutputState }

func (DirectoryConfigServiceAccountCredentialsPtrOutput) AccountName added in v4.29.0

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.

func (DirectoryConfigServiceAccountCredentialsPtrOutput) AccountPassword added in v4.29.0

Password for the account.

func (DirectoryConfigServiceAccountCredentialsPtrOutput) Elem added in v4.29.0

func (DirectoryConfigServiceAccountCredentialsPtrOutput) ElementType added in v4.29.0

func (DirectoryConfigServiceAccountCredentialsPtrOutput) ToDirectoryConfigServiceAccountCredentialsPtrOutput added in v4.29.0

func (o DirectoryConfigServiceAccountCredentialsPtrOutput) ToDirectoryConfigServiceAccountCredentialsPtrOutput() DirectoryConfigServiceAccountCredentialsPtrOutput

func (DirectoryConfigServiceAccountCredentialsPtrOutput) ToDirectoryConfigServiceAccountCredentialsPtrOutputWithContext added in v4.29.0

func (o DirectoryConfigServiceAccountCredentialsPtrOutput) ToDirectoryConfigServiceAccountCredentialsPtrOutputWithContext(ctx context.Context) DirectoryConfigServiceAccountCredentialsPtrOutput

type DirectoryConfigState added in v4.29.0

type DirectoryConfigState struct {
	// Date and time, in UTC and extended RFC 3339 format, when the directory config was created.
	CreatedTime pulumi.StringPtrInput
	// Fully qualified name of the directory.
	DirectoryName pulumi.StringPtrInput
	// Distinguished names of the organizational units for computer accounts.
	OrganizationalUnitDistinguishedNames pulumi.StringArrayInput
	// Configuration block for the name of the directory and organizational unit (OU) to use to join the directory config to a Microsoft Active Directory domain. See `serviceAccountCredentials` below.
	ServiceAccountCredentials DirectoryConfigServiceAccountCredentialsPtrInput
}

func (DirectoryConfigState) ElementType added in v4.29.0

func (DirectoryConfigState) ElementType() reflect.Type

type Fleet added in v4.22.0

type Fleet struct {
	pulumi.CustomResourceState

	// ARN of the appstream fleet.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Configuration block for the desired capacity of the fleet. See below.
	ComputeCapacity FleetComputeCapacityOutput `pulumi:"computeCapacity"`
	// Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// Description to display.
	Description pulumi.StringOutput `pulumi:"description"`
	// Amount of time that a streaming session remains active after users disconnect.
	DisconnectTimeoutInSeconds pulumi.IntOutput `pulumi:"disconnectTimeoutInSeconds"`
	// Human-readable friendly name for the AppStream fleet.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Configuration block for the name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. See below.
	DomainJoinInfo FleetDomainJoinInfoOutput `pulumi:"domainJoinInfo"`
	// Enables or disables default internet access for the fleet.
	EnableDefaultInternetAccess pulumi.BoolOutput `pulumi:"enableDefaultInternetAccess"`
	// Fleet type. Valid values are: `ON_DEMAND`, `ALWAYS_ON`
	FleetType pulumi.StringOutput `pulumi:"fleetType"`
	// ARN of the IAM role to apply to the fleet.
	IamRoleArn pulumi.StringOutput `pulumi:"iamRoleArn"`
	// Amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the `disconnectTimeoutInSeconds` time interval begins.
	IdleDisconnectTimeoutInSeconds pulumi.IntPtrOutput `pulumi:"idleDisconnectTimeoutInSeconds"`
	// ARN of the public, private, or shared image to use.
	ImageArn pulumi.StringOutput `pulumi:"imageArn"`
	// Name of the image used to create the fleet.
	ImageName pulumi.StringOutput `pulumi:"imageName"`
	// Instance type to use when launching fleet instances.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// Maximum amount of time that a streaming session can remain active, in seconds.
	MaxUserDurationInSeconds pulumi.IntOutput `pulumi:"maxUserDurationInSeconds"`
	// Unique name for the fleet.
	Name pulumi.StringOutput `pulumi:"name"`
	// State of the fleet. Can be `STARTING`, `RUNNING`, `STOPPING` or `STOPPED`
	State pulumi.StringOutput `pulumi:"state"`
	// AppStream 2.0 view that is displayed to your users when they stream from the fleet. When `APP` is specified, only the windows of applications opened by users display. When `DESKTOP` is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults to `APP`.
	StreamView pulumi.StringOutput `pulumi:"streamView"`
	// Map of tags to attach to AppStream instances.
	Tags    pulumi.StringMapOutput `pulumi:"tags"`
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Configuration block for the VPC configuration for the image builder. See below.
	VpcConfig FleetVpcConfigOutput `pulumi:"vpcConfig"`
}

Provides an AppStream fleet.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appstream"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appstream.NewFleet(ctx, "testFleet", &appstream.FleetArgs{
			ComputeCapacity: &appstream.FleetComputeCapacityArgs{
				DesiredInstances: pulumi.Int(1),
			},
			Description:                    pulumi.String("test fleet"),
			DisplayName:                    pulumi.String("test-fleet"),
			EnableDefaultInternetAccess:    pulumi.Bool(false),
			FleetType:                      pulumi.String("ON_DEMAND"),
			IdleDisconnectTimeoutInSeconds: pulumi.Int(60),
			ImageName:                      pulumi.String("Amazon-AppStream2-Sample-Image-02-04-2019"),
			InstanceType:                   pulumi.String("stream.standard.large"),
			MaxUserDurationInSeconds:       pulumi.Int(600),
			Tags: pulumi.StringMap{
				"TagName": pulumi.String("tag-value"),
			},
			VpcConfig: &appstream.FleetVpcConfigArgs{
				SubnetIds: pulumi.StringArray{
					pulumi.String("subnet-06e9b13400c225127"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_appstream_fleet` can be imported using the id, e.g.,

```sh

$ pulumi import aws:appstream/fleet:Fleet example fleetNameExample

```

func GetFleet added in v4.22.0

func GetFleet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FleetState, opts ...pulumi.ResourceOption) (*Fleet, error)

GetFleet gets an existing Fleet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFleet added in v4.22.0

func NewFleet(ctx *pulumi.Context,
	name string, args *FleetArgs, opts ...pulumi.ResourceOption) (*Fleet, error)

NewFleet registers a new resource with the given unique name, arguments, and options.

func (*Fleet) ElementType added in v4.22.0

func (*Fleet) ElementType() reflect.Type

func (*Fleet) ToFleetOutput added in v4.22.0

func (i *Fleet) ToFleetOutput() FleetOutput

func (*Fleet) ToFleetOutputWithContext added in v4.22.0

func (i *Fleet) ToFleetOutputWithContext(ctx context.Context) FleetOutput

type FleetArgs added in v4.22.0

type FleetArgs struct {
	// Configuration block for the desired capacity of the fleet. See below.
	ComputeCapacity FleetComputeCapacityInput
	// Description to display.
	Description pulumi.StringPtrInput
	// Amount of time that a streaming session remains active after users disconnect.
	DisconnectTimeoutInSeconds pulumi.IntPtrInput
	// Human-readable friendly name for the AppStream fleet.
	DisplayName pulumi.StringPtrInput
	// Configuration block for the name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. See below.
	DomainJoinInfo FleetDomainJoinInfoPtrInput
	// Enables or disables default internet access for the fleet.
	EnableDefaultInternetAccess pulumi.BoolPtrInput
	// Fleet type. Valid values are: `ON_DEMAND`, `ALWAYS_ON`
	FleetType pulumi.StringPtrInput
	// ARN of the IAM role to apply to the fleet.
	IamRoleArn pulumi.StringPtrInput
	// Amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the `disconnectTimeoutInSeconds` time interval begins.
	IdleDisconnectTimeoutInSeconds pulumi.IntPtrInput
	// ARN of the public, private, or shared image to use.
	ImageArn pulumi.StringPtrInput
	// Name of the image used to create the fleet.
	ImageName pulumi.StringPtrInput
	// Instance type to use when launching fleet instances.
	InstanceType pulumi.StringInput
	// Maximum amount of time that a streaming session can remain active, in seconds.
	MaxUserDurationInSeconds pulumi.IntPtrInput
	// Unique name for the fleet.
	Name pulumi.StringPtrInput
	// AppStream 2.0 view that is displayed to your users when they stream from the fleet. When `APP` is specified, only the windows of applications opened by users display. When `DESKTOP` is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults to `APP`.
	StreamView pulumi.StringPtrInput
	// Map of tags to attach to AppStream instances.
	Tags pulumi.StringMapInput
	// Configuration block for the VPC configuration for the image builder. See below.
	VpcConfig FleetVpcConfigPtrInput
}

The set of arguments for constructing a Fleet resource.

func (FleetArgs) ElementType added in v4.22.0

func (FleetArgs) ElementType() reflect.Type

type FleetArray added in v4.22.0

type FleetArray []FleetInput

func (FleetArray) ElementType added in v4.22.0

func (FleetArray) ElementType() reflect.Type

func (FleetArray) ToFleetArrayOutput added in v4.22.0

func (i FleetArray) ToFleetArrayOutput() FleetArrayOutput

func (FleetArray) ToFleetArrayOutputWithContext added in v4.22.0

func (i FleetArray) ToFleetArrayOutputWithContext(ctx context.Context) FleetArrayOutput

type FleetArrayInput added in v4.22.0

type FleetArrayInput interface {
	pulumi.Input

	ToFleetArrayOutput() FleetArrayOutput
	ToFleetArrayOutputWithContext(context.Context) FleetArrayOutput
}

FleetArrayInput is an input type that accepts FleetArray and FleetArrayOutput values. You can construct a concrete instance of `FleetArrayInput` via:

FleetArray{ FleetArgs{...} }

type FleetArrayOutput added in v4.22.0

type FleetArrayOutput struct{ *pulumi.OutputState }

func (FleetArrayOutput) ElementType added in v4.22.0

func (FleetArrayOutput) ElementType() reflect.Type

func (FleetArrayOutput) Index added in v4.22.0

func (FleetArrayOutput) ToFleetArrayOutput added in v4.22.0

func (o FleetArrayOutput) ToFleetArrayOutput() FleetArrayOutput

func (FleetArrayOutput) ToFleetArrayOutputWithContext added in v4.22.0

func (o FleetArrayOutput) ToFleetArrayOutputWithContext(ctx context.Context) FleetArrayOutput

type FleetComputeCapacity added in v4.22.0

type FleetComputeCapacity struct {
	// Number of currently available instances that can be used to stream sessions.
	Available *int `pulumi:"available"`
	// Desired number of streaming instances.
	DesiredInstances int `pulumi:"desiredInstances"`
	// Number of instances in use for streaming.
	InUse *int `pulumi:"inUse"`
	// Total number of simultaneous streaming instances that are running.
	Running *int `pulumi:"running"`
}

type FleetComputeCapacityArgs added in v4.22.0

type FleetComputeCapacityArgs struct {
	// Number of currently available instances that can be used to stream sessions.
	Available pulumi.IntPtrInput `pulumi:"available"`
	// Desired number of streaming instances.
	DesiredInstances pulumi.IntInput `pulumi:"desiredInstances"`
	// Number of instances in use for streaming.
	InUse pulumi.IntPtrInput `pulumi:"inUse"`
	// Total number of simultaneous streaming instances that are running.
	Running pulumi.IntPtrInput `pulumi:"running"`
}

func (FleetComputeCapacityArgs) ElementType added in v4.22.0

func (FleetComputeCapacityArgs) ElementType() reflect.Type

func (FleetComputeCapacityArgs) ToFleetComputeCapacityOutput added in v4.22.0

func (i FleetComputeCapacityArgs) ToFleetComputeCapacityOutput() FleetComputeCapacityOutput

func (FleetComputeCapacityArgs) ToFleetComputeCapacityOutputWithContext added in v4.22.0

func (i FleetComputeCapacityArgs) ToFleetComputeCapacityOutputWithContext(ctx context.Context) FleetComputeCapacityOutput

func (FleetComputeCapacityArgs) ToFleetComputeCapacityPtrOutput added in v4.22.0

func (i FleetComputeCapacityArgs) ToFleetComputeCapacityPtrOutput() FleetComputeCapacityPtrOutput

func (FleetComputeCapacityArgs) ToFleetComputeCapacityPtrOutputWithContext added in v4.22.0

func (i FleetComputeCapacityArgs) ToFleetComputeCapacityPtrOutputWithContext(ctx context.Context) FleetComputeCapacityPtrOutput

type FleetComputeCapacityInput added in v4.22.0

type FleetComputeCapacityInput interface {
	pulumi.Input

	ToFleetComputeCapacityOutput() FleetComputeCapacityOutput
	ToFleetComputeCapacityOutputWithContext(context.Context) FleetComputeCapacityOutput
}

FleetComputeCapacityInput is an input type that accepts FleetComputeCapacityArgs and FleetComputeCapacityOutput values. You can construct a concrete instance of `FleetComputeCapacityInput` via:

FleetComputeCapacityArgs{...}

type FleetComputeCapacityOutput added in v4.22.0

type FleetComputeCapacityOutput struct{ *pulumi.OutputState }

func (FleetComputeCapacityOutput) Available added in v4.22.0

Number of currently available instances that can be used to stream sessions.

func (FleetComputeCapacityOutput) DesiredInstances added in v4.22.0

func (o FleetComputeCapacityOutput) DesiredInstances() pulumi.IntOutput

Desired number of streaming instances.

func (FleetComputeCapacityOutput) ElementType added in v4.22.0

func (FleetComputeCapacityOutput) ElementType() reflect.Type

func (FleetComputeCapacityOutput) InUse added in v4.22.0

Number of instances in use for streaming.

func (FleetComputeCapacityOutput) Running added in v4.22.0

Total number of simultaneous streaming instances that are running.

func (FleetComputeCapacityOutput) ToFleetComputeCapacityOutput added in v4.22.0

func (o FleetComputeCapacityOutput) ToFleetComputeCapacityOutput() FleetComputeCapacityOutput

func (FleetComputeCapacityOutput) ToFleetComputeCapacityOutputWithContext added in v4.22.0

func (o FleetComputeCapacityOutput) ToFleetComputeCapacityOutputWithContext(ctx context.Context) FleetComputeCapacityOutput

func (FleetComputeCapacityOutput) ToFleetComputeCapacityPtrOutput added in v4.22.0

func (o FleetComputeCapacityOutput) ToFleetComputeCapacityPtrOutput() FleetComputeCapacityPtrOutput

func (FleetComputeCapacityOutput) ToFleetComputeCapacityPtrOutputWithContext added in v4.22.0

func (o FleetComputeCapacityOutput) ToFleetComputeCapacityPtrOutputWithContext(ctx context.Context) FleetComputeCapacityPtrOutput

type FleetComputeCapacityPtrInput added in v4.22.0

type FleetComputeCapacityPtrInput interface {
	pulumi.Input

	ToFleetComputeCapacityPtrOutput() FleetComputeCapacityPtrOutput
	ToFleetComputeCapacityPtrOutputWithContext(context.Context) FleetComputeCapacityPtrOutput
}

FleetComputeCapacityPtrInput is an input type that accepts FleetComputeCapacityArgs, FleetComputeCapacityPtr and FleetComputeCapacityPtrOutput values. You can construct a concrete instance of `FleetComputeCapacityPtrInput` via:

        FleetComputeCapacityArgs{...}

or:

        nil

func FleetComputeCapacityPtr added in v4.22.0

func FleetComputeCapacityPtr(v *FleetComputeCapacityArgs) FleetComputeCapacityPtrInput

type FleetComputeCapacityPtrOutput added in v4.22.0

type FleetComputeCapacityPtrOutput struct{ *pulumi.OutputState }

func (FleetComputeCapacityPtrOutput) Available added in v4.22.0

Number of currently available instances that can be used to stream sessions.

func (FleetComputeCapacityPtrOutput) DesiredInstances added in v4.22.0

func (o FleetComputeCapacityPtrOutput) DesiredInstances() pulumi.IntPtrOutput

Desired number of streaming instances.

func (FleetComputeCapacityPtrOutput) Elem added in v4.22.0

func (FleetComputeCapacityPtrOutput) ElementType added in v4.22.0

func (FleetComputeCapacityPtrOutput) InUse added in v4.22.0

Number of instances in use for streaming.

func (FleetComputeCapacityPtrOutput) Running added in v4.22.0

Total number of simultaneous streaming instances that are running.

func (FleetComputeCapacityPtrOutput) ToFleetComputeCapacityPtrOutput added in v4.22.0

func (o FleetComputeCapacityPtrOutput) ToFleetComputeCapacityPtrOutput() FleetComputeCapacityPtrOutput

func (FleetComputeCapacityPtrOutput) ToFleetComputeCapacityPtrOutputWithContext added in v4.22.0

func (o FleetComputeCapacityPtrOutput) ToFleetComputeCapacityPtrOutputWithContext(ctx context.Context) FleetComputeCapacityPtrOutput

type FleetDomainJoinInfo added in v4.22.0

type FleetDomainJoinInfo struct {
	// Fully qualified name of the directory (for example, corp.example.com).
	DirectoryName *string `pulumi:"directoryName"`
	// Distinguished name of the organizational unit for computer accounts.
	OrganizationalUnitDistinguishedName *string `pulumi:"organizationalUnitDistinguishedName"`
}

type FleetDomainJoinInfoArgs added in v4.22.0

type FleetDomainJoinInfoArgs struct {
	// Fully qualified name of the directory (for example, corp.example.com).
	DirectoryName pulumi.StringPtrInput `pulumi:"directoryName"`
	// Distinguished name of the organizational unit for computer accounts.
	OrganizationalUnitDistinguishedName pulumi.StringPtrInput `pulumi:"organizationalUnitDistinguishedName"`
}

func (FleetDomainJoinInfoArgs) ElementType added in v4.22.0

func (FleetDomainJoinInfoArgs) ElementType() reflect.Type

func (FleetDomainJoinInfoArgs) ToFleetDomainJoinInfoOutput added in v4.22.0

func (i FleetDomainJoinInfoArgs) ToFleetDomainJoinInfoOutput() FleetDomainJoinInfoOutput

func (FleetDomainJoinInfoArgs) ToFleetDomainJoinInfoOutputWithContext added in v4.22.0

func (i FleetDomainJoinInfoArgs) ToFleetDomainJoinInfoOutputWithContext(ctx context.Context) FleetDomainJoinInfoOutput

func (FleetDomainJoinInfoArgs) ToFleetDomainJoinInfoPtrOutput added in v4.22.0

func (i FleetDomainJoinInfoArgs) ToFleetDomainJoinInfoPtrOutput() FleetDomainJoinInfoPtrOutput

func (FleetDomainJoinInfoArgs) ToFleetDomainJoinInfoPtrOutputWithContext added in v4.22.0

func (i FleetDomainJoinInfoArgs) ToFleetDomainJoinInfoPtrOutputWithContext(ctx context.Context) FleetDomainJoinInfoPtrOutput

type FleetDomainJoinInfoInput added in v4.22.0

type FleetDomainJoinInfoInput interface {
	pulumi.Input

	ToFleetDomainJoinInfoOutput() FleetDomainJoinInfoOutput
	ToFleetDomainJoinInfoOutputWithContext(context.Context) FleetDomainJoinInfoOutput
}

FleetDomainJoinInfoInput is an input type that accepts FleetDomainJoinInfoArgs and FleetDomainJoinInfoOutput values. You can construct a concrete instance of `FleetDomainJoinInfoInput` via:

FleetDomainJoinInfoArgs{...}

type FleetDomainJoinInfoOutput added in v4.22.0

type FleetDomainJoinInfoOutput struct{ *pulumi.OutputState }

func (FleetDomainJoinInfoOutput) DirectoryName added in v4.22.0

Fully qualified name of the directory (for example, corp.example.com).

func (FleetDomainJoinInfoOutput) ElementType added in v4.22.0

func (FleetDomainJoinInfoOutput) ElementType() reflect.Type

func (FleetDomainJoinInfoOutput) OrganizationalUnitDistinguishedName added in v4.22.0

func (o FleetDomainJoinInfoOutput) OrganizationalUnitDistinguishedName() pulumi.StringPtrOutput

Distinguished name of the organizational unit for computer accounts.

func (FleetDomainJoinInfoOutput) ToFleetDomainJoinInfoOutput added in v4.22.0

func (o FleetDomainJoinInfoOutput) ToFleetDomainJoinInfoOutput() FleetDomainJoinInfoOutput

func (FleetDomainJoinInfoOutput) ToFleetDomainJoinInfoOutputWithContext added in v4.22.0

func (o FleetDomainJoinInfoOutput) ToFleetDomainJoinInfoOutputWithContext(ctx context.Context) FleetDomainJoinInfoOutput

func (FleetDomainJoinInfoOutput) ToFleetDomainJoinInfoPtrOutput added in v4.22.0

func (o FleetDomainJoinInfoOutput) ToFleetDomainJoinInfoPtrOutput() FleetDomainJoinInfoPtrOutput

func (FleetDomainJoinInfoOutput) ToFleetDomainJoinInfoPtrOutputWithContext added in v4.22.0

func (o FleetDomainJoinInfoOutput) ToFleetDomainJoinInfoPtrOutputWithContext(ctx context.Context) FleetDomainJoinInfoPtrOutput

type FleetDomainJoinInfoPtrInput added in v4.22.0

type FleetDomainJoinInfoPtrInput interface {
	pulumi.Input

	ToFleetDomainJoinInfoPtrOutput() FleetDomainJoinInfoPtrOutput
	ToFleetDomainJoinInfoPtrOutputWithContext(context.Context) FleetDomainJoinInfoPtrOutput
}

FleetDomainJoinInfoPtrInput is an input type that accepts FleetDomainJoinInfoArgs, FleetDomainJoinInfoPtr and FleetDomainJoinInfoPtrOutput values. You can construct a concrete instance of `FleetDomainJoinInfoPtrInput` via:

        FleetDomainJoinInfoArgs{...}

or:

        nil

func FleetDomainJoinInfoPtr added in v4.22.0

func FleetDomainJoinInfoPtr(v *FleetDomainJoinInfoArgs) FleetDomainJoinInfoPtrInput

type FleetDomainJoinInfoPtrOutput added in v4.22.0

type FleetDomainJoinInfoPtrOutput struct{ *pulumi.OutputState }

func (FleetDomainJoinInfoPtrOutput) DirectoryName added in v4.22.0

Fully qualified name of the directory (for example, corp.example.com).

func (FleetDomainJoinInfoPtrOutput) Elem added in v4.22.0

func (FleetDomainJoinInfoPtrOutput) ElementType added in v4.22.0

func (FleetDomainJoinInfoPtrOutput) OrganizationalUnitDistinguishedName added in v4.22.0

func (o FleetDomainJoinInfoPtrOutput) OrganizationalUnitDistinguishedName() pulumi.StringPtrOutput

Distinguished name of the organizational unit for computer accounts.

func (FleetDomainJoinInfoPtrOutput) ToFleetDomainJoinInfoPtrOutput added in v4.22.0

func (o FleetDomainJoinInfoPtrOutput) ToFleetDomainJoinInfoPtrOutput() FleetDomainJoinInfoPtrOutput

func (FleetDomainJoinInfoPtrOutput) ToFleetDomainJoinInfoPtrOutputWithContext added in v4.22.0

func (o FleetDomainJoinInfoPtrOutput) ToFleetDomainJoinInfoPtrOutputWithContext(ctx context.Context) FleetDomainJoinInfoPtrOutput

type FleetInput added in v4.22.0

type FleetInput interface {
	pulumi.Input

	ToFleetOutput() FleetOutput
	ToFleetOutputWithContext(ctx context.Context) FleetOutput
}

type FleetMap added in v4.22.0

type FleetMap map[string]FleetInput

func (FleetMap) ElementType added in v4.22.0

func (FleetMap) ElementType() reflect.Type

func (FleetMap) ToFleetMapOutput added in v4.22.0

func (i FleetMap) ToFleetMapOutput() FleetMapOutput

func (FleetMap) ToFleetMapOutputWithContext added in v4.22.0

func (i FleetMap) ToFleetMapOutputWithContext(ctx context.Context) FleetMapOutput

type FleetMapInput added in v4.22.0

type FleetMapInput interface {
	pulumi.Input

	ToFleetMapOutput() FleetMapOutput
	ToFleetMapOutputWithContext(context.Context) FleetMapOutput
}

FleetMapInput is an input type that accepts FleetMap and FleetMapOutput values. You can construct a concrete instance of `FleetMapInput` via:

FleetMap{ "key": FleetArgs{...} }

type FleetMapOutput added in v4.22.0

type FleetMapOutput struct{ *pulumi.OutputState }

func (FleetMapOutput) ElementType added in v4.22.0

func (FleetMapOutput) ElementType() reflect.Type

func (FleetMapOutput) MapIndex added in v4.22.0

func (FleetMapOutput) ToFleetMapOutput added in v4.22.0

func (o FleetMapOutput) ToFleetMapOutput() FleetMapOutput

func (FleetMapOutput) ToFleetMapOutputWithContext added in v4.22.0

func (o FleetMapOutput) ToFleetMapOutputWithContext(ctx context.Context) FleetMapOutput

type FleetOutput added in v4.22.0

type FleetOutput struct{ *pulumi.OutputState }

func (FleetOutput) ElementType added in v4.22.0

func (FleetOutput) ElementType() reflect.Type

func (FleetOutput) ToFleetOutput added in v4.22.0

func (o FleetOutput) ToFleetOutput() FleetOutput

func (FleetOutput) ToFleetOutputWithContext added in v4.22.0

func (o FleetOutput) ToFleetOutputWithContext(ctx context.Context) FleetOutput

type FleetStackAssociation added in v4.30.0

type FleetStackAssociation struct {
	pulumi.CustomResourceState

	// Name of the fleet.
	FleetName pulumi.StringOutput `pulumi:"fleetName"`
	// Name of the stack.
	StackName pulumi.StringOutput `pulumi:"stackName"`
}

Manages an AppStream Fleet Stack association.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appstream"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleFleet, err := appstream.NewFleet(ctx, "exampleFleet", &appstream.FleetArgs{
			ImageName:    pulumi.String("Amazon-AppStream2-Sample-Image-02-04-2019"),
			InstanceType: pulumi.String("stream.standard.small"),
			ComputeCapacity: &appstream.FleetComputeCapacityArgs{
				DesiredInstances: pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		exampleStack, err := appstream.NewStack(ctx, "exampleStack", nil)
		if err != nil {
			return err
		}
		_, err = appstream.NewFleetStackAssociation(ctx, "exampleFleetStackAssociation", &appstream.FleetStackAssociationArgs{
			FleetName: exampleFleet.Name,
			StackName: exampleStack.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppStream Stack Fleet Association can be imported by using the `fleet_name` and `stack_name` separated by a slash (`/`), e.g.,

```sh

$ pulumi import aws:appstream/fleetStackAssociation:FleetStackAssociation example fleetName/stackName

```

func GetFleetStackAssociation added in v4.30.0

func GetFleetStackAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FleetStackAssociationState, opts ...pulumi.ResourceOption) (*FleetStackAssociation, error)

GetFleetStackAssociation gets an existing FleetStackAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFleetStackAssociation added in v4.30.0

func NewFleetStackAssociation(ctx *pulumi.Context,
	name string, args *FleetStackAssociationArgs, opts ...pulumi.ResourceOption) (*FleetStackAssociation, error)

NewFleetStackAssociation registers a new resource with the given unique name, arguments, and options.

func (*FleetStackAssociation) ElementType added in v4.30.0

func (*FleetStackAssociation) ElementType() reflect.Type

func (*FleetStackAssociation) ToFleetStackAssociationOutput added in v4.30.0

func (i *FleetStackAssociation) ToFleetStackAssociationOutput() FleetStackAssociationOutput

func (*FleetStackAssociation) ToFleetStackAssociationOutputWithContext added in v4.30.0

func (i *FleetStackAssociation) ToFleetStackAssociationOutputWithContext(ctx context.Context) FleetStackAssociationOutput

type FleetStackAssociationArgs added in v4.30.0

type FleetStackAssociationArgs struct {
	// Name of the fleet.
	FleetName pulumi.StringInput
	// Name of the stack.
	StackName pulumi.StringInput
}

The set of arguments for constructing a FleetStackAssociation resource.

func (FleetStackAssociationArgs) ElementType added in v4.30.0

func (FleetStackAssociationArgs) ElementType() reflect.Type

type FleetStackAssociationArray added in v4.30.0

type FleetStackAssociationArray []FleetStackAssociationInput

func (FleetStackAssociationArray) ElementType added in v4.30.0

func (FleetStackAssociationArray) ElementType() reflect.Type

func (FleetStackAssociationArray) ToFleetStackAssociationArrayOutput added in v4.30.0

func (i FleetStackAssociationArray) ToFleetStackAssociationArrayOutput() FleetStackAssociationArrayOutput

func (FleetStackAssociationArray) ToFleetStackAssociationArrayOutputWithContext added in v4.30.0

func (i FleetStackAssociationArray) ToFleetStackAssociationArrayOutputWithContext(ctx context.Context) FleetStackAssociationArrayOutput

type FleetStackAssociationArrayInput added in v4.30.0

type FleetStackAssociationArrayInput interface {
	pulumi.Input

	ToFleetStackAssociationArrayOutput() FleetStackAssociationArrayOutput
	ToFleetStackAssociationArrayOutputWithContext(context.Context) FleetStackAssociationArrayOutput
}

FleetStackAssociationArrayInput is an input type that accepts FleetStackAssociationArray and FleetStackAssociationArrayOutput values. You can construct a concrete instance of `FleetStackAssociationArrayInput` via:

FleetStackAssociationArray{ FleetStackAssociationArgs{...} }

type FleetStackAssociationArrayOutput added in v4.30.0

type FleetStackAssociationArrayOutput struct{ *pulumi.OutputState }

func (FleetStackAssociationArrayOutput) ElementType added in v4.30.0

func (FleetStackAssociationArrayOutput) Index added in v4.30.0

func (FleetStackAssociationArrayOutput) ToFleetStackAssociationArrayOutput added in v4.30.0

func (o FleetStackAssociationArrayOutput) ToFleetStackAssociationArrayOutput() FleetStackAssociationArrayOutput

func (FleetStackAssociationArrayOutput) ToFleetStackAssociationArrayOutputWithContext added in v4.30.0

func (o FleetStackAssociationArrayOutput) ToFleetStackAssociationArrayOutputWithContext(ctx context.Context) FleetStackAssociationArrayOutput

type FleetStackAssociationInput added in v4.30.0

type FleetStackAssociationInput interface {
	pulumi.Input

	ToFleetStackAssociationOutput() FleetStackAssociationOutput
	ToFleetStackAssociationOutputWithContext(ctx context.Context) FleetStackAssociationOutput
}

type FleetStackAssociationMap added in v4.30.0

type FleetStackAssociationMap map[string]FleetStackAssociationInput

func (FleetStackAssociationMap) ElementType added in v4.30.0

func (FleetStackAssociationMap) ElementType() reflect.Type

func (FleetStackAssociationMap) ToFleetStackAssociationMapOutput added in v4.30.0

func (i FleetStackAssociationMap) ToFleetStackAssociationMapOutput() FleetStackAssociationMapOutput

func (FleetStackAssociationMap) ToFleetStackAssociationMapOutputWithContext added in v4.30.0

func (i FleetStackAssociationMap) ToFleetStackAssociationMapOutputWithContext(ctx context.Context) FleetStackAssociationMapOutput

type FleetStackAssociationMapInput added in v4.30.0

type FleetStackAssociationMapInput interface {
	pulumi.Input

	ToFleetStackAssociationMapOutput() FleetStackAssociationMapOutput
	ToFleetStackAssociationMapOutputWithContext(context.Context) FleetStackAssociationMapOutput
}

FleetStackAssociationMapInput is an input type that accepts FleetStackAssociationMap and FleetStackAssociationMapOutput values. You can construct a concrete instance of `FleetStackAssociationMapInput` via:

FleetStackAssociationMap{ "key": FleetStackAssociationArgs{...} }

type FleetStackAssociationMapOutput added in v4.30.0

type FleetStackAssociationMapOutput struct{ *pulumi.OutputState }

func (FleetStackAssociationMapOutput) ElementType added in v4.30.0

func (FleetStackAssociationMapOutput) MapIndex added in v4.30.0

func (FleetStackAssociationMapOutput) ToFleetStackAssociationMapOutput added in v4.30.0

func (o FleetStackAssociationMapOutput) ToFleetStackAssociationMapOutput() FleetStackAssociationMapOutput

func (FleetStackAssociationMapOutput) ToFleetStackAssociationMapOutputWithContext added in v4.30.0

func (o FleetStackAssociationMapOutput) ToFleetStackAssociationMapOutputWithContext(ctx context.Context) FleetStackAssociationMapOutput

type FleetStackAssociationOutput added in v4.30.0

type FleetStackAssociationOutput struct{ *pulumi.OutputState }

func (FleetStackAssociationOutput) ElementType added in v4.30.0

func (FleetStackAssociationOutput) ToFleetStackAssociationOutput added in v4.30.0

func (o FleetStackAssociationOutput) ToFleetStackAssociationOutput() FleetStackAssociationOutput

func (FleetStackAssociationOutput) ToFleetStackAssociationOutputWithContext added in v4.30.0

func (o FleetStackAssociationOutput) ToFleetStackAssociationOutputWithContext(ctx context.Context) FleetStackAssociationOutput

type FleetStackAssociationState added in v4.30.0

type FleetStackAssociationState struct {
	// Name of the fleet.
	FleetName pulumi.StringPtrInput
	// Name of the stack.
	StackName pulumi.StringPtrInput
}

func (FleetStackAssociationState) ElementType added in v4.30.0

func (FleetStackAssociationState) ElementType() reflect.Type

type FleetState added in v4.22.0

type FleetState struct {
	// ARN of the appstream fleet.
	Arn pulumi.StringPtrInput
	// Configuration block for the desired capacity of the fleet. See below.
	ComputeCapacity FleetComputeCapacityPtrInput
	// Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
	CreatedTime pulumi.StringPtrInput
	// Description to display.
	Description pulumi.StringPtrInput
	// Amount of time that a streaming session remains active after users disconnect.
	DisconnectTimeoutInSeconds pulumi.IntPtrInput
	// Human-readable friendly name for the AppStream fleet.
	DisplayName pulumi.StringPtrInput
	// Configuration block for the name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. See below.
	DomainJoinInfo FleetDomainJoinInfoPtrInput
	// Enables or disables default internet access for the fleet.
	EnableDefaultInternetAccess pulumi.BoolPtrInput
	// Fleet type. Valid values are: `ON_DEMAND`, `ALWAYS_ON`
	FleetType pulumi.StringPtrInput
	// ARN of the IAM role to apply to the fleet.
	IamRoleArn pulumi.StringPtrInput
	// Amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the `disconnectTimeoutInSeconds` time interval begins.
	IdleDisconnectTimeoutInSeconds pulumi.IntPtrInput
	// ARN of the public, private, or shared image to use.
	ImageArn pulumi.StringPtrInput
	// Name of the image used to create the fleet.
	ImageName pulumi.StringPtrInput
	// Instance type to use when launching fleet instances.
	InstanceType pulumi.StringPtrInput
	// Maximum amount of time that a streaming session can remain active, in seconds.
	MaxUserDurationInSeconds pulumi.IntPtrInput
	// Unique name for the fleet.
	Name pulumi.StringPtrInput
	// State of the fleet. Can be `STARTING`, `RUNNING`, `STOPPING` or `STOPPED`
	State pulumi.StringPtrInput
	// AppStream 2.0 view that is displayed to your users when they stream from the fleet. When `APP` is specified, only the windows of applications opened by users display. When `DESKTOP` is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults to `APP`.
	StreamView pulumi.StringPtrInput
	// Map of tags to attach to AppStream instances.
	Tags    pulumi.StringMapInput
	TagsAll pulumi.StringMapInput
	// Configuration block for the VPC configuration for the image builder. See below.
	VpcConfig FleetVpcConfigPtrInput
}

func (FleetState) ElementType added in v4.22.0

func (FleetState) ElementType() reflect.Type

type FleetVpcConfig added in v4.22.0

type FleetVpcConfig struct {
	// Identifiers of the security groups for the fleet or image builder.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
	SubnetIds []string `pulumi:"subnetIds"`
}

type FleetVpcConfigArgs added in v4.22.0

type FleetVpcConfigArgs struct {
	// Identifiers of the security groups for the fleet or image builder.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
	SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"`
}

func (FleetVpcConfigArgs) ElementType added in v4.22.0

func (FleetVpcConfigArgs) ElementType() reflect.Type

func (FleetVpcConfigArgs) ToFleetVpcConfigOutput added in v4.22.0

func (i FleetVpcConfigArgs) ToFleetVpcConfigOutput() FleetVpcConfigOutput

func (FleetVpcConfigArgs) ToFleetVpcConfigOutputWithContext added in v4.22.0

func (i FleetVpcConfigArgs) ToFleetVpcConfigOutputWithContext(ctx context.Context) FleetVpcConfigOutput

func (FleetVpcConfigArgs) ToFleetVpcConfigPtrOutput added in v4.22.0

func (i FleetVpcConfigArgs) ToFleetVpcConfigPtrOutput() FleetVpcConfigPtrOutput

func (FleetVpcConfigArgs) ToFleetVpcConfigPtrOutputWithContext added in v4.22.0

func (i FleetVpcConfigArgs) ToFleetVpcConfigPtrOutputWithContext(ctx context.Context) FleetVpcConfigPtrOutput

type FleetVpcConfigInput added in v4.22.0

type FleetVpcConfigInput interface {
	pulumi.Input

	ToFleetVpcConfigOutput() FleetVpcConfigOutput
	ToFleetVpcConfigOutputWithContext(context.Context) FleetVpcConfigOutput
}

FleetVpcConfigInput is an input type that accepts FleetVpcConfigArgs and FleetVpcConfigOutput values. You can construct a concrete instance of `FleetVpcConfigInput` via:

FleetVpcConfigArgs{...}

type FleetVpcConfigOutput added in v4.22.0

type FleetVpcConfigOutput struct{ *pulumi.OutputState }

func (FleetVpcConfigOutput) ElementType added in v4.22.0

func (FleetVpcConfigOutput) ElementType() reflect.Type

func (FleetVpcConfigOutput) SecurityGroupIds added in v4.22.0

func (o FleetVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput

Identifiers of the security groups for the fleet or image builder.

func (FleetVpcConfigOutput) SubnetIds added in v4.22.0

Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.

func (FleetVpcConfigOutput) ToFleetVpcConfigOutput added in v4.22.0

func (o FleetVpcConfigOutput) ToFleetVpcConfigOutput() FleetVpcConfigOutput

func (FleetVpcConfigOutput) ToFleetVpcConfigOutputWithContext added in v4.22.0

func (o FleetVpcConfigOutput) ToFleetVpcConfigOutputWithContext(ctx context.Context) FleetVpcConfigOutput

func (FleetVpcConfigOutput) ToFleetVpcConfigPtrOutput added in v4.22.0

func (o FleetVpcConfigOutput) ToFleetVpcConfigPtrOutput() FleetVpcConfigPtrOutput

func (FleetVpcConfigOutput) ToFleetVpcConfigPtrOutputWithContext added in v4.22.0

func (o FleetVpcConfigOutput) ToFleetVpcConfigPtrOutputWithContext(ctx context.Context) FleetVpcConfigPtrOutput

type FleetVpcConfigPtrInput added in v4.22.0

type FleetVpcConfigPtrInput interface {
	pulumi.Input

	ToFleetVpcConfigPtrOutput() FleetVpcConfigPtrOutput
	ToFleetVpcConfigPtrOutputWithContext(context.Context) FleetVpcConfigPtrOutput
}

FleetVpcConfigPtrInput is an input type that accepts FleetVpcConfigArgs, FleetVpcConfigPtr and FleetVpcConfigPtrOutput values. You can construct a concrete instance of `FleetVpcConfigPtrInput` via:

        FleetVpcConfigArgs{...}

or:

        nil

func FleetVpcConfigPtr added in v4.22.0

func FleetVpcConfigPtr(v *FleetVpcConfigArgs) FleetVpcConfigPtrInput

type FleetVpcConfigPtrOutput added in v4.22.0

type FleetVpcConfigPtrOutput struct{ *pulumi.OutputState }

func (FleetVpcConfigPtrOutput) Elem added in v4.22.0

func (FleetVpcConfigPtrOutput) ElementType added in v4.22.0

func (FleetVpcConfigPtrOutput) ElementType() reflect.Type

func (FleetVpcConfigPtrOutput) SecurityGroupIds added in v4.22.0

func (o FleetVpcConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput

Identifiers of the security groups for the fleet or image builder.

func (FleetVpcConfigPtrOutput) SubnetIds added in v4.22.0

Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.

func (FleetVpcConfigPtrOutput) ToFleetVpcConfigPtrOutput added in v4.22.0

func (o FleetVpcConfigPtrOutput) ToFleetVpcConfigPtrOutput() FleetVpcConfigPtrOutput

func (FleetVpcConfigPtrOutput) ToFleetVpcConfigPtrOutputWithContext added in v4.22.0

func (o FleetVpcConfigPtrOutput) ToFleetVpcConfigPtrOutputWithContext(ctx context.Context) FleetVpcConfigPtrOutput

type ImageBuilder added in v4.23.0

type ImageBuilder struct {
	pulumi.CustomResourceState

	// Set of interface VPC endpoint (interface endpoint) objects. Maximum of 4. See below.
	AccessEndpoints ImageBuilderAccessEndpointArrayOutput `pulumi:"accessEndpoints"`
	// The version of the AppStream 2.0 agent to use for this image builder.
	AppstreamAgentVersion pulumi.StringOutput `pulumi:"appstreamAgentVersion"`
	// ARN of the appstream image builder.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Date and time, in UTC and extended RFC 3339 format, when the image builder was created.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// Description to display.
	Description pulumi.StringOutput `pulumi:"description"`
	// Human-readable friendly name for the AppStream image builder.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Configuration block for the name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain. See below.
	DomainJoinInfo ImageBuilderDomainJoinInfoOutput `pulumi:"domainJoinInfo"`
	// Enables or disables default internet access for the image builder.
	EnableDefaultInternetAccess pulumi.BoolOutput `pulumi:"enableDefaultInternetAccess"`
	// ARN of the IAM role to apply to the image builder.
	IamRoleArn pulumi.StringOutput `pulumi:"iamRoleArn"`
	// ARN of the public, private, or shared image to use.
	ImageArn pulumi.StringOutput `pulumi:"imageArn"`
	// Name of the image used to create the image builder.
	ImageName pulumi.StringOutput `pulumi:"imageName"`
	// The instance type to use when launching the image builder.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// Unique name for the image builder.
	Name pulumi.StringOutput `pulumi:"name"`
	// State of the image builder. Can be: `PENDING`, `UPDATING_AGENT`, `RUNNING`, `STOPPING`, `STOPPED`, `REBOOTING`, `SNAPSHOTTING`, `DELETING`, `FAILED`, `UPDATING`, `PENDING_QUALIFICATION`
	State pulumi.StringOutput `pulumi:"state"`
	// A map of tags to assign to the instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Configuration block for the VPC configuration for the image builder. See below.
	VpcConfig ImageBuilderVpcConfigOutput `pulumi:"vpcConfig"`
}

Provides an AppStream image builder.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appstream"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appstream.NewImageBuilder(ctx, "testFleet", &appstream.ImageBuilderArgs{
			Description:                 pulumi.String("Description of a ImageBuilder"),
			DisplayName:                 pulumi.String("Display name of a ImageBuilder"),
			EnableDefaultInternetAccess: pulumi.Bool(false),
			ImageName:                   pulumi.String("AppStream-WinServer2012R2-07-19-2021"),
			InstanceType:                pulumi.String("stream.standard.large"),
			VpcConfig: &appstream.ImageBuilderVpcConfigArgs{
				SubnetIds: pulumi.StringArray{
					pulumi.Any(aws_subnet.Example.Id),
				},
			},
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Example Image Builder"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_appstream_image_builder` can be imported using the `name`, e.g.,

```sh

$ pulumi import aws:appstream/imageBuilder:ImageBuilder example imageBuilderExample

```

func GetImageBuilder added in v4.23.0

func GetImageBuilder(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ImageBuilderState, opts ...pulumi.ResourceOption) (*ImageBuilder, error)

GetImageBuilder gets an existing ImageBuilder resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewImageBuilder added in v4.23.0

func NewImageBuilder(ctx *pulumi.Context,
	name string, args *ImageBuilderArgs, opts ...pulumi.ResourceOption) (*ImageBuilder, error)

NewImageBuilder registers a new resource with the given unique name, arguments, and options.

func (*ImageBuilder) ElementType added in v4.23.0

func (*ImageBuilder) ElementType() reflect.Type

func (*ImageBuilder) ToImageBuilderOutput added in v4.23.0

func (i *ImageBuilder) ToImageBuilderOutput() ImageBuilderOutput

func (*ImageBuilder) ToImageBuilderOutputWithContext added in v4.23.0

func (i *ImageBuilder) ToImageBuilderOutputWithContext(ctx context.Context) ImageBuilderOutput

type ImageBuilderAccessEndpoint added in v4.23.0

type ImageBuilderAccessEndpoint struct {
	// Type of interface endpoint.
	EndpointType string `pulumi:"endpointType"`
	// Identifier (ID) of the VPC in which the interface endpoint is used.
	VpceId *string `pulumi:"vpceId"`
}

type ImageBuilderAccessEndpointArgs added in v4.23.0

type ImageBuilderAccessEndpointArgs struct {
	// Type of interface endpoint.
	EndpointType pulumi.StringInput `pulumi:"endpointType"`
	// Identifier (ID) of the VPC in which the interface endpoint is used.
	VpceId pulumi.StringPtrInput `pulumi:"vpceId"`
}

func (ImageBuilderAccessEndpointArgs) ElementType added in v4.23.0

func (ImageBuilderAccessEndpointArgs) ToImageBuilderAccessEndpointOutput added in v4.23.0

func (i ImageBuilderAccessEndpointArgs) ToImageBuilderAccessEndpointOutput() ImageBuilderAccessEndpointOutput

func (ImageBuilderAccessEndpointArgs) ToImageBuilderAccessEndpointOutputWithContext added in v4.23.0

func (i ImageBuilderAccessEndpointArgs) ToImageBuilderAccessEndpointOutputWithContext(ctx context.Context) ImageBuilderAccessEndpointOutput

type ImageBuilderAccessEndpointArray added in v4.23.0

type ImageBuilderAccessEndpointArray []ImageBuilderAccessEndpointInput

func (ImageBuilderAccessEndpointArray) ElementType added in v4.23.0

func (ImageBuilderAccessEndpointArray) ToImageBuilderAccessEndpointArrayOutput added in v4.23.0

func (i ImageBuilderAccessEndpointArray) ToImageBuilderAccessEndpointArrayOutput() ImageBuilderAccessEndpointArrayOutput

func (ImageBuilderAccessEndpointArray) ToImageBuilderAccessEndpointArrayOutputWithContext added in v4.23.0

func (i ImageBuilderAccessEndpointArray) ToImageBuilderAccessEndpointArrayOutputWithContext(ctx context.Context) ImageBuilderAccessEndpointArrayOutput

type ImageBuilderAccessEndpointArrayInput added in v4.23.0

type ImageBuilderAccessEndpointArrayInput interface {
	pulumi.Input

	ToImageBuilderAccessEndpointArrayOutput() ImageBuilderAccessEndpointArrayOutput
	ToImageBuilderAccessEndpointArrayOutputWithContext(context.Context) ImageBuilderAccessEndpointArrayOutput
}

ImageBuilderAccessEndpointArrayInput is an input type that accepts ImageBuilderAccessEndpointArray and ImageBuilderAccessEndpointArrayOutput values. You can construct a concrete instance of `ImageBuilderAccessEndpointArrayInput` via:

ImageBuilderAccessEndpointArray{ ImageBuilderAccessEndpointArgs{...} }

type ImageBuilderAccessEndpointArrayOutput added in v4.23.0

type ImageBuilderAccessEndpointArrayOutput struct{ *pulumi.OutputState }

func (ImageBuilderAccessEndpointArrayOutput) ElementType added in v4.23.0

func (ImageBuilderAccessEndpointArrayOutput) Index added in v4.23.0

func (ImageBuilderAccessEndpointArrayOutput) ToImageBuilderAccessEndpointArrayOutput added in v4.23.0

func (o ImageBuilderAccessEndpointArrayOutput) ToImageBuilderAccessEndpointArrayOutput() ImageBuilderAccessEndpointArrayOutput

func (ImageBuilderAccessEndpointArrayOutput) ToImageBuilderAccessEndpointArrayOutputWithContext added in v4.23.0

func (o ImageBuilderAccessEndpointArrayOutput) ToImageBuilderAccessEndpointArrayOutputWithContext(ctx context.Context) ImageBuilderAccessEndpointArrayOutput

type ImageBuilderAccessEndpointInput added in v4.23.0

type ImageBuilderAccessEndpointInput interface {
	pulumi.Input

	ToImageBuilderAccessEndpointOutput() ImageBuilderAccessEndpointOutput
	ToImageBuilderAccessEndpointOutputWithContext(context.Context) ImageBuilderAccessEndpointOutput
}

ImageBuilderAccessEndpointInput is an input type that accepts ImageBuilderAccessEndpointArgs and ImageBuilderAccessEndpointOutput values. You can construct a concrete instance of `ImageBuilderAccessEndpointInput` via:

ImageBuilderAccessEndpointArgs{...}

type ImageBuilderAccessEndpointOutput added in v4.23.0

type ImageBuilderAccessEndpointOutput struct{ *pulumi.OutputState }

func (ImageBuilderAccessEndpointOutput) ElementType added in v4.23.0

func (ImageBuilderAccessEndpointOutput) EndpointType added in v4.23.0

Type of interface endpoint.

func (ImageBuilderAccessEndpointOutput) ToImageBuilderAccessEndpointOutput added in v4.23.0

func (o ImageBuilderAccessEndpointOutput) ToImageBuilderAccessEndpointOutput() ImageBuilderAccessEndpointOutput

func (ImageBuilderAccessEndpointOutput) ToImageBuilderAccessEndpointOutputWithContext added in v4.23.0

func (o ImageBuilderAccessEndpointOutput) ToImageBuilderAccessEndpointOutputWithContext(ctx context.Context) ImageBuilderAccessEndpointOutput

func (ImageBuilderAccessEndpointOutput) VpceId added in v4.23.0

Identifier (ID) of the VPC in which the interface endpoint is used.

type ImageBuilderArgs added in v4.23.0

type ImageBuilderArgs struct {
	// Set of interface VPC endpoint (interface endpoint) objects. Maximum of 4. See below.
	AccessEndpoints ImageBuilderAccessEndpointArrayInput
	// The version of the AppStream 2.0 agent to use for this image builder.
	AppstreamAgentVersion pulumi.StringPtrInput
	// Description to display.
	Description pulumi.StringPtrInput
	// Human-readable friendly name for the AppStream image builder.
	DisplayName pulumi.StringPtrInput
	// Configuration block for the name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain. See below.
	DomainJoinInfo ImageBuilderDomainJoinInfoPtrInput
	// Enables or disables default internet access for the image builder.
	EnableDefaultInternetAccess pulumi.BoolPtrInput
	// ARN of the IAM role to apply to the image builder.
	IamRoleArn pulumi.StringPtrInput
	// ARN of the public, private, or shared image to use.
	ImageArn pulumi.StringPtrInput
	// Name of the image used to create the image builder.
	ImageName pulumi.StringPtrInput
	// The instance type to use when launching the image builder.
	InstanceType pulumi.StringInput
	// Unique name for the image builder.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Configuration block for the VPC configuration for the image builder. See below.
	VpcConfig ImageBuilderVpcConfigPtrInput
}

The set of arguments for constructing a ImageBuilder resource.

func (ImageBuilderArgs) ElementType added in v4.23.0

func (ImageBuilderArgs) ElementType() reflect.Type

type ImageBuilderArray added in v4.23.0

type ImageBuilderArray []ImageBuilderInput

func (ImageBuilderArray) ElementType added in v4.23.0

func (ImageBuilderArray) ElementType() reflect.Type

func (ImageBuilderArray) ToImageBuilderArrayOutput added in v4.23.0

func (i ImageBuilderArray) ToImageBuilderArrayOutput() ImageBuilderArrayOutput

func (ImageBuilderArray) ToImageBuilderArrayOutputWithContext added in v4.23.0

func (i ImageBuilderArray) ToImageBuilderArrayOutputWithContext(ctx context.Context) ImageBuilderArrayOutput

type ImageBuilderArrayInput added in v4.23.0

type ImageBuilderArrayInput interface {
	pulumi.Input

	ToImageBuilderArrayOutput() ImageBuilderArrayOutput
	ToImageBuilderArrayOutputWithContext(context.Context) ImageBuilderArrayOutput
}

ImageBuilderArrayInput is an input type that accepts ImageBuilderArray and ImageBuilderArrayOutput values. You can construct a concrete instance of `ImageBuilderArrayInput` via:

ImageBuilderArray{ ImageBuilderArgs{...} }

type ImageBuilderArrayOutput added in v4.23.0

type ImageBuilderArrayOutput struct{ *pulumi.OutputState }

func (ImageBuilderArrayOutput) ElementType added in v4.23.0

func (ImageBuilderArrayOutput) ElementType() reflect.Type

func (ImageBuilderArrayOutput) Index added in v4.23.0

func (ImageBuilderArrayOutput) ToImageBuilderArrayOutput added in v4.23.0

func (o ImageBuilderArrayOutput) ToImageBuilderArrayOutput() ImageBuilderArrayOutput

func (ImageBuilderArrayOutput) ToImageBuilderArrayOutputWithContext added in v4.23.0

func (o ImageBuilderArrayOutput) ToImageBuilderArrayOutputWithContext(ctx context.Context) ImageBuilderArrayOutput

type ImageBuilderDomainJoinInfo added in v4.23.0

type ImageBuilderDomainJoinInfo struct {
	// Fully qualified name of the directory (for example, corp.example.com).
	DirectoryName *string `pulumi:"directoryName"`
	// Distinguished name of the organizational unit for computer accounts.
	OrganizationalUnitDistinguishedName *string `pulumi:"organizationalUnitDistinguishedName"`
}

type ImageBuilderDomainJoinInfoArgs added in v4.23.0

type ImageBuilderDomainJoinInfoArgs struct {
	// Fully qualified name of the directory (for example, corp.example.com).
	DirectoryName pulumi.StringPtrInput `pulumi:"directoryName"`
	// Distinguished name of the organizational unit for computer accounts.
	OrganizationalUnitDistinguishedName pulumi.StringPtrInput `pulumi:"organizationalUnitDistinguishedName"`
}

func (ImageBuilderDomainJoinInfoArgs) ElementType added in v4.23.0

func (ImageBuilderDomainJoinInfoArgs) ToImageBuilderDomainJoinInfoOutput added in v4.23.0

func (i ImageBuilderDomainJoinInfoArgs) ToImageBuilderDomainJoinInfoOutput() ImageBuilderDomainJoinInfoOutput

func (ImageBuilderDomainJoinInfoArgs) ToImageBuilderDomainJoinInfoOutputWithContext added in v4.23.0

func (i ImageBuilderDomainJoinInfoArgs) ToImageBuilderDomainJoinInfoOutputWithContext(ctx context.Context) ImageBuilderDomainJoinInfoOutput

func (ImageBuilderDomainJoinInfoArgs) ToImageBuilderDomainJoinInfoPtrOutput added in v4.23.0

func (i ImageBuilderDomainJoinInfoArgs) ToImageBuilderDomainJoinInfoPtrOutput() ImageBuilderDomainJoinInfoPtrOutput

func (ImageBuilderDomainJoinInfoArgs) ToImageBuilderDomainJoinInfoPtrOutputWithContext added in v4.23.0

func (i ImageBuilderDomainJoinInfoArgs) ToImageBuilderDomainJoinInfoPtrOutputWithContext(ctx context.Context) ImageBuilderDomainJoinInfoPtrOutput

type ImageBuilderDomainJoinInfoInput added in v4.23.0

type ImageBuilderDomainJoinInfoInput interface {
	pulumi.Input

	ToImageBuilderDomainJoinInfoOutput() ImageBuilderDomainJoinInfoOutput
	ToImageBuilderDomainJoinInfoOutputWithContext(context.Context) ImageBuilderDomainJoinInfoOutput
}

ImageBuilderDomainJoinInfoInput is an input type that accepts ImageBuilderDomainJoinInfoArgs and ImageBuilderDomainJoinInfoOutput values. You can construct a concrete instance of `ImageBuilderDomainJoinInfoInput` via:

ImageBuilderDomainJoinInfoArgs{...}

type ImageBuilderDomainJoinInfoOutput added in v4.23.0

type ImageBuilderDomainJoinInfoOutput struct{ *pulumi.OutputState }

func (ImageBuilderDomainJoinInfoOutput) DirectoryName added in v4.23.0

Fully qualified name of the directory (for example, corp.example.com).

func (ImageBuilderDomainJoinInfoOutput) ElementType added in v4.23.0

func (ImageBuilderDomainJoinInfoOutput) OrganizationalUnitDistinguishedName added in v4.23.0

func (o ImageBuilderDomainJoinInfoOutput) OrganizationalUnitDistinguishedName() pulumi.StringPtrOutput

Distinguished name of the organizational unit for computer accounts.

func (ImageBuilderDomainJoinInfoOutput) ToImageBuilderDomainJoinInfoOutput added in v4.23.0

func (o ImageBuilderDomainJoinInfoOutput) ToImageBuilderDomainJoinInfoOutput() ImageBuilderDomainJoinInfoOutput

func (ImageBuilderDomainJoinInfoOutput) ToImageBuilderDomainJoinInfoOutputWithContext added in v4.23.0

func (o ImageBuilderDomainJoinInfoOutput) ToImageBuilderDomainJoinInfoOutputWithContext(ctx context.Context) ImageBuilderDomainJoinInfoOutput

func (ImageBuilderDomainJoinInfoOutput) ToImageBuilderDomainJoinInfoPtrOutput added in v4.23.0

func (o ImageBuilderDomainJoinInfoOutput) ToImageBuilderDomainJoinInfoPtrOutput() ImageBuilderDomainJoinInfoPtrOutput

func (ImageBuilderDomainJoinInfoOutput) ToImageBuilderDomainJoinInfoPtrOutputWithContext added in v4.23.0

func (o ImageBuilderDomainJoinInfoOutput) ToImageBuilderDomainJoinInfoPtrOutputWithContext(ctx context.Context) ImageBuilderDomainJoinInfoPtrOutput

type ImageBuilderDomainJoinInfoPtrInput added in v4.23.0

type ImageBuilderDomainJoinInfoPtrInput interface {
	pulumi.Input

	ToImageBuilderDomainJoinInfoPtrOutput() ImageBuilderDomainJoinInfoPtrOutput
	ToImageBuilderDomainJoinInfoPtrOutputWithContext(context.Context) ImageBuilderDomainJoinInfoPtrOutput
}

ImageBuilderDomainJoinInfoPtrInput is an input type that accepts ImageBuilderDomainJoinInfoArgs, ImageBuilderDomainJoinInfoPtr and ImageBuilderDomainJoinInfoPtrOutput values. You can construct a concrete instance of `ImageBuilderDomainJoinInfoPtrInput` via:

        ImageBuilderDomainJoinInfoArgs{...}

or:

        nil

func ImageBuilderDomainJoinInfoPtr added in v4.23.0

type ImageBuilderDomainJoinInfoPtrOutput added in v4.23.0

type ImageBuilderDomainJoinInfoPtrOutput struct{ *pulumi.OutputState }

func (ImageBuilderDomainJoinInfoPtrOutput) DirectoryName added in v4.23.0

Fully qualified name of the directory (for example, corp.example.com).

func (ImageBuilderDomainJoinInfoPtrOutput) Elem added in v4.23.0

func (ImageBuilderDomainJoinInfoPtrOutput) ElementType added in v4.23.0

func (ImageBuilderDomainJoinInfoPtrOutput) OrganizationalUnitDistinguishedName added in v4.23.0

func (o ImageBuilderDomainJoinInfoPtrOutput) OrganizationalUnitDistinguishedName() pulumi.StringPtrOutput

Distinguished name of the organizational unit for computer accounts.

func (ImageBuilderDomainJoinInfoPtrOutput) ToImageBuilderDomainJoinInfoPtrOutput added in v4.23.0

func (o ImageBuilderDomainJoinInfoPtrOutput) ToImageBuilderDomainJoinInfoPtrOutput() ImageBuilderDomainJoinInfoPtrOutput

func (ImageBuilderDomainJoinInfoPtrOutput) ToImageBuilderDomainJoinInfoPtrOutputWithContext added in v4.23.0

func (o ImageBuilderDomainJoinInfoPtrOutput) ToImageBuilderDomainJoinInfoPtrOutputWithContext(ctx context.Context) ImageBuilderDomainJoinInfoPtrOutput

type ImageBuilderInput added in v4.23.0

type ImageBuilderInput interface {
	pulumi.Input

	ToImageBuilderOutput() ImageBuilderOutput
	ToImageBuilderOutputWithContext(ctx context.Context) ImageBuilderOutput
}

type ImageBuilderMap added in v4.23.0

type ImageBuilderMap map[string]ImageBuilderInput

func (ImageBuilderMap) ElementType added in v4.23.0

func (ImageBuilderMap) ElementType() reflect.Type

func (ImageBuilderMap) ToImageBuilderMapOutput added in v4.23.0

func (i ImageBuilderMap) ToImageBuilderMapOutput() ImageBuilderMapOutput

func (ImageBuilderMap) ToImageBuilderMapOutputWithContext added in v4.23.0

func (i ImageBuilderMap) ToImageBuilderMapOutputWithContext(ctx context.Context) ImageBuilderMapOutput

type ImageBuilderMapInput added in v4.23.0

type ImageBuilderMapInput interface {
	pulumi.Input

	ToImageBuilderMapOutput() ImageBuilderMapOutput
	ToImageBuilderMapOutputWithContext(context.Context) ImageBuilderMapOutput
}

ImageBuilderMapInput is an input type that accepts ImageBuilderMap and ImageBuilderMapOutput values. You can construct a concrete instance of `ImageBuilderMapInput` via:

ImageBuilderMap{ "key": ImageBuilderArgs{...} }

type ImageBuilderMapOutput added in v4.23.0

type ImageBuilderMapOutput struct{ *pulumi.OutputState }

func (ImageBuilderMapOutput) ElementType added in v4.23.0

func (ImageBuilderMapOutput) ElementType() reflect.Type

func (ImageBuilderMapOutput) MapIndex added in v4.23.0

func (ImageBuilderMapOutput) ToImageBuilderMapOutput added in v4.23.0

func (o ImageBuilderMapOutput) ToImageBuilderMapOutput() ImageBuilderMapOutput

func (ImageBuilderMapOutput) ToImageBuilderMapOutputWithContext added in v4.23.0

func (o ImageBuilderMapOutput) ToImageBuilderMapOutputWithContext(ctx context.Context) ImageBuilderMapOutput

type ImageBuilderOutput added in v4.23.0

type ImageBuilderOutput struct{ *pulumi.OutputState }

func (ImageBuilderOutput) ElementType added in v4.23.0

func (ImageBuilderOutput) ElementType() reflect.Type

func (ImageBuilderOutput) ToImageBuilderOutput added in v4.23.0

func (o ImageBuilderOutput) ToImageBuilderOutput() ImageBuilderOutput

func (ImageBuilderOutput) ToImageBuilderOutputWithContext added in v4.23.0

func (o ImageBuilderOutput) ToImageBuilderOutputWithContext(ctx context.Context) ImageBuilderOutput

type ImageBuilderState added in v4.23.0

type ImageBuilderState struct {
	// Set of interface VPC endpoint (interface endpoint) objects. Maximum of 4. See below.
	AccessEndpoints ImageBuilderAccessEndpointArrayInput
	// The version of the AppStream 2.0 agent to use for this image builder.
	AppstreamAgentVersion pulumi.StringPtrInput
	// ARN of the appstream image builder.
	Arn pulumi.StringPtrInput
	// Date and time, in UTC and extended RFC 3339 format, when the image builder was created.
	CreatedTime pulumi.StringPtrInput
	// Description to display.
	Description pulumi.StringPtrInput
	// Human-readable friendly name for the AppStream image builder.
	DisplayName pulumi.StringPtrInput
	// Configuration block for the name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain. See below.
	DomainJoinInfo ImageBuilderDomainJoinInfoPtrInput
	// Enables or disables default internet access for the image builder.
	EnableDefaultInternetAccess pulumi.BoolPtrInput
	// ARN of the IAM role to apply to the image builder.
	IamRoleArn pulumi.StringPtrInput
	// ARN of the public, private, or shared image to use.
	ImageArn pulumi.StringPtrInput
	// Name of the image used to create the image builder.
	ImageName pulumi.StringPtrInput
	// The instance type to use when launching the image builder.
	InstanceType pulumi.StringPtrInput
	// Unique name for the image builder.
	Name pulumi.StringPtrInput
	// State of the image builder. Can be: `PENDING`, `UPDATING_AGENT`, `RUNNING`, `STOPPING`, `STOPPED`, `REBOOTING`, `SNAPSHOTTING`, `DELETING`, `FAILED`, `UPDATING`, `PENDING_QUALIFICATION`
	State pulumi.StringPtrInput
	// A map of tags to assign to the instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// Configuration block for the VPC configuration for the image builder. See below.
	VpcConfig ImageBuilderVpcConfigPtrInput
}

func (ImageBuilderState) ElementType added in v4.23.0

func (ImageBuilderState) ElementType() reflect.Type

type ImageBuilderVpcConfig added in v4.23.0

type ImageBuilderVpcConfig struct {
	// Identifiers of the security groups for the image builder or image builder.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// Identifiers of the subnets to which a network interface is attached from the image builder instance or image builder instance.
	SubnetIds []string `pulumi:"subnetIds"`
}

type ImageBuilderVpcConfigArgs added in v4.23.0

type ImageBuilderVpcConfigArgs struct {
	// Identifiers of the security groups for the image builder or image builder.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// Identifiers of the subnets to which a network interface is attached from the image builder instance or image builder instance.
	SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"`
}

func (ImageBuilderVpcConfigArgs) ElementType added in v4.23.0

func (ImageBuilderVpcConfigArgs) ElementType() reflect.Type

func (ImageBuilderVpcConfigArgs) ToImageBuilderVpcConfigOutput added in v4.23.0

func (i ImageBuilderVpcConfigArgs) ToImageBuilderVpcConfigOutput() ImageBuilderVpcConfigOutput

func (ImageBuilderVpcConfigArgs) ToImageBuilderVpcConfigOutputWithContext added in v4.23.0

func (i ImageBuilderVpcConfigArgs) ToImageBuilderVpcConfigOutputWithContext(ctx context.Context) ImageBuilderVpcConfigOutput

func (ImageBuilderVpcConfigArgs) ToImageBuilderVpcConfigPtrOutput added in v4.23.0

func (i ImageBuilderVpcConfigArgs) ToImageBuilderVpcConfigPtrOutput() ImageBuilderVpcConfigPtrOutput

func (ImageBuilderVpcConfigArgs) ToImageBuilderVpcConfigPtrOutputWithContext added in v4.23.0

func (i ImageBuilderVpcConfigArgs) ToImageBuilderVpcConfigPtrOutputWithContext(ctx context.Context) ImageBuilderVpcConfigPtrOutput

type ImageBuilderVpcConfigInput added in v4.23.0

type ImageBuilderVpcConfigInput interface {
	pulumi.Input

	ToImageBuilderVpcConfigOutput() ImageBuilderVpcConfigOutput
	ToImageBuilderVpcConfigOutputWithContext(context.Context) ImageBuilderVpcConfigOutput
}

ImageBuilderVpcConfigInput is an input type that accepts ImageBuilderVpcConfigArgs and ImageBuilderVpcConfigOutput values. You can construct a concrete instance of `ImageBuilderVpcConfigInput` via:

ImageBuilderVpcConfigArgs{...}

type ImageBuilderVpcConfigOutput added in v4.23.0

type ImageBuilderVpcConfigOutput struct{ *pulumi.OutputState }

func (ImageBuilderVpcConfigOutput) ElementType added in v4.23.0

func (ImageBuilderVpcConfigOutput) SecurityGroupIds added in v4.23.0

Identifiers of the security groups for the image builder or image builder.

func (ImageBuilderVpcConfigOutput) SubnetIds added in v4.23.0

Identifiers of the subnets to which a network interface is attached from the image builder instance or image builder instance.

func (ImageBuilderVpcConfigOutput) ToImageBuilderVpcConfigOutput added in v4.23.0

func (o ImageBuilderVpcConfigOutput) ToImageBuilderVpcConfigOutput() ImageBuilderVpcConfigOutput

func (ImageBuilderVpcConfigOutput) ToImageBuilderVpcConfigOutputWithContext added in v4.23.0

func (o ImageBuilderVpcConfigOutput) ToImageBuilderVpcConfigOutputWithContext(ctx context.Context) ImageBuilderVpcConfigOutput

func (ImageBuilderVpcConfigOutput) ToImageBuilderVpcConfigPtrOutput added in v4.23.0

func (o ImageBuilderVpcConfigOutput) ToImageBuilderVpcConfigPtrOutput() ImageBuilderVpcConfigPtrOutput

func (ImageBuilderVpcConfigOutput) ToImageBuilderVpcConfigPtrOutputWithContext added in v4.23.0

func (o ImageBuilderVpcConfigOutput) ToImageBuilderVpcConfigPtrOutputWithContext(ctx context.Context) ImageBuilderVpcConfigPtrOutput

type ImageBuilderVpcConfigPtrInput added in v4.23.0

type ImageBuilderVpcConfigPtrInput interface {
	pulumi.Input

	ToImageBuilderVpcConfigPtrOutput() ImageBuilderVpcConfigPtrOutput
	ToImageBuilderVpcConfigPtrOutputWithContext(context.Context) ImageBuilderVpcConfigPtrOutput
}

ImageBuilderVpcConfigPtrInput is an input type that accepts ImageBuilderVpcConfigArgs, ImageBuilderVpcConfigPtr and ImageBuilderVpcConfigPtrOutput values. You can construct a concrete instance of `ImageBuilderVpcConfigPtrInput` via:

        ImageBuilderVpcConfigArgs{...}

or:

        nil

func ImageBuilderVpcConfigPtr added in v4.23.0

func ImageBuilderVpcConfigPtr(v *ImageBuilderVpcConfigArgs) ImageBuilderVpcConfigPtrInput

type ImageBuilderVpcConfigPtrOutput added in v4.23.0

type ImageBuilderVpcConfigPtrOutput struct{ *pulumi.OutputState }

func (ImageBuilderVpcConfigPtrOutput) Elem added in v4.23.0

func (ImageBuilderVpcConfigPtrOutput) ElementType added in v4.23.0

func (ImageBuilderVpcConfigPtrOutput) SecurityGroupIds added in v4.23.0

Identifiers of the security groups for the image builder or image builder.

func (ImageBuilderVpcConfigPtrOutput) SubnetIds added in v4.23.0

Identifiers of the subnets to which a network interface is attached from the image builder instance or image builder instance.

func (ImageBuilderVpcConfigPtrOutput) ToImageBuilderVpcConfigPtrOutput added in v4.23.0

func (o ImageBuilderVpcConfigPtrOutput) ToImageBuilderVpcConfigPtrOutput() ImageBuilderVpcConfigPtrOutput

func (ImageBuilderVpcConfigPtrOutput) ToImageBuilderVpcConfigPtrOutputWithContext added in v4.23.0

func (o ImageBuilderVpcConfigPtrOutput) ToImageBuilderVpcConfigPtrOutputWithContext(ctx context.Context) ImageBuilderVpcConfigPtrOutput

type Stack

type Stack struct {
	pulumi.CustomResourceState

	AccessEndpoints StackAccessEndpointArrayOutput `pulumi:"accessEndpoints"`
	// Settings for application settings persistence.
	ApplicationSettings StackApplicationSettingsOutput `pulumi:"applicationSettings"`
	// ARN of the appstream stack.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Date and time, in UTC and extended RFC 3339 format, when the stack was created.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// Description for the AppStream stack.
	Description pulumi.StringOutput `pulumi:"description"`
	// Stack name to display.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
	EmbedHostDomains pulumi.StringArrayOutput `pulumi:"embedHostDomains"`
	// URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed. .
	FeedbackUrl pulumi.StringOutput `pulumi:"feedbackUrl"`
	// Unique name for the AppStream stack.
	Name pulumi.StringOutput `pulumi:"name"`
	// URL that users are redirected to after their streaming session ends.
	RedirectUrl pulumi.StringOutput `pulumi:"redirectUrl"`
	// Configuration block for the storage connectors to enable. See below.
	StorageConnectors StackStorageConnectorArrayOutput `pulumi:"storageConnectors"`
	Tags              pulumi.StringMapOutput           `pulumi:"tags"`
	TagsAll           pulumi.StringMapOutput           `pulumi:"tagsAll"`
	// Configuration block for the actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled. See below.
	UserSettings StackUserSettingArrayOutput `pulumi:"userSettings"`
}

Provides an AppStream stack.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appstream"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appstream.NewStack(ctx, "example", &appstream.StackArgs{
			ApplicationSettings: &appstream.StackApplicationSettingsArgs{
				Enabled:       pulumi.Bool(true),
				SettingsGroup: pulumi.String("SettingsGroup"),
			},
			Description: pulumi.String("stack description"),
			DisplayName: pulumi.String("stack display name"),
			FeedbackUrl: pulumi.String("http://your-domain/feedback"),
			RedirectUrl: pulumi.String("http://your-domain/redirect"),
			StorageConnectors: appstream.StackStorageConnectorArray{
				&appstream.StackStorageConnectorArgs{
					ConnectorType: pulumi.String("HOMEFOLDERS"),
				},
			},
			Tags: pulumi.StringMap{
				"TagName": pulumi.String("TagValue"),
			},
			UserSettings: appstream.StackUserSettingArray{
				&appstream.StackUserSettingArgs{
					Action:     pulumi.String("CLIPBOARD_COPY_FROM_LOCAL_DEVICE"),
					Permission: pulumi.String("ENABLED"),
				},
				&appstream.StackUserSettingArgs{
					Action:     pulumi.String("CLIPBOARD_COPY_TO_LOCAL_DEVICE"),
					Permission: pulumi.String("ENABLED"),
				},
				&appstream.StackUserSettingArgs{
					Action:     pulumi.String("FILE_UPLOAD"),
					Permission: pulumi.String("ENABLED"),
				},
				&appstream.StackUserSettingArgs{
					Action:     pulumi.String("FILE_DOWNLOAD"),
					Permission: pulumi.String("ENABLED"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_appstream_stack` can be imported using the id, e.g.,

```sh

$ pulumi import aws:appstream/stack:Stack example stackID

```

func GetStack

func GetStack(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StackState, opts ...pulumi.ResourceOption) (*Stack, error)

GetStack gets an existing Stack resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStack

func NewStack(ctx *pulumi.Context,
	name string, args *StackArgs, opts ...pulumi.ResourceOption) (*Stack, error)

NewStack registers a new resource with the given unique name, arguments, and options.

func (*Stack) ElementType

func (*Stack) ElementType() reflect.Type

func (*Stack) ToStackOutput

func (i *Stack) ToStackOutput() StackOutput

func (*Stack) ToStackOutputWithContext

func (i *Stack) ToStackOutputWithContext(ctx context.Context) StackOutput

type StackAccessEndpoint

type StackAccessEndpoint struct {
	EndpointType string  `pulumi:"endpointType"`
	VpceId       *string `pulumi:"vpceId"`
}

type StackAccessEndpointArgs

type StackAccessEndpointArgs struct {
	EndpointType pulumi.StringInput    `pulumi:"endpointType"`
	VpceId       pulumi.StringPtrInput `pulumi:"vpceId"`
}

func (StackAccessEndpointArgs) ElementType

func (StackAccessEndpointArgs) ElementType() reflect.Type

func (StackAccessEndpointArgs) ToStackAccessEndpointOutput

func (i StackAccessEndpointArgs) ToStackAccessEndpointOutput() StackAccessEndpointOutput

func (StackAccessEndpointArgs) ToStackAccessEndpointOutputWithContext

func (i StackAccessEndpointArgs) ToStackAccessEndpointOutputWithContext(ctx context.Context) StackAccessEndpointOutput

type StackAccessEndpointArray

type StackAccessEndpointArray []StackAccessEndpointInput

func (StackAccessEndpointArray) ElementType

func (StackAccessEndpointArray) ElementType() reflect.Type

func (StackAccessEndpointArray) ToStackAccessEndpointArrayOutput

func (i StackAccessEndpointArray) ToStackAccessEndpointArrayOutput() StackAccessEndpointArrayOutput

func (StackAccessEndpointArray) ToStackAccessEndpointArrayOutputWithContext

func (i StackAccessEndpointArray) ToStackAccessEndpointArrayOutputWithContext(ctx context.Context) StackAccessEndpointArrayOutput

type StackAccessEndpointArrayInput

type StackAccessEndpointArrayInput interface {
	pulumi.Input

	ToStackAccessEndpointArrayOutput() StackAccessEndpointArrayOutput
	ToStackAccessEndpointArrayOutputWithContext(context.Context) StackAccessEndpointArrayOutput
}

StackAccessEndpointArrayInput is an input type that accepts StackAccessEndpointArray and StackAccessEndpointArrayOutput values. You can construct a concrete instance of `StackAccessEndpointArrayInput` via:

StackAccessEndpointArray{ StackAccessEndpointArgs{...} }

type StackAccessEndpointArrayOutput

type StackAccessEndpointArrayOutput struct{ *pulumi.OutputState }

func (StackAccessEndpointArrayOutput) ElementType

func (StackAccessEndpointArrayOutput) Index

func (StackAccessEndpointArrayOutput) ToStackAccessEndpointArrayOutput

func (o StackAccessEndpointArrayOutput) ToStackAccessEndpointArrayOutput() StackAccessEndpointArrayOutput

func (StackAccessEndpointArrayOutput) ToStackAccessEndpointArrayOutputWithContext

func (o StackAccessEndpointArrayOutput) ToStackAccessEndpointArrayOutputWithContext(ctx context.Context) StackAccessEndpointArrayOutput

type StackAccessEndpointInput

type StackAccessEndpointInput interface {
	pulumi.Input

	ToStackAccessEndpointOutput() StackAccessEndpointOutput
	ToStackAccessEndpointOutputWithContext(context.Context) StackAccessEndpointOutput
}

StackAccessEndpointInput is an input type that accepts StackAccessEndpointArgs and StackAccessEndpointOutput values. You can construct a concrete instance of `StackAccessEndpointInput` via:

StackAccessEndpointArgs{...}

type StackAccessEndpointOutput

type StackAccessEndpointOutput struct{ *pulumi.OutputState }

func (StackAccessEndpointOutput) ElementType

func (StackAccessEndpointOutput) ElementType() reflect.Type

func (StackAccessEndpointOutput) EndpointType

func (StackAccessEndpointOutput) ToStackAccessEndpointOutput

func (o StackAccessEndpointOutput) ToStackAccessEndpointOutput() StackAccessEndpointOutput

func (StackAccessEndpointOutput) ToStackAccessEndpointOutputWithContext

func (o StackAccessEndpointOutput) ToStackAccessEndpointOutputWithContext(ctx context.Context) StackAccessEndpointOutput

func (StackAccessEndpointOutput) VpceId

type StackApplicationSettings

type StackApplicationSettings struct {
	Enabled       *bool   `pulumi:"enabled"`
	SettingsGroup *string `pulumi:"settingsGroup"`
}

type StackApplicationSettingsArgs

type StackApplicationSettingsArgs struct {
	Enabled       pulumi.BoolPtrInput   `pulumi:"enabled"`
	SettingsGroup pulumi.StringPtrInput `pulumi:"settingsGroup"`
}

func (StackApplicationSettingsArgs) ElementType

func (StackApplicationSettingsArgs) ToStackApplicationSettingsOutput

func (i StackApplicationSettingsArgs) ToStackApplicationSettingsOutput() StackApplicationSettingsOutput

func (StackApplicationSettingsArgs) ToStackApplicationSettingsOutputWithContext

func (i StackApplicationSettingsArgs) ToStackApplicationSettingsOutputWithContext(ctx context.Context) StackApplicationSettingsOutput

func (StackApplicationSettingsArgs) ToStackApplicationSettingsPtrOutput

func (i StackApplicationSettingsArgs) ToStackApplicationSettingsPtrOutput() StackApplicationSettingsPtrOutput

func (StackApplicationSettingsArgs) ToStackApplicationSettingsPtrOutputWithContext

func (i StackApplicationSettingsArgs) ToStackApplicationSettingsPtrOutputWithContext(ctx context.Context) StackApplicationSettingsPtrOutput

type StackApplicationSettingsInput

type StackApplicationSettingsInput interface {
	pulumi.Input

	ToStackApplicationSettingsOutput() StackApplicationSettingsOutput
	ToStackApplicationSettingsOutputWithContext(context.Context) StackApplicationSettingsOutput
}

StackApplicationSettingsInput is an input type that accepts StackApplicationSettingsArgs and StackApplicationSettingsOutput values. You can construct a concrete instance of `StackApplicationSettingsInput` via:

StackApplicationSettingsArgs{...}

type StackApplicationSettingsOutput

type StackApplicationSettingsOutput struct{ *pulumi.OutputState }

func (StackApplicationSettingsOutput) ElementType

func (StackApplicationSettingsOutput) Enabled

func (StackApplicationSettingsOutput) SettingsGroup

func (StackApplicationSettingsOutput) ToStackApplicationSettingsOutput

func (o StackApplicationSettingsOutput) ToStackApplicationSettingsOutput() StackApplicationSettingsOutput

func (StackApplicationSettingsOutput) ToStackApplicationSettingsOutputWithContext

func (o StackApplicationSettingsOutput) ToStackApplicationSettingsOutputWithContext(ctx context.Context) StackApplicationSettingsOutput

func (StackApplicationSettingsOutput) ToStackApplicationSettingsPtrOutput

func (o StackApplicationSettingsOutput) ToStackApplicationSettingsPtrOutput() StackApplicationSettingsPtrOutput

func (StackApplicationSettingsOutput) ToStackApplicationSettingsPtrOutputWithContext

func (o StackApplicationSettingsOutput) ToStackApplicationSettingsPtrOutputWithContext(ctx context.Context) StackApplicationSettingsPtrOutput

type StackApplicationSettingsPtrInput

type StackApplicationSettingsPtrInput interface {
	pulumi.Input

	ToStackApplicationSettingsPtrOutput() StackApplicationSettingsPtrOutput
	ToStackApplicationSettingsPtrOutputWithContext(context.Context) StackApplicationSettingsPtrOutput
}

StackApplicationSettingsPtrInput is an input type that accepts StackApplicationSettingsArgs, StackApplicationSettingsPtr and StackApplicationSettingsPtrOutput values. You can construct a concrete instance of `StackApplicationSettingsPtrInput` via:

        StackApplicationSettingsArgs{...}

or:

        nil

type StackApplicationSettingsPtrOutput

type StackApplicationSettingsPtrOutput struct{ *pulumi.OutputState }

func (StackApplicationSettingsPtrOutput) Elem

func (StackApplicationSettingsPtrOutput) ElementType

func (StackApplicationSettingsPtrOutput) Enabled

func (StackApplicationSettingsPtrOutput) SettingsGroup

func (StackApplicationSettingsPtrOutput) ToStackApplicationSettingsPtrOutput

func (o StackApplicationSettingsPtrOutput) ToStackApplicationSettingsPtrOutput() StackApplicationSettingsPtrOutput

func (StackApplicationSettingsPtrOutput) ToStackApplicationSettingsPtrOutputWithContext

func (o StackApplicationSettingsPtrOutput) ToStackApplicationSettingsPtrOutputWithContext(ctx context.Context) StackApplicationSettingsPtrOutput

type StackArgs

type StackArgs struct {
	AccessEndpoints StackAccessEndpointArrayInput
	// Settings for application settings persistence.
	ApplicationSettings StackApplicationSettingsPtrInput
	// Description for the AppStream stack.
	Description pulumi.StringPtrInput
	// Stack name to display.
	DisplayName pulumi.StringPtrInput
	// Domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
	EmbedHostDomains pulumi.StringArrayInput
	// URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed. .
	FeedbackUrl pulumi.StringPtrInput
	// Unique name for the AppStream stack.
	Name pulumi.StringPtrInput
	// URL that users are redirected to after their streaming session ends.
	RedirectUrl pulumi.StringPtrInput
	// Configuration block for the storage connectors to enable. See below.
	StorageConnectors StackStorageConnectorArrayInput
	Tags              pulumi.StringMapInput
	// Configuration block for the actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled. See below.
	UserSettings StackUserSettingArrayInput
}

The set of arguments for constructing a Stack resource.

func (StackArgs) ElementType

func (StackArgs) ElementType() reflect.Type

type StackArray

type StackArray []StackInput

func (StackArray) ElementType

func (StackArray) ElementType() reflect.Type

func (StackArray) ToStackArrayOutput

func (i StackArray) ToStackArrayOutput() StackArrayOutput

func (StackArray) ToStackArrayOutputWithContext

func (i StackArray) ToStackArrayOutputWithContext(ctx context.Context) StackArrayOutput

type StackArrayInput

type StackArrayInput interface {
	pulumi.Input

	ToStackArrayOutput() StackArrayOutput
	ToStackArrayOutputWithContext(context.Context) StackArrayOutput
}

StackArrayInput is an input type that accepts StackArray and StackArrayOutput values. You can construct a concrete instance of `StackArrayInput` via:

StackArray{ StackArgs{...} }

type StackArrayOutput

type StackArrayOutput struct{ *pulumi.OutputState }

func (StackArrayOutput) ElementType

func (StackArrayOutput) ElementType() reflect.Type

func (StackArrayOutput) Index

func (StackArrayOutput) ToStackArrayOutput

func (o StackArrayOutput) ToStackArrayOutput() StackArrayOutput

func (StackArrayOutput) ToStackArrayOutputWithContext

func (o StackArrayOutput) ToStackArrayOutputWithContext(ctx context.Context) StackArrayOutput

type StackInput

type StackInput interface {
	pulumi.Input

	ToStackOutput() StackOutput
	ToStackOutputWithContext(ctx context.Context) StackOutput
}

type StackMap

type StackMap map[string]StackInput

func (StackMap) ElementType

func (StackMap) ElementType() reflect.Type

func (StackMap) ToStackMapOutput

func (i StackMap) ToStackMapOutput() StackMapOutput

func (StackMap) ToStackMapOutputWithContext

func (i StackMap) ToStackMapOutputWithContext(ctx context.Context) StackMapOutput

type StackMapInput

type StackMapInput interface {
	pulumi.Input

	ToStackMapOutput() StackMapOutput
	ToStackMapOutputWithContext(context.Context) StackMapOutput
}

StackMapInput is an input type that accepts StackMap and StackMapOutput values. You can construct a concrete instance of `StackMapInput` via:

StackMap{ "key": StackArgs{...} }

type StackMapOutput

type StackMapOutput struct{ *pulumi.OutputState }

func (StackMapOutput) ElementType

func (StackMapOutput) ElementType() reflect.Type

func (StackMapOutput) MapIndex

func (StackMapOutput) ToStackMapOutput

func (o StackMapOutput) ToStackMapOutput() StackMapOutput

func (StackMapOutput) ToStackMapOutputWithContext

func (o StackMapOutput) ToStackMapOutputWithContext(ctx context.Context) StackMapOutput

type StackOutput

type StackOutput struct{ *pulumi.OutputState }

func (StackOutput) ElementType

func (StackOutput) ElementType() reflect.Type

func (StackOutput) ToStackOutput

func (o StackOutput) ToStackOutput() StackOutput

func (StackOutput) ToStackOutputWithContext

func (o StackOutput) ToStackOutputWithContext(ctx context.Context) StackOutput

type StackState

type StackState struct {
	AccessEndpoints StackAccessEndpointArrayInput
	// Settings for application settings persistence.
	ApplicationSettings StackApplicationSettingsPtrInput
	// ARN of the appstream stack.
	Arn pulumi.StringPtrInput
	// Date and time, in UTC and extended RFC 3339 format, when the stack was created.
	CreatedTime pulumi.StringPtrInput
	// Description for the AppStream stack.
	Description pulumi.StringPtrInput
	// Stack name to display.
	DisplayName pulumi.StringPtrInput
	// Domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
	EmbedHostDomains pulumi.StringArrayInput
	// URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed. .
	FeedbackUrl pulumi.StringPtrInput
	// Unique name for the AppStream stack.
	Name pulumi.StringPtrInput
	// URL that users are redirected to after their streaming session ends.
	RedirectUrl pulumi.StringPtrInput
	// Configuration block for the storage connectors to enable. See below.
	StorageConnectors StackStorageConnectorArrayInput
	Tags              pulumi.StringMapInput
	TagsAll           pulumi.StringMapInput
	// Configuration block for the actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled. See below.
	UserSettings StackUserSettingArrayInput
}

func (StackState) ElementType

func (StackState) ElementType() reflect.Type

type StackStorageConnector

type StackStorageConnector struct {
	// Type of storage connector. Valid values are: `HOMEFOLDERS`, `GOOGLE_DRIVE`, `ONE_DRIVE`.
	ConnectorType string `pulumi:"connectorType"`
	// Names of the domains for the account.
	Domains []string `pulumi:"domains"`
	// ARN of the storage connector.
	ResourceIdentifier *string `pulumi:"resourceIdentifier"`
}

type StackStorageConnectorArgs

type StackStorageConnectorArgs struct {
	// Type of storage connector. Valid values are: `HOMEFOLDERS`, `GOOGLE_DRIVE`, `ONE_DRIVE`.
	ConnectorType pulumi.StringInput `pulumi:"connectorType"`
	// Names of the domains for the account.
	Domains pulumi.StringArrayInput `pulumi:"domains"`
	// ARN of the storage connector.
	ResourceIdentifier pulumi.StringPtrInput `pulumi:"resourceIdentifier"`
}

func (StackStorageConnectorArgs) ElementType

func (StackStorageConnectorArgs) ElementType() reflect.Type

func (StackStorageConnectorArgs) ToStackStorageConnectorOutput

func (i StackStorageConnectorArgs) ToStackStorageConnectorOutput() StackStorageConnectorOutput

func (StackStorageConnectorArgs) ToStackStorageConnectorOutputWithContext

func (i StackStorageConnectorArgs) ToStackStorageConnectorOutputWithContext(ctx context.Context) StackStorageConnectorOutput

type StackStorageConnectorArray

type StackStorageConnectorArray []StackStorageConnectorInput

func (StackStorageConnectorArray) ElementType

func (StackStorageConnectorArray) ElementType() reflect.Type

func (StackStorageConnectorArray) ToStackStorageConnectorArrayOutput

func (i StackStorageConnectorArray) ToStackStorageConnectorArrayOutput() StackStorageConnectorArrayOutput

func (StackStorageConnectorArray) ToStackStorageConnectorArrayOutputWithContext

func (i StackStorageConnectorArray) ToStackStorageConnectorArrayOutputWithContext(ctx context.Context) StackStorageConnectorArrayOutput

type StackStorageConnectorArrayInput

type StackStorageConnectorArrayInput interface {
	pulumi.Input

	ToStackStorageConnectorArrayOutput() StackStorageConnectorArrayOutput
	ToStackStorageConnectorArrayOutputWithContext(context.Context) StackStorageConnectorArrayOutput
}

StackStorageConnectorArrayInput is an input type that accepts StackStorageConnectorArray and StackStorageConnectorArrayOutput values. You can construct a concrete instance of `StackStorageConnectorArrayInput` via:

StackStorageConnectorArray{ StackStorageConnectorArgs{...} }

type StackStorageConnectorArrayOutput

type StackStorageConnectorArrayOutput struct{ *pulumi.OutputState }

func (StackStorageConnectorArrayOutput) ElementType

func (StackStorageConnectorArrayOutput) Index

func (StackStorageConnectorArrayOutput) ToStackStorageConnectorArrayOutput

func (o StackStorageConnectorArrayOutput) ToStackStorageConnectorArrayOutput() StackStorageConnectorArrayOutput

func (StackStorageConnectorArrayOutput) ToStackStorageConnectorArrayOutputWithContext

func (o StackStorageConnectorArrayOutput) ToStackStorageConnectorArrayOutputWithContext(ctx context.Context) StackStorageConnectorArrayOutput

type StackStorageConnectorInput

type StackStorageConnectorInput interface {
	pulumi.Input

	ToStackStorageConnectorOutput() StackStorageConnectorOutput
	ToStackStorageConnectorOutputWithContext(context.Context) StackStorageConnectorOutput
}

StackStorageConnectorInput is an input type that accepts StackStorageConnectorArgs and StackStorageConnectorOutput values. You can construct a concrete instance of `StackStorageConnectorInput` via:

StackStorageConnectorArgs{...}

type StackStorageConnectorOutput

type StackStorageConnectorOutput struct{ *pulumi.OutputState }

func (StackStorageConnectorOutput) ConnectorType

Type of storage connector. Valid values are: `HOMEFOLDERS`, `GOOGLE_DRIVE`, `ONE_DRIVE`.

func (StackStorageConnectorOutput) Domains

Names of the domains for the account.

func (StackStorageConnectorOutput) ElementType

func (StackStorageConnectorOutput) ResourceIdentifier

func (o StackStorageConnectorOutput) ResourceIdentifier() pulumi.StringPtrOutput

ARN of the storage connector.

func (StackStorageConnectorOutput) ToStackStorageConnectorOutput

func (o StackStorageConnectorOutput) ToStackStorageConnectorOutput() StackStorageConnectorOutput

func (StackStorageConnectorOutput) ToStackStorageConnectorOutputWithContext

func (o StackStorageConnectorOutput) ToStackStorageConnectorOutputWithContext(ctx context.Context) StackStorageConnectorOutput

type StackUserSetting

type StackUserSetting struct {
	// Action that is enabled or disabled. Valid values are: `CLIPBOARD_COPY_FROM_LOCAL_DEVICE`,  `CLIPBOARD_COPY_TO_LOCAL_DEVICE`, `FILE_UPLOAD`, `FILE_DOWNLOAD`, `PRINTING_TO_LOCAL_DEVICE`, `DOMAIN_PASSWORD_SIGNIN`, `DOMAIN_SMART_CARD_SIGNIN`.
	Action string `pulumi:"action"`
	// Indicates whether the action is enabled or disabled. Valid values are: `ENABLED`, `DISABLED`.
	Permission string `pulumi:"permission"`
}

type StackUserSettingArgs

type StackUserSettingArgs struct {
	// Action that is enabled or disabled. Valid values are: `CLIPBOARD_COPY_FROM_LOCAL_DEVICE`,  `CLIPBOARD_COPY_TO_LOCAL_DEVICE`, `FILE_UPLOAD`, `FILE_DOWNLOAD`, `PRINTING_TO_LOCAL_DEVICE`, `DOMAIN_PASSWORD_SIGNIN`, `DOMAIN_SMART_CARD_SIGNIN`.
	Action pulumi.StringInput `pulumi:"action"`
	// Indicates whether the action is enabled or disabled. Valid values are: `ENABLED`, `DISABLED`.
	Permission pulumi.StringInput `pulumi:"permission"`
}

func (StackUserSettingArgs) ElementType

func (StackUserSettingArgs) ElementType() reflect.Type

func (StackUserSettingArgs) ToStackUserSettingOutput

func (i StackUserSettingArgs) ToStackUserSettingOutput() StackUserSettingOutput

func (StackUserSettingArgs) ToStackUserSettingOutputWithContext

func (i StackUserSettingArgs) ToStackUserSettingOutputWithContext(ctx context.Context) StackUserSettingOutput

type StackUserSettingArray

type StackUserSettingArray []StackUserSettingInput

func (StackUserSettingArray) ElementType

func (StackUserSettingArray) ElementType() reflect.Type

func (StackUserSettingArray) ToStackUserSettingArrayOutput

func (i StackUserSettingArray) ToStackUserSettingArrayOutput() StackUserSettingArrayOutput

func (StackUserSettingArray) ToStackUserSettingArrayOutputWithContext

func (i StackUserSettingArray) ToStackUserSettingArrayOutputWithContext(ctx context.Context) StackUserSettingArrayOutput

type StackUserSettingArrayInput

type StackUserSettingArrayInput interface {
	pulumi.Input

	ToStackUserSettingArrayOutput() StackUserSettingArrayOutput
	ToStackUserSettingArrayOutputWithContext(context.Context) StackUserSettingArrayOutput
}

StackUserSettingArrayInput is an input type that accepts StackUserSettingArray and StackUserSettingArrayOutput values. You can construct a concrete instance of `StackUserSettingArrayInput` via:

StackUserSettingArray{ StackUserSettingArgs{...} }

type StackUserSettingArrayOutput

type StackUserSettingArrayOutput struct{ *pulumi.OutputState }

func (StackUserSettingArrayOutput) ElementType

func (StackUserSettingArrayOutput) Index

func (StackUserSettingArrayOutput) ToStackUserSettingArrayOutput

func (o StackUserSettingArrayOutput) ToStackUserSettingArrayOutput() StackUserSettingArrayOutput

func (StackUserSettingArrayOutput) ToStackUserSettingArrayOutputWithContext

func (o StackUserSettingArrayOutput) ToStackUserSettingArrayOutputWithContext(ctx context.Context) StackUserSettingArrayOutput

type StackUserSettingInput

type StackUserSettingInput interface {
	pulumi.Input

	ToStackUserSettingOutput() StackUserSettingOutput
	ToStackUserSettingOutputWithContext(context.Context) StackUserSettingOutput
}

StackUserSettingInput is an input type that accepts StackUserSettingArgs and StackUserSettingOutput values. You can construct a concrete instance of `StackUserSettingInput` via:

StackUserSettingArgs{...}

type StackUserSettingOutput

type StackUserSettingOutput struct{ *pulumi.OutputState }

func (StackUserSettingOutput) Action

Action that is enabled or disabled. Valid values are: `CLIPBOARD_COPY_FROM_LOCAL_DEVICE`, `CLIPBOARD_COPY_TO_LOCAL_DEVICE`, `FILE_UPLOAD`, `FILE_DOWNLOAD`, `PRINTING_TO_LOCAL_DEVICE`, `DOMAIN_PASSWORD_SIGNIN`, `DOMAIN_SMART_CARD_SIGNIN`.

func (StackUserSettingOutput) ElementType

func (StackUserSettingOutput) ElementType() reflect.Type

func (StackUserSettingOutput) Permission

Indicates whether the action is enabled or disabled. Valid values are: `ENABLED`, `DISABLED`.

func (StackUserSettingOutput) ToStackUserSettingOutput

func (o StackUserSettingOutput) ToStackUserSettingOutput() StackUserSettingOutput

func (StackUserSettingOutput) ToStackUserSettingOutputWithContext

func (o StackUserSettingOutput) ToStackUserSettingOutputWithContext(ctx context.Context) StackUserSettingOutput

type User added in v4.30.0

type User struct {
	pulumi.CustomResourceState

	// ARN of the appstream user.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Authentication type for the user. You must specify USERPOOL. Valid values: `API`, `SAML`, `USERPOOL`
	AuthenticationType pulumi.StringOutput `pulumi:"authenticationType"`
	// Date and time, in UTC and extended RFC 3339 format, when the user was created.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// Specifies whether the user in the user pool is enabled.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// First name, or given name, of the user.
	FirstName pulumi.StringPtrOutput `pulumi:"firstName"`
	// Last name, or surname, of the user.
	LastName pulumi.StringPtrOutput `pulumi:"lastName"`
	// Send an email notification.
	SendEmailNotification pulumi.BoolPtrOutput `pulumi:"sendEmailNotification"`
	// Email address of the user.
	UserName pulumi.StringOutput `pulumi:"userName"`
}

Provides an AppStream user.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appstream"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appstream.NewUser(ctx, "example", &appstream.UserArgs{
			AuthenticationType: pulumi.String("USERPOOL"),
			FirstName:          pulumi.String("FIRST NAME"),
			LastName:           pulumi.String("LAST NAME"),
			UserName:           pulumi.String("EMAIL ADDRESS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_appstream_user` can be imported using the `user_name` and `authentication_type` separated by a slash (`/`), e.g.,

```sh

$ pulumi import aws:appstream/user:User example UserName/AuthenticationType

```

func GetUser added in v4.30.0

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUser added in v4.30.0

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

NewUser registers a new resource with the given unique name, arguments, and options.

func (*User) ElementType added in v4.30.0

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput added in v4.30.0

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext added in v4.30.0

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserArgs added in v4.30.0

type UserArgs struct {
	// Authentication type for the user. You must specify USERPOOL. Valid values: `API`, `SAML`, `USERPOOL`
	AuthenticationType pulumi.StringInput
	// Specifies whether the user in the user pool is enabled.
	Enabled pulumi.BoolPtrInput
	// First name, or given name, of the user.
	FirstName pulumi.StringPtrInput
	// Last name, or surname, of the user.
	LastName pulumi.StringPtrInput
	// Send an email notification.
	SendEmailNotification pulumi.BoolPtrInput
	// Email address of the user.
	UserName pulumi.StringInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType added in v4.30.0

func (UserArgs) ElementType() reflect.Type

type UserArray added in v4.30.0

type UserArray []UserInput

func (UserArray) ElementType added in v4.30.0

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput added in v4.30.0

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext added in v4.30.0

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput added in v4.30.0

type UserArrayInput interface {
	pulumi.Input

	ToUserArrayOutput() UserArrayOutput
	ToUserArrayOutputWithContext(context.Context) UserArrayOutput
}

UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:

UserArray{ UserArgs{...} }

type UserArrayOutput added in v4.30.0

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType added in v4.30.0

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index added in v4.30.0

func (UserArrayOutput) ToUserArrayOutput added in v4.30.0

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext added in v4.30.0

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserInput added in v4.30.0

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap added in v4.30.0

type UserMap map[string]UserInput

func (UserMap) ElementType added in v4.30.0

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput added in v4.30.0

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext added in v4.30.0

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput added in v4.30.0

type UserMapInput interface {
	pulumi.Input

	ToUserMapOutput() UserMapOutput
	ToUserMapOutputWithContext(context.Context) UserMapOutput
}

UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:

UserMap{ "key": UserArgs{...} }

type UserMapOutput added in v4.30.0

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType added in v4.30.0

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex added in v4.30.0

func (UserMapOutput) ToUserMapOutput added in v4.30.0

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext added in v4.30.0

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserOutput added in v4.30.0

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) ElementType added in v4.30.0

func (UserOutput) ElementType() reflect.Type

func (UserOutput) ToUserOutput added in v4.30.0

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext added in v4.30.0

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserStackAssociation added in v4.30.0

type UserStackAssociation struct {
	pulumi.CustomResourceState

	// Authentication type for the user.
	AuthenticationType pulumi.StringOutput `pulumi:"authenticationType"`
	// Specifies whether a welcome email is sent to a user after the user is created in the user pool.
	SendEmailNotification pulumi.BoolPtrOutput `pulumi:"sendEmailNotification"`
	// Name of the stack that is associated with the user.
	StackName pulumi.StringOutput `pulumi:"stackName"`
	// Email address of the user who is associated with the stack.
	UserName pulumi.StringOutput `pulumi:"userName"`
}

Manages an AppStream User Stack association.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appstream"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testStack, err := appstream.NewStack(ctx, "testStack", nil)
		if err != nil {
			return err
		}
		testUser, err := appstream.NewUser(ctx, "testUser", &appstream.UserArgs{
			AuthenticationType: pulumi.String("USERPOOL"),
			UserName:           pulumi.String("EMAIL"),
		})
		if err != nil {
			return err
		}
		_, err = appstream.NewUserStackAssociation(ctx, "testUserStackAssociation", &appstream.UserStackAssociationArgs{
			AuthenticationType: testUser.AuthenticationType,
			StackName:          testStack.Name,
			UserName:           testUser.UserName,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppStream User Stack Association can be imported by using the `user_name`, `authentication_type`, and `stack_name`, separated by a slash (`/`), e.g.,

```sh

$ pulumi import aws:appstream/userStackAssociation:UserStackAssociation example userName/auhtenticationType/stackName

```

func GetUserStackAssociation added in v4.30.0

func GetUserStackAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserStackAssociationState, opts ...pulumi.ResourceOption) (*UserStackAssociation, error)

GetUserStackAssociation gets an existing UserStackAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUserStackAssociation added in v4.30.0

func NewUserStackAssociation(ctx *pulumi.Context,
	name string, args *UserStackAssociationArgs, opts ...pulumi.ResourceOption) (*UserStackAssociation, error)

NewUserStackAssociation registers a new resource with the given unique name, arguments, and options.

func (*UserStackAssociation) ElementType added in v4.30.0

func (*UserStackAssociation) ElementType() reflect.Type

func (*UserStackAssociation) ToUserStackAssociationOutput added in v4.30.0

func (i *UserStackAssociation) ToUserStackAssociationOutput() UserStackAssociationOutput

func (*UserStackAssociation) ToUserStackAssociationOutputWithContext added in v4.30.0

func (i *UserStackAssociation) ToUserStackAssociationOutputWithContext(ctx context.Context) UserStackAssociationOutput

type UserStackAssociationArgs added in v4.30.0

type UserStackAssociationArgs struct {
	// Authentication type for the user.
	AuthenticationType pulumi.StringInput
	// Specifies whether a welcome email is sent to a user after the user is created in the user pool.
	SendEmailNotification pulumi.BoolPtrInput
	// Name of the stack that is associated with the user.
	StackName pulumi.StringInput
	// Email address of the user who is associated with the stack.
	UserName pulumi.StringInput
}

The set of arguments for constructing a UserStackAssociation resource.

func (UserStackAssociationArgs) ElementType added in v4.30.0

func (UserStackAssociationArgs) ElementType() reflect.Type

type UserStackAssociationArray added in v4.30.0

type UserStackAssociationArray []UserStackAssociationInput

func (UserStackAssociationArray) ElementType added in v4.30.0

func (UserStackAssociationArray) ElementType() reflect.Type

func (UserStackAssociationArray) ToUserStackAssociationArrayOutput added in v4.30.0

func (i UserStackAssociationArray) ToUserStackAssociationArrayOutput() UserStackAssociationArrayOutput

func (UserStackAssociationArray) ToUserStackAssociationArrayOutputWithContext added in v4.30.0

func (i UserStackAssociationArray) ToUserStackAssociationArrayOutputWithContext(ctx context.Context) UserStackAssociationArrayOutput

type UserStackAssociationArrayInput added in v4.30.0

type UserStackAssociationArrayInput interface {
	pulumi.Input

	ToUserStackAssociationArrayOutput() UserStackAssociationArrayOutput
	ToUserStackAssociationArrayOutputWithContext(context.Context) UserStackAssociationArrayOutput
}

UserStackAssociationArrayInput is an input type that accepts UserStackAssociationArray and UserStackAssociationArrayOutput values. You can construct a concrete instance of `UserStackAssociationArrayInput` via:

UserStackAssociationArray{ UserStackAssociationArgs{...} }

type UserStackAssociationArrayOutput added in v4.30.0

type UserStackAssociationArrayOutput struct{ *pulumi.OutputState }

func (UserStackAssociationArrayOutput) ElementType added in v4.30.0

func (UserStackAssociationArrayOutput) Index added in v4.30.0

func (UserStackAssociationArrayOutput) ToUserStackAssociationArrayOutput added in v4.30.0

func (o UserStackAssociationArrayOutput) ToUserStackAssociationArrayOutput() UserStackAssociationArrayOutput

func (UserStackAssociationArrayOutput) ToUserStackAssociationArrayOutputWithContext added in v4.30.0

func (o UserStackAssociationArrayOutput) ToUserStackAssociationArrayOutputWithContext(ctx context.Context) UserStackAssociationArrayOutput

type UserStackAssociationInput added in v4.30.0

type UserStackAssociationInput interface {
	pulumi.Input

	ToUserStackAssociationOutput() UserStackAssociationOutput
	ToUserStackAssociationOutputWithContext(ctx context.Context) UserStackAssociationOutput
}

type UserStackAssociationMap added in v4.30.0

type UserStackAssociationMap map[string]UserStackAssociationInput

func (UserStackAssociationMap) ElementType added in v4.30.0

func (UserStackAssociationMap) ElementType() reflect.Type

func (UserStackAssociationMap) ToUserStackAssociationMapOutput added in v4.30.0

func (i UserStackAssociationMap) ToUserStackAssociationMapOutput() UserStackAssociationMapOutput

func (UserStackAssociationMap) ToUserStackAssociationMapOutputWithContext added in v4.30.0

func (i UserStackAssociationMap) ToUserStackAssociationMapOutputWithContext(ctx context.Context) UserStackAssociationMapOutput

type UserStackAssociationMapInput added in v4.30.0

type UserStackAssociationMapInput interface {
	pulumi.Input

	ToUserStackAssociationMapOutput() UserStackAssociationMapOutput
	ToUserStackAssociationMapOutputWithContext(context.Context) UserStackAssociationMapOutput
}

UserStackAssociationMapInput is an input type that accepts UserStackAssociationMap and UserStackAssociationMapOutput values. You can construct a concrete instance of `UserStackAssociationMapInput` via:

UserStackAssociationMap{ "key": UserStackAssociationArgs{...} }

type UserStackAssociationMapOutput added in v4.30.0

type UserStackAssociationMapOutput struct{ *pulumi.OutputState }

func (UserStackAssociationMapOutput) ElementType added in v4.30.0

func (UserStackAssociationMapOutput) MapIndex added in v4.30.0

func (UserStackAssociationMapOutput) ToUserStackAssociationMapOutput added in v4.30.0

func (o UserStackAssociationMapOutput) ToUserStackAssociationMapOutput() UserStackAssociationMapOutput

func (UserStackAssociationMapOutput) ToUserStackAssociationMapOutputWithContext added in v4.30.0

func (o UserStackAssociationMapOutput) ToUserStackAssociationMapOutputWithContext(ctx context.Context) UserStackAssociationMapOutput

type UserStackAssociationOutput added in v4.30.0

type UserStackAssociationOutput struct{ *pulumi.OutputState }

func (UserStackAssociationOutput) ElementType added in v4.30.0

func (UserStackAssociationOutput) ElementType() reflect.Type

func (UserStackAssociationOutput) ToUserStackAssociationOutput added in v4.30.0

func (o UserStackAssociationOutput) ToUserStackAssociationOutput() UserStackAssociationOutput

func (UserStackAssociationOutput) ToUserStackAssociationOutputWithContext added in v4.30.0

func (o UserStackAssociationOutput) ToUserStackAssociationOutputWithContext(ctx context.Context) UserStackAssociationOutput

type UserStackAssociationState added in v4.30.0

type UserStackAssociationState struct {
	// Authentication type for the user.
	AuthenticationType pulumi.StringPtrInput
	// Specifies whether a welcome email is sent to a user after the user is created in the user pool.
	SendEmailNotification pulumi.BoolPtrInput
	// Name of the stack that is associated with the user.
	StackName pulumi.StringPtrInput
	// Email address of the user who is associated with the stack.
	UserName pulumi.StringPtrInput
}

func (UserStackAssociationState) ElementType added in v4.30.0

func (UserStackAssociationState) ElementType() reflect.Type

type UserState added in v4.30.0

type UserState struct {
	// ARN of the appstream user.
	Arn pulumi.StringPtrInput
	// Authentication type for the user. You must specify USERPOOL. Valid values: `API`, `SAML`, `USERPOOL`
	AuthenticationType pulumi.StringPtrInput
	// Date and time, in UTC and extended RFC 3339 format, when the user was created.
	CreatedTime pulumi.StringPtrInput
	// Specifies whether the user in the user pool is enabled.
	Enabled pulumi.BoolPtrInput
	// First name, or given name, of the user.
	FirstName pulumi.StringPtrInput
	// Last name, or surname, of the user.
	LastName pulumi.StringPtrInput
	// Send an email notification.
	SendEmailNotification pulumi.BoolPtrInput
	// Email address of the user.
	UserName pulumi.StringPtrInput
}

func (UserState) ElementType added in v4.30.0

func (UserState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL