Documentation ¶
Index ¶
- type DevicePool
- func (*DevicePool) ElementType() reflect.Type
- func (i *DevicePool) ToDevicePoolOutput() DevicePoolOutput
- func (i *DevicePool) ToDevicePoolOutputWithContext(ctx context.Context) DevicePoolOutput
- func (i *DevicePool) ToDevicePoolPtrOutput() DevicePoolPtrOutput
- func (i *DevicePool) ToDevicePoolPtrOutputWithContext(ctx context.Context) DevicePoolPtrOutput
- type DevicePoolArgs
- type DevicePoolArray
- type DevicePoolArrayInput
- type DevicePoolArrayOutput
- func (DevicePoolArrayOutput) ElementType() reflect.Type
- func (o DevicePoolArrayOutput) Index(i pulumi.IntInput) DevicePoolOutput
- func (o DevicePoolArrayOutput) ToDevicePoolArrayOutput() DevicePoolArrayOutput
- func (o DevicePoolArrayOutput) ToDevicePoolArrayOutputWithContext(ctx context.Context) DevicePoolArrayOutput
- type DevicePoolInput
- type DevicePoolMap
- type DevicePoolMapInput
- type DevicePoolMapOutput
- func (DevicePoolMapOutput) ElementType() reflect.Type
- func (o DevicePoolMapOutput) MapIndex(k pulumi.StringInput) DevicePoolOutput
- func (o DevicePoolMapOutput) ToDevicePoolMapOutput() DevicePoolMapOutput
- func (o DevicePoolMapOutput) ToDevicePoolMapOutputWithContext(ctx context.Context) DevicePoolMapOutput
- type DevicePoolOutput
- func (DevicePoolOutput) ElementType() reflect.Type
- func (o DevicePoolOutput) ToDevicePoolOutput() DevicePoolOutput
- func (o DevicePoolOutput) ToDevicePoolOutputWithContext(ctx context.Context) DevicePoolOutput
- func (o DevicePoolOutput) ToDevicePoolPtrOutput() DevicePoolPtrOutput
- func (o DevicePoolOutput) ToDevicePoolPtrOutputWithContext(ctx context.Context) DevicePoolPtrOutput
- type DevicePoolPtrInput
- type DevicePoolPtrOutput
- type DevicePoolRule
- type DevicePoolRuleArgs
- type DevicePoolRuleArray
- type DevicePoolRuleArrayInput
- type DevicePoolRuleArrayOutput
- func (DevicePoolRuleArrayOutput) ElementType() reflect.Type
- func (o DevicePoolRuleArrayOutput) Index(i pulumi.IntInput) DevicePoolRuleOutput
- func (o DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutput() DevicePoolRuleArrayOutput
- func (o DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutputWithContext(ctx context.Context) DevicePoolRuleArrayOutput
- type DevicePoolRuleInput
- type DevicePoolRuleOutput
- func (o DevicePoolRuleOutput) Attribute() pulumi.StringPtrOutput
- func (DevicePoolRuleOutput) ElementType() reflect.Type
- func (o DevicePoolRuleOutput) Operator() pulumi.StringPtrOutput
- func (o DevicePoolRuleOutput) ToDevicePoolRuleOutput() DevicePoolRuleOutput
- func (o DevicePoolRuleOutput) ToDevicePoolRuleOutputWithContext(ctx context.Context) DevicePoolRuleOutput
- func (o DevicePoolRuleOutput) Value() pulumi.StringPtrOutput
- type DevicePoolState
- type InstanceProfile
- func (*InstanceProfile) ElementType() reflect.Type
- func (i *InstanceProfile) ToInstanceProfileOutput() InstanceProfileOutput
- func (i *InstanceProfile) ToInstanceProfileOutputWithContext(ctx context.Context) InstanceProfileOutput
- func (i *InstanceProfile) ToInstanceProfilePtrOutput() InstanceProfilePtrOutput
- func (i *InstanceProfile) ToInstanceProfilePtrOutputWithContext(ctx context.Context) InstanceProfilePtrOutput
- type InstanceProfileArgs
- type InstanceProfileArray
- type InstanceProfileArrayInput
- type InstanceProfileArrayOutput
- func (InstanceProfileArrayOutput) ElementType() reflect.Type
- func (o InstanceProfileArrayOutput) Index(i pulumi.IntInput) InstanceProfileOutput
- func (o InstanceProfileArrayOutput) ToInstanceProfileArrayOutput() InstanceProfileArrayOutput
- func (o InstanceProfileArrayOutput) ToInstanceProfileArrayOutputWithContext(ctx context.Context) InstanceProfileArrayOutput
- type InstanceProfileInput
- type InstanceProfileMap
- type InstanceProfileMapInput
- type InstanceProfileMapOutput
- func (InstanceProfileMapOutput) ElementType() reflect.Type
- func (o InstanceProfileMapOutput) MapIndex(k pulumi.StringInput) InstanceProfileOutput
- func (o InstanceProfileMapOutput) ToInstanceProfileMapOutput() InstanceProfileMapOutput
- func (o InstanceProfileMapOutput) ToInstanceProfileMapOutputWithContext(ctx context.Context) InstanceProfileMapOutput
- type InstanceProfileOutput
- func (InstanceProfileOutput) ElementType() reflect.Type
- func (o InstanceProfileOutput) ToInstanceProfileOutput() InstanceProfileOutput
- func (o InstanceProfileOutput) ToInstanceProfileOutputWithContext(ctx context.Context) InstanceProfileOutput
- func (o InstanceProfileOutput) ToInstanceProfilePtrOutput() InstanceProfilePtrOutput
- func (o InstanceProfileOutput) ToInstanceProfilePtrOutputWithContext(ctx context.Context) InstanceProfilePtrOutput
- type InstanceProfilePtrInput
- type InstanceProfilePtrOutput
- func (o InstanceProfilePtrOutput) Elem() InstanceProfileOutput
- func (InstanceProfilePtrOutput) ElementType() reflect.Type
- func (o InstanceProfilePtrOutput) ToInstanceProfilePtrOutput() InstanceProfilePtrOutput
- func (o InstanceProfilePtrOutput) ToInstanceProfilePtrOutputWithContext(ctx context.Context) InstanceProfilePtrOutput
- type InstanceProfileState
- type NetworkProfile
- func (*NetworkProfile) ElementType() reflect.Type
- func (i *NetworkProfile) ToNetworkProfileOutput() NetworkProfileOutput
- func (i *NetworkProfile) ToNetworkProfileOutputWithContext(ctx context.Context) NetworkProfileOutput
- func (i *NetworkProfile) ToNetworkProfilePtrOutput() NetworkProfilePtrOutput
- func (i *NetworkProfile) ToNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkProfilePtrOutput
- type NetworkProfileArgs
- type NetworkProfileArray
- type NetworkProfileArrayInput
- type NetworkProfileArrayOutput
- func (NetworkProfileArrayOutput) ElementType() reflect.Type
- func (o NetworkProfileArrayOutput) Index(i pulumi.IntInput) NetworkProfileOutput
- func (o NetworkProfileArrayOutput) ToNetworkProfileArrayOutput() NetworkProfileArrayOutput
- func (o NetworkProfileArrayOutput) ToNetworkProfileArrayOutputWithContext(ctx context.Context) NetworkProfileArrayOutput
- type NetworkProfileInput
- type NetworkProfileMap
- type NetworkProfileMapInput
- type NetworkProfileMapOutput
- func (NetworkProfileMapOutput) ElementType() reflect.Type
- func (o NetworkProfileMapOutput) MapIndex(k pulumi.StringInput) NetworkProfileOutput
- func (o NetworkProfileMapOutput) ToNetworkProfileMapOutput() NetworkProfileMapOutput
- func (o NetworkProfileMapOutput) ToNetworkProfileMapOutputWithContext(ctx context.Context) NetworkProfileMapOutput
- type NetworkProfileOutput
- func (NetworkProfileOutput) ElementType() reflect.Type
- func (o NetworkProfileOutput) ToNetworkProfileOutput() NetworkProfileOutput
- func (o NetworkProfileOutput) ToNetworkProfileOutputWithContext(ctx context.Context) NetworkProfileOutput
- func (o NetworkProfileOutput) ToNetworkProfilePtrOutput() NetworkProfilePtrOutput
- func (o NetworkProfileOutput) ToNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkProfilePtrOutput
- type NetworkProfilePtrInput
- type NetworkProfilePtrOutput
- func (o NetworkProfilePtrOutput) Elem() NetworkProfileOutput
- func (NetworkProfilePtrOutput) ElementType() reflect.Type
- func (o NetworkProfilePtrOutput) ToNetworkProfilePtrOutput() NetworkProfilePtrOutput
- func (o NetworkProfilePtrOutput) ToNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkProfilePtrOutput
- type NetworkProfileState
- type Project
- func (*Project) ElementType() reflect.Type
- func (i *Project) ToProjectOutput() ProjectOutput
- func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- func (i *Project) ToProjectPtrOutput() ProjectPtrOutput
- func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
- type ProjectArgs
- type ProjectArray
- type ProjectArrayInput
- type ProjectArrayOutput
- type ProjectInput
- type ProjectMap
- type ProjectMapInput
- type ProjectMapOutput
- type ProjectOutput
- func (ProjectOutput) ElementType() reflect.Type
- func (o ProjectOutput) ToProjectOutput() ProjectOutput
- func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput
- func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
- type ProjectPtrInput
- type ProjectPtrOutput
- type ProjectState
- type Upload
- func (*Upload) ElementType() reflect.Type
- func (i *Upload) ToUploadOutput() UploadOutput
- func (i *Upload) ToUploadOutputWithContext(ctx context.Context) UploadOutput
- func (i *Upload) ToUploadPtrOutput() UploadPtrOutput
- func (i *Upload) ToUploadPtrOutputWithContext(ctx context.Context) UploadPtrOutput
- type UploadArgs
- type UploadArray
- type UploadArrayInput
- type UploadArrayOutput
- type UploadInput
- type UploadMap
- type UploadMapInput
- type UploadMapOutput
- type UploadOutput
- func (UploadOutput) ElementType() reflect.Type
- func (o UploadOutput) ToUploadOutput() UploadOutput
- func (o UploadOutput) ToUploadOutputWithContext(ctx context.Context) UploadOutput
- func (o UploadOutput) ToUploadPtrOutput() UploadPtrOutput
- func (o UploadOutput) ToUploadPtrOutputWithContext(ctx context.Context) UploadPtrOutput
- type UploadPtrInput
- type UploadPtrOutput
- type UploadState
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
func (*DevicePool) ToDevicePoolPtrOutput ¶ added in v4.34.0
func (i *DevicePool) ToDevicePoolPtrOutput() DevicePoolPtrOutput
func (*DevicePool) ToDevicePoolPtrOutputWithContext ¶ added in v4.34.0
func (i *DevicePool) ToDevicePoolPtrOutputWithContext(ctx context.Context) DevicePoolPtrOutput
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 (o DevicePoolArrayOutput) Index(i pulumi.IntInput) DevicePoolOutput
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 (o DevicePoolMapOutput) MapIndex(k pulumi.StringInput) DevicePoolOutput
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
func (DevicePoolOutput) ToDevicePoolPtrOutput ¶ added in v4.34.0
func (o DevicePoolOutput) ToDevicePoolPtrOutput() DevicePoolPtrOutput
func (DevicePoolOutput) ToDevicePoolPtrOutputWithContext ¶ added in v4.34.0
func (o DevicePoolOutput) ToDevicePoolPtrOutputWithContext(ctx context.Context) DevicePoolPtrOutput
type DevicePoolPtrInput ¶ added in v4.34.0
type DevicePoolPtrInput interface { pulumi.Input ToDevicePoolPtrOutput() DevicePoolPtrOutput ToDevicePoolPtrOutputWithContext(ctx context.Context) DevicePoolPtrOutput }
type DevicePoolPtrOutput ¶ added in v4.34.0
type DevicePoolPtrOutput struct{ *pulumi.OutputState }
func (DevicePoolPtrOutput) Elem ¶ added in v4.34.0
func (o DevicePoolPtrOutput) Elem() DevicePoolOutput
func (DevicePoolPtrOutput) ElementType ¶ added in v4.34.0
func (DevicePoolPtrOutput) ElementType() reflect.Type
func (DevicePoolPtrOutput) ToDevicePoolPtrOutput ¶ added in v4.34.0
func (o DevicePoolPtrOutput) ToDevicePoolPtrOutput() DevicePoolPtrOutput
func (DevicePoolPtrOutput) ToDevicePoolPtrOutputWithContext ¶ added in v4.34.0
func (o DevicePoolPtrOutput) ToDevicePoolPtrOutputWithContext(ctx context.Context) DevicePoolPtrOutput
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 (o DevicePoolRuleArrayOutput) Index(i pulumi.IntInput) DevicePoolRuleOutput
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
func (o DevicePoolRuleOutput) Attribute() pulumi.StringPtrOutput
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
func (o DevicePoolRuleOutput) Operator() pulumi.StringPtrOutput
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
func (o DevicePoolRuleOutput) Value() pulumi.StringPtrOutput
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
func (*InstanceProfile) ToInstanceProfilePtrOutput ¶ added in v4.35.0
func (i *InstanceProfile) ToInstanceProfilePtrOutput() InstanceProfilePtrOutput
func (*InstanceProfile) ToInstanceProfilePtrOutputWithContext ¶ added in v4.35.0
func (i *InstanceProfile) ToInstanceProfilePtrOutputWithContext(ctx context.Context) InstanceProfilePtrOutput
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 (o InstanceProfileArrayOutput) Index(i pulumi.IntInput) InstanceProfileOutput
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 (o InstanceProfileMapOutput) MapIndex(k pulumi.StringInput) InstanceProfileOutput
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
func (InstanceProfileOutput) ToInstanceProfilePtrOutput ¶ added in v4.35.0
func (o InstanceProfileOutput) ToInstanceProfilePtrOutput() InstanceProfilePtrOutput
func (InstanceProfileOutput) ToInstanceProfilePtrOutputWithContext ¶ added in v4.35.0
func (o InstanceProfileOutput) ToInstanceProfilePtrOutputWithContext(ctx context.Context) InstanceProfilePtrOutput
type InstanceProfilePtrInput ¶ added in v4.35.0
type InstanceProfilePtrInput interface { pulumi.Input ToInstanceProfilePtrOutput() InstanceProfilePtrOutput ToInstanceProfilePtrOutputWithContext(ctx context.Context) InstanceProfilePtrOutput }
type InstanceProfilePtrOutput ¶ added in v4.35.0
type InstanceProfilePtrOutput struct{ *pulumi.OutputState }
func (InstanceProfilePtrOutput) Elem ¶ added in v4.35.0
func (o InstanceProfilePtrOutput) Elem() InstanceProfileOutput
func (InstanceProfilePtrOutput) ElementType ¶ added in v4.35.0
func (InstanceProfilePtrOutput) ElementType() reflect.Type
func (InstanceProfilePtrOutput) ToInstanceProfilePtrOutput ¶ added in v4.35.0
func (o InstanceProfilePtrOutput) ToInstanceProfilePtrOutput() InstanceProfilePtrOutput
func (InstanceProfilePtrOutput) ToInstanceProfilePtrOutputWithContext ¶ added in v4.35.0
func (o InstanceProfilePtrOutput) ToInstanceProfilePtrOutputWithContext(ctx context.Context) InstanceProfilePtrOutput
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
func (*NetworkProfile) ToNetworkProfilePtrOutput ¶ added in v4.34.0
func (i *NetworkProfile) ToNetworkProfilePtrOutput() NetworkProfilePtrOutput
func (*NetworkProfile) ToNetworkProfilePtrOutputWithContext ¶ added in v4.34.0
func (i *NetworkProfile) ToNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkProfilePtrOutput
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 (o NetworkProfileArrayOutput) Index(i pulumi.IntInput) NetworkProfileOutput
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 (o NetworkProfileMapOutput) MapIndex(k pulumi.StringInput) NetworkProfileOutput
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
func (NetworkProfileOutput) ToNetworkProfilePtrOutput ¶ added in v4.34.0
func (o NetworkProfileOutput) ToNetworkProfilePtrOutput() NetworkProfilePtrOutput
func (NetworkProfileOutput) ToNetworkProfilePtrOutputWithContext ¶ added in v4.34.0
func (o NetworkProfileOutput) ToNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkProfilePtrOutput
type NetworkProfilePtrInput ¶ added in v4.34.0
type NetworkProfilePtrInput interface { pulumi.Input ToNetworkProfilePtrOutput() NetworkProfilePtrOutput ToNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkProfilePtrOutput }
type NetworkProfilePtrOutput ¶ added in v4.34.0
type NetworkProfilePtrOutput struct{ *pulumi.OutputState }
func (NetworkProfilePtrOutput) Elem ¶ added in v4.34.0
func (o NetworkProfilePtrOutput) Elem() NetworkProfileOutput
func (NetworkProfilePtrOutput) ElementType ¶ added in v4.34.0
func (NetworkProfilePtrOutput) ElementType() reflect.Type
func (NetworkProfilePtrOutput) ToNetworkProfilePtrOutput ¶ added in v4.34.0
func (o NetworkProfilePtrOutput) ToNetworkProfilePtrOutput() NetworkProfilePtrOutput
func (NetworkProfilePtrOutput) ToNetworkProfilePtrOutputWithContext ¶ added in v4.34.0
func (o NetworkProfilePtrOutput) ToNetworkProfilePtrOutputWithContext(ctx context.Context) NetworkProfilePtrOutput
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) ToProjectOutput ¶
func (i *Project) ToProjectOutput() ProjectOutput
func (*Project) ToProjectOutputWithContext ¶
func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
func (*Project) ToProjectPtrOutput ¶
func (i *Project) ToProjectPtrOutput() ProjectPtrOutput
func (*Project) ToProjectPtrOutputWithContext ¶
func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
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 (o ProjectArrayOutput) Index(i pulumi.IntInput) ProjectOutput
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 (o ProjectMapOutput) MapIndex(k pulumi.StringInput) ProjectOutput
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
func (ProjectOutput) ToProjectPtrOutput ¶
func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput
func (ProjectOutput) ToProjectPtrOutputWithContext ¶
func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
type ProjectPtrInput ¶
type ProjectPtrInput interface { pulumi.Input ToProjectPtrOutput() ProjectPtrOutput ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput }
type ProjectPtrOutput ¶
type ProjectPtrOutput struct{ *pulumi.OutputState }
func (ProjectPtrOutput) Elem ¶ added in v4.15.0
func (o ProjectPtrOutput) Elem() ProjectOutput
func (ProjectPtrOutput) ElementType ¶
func (ProjectPtrOutput) ElementType() reflect.Type
func (ProjectPtrOutput) ToProjectPtrOutput ¶
func (o ProjectPtrOutput) ToProjectPtrOutput() ProjectPtrOutput
func (ProjectPtrOutput) ToProjectPtrOutputWithContext ¶
func (o ProjectPtrOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
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 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) 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
func (*Upload) ToUploadPtrOutput ¶ added in v4.34.0
func (i *Upload) ToUploadPtrOutput() UploadPtrOutput
func (*Upload) ToUploadPtrOutputWithContext ¶ added in v4.34.0
func (i *Upload) ToUploadPtrOutputWithContext(ctx context.Context) UploadPtrOutput
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 (o UploadArrayOutput) Index(i pulumi.IntInput) UploadOutput
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) 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 (o UploadMapOutput) MapIndex(k pulumi.StringInput) UploadOutput
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
func (UploadOutput) ToUploadPtrOutput ¶ added in v4.34.0
func (o UploadOutput) ToUploadPtrOutput() UploadPtrOutput
func (UploadOutput) ToUploadPtrOutputWithContext ¶ added in v4.34.0
func (o UploadOutput) ToUploadPtrOutputWithContext(ctx context.Context) UploadPtrOutput
type UploadPtrInput ¶ added in v4.34.0
type UploadPtrInput interface { pulumi.Input ToUploadPtrOutput() UploadPtrOutput ToUploadPtrOutputWithContext(ctx context.Context) UploadPtrOutput }
type UploadPtrOutput ¶ added in v4.34.0
type UploadPtrOutput struct{ *pulumi.OutputState }
func (UploadPtrOutput) Elem ¶ added in v4.34.0
func (o UploadPtrOutput) Elem() UploadOutput
func (UploadPtrOutput) ElementType ¶ added in v4.34.0
func (UploadPtrOutput) ElementType() reflect.Type
func (UploadPtrOutput) ToUploadPtrOutput ¶ added in v4.34.0
func (o UploadPtrOutput) ToUploadPtrOutput() UploadPtrOutput
func (UploadPtrOutput) ToUploadPtrOutputWithContext ¶ added in v4.34.0
func (o UploadPtrOutput) ToUploadPtrOutputWithContext(ctx context.Context) UploadPtrOutput
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