devicefarm

package
v6.59.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 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 DevicePool

type DevicePool struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name of this Device Pool
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The device pool's description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The number of devices that Device Farm can add to your device pool.
	MaxDevices pulumi.IntPtrOutput `pulumi:"maxDevices"`
	// The name of the Device Pool
	Name pulumi.StringOutput `pulumi:"name"`
	// The ARN of the project for the device pool.
	ProjectArn pulumi.StringOutput `pulumi:"projectArn"`
	// The device pool's rules. See Rule.
	Rules DevicePoolRuleArrayOutput `pulumi:"rules"`
	// A map of tags to assign to the resource. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	Type    pulumi.StringOutput    `pulumi:"type"`
}

Provides a resource to manage AWS Device Farm Device Pools.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devicefarm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devicefarm.NewDevicePool(ctx, "example", &devicefarm.DevicePoolArgs{
			Name:       pulumi.String("example"),
			ProjectArn: pulumi.Any(exampleAwsDevicefarmProject.Arn),
			Rules: devicefarm.DevicePoolRuleArray{
				&devicefarm.DevicePoolRuleArgs{
					Attribute: pulumi.String("OS_VERSION"),
					Operator:  pulumi.String("EQUALS"),
					Value:     pulumi.String("\"AVAILABLE\""),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import DeviceFarm Device Pools using their ARN. For example:

```sh $ pulumi import aws:devicefarm/devicePool:DevicePool example arn:aws:devicefarm:us-west-2:123456789012:devicepool:4fa784c7-ccb4-4dbf-ba4f-02198320daa1/4fa784c7-ccb4-4dbf-ba4f-02198320daa1 ```

func GetDevicePool

func GetDevicePool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DevicePoolState, opts ...pulumi.ResourceOption) (*DevicePool, error)

GetDevicePool gets an existing DevicePool 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 NewDevicePool

func NewDevicePool(ctx *pulumi.Context,
	name string, args *DevicePoolArgs, opts ...pulumi.ResourceOption) (*DevicePool, error)

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

func (*DevicePool) ElementType

func (*DevicePool) ElementType() reflect.Type

func (*DevicePool) ToDevicePoolOutput

func (i *DevicePool) ToDevicePoolOutput() DevicePoolOutput

func (*DevicePool) ToDevicePoolOutputWithContext

func (i *DevicePool) ToDevicePoolOutputWithContext(ctx context.Context) DevicePoolOutput

type DevicePoolArgs

type DevicePoolArgs struct {
	// The device pool's description.
	Description pulumi.StringPtrInput
	// The number of devices that Device Farm can add to your device pool.
	MaxDevices pulumi.IntPtrInput
	// The name of the Device Pool
	Name pulumi.StringPtrInput
	// The ARN of the project for the device pool.
	ProjectArn pulumi.StringInput
	// The device pool's rules. See Rule.
	Rules DevicePoolRuleArrayInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a DevicePool resource.

func (DevicePoolArgs) ElementType

func (DevicePoolArgs) ElementType() reflect.Type

type DevicePoolArray

type DevicePoolArray []DevicePoolInput

func (DevicePoolArray) ElementType

func (DevicePoolArray) ElementType() reflect.Type

func (DevicePoolArray) ToDevicePoolArrayOutput

func (i DevicePoolArray) ToDevicePoolArrayOutput() DevicePoolArrayOutput

func (DevicePoolArray) ToDevicePoolArrayOutputWithContext

func (i DevicePoolArray) ToDevicePoolArrayOutputWithContext(ctx context.Context) DevicePoolArrayOutput

type DevicePoolArrayInput

type DevicePoolArrayInput interface {
	pulumi.Input

	ToDevicePoolArrayOutput() DevicePoolArrayOutput
	ToDevicePoolArrayOutputWithContext(context.Context) DevicePoolArrayOutput
}

DevicePoolArrayInput is an input type that accepts DevicePoolArray and DevicePoolArrayOutput values. You can construct a concrete instance of `DevicePoolArrayInput` via:

DevicePoolArray{ DevicePoolArgs{...} }

type DevicePoolArrayOutput

type DevicePoolArrayOutput struct{ *pulumi.OutputState }

func (DevicePoolArrayOutput) ElementType

func (DevicePoolArrayOutput) ElementType() reflect.Type

func (DevicePoolArrayOutput) Index

func (DevicePoolArrayOutput) ToDevicePoolArrayOutput

func (o DevicePoolArrayOutput) ToDevicePoolArrayOutput() DevicePoolArrayOutput

func (DevicePoolArrayOutput) ToDevicePoolArrayOutputWithContext

func (o DevicePoolArrayOutput) ToDevicePoolArrayOutputWithContext(ctx context.Context) DevicePoolArrayOutput

type DevicePoolInput

type DevicePoolInput interface {
	pulumi.Input

	ToDevicePoolOutput() DevicePoolOutput
	ToDevicePoolOutputWithContext(ctx context.Context) DevicePoolOutput
}

type DevicePoolMap

type DevicePoolMap map[string]DevicePoolInput

func (DevicePoolMap) ElementType

func (DevicePoolMap) ElementType() reflect.Type

func (DevicePoolMap) ToDevicePoolMapOutput

func (i DevicePoolMap) ToDevicePoolMapOutput() DevicePoolMapOutput

func (DevicePoolMap) ToDevicePoolMapOutputWithContext

func (i DevicePoolMap) ToDevicePoolMapOutputWithContext(ctx context.Context) DevicePoolMapOutput

type DevicePoolMapInput

type DevicePoolMapInput interface {
	pulumi.Input

	ToDevicePoolMapOutput() DevicePoolMapOutput
	ToDevicePoolMapOutputWithContext(context.Context) DevicePoolMapOutput
}

DevicePoolMapInput is an input type that accepts DevicePoolMap and DevicePoolMapOutput values. You can construct a concrete instance of `DevicePoolMapInput` via:

DevicePoolMap{ "key": DevicePoolArgs{...} }

type DevicePoolMapOutput

type DevicePoolMapOutput struct{ *pulumi.OutputState }

func (DevicePoolMapOutput) ElementType

func (DevicePoolMapOutput) ElementType() reflect.Type

func (DevicePoolMapOutput) MapIndex

func (DevicePoolMapOutput) ToDevicePoolMapOutput

func (o DevicePoolMapOutput) ToDevicePoolMapOutput() DevicePoolMapOutput

func (DevicePoolMapOutput) ToDevicePoolMapOutputWithContext

func (o DevicePoolMapOutput) ToDevicePoolMapOutputWithContext(ctx context.Context) DevicePoolMapOutput

type DevicePoolOutput

type DevicePoolOutput struct{ *pulumi.OutputState }

func (DevicePoolOutput) Arn

The Amazon Resource Name of this Device Pool

func (DevicePoolOutput) Description

func (o DevicePoolOutput) Description() pulumi.StringPtrOutput

The device pool's description.

func (DevicePoolOutput) ElementType

func (DevicePoolOutput) ElementType() reflect.Type

func (DevicePoolOutput) MaxDevices

func (o DevicePoolOutput) MaxDevices() pulumi.IntPtrOutput

The number of devices that Device Farm can add to your device pool.

func (DevicePoolOutput) Name

The name of the Device Pool

func (DevicePoolOutput) ProjectArn

func (o DevicePoolOutput) ProjectArn() pulumi.StringOutput

The ARN of the project for the device pool.

func (DevicePoolOutput) Rules

The device pool's rules. See Rule.

func (DevicePoolOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (DevicePoolOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (DevicePoolOutput) ToDevicePoolOutput

func (o DevicePoolOutput) ToDevicePoolOutput() DevicePoolOutput

func (DevicePoolOutput) ToDevicePoolOutputWithContext

func (o DevicePoolOutput) ToDevicePoolOutputWithContext(ctx context.Context) DevicePoolOutput

func (DevicePoolOutput) Type

type DevicePoolRule

type DevicePoolRule struct {
	// The rule's stringified attribute. Valid values are: `APPIUM_VERSION`, `ARN`, `AVAILABILITY`, `FLEET_TYPE`, `FORM_FACTOR`, `INSTANCE_ARN`, `INSTANCE_LABELS`, `MANUFACTURER`, `MODEL`, `OS_VERSION`, `PLATFORM`, `REMOTE_ACCESS_ENABLED`, `REMOTE_DEBUG_ENABLED`.
	Attribute *string `pulumi:"attribute"`
	// Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute. Valid values are: `EQUALS`, `NOT_IN`, `IN`, `GREATER_THAN`, `GREATER_THAN_OR_EQUALS`, `LESS_THAN`, `LESS_THAN_OR_EQUALS`, `CONTAINS`.
	Operator *string `pulumi:"operator"`
	// The rule's value.
	Value *string `pulumi:"value"`
}

type DevicePoolRuleArgs

type DevicePoolRuleArgs struct {
	// The rule's stringified attribute. Valid values are: `APPIUM_VERSION`, `ARN`, `AVAILABILITY`, `FLEET_TYPE`, `FORM_FACTOR`, `INSTANCE_ARN`, `INSTANCE_LABELS`, `MANUFACTURER`, `MODEL`, `OS_VERSION`, `PLATFORM`, `REMOTE_ACCESS_ENABLED`, `REMOTE_DEBUG_ENABLED`.
	Attribute pulumi.StringPtrInput `pulumi:"attribute"`
	// Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute. Valid values are: `EQUALS`, `NOT_IN`, `IN`, `GREATER_THAN`, `GREATER_THAN_OR_EQUALS`, `LESS_THAN`, `LESS_THAN_OR_EQUALS`, `CONTAINS`.
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// The rule's value.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (DevicePoolRuleArgs) ElementType

func (DevicePoolRuleArgs) ElementType() reflect.Type

func (DevicePoolRuleArgs) ToDevicePoolRuleOutput

func (i DevicePoolRuleArgs) ToDevicePoolRuleOutput() DevicePoolRuleOutput

func (DevicePoolRuleArgs) ToDevicePoolRuleOutputWithContext

func (i DevicePoolRuleArgs) ToDevicePoolRuleOutputWithContext(ctx context.Context) DevicePoolRuleOutput

type DevicePoolRuleArray

type DevicePoolRuleArray []DevicePoolRuleInput

func (DevicePoolRuleArray) ElementType

func (DevicePoolRuleArray) ElementType() reflect.Type

func (DevicePoolRuleArray) ToDevicePoolRuleArrayOutput

func (i DevicePoolRuleArray) ToDevicePoolRuleArrayOutput() DevicePoolRuleArrayOutput

func (DevicePoolRuleArray) ToDevicePoolRuleArrayOutputWithContext

func (i DevicePoolRuleArray) ToDevicePoolRuleArrayOutputWithContext(ctx context.Context) DevicePoolRuleArrayOutput

type DevicePoolRuleArrayInput

type DevicePoolRuleArrayInput interface {
	pulumi.Input

	ToDevicePoolRuleArrayOutput() DevicePoolRuleArrayOutput
	ToDevicePoolRuleArrayOutputWithContext(context.Context) DevicePoolRuleArrayOutput
}

DevicePoolRuleArrayInput is an input type that accepts DevicePoolRuleArray and DevicePoolRuleArrayOutput values. You can construct a concrete instance of `DevicePoolRuleArrayInput` via:

DevicePoolRuleArray{ DevicePoolRuleArgs{...} }

type DevicePoolRuleArrayOutput

type DevicePoolRuleArrayOutput struct{ *pulumi.OutputState }

func (DevicePoolRuleArrayOutput) ElementType

func (DevicePoolRuleArrayOutput) ElementType() reflect.Type

func (DevicePoolRuleArrayOutput) Index

func (DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutput

func (o DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutput() DevicePoolRuleArrayOutput

func (DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutputWithContext

func (o DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutputWithContext(ctx context.Context) DevicePoolRuleArrayOutput

type DevicePoolRuleInput

type DevicePoolRuleInput interface {
	pulumi.Input

	ToDevicePoolRuleOutput() DevicePoolRuleOutput
	ToDevicePoolRuleOutputWithContext(context.Context) DevicePoolRuleOutput
}

DevicePoolRuleInput is an input type that accepts DevicePoolRuleArgs and DevicePoolRuleOutput values. You can construct a concrete instance of `DevicePoolRuleInput` via:

DevicePoolRuleArgs{...}

type DevicePoolRuleOutput

type DevicePoolRuleOutput struct{ *pulumi.OutputState }

func (DevicePoolRuleOutput) Attribute

The rule's stringified attribute. Valid values are: `APPIUM_VERSION`, `ARN`, `AVAILABILITY`, `FLEET_TYPE`, `FORM_FACTOR`, `INSTANCE_ARN`, `INSTANCE_LABELS`, `MANUFACTURER`, `MODEL`, `OS_VERSION`, `PLATFORM`, `REMOTE_ACCESS_ENABLED`, `REMOTE_DEBUG_ENABLED`.

func (DevicePoolRuleOutput) ElementType

func (DevicePoolRuleOutput) ElementType() reflect.Type

func (DevicePoolRuleOutput) Operator

Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute. Valid values are: `EQUALS`, `NOT_IN`, `IN`, `GREATER_THAN`, `GREATER_THAN_OR_EQUALS`, `LESS_THAN`, `LESS_THAN_OR_EQUALS`, `CONTAINS`.

func (DevicePoolRuleOutput) ToDevicePoolRuleOutput

func (o DevicePoolRuleOutput) ToDevicePoolRuleOutput() DevicePoolRuleOutput

func (DevicePoolRuleOutput) ToDevicePoolRuleOutputWithContext

func (o DevicePoolRuleOutput) ToDevicePoolRuleOutputWithContext(ctx context.Context) DevicePoolRuleOutput

func (DevicePoolRuleOutput) Value

The rule's value.

type DevicePoolState

type DevicePoolState struct {
	// The Amazon Resource Name of this Device Pool
	Arn pulumi.StringPtrInput
	// The device pool's description.
	Description pulumi.StringPtrInput
	// The number of devices that Device Farm can add to your device pool.
	MaxDevices pulumi.IntPtrInput
	// The name of the Device Pool
	Name pulumi.StringPtrInput
	// The ARN of the project for the device pool.
	ProjectArn pulumi.StringPtrInput
	// The device pool's rules. See Rule.
	Rules DevicePoolRuleArrayInput
	// A map of tags to assign to the resource. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	Type    pulumi.StringPtrInput
}

func (DevicePoolState) ElementType

func (DevicePoolState) ElementType() reflect.Type

type InstanceProfile

type InstanceProfile struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name of this instance profile.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The description of the instance profile.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.
	ExcludeAppPackagesFromCleanups pulumi.StringArrayOutput `pulumi:"excludeAppPackagesFromCleanups"`
	// The name for the instance profile.
	Name pulumi.StringOutput `pulumi:"name"`
	// When set to `true`, Device Farm removes app packages after a test run. The default value is `false` for private devices.
	PackageCleanup pulumi.BoolPtrOutput `pulumi:"packageCleanup"`
	// When set to `true`, Device Farm reboots the instance after a test run. The default value is `true`.
	RebootAfterUse pulumi.BoolPtrOutput `pulumi:"rebootAfterUse"`
	// A map of tags to assign to the resource. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a resource to manage AWS Device Farm Instance Profiles. ∂ > **NOTE:** AWS currently has limited regional support for Device Farm (e.g., `us-west-2`). See [AWS Device Farm endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/devicefarm.html) for information on supported regions.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devicefarm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devicefarm.NewInstanceProfile(ctx, "example", &devicefarm.InstanceProfileArgs{
			Name: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import DeviceFarm Instance Profiles using their ARN. For example:

```sh $ pulumi import aws:devicefarm/instanceProfile:InstanceProfile example arn:aws:devicefarm:us-west-2:123456789012:instanceprofile:4fa784c7-ccb4-4dbf-ba4f-02198320daa1 ```

func GetInstanceProfile

func GetInstanceProfile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceProfileState, opts ...pulumi.ResourceOption) (*InstanceProfile, error)

GetInstanceProfile gets an existing InstanceProfile 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 NewInstanceProfile

func NewInstanceProfile(ctx *pulumi.Context,
	name string, args *InstanceProfileArgs, opts ...pulumi.ResourceOption) (*InstanceProfile, error)

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

func (*InstanceProfile) ElementType

func (*InstanceProfile) ElementType() reflect.Type

func (*InstanceProfile) ToInstanceProfileOutput

func (i *InstanceProfile) ToInstanceProfileOutput() InstanceProfileOutput

func (*InstanceProfile) ToInstanceProfileOutputWithContext

func (i *InstanceProfile) ToInstanceProfileOutputWithContext(ctx context.Context) InstanceProfileOutput

type InstanceProfileArgs

type InstanceProfileArgs struct {
	// The description of the instance profile.
	Description pulumi.StringPtrInput
	// An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.
	ExcludeAppPackagesFromCleanups pulumi.StringArrayInput
	// The name for the instance profile.
	Name pulumi.StringPtrInput
	// When set to `true`, Device Farm removes app packages after a test run. The default value is `false` for private devices.
	PackageCleanup pulumi.BoolPtrInput
	// When set to `true`, Device Farm reboots the instance after a test run. The default value is `true`.
	RebootAfterUse pulumi.BoolPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a InstanceProfile resource.

func (InstanceProfileArgs) ElementType

func (InstanceProfileArgs) ElementType() reflect.Type

type InstanceProfileArray

type InstanceProfileArray []InstanceProfileInput

func (InstanceProfileArray) ElementType

func (InstanceProfileArray) ElementType() reflect.Type

func (InstanceProfileArray) ToInstanceProfileArrayOutput

func (i InstanceProfileArray) ToInstanceProfileArrayOutput() InstanceProfileArrayOutput

func (InstanceProfileArray) ToInstanceProfileArrayOutputWithContext

func (i InstanceProfileArray) ToInstanceProfileArrayOutputWithContext(ctx context.Context) InstanceProfileArrayOutput

type InstanceProfileArrayInput

type InstanceProfileArrayInput interface {
	pulumi.Input

	ToInstanceProfileArrayOutput() InstanceProfileArrayOutput
	ToInstanceProfileArrayOutputWithContext(context.Context) InstanceProfileArrayOutput
}

InstanceProfileArrayInput is an input type that accepts InstanceProfileArray and InstanceProfileArrayOutput values. You can construct a concrete instance of `InstanceProfileArrayInput` via:

InstanceProfileArray{ InstanceProfileArgs{...} }

type InstanceProfileArrayOutput

type InstanceProfileArrayOutput struct{ *pulumi.OutputState }

func (InstanceProfileArrayOutput) ElementType

func (InstanceProfileArrayOutput) ElementType() reflect.Type

func (InstanceProfileArrayOutput) Index

func (InstanceProfileArrayOutput) ToInstanceProfileArrayOutput

func (o InstanceProfileArrayOutput) ToInstanceProfileArrayOutput() InstanceProfileArrayOutput

func (InstanceProfileArrayOutput) ToInstanceProfileArrayOutputWithContext

func (o InstanceProfileArrayOutput) ToInstanceProfileArrayOutputWithContext(ctx context.Context) InstanceProfileArrayOutput

type InstanceProfileInput

type InstanceProfileInput interface {
	pulumi.Input

	ToInstanceProfileOutput() InstanceProfileOutput
	ToInstanceProfileOutputWithContext(ctx context.Context) InstanceProfileOutput
}

type InstanceProfileMap

type InstanceProfileMap map[string]InstanceProfileInput

func (InstanceProfileMap) ElementType

func (InstanceProfileMap) ElementType() reflect.Type

func (InstanceProfileMap) ToInstanceProfileMapOutput

func (i InstanceProfileMap) ToInstanceProfileMapOutput() InstanceProfileMapOutput

func (InstanceProfileMap) ToInstanceProfileMapOutputWithContext

func (i InstanceProfileMap) ToInstanceProfileMapOutputWithContext(ctx context.Context) InstanceProfileMapOutput

type InstanceProfileMapInput

type InstanceProfileMapInput interface {
	pulumi.Input

	ToInstanceProfileMapOutput() InstanceProfileMapOutput
	ToInstanceProfileMapOutputWithContext(context.Context) InstanceProfileMapOutput
}

InstanceProfileMapInput is an input type that accepts InstanceProfileMap and InstanceProfileMapOutput values. You can construct a concrete instance of `InstanceProfileMapInput` via:

InstanceProfileMap{ "key": InstanceProfileArgs{...} }

type InstanceProfileMapOutput

type InstanceProfileMapOutput struct{ *pulumi.OutputState }

func (InstanceProfileMapOutput) ElementType

func (InstanceProfileMapOutput) ElementType() reflect.Type

func (InstanceProfileMapOutput) MapIndex

func (InstanceProfileMapOutput) ToInstanceProfileMapOutput

func (o InstanceProfileMapOutput) ToInstanceProfileMapOutput() InstanceProfileMapOutput

func (InstanceProfileMapOutput) ToInstanceProfileMapOutputWithContext

func (o InstanceProfileMapOutput) ToInstanceProfileMapOutputWithContext(ctx context.Context) InstanceProfileMapOutput

type InstanceProfileOutput

type InstanceProfileOutput struct{ *pulumi.OutputState }

func (InstanceProfileOutput) Arn

The Amazon Resource Name of this instance profile.

func (InstanceProfileOutput) Description

The description of the instance profile.

func (InstanceProfileOutput) ElementType

func (InstanceProfileOutput) ElementType() reflect.Type

func (InstanceProfileOutput) ExcludeAppPackagesFromCleanups

func (o InstanceProfileOutput) ExcludeAppPackagesFromCleanups() pulumi.StringArrayOutput

An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.

func (InstanceProfileOutput) Name

The name for the instance profile.

func (InstanceProfileOutput) PackageCleanup

func (o InstanceProfileOutput) PackageCleanup() pulumi.BoolPtrOutput

When set to `true`, Device Farm removes app packages after a test run. The default value is `false` for private devices.

func (InstanceProfileOutput) RebootAfterUse

func (o InstanceProfileOutput) RebootAfterUse() pulumi.BoolPtrOutput

When set to `true`, Device Farm reboots the instance after a test run. The default value is `true`.

func (InstanceProfileOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (InstanceProfileOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (InstanceProfileOutput) ToInstanceProfileOutput

func (o InstanceProfileOutput) ToInstanceProfileOutput() InstanceProfileOutput

func (InstanceProfileOutput) ToInstanceProfileOutputWithContext

func (o InstanceProfileOutput) ToInstanceProfileOutputWithContext(ctx context.Context) InstanceProfileOutput

type InstanceProfileState

type InstanceProfileState struct {
	// The Amazon Resource Name of this instance profile.
	Arn pulumi.StringPtrInput
	// The description of the instance profile.
	Description pulumi.StringPtrInput
	// An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.
	ExcludeAppPackagesFromCleanups pulumi.StringArrayInput
	// The name for the instance profile.
	Name pulumi.StringPtrInput
	// When set to `true`, Device Farm removes app packages after a test run. The default value is `false` for private devices.
	PackageCleanup pulumi.BoolPtrInput
	// When set to `true`, Device Farm reboots the instance after a test run. The default value is `true`.
	RebootAfterUse pulumi.BoolPtrInput
	// A map of tags to assign to the resource. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (InstanceProfileState) ElementType

func (InstanceProfileState) ElementType() reflect.Type

type NetworkProfile

type NetworkProfile struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name of this network profile.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The description of the network profile.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`.
	DownlinkBandwidthBits pulumi.IntPtrOutput `pulumi:"downlinkBandwidthBits"`
	// Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`.
	DownlinkDelayMs pulumi.IntPtrOutput `pulumi:"downlinkDelayMs"`
	// Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`.
	DownlinkJitterMs pulumi.IntPtrOutput `pulumi:"downlinkJitterMs"`
	// Proportion of received packets that fail to arrive from `0` to `100` percent.
	DownlinkLossPercent pulumi.IntPtrOutput `pulumi:"downlinkLossPercent"`
	// The name for the network profile.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ARN of the project for the network profile.
	ProjectArn pulumi.StringOutput `pulumi:"projectArn"`
	// A map of tags to assign to the resource. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The type of network profile to create. Valid values are listed are `PRIVATE` and `CURATED`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
	// The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`.
	UplinkBandwidthBits pulumi.IntPtrOutput `pulumi:"uplinkBandwidthBits"`
	// Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`.
	UplinkDelayMs pulumi.IntPtrOutput `pulumi:"uplinkDelayMs"`
	// Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`.
	UplinkJitterMs pulumi.IntPtrOutput `pulumi:"uplinkJitterMs"`
	// Proportion of received packets that fail to arrive from `0` to `100` percent.
	UplinkLossPercent pulumi.IntPtrOutput `pulumi:"uplinkLossPercent"`
}

Provides a resource to manage AWS Device Farm Network Profiles. ∂ > **NOTE:** AWS currently has limited regional support for Device Farm (e.g., `us-west-2`). See [AWS Device Farm endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/devicefarm.html) for information on supported regions.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devicefarm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := devicefarm.NewProject(ctx, "example", &devicefarm.ProjectArgs{
			Name: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = devicefarm.NewNetworkProfile(ctx, "example", &devicefarm.NetworkProfileArgs{
			Name:       pulumi.String("example"),
			ProjectArn: example.Arn,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import DeviceFarm Network Profiles using their ARN. For example:

```sh $ pulumi import aws:devicefarm/networkProfile:NetworkProfile example arn:aws:devicefarm:us-west-2:123456789012:networkprofile:4fa784c7-ccb4-4dbf-ba4f-02198320daa1 ```

func GetNetworkProfile

func GetNetworkProfile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkProfileState, opts ...pulumi.ResourceOption) (*NetworkProfile, error)

GetNetworkProfile gets an existing NetworkProfile 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 NewNetworkProfile

func NewNetworkProfile(ctx *pulumi.Context,
	name string, args *NetworkProfileArgs, opts ...pulumi.ResourceOption) (*NetworkProfile, error)

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

func (*NetworkProfile) ElementType

func (*NetworkProfile) ElementType() reflect.Type

func (*NetworkProfile) ToNetworkProfileOutput

func (i *NetworkProfile) ToNetworkProfileOutput() NetworkProfileOutput

func (*NetworkProfile) ToNetworkProfileOutputWithContext

func (i *NetworkProfile) ToNetworkProfileOutputWithContext(ctx context.Context) NetworkProfileOutput

type NetworkProfileArgs

type NetworkProfileArgs struct {
	// The description of the network profile.
	Description pulumi.StringPtrInput
	// The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`.
	DownlinkBandwidthBits pulumi.IntPtrInput
	// Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`.
	DownlinkDelayMs pulumi.IntPtrInput
	// Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`.
	DownlinkJitterMs pulumi.IntPtrInput
	// Proportion of received packets that fail to arrive from `0` to `100` percent.
	DownlinkLossPercent pulumi.IntPtrInput
	// The name for the network profile.
	Name pulumi.StringPtrInput
	// The ARN of the project for the network profile.
	ProjectArn pulumi.StringInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The type of network profile to create. Valid values are listed are `PRIVATE` and `CURATED`.
	Type pulumi.StringPtrInput
	// The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`.
	UplinkBandwidthBits pulumi.IntPtrInput
	// Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`.
	UplinkDelayMs pulumi.IntPtrInput
	// Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`.
	UplinkJitterMs pulumi.IntPtrInput
	// Proportion of received packets that fail to arrive from `0` to `100` percent.
	UplinkLossPercent pulumi.IntPtrInput
}

The set of arguments for constructing a NetworkProfile resource.

func (NetworkProfileArgs) ElementType

func (NetworkProfileArgs) ElementType() reflect.Type

type NetworkProfileArray

type NetworkProfileArray []NetworkProfileInput

func (NetworkProfileArray) ElementType

func (NetworkProfileArray) ElementType() reflect.Type

func (NetworkProfileArray) ToNetworkProfileArrayOutput

func (i NetworkProfileArray) ToNetworkProfileArrayOutput() NetworkProfileArrayOutput

func (NetworkProfileArray) ToNetworkProfileArrayOutputWithContext

func (i NetworkProfileArray) ToNetworkProfileArrayOutputWithContext(ctx context.Context) NetworkProfileArrayOutput

type NetworkProfileArrayInput

type NetworkProfileArrayInput interface {
	pulumi.Input

	ToNetworkProfileArrayOutput() NetworkProfileArrayOutput
	ToNetworkProfileArrayOutputWithContext(context.Context) NetworkProfileArrayOutput
}

NetworkProfileArrayInput is an input type that accepts NetworkProfileArray and NetworkProfileArrayOutput values. You can construct a concrete instance of `NetworkProfileArrayInput` via:

NetworkProfileArray{ NetworkProfileArgs{...} }

type NetworkProfileArrayOutput

type NetworkProfileArrayOutput struct{ *pulumi.OutputState }

func (NetworkProfileArrayOutput) ElementType

func (NetworkProfileArrayOutput) ElementType() reflect.Type

func (NetworkProfileArrayOutput) Index

func (NetworkProfileArrayOutput) ToNetworkProfileArrayOutput

func (o NetworkProfileArrayOutput) ToNetworkProfileArrayOutput() NetworkProfileArrayOutput

func (NetworkProfileArrayOutput) ToNetworkProfileArrayOutputWithContext

func (o NetworkProfileArrayOutput) ToNetworkProfileArrayOutputWithContext(ctx context.Context) NetworkProfileArrayOutput

type NetworkProfileInput

type NetworkProfileInput interface {
	pulumi.Input

	ToNetworkProfileOutput() NetworkProfileOutput
	ToNetworkProfileOutputWithContext(ctx context.Context) NetworkProfileOutput
}

type NetworkProfileMap

type NetworkProfileMap map[string]NetworkProfileInput

func (NetworkProfileMap) ElementType

func (NetworkProfileMap) ElementType() reflect.Type

func (NetworkProfileMap) ToNetworkProfileMapOutput

func (i NetworkProfileMap) ToNetworkProfileMapOutput() NetworkProfileMapOutput

func (NetworkProfileMap) ToNetworkProfileMapOutputWithContext

func (i NetworkProfileMap) ToNetworkProfileMapOutputWithContext(ctx context.Context) NetworkProfileMapOutput

type NetworkProfileMapInput

type NetworkProfileMapInput interface {
	pulumi.Input

	ToNetworkProfileMapOutput() NetworkProfileMapOutput
	ToNetworkProfileMapOutputWithContext(context.Context) NetworkProfileMapOutput
}

NetworkProfileMapInput is an input type that accepts NetworkProfileMap and NetworkProfileMapOutput values. You can construct a concrete instance of `NetworkProfileMapInput` via:

NetworkProfileMap{ "key": NetworkProfileArgs{...} }

type NetworkProfileMapOutput

type NetworkProfileMapOutput struct{ *pulumi.OutputState }

func (NetworkProfileMapOutput) ElementType

func (NetworkProfileMapOutput) ElementType() reflect.Type

func (NetworkProfileMapOutput) MapIndex

func (NetworkProfileMapOutput) ToNetworkProfileMapOutput

func (o NetworkProfileMapOutput) ToNetworkProfileMapOutput() NetworkProfileMapOutput

func (NetworkProfileMapOutput) ToNetworkProfileMapOutputWithContext

func (o NetworkProfileMapOutput) ToNetworkProfileMapOutputWithContext(ctx context.Context) NetworkProfileMapOutput

type NetworkProfileOutput

type NetworkProfileOutput struct{ *pulumi.OutputState }

func (NetworkProfileOutput) Arn

The Amazon Resource Name of this network profile.

func (NetworkProfileOutput) Description

The description of the network profile.

func (NetworkProfileOutput) DownlinkBandwidthBits

func (o NetworkProfileOutput) DownlinkBandwidthBits() pulumi.IntPtrOutput

The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`.

func (NetworkProfileOutput) DownlinkDelayMs

func (o NetworkProfileOutput) DownlinkDelayMs() pulumi.IntPtrOutput

Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`.

func (NetworkProfileOutput) DownlinkJitterMs

func (o NetworkProfileOutput) DownlinkJitterMs() pulumi.IntPtrOutput

Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`.

func (NetworkProfileOutput) DownlinkLossPercent

func (o NetworkProfileOutput) DownlinkLossPercent() pulumi.IntPtrOutput

Proportion of received packets that fail to arrive from `0` to `100` percent.

func (NetworkProfileOutput) ElementType

func (NetworkProfileOutput) ElementType() reflect.Type

func (NetworkProfileOutput) Name

The name for the network profile.

func (NetworkProfileOutput) ProjectArn

func (o NetworkProfileOutput) ProjectArn() pulumi.StringOutput

The ARN of the project for the network profile.

func (NetworkProfileOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (NetworkProfileOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (NetworkProfileOutput) ToNetworkProfileOutput

func (o NetworkProfileOutput) ToNetworkProfileOutput() NetworkProfileOutput

func (NetworkProfileOutput) ToNetworkProfileOutputWithContext

func (o NetworkProfileOutput) ToNetworkProfileOutputWithContext(ctx context.Context) NetworkProfileOutput

func (NetworkProfileOutput) Type

The type of network profile to create. Valid values are listed are `PRIVATE` and `CURATED`.

func (NetworkProfileOutput) UplinkBandwidthBits

func (o NetworkProfileOutput) UplinkBandwidthBits() pulumi.IntPtrOutput

The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`.

func (NetworkProfileOutput) UplinkDelayMs

func (o NetworkProfileOutput) UplinkDelayMs() pulumi.IntPtrOutput

Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`.

func (NetworkProfileOutput) UplinkJitterMs

func (o NetworkProfileOutput) UplinkJitterMs() pulumi.IntPtrOutput

Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`.

func (NetworkProfileOutput) UplinkLossPercent

func (o NetworkProfileOutput) UplinkLossPercent() pulumi.IntPtrOutput

Proportion of received packets that fail to arrive from `0` to `100` percent.

type NetworkProfileState

type NetworkProfileState struct {
	// The Amazon Resource Name of this network profile.
	Arn pulumi.StringPtrInput
	// The description of the network profile.
	Description pulumi.StringPtrInput
	// The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`.
	DownlinkBandwidthBits pulumi.IntPtrInput
	// Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`.
	DownlinkDelayMs pulumi.IntPtrInput
	// Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`.
	DownlinkJitterMs pulumi.IntPtrInput
	// Proportion of received packets that fail to arrive from `0` to `100` percent.
	DownlinkLossPercent pulumi.IntPtrInput
	// The name for the network profile.
	Name pulumi.StringPtrInput
	// The ARN of the project for the network profile.
	ProjectArn pulumi.StringPtrInput
	// A map of tags to assign to the resource. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The type of network profile to create. Valid values are listed are `PRIVATE` and `CURATED`.
	Type pulumi.StringPtrInput
	// The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`.
	UplinkBandwidthBits pulumi.IntPtrInput
	// Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`.
	UplinkDelayMs pulumi.IntPtrInput
	// Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`.
	UplinkJitterMs pulumi.IntPtrInput
	// Proportion of received packets that fail to arrive from `0` to `100` percent.
	UplinkLossPercent pulumi.IntPtrInput
}

func (NetworkProfileState) ElementType

func (NetworkProfileState) ElementType() reflect.Type

type Project

type Project struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name of this project
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.
	DefaultJobTimeoutMinutes pulumi.IntPtrOutput `pulumi:"defaultJobTimeoutMinutes"`
	// The name of the project
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the resource. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a resource to manage AWS Device Farm Projects.

For more information about Device Farm Projects, see the AWS Documentation on [Device Farm Projects][aws-get-project].

> **NOTE:** AWS currently has limited regional support for Device Farm (e.g., `us-west-2`). See [AWS Device Farm endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/devicefarm.html) for information on supported regions.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devicefarm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devicefarm.NewProject(ctx, "awesome_devices", &devicefarm.ProjectArgs{
			Name: pulumi.String("my-device-farm"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import DeviceFarm Projects using their ARN. For example:

```sh $ pulumi import aws:devicefarm/project:Project example arn:aws:devicefarm:us-west-2:123456789012:project:4fa784c7-ccb4-4dbf-ba4f-02198320daa1 ```

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)

GetProject gets an existing Project 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 NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)

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

func (*Project) ElementType

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectArgs

type ProjectArgs struct {
	// Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.
	DefaultJobTimeoutMinutes pulumi.IntPtrInput
	// The name of the project
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectMap

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) Arn

The Amazon Resource Name of this project

func (ProjectOutput) DefaultJobTimeoutMinutes

func (o ProjectOutput) DefaultJobTimeoutMinutes() pulumi.IntPtrOutput

Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) Name

The name of the project

func (ProjectOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ProjectOutput) TagsAll deprecated

func (o ProjectOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectState

type ProjectState struct {
	// The Amazon Resource Name of this project
	Arn pulumi.StringPtrInput
	// Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.
	DefaultJobTimeoutMinutes pulumi.IntPtrInput
	// The name of the project
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type TestGridProject

type TestGridProject struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name of this Test Grid Project.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Human-readable description of the project.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the Selenium testing project.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the resource. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The VPC security groups and subnets that are attached to a project. See VPC Config below.
	VpcConfig TestGridProjectVpcConfigPtrOutput `pulumi:"vpcConfig"`
}

Provides a resource to manage AWS Device Farm Test Grid Projects.

> **NOTE:** AWS currently has limited regional support for Device Farm (e.g., `us-west-2`). See [AWS Device Farm endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/devicefarm.html) for information on supported regions.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devicefarm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := devicefarm.NewTestGridProject(ctx, "example", &devicefarm.TestGridProjectArgs{ Name: pulumi.String("example"), VpcConfig: &devicefarm.TestGridProjectVpcConfigArgs{ VpcId: pulumi.Any(exampleAwsVpc.Id), SubnetIds: []pulumi.String(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:4,24-46)), SecurityGroupIds: []pulumi.String(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:5,24-53)), }, }) if err != nil { return err } return nil }) } ```

## Import

Using `pulumi import`, import DeviceFarm Test Grid Projects using their ARN. For example:

```sh $ pulumi import aws:devicefarm/testGridProject:TestGridProject example arn:aws:devicefarm:us-west-2:123456789012:testgrid-project:4fa784c7-ccb4-4dbf-ba4f-02198320daa1 ```

func GetTestGridProject

func GetTestGridProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TestGridProjectState, opts ...pulumi.ResourceOption) (*TestGridProject, error)

GetTestGridProject gets an existing TestGridProject 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 NewTestGridProject

func NewTestGridProject(ctx *pulumi.Context,
	name string, args *TestGridProjectArgs, opts ...pulumi.ResourceOption) (*TestGridProject, error)

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

func (*TestGridProject) ElementType

func (*TestGridProject) ElementType() reflect.Type

func (*TestGridProject) ToTestGridProjectOutput

func (i *TestGridProject) ToTestGridProjectOutput() TestGridProjectOutput

func (*TestGridProject) ToTestGridProjectOutputWithContext

func (i *TestGridProject) ToTestGridProjectOutputWithContext(ctx context.Context) TestGridProjectOutput

type TestGridProjectArgs

type TestGridProjectArgs struct {
	// Human-readable description of the project.
	Description pulumi.StringPtrInput
	// The name of the Selenium testing project.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The VPC security groups and subnets that are attached to a project. See VPC Config below.
	VpcConfig TestGridProjectVpcConfigPtrInput
}

The set of arguments for constructing a TestGridProject resource.

func (TestGridProjectArgs) ElementType

func (TestGridProjectArgs) ElementType() reflect.Type

type TestGridProjectArray

type TestGridProjectArray []TestGridProjectInput

func (TestGridProjectArray) ElementType

func (TestGridProjectArray) ElementType() reflect.Type

func (TestGridProjectArray) ToTestGridProjectArrayOutput

func (i TestGridProjectArray) ToTestGridProjectArrayOutput() TestGridProjectArrayOutput

func (TestGridProjectArray) ToTestGridProjectArrayOutputWithContext

func (i TestGridProjectArray) ToTestGridProjectArrayOutputWithContext(ctx context.Context) TestGridProjectArrayOutput

type TestGridProjectArrayInput

type TestGridProjectArrayInput interface {
	pulumi.Input

	ToTestGridProjectArrayOutput() TestGridProjectArrayOutput
	ToTestGridProjectArrayOutputWithContext(context.Context) TestGridProjectArrayOutput
}

TestGridProjectArrayInput is an input type that accepts TestGridProjectArray and TestGridProjectArrayOutput values. You can construct a concrete instance of `TestGridProjectArrayInput` via:

TestGridProjectArray{ TestGridProjectArgs{...} }

type TestGridProjectArrayOutput

type TestGridProjectArrayOutput struct{ *pulumi.OutputState }

func (TestGridProjectArrayOutput) ElementType

func (TestGridProjectArrayOutput) ElementType() reflect.Type

func (TestGridProjectArrayOutput) Index

func (TestGridProjectArrayOutput) ToTestGridProjectArrayOutput

func (o TestGridProjectArrayOutput) ToTestGridProjectArrayOutput() TestGridProjectArrayOutput

func (TestGridProjectArrayOutput) ToTestGridProjectArrayOutputWithContext

func (o TestGridProjectArrayOutput) ToTestGridProjectArrayOutputWithContext(ctx context.Context) TestGridProjectArrayOutput

type TestGridProjectInput

type TestGridProjectInput interface {
	pulumi.Input

	ToTestGridProjectOutput() TestGridProjectOutput
	ToTestGridProjectOutputWithContext(ctx context.Context) TestGridProjectOutput
}

type TestGridProjectMap

type TestGridProjectMap map[string]TestGridProjectInput

func (TestGridProjectMap) ElementType

func (TestGridProjectMap) ElementType() reflect.Type

func (TestGridProjectMap) ToTestGridProjectMapOutput

func (i TestGridProjectMap) ToTestGridProjectMapOutput() TestGridProjectMapOutput

func (TestGridProjectMap) ToTestGridProjectMapOutputWithContext

func (i TestGridProjectMap) ToTestGridProjectMapOutputWithContext(ctx context.Context) TestGridProjectMapOutput

type TestGridProjectMapInput

type TestGridProjectMapInput interface {
	pulumi.Input

	ToTestGridProjectMapOutput() TestGridProjectMapOutput
	ToTestGridProjectMapOutputWithContext(context.Context) TestGridProjectMapOutput
}

TestGridProjectMapInput is an input type that accepts TestGridProjectMap and TestGridProjectMapOutput values. You can construct a concrete instance of `TestGridProjectMapInput` via:

TestGridProjectMap{ "key": TestGridProjectArgs{...} }

type TestGridProjectMapOutput

type TestGridProjectMapOutput struct{ *pulumi.OutputState }

func (TestGridProjectMapOutput) ElementType

func (TestGridProjectMapOutput) ElementType() reflect.Type

func (TestGridProjectMapOutput) MapIndex

func (TestGridProjectMapOutput) ToTestGridProjectMapOutput

func (o TestGridProjectMapOutput) ToTestGridProjectMapOutput() TestGridProjectMapOutput

func (TestGridProjectMapOutput) ToTestGridProjectMapOutputWithContext

func (o TestGridProjectMapOutput) ToTestGridProjectMapOutputWithContext(ctx context.Context) TestGridProjectMapOutput

type TestGridProjectOutput

type TestGridProjectOutput struct{ *pulumi.OutputState }

func (TestGridProjectOutput) Arn

The Amazon Resource Name of this Test Grid Project.

func (TestGridProjectOutput) Description

Human-readable description of the project.

func (TestGridProjectOutput) ElementType

func (TestGridProjectOutput) ElementType() reflect.Type

func (TestGridProjectOutput) Name

The name of the Selenium testing project.

func (TestGridProjectOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (TestGridProjectOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (TestGridProjectOutput) ToTestGridProjectOutput

func (o TestGridProjectOutput) ToTestGridProjectOutput() TestGridProjectOutput

func (TestGridProjectOutput) ToTestGridProjectOutputWithContext

func (o TestGridProjectOutput) ToTestGridProjectOutputWithContext(ctx context.Context) TestGridProjectOutput

func (TestGridProjectOutput) VpcConfig

The VPC security groups and subnets that are attached to a project. See VPC Config below.

type TestGridProjectState

type TestGridProjectState struct {
	// The Amazon Resource Name of this Test Grid Project.
	Arn pulumi.StringPtrInput
	// Human-readable description of the project.
	Description pulumi.StringPtrInput
	// The name of the Selenium testing project.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The VPC security groups and subnets that are attached to a project. See VPC Config below.
	VpcConfig TestGridProjectVpcConfigPtrInput
}

func (TestGridProjectState) ElementType

func (TestGridProjectState) ElementType() reflect.Type

type TestGridProjectVpcConfig

type TestGridProjectVpcConfig struct {
	// A list of VPC security group IDs in your Amazon VPC.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// A list of VPC subnet IDs in your Amazon VPC.
	SubnetIds []string `pulumi:"subnetIds"`
	// The ID of the Amazon VPC.
	VpcId string `pulumi:"vpcId"`
}

type TestGridProjectVpcConfigArgs

type TestGridProjectVpcConfigArgs struct {
	// A list of VPC security group IDs in your Amazon VPC.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// A list of VPC subnet IDs in your Amazon VPC.
	SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"`
	// The ID of the Amazon VPC.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (TestGridProjectVpcConfigArgs) ElementType

func (TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutput

func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutput() TestGridProjectVpcConfigOutput

func (TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutputWithContext

func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutputWithContext(ctx context.Context) TestGridProjectVpcConfigOutput

func (TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutput

func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput

func (TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutputWithContext

func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutputWithContext(ctx context.Context) TestGridProjectVpcConfigPtrOutput

type TestGridProjectVpcConfigInput

type TestGridProjectVpcConfigInput interface {
	pulumi.Input

	ToTestGridProjectVpcConfigOutput() TestGridProjectVpcConfigOutput
	ToTestGridProjectVpcConfigOutputWithContext(context.Context) TestGridProjectVpcConfigOutput
}

TestGridProjectVpcConfigInput is an input type that accepts TestGridProjectVpcConfigArgs and TestGridProjectVpcConfigOutput values. You can construct a concrete instance of `TestGridProjectVpcConfigInput` via:

TestGridProjectVpcConfigArgs{...}

type TestGridProjectVpcConfigOutput

type TestGridProjectVpcConfigOutput struct{ *pulumi.OutputState }

func (TestGridProjectVpcConfigOutput) ElementType

func (TestGridProjectVpcConfigOutput) SecurityGroupIds

A list of VPC security group IDs in your Amazon VPC.

func (TestGridProjectVpcConfigOutput) SubnetIds

A list of VPC subnet IDs in your Amazon VPC.

func (TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutput

func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutput() TestGridProjectVpcConfigOutput

func (TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutputWithContext

func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutputWithContext(ctx context.Context) TestGridProjectVpcConfigOutput

func (TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutput

func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput

func (TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutputWithContext

func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutputWithContext(ctx context.Context) TestGridProjectVpcConfigPtrOutput

func (TestGridProjectVpcConfigOutput) VpcId

The ID of the Amazon VPC.

type TestGridProjectVpcConfigPtrInput

type TestGridProjectVpcConfigPtrInput interface {
	pulumi.Input

	ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput
	ToTestGridProjectVpcConfigPtrOutputWithContext(context.Context) TestGridProjectVpcConfigPtrOutput
}

TestGridProjectVpcConfigPtrInput is an input type that accepts TestGridProjectVpcConfigArgs, TestGridProjectVpcConfigPtr and TestGridProjectVpcConfigPtrOutput values. You can construct a concrete instance of `TestGridProjectVpcConfigPtrInput` via:

        TestGridProjectVpcConfigArgs{...}

or:

        nil

type TestGridProjectVpcConfigPtrOutput

type TestGridProjectVpcConfigPtrOutput struct{ *pulumi.OutputState }

func (TestGridProjectVpcConfigPtrOutput) Elem

func (TestGridProjectVpcConfigPtrOutput) ElementType

func (TestGridProjectVpcConfigPtrOutput) SecurityGroupIds

A list of VPC security group IDs in your Amazon VPC.

func (TestGridProjectVpcConfigPtrOutput) SubnetIds

A list of VPC subnet IDs in your Amazon VPC.

func (TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutput

func (o TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput

func (TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutputWithContext

func (o TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutputWithContext(ctx context.Context) TestGridProjectVpcConfigPtrOutput

func (TestGridProjectVpcConfigPtrOutput) VpcId

The ID of the Amazon VPC.

type Upload

type Upload struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name of this upload.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The upload's category.
	Category pulumi.StringOutput `pulumi:"category"`
	// The upload's content type (for example, application/octet-stream).
	ContentType pulumi.StringPtrOutput `pulumi:"contentType"`
	// The upload's metadata. For example, for Android, this contains information that is parsed from the manifest and is displayed in the AWS Device Farm console after the associated app is uploaded.
	Metadata pulumi.StringOutput `pulumi:"metadata"`
	// The upload's file name. The name should not contain any forward slashes (/). If you are uploading an iOS app, the file name must end with the .ipa extension. If you are uploading an Android app, the file name must end with the .apk extension. For all others, the file name must end with the .zip file extension.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ARN of the project for the upload.
	ProjectArn pulumi.StringOutput `pulumi:"projectArn"`
	// The upload's upload type. See [AWS Docs](https://docs.aws.amazon.com/devicefarm/latest/APIReference/API_CreateUpload.html#API_CreateUpload_RequestSyntax) for valid list of values.
	Type pulumi.StringOutput `pulumi:"type"`
	// The presigned Amazon S3 URL that was used to store a file using a PUT request.
	Url pulumi.StringOutput `pulumi:"url"`
}

Provides a resource to manage AWS Device Farm Uploads.

> **NOTE:** AWS currently has limited regional support for Device Farm (e.g., `us-west-2`). See [AWS Device Farm endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/devicefarm.html) for information on supported regions.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devicefarm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := devicefarm.NewProject(ctx, "example", &devicefarm.ProjectArgs{
			Name: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = devicefarm.NewUpload(ctx, "example", &devicefarm.UploadArgs{
			Name:       pulumi.String("example"),
			ProjectArn: example.Arn,
			Type:       pulumi.String("APPIUM_JAVA_TESTNG_TEST_SPEC"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import DeviceFarm Uploads using their ARN. For example:

```sh $ pulumi import aws:devicefarm/upload:Upload example arn:aws:devicefarm:us-west-2:123456789012:upload:4fa784c7-ccb4-4dbf-ba4f-02198320daa1 ```

func GetUpload

func GetUpload(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UploadState, opts ...pulumi.ResourceOption) (*Upload, error)

GetUpload gets an existing Upload 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 NewUpload

func NewUpload(ctx *pulumi.Context,
	name string, args *UploadArgs, opts ...pulumi.ResourceOption) (*Upload, error)

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

func (*Upload) ElementType

func (*Upload) ElementType() reflect.Type

func (*Upload) ToUploadOutput

func (i *Upload) ToUploadOutput() UploadOutput

func (*Upload) ToUploadOutputWithContext

func (i *Upload) ToUploadOutputWithContext(ctx context.Context) UploadOutput

type UploadArgs

type UploadArgs struct {
	// The upload's content type (for example, application/octet-stream).
	ContentType pulumi.StringPtrInput
	// The upload's file name. The name should not contain any forward slashes (/). If you are uploading an iOS app, the file name must end with the .ipa extension. If you are uploading an Android app, the file name must end with the .apk extension. For all others, the file name must end with the .zip file extension.
	Name pulumi.StringPtrInput
	// The ARN of the project for the upload.
	ProjectArn pulumi.StringInput
	// The upload's upload type. See [AWS Docs](https://docs.aws.amazon.com/devicefarm/latest/APIReference/API_CreateUpload.html#API_CreateUpload_RequestSyntax) for valid list of values.
	Type pulumi.StringInput
}

The set of arguments for constructing a Upload resource.

func (UploadArgs) ElementType

func (UploadArgs) ElementType() reflect.Type

type UploadArray

type UploadArray []UploadInput

func (UploadArray) ElementType

func (UploadArray) ElementType() reflect.Type

func (UploadArray) ToUploadArrayOutput

func (i UploadArray) ToUploadArrayOutput() UploadArrayOutput

func (UploadArray) ToUploadArrayOutputWithContext

func (i UploadArray) ToUploadArrayOutputWithContext(ctx context.Context) UploadArrayOutput

type UploadArrayInput

type UploadArrayInput interface {
	pulumi.Input

	ToUploadArrayOutput() UploadArrayOutput
	ToUploadArrayOutputWithContext(context.Context) UploadArrayOutput
}

UploadArrayInput is an input type that accepts UploadArray and UploadArrayOutput values. You can construct a concrete instance of `UploadArrayInput` via:

UploadArray{ UploadArgs{...} }

type UploadArrayOutput

type UploadArrayOutput struct{ *pulumi.OutputState }

func (UploadArrayOutput) ElementType

func (UploadArrayOutput) ElementType() reflect.Type

func (UploadArrayOutput) Index

func (UploadArrayOutput) ToUploadArrayOutput

func (o UploadArrayOutput) ToUploadArrayOutput() UploadArrayOutput

func (UploadArrayOutput) ToUploadArrayOutputWithContext

func (o UploadArrayOutput) ToUploadArrayOutputWithContext(ctx context.Context) UploadArrayOutput

type UploadInput

type UploadInput interface {
	pulumi.Input

	ToUploadOutput() UploadOutput
	ToUploadOutputWithContext(ctx context.Context) UploadOutput
}

type UploadMap

type UploadMap map[string]UploadInput

func (UploadMap) ElementType

func (UploadMap) ElementType() reflect.Type

func (UploadMap) ToUploadMapOutput

func (i UploadMap) ToUploadMapOutput() UploadMapOutput

func (UploadMap) ToUploadMapOutputWithContext

func (i UploadMap) ToUploadMapOutputWithContext(ctx context.Context) UploadMapOutput

type UploadMapInput

type UploadMapInput interface {
	pulumi.Input

	ToUploadMapOutput() UploadMapOutput
	ToUploadMapOutputWithContext(context.Context) UploadMapOutput
}

UploadMapInput is an input type that accepts UploadMap and UploadMapOutput values. You can construct a concrete instance of `UploadMapInput` via:

UploadMap{ "key": UploadArgs{...} }

type UploadMapOutput

type UploadMapOutput struct{ *pulumi.OutputState }

func (UploadMapOutput) ElementType

func (UploadMapOutput) ElementType() reflect.Type

func (UploadMapOutput) MapIndex

func (UploadMapOutput) ToUploadMapOutput

func (o UploadMapOutput) ToUploadMapOutput() UploadMapOutput

func (UploadMapOutput) ToUploadMapOutputWithContext

func (o UploadMapOutput) ToUploadMapOutputWithContext(ctx context.Context) UploadMapOutput

type UploadOutput

type UploadOutput struct{ *pulumi.OutputState }

func (UploadOutput) Arn

The Amazon Resource Name of this upload.

func (UploadOutput) Category

func (o UploadOutput) Category() pulumi.StringOutput

The upload's category.

func (UploadOutput) ContentType

func (o UploadOutput) ContentType() pulumi.StringPtrOutput

The upload's content type (for example, application/octet-stream).

func (UploadOutput) ElementType

func (UploadOutput) ElementType() reflect.Type

func (UploadOutput) Metadata

func (o UploadOutput) Metadata() pulumi.StringOutput

The upload's metadata. For example, for Android, this contains information that is parsed from the manifest and is displayed in the AWS Device Farm console after the associated app is uploaded.

func (UploadOutput) Name

func (o UploadOutput) Name() pulumi.StringOutput

The upload's file name. The name should not contain any forward slashes (/). If you are uploading an iOS app, the file name must end with the .ipa extension. If you are uploading an Android app, the file name must end with the .apk extension. For all others, the file name must end with the .zip file extension.

func (UploadOutput) ProjectArn

func (o UploadOutput) ProjectArn() pulumi.StringOutput

The ARN of the project for the upload.

func (UploadOutput) ToUploadOutput

func (o UploadOutput) ToUploadOutput() UploadOutput

func (UploadOutput) ToUploadOutputWithContext

func (o UploadOutput) ToUploadOutputWithContext(ctx context.Context) UploadOutput

func (UploadOutput) Type

func (o UploadOutput) Type() pulumi.StringOutput

The upload's upload type. See [AWS Docs](https://docs.aws.amazon.com/devicefarm/latest/APIReference/API_CreateUpload.html#API_CreateUpload_RequestSyntax) for valid list of values.

func (UploadOutput) Url

The presigned Amazon S3 URL that was used to store a file using a PUT request.

type UploadState

type UploadState struct {
	// The Amazon Resource Name of this upload.
	Arn pulumi.StringPtrInput
	// The upload's category.
	Category pulumi.StringPtrInput
	// The upload's content type (for example, application/octet-stream).
	ContentType pulumi.StringPtrInput
	// The upload's metadata. For example, for Android, this contains information that is parsed from the manifest and is displayed in the AWS Device Farm console after the associated app is uploaded.
	Metadata pulumi.StringPtrInput
	// The upload's file name. The name should not contain any forward slashes (/). If you are uploading an iOS app, the file name must end with the .ipa extension. If you are uploading an Android app, the file name must end with the .apk extension. For all others, the file name must end with the .zip file extension.
	Name pulumi.StringPtrInput
	// The ARN of the project for the upload.
	ProjectArn pulumi.StringPtrInput
	// The upload's upload type. See [AWS Docs](https://docs.aws.amazon.com/devicefarm/latest/APIReference/API_CreateUpload.html#API_CreateUpload_RequestSyntax) for valid list of values.
	Type pulumi.StringPtrInput
	// The presigned Amazon S3 URL that was used to store a file using a PUT request.
	Url pulumi.StringPtrInput
}

func (UploadState) ElementType

func (UploadState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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