Project

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

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const awesomeDevices = new aws.devicefarm.Project("awesome_devices", {});
import pulumi
import pulumi_aws as aws

awesome_devices = aws.devicefarm.Project("awesomeDevices")
using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var awesomeDevices = new Aws.DeviceFarm.Project("awesomeDevices", new Aws.DeviceFarm.ProjectArgs
        {
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v2/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
	})
}

Create a Project Resource

new Project(name: string, args?: ProjectArgs, opts?: CustomResourceOptions);
def Project(resource_name, opts=None, name=None, __props__=None);
func NewProject(ctx *Context, name string, args *ProjectArgs, opts ...ResourceOption) (*Project, error)
public Project(string name, ProjectArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ProjectArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Project Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Project resource accepts the following input properties:

Name string

The name of the project

Name string

The name of the project

name string

The name of the project

name str

The name of the project

Outputs

All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:

Arn string

The Amazon Resource Name of this project

Id string
The provider-assigned unique ID for this managed resource.
Arn string

The Amazon Resource Name of this project

Id string
The provider-assigned unique ID for this managed resource.
arn string

The Amazon Resource Name of this project

id string
The provider-assigned unique ID for this managed resource.
arn str

The Amazon Resource Name of this project

id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Project Resource

Get an existing Project resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ProjectState, opts?: CustomResourceOptions): Project
static get(resource_name, id, opts=None, arn=None, name=None, __props__=None);
func GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)
public static Project Get(string name, Input<string> id, ProjectState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Arn string

The Amazon Resource Name of this project

Name string

The name of the project

Arn string

The Amazon Resource Name of this project

Name string

The name of the project

arn string

The Amazon Resource Name of this project

name string

The name of the project

arn str

The Amazon Resource Name of this project

name str

The name of the project

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.