Documentation ¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project struct { pulumi.CustomResourceState // The Amazon Resource Name of this project Arn pulumi.StringOutput `pulumi:"arn"` // The name of the project Name pulumi.StringOutput `pulumi:"name"` }
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.
## Basic Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/devicefarm" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v3.13.0
func (*Project) ToProjectOutput ¶ added in v3.13.0
func (i *Project) ToProjectOutput() ProjectOutput
func (*Project) ToProjectOutputWithContext ¶ added in v3.13.0
func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
func (*Project) ToProjectPtrOutput ¶ added in v3.25.0
func (i *Project) ToProjectPtrOutput() ProjectPtrOutput
func (*Project) ToProjectPtrOutputWithContext ¶ added in v3.25.0
func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
type ProjectArgs ¶
type ProjectArgs struct { // The name of the project Name pulumi.StringPtrInput }
The set of arguments for constructing a Project resource.
func (ProjectArgs) ElementType ¶
func (ProjectArgs) ElementType() reflect.Type
type ProjectArray ¶ added in v3.25.0
type ProjectArray []ProjectInput
func (ProjectArray) ElementType ¶ added in v3.25.0
func (ProjectArray) ElementType() reflect.Type
func (ProjectArray) ToProjectArrayOutput ¶ added in v3.25.0
func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArray) ToProjectArrayOutputWithContext ¶ added in v3.25.0
func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectArrayInput ¶ added in v3.25.0
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 ¶ added in v3.25.0
type ProjectArrayOutput struct{ *pulumi.OutputState }
func (ProjectArrayOutput) ElementType ¶ added in v3.25.0
func (ProjectArrayOutput) ElementType() reflect.Type
func (ProjectArrayOutput) Index ¶ added in v3.25.0
func (o ProjectArrayOutput) Index(i pulumi.IntInput) ProjectOutput
func (ProjectArrayOutput) ToProjectArrayOutput ¶ added in v3.25.0
func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArrayOutput) ToProjectArrayOutputWithContext ¶ added in v3.25.0
func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectInput ¶ added in v3.13.0
type ProjectInput interface { pulumi.Input ToProjectOutput() ProjectOutput ToProjectOutputWithContext(ctx context.Context) ProjectOutput }
type ProjectMap ¶ added in v3.25.0
type ProjectMap map[string]ProjectInput
func (ProjectMap) ElementType ¶ added in v3.25.0
func (ProjectMap) ElementType() reflect.Type
func (ProjectMap) ToProjectMapOutput ¶ added in v3.25.0
func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput
func (ProjectMap) ToProjectMapOutputWithContext ¶ added in v3.25.0
func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectMapInput ¶ added in v3.25.0
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 ¶ added in v3.25.0
type ProjectMapOutput struct{ *pulumi.OutputState }
func (ProjectMapOutput) ElementType ¶ added in v3.25.0
func (ProjectMapOutput) ElementType() reflect.Type
func (ProjectMapOutput) MapIndex ¶ added in v3.25.0
func (o ProjectMapOutput) MapIndex(k pulumi.StringInput) ProjectOutput
func (ProjectMapOutput) ToProjectMapOutput ¶ added in v3.25.0
func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput
func (ProjectMapOutput) ToProjectMapOutputWithContext ¶ added in v3.25.0
func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectOutput ¶ added in v3.13.0
type ProjectOutput struct {
*pulumi.OutputState
}
func (ProjectOutput) ElementType ¶ added in v3.13.0
func (ProjectOutput) ElementType() reflect.Type
func (ProjectOutput) ToProjectOutput ¶ added in v3.13.0
func (o ProjectOutput) ToProjectOutput() ProjectOutput
func (ProjectOutput) ToProjectOutputWithContext ¶ added in v3.13.0
func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
func (ProjectOutput) ToProjectPtrOutput ¶ added in v3.25.0
func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput
func (ProjectOutput) ToProjectPtrOutputWithContext ¶ added in v3.25.0
func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
type ProjectPtrInput ¶ added in v3.25.0
type ProjectPtrInput interface { pulumi.Input ToProjectPtrOutput() ProjectPtrOutput ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput }
type ProjectPtrOutput ¶ added in v3.25.0
type ProjectPtrOutput struct {
*pulumi.OutputState
}
func (ProjectPtrOutput) ElementType ¶ added in v3.25.0
func (ProjectPtrOutput) ElementType() reflect.Type
func (ProjectPtrOutput) ToProjectPtrOutput ¶ added in v3.25.0
func (o ProjectPtrOutput) ToProjectPtrOutput() ProjectPtrOutput
func (ProjectPtrOutput) ToProjectPtrOutputWithContext ¶ added in v3.25.0
func (o ProjectPtrOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
type ProjectState ¶
type ProjectState struct { // The Amazon Resource Name of this project Arn pulumi.StringPtrInput // The name of the project Name pulumi.StringPtrInput }
func (ProjectState) ElementType ¶
func (ProjectState) ElementType() reflect.Type