Documentation ¶
Index ¶
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. Please keep in mind that this feature is only supported on the "us-west-2" region. This resource will error if you try to create a project in another region.
For more information about Device Farm Projects, see the AWS Documentation on [Device Farm Projects][aws-get-project].
## 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
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 ProjectInput ¶ added in v3.13.0
type ProjectInput interface { pulumi.Input ToProjectOutput() ProjectOutput ToProjectOutputWithContext(ctx context.Context) ProjectOutput }
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
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