AWS Native

Pulumi Official
Package maintained by Pulumi
v0.18.0 published on Friday, May 27, 2022 by Pulumi

Fleet

AWS::RoboMaker::Fleet resource creates an AWS RoboMaker fleet. Fleets contain robots and can receive deployments.

Example Usage

Example

using Pulumi;
using AwsNative = Pulumi.AwsNative;

class MyStack : Stack
{
    public MyStack()
    {
        var basicFleet = new AwsNative.RoboMaker.Fleet("basicFleet", new AwsNative.RoboMaker.FleetArgs
        {
            Name = "MyFleet",
            Tags = new AwsNative.RoboMaker.Inputs.FleetTagsArgs
            {
                Name = "BasicFleet",
                Type = "CFN",
            },
        });
        this.Fleet = "BasicFleet";
    }

    [Output("fleet")]
    public Output<string> Fleet { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/robomaker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := robomaker.NewFleet(ctx, "basicFleet", &robomaker.FleetArgs{
			Name: pulumi.String("MyFleet"),
			Tags: &robomaker.FleetTagsArgs{
				Name: "BasicFleet",
				Type: "CFN",
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("fleet", "BasicFleet")
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

basic_fleet = aws_native.robomaker.Fleet("basicFleet",
    name="MyFleet",
    tags=aws_native.robomaker.FleetTagsArgs(
        name="BasicFleet",
        type="CFN",
    ))
pulumi.export("fleet", "BasicFleet")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const basicFleet = new aws_native.robomaker.Fleet("basicFleet", {
    name: "MyFleet",
    tags: {
        name: "BasicFleet",
        type: "CFN",
    },
});
export const fleet = "BasicFleet";

Coming soon!

Example

using Pulumi;
using AwsNative = Pulumi.AwsNative;

class MyStack : Stack
{
    public MyStack()
    {
        var basicFleet = new AwsNative.RoboMaker.Fleet("basicFleet", new AwsNative.RoboMaker.FleetArgs
        {
            Name = "MyFleet",
            Tags = new AwsNative.RoboMaker.Inputs.FleetTagsArgs
            {
                Name = "BasicFleet",
                Type = "CFN",
            },
        });
        this.Fleet = basicFleet.Id;
    }

    [Output("fleet")]
    public Output<string> Fleet { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/robomaker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basicFleet, err := robomaker.NewFleet(ctx, "basicFleet", &robomaker.FleetArgs{
			Name: pulumi.String("MyFleet"),
			Tags: &robomaker.FleetTagsArgs{
				Name: "BasicFleet",
				Type: "CFN",
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("fleet", basicFleet.ID())
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

basic_fleet = aws_native.robomaker.Fleet("basicFleet",
    name="MyFleet",
    tags=aws_native.robomaker.FleetTagsArgs(
        name="BasicFleet",
        type="CFN",
    ))
pulumi.export("fleet", basic_fleet.id)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const basicFleet = new aws_native.robomaker.Fleet("basicFleet", {
    name: "MyFleet",
    tags: {
        name: "BasicFleet",
        type: "CFN",
    },
});
export const fleet = basicFleet.id;

Coming soon!

Example

using Pulumi;
using AwsNative = Pulumi.AwsNative;

class MyStack : Stack
{
    public MyStack()
    {
        var basicFleet = new AwsNative.RoboMaker.Fleet("basicFleet", new AwsNative.RoboMaker.FleetArgs
        {
            Name = "MyFleet",
        });
        var basicRobot = new AwsNative.RoboMaker.Robot("basicRobot", new AwsNative.RoboMaker.RobotArgs
        {
            Name = "MyRobot",
            GreengrassGroupId = "51229986-abdc-4ca6-94f8-04735a0c9f07",
            Architecture = AwsNative.RoboMaker.RobotArchitecture.Armhf,
            Fleet = basicFleet.Arn,
            Tags = new AwsNative.RoboMaker.Inputs.RobotTagsArgs
            {
                Name = "BasicRobot",
                Type = "CFN",
            },
        });
        this.Robot = "BasicRobot";
    }

    [Output("robot")]
    public Output<string> Robot { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/robomaker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basicFleet, err := robomaker.NewFleet(ctx, "basicFleet", &robomaker.FleetArgs{
			Name: pulumi.String("MyFleet"),
		})
		if err != nil {
			return err
		}
		_, err = robomaker.NewRobot(ctx, "basicRobot", &robomaker.RobotArgs{
			Name:              pulumi.String("MyRobot"),
			GreengrassGroupId: pulumi.String("51229986-abdc-4ca6-94f8-04735a0c9f07"),
			Architecture:      robomaker.RobotArchitectureArmhf,
			Fleet:             basicFleet.Arn,
			Tags: &robomaker.RobotTagsArgs{
				Name: "BasicRobot",
				Type: "CFN",
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("robot", "BasicRobot")
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

basic_fleet = aws_native.robomaker.Fleet("basicFleet", name="MyFleet")
basic_robot = aws_native.robomaker.Robot("basicRobot",
    name="MyRobot",
    greengrass_group_id="51229986-abdc-4ca6-94f8-04735a0c9f07",
    architecture=aws_native.robomaker.RobotArchitecture.ARMHF,
    fleet=basic_fleet.arn,
    tags=aws_native.robomaker.RobotTagsArgs(
        name="BasicRobot",
        type="CFN",
    ))
pulumi.export("robot", "BasicRobot")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const basicFleet = new aws_native.robomaker.Fleet("basicFleet", {name: "MyFleet"});
const basicRobot = new aws_native.robomaker.Robot("basicRobot", {
    name: "MyRobot",
    greengrassGroupId: "51229986-abdc-4ca6-94f8-04735a0c9f07",
    architecture: aws_native.robomaker.RobotArchitecture.Armhf,
    fleet: basicFleet.arn,
    tags: {
        name: "BasicRobot",
        type: "CFN",
    },
});
export const robot = "BasicRobot";

Coming soon!

Example

using Pulumi;
using AwsNative = Pulumi.AwsNative;

class MyStack : Stack
{
    public MyStack()
    {
        var basicFleet = new AwsNative.RoboMaker.Fleet("basicFleet", new AwsNative.RoboMaker.FleetArgs
        {
            Name = "MyFleet",
        });
        var basicRobot = new AwsNative.RoboMaker.Robot("basicRobot", new AwsNative.RoboMaker.RobotArgs
        {
            Name = "MyRobot",
            GreengrassGroupId = "51229986-abdc-4ca6-94f8-04735a0c9f07",
            Architecture = AwsNative.RoboMaker.RobotArchitecture.Armhf,
            Fleet = basicFleet.Arn,
            Tags = new AwsNative.RoboMaker.Inputs.RobotTagsArgs
            {
                Name = "BasicRobot",
                Type = "CFN",
            },
        });
        this.Robot = basicRobot.Id;
    }

    [Output("robot")]
    public Output<string> Robot { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/robomaker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basicFleet, err := robomaker.NewFleet(ctx, "basicFleet", &robomaker.FleetArgs{
			Name: pulumi.String("MyFleet"),
		})
		if err != nil {
			return err
		}
		basicRobot, err := robomaker.NewRobot(ctx, "basicRobot", &robomaker.RobotArgs{
			Name:              pulumi.String("MyRobot"),
			GreengrassGroupId: pulumi.String("51229986-abdc-4ca6-94f8-04735a0c9f07"),
			Architecture:      robomaker.RobotArchitectureArmhf,
			Fleet:             basicFleet.Arn,
			Tags: &robomaker.RobotTagsArgs{
				Name: "BasicRobot",
				Type: "CFN",
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("robot", basicRobot.ID())
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

basic_fleet = aws_native.robomaker.Fleet("basicFleet", name="MyFleet")
basic_robot = aws_native.robomaker.Robot("basicRobot",
    name="MyRobot",
    greengrass_group_id="51229986-abdc-4ca6-94f8-04735a0c9f07",
    architecture=aws_native.robomaker.RobotArchitecture.ARMHF,
    fleet=basic_fleet.arn,
    tags=aws_native.robomaker.RobotTagsArgs(
        name="BasicRobot",
        type="CFN",
    ))
pulumi.export("robot", basic_robot.id)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const basicFleet = new aws_native.robomaker.Fleet("basicFleet", {name: "MyFleet"});
const basicRobot = new aws_native.robomaker.Robot("basicRobot", {
    name: "MyRobot",
    greengrassGroupId: "51229986-abdc-4ca6-94f8-04735a0c9f07",
    architecture: aws_native.robomaker.RobotArchitecture.Armhf,
    fleet: basicFleet.arn,
    tags: {
        name: "BasicRobot",
        type: "CFN",
    },
});
export const robot = basicRobot.id;

Coming soon!

Create a Fleet Resource

new Fleet(name: string, args?: FleetArgs, opts?: CustomResourceOptions);
@overload
def Fleet(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          name: Optional[str] = None,
          tags: Optional[FleetTagsArgs] = None)
@overload
def Fleet(resource_name: str,
          args: Optional[FleetArgs] = None,
          opts: Optional[ResourceOptions] = None)
func NewFleet(ctx *Context, name string, args *FleetArgs, opts ...ResourceOption) (*Fleet, error)
public Fleet(string name, FleetArgs? args = null, CustomResourceOptions? opts = null)
public Fleet(String name, FleetArgs args)
public Fleet(String name, FleetArgs args, CustomResourceOptions options)
type: aws-native:robomaker:Fleet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FleetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args FleetArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args FleetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FleetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FleetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Fleet Resource Properties

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

Inputs

The Fleet resource accepts the following input properties:

Name string

The name of the fleet.

Tags FleetTagsArgs
name String

The name of the fleet.

tags FleetTagsArgs
name string

The name of the fleet.

tags FleetTagsArgs
name str

The name of the fleet.

tags FleetTagsArgs
name String

The name of the fleet.

tags Property Map

Outputs

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

Arn string
Id string

The provider-assigned unique ID for this managed resource.

Arn string
Id string

The provider-assigned unique ID for this managed resource.

arn String
id String

The provider-assigned unique ID for this managed resource.

arn string
id string

The provider-assigned unique ID for this managed resource.

arn str
id str

The provider-assigned unique ID for this managed resource.

arn String
id String

The provider-assigned unique ID for this managed resource.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0