devicefarm

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 DevicePool added in v4.34.0

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	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/v4/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{
			ProjectArn: pulumi.Any(aws_devicefarm_project.Example.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

DeviceFarm Device Pools can be imported by their arn

```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 added in v4.34.0

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 added in v4.34.0

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 added in v4.34.0

func (*DevicePool) ElementType() reflect.Type

func (*DevicePool) ToDevicePoolOutput added in v4.34.0

func (i *DevicePool) ToDevicePoolOutput() DevicePoolOutput

func (*DevicePool) ToDevicePoolOutputWithContext added in v4.34.0

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

type DevicePoolArgs added in v4.34.0

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll pulumi.StringMapInput
}

The set of arguments for constructing a DevicePool resource.

func (DevicePoolArgs) ElementType added in v4.34.0

func (DevicePoolArgs) ElementType() reflect.Type

type DevicePoolArray added in v4.34.0

type DevicePoolArray []DevicePoolInput

func (DevicePoolArray) ElementType added in v4.34.0

func (DevicePoolArray) ElementType() reflect.Type

func (DevicePoolArray) ToDevicePoolArrayOutput added in v4.34.0

func (i DevicePoolArray) ToDevicePoolArrayOutput() DevicePoolArrayOutput

func (DevicePoolArray) ToDevicePoolArrayOutputWithContext added in v4.34.0

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

type DevicePoolArrayInput added in v4.34.0

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 added in v4.34.0

type DevicePoolArrayOutput struct{ *pulumi.OutputState }

func (DevicePoolArrayOutput) ElementType added in v4.34.0

func (DevicePoolArrayOutput) ElementType() reflect.Type

func (DevicePoolArrayOutput) Index added in v4.34.0

func (DevicePoolArrayOutput) ToDevicePoolArrayOutput added in v4.34.0

func (o DevicePoolArrayOutput) ToDevicePoolArrayOutput() DevicePoolArrayOutput

func (DevicePoolArrayOutput) ToDevicePoolArrayOutputWithContext added in v4.34.0

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

type DevicePoolInput added in v4.34.0

type DevicePoolInput interface {
	pulumi.Input

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

type DevicePoolMap added in v4.34.0

type DevicePoolMap map[string]DevicePoolInput

func (DevicePoolMap) ElementType added in v4.34.0

func (DevicePoolMap) ElementType() reflect.Type

func (DevicePoolMap) ToDevicePoolMapOutput added in v4.34.0

func (i DevicePoolMap) ToDevicePoolMapOutput() DevicePoolMapOutput

func (DevicePoolMap) ToDevicePoolMapOutputWithContext added in v4.34.0

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

type DevicePoolMapInput added in v4.34.0

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 added in v4.34.0

type DevicePoolMapOutput struct{ *pulumi.OutputState }

func (DevicePoolMapOutput) ElementType added in v4.34.0

func (DevicePoolMapOutput) ElementType() reflect.Type

func (DevicePoolMapOutput) MapIndex added in v4.34.0

func (DevicePoolMapOutput) ToDevicePoolMapOutput added in v4.34.0

func (o DevicePoolMapOutput) ToDevicePoolMapOutput() DevicePoolMapOutput

func (DevicePoolMapOutput) ToDevicePoolMapOutputWithContext added in v4.34.0

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

type DevicePoolOutput added in v4.34.0

type DevicePoolOutput struct{ *pulumi.OutputState }

func (DevicePoolOutput) ElementType added in v4.34.0

func (DevicePoolOutput) ElementType() reflect.Type

func (DevicePoolOutput) ToDevicePoolOutput added in v4.34.0

func (o DevicePoolOutput) ToDevicePoolOutput() DevicePoolOutput

func (DevicePoolOutput) ToDevicePoolOutputWithContext added in v4.34.0

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

type DevicePoolRule added in v4.34.0

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 added in v4.34.0

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 added in v4.34.0

func (DevicePoolRuleArgs) ElementType() reflect.Type

func (DevicePoolRuleArgs) ToDevicePoolRuleOutput added in v4.34.0

func (i DevicePoolRuleArgs) ToDevicePoolRuleOutput() DevicePoolRuleOutput

func (DevicePoolRuleArgs) ToDevicePoolRuleOutputWithContext added in v4.34.0

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

type DevicePoolRuleArray added in v4.34.0

type DevicePoolRuleArray []DevicePoolRuleInput

func (DevicePoolRuleArray) ElementType added in v4.34.0

func (DevicePoolRuleArray) ElementType() reflect.Type

func (DevicePoolRuleArray) ToDevicePoolRuleArrayOutput added in v4.34.0

func (i DevicePoolRuleArray) ToDevicePoolRuleArrayOutput() DevicePoolRuleArrayOutput

func (DevicePoolRuleArray) ToDevicePoolRuleArrayOutputWithContext added in v4.34.0

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

type DevicePoolRuleArrayInput added in v4.34.0

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 added in v4.34.0

type DevicePoolRuleArrayOutput struct{ *pulumi.OutputState }

func (DevicePoolRuleArrayOutput) ElementType added in v4.34.0

func (DevicePoolRuleArrayOutput) ElementType() reflect.Type

func (DevicePoolRuleArrayOutput) Index added in v4.34.0

func (DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutput added in v4.34.0

func (o DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutput() DevicePoolRuleArrayOutput

func (DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutputWithContext added in v4.34.0

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

type DevicePoolRuleInput added in v4.34.0

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 added in v4.34.0

type DevicePoolRuleOutput struct{ *pulumi.OutputState }

func (DevicePoolRuleOutput) Attribute added in v4.34.0

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 added in v4.34.0

func (DevicePoolRuleOutput) ElementType() reflect.Type

func (DevicePoolRuleOutput) Operator added in v4.34.0

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 added in v4.34.0

func (o DevicePoolRuleOutput) ToDevicePoolRuleOutput() DevicePoolRuleOutput

func (DevicePoolRuleOutput) ToDevicePoolRuleOutputWithContext added in v4.34.0

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

func (DevicePoolRuleOutput) Value added in v4.34.0

The rule's value.

type DevicePoolState added in v4.34.0

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll pulumi.StringMapInput
	Type    pulumi.StringPtrInput
}

func (DevicePoolState) ElementType added in v4.34.0

func (DevicePoolState) ElementType() reflect.Type

type InstanceProfile added in v4.35.0

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	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/v4/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", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DeviceFarm Instance Profiles can be imported by their arn

```sh

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

```

func GetInstanceProfile added in v4.35.0

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 added in v4.35.0

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 added in v4.35.0

func (*InstanceProfile) ElementType() reflect.Type

func (*InstanceProfile) ToInstanceProfileOutput added in v4.35.0

func (i *InstanceProfile) ToInstanceProfileOutput() InstanceProfileOutput

func (*InstanceProfile) ToInstanceProfileOutputWithContext added in v4.35.0

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

type InstanceProfileArgs added in v4.35.0

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll pulumi.StringMapInput
}

The set of arguments for constructing a InstanceProfile resource.

func (InstanceProfileArgs) ElementType added in v4.35.0

func (InstanceProfileArgs) ElementType() reflect.Type

type InstanceProfileArray added in v4.35.0

type InstanceProfileArray []InstanceProfileInput

func (InstanceProfileArray) ElementType added in v4.35.0

func (InstanceProfileArray) ElementType() reflect.Type

func (InstanceProfileArray) ToInstanceProfileArrayOutput added in v4.35.0

func (i InstanceProfileArray) ToInstanceProfileArrayOutput() InstanceProfileArrayOutput

func (InstanceProfileArray) ToInstanceProfileArrayOutputWithContext added in v4.35.0

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

type InstanceProfileArrayInput added in v4.35.0

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 added in v4.35.0

type InstanceProfileArrayOutput struct{ *pulumi.OutputState }

func (InstanceProfileArrayOutput) ElementType added in v4.35.0

func (InstanceProfileArrayOutput) ElementType() reflect.Type

func (InstanceProfileArrayOutput) Index added in v4.35.0

func (InstanceProfileArrayOutput) ToInstanceProfileArrayOutput added in v4.35.0

func (o InstanceProfileArrayOutput) ToInstanceProfileArrayOutput() InstanceProfileArrayOutput

func (InstanceProfileArrayOutput) ToInstanceProfileArrayOutputWithContext added in v4.35.0

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

type InstanceProfileInput added in v4.35.0

type InstanceProfileInput interface {
	pulumi.Input

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

type InstanceProfileMap added in v4.35.0

type InstanceProfileMap map[string]InstanceProfileInput

func (InstanceProfileMap) ElementType added in v4.35.0

func (InstanceProfileMap) ElementType() reflect.Type

func (InstanceProfileMap) ToInstanceProfileMapOutput added in v4.35.0

func (i InstanceProfileMap) ToInstanceProfileMapOutput() InstanceProfileMapOutput

func (InstanceProfileMap) ToInstanceProfileMapOutputWithContext added in v4.35.0

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

type InstanceProfileMapInput added in v4.35.0

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 added in v4.35.0

type InstanceProfileMapOutput struct{ *pulumi.OutputState }

func (InstanceProfileMapOutput) ElementType added in v4.35.0

func (InstanceProfileMapOutput) ElementType() reflect.Type

func (InstanceProfileMapOutput) MapIndex added in v4.35.0

func (InstanceProfileMapOutput) ToInstanceProfileMapOutput added in v4.35.0

func (o InstanceProfileMapOutput) ToInstanceProfileMapOutput() InstanceProfileMapOutput

func (InstanceProfileMapOutput) ToInstanceProfileMapOutputWithContext added in v4.35.0

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

type InstanceProfileOutput added in v4.35.0

type InstanceProfileOutput struct{ *pulumi.OutputState }

func (InstanceProfileOutput) ElementType added in v4.35.0

func (InstanceProfileOutput) ElementType() reflect.Type

func (InstanceProfileOutput) ToInstanceProfileOutput added in v4.35.0

func (o InstanceProfileOutput) ToInstanceProfileOutput() InstanceProfileOutput

func (InstanceProfileOutput) ToInstanceProfileOutputWithContext added in v4.35.0

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

type InstanceProfileState added in v4.35.0

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll pulumi.StringMapInput
}

func (InstanceProfileState) ElementType added in v4.35.0

func (InstanceProfileState) ElementType() reflect.Type

type NetworkProfile added in v4.34.0

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	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/v4/go/aws/devicefarm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

## Import

DeviceFarm Network Profiles can be imported by their arn

```sh

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

```

func GetNetworkProfile added in v4.34.0

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 added in v4.34.0

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 added in v4.34.0

func (*NetworkProfile) ElementType() reflect.Type

func (*NetworkProfile) ToNetworkProfileOutput added in v4.34.0

func (i *NetworkProfile) ToNetworkProfileOutput() NetworkProfileOutput

func (*NetworkProfile) ToNetworkProfileOutputWithContext added in v4.34.0

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

type NetworkProfileArgs added in v4.34.0

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	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
}

The set of arguments for constructing a NetworkProfile resource.

func (NetworkProfileArgs) ElementType added in v4.34.0

func (NetworkProfileArgs) ElementType() reflect.Type

type NetworkProfileArray added in v4.34.0

type NetworkProfileArray []NetworkProfileInput

func (NetworkProfileArray) ElementType added in v4.34.0

func (NetworkProfileArray) ElementType() reflect.Type

func (NetworkProfileArray) ToNetworkProfileArrayOutput added in v4.34.0

func (i NetworkProfileArray) ToNetworkProfileArrayOutput() NetworkProfileArrayOutput

func (NetworkProfileArray) ToNetworkProfileArrayOutputWithContext added in v4.34.0

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

type NetworkProfileArrayInput added in v4.34.0

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 added in v4.34.0

type NetworkProfileArrayOutput struct{ *pulumi.OutputState }

func (NetworkProfileArrayOutput) ElementType added in v4.34.0

func (NetworkProfileArrayOutput) ElementType() reflect.Type

func (NetworkProfileArrayOutput) Index added in v4.34.0

func (NetworkProfileArrayOutput) ToNetworkProfileArrayOutput added in v4.34.0

func (o NetworkProfileArrayOutput) ToNetworkProfileArrayOutput() NetworkProfileArrayOutput

func (NetworkProfileArrayOutput) ToNetworkProfileArrayOutputWithContext added in v4.34.0

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

type NetworkProfileInput added in v4.34.0

type NetworkProfileInput interface {
	pulumi.Input

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

type NetworkProfileMap added in v4.34.0

type NetworkProfileMap map[string]NetworkProfileInput

func (NetworkProfileMap) ElementType added in v4.34.0

func (NetworkProfileMap) ElementType() reflect.Type

func (NetworkProfileMap) ToNetworkProfileMapOutput added in v4.34.0

func (i NetworkProfileMap) ToNetworkProfileMapOutput() NetworkProfileMapOutput

func (NetworkProfileMap) ToNetworkProfileMapOutputWithContext added in v4.34.0

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

type NetworkProfileMapInput added in v4.34.0

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 added in v4.34.0

type NetworkProfileMapOutput struct{ *pulumi.OutputState }

func (NetworkProfileMapOutput) ElementType added in v4.34.0

func (NetworkProfileMapOutput) ElementType() reflect.Type

func (NetworkProfileMapOutput) MapIndex added in v4.34.0

func (NetworkProfileMapOutput) ToNetworkProfileMapOutput added in v4.34.0

func (o NetworkProfileMapOutput) ToNetworkProfileMapOutput() NetworkProfileMapOutput

func (NetworkProfileMapOutput) ToNetworkProfileMapOutputWithContext added in v4.34.0

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

type NetworkProfileOutput added in v4.34.0

type NetworkProfileOutput struct{ *pulumi.OutputState }

func (NetworkProfileOutput) ElementType added in v4.34.0

func (NetworkProfileOutput) ElementType() reflect.Type

func (NetworkProfileOutput) ToNetworkProfileOutput added in v4.34.0

func (o NetworkProfileOutput) ToNetworkProfileOutput() NetworkProfileOutput

func (NetworkProfileOutput) ToNetworkProfileOutputWithContext added in v4.34.0

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

type NetworkProfileState added in v4.34.0

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	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 added in v4.34.0

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.
	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/v4/go/aws/devicefarm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devicefarm.NewProject(ctx, "awesomeDevices", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DeviceFarm Projects can be imported by their arn

```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) ElementType

func (ProjectOutput) ElementType() reflect.Type

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.
	TagsAll pulumi.StringMapInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type TestGridProject added in v4.37.0

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	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.

## Import

DeviceFarm Test Grid Projects can be imported by their arn

```sh

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

```

func GetTestGridProject added in v4.37.0

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 added in v4.37.0

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 added in v4.37.0

func (*TestGridProject) ElementType() reflect.Type

func (*TestGridProject) ToTestGridProjectOutput added in v4.37.0

func (i *TestGridProject) ToTestGridProjectOutput() TestGridProjectOutput

func (*TestGridProject) ToTestGridProjectOutputWithContext added in v4.37.0

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

type TestGridProjectArgs added in v4.37.0

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll 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 added in v4.37.0

func (TestGridProjectArgs) ElementType() reflect.Type

type TestGridProjectArray added in v4.37.0

type TestGridProjectArray []TestGridProjectInput

func (TestGridProjectArray) ElementType added in v4.37.0

func (TestGridProjectArray) ElementType() reflect.Type

func (TestGridProjectArray) ToTestGridProjectArrayOutput added in v4.37.0

func (i TestGridProjectArray) ToTestGridProjectArrayOutput() TestGridProjectArrayOutput

func (TestGridProjectArray) ToTestGridProjectArrayOutputWithContext added in v4.37.0

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

type TestGridProjectArrayInput added in v4.37.0

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 added in v4.37.0

type TestGridProjectArrayOutput struct{ *pulumi.OutputState }

func (TestGridProjectArrayOutput) ElementType added in v4.37.0

func (TestGridProjectArrayOutput) ElementType() reflect.Type

func (TestGridProjectArrayOutput) Index added in v4.37.0

func (TestGridProjectArrayOutput) ToTestGridProjectArrayOutput added in v4.37.0

func (o TestGridProjectArrayOutput) ToTestGridProjectArrayOutput() TestGridProjectArrayOutput

func (TestGridProjectArrayOutput) ToTestGridProjectArrayOutputWithContext added in v4.37.0

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

type TestGridProjectInput added in v4.37.0

type TestGridProjectInput interface {
	pulumi.Input

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

type TestGridProjectMap added in v4.37.0

type TestGridProjectMap map[string]TestGridProjectInput

func (TestGridProjectMap) ElementType added in v4.37.0

func (TestGridProjectMap) ElementType() reflect.Type

func (TestGridProjectMap) ToTestGridProjectMapOutput added in v4.37.0

func (i TestGridProjectMap) ToTestGridProjectMapOutput() TestGridProjectMapOutput

func (TestGridProjectMap) ToTestGridProjectMapOutputWithContext added in v4.37.0

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

type TestGridProjectMapInput added in v4.37.0

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 added in v4.37.0

type TestGridProjectMapOutput struct{ *pulumi.OutputState }

func (TestGridProjectMapOutput) ElementType added in v4.37.0

func (TestGridProjectMapOutput) ElementType() reflect.Type

func (TestGridProjectMapOutput) MapIndex added in v4.37.0

func (TestGridProjectMapOutput) ToTestGridProjectMapOutput added in v4.37.0

func (o TestGridProjectMapOutput) ToTestGridProjectMapOutput() TestGridProjectMapOutput

func (TestGridProjectMapOutput) ToTestGridProjectMapOutputWithContext added in v4.37.0

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

type TestGridProjectOutput added in v4.37.0

type TestGridProjectOutput struct{ *pulumi.OutputState }

func (TestGridProjectOutput) ElementType added in v4.37.0

func (TestGridProjectOutput) ElementType() reflect.Type

func (TestGridProjectOutput) ToTestGridProjectOutput added in v4.37.0

func (o TestGridProjectOutput) ToTestGridProjectOutput() TestGridProjectOutput

func (TestGridProjectOutput) ToTestGridProjectOutputWithContext added in v4.37.0

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

type TestGridProjectState added in v4.37.0

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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll pulumi.StringMapInput
	// The VPC security groups and subnets that are attached to a project. See VPC Config below.
	VpcConfig TestGridProjectVpcConfigPtrInput
}

func (TestGridProjectState) ElementType added in v4.37.0

func (TestGridProjectState) ElementType() reflect.Type

type TestGridProjectVpcConfig added in v4.37.0

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 added in v4.37.0

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 added in v4.37.0

func (TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutput added in v4.37.0

func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutput() TestGridProjectVpcConfigOutput

func (TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutputWithContext added in v4.37.0

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

func (TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutput added in v4.37.0

func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput

func (TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutputWithContext added in v4.37.0

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

type TestGridProjectVpcConfigInput added in v4.37.0

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 added in v4.37.0

type TestGridProjectVpcConfigOutput struct{ *pulumi.OutputState }

func (TestGridProjectVpcConfigOutput) ElementType added in v4.37.0

func (TestGridProjectVpcConfigOutput) SecurityGroupIds added in v4.37.0

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

func (TestGridProjectVpcConfigOutput) SubnetIds added in v4.37.0

A list of VPC subnet IDs in your Amazon VPC.

func (TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutput added in v4.37.0

func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutput() TestGridProjectVpcConfigOutput

func (TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutputWithContext added in v4.37.0

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

func (TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutput added in v4.37.0

func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput

func (TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutputWithContext added in v4.37.0

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

func (TestGridProjectVpcConfigOutput) VpcId added in v4.37.0

The ID of the Amazon VPC.

type TestGridProjectVpcConfigPtrInput added in v4.37.0

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

func TestGridProjectVpcConfigPtr added in v4.37.0

func TestGridProjectVpcConfigPtr(v *TestGridProjectVpcConfigArgs) TestGridProjectVpcConfigPtrInput

type TestGridProjectVpcConfigPtrOutput added in v4.37.0

type TestGridProjectVpcConfigPtrOutput struct{ *pulumi.OutputState }

func (TestGridProjectVpcConfigPtrOutput) Elem added in v4.37.0

func (TestGridProjectVpcConfigPtrOutput) ElementType added in v4.37.0

func (TestGridProjectVpcConfigPtrOutput) SecurityGroupIds added in v4.37.0

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

func (TestGridProjectVpcConfigPtrOutput) SubnetIds added in v4.37.0

A list of VPC subnet IDs in your Amazon VPC.

func (TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutput added in v4.37.0

func (o TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput

func (TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutputWithContext added in v4.37.0

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

func (TestGridProjectVpcConfigPtrOutput) VpcId added in v4.37.0

The ID of the Amazon VPC.

type Upload added in v4.34.0

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/v4/go/aws/devicefarm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

## Import

DeviceFarm Uploads can be imported by their arn

```sh

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

```

func GetUpload added in v4.34.0

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 added in v4.34.0

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 added in v4.34.0

func (*Upload) ElementType() reflect.Type

func (*Upload) ToUploadOutput added in v4.34.0

func (i *Upload) ToUploadOutput() UploadOutput

func (*Upload) ToUploadOutputWithContext added in v4.34.0

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

type UploadArgs added in v4.34.0

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 added in v4.34.0

func (UploadArgs) ElementType() reflect.Type

type UploadArray added in v4.34.0

type UploadArray []UploadInput

func (UploadArray) ElementType added in v4.34.0

func (UploadArray) ElementType() reflect.Type

func (UploadArray) ToUploadArrayOutput added in v4.34.0

func (i UploadArray) ToUploadArrayOutput() UploadArrayOutput

func (UploadArray) ToUploadArrayOutputWithContext added in v4.34.0

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

type UploadArrayInput added in v4.34.0

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 added in v4.34.0

type UploadArrayOutput struct{ *pulumi.OutputState }

func (UploadArrayOutput) ElementType added in v4.34.0

func (UploadArrayOutput) ElementType() reflect.Type

func (UploadArrayOutput) Index added in v4.34.0

func (UploadArrayOutput) ToUploadArrayOutput added in v4.34.0

func (o UploadArrayOutput) ToUploadArrayOutput() UploadArrayOutput

func (UploadArrayOutput) ToUploadArrayOutputWithContext added in v4.34.0

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

type UploadInput added in v4.34.0

type UploadInput interface {
	pulumi.Input

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

type UploadMap added in v4.34.0

type UploadMap map[string]UploadInput

func (UploadMap) ElementType added in v4.34.0

func (UploadMap) ElementType() reflect.Type

func (UploadMap) ToUploadMapOutput added in v4.34.0

func (i UploadMap) ToUploadMapOutput() UploadMapOutput

func (UploadMap) ToUploadMapOutputWithContext added in v4.34.0

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

type UploadMapInput added in v4.34.0

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 added in v4.34.0

type UploadMapOutput struct{ *pulumi.OutputState }

func (UploadMapOutput) ElementType added in v4.34.0

func (UploadMapOutput) ElementType() reflect.Type

func (UploadMapOutput) MapIndex added in v4.34.0

func (UploadMapOutput) ToUploadMapOutput added in v4.34.0

func (o UploadMapOutput) ToUploadMapOutput() UploadMapOutput

func (UploadMapOutput) ToUploadMapOutputWithContext added in v4.34.0

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

type UploadOutput added in v4.34.0

type UploadOutput struct{ *pulumi.OutputState }

func (UploadOutput) ElementType added in v4.34.0

func (UploadOutput) ElementType() reflect.Type

func (UploadOutput) ToUploadOutput added in v4.34.0

func (o UploadOutput) ToUploadOutput() UploadOutput

func (UploadOutput) ToUploadOutputWithContext added in v4.34.0

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

type UploadState added in v4.34.0

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 added in v4.34.0

func (UploadState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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