1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. robomaker
  5. Fleet

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.6.0 published on Monday, Nov 4, 2024 by Pulumi

aws-native.robomaker.Fleet

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.6.0 published on Monday, Nov 4, 2024 by Pulumi

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

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var basicFleet = new AwsNative.RoboMaker.Fleet("basicFleet", new()
        {
            Name = "MyFleet",
            Tags = 
            {
                { "name", "BasicFleet" },
                { "type", "CFN" },
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["fleet"] = "BasicFleet",
        };
    });
    
    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: pulumi.StringMap{
    				"name": pulumi.String("BasicFleet"),
    				"type": pulumi.String("CFN"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("fleet", pulumi.String("BasicFleet"))
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    basic_fleet = aws_native.robomaker.Fleet("basicFleet",
        name="MyFleet",
        tags={
            "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 System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var basicFleet = new AwsNative.RoboMaker.Fleet("basicFleet", new()
        {
            Name = "MyFleet",
            Tags = 
            {
                { "name", "BasicFleet" },
                { "type", "CFN" },
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["fleet"] = basicFleet.Id,
        };
    });
    
    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: pulumi.StringMap{
    				"name": pulumi.String("BasicFleet"),
    				"type": pulumi.String("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={
            "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 System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var basicFleet = new AwsNative.RoboMaker.Fleet("basicFleet", new()
        {
            Name = "MyFleet",
        });
    
        var basicRobot = new AwsNative.RoboMaker.Robot("basicRobot", new()
        {
            Name = "MyRobot",
            GreengrassGroupId = "51229986-abdc-4ca6-94f8-04735a0c9f07",
            Architecture = AwsNative.RoboMaker.RobotArchitecture.Armhf,
            Fleet = basicFleet.Arn,
            Tags = 
            {
                { "name", "BasicRobot" },
                { "type", "CFN" },
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["robot"] = "BasicRobot",
        };
    });
    
    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: pulumi.StringMap{
    				"name": pulumi.String("BasicRobot"),
    				"type": pulumi.String("CFN"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("robot", pulumi.String("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={
            "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 System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var basicFleet = new AwsNative.RoboMaker.Fleet("basicFleet", new()
        {
            Name = "MyFleet",
        });
    
        var basicRobot = new AwsNative.RoboMaker.Robot("basicRobot", new()
        {
            Name = "MyRobot",
            GreengrassGroupId = "51229986-abdc-4ca6-94f8-04735a0c9f07",
            Architecture = AwsNative.RoboMaker.RobotArchitecture.Armhf,
            Fleet = basicFleet.Arn,
            Tags = 
            {
                { "name", "BasicRobot" },
                { "type", "CFN" },
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["robot"] = basicRobot.Id,
        };
    });
    
    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: pulumi.StringMap{
    				"name": pulumi.String("BasicRobot"),
    				"type": pulumi.String("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={
            "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 Fleet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Fleet(name: string, args?: FleetArgs, opts?: CustomResourceOptions);
    @overload
    def Fleet(resource_name: str,
              args: Optional[FleetArgs] = None,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Fleet(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              name: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = 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.
    
    

    Parameters

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Fleet resource accepts the following input properties:

    Name string
    The name of the fleet.
    Tags Dictionary<string, string>
    The list of all tags added to the fleet.
    Name string
    The name of the fleet.
    Tags map[string]string
    The list of all tags added to the fleet.
    name String
    The name of the fleet.
    tags Map<String,String>
    The list of all tags added to the fleet.
    name string
    The name of the fleet.
    tags {[key: string]: string}
    The list of all tags added to the fleet.
    name str
    The name of the fleet.
    tags Mapping[str, str]
    The list of all tags added to the fleet.
    name String
    The name of the fleet.
    tags Map<String>
    The list of all tags added to the fleet.

    Outputs

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

    Arn string
    The Amazon Resource Name (ARN) of the fleet, such as arn:aws:robomaker:us-west-2:123456789012:deployment-fleet/MyFleet/1539894765711 .
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The Amazon Resource Name (ARN) of the fleet, such as arn:aws:robomaker:us-west-2:123456789012:deployment-fleet/MyFleet/1539894765711 .
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) of the fleet, such as arn:aws:robomaker:us-west-2:123456789012:deployment-fleet/MyFleet/1539894765711 .
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The Amazon Resource Name (ARN) of the fleet, such as arn:aws:robomaker:us-west-2:123456789012:deployment-fleet/MyFleet/1539894765711 .
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The Amazon Resource Name (ARN) of the fleet, such as arn:aws:robomaker:us-west-2:123456789012:deployment-fleet/MyFleet/1539894765711 .
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) of the fleet, such as arn:aws:robomaker:us-west-2:123456789012:deployment-fleet/MyFleet/1539894765711 .
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.6.0 published on Monday, Nov 4, 2024 by Pulumi