Documentation ¶
Index ¶
- type DevicePool
- 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 (o DevicePoolOutput) Arn() pulumi.StringOutput
- func (o DevicePoolOutput) Description() pulumi.StringPtrOutput
- func (DevicePoolOutput) ElementType() reflect.Type
- func (o DevicePoolOutput) MaxDevices() pulumi.IntPtrOutput
- func (o DevicePoolOutput) Name() pulumi.StringOutput
- func (o DevicePoolOutput) ProjectArn() pulumi.StringOutput
- func (o DevicePoolOutput) Rules() DevicePoolRuleArrayOutput
- func (o DevicePoolOutput) Tags() pulumi.StringMapOutput
- func (o DevicePoolOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o DevicePoolOutput) ToDevicePoolOutput() DevicePoolOutput
- func (o DevicePoolOutput) ToDevicePoolOutputWithContext(ctx context.Context) DevicePoolOutput
- func (o DevicePoolOutput) Type() pulumi.StringOutput
- 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
- 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 (o InstanceProfileOutput) Arn() pulumi.StringOutput
- func (o InstanceProfileOutput) Description() pulumi.StringPtrOutput
- func (InstanceProfileOutput) ElementType() reflect.Type
- func (o InstanceProfileOutput) ExcludeAppPackagesFromCleanups() pulumi.StringArrayOutput
- func (o InstanceProfileOutput) Name() pulumi.StringOutput
- func (o InstanceProfileOutput) PackageCleanup() pulumi.BoolPtrOutput
- func (o InstanceProfileOutput) RebootAfterUse() pulumi.BoolPtrOutput
- func (o InstanceProfileOutput) Tags() pulumi.StringMapOutput
- func (o InstanceProfileOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o InstanceProfileOutput) ToInstanceProfileOutput() InstanceProfileOutput
- func (o InstanceProfileOutput) ToInstanceProfileOutputWithContext(ctx context.Context) InstanceProfileOutput
- type InstanceProfileState
- type NetworkProfile
- 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 (o NetworkProfileOutput) Arn() pulumi.StringOutput
- func (o NetworkProfileOutput) Description() pulumi.StringPtrOutput
- func (o NetworkProfileOutput) DownlinkBandwidthBits() pulumi.IntPtrOutput
- func (o NetworkProfileOutput) DownlinkDelayMs() pulumi.IntPtrOutput
- func (o NetworkProfileOutput) DownlinkJitterMs() pulumi.IntPtrOutput
- func (o NetworkProfileOutput) DownlinkLossPercent() pulumi.IntPtrOutput
- func (NetworkProfileOutput) ElementType() reflect.Type
- func (o NetworkProfileOutput) Name() pulumi.StringOutput
- func (o NetworkProfileOutput) ProjectArn() pulumi.StringOutput
- func (o NetworkProfileOutput) Tags() pulumi.StringMapOutput
- func (o NetworkProfileOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o NetworkProfileOutput) ToNetworkProfileOutput() NetworkProfileOutput
- func (o NetworkProfileOutput) ToNetworkProfileOutputWithContext(ctx context.Context) NetworkProfileOutput
- func (o NetworkProfileOutput) Type() pulumi.StringPtrOutput
- func (o NetworkProfileOutput) UplinkBandwidthBits() pulumi.IntPtrOutput
- func (o NetworkProfileOutput) UplinkDelayMs() pulumi.IntPtrOutput
- func (o NetworkProfileOutput) UplinkJitterMs() pulumi.IntPtrOutput
- func (o NetworkProfileOutput) UplinkLossPercent() pulumi.IntPtrOutput
- type NetworkProfileState
- type Project
- type ProjectArgs
- type ProjectArray
- type ProjectArrayInput
- type ProjectArrayOutput
- type ProjectInput
- type ProjectMap
- type ProjectMapInput
- type ProjectMapOutput
- type ProjectOutput
- func (o ProjectOutput) Arn() pulumi.StringOutput
- func (o ProjectOutput) DefaultJobTimeoutMinutes() pulumi.IntPtrOutput
- func (ProjectOutput) ElementType() reflect.Type
- func (o ProjectOutput) Name() pulumi.StringOutput
- func (o ProjectOutput) Tags() pulumi.StringMapOutput
- func (o ProjectOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o ProjectOutput) ToProjectOutput() ProjectOutput
- func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- type ProjectState
- type TestGridProject
- type TestGridProjectArgs
- type TestGridProjectArray
- type TestGridProjectArrayInput
- type TestGridProjectArrayOutput
- func (TestGridProjectArrayOutput) ElementType() reflect.Type
- func (o TestGridProjectArrayOutput) Index(i pulumi.IntInput) TestGridProjectOutput
- func (o TestGridProjectArrayOutput) ToTestGridProjectArrayOutput() TestGridProjectArrayOutput
- func (o TestGridProjectArrayOutput) ToTestGridProjectArrayOutputWithContext(ctx context.Context) TestGridProjectArrayOutput
- type TestGridProjectInput
- type TestGridProjectMap
- type TestGridProjectMapInput
- type TestGridProjectMapOutput
- func (TestGridProjectMapOutput) ElementType() reflect.Type
- func (o TestGridProjectMapOutput) MapIndex(k pulumi.StringInput) TestGridProjectOutput
- func (o TestGridProjectMapOutput) ToTestGridProjectMapOutput() TestGridProjectMapOutput
- func (o TestGridProjectMapOutput) ToTestGridProjectMapOutputWithContext(ctx context.Context) TestGridProjectMapOutput
- type TestGridProjectOutput
- func (o TestGridProjectOutput) Arn() pulumi.StringOutput
- func (o TestGridProjectOutput) Description() pulumi.StringPtrOutput
- func (TestGridProjectOutput) ElementType() reflect.Type
- func (o TestGridProjectOutput) Name() pulumi.StringOutput
- func (o TestGridProjectOutput) Tags() pulumi.StringMapOutput
- func (o TestGridProjectOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o TestGridProjectOutput) ToTestGridProjectOutput() TestGridProjectOutput
- func (o TestGridProjectOutput) ToTestGridProjectOutputWithContext(ctx context.Context) TestGridProjectOutput
- func (o TestGridProjectOutput) VpcConfig() TestGridProjectVpcConfigPtrOutput
- type TestGridProjectState
- type TestGridProjectVpcConfig
- type TestGridProjectVpcConfigArgs
- func (TestGridProjectVpcConfigArgs) ElementType() reflect.Type
- func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutput() TestGridProjectVpcConfigOutput
- func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutputWithContext(ctx context.Context) TestGridProjectVpcConfigOutput
- func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput
- func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutputWithContext(ctx context.Context) TestGridProjectVpcConfigPtrOutput
- type TestGridProjectVpcConfigInput
- type TestGridProjectVpcConfigOutput
- func (TestGridProjectVpcConfigOutput) ElementType() reflect.Type
- func (o TestGridProjectVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o TestGridProjectVpcConfigOutput) SubnetIds() pulumi.StringArrayOutput
- func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutput() TestGridProjectVpcConfigOutput
- func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutputWithContext(ctx context.Context) TestGridProjectVpcConfigOutput
- func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput
- func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutputWithContext(ctx context.Context) TestGridProjectVpcConfigPtrOutput
- func (o TestGridProjectVpcConfigOutput) VpcId() pulumi.StringOutput
- type TestGridProjectVpcConfigPtrInput
- type TestGridProjectVpcConfigPtrOutput
- func (o TestGridProjectVpcConfigPtrOutput) Elem() TestGridProjectVpcConfigOutput
- func (TestGridProjectVpcConfigPtrOutput) ElementType() reflect.Type
- func (o TestGridProjectVpcConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o TestGridProjectVpcConfigPtrOutput) SubnetIds() pulumi.StringArrayOutput
- func (o TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput
- func (o TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutputWithContext(ctx context.Context) TestGridProjectVpcConfigPtrOutput
- func (o TestGridProjectVpcConfigPtrOutput) VpcId() pulumi.StringPtrOutput
- type Upload
- type UploadArgs
- type UploadArray
- type UploadArrayInput
- type UploadArrayOutput
- type UploadInput
- type UploadMap
- type UploadMapInput
- type UploadMapOutput
- type UploadOutput
- func (o UploadOutput) Arn() pulumi.StringOutput
- func (o UploadOutput) Category() pulumi.StringOutput
- func (o UploadOutput) ContentType() pulumi.StringPtrOutput
- func (UploadOutput) ElementType() reflect.Type
- func (o UploadOutput) Metadata() pulumi.StringOutput
- func (o UploadOutput) Name() pulumi.StringOutput
- func (o UploadOutput) ProjectArn() pulumi.StringOutput
- func (o UploadOutput) ToUploadOutput() UploadOutput
- func (o UploadOutput) ToUploadOutputWithContext(ctx context.Context) UploadOutput
- func (o UploadOutput) Type() pulumi.StringOutput
- func (o UploadOutput) Url() pulumi.StringOutput
- type UploadState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevicePool ¶
type DevicePool struct { pulumi.CustomResourceState // The Amazon Resource Name of this Device Pool Arn pulumi.StringOutput `pulumi:"arn"` // The device pool's description. Description pulumi.StringPtrOutput `pulumi:"description"` // The number of devices that Device Farm can add to your device pool. MaxDevices pulumi.IntPtrOutput `pulumi:"maxDevices"` // The name of the Device Pool Name pulumi.StringOutput `pulumi:"name"` // The ARN of the project for the device pool. ProjectArn pulumi.StringOutput `pulumi:"projectArn"` // The device pool's rules. See Rule. Rules DevicePoolRuleArrayOutput `pulumi:"rules"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` Type pulumi.StringOutput `pulumi:"type"` }
Provides a resource to manage AWS Device Farm Device Pools.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devicefarm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := devicefarm.NewDevicePool(ctx, "example", &devicefarm.DevicePoolArgs{ 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
Using `pulumi import`, import DeviceFarm Device Pools using their ARN. For example:
```sh
$ pulumi import aws:devicefarm/devicePool:DevicePool example arn:aws:devicefarm:us-west-2:123456789012:devicepool:4fa784c7-ccb4-4dbf-ba4f-02198320daa1/4fa784c7-ccb4-4dbf-ba4f-02198320daa1
```
func GetDevicePool ¶
func GetDevicePool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DevicePoolState, opts ...pulumi.ResourceOption) (*DevicePool, error)
GetDevicePool gets an existing DevicePool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDevicePool ¶
func NewDevicePool(ctx *pulumi.Context, name string, args *DevicePoolArgs, opts ...pulumi.ResourceOption) (*DevicePool, error)
NewDevicePool registers a new resource with the given unique name, arguments, and options.
func (*DevicePool) ElementType ¶
func (*DevicePool) ElementType() reflect.Type
func (*DevicePool) ToDevicePoolOutput ¶
func (i *DevicePool) ToDevicePoolOutput() DevicePoolOutput
func (*DevicePool) ToDevicePoolOutputWithContext ¶
func (i *DevicePool) ToDevicePoolOutputWithContext(ctx context.Context) DevicePoolOutput
type DevicePoolArgs ¶
type DevicePoolArgs struct { // The device pool's description. Description pulumi.StringPtrInput // The number of devices that Device Farm can add to your device pool. MaxDevices pulumi.IntPtrInput // The name of the Device Pool Name pulumi.StringPtrInput // The ARN of the project for the device pool. ProjectArn pulumi.StringInput // The device pool's rules. See Rule. Rules DevicePoolRuleArrayInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a DevicePool resource.
func (DevicePoolArgs) ElementType ¶
func (DevicePoolArgs) ElementType() reflect.Type
type DevicePoolArray ¶
type DevicePoolArray []DevicePoolInput
func (DevicePoolArray) ElementType ¶
func (DevicePoolArray) ElementType() reflect.Type
func (DevicePoolArray) ToDevicePoolArrayOutput ¶
func (i DevicePoolArray) ToDevicePoolArrayOutput() DevicePoolArrayOutput
func (DevicePoolArray) ToDevicePoolArrayOutputWithContext ¶
func (i DevicePoolArray) ToDevicePoolArrayOutputWithContext(ctx context.Context) DevicePoolArrayOutput
type DevicePoolArrayInput ¶
type DevicePoolArrayInput interface { pulumi.Input ToDevicePoolArrayOutput() DevicePoolArrayOutput ToDevicePoolArrayOutputWithContext(context.Context) DevicePoolArrayOutput }
DevicePoolArrayInput is an input type that accepts DevicePoolArray and DevicePoolArrayOutput values. You can construct a concrete instance of `DevicePoolArrayInput` via:
DevicePoolArray{ DevicePoolArgs{...} }
type DevicePoolArrayOutput ¶
type DevicePoolArrayOutput struct{ *pulumi.OutputState }
func (DevicePoolArrayOutput) ElementType ¶
func (DevicePoolArrayOutput) ElementType() reflect.Type
func (DevicePoolArrayOutput) Index ¶
func (o DevicePoolArrayOutput) Index(i pulumi.IntInput) DevicePoolOutput
func (DevicePoolArrayOutput) ToDevicePoolArrayOutput ¶
func (o DevicePoolArrayOutput) ToDevicePoolArrayOutput() DevicePoolArrayOutput
func (DevicePoolArrayOutput) ToDevicePoolArrayOutputWithContext ¶
func (o DevicePoolArrayOutput) ToDevicePoolArrayOutputWithContext(ctx context.Context) DevicePoolArrayOutput
type DevicePoolInput ¶
type DevicePoolInput interface { pulumi.Input ToDevicePoolOutput() DevicePoolOutput ToDevicePoolOutputWithContext(ctx context.Context) DevicePoolOutput }
type DevicePoolMap ¶
type DevicePoolMap map[string]DevicePoolInput
func (DevicePoolMap) ElementType ¶
func (DevicePoolMap) ElementType() reflect.Type
func (DevicePoolMap) ToDevicePoolMapOutput ¶
func (i DevicePoolMap) ToDevicePoolMapOutput() DevicePoolMapOutput
func (DevicePoolMap) ToDevicePoolMapOutputWithContext ¶
func (i DevicePoolMap) ToDevicePoolMapOutputWithContext(ctx context.Context) DevicePoolMapOutput
type DevicePoolMapInput ¶
type DevicePoolMapInput interface { pulumi.Input ToDevicePoolMapOutput() DevicePoolMapOutput ToDevicePoolMapOutputWithContext(context.Context) DevicePoolMapOutput }
DevicePoolMapInput is an input type that accepts DevicePoolMap and DevicePoolMapOutput values. You can construct a concrete instance of `DevicePoolMapInput` via:
DevicePoolMap{ "key": DevicePoolArgs{...} }
type DevicePoolMapOutput ¶
type DevicePoolMapOutput struct{ *pulumi.OutputState }
func (DevicePoolMapOutput) ElementType ¶
func (DevicePoolMapOutput) ElementType() reflect.Type
func (DevicePoolMapOutput) MapIndex ¶
func (o DevicePoolMapOutput) MapIndex(k pulumi.StringInput) DevicePoolOutput
func (DevicePoolMapOutput) ToDevicePoolMapOutput ¶
func (o DevicePoolMapOutput) ToDevicePoolMapOutput() DevicePoolMapOutput
func (DevicePoolMapOutput) ToDevicePoolMapOutputWithContext ¶
func (o DevicePoolMapOutput) ToDevicePoolMapOutputWithContext(ctx context.Context) DevicePoolMapOutput
type DevicePoolOutput ¶
type DevicePoolOutput struct{ *pulumi.OutputState }
func (DevicePoolOutput) Arn ¶
func (o DevicePoolOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of this Device Pool
func (DevicePoolOutput) Description ¶
func (o DevicePoolOutput) Description() pulumi.StringPtrOutput
The device pool's description.
func (DevicePoolOutput) ElementType ¶
func (DevicePoolOutput) ElementType() reflect.Type
func (DevicePoolOutput) MaxDevices ¶
func (o DevicePoolOutput) MaxDevices() pulumi.IntPtrOutput
The number of devices that Device Farm can add to your device pool.
func (DevicePoolOutput) Name ¶
func (o DevicePoolOutput) Name() pulumi.StringOutput
The name of the Device Pool
func (DevicePoolOutput) ProjectArn ¶
func (o DevicePoolOutput) ProjectArn() pulumi.StringOutput
The ARN of the project for the device pool.
func (DevicePoolOutput) Rules ¶
func (o DevicePoolOutput) Rules() DevicePoolRuleArrayOutput
The device pool's rules. See Rule.
func (DevicePoolOutput) Tags ¶
func (o DevicePoolOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (DevicePoolOutput) TagsAll
deprecated
func (o DevicePoolOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (DevicePoolOutput) ToDevicePoolOutput ¶
func (o DevicePoolOutput) ToDevicePoolOutput() DevicePoolOutput
func (DevicePoolOutput) ToDevicePoolOutputWithContext ¶
func (o DevicePoolOutput) ToDevicePoolOutputWithContext(ctx context.Context) DevicePoolOutput
func (DevicePoolOutput) Type ¶
func (o DevicePoolOutput) Type() pulumi.StringOutput
type DevicePoolRule ¶
type DevicePoolRule struct { // The rule's stringified attribute. Valid values are: `APPIUM_VERSION`, `ARN`, `AVAILABILITY`, `FLEET_TYPE`, `FORM_FACTOR`, `INSTANCE_ARN`, `INSTANCE_LABELS`, `MANUFACTURER`, `MODEL`, `OS_VERSION`, `PLATFORM`, `REMOTE_ACCESS_ENABLED`, `REMOTE_DEBUG_ENABLED`. Attribute *string `pulumi:"attribute"` // Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute. Valid values are: `EQUALS`, `NOT_IN`, `IN`, `GREATER_THAN`, `GREATER_THAN_OR_EQUALS`, `LESS_THAN`, `LESS_THAN_OR_EQUALS`, `CONTAINS`. Operator *string `pulumi:"operator"` // The rule's value. Value *string `pulumi:"value"` }
type DevicePoolRuleArgs ¶
type DevicePoolRuleArgs struct { // The rule's stringified attribute. Valid values are: `APPIUM_VERSION`, `ARN`, `AVAILABILITY`, `FLEET_TYPE`, `FORM_FACTOR`, `INSTANCE_ARN`, `INSTANCE_LABELS`, `MANUFACTURER`, `MODEL`, `OS_VERSION`, `PLATFORM`, `REMOTE_ACCESS_ENABLED`, `REMOTE_DEBUG_ENABLED`. Attribute pulumi.StringPtrInput `pulumi:"attribute"` // Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute. Valid values are: `EQUALS`, `NOT_IN`, `IN`, `GREATER_THAN`, `GREATER_THAN_OR_EQUALS`, `LESS_THAN`, `LESS_THAN_OR_EQUALS`, `CONTAINS`. Operator pulumi.StringPtrInput `pulumi:"operator"` // The rule's value. Value pulumi.StringPtrInput `pulumi:"value"` }
func (DevicePoolRuleArgs) ElementType ¶
func (DevicePoolRuleArgs) ElementType() reflect.Type
func (DevicePoolRuleArgs) ToDevicePoolRuleOutput ¶
func (i DevicePoolRuleArgs) ToDevicePoolRuleOutput() DevicePoolRuleOutput
func (DevicePoolRuleArgs) ToDevicePoolRuleOutputWithContext ¶
func (i DevicePoolRuleArgs) ToDevicePoolRuleOutputWithContext(ctx context.Context) DevicePoolRuleOutput
type DevicePoolRuleArray ¶
type DevicePoolRuleArray []DevicePoolRuleInput
func (DevicePoolRuleArray) ElementType ¶
func (DevicePoolRuleArray) ElementType() reflect.Type
func (DevicePoolRuleArray) ToDevicePoolRuleArrayOutput ¶
func (i DevicePoolRuleArray) ToDevicePoolRuleArrayOutput() DevicePoolRuleArrayOutput
func (DevicePoolRuleArray) ToDevicePoolRuleArrayOutputWithContext ¶
func (i DevicePoolRuleArray) ToDevicePoolRuleArrayOutputWithContext(ctx context.Context) DevicePoolRuleArrayOutput
type DevicePoolRuleArrayInput ¶
type DevicePoolRuleArrayInput interface { pulumi.Input ToDevicePoolRuleArrayOutput() DevicePoolRuleArrayOutput ToDevicePoolRuleArrayOutputWithContext(context.Context) DevicePoolRuleArrayOutput }
DevicePoolRuleArrayInput is an input type that accepts DevicePoolRuleArray and DevicePoolRuleArrayOutput values. You can construct a concrete instance of `DevicePoolRuleArrayInput` via:
DevicePoolRuleArray{ DevicePoolRuleArgs{...} }
type DevicePoolRuleArrayOutput ¶
type DevicePoolRuleArrayOutput struct{ *pulumi.OutputState }
func (DevicePoolRuleArrayOutput) ElementType ¶
func (DevicePoolRuleArrayOutput) ElementType() reflect.Type
func (DevicePoolRuleArrayOutput) Index ¶
func (o DevicePoolRuleArrayOutput) Index(i pulumi.IntInput) DevicePoolRuleOutput
func (DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutput ¶
func (o DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutput() DevicePoolRuleArrayOutput
func (DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutputWithContext ¶
func (o DevicePoolRuleArrayOutput) ToDevicePoolRuleArrayOutputWithContext(ctx context.Context) DevicePoolRuleArrayOutput
type DevicePoolRuleInput ¶
type DevicePoolRuleInput interface { pulumi.Input ToDevicePoolRuleOutput() DevicePoolRuleOutput ToDevicePoolRuleOutputWithContext(context.Context) DevicePoolRuleOutput }
DevicePoolRuleInput is an input type that accepts DevicePoolRuleArgs and DevicePoolRuleOutput values. You can construct a concrete instance of `DevicePoolRuleInput` via:
DevicePoolRuleArgs{...}
type DevicePoolRuleOutput ¶
type DevicePoolRuleOutput struct{ *pulumi.OutputState }
func (DevicePoolRuleOutput) Attribute ¶
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 ¶
func (DevicePoolRuleOutput) ElementType() reflect.Type
func (DevicePoolRuleOutput) Operator ¶
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 ¶
func (o DevicePoolRuleOutput) ToDevicePoolRuleOutput() DevicePoolRuleOutput
func (DevicePoolRuleOutput) ToDevicePoolRuleOutputWithContext ¶
func (o DevicePoolRuleOutput) ToDevicePoolRuleOutputWithContext(ctx context.Context) DevicePoolRuleOutput
func (DevicePoolRuleOutput) Value ¶
func (o DevicePoolRuleOutput) Value() pulumi.StringPtrOutput
The rule's value.
type DevicePoolState ¶
type DevicePoolState struct { // The Amazon Resource Name of this Device Pool Arn pulumi.StringPtrInput // The device pool's description. Description pulumi.StringPtrInput // The number of devices that Device Farm can add to your device pool. MaxDevices pulumi.IntPtrInput // The name of the Device Pool Name pulumi.StringPtrInput // The ARN of the project for the device pool. ProjectArn pulumi.StringPtrInput // The device pool's rules. See Rule. Rules DevicePoolRuleArrayInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput Type pulumi.StringPtrInput }
func (DevicePoolState) ElementType ¶
func (DevicePoolState) ElementType() reflect.Type
type InstanceProfile ¶
type InstanceProfile struct { pulumi.CustomResourceState // The Amazon Resource Name of this instance profile. Arn pulumi.StringOutput `pulumi:"arn"` // The description of the instance profile. Description pulumi.StringPtrOutput `pulumi:"description"` // An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run. ExcludeAppPackagesFromCleanups pulumi.StringArrayOutput `pulumi:"excludeAppPackagesFromCleanups"` // The name for the instance profile. Name pulumi.StringOutput `pulumi:"name"` // When set to `true`, Device Farm removes app packages after a test run. The default value is `false` for private devices. PackageCleanup pulumi.BoolPtrOutput `pulumi:"packageCleanup"` // When set to `true`, Device Farm reboots the instance after a test run. The default value is `true`. RebootAfterUse pulumi.BoolPtrOutput `pulumi:"rebootAfterUse"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a resource to manage AWS Device Farm Instance Profiles. ∂ > **NOTE:** AWS currently has limited regional support for Device Farm (e.g., `us-west-2`). See [AWS Device Farm endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/devicefarm.html) for information on supported regions.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devicefarm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := devicefarm.NewInstanceProfile(ctx, "example", nil) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import DeviceFarm Instance Profiles using their ARN. For example:
```sh
$ pulumi import aws:devicefarm/instanceProfile:InstanceProfile example arn:aws:devicefarm:us-west-2:123456789012:instanceprofile:4fa784c7-ccb4-4dbf-ba4f-02198320daa1
```
func GetInstanceProfile ¶
func GetInstanceProfile(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceProfileState, opts ...pulumi.ResourceOption) (*InstanceProfile, error)
GetInstanceProfile gets an existing InstanceProfile resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstanceProfile ¶
func NewInstanceProfile(ctx *pulumi.Context, name string, args *InstanceProfileArgs, opts ...pulumi.ResourceOption) (*InstanceProfile, error)
NewInstanceProfile registers a new resource with the given unique name, arguments, and options.
func (*InstanceProfile) ElementType ¶
func (*InstanceProfile) ElementType() reflect.Type
func (*InstanceProfile) ToInstanceProfileOutput ¶
func (i *InstanceProfile) ToInstanceProfileOutput() InstanceProfileOutput
func (*InstanceProfile) ToInstanceProfileOutputWithContext ¶
func (i *InstanceProfile) ToInstanceProfileOutputWithContext(ctx context.Context) InstanceProfileOutput
type InstanceProfileArgs ¶
type InstanceProfileArgs struct { // The description of the instance profile. Description pulumi.StringPtrInput // An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run. ExcludeAppPackagesFromCleanups pulumi.StringArrayInput // The name for the instance profile. Name pulumi.StringPtrInput // When set to `true`, Device Farm removes app packages after a test run. The default value is `false` for private devices. PackageCleanup pulumi.BoolPtrInput // When set to `true`, Device Farm reboots the instance after a test run. The default value is `true`. RebootAfterUse pulumi.BoolPtrInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a InstanceProfile resource.
func (InstanceProfileArgs) ElementType ¶
func (InstanceProfileArgs) ElementType() reflect.Type
type InstanceProfileArray ¶
type InstanceProfileArray []InstanceProfileInput
func (InstanceProfileArray) ElementType ¶
func (InstanceProfileArray) ElementType() reflect.Type
func (InstanceProfileArray) ToInstanceProfileArrayOutput ¶
func (i InstanceProfileArray) ToInstanceProfileArrayOutput() InstanceProfileArrayOutput
func (InstanceProfileArray) ToInstanceProfileArrayOutputWithContext ¶
func (i InstanceProfileArray) ToInstanceProfileArrayOutputWithContext(ctx context.Context) InstanceProfileArrayOutput
type InstanceProfileArrayInput ¶
type InstanceProfileArrayInput interface { pulumi.Input ToInstanceProfileArrayOutput() InstanceProfileArrayOutput ToInstanceProfileArrayOutputWithContext(context.Context) InstanceProfileArrayOutput }
InstanceProfileArrayInput is an input type that accepts InstanceProfileArray and InstanceProfileArrayOutput values. You can construct a concrete instance of `InstanceProfileArrayInput` via:
InstanceProfileArray{ InstanceProfileArgs{...} }
type InstanceProfileArrayOutput ¶
type InstanceProfileArrayOutput struct{ *pulumi.OutputState }
func (InstanceProfileArrayOutput) ElementType ¶
func (InstanceProfileArrayOutput) ElementType() reflect.Type
func (InstanceProfileArrayOutput) Index ¶
func (o InstanceProfileArrayOutput) Index(i pulumi.IntInput) InstanceProfileOutput
func (InstanceProfileArrayOutput) ToInstanceProfileArrayOutput ¶
func (o InstanceProfileArrayOutput) ToInstanceProfileArrayOutput() InstanceProfileArrayOutput
func (InstanceProfileArrayOutput) ToInstanceProfileArrayOutputWithContext ¶
func (o InstanceProfileArrayOutput) ToInstanceProfileArrayOutputWithContext(ctx context.Context) InstanceProfileArrayOutput
type InstanceProfileInput ¶
type InstanceProfileInput interface { pulumi.Input ToInstanceProfileOutput() InstanceProfileOutput ToInstanceProfileOutputWithContext(ctx context.Context) InstanceProfileOutput }
type InstanceProfileMap ¶
type InstanceProfileMap map[string]InstanceProfileInput
func (InstanceProfileMap) ElementType ¶
func (InstanceProfileMap) ElementType() reflect.Type
func (InstanceProfileMap) ToInstanceProfileMapOutput ¶
func (i InstanceProfileMap) ToInstanceProfileMapOutput() InstanceProfileMapOutput
func (InstanceProfileMap) ToInstanceProfileMapOutputWithContext ¶
func (i InstanceProfileMap) ToInstanceProfileMapOutputWithContext(ctx context.Context) InstanceProfileMapOutput
type InstanceProfileMapInput ¶
type InstanceProfileMapInput interface { pulumi.Input ToInstanceProfileMapOutput() InstanceProfileMapOutput ToInstanceProfileMapOutputWithContext(context.Context) InstanceProfileMapOutput }
InstanceProfileMapInput is an input type that accepts InstanceProfileMap and InstanceProfileMapOutput values. You can construct a concrete instance of `InstanceProfileMapInput` via:
InstanceProfileMap{ "key": InstanceProfileArgs{...} }
type InstanceProfileMapOutput ¶
type InstanceProfileMapOutput struct{ *pulumi.OutputState }
func (InstanceProfileMapOutput) ElementType ¶
func (InstanceProfileMapOutput) ElementType() reflect.Type
func (InstanceProfileMapOutput) MapIndex ¶
func (o InstanceProfileMapOutput) MapIndex(k pulumi.StringInput) InstanceProfileOutput
func (InstanceProfileMapOutput) ToInstanceProfileMapOutput ¶
func (o InstanceProfileMapOutput) ToInstanceProfileMapOutput() InstanceProfileMapOutput
func (InstanceProfileMapOutput) ToInstanceProfileMapOutputWithContext ¶
func (o InstanceProfileMapOutput) ToInstanceProfileMapOutputWithContext(ctx context.Context) InstanceProfileMapOutput
type InstanceProfileOutput ¶
type InstanceProfileOutput struct{ *pulumi.OutputState }
func (InstanceProfileOutput) Arn ¶
func (o InstanceProfileOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of this instance profile.
func (InstanceProfileOutput) Description ¶
func (o InstanceProfileOutput) Description() pulumi.StringPtrOutput
The description of the instance profile.
func (InstanceProfileOutput) ElementType ¶
func (InstanceProfileOutput) ElementType() reflect.Type
func (InstanceProfileOutput) ExcludeAppPackagesFromCleanups ¶
func (o InstanceProfileOutput) ExcludeAppPackagesFromCleanups() pulumi.StringArrayOutput
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run.
func (InstanceProfileOutput) Name ¶
func (o InstanceProfileOutput) Name() pulumi.StringOutput
The name for the instance profile.
func (InstanceProfileOutput) PackageCleanup ¶
func (o InstanceProfileOutput) PackageCleanup() pulumi.BoolPtrOutput
When set to `true`, Device Farm removes app packages after a test run. The default value is `false` for private devices.
func (InstanceProfileOutput) RebootAfterUse ¶
func (o InstanceProfileOutput) RebootAfterUse() pulumi.BoolPtrOutput
When set to `true`, Device Farm reboots the instance after a test run. The default value is `true`.
func (InstanceProfileOutput) Tags ¶
func (o InstanceProfileOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (InstanceProfileOutput) TagsAll
deprecated
func (o InstanceProfileOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (InstanceProfileOutput) ToInstanceProfileOutput ¶
func (o InstanceProfileOutput) ToInstanceProfileOutput() InstanceProfileOutput
func (InstanceProfileOutput) ToInstanceProfileOutputWithContext ¶
func (o InstanceProfileOutput) ToInstanceProfileOutputWithContext(ctx context.Context) InstanceProfileOutput
type InstanceProfileState ¶
type InstanceProfileState struct { // The Amazon Resource Name of this instance profile. Arn pulumi.StringPtrInput // The description of the instance profile. Description pulumi.StringPtrInput // An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run. ExcludeAppPackagesFromCleanups pulumi.StringArrayInput // The name for the instance profile. Name pulumi.StringPtrInput // When set to `true`, Device Farm removes app packages after a test run. The default value is `false` for private devices. PackageCleanup pulumi.BoolPtrInput // When set to `true`, Device Farm reboots the instance after a test run. The default value is `true`. RebootAfterUse pulumi.BoolPtrInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (InstanceProfileState) ElementType ¶
func (InstanceProfileState) ElementType() reflect.Type
type NetworkProfile ¶
type NetworkProfile struct { pulumi.CustomResourceState // The Amazon Resource Name of this network profile. Arn pulumi.StringOutput `pulumi:"arn"` // The description of the network profile. Description pulumi.StringPtrOutput `pulumi:"description"` // The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`. DownlinkBandwidthBits pulumi.IntPtrOutput `pulumi:"downlinkBandwidthBits"` // Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`. DownlinkDelayMs pulumi.IntPtrOutput `pulumi:"downlinkDelayMs"` // Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`. DownlinkJitterMs pulumi.IntPtrOutput `pulumi:"downlinkJitterMs"` // Proportion of received packets that fail to arrive from `0` to `100` percent. DownlinkLossPercent pulumi.IntPtrOutput `pulumi:"downlinkLossPercent"` // The name for the network profile. Name pulumi.StringOutput `pulumi:"name"` // The ARN of the project for the network profile. ProjectArn pulumi.StringOutput `pulumi:"projectArn"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The type of network profile to create. Valid values are listed are `PRIVATE` and `CURATED`. Type pulumi.StringPtrOutput `pulumi:"type"` // The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`. UplinkBandwidthBits pulumi.IntPtrOutput `pulumi:"uplinkBandwidthBits"` // Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`. UplinkDelayMs pulumi.IntPtrOutput `pulumi:"uplinkDelayMs"` // Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`. UplinkJitterMs pulumi.IntPtrOutput `pulumi:"uplinkJitterMs"` // Proportion of received packets that fail to arrive from `0` to `100` percent. UplinkLossPercent pulumi.IntPtrOutput `pulumi:"uplinkLossPercent"` }
Provides a resource to manage AWS Device Farm Network Profiles. ∂ > **NOTE:** AWS currently has limited regional support for Device Farm (e.g., `us-west-2`). See [AWS Device Farm endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/devicefarm.html) for information on supported regions.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devicefarm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { 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
Using `pulumi import`, import DeviceFarm Network Profiles using their ARN. For example:
```sh
$ pulumi import aws:devicefarm/networkProfile:NetworkProfile example arn:aws:devicefarm:us-west-2:123456789012:networkprofile:4fa784c7-ccb4-4dbf-ba4f-02198320daa1
```
func GetNetworkProfile ¶
func GetNetworkProfile(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NetworkProfileState, opts ...pulumi.ResourceOption) (*NetworkProfile, error)
GetNetworkProfile gets an existing NetworkProfile resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewNetworkProfile ¶
func NewNetworkProfile(ctx *pulumi.Context, name string, args *NetworkProfileArgs, opts ...pulumi.ResourceOption) (*NetworkProfile, error)
NewNetworkProfile registers a new resource with the given unique name, arguments, and options.
func (*NetworkProfile) ElementType ¶
func (*NetworkProfile) ElementType() reflect.Type
func (*NetworkProfile) ToNetworkProfileOutput ¶
func (i *NetworkProfile) ToNetworkProfileOutput() NetworkProfileOutput
func (*NetworkProfile) ToNetworkProfileOutputWithContext ¶
func (i *NetworkProfile) ToNetworkProfileOutputWithContext(ctx context.Context) NetworkProfileOutput
type NetworkProfileArgs ¶
type NetworkProfileArgs struct { // The description of the network profile. Description pulumi.StringPtrInput // The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`. DownlinkBandwidthBits pulumi.IntPtrInput // Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`. DownlinkDelayMs pulumi.IntPtrInput // Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`. DownlinkJitterMs pulumi.IntPtrInput // Proportion of received packets that fail to arrive from `0` to `100` percent. DownlinkLossPercent pulumi.IntPtrInput // The name for the network profile. Name pulumi.StringPtrInput // The ARN of the project for the network profile. ProjectArn pulumi.StringInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The type of network profile to create. Valid values are listed are `PRIVATE` and `CURATED`. Type pulumi.StringPtrInput // The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`. UplinkBandwidthBits pulumi.IntPtrInput // Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`. UplinkDelayMs pulumi.IntPtrInput // Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`. UplinkJitterMs pulumi.IntPtrInput // Proportion of received packets that fail to arrive from `0` to `100` percent. UplinkLossPercent pulumi.IntPtrInput }
The set of arguments for constructing a NetworkProfile resource.
func (NetworkProfileArgs) ElementType ¶
func (NetworkProfileArgs) ElementType() reflect.Type
type NetworkProfileArray ¶
type NetworkProfileArray []NetworkProfileInput
func (NetworkProfileArray) ElementType ¶
func (NetworkProfileArray) ElementType() reflect.Type
func (NetworkProfileArray) ToNetworkProfileArrayOutput ¶
func (i NetworkProfileArray) ToNetworkProfileArrayOutput() NetworkProfileArrayOutput
func (NetworkProfileArray) ToNetworkProfileArrayOutputWithContext ¶
func (i NetworkProfileArray) ToNetworkProfileArrayOutputWithContext(ctx context.Context) NetworkProfileArrayOutput
type NetworkProfileArrayInput ¶
type NetworkProfileArrayInput interface { pulumi.Input ToNetworkProfileArrayOutput() NetworkProfileArrayOutput ToNetworkProfileArrayOutputWithContext(context.Context) NetworkProfileArrayOutput }
NetworkProfileArrayInput is an input type that accepts NetworkProfileArray and NetworkProfileArrayOutput values. You can construct a concrete instance of `NetworkProfileArrayInput` via:
NetworkProfileArray{ NetworkProfileArgs{...} }
type NetworkProfileArrayOutput ¶
type NetworkProfileArrayOutput struct{ *pulumi.OutputState }
func (NetworkProfileArrayOutput) ElementType ¶
func (NetworkProfileArrayOutput) ElementType() reflect.Type
func (NetworkProfileArrayOutput) Index ¶
func (o NetworkProfileArrayOutput) Index(i pulumi.IntInput) NetworkProfileOutput
func (NetworkProfileArrayOutput) ToNetworkProfileArrayOutput ¶
func (o NetworkProfileArrayOutput) ToNetworkProfileArrayOutput() NetworkProfileArrayOutput
func (NetworkProfileArrayOutput) ToNetworkProfileArrayOutputWithContext ¶
func (o NetworkProfileArrayOutput) ToNetworkProfileArrayOutputWithContext(ctx context.Context) NetworkProfileArrayOutput
type NetworkProfileInput ¶
type NetworkProfileInput interface { pulumi.Input ToNetworkProfileOutput() NetworkProfileOutput ToNetworkProfileOutputWithContext(ctx context.Context) NetworkProfileOutput }
type NetworkProfileMap ¶
type NetworkProfileMap map[string]NetworkProfileInput
func (NetworkProfileMap) ElementType ¶
func (NetworkProfileMap) ElementType() reflect.Type
func (NetworkProfileMap) ToNetworkProfileMapOutput ¶
func (i NetworkProfileMap) ToNetworkProfileMapOutput() NetworkProfileMapOutput
func (NetworkProfileMap) ToNetworkProfileMapOutputWithContext ¶
func (i NetworkProfileMap) ToNetworkProfileMapOutputWithContext(ctx context.Context) NetworkProfileMapOutput
type NetworkProfileMapInput ¶
type NetworkProfileMapInput interface { pulumi.Input ToNetworkProfileMapOutput() NetworkProfileMapOutput ToNetworkProfileMapOutputWithContext(context.Context) NetworkProfileMapOutput }
NetworkProfileMapInput is an input type that accepts NetworkProfileMap and NetworkProfileMapOutput values. You can construct a concrete instance of `NetworkProfileMapInput` via:
NetworkProfileMap{ "key": NetworkProfileArgs{...} }
type NetworkProfileMapOutput ¶
type NetworkProfileMapOutput struct{ *pulumi.OutputState }
func (NetworkProfileMapOutput) ElementType ¶
func (NetworkProfileMapOutput) ElementType() reflect.Type
func (NetworkProfileMapOutput) MapIndex ¶
func (o NetworkProfileMapOutput) MapIndex(k pulumi.StringInput) NetworkProfileOutput
func (NetworkProfileMapOutput) ToNetworkProfileMapOutput ¶
func (o NetworkProfileMapOutput) ToNetworkProfileMapOutput() NetworkProfileMapOutput
func (NetworkProfileMapOutput) ToNetworkProfileMapOutputWithContext ¶
func (o NetworkProfileMapOutput) ToNetworkProfileMapOutputWithContext(ctx context.Context) NetworkProfileMapOutput
type NetworkProfileOutput ¶
type NetworkProfileOutput struct{ *pulumi.OutputState }
func (NetworkProfileOutput) Arn ¶
func (o NetworkProfileOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of this network profile.
func (NetworkProfileOutput) Description ¶
func (o NetworkProfileOutput) Description() pulumi.StringPtrOutput
The description of the network profile.
func (NetworkProfileOutput) DownlinkBandwidthBits ¶
func (o NetworkProfileOutput) DownlinkBandwidthBits() pulumi.IntPtrOutput
The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`.
func (NetworkProfileOutput) DownlinkDelayMs ¶
func (o NetworkProfileOutput) DownlinkDelayMs() pulumi.IntPtrOutput
Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`.
func (NetworkProfileOutput) DownlinkJitterMs ¶
func (o NetworkProfileOutput) DownlinkJitterMs() pulumi.IntPtrOutput
Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`.
func (NetworkProfileOutput) DownlinkLossPercent ¶
func (o NetworkProfileOutput) DownlinkLossPercent() pulumi.IntPtrOutput
Proportion of received packets that fail to arrive from `0` to `100` percent.
func (NetworkProfileOutput) ElementType ¶
func (NetworkProfileOutput) ElementType() reflect.Type
func (NetworkProfileOutput) Name ¶
func (o NetworkProfileOutput) Name() pulumi.StringOutput
The name for the network profile.
func (NetworkProfileOutput) ProjectArn ¶
func (o NetworkProfileOutput) ProjectArn() pulumi.StringOutput
The ARN of the project for the network profile.
func (NetworkProfileOutput) Tags ¶
func (o NetworkProfileOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (NetworkProfileOutput) TagsAll
deprecated
func (o NetworkProfileOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (NetworkProfileOutput) ToNetworkProfileOutput ¶
func (o NetworkProfileOutput) ToNetworkProfileOutput() NetworkProfileOutput
func (NetworkProfileOutput) ToNetworkProfileOutputWithContext ¶
func (o NetworkProfileOutput) ToNetworkProfileOutputWithContext(ctx context.Context) NetworkProfileOutput
func (NetworkProfileOutput) Type ¶
func (o NetworkProfileOutput) Type() pulumi.StringPtrOutput
The type of network profile to create. Valid values are listed are `PRIVATE` and `CURATED`.
func (NetworkProfileOutput) UplinkBandwidthBits ¶
func (o NetworkProfileOutput) UplinkBandwidthBits() pulumi.IntPtrOutput
The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`.
func (NetworkProfileOutput) UplinkDelayMs ¶
func (o NetworkProfileOutput) UplinkDelayMs() pulumi.IntPtrOutput
Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`.
func (NetworkProfileOutput) UplinkJitterMs ¶
func (o NetworkProfileOutput) UplinkJitterMs() pulumi.IntPtrOutput
Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`.
func (NetworkProfileOutput) UplinkLossPercent ¶
func (o NetworkProfileOutput) UplinkLossPercent() pulumi.IntPtrOutput
Proportion of received packets that fail to arrive from `0` to `100` percent.
type NetworkProfileState ¶
type NetworkProfileState struct { // The Amazon Resource Name of this network profile. Arn pulumi.StringPtrInput // The description of the network profile. Description pulumi.StringPtrInput // The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`. DownlinkBandwidthBits pulumi.IntPtrInput // Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`. DownlinkDelayMs pulumi.IntPtrInput // Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`. DownlinkJitterMs pulumi.IntPtrInput // Proportion of received packets that fail to arrive from `0` to `100` percent. DownlinkLossPercent pulumi.IntPtrInput // The name for the network profile. Name pulumi.StringPtrInput // The ARN of the project for the network profile. ProjectArn pulumi.StringPtrInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The type of network profile to create. Valid values are listed are `PRIVATE` and `CURATED`. Type pulumi.StringPtrInput // The data throughput rate in bits per second, as an integer from `0` to `104857600`. Default value is `104857600`. UplinkBandwidthBits pulumi.IntPtrInput // Delay time for all packets to destination in milliseconds as an integer from `0` to `2000`. UplinkDelayMs pulumi.IntPtrInput // Time variation in the delay of received packets in milliseconds as an integer from `0` to `2000`. UplinkJitterMs pulumi.IntPtrInput // Proportion of received packets that fail to arrive from `0` to `100` percent. UplinkLossPercent pulumi.IntPtrInput }
func (NetworkProfileState) ElementType ¶
func (NetworkProfileState) ElementType() reflect.Type
type Project ¶
type Project struct { pulumi.CustomResourceState // The Amazon Resource Name of this project Arn pulumi.StringOutput `pulumi:"arn"` // Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run. DefaultJobTimeoutMinutes pulumi.IntPtrOutput `pulumi:"defaultJobTimeoutMinutes"` // The name of the project Name pulumi.StringOutput `pulumi:"name"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a resource to manage AWS Device Farm Projects.
For more information about Device Farm Projects, see the AWS Documentation on [Device Farm Projects][aws-get-project].
> **NOTE:** AWS currently has limited regional support for Device Farm (e.g., `us-west-2`). See [AWS Device Farm endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/devicefarm.html) for information on supported regions.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devicefarm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := devicefarm.NewProject(ctx, "awesomeDevices", nil) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import DeviceFarm Projects using their ARN. For example:
```sh
$ pulumi import aws:devicefarm/project:Project example arn:aws:devicefarm:us-west-2:123456789012:project:4fa784c7-ccb4-4dbf-ba4f-02198320daa1
```
func GetProject ¶
func GetProject(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)
GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProject ¶
func NewProject(ctx *pulumi.Context, name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)
NewProject registers a new resource with the given unique name, arguments, and options.
func (*Project) ElementType ¶
func (*Project) 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 (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) Arn ¶
func (o ProjectOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of this project
func (ProjectOutput) DefaultJobTimeoutMinutes ¶
func (o ProjectOutput) DefaultJobTimeoutMinutes() pulumi.IntPtrOutput
Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.
func (ProjectOutput) ElementType ¶
func (ProjectOutput) ElementType() reflect.Type
func (ProjectOutput) Name ¶
func (o ProjectOutput) Name() pulumi.StringOutput
The name of the project
func (ProjectOutput) Tags ¶
func (o ProjectOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ProjectOutput) TagsAll
deprecated
func (o ProjectOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (ProjectOutput) ToProjectOutput ¶
func (o ProjectOutput) ToProjectOutput() ProjectOutput
func (ProjectOutput) ToProjectOutputWithContext ¶
func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectState ¶
type ProjectState struct { // The Amazon Resource Name of this project Arn pulumi.StringPtrInput // Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run. DefaultJobTimeoutMinutes pulumi.IntPtrInput // The name of the project Name pulumi.StringPtrInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (ProjectState) ElementType ¶
func (ProjectState) ElementType() reflect.Type
type TestGridProject ¶
type TestGridProject struct { pulumi.CustomResourceState // The Amazon Resource Name of this Test Grid Project. Arn pulumi.StringOutput `pulumi:"arn"` // Human-readable description of the project. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the Selenium testing project. Name pulumi.StringOutput `pulumi:"name"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The VPC security groups and subnets that are attached to a project. See VPC Config below. VpcConfig TestGridProjectVpcConfigPtrOutput `pulumi:"vpcConfig"` }
Provides a resource to manage AWS Device Farm Test Grid Projects.
> **NOTE:** AWS currently has limited regional support for Device Farm (e.g., `us-west-2`). See [AWS Device Farm endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/devicefarm.html) for information on supported regions.
## Import
Using `pulumi import`, import DeviceFarm Test Grid Projects using their ARN. For example:
```sh
$ pulumi import aws:devicefarm/testGridProject:TestGridProject example arn:aws:devicefarm:us-west-2:123456789012:testgrid-project:4fa784c7-ccb4-4dbf-ba4f-02198320daa1
```
func GetTestGridProject ¶
func GetTestGridProject(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TestGridProjectState, opts ...pulumi.ResourceOption) (*TestGridProject, error)
GetTestGridProject gets an existing TestGridProject resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTestGridProject ¶
func NewTestGridProject(ctx *pulumi.Context, name string, args *TestGridProjectArgs, opts ...pulumi.ResourceOption) (*TestGridProject, error)
NewTestGridProject registers a new resource with the given unique name, arguments, and options.
func (*TestGridProject) ElementType ¶
func (*TestGridProject) ElementType() reflect.Type
func (*TestGridProject) ToTestGridProjectOutput ¶
func (i *TestGridProject) ToTestGridProjectOutput() TestGridProjectOutput
func (*TestGridProject) ToTestGridProjectOutputWithContext ¶
func (i *TestGridProject) ToTestGridProjectOutputWithContext(ctx context.Context) TestGridProjectOutput
type TestGridProjectArgs ¶
type TestGridProjectArgs struct { // Human-readable description of the project. Description pulumi.StringPtrInput // The name of the Selenium testing project. Name pulumi.StringPtrInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The VPC security groups and subnets that are attached to a project. See VPC Config below. VpcConfig TestGridProjectVpcConfigPtrInput }
The set of arguments for constructing a TestGridProject resource.
func (TestGridProjectArgs) ElementType ¶
func (TestGridProjectArgs) ElementType() reflect.Type
type TestGridProjectArray ¶
type TestGridProjectArray []TestGridProjectInput
func (TestGridProjectArray) ElementType ¶
func (TestGridProjectArray) ElementType() reflect.Type
func (TestGridProjectArray) ToTestGridProjectArrayOutput ¶
func (i TestGridProjectArray) ToTestGridProjectArrayOutput() TestGridProjectArrayOutput
func (TestGridProjectArray) ToTestGridProjectArrayOutputWithContext ¶
func (i TestGridProjectArray) ToTestGridProjectArrayOutputWithContext(ctx context.Context) TestGridProjectArrayOutput
type TestGridProjectArrayInput ¶
type TestGridProjectArrayInput interface { pulumi.Input ToTestGridProjectArrayOutput() TestGridProjectArrayOutput ToTestGridProjectArrayOutputWithContext(context.Context) TestGridProjectArrayOutput }
TestGridProjectArrayInput is an input type that accepts TestGridProjectArray and TestGridProjectArrayOutput values. You can construct a concrete instance of `TestGridProjectArrayInput` via:
TestGridProjectArray{ TestGridProjectArgs{...} }
type TestGridProjectArrayOutput ¶
type TestGridProjectArrayOutput struct{ *pulumi.OutputState }
func (TestGridProjectArrayOutput) ElementType ¶
func (TestGridProjectArrayOutput) ElementType() reflect.Type
func (TestGridProjectArrayOutput) Index ¶
func (o TestGridProjectArrayOutput) Index(i pulumi.IntInput) TestGridProjectOutput
func (TestGridProjectArrayOutput) ToTestGridProjectArrayOutput ¶
func (o TestGridProjectArrayOutput) ToTestGridProjectArrayOutput() TestGridProjectArrayOutput
func (TestGridProjectArrayOutput) ToTestGridProjectArrayOutputWithContext ¶
func (o TestGridProjectArrayOutput) ToTestGridProjectArrayOutputWithContext(ctx context.Context) TestGridProjectArrayOutput
type TestGridProjectInput ¶
type TestGridProjectInput interface { pulumi.Input ToTestGridProjectOutput() TestGridProjectOutput ToTestGridProjectOutputWithContext(ctx context.Context) TestGridProjectOutput }
type TestGridProjectMap ¶
type TestGridProjectMap map[string]TestGridProjectInput
func (TestGridProjectMap) ElementType ¶
func (TestGridProjectMap) ElementType() reflect.Type
func (TestGridProjectMap) ToTestGridProjectMapOutput ¶
func (i TestGridProjectMap) ToTestGridProjectMapOutput() TestGridProjectMapOutput
func (TestGridProjectMap) ToTestGridProjectMapOutputWithContext ¶
func (i TestGridProjectMap) ToTestGridProjectMapOutputWithContext(ctx context.Context) TestGridProjectMapOutput
type TestGridProjectMapInput ¶
type TestGridProjectMapInput interface { pulumi.Input ToTestGridProjectMapOutput() TestGridProjectMapOutput ToTestGridProjectMapOutputWithContext(context.Context) TestGridProjectMapOutput }
TestGridProjectMapInput is an input type that accepts TestGridProjectMap and TestGridProjectMapOutput values. You can construct a concrete instance of `TestGridProjectMapInput` via:
TestGridProjectMap{ "key": TestGridProjectArgs{...} }
type TestGridProjectMapOutput ¶
type TestGridProjectMapOutput struct{ *pulumi.OutputState }
func (TestGridProjectMapOutput) ElementType ¶
func (TestGridProjectMapOutput) ElementType() reflect.Type
func (TestGridProjectMapOutput) MapIndex ¶
func (o TestGridProjectMapOutput) MapIndex(k pulumi.StringInput) TestGridProjectOutput
func (TestGridProjectMapOutput) ToTestGridProjectMapOutput ¶
func (o TestGridProjectMapOutput) ToTestGridProjectMapOutput() TestGridProjectMapOutput
func (TestGridProjectMapOutput) ToTestGridProjectMapOutputWithContext ¶
func (o TestGridProjectMapOutput) ToTestGridProjectMapOutputWithContext(ctx context.Context) TestGridProjectMapOutput
type TestGridProjectOutput ¶
type TestGridProjectOutput struct{ *pulumi.OutputState }
func (TestGridProjectOutput) Arn ¶
func (o TestGridProjectOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of this Test Grid Project.
func (TestGridProjectOutput) Description ¶
func (o TestGridProjectOutput) Description() pulumi.StringPtrOutput
Human-readable description of the project.
func (TestGridProjectOutput) ElementType ¶
func (TestGridProjectOutput) ElementType() reflect.Type
func (TestGridProjectOutput) Name ¶
func (o TestGridProjectOutput) Name() pulumi.StringOutput
The name of the Selenium testing project.
func (TestGridProjectOutput) Tags ¶
func (o TestGridProjectOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (TestGridProjectOutput) TagsAll
deprecated
func (o TestGridProjectOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (TestGridProjectOutput) ToTestGridProjectOutput ¶
func (o TestGridProjectOutput) ToTestGridProjectOutput() TestGridProjectOutput
func (TestGridProjectOutput) ToTestGridProjectOutputWithContext ¶
func (o TestGridProjectOutput) ToTestGridProjectOutputWithContext(ctx context.Context) TestGridProjectOutput
func (TestGridProjectOutput) VpcConfig ¶
func (o TestGridProjectOutput) VpcConfig() TestGridProjectVpcConfigPtrOutput
The VPC security groups and subnets that are attached to a project. See VPC Config below.
type TestGridProjectState ¶
type TestGridProjectState struct { // The Amazon Resource Name of this Test Grid Project. Arn pulumi.StringPtrInput // Human-readable description of the project. Description pulumi.StringPtrInput // The name of the Selenium testing project. Name pulumi.StringPtrInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The VPC security groups and subnets that are attached to a project. See VPC Config below. VpcConfig TestGridProjectVpcConfigPtrInput }
func (TestGridProjectState) ElementType ¶
func (TestGridProjectState) ElementType() reflect.Type
type TestGridProjectVpcConfigArgs ¶
type TestGridProjectVpcConfigArgs struct { // A list of VPC security group IDs in your Amazon VPC. SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` // A list of VPC subnet IDs in your Amazon VPC. SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` // The ID of the Amazon VPC. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (TestGridProjectVpcConfigArgs) ElementType ¶
func (TestGridProjectVpcConfigArgs) ElementType() reflect.Type
func (TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutput ¶
func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutput() TestGridProjectVpcConfigOutput
func (TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutputWithContext ¶
func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigOutputWithContext(ctx context.Context) TestGridProjectVpcConfigOutput
func (TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutput ¶
func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput
func (TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutputWithContext ¶
func (i TestGridProjectVpcConfigArgs) ToTestGridProjectVpcConfigPtrOutputWithContext(ctx context.Context) TestGridProjectVpcConfigPtrOutput
type TestGridProjectVpcConfigInput ¶
type TestGridProjectVpcConfigInput interface { pulumi.Input ToTestGridProjectVpcConfigOutput() TestGridProjectVpcConfigOutput ToTestGridProjectVpcConfigOutputWithContext(context.Context) TestGridProjectVpcConfigOutput }
TestGridProjectVpcConfigInput is an input type that accepts TestGridProjectVpcConfigArgs and TestGridProjectVpcConfigOutput values. You can construct a concrete instance of `TestGridProjectVpcConfigInput` via:
TestGridProjectVpcConfigArgs{...}
type TestGridProjectVpcConfigOutput ¶
type TestGridProjectVpcConfigOutput struct{ *pulumi.OutputState }
func (TestGridProjectVpcConfigOutput) ElementType ¶
func (TestGridProjectVpcConfigOutput) ElementType() reflect.Type
func (TestGridProjectVpcConfigOutput) SecurityGroupIds ¶
func (o TestGridProjectVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
A list of VPC security group IDs in your Amazon VPC.
func (TestGridProjectVpcConfigOutput) SubnetIds ¶
func (o TestGridProjectVpcConfigOutput) SubnetIds() pulumi.StringArrayOutput
A list of VPC subnet IDs in your Amazon VPC.
func (TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutput ¶
func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutput() TestGridProjectVpcConfigOutput
func (TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutputWithContext ¶
func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigOutputWithContext(ctx context.Context) TestGridProjectVpcConfigOutput
func (TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutput ¶
func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput
func (TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutputWithContext ¶
func (o TestGridProjectVpcConfigOutput) ToTestGridProjectVpcConfigPtrOutputWithContext(ctx context.Context) TestGridProjectVpcConfigPtrOutput
func (TestGridProjectVpcConfigOutput) VpcId ¶
func (o TestGridProjectVpcConfigOutput) VpcId() pulumi.StringOutput
The ID of the Amazon VPC.
type TestGridProjectVpcConfigPtrInput ¶
type TestGridProjectVpcConfigPtrInput interface { pulumi.Input ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput ToTestGridProjectVpcConfigPtrOutputWithContext(context.Context) TestGridProjectVpcConfigPtrOutput }
TestGridProjectVpcConfigPtrInput is an input type that accepts TestGridProjectVpcConfigArgs, TestGridProjectVpcConfigPtr and TestGridProjectVpcConfigPtrOutput values. You can construct a concrete instance of `TestGridProjectVpcConfigPtrInput` via:
TestGridProjectVpcConfigArgs{...} or: nil
func TestGridProjectVpcConfigPtr ¶
func TestGridProjectVpcConfigPtr(v *TestGridProjectVpcConfigArgs) TestGridProjectVpcConfigPtrInput
type TestGridProjectVpcConfigPtrOutput ¶
type TestGridProjectVpcConfigPtrOutput struct{ *pulumi.OutputState }
func (TestGridProjectVpcConfigPtrOutput) Elem ¶
func (o TestGridProjectVpcConfigPtrOutput) Elem() TestGridProjectVpcConfigOutput
func (TestGridProjectVpcConfigPtrOutput) ElementType ¶
func (TestGridProjectVpcConfigPtrOutput) ElementType() reflect.Type
func (TestGridProjectVpcConfigPtrOutput) SecurityGroupIds ¶
func (o TestGridProjectVpcConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
A list of VPC security group IDs in your Amazon VPC.
func (TestGridProjectVpcConfigPtrOutput) SubnetIds ¶
func (o TestGridProjectVpcConfigPtrOutput) SubnetIds() pulumi.StringArrayOutput
A list of VPC subnet IDs in your Amazon VPC.
func (TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutput ¶
func (o TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutput() TestGridProjectVpcConfigPtrOutput
func (TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutputWithContext ¶
func (o TestGridProjectVpcConfigPtrOutput) ToTestGridProjectVpcConfigPtrOutputWithContext(ctx context.Context) TestGridProjectVpcConfigPtrOutput
func (TestGridProjectVpcConfigPtrOutput) VpcId ¶
func (o TestGridProjectVpcConfigPtrOutput) VpcId() pulumi.StringPtrOutput
The ID of the Amazon VPC.
type Upload ¶
type Upload struct { pulumi.CustomResourceState // The Amazon Resource Name of this upload. Arn pulumi.StringOutput `pulumi:"arn"` // The upload's category. Category pulumi.StringOutput `pulumi:"category"` // The upload's content type (for example, application/octet-stream). ContentType pulumi.StringPtrOutput `pulumi:"contentType"` // The upload's metadata. For example, for Android, this contains information that is parsed from the manifest and is displayed in the AWS Device Farm console after the associated app is uploaded. Metadata pulumi.StringOutput `pulumi:"metadata"` // The upload's file name. The name should not contain any forward slashes (/). If you are uploading an iOS app, the file name must end with the .ipa extension. If you are uploading an Android app, the file name must end with the .apk extension. For all others, the file name must end with the .zip file extension. Name pulumi.StringOutput `pulumi:"name"` // The ARN of the project for the upload. ProjectArn pulumi.StringOutput `pulumi:"projectArn"` // The upload's upload type. See [AWS Docs](https://docs.aws.amazon.com/devicefarm/latest/APIReference/API_CreateUpload.html#API_CreateUpload_RequestSyntax) for valid list of values. Type pulumi.StringOutput `pulumi:"type"` // The presigned Amazon S3 URL that was used to store a file using a PUT request. Url pulumi.StringOutput `pulumi:"url"` }
Provides a resource to manage AWS Device Farm Uploads.
> **NOTE:** AWS currently has limited regional support for Device Farm (e.g., `us-west-2`). See [AWS Device Farm endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/devicefarm.html) for information on supported regions.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/devicefarm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { 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
Using `pulumi import`, import DeviceFarm Uploads using their ARN. For example:
```sh
$ pulumi import aws:devicefarm/upload:Upload example arn:aws:devicefarm:us-west-2:123456789012:upload:4fa784c7-ccb4-4dbf-ba4f-02198320daa1
```
func GetUpload ¶
func GetUpload(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UploadState, opts ...pulumi.ResourceOption) (*Upload, error)
GetUpload gets an existing Upload resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUpload ¶
func NewUpload(ctx *pulumi.Context, name string, args *UploadArgs, opts ...pulumi.ResourceOption) (*Upload, error)
NewUpload registers a new resource with the given unique name, arguments, and options.
func (*Upload) ElementType ¶
func (*Upload) ToUploadOutput ¶
func (i *Upload) ToUploadOutput() UploadOutput
func (*Upload) ToUploadOutputWithContext ¶
func (i *Upload) ToUploadOutputWithContext(ctx context.Context) UploadOutput
type UploadArgs ¶
type UploadArgs struct { // The upload's content type (for example, application/octet-stream). ContentType pulumi.StringPtrInput // The upload's file name. The name should not contain any forward slashes (/). If you are uploading an iOS app, the file name must end with the .ipa extension. If you are uploading an Android app, the file name must end with the .apk extension. For all others, the file name must end with the .zip file extension. Name pulumi.StringPtrInput // The ARN of the project for the upload. ProjectArn pulumi.StringInput // The upload's upload type. See [AWS Docs](https://docs.aws.amazon.com/devicefarm/latest/APIReference/API_CreateUpload.html#API_CreateUpload_RequestSyntax) for valid list of values. Type pulumi.StringInput }
The set of arguments for constructing a Upload resource.
func (UploadArgs) ElementType ¶
func (UploadArgs) ElementType() reflect.Type
type UploadArray ¶
type UploadArray []UploadInput
func (UploadArray) ElementType ¶
func (UploadArray) ElementType() reflect.Type
func (UploadArray) ToUploadArrayOutput ¶
func (i UploadArray) ToUploadArrayOutput() UploadArrayOutput
func (UploadArray) ToUploadArrayOutputWithContext ¶
func (i UploadArray) ToUploadArrayOutputWithContext(ctx context.Context) UploadArrayOutput
type UploadArrayInput ¶
type UploadArrayInput interface { pulumi.Input ToUploadArrayOutput() UploadArrayOutput ToUploadArrayOutputWithContext(context.Context) UploadArrayOutput }
UploadArrayInput is an input type that accepts UploadArray and UploadArrayOutput values. You can construct a concrete instance of `UploadArrayInput` via:
UploadArray{ UploadArgs{...} }
type UploadArrayOutput ¶
type UploadArrayOutput struct{ *pulumi.OutputState }
func (UploadArrayOutput) ElementType ¶
func (UploadArrayOutput) ElementType() reflect.Type
func (UploadArrayOutput) Index ¶
func (o UploadArrayOutput) Index(i pulumi.IntInput) UploadOutput
func (UploadArrayOutput) ToUploadArrayOutput ¶
func (o UploadArrayOutput) ToUploadArrayOutput() UploadArrayOutput
func (UploadArrayOutput) ToUploadArrayOutputWithContext ¶
func (o UploadArrayOutput) ToUploadArrayOutputWithContext(ctx context.Context) UploadArrayOutput
type UploadInput ¶
type UploadInput interface { pulumi.Input ToUploadOutput() UploadOutput ToUploadOutputWithContext(ctx context.Context) UploadOutput }
type UploadMap ¶
type UploadMap map[string]UploadInput
func (UploadMap) ElementType ¶
func (UploadMap) ToUploadMapOutput ¶
func (i UploadMap) ToUploadMapOutput() UploadMapOutput
func (UploadMap) ToUploadMapOutputWithContext ¶
func (i UploadMap) ToUploadMapOutputWithContext(ctx context.Context) UploadMapOutput
type UploadMapInput ¶
type UploadMapInput interface { pulumi.Input ToUploadMapOutput() UploadMapOutput ToUploadMapOutputWithContext(context.Context) UploadMapOutput }
UploadMapInput is an input type that accepts UploadMap and UploadMapOutput values. You can construct a concrete instance of `UploadMapInput` via:
UploadMap{ "key": UploadArgs{...} }
type UploadMapOutput ¶
type UploadMapOutput struct{ *pulumi.OutputState }
func (UploadMapOutput) ElementType ¶
func (UploadMapOutput) ElementType() reflect.Type
func (UploadMapOutput) MapIndex ¶
func (o UploadMapOutput) MapIndex(k pulumi.StringInput) UploadOutput
func (UploadMapOutput) ToUploadMapOutput ¶
func (o UploadMapOutput) ToUploadMapOutput() UploadMapOutput
func (UploadMapOutput) ToUploadMapOutputWithContext ¶
func (o UploadMapOutput) ToUploadMapOutputWithContext(ctx context.Context) UploadMapOutput
type UploadOutput ¶
type UploadOutput struct{ *pulumi.OutputState }
func (UploadOutput) Arn ¶
func (o UploadOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of this upload.
func (UploadOutput) Category ¶
func (o UploadOutput) Category() pulumi.StringOutput
The upload's category.
func (UploadOutput) ContentType ¶
func (o UploadOutput) ContentType() pulumi.StringPtrOutput
The upload's content type (for example, application/octet-stream).
func (UploadOutput) ElementType ¶
func (UploadOutput) ElementType() reflect.Type
func (UploadOutput) Metadata ¶
func (o UploadOutput) Metadata() pulumi.StringOutput
The upload's metadata. For example, for Android, this contains information that is parsed from the manifest and is displayed in the AWS Device Farm console after the associated app is uploaded.
func (UploadOutput) Name ¶
func (o UploadOutput) Name() pulumi.StringOutput
The upload's file name. The name should not contain any forward slashes (/). If you are uploading an iOS app, the file name must end with the .ipa extension. If you are uploading an Android app, the file name must end with the .apk extension. For all others, the file name must end with the .zip file extension.
func (UploadOutput) ProjectArn ¶
func (o UploadOutput) ProjectArn() pulumi.StringOutput
The ARN of the project for the upload.
func (UploadOutput) ToUploadOutput ¶
func (o UploadOutput) ToUploadOutput() UploadOutput
func (UploadOutput) ToUploadOutputWithContext ¶
func (o UploadOutput) ToUploadOutputWithContext(ctx context.Context) UploadOutput
func (UploadOutput) Type ¶
func (o UploadOutput) Type() pulumi.StringOutput
The upload's upload type. See [AWS Docs](https://docs.aws.amazon.com/devicefarm/latest/APIReference/API_CreateUpload.html#API_CreateUpload_RequestSyntax) for valid list of values.
func (UploadOutput) Url ¶
func (o UploadOutput) Url() pulumi.StringOutput
The presigned Amazon S3 URL that was used to store a file using a PUT request.
type UploadState ¶
type UploadState struct { // The Amazon Resource Name of this upload. Arn pulumi.StringPtrInput // The upload's category. Category pulumi.StringPtrInput // The upload's content type (for example, application/octet-stream). ContentType pulumi.StringPtrInput // The upload's metadata. For example, for Android, this contains information that is parsed from the manifest and is displayed in the AWS Device Farm console after the associated app is uploaded. Metadata pulumi.StringPtrInput // The upload's file name. The name should not contain any forward slashes (/). If you are uploading an iOS app, the file name must end with the .ipa extension. If you are uploading an Android app, the file name must end with the .apk extension. For all others, the file name must end with the .zip file extension. Name pulumi.StringPtrInput // The ARN of the project for the upload. ProjectArn pulumi.StringPtrInput // The upload's upload type. See [AWS Docs](https://docs.aws.amazon.com/devicefarm/latest/APIReference/API_CreateUpload.html#API_CreateUpload_RequestSyntax) for valid list of values. Type pulumi.StringPtrInput // The presigned Amazon S3 URL that was used to store a file using a PUT request. Url pulumi.StringPtrInput }
func (UploadState) ElementType ¶
func (UploadState) ElementType() reflect.Type