1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. simspaceweaver
  5. Simulation

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.simspaceweaver.Simulation

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    AWS::SimSpaceWeaver::Simulation resource creates an AWS Simulation.

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myTestSimulation = new AwsNative.SimSpaceWeaver.Simulation("myTestSimulation", new()
        {
            Name = "MyTestSimulation",
            RoleArn = "arn:aws:iam::111122223333:role/my-test-simulation-app-role",
            SchemaS3Location = new AwsNative.SimSpaceWeaver.Inputs.SimulationS3LocationArgs
            {
                BucketName = "MyTestSimulationBucket",
                ObjectKey = "MyTestSimulation-schema.yaml",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/simspaceweaver"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := simspaceweaver.NewSimulation(ctx, "myTestSimulation", &simspaceweaver.SimulationArgs{
    			Name:    pulumi.String("MyTestSimulation"),
    			RoleArn: pulumi.String("arn:aws:iam::111122223333:role/my-test-simulation-app-role"),
    			SchemaS3Location: &simspaceweaver.SimulationS3LocationArgs{
    				BucketName: pulumi.String("MyTestSimulationBucket"),
    				ObjectKey:  pulumi.String("MyTestSimulation-schema.yaml"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_test_simulation = aws_native.simspaceweaver.Simulation("myTestSimulation",
        name="MyTestSimulation",
        role_arn="arn:aws:iam::111122223333:role/my-test-simulation-app-role",
        schema_s3_location={
            "bucket_name": "MyTestSimulationBucket",
            "object_key": "MyTestSimulation-schema.yaml",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myTestSimulation = new aws_native.simspaceweaver.Simulation("myTestSimulation", {
        name: "MyTestSimulation",
        roleArn: "arn:aws:iam::111122223333:role/my-test-simulation-app-role",
        schemaS3Location: {
            bucketName: "MyTestSimulationBucket",
            objectKey: "MyTestSimulation-schema.yaml",
        },
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myTestSimulation = new AwsNative.SimSpaceWeaver.Simulation("myTestSimulation", new()
        {
            Name = "MyTestSimulation",
            RoleArn = "arn:aws:iam::111122223333:role/my-test-simulation-app-role",
            SchemaS3Location = new AwsNative.SimSpaceWeaver.Inputs.SimulationS3LocationArgs
            {
                BucketName = "MyTestSimulationBucket",
                ObjectKey = "MyTestSimulation-schema.yaml",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/simspaceweaver"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := simspaceweaver.NewSimulation(ctx, "myTestSimulation", &simspaceweaver.SimulationArgs{
    			Name:    pulumi.String("MyTestSimulation"),
    			RoleArn: pulumi.String("arn:aws:iam::111122223333:role/my-test-simulation-app-role"),
    			SchemaS3Location: &simspaceweaver.SimulationS3LocationArgs{
    				BucketName: pulumi.String("MyTestSimulationBucket"),
    				ObjectKey:  pulumi.String("MyTestSimulation-schema.yaml"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_test_simulation = aws_native.simspaceweaver.Simulation("myTestSimulation",
        name="MyTestSimulation",
        role_arn="arn:aws:iam::111122223333:role/my-test-simulation-app-role",
        schema_s3_location={
            "bucket_name": "MyTestSimulationBucket",
            "object_key": "MyTestSimulation-schema.yaml",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myTestSimulation = new aws_native.simspaceweaver.Simulation("myTestSimulation", {
        name: "MyTestSimulation",
        roleArn: "arn:aws:iam::111122223333:role/my-test-simulation-app-role",
        schemaS3Location: {
            bucketName: "MyTestSimulationBucket",
            objectKey: "MyTestSimulation-schema.yaml",
        },
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myTestSimulation = new AwsNative.SimSpaceWeaver.Simulation("myTestSimulation", new()
        {
            Name = "MyTestSimulation_22-12-15_12_00_00",
            RoleArn = "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
            SchemaS3Location = new AwsNative.SimSpaceWeaver.Inputs.SimulationS3LocationArgs
            {
                BucketName = "weaver-mytestsimulation-111122223333-schemas-us-west-2",
                ObjectKey = "MyTestSimulation-schema.yaml",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/simspaceweaver"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := simspaceweaver.NewSimulation(ctx, "myTestSimulation", &simspaceweaver.SimulationArgs{
    			Name:    pulumi.String("MyTestSimulation_22-12-15_12_00_00"),
    			RoleArn: pulumi.String("arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role"),
    			SchemaS3Location: &simspaceweaver.SimulationS3LocationArgs{
    				BucketName: pulumi.String("weaver-mytestsimulation-111122223333-schemas-us-west-2"),
    				ObjectKey:  pulumi.String("MyTestSimulation-schema.yaml"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_test_simulation = aws_native.simspaceweaver.Simulation("myTestSimulation",
        name="MyTestSimulation_22-12-15_12_00_00",
        role_arn="arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
        schema_s3_location={
            "bucket_name": "weaver-mytestsimulation-111122223333-schemas-us-west-2",
            "object_key": "MyTestSimulation-schema.yaml",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myTestSimulation = new aws_native.simspaceweaver.Simulation("myTestSimulation", {
        name: "MyTestSimulation_22-12-15_12_00_00",
        roleArn: "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
        schemaS3Location: {
            bucketName: "weaver-mytestsimulation-111122223333-schemas-us-west-2",
            objectKey: "MyTestSimulation-schema.yaml",
        },
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myTestSimulation = new AwsNative.SimSpaceWeaver.Simulation("myTestSimulation", new()
        {
            Name = "MyTestSimulation_22-12-15_12_00_00",
            RoleArn = "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
            SchemaS3Location = new AwsNative.SimSpaceWeaver.Inputs.SimulationS3LocationArgs
            {
                BucketName = "weaver-mytestsimulation-111122223333-schemas-us-west-2",
                ObjectKey = "MyTestSimulation-schema.yaml",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/simspaceweaver"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := simspaceweaver.NewSimulation(ctx, "myTestSimulation", &simspaceweaver.SimulationArgs{
    			Name:    pulumi.String("MyTestSimulation_22-12-15_12_00_00"),
    			RoleArn: pulumi.String("arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role"),
    			SchemaS3Location: &simspaceweaver.SimulationS3LocationArgs{
    				BucketName: pulumi.String("weaver-mytestsimulation-111122223333-schemas-us-west-2"),
    				ObjectKey:  pulumi.String("MyTestSimulation-schema.yaml"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_test_simulation = aws_native.simspaceweaver.Simulation("myTestSimulation",
        name="MyTestSimulation_22-12-15_12_00_00",
        role_arn="arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
        schema_s3_location={
            "bucket_name": "weaver-mytestsimulation-111122223333-schemas-us-west-2",
            "object_key": "MyTestSimulation-schema.yaml",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myTestSimulation = new aws_native.simspaceweaver.Simulation("myTestSimulation", {
        name: "MyTestSimulation_22-12-15_12_00_00",
        roleArn: "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
        schemaS3Location: {
            bucketName: "weaver-mytestsimulation-111122223333-schemas-us-west-2",
            objectKey: "MyTestSimulation-schema.yaml",
        },
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myTestSimulation = new AwsNative.SimSpaceWeaver.Simulation("myTestSimulation", new()
        {
            Name = "MyTestSimulation_22-12-15_12_00_00",
            RoleArn = "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
            SchemaS3Location = new AwsNative.SimSpaceWeaver.Inputs.SimulationS3LocationArgs
            {
                BucketName = "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
                ObjectKey = "MyTestSimulation-schema.yaml",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/simspaceweaver"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := simspaceweaver.NewSimulation(ctx, "myTestSimulation", &simspaceweaver.SimulationArgs{
    			Name:    pulumi.String("MyTestSimulation_22-12-15_12_00_00"),
    			RoleArn: pulumi.String("arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role"),
    			SchemaS3Location: &simspaceweaver.SimulationS3LocationArgs{
    				BucketName: pulumi.String("weaver-mytestsimulation-111122223333-artifacts-us-west-2"),
    				ObjectKey:  pulumi.String("MyTestSimulation-schema.yaml"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_test_simulation = aws_native.simspaceweaver.Simulation("myTestSimulation",
        name="MyTestSimulation_22-12-15_12_00_00",
        role_arn="arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
        schema_s3_location={
            "bucket_name": "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
            "object_key": "MyTestSimulation-schema.yaml",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myTestSimulation = new aws_native.simspaceweaver.Simulation("myTestSimulation", {
        name: "MyTestSimulation_22-12-15_12_00_00",
        roleArn: "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
        schemaS3Location: {
            bucketName: "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
            objectKey: "MyTestSimulation-schema.yaml",
        },
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myTestSimulation = new AwsNative.SimSpaceWeaver.Simulation("myTestSimulation", new()
        {
            Name = "MyTestSimulation_22-12-15_12_00_00",
            RoleArn = "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
            SchemaS3Location = new AwsNative.SimSpaceWeaver.Inputs.SimulationS3LocationArgs
            {
                BucketName = "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
                ObjectKey = "MyTestSimulation-schema.yaml",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/simspaceweaver"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := simspaceweaver.NewSimulation(ctx, "myTestSimulation", &simspaceweaver.SimulationArgs{
    			Name:    pulumi.String("MyTestSimulation_22-12-15_12_00_00"),
    			RoleArn: pulumi.String("arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role"),
    			SchemaS3Location: &simspaceweaver.SimulationS3LocationArgs{
    				BucketName: pulumi.String("weaver-mytestsimulation-111122223333-artifacts-us-west-2"),
    				ObjectKey:  pulumi.String("MyTestSimulation-schema.yaml"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_test_simulation = aws_native.simspaceweaver.Simulation("myTestSimulation",
        name="MyTestSimulation_22-12-15_12_00_00",
        role_arn="arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
        schema_s3_location={
            "bucket_name": "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
            "object_key": "MyTestSimulation-schema.yaml",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myTestSimulation = new aws_native.simspaceweaver.Simulation("myTestSimulation", {
        name: "MyTestSimulation_22-12-15_12_00_00",
        roleArn: "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
        schemaS3Location: {
            bucketName: "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
            objectKey: "MyTestSimulation-schema.yaml",
        },
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myTestSimulation = new AwsNative.SimSpaceWeaver.Simulation("myTestSimulation", new()
        {
            MaximumDuration = "1H",
            Name = "MyTestSimulation_22-12-15_12_00_00",
            RoleArn = "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
            SchemaS3Location = new AwsNative.SimSpaceWeaver.Inputs.SimulationS3LocationArgs
            {
                BucketName = "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
                ObjectKey = "MyTestSimulation-schema.yaml",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/simspaceweaver"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := simspaceweaver.NewSimulation(ctx, "myTestSimulation", &simspaceweaver.SimulationArgs{
    			MaximumDuration: pulumi.String("1H"),
    			Name:            pulumi.String("MyTestSimulation_22-12-15_12_00_00"),
    			RoleArn:         pulumi.String("arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role"),
    			SchemaS3Location: &simspaceweaver.SimulationS3LocationArgs{
    				BucketName: pulumi.String("weaver-mytestsimulation-111122223333-artifacts-us-west-2"),
    				ObjectKey:  pulumi.String("MyTestSimulation-schema.yaml"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_test_simulation = aws_native.simspaceweaver.Simulation("myTestSimulation",
        maximum_duration="1H",
        name="MyTestSimulation_22-12-15_12_00_00",
        role_arn="arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
        schema_s3_location={
            "bucket_name": "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
            "object_key": "MyTestSimulation-schema.yaml",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myTestSimulation = new aws_native.simspaceweaver.Simulation("myTestSimulation", {
        maximumDuration: "1H",
        name: "MyTestSimulation_22-12-15_12_00_00",
        roleArn: "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
        schemaS3Location: {
            bucketName: "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
            objectKey: "MyTestSimulation-schema.yaml",
        },
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myTestSimulation = new AwsNative.SimSpaceWeaver.Simulation("myTestSimulation", new()
        {
            MaximumDuration = "1H",
            Name = "MyTestSimulation_22-12-15_12_00_00",
            RoleArn = "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
            SchemaS3Location = new AwsNative.SimSpaceWeaver.Inputs.SimulationS3LocationArgs
            {
                BucketName = "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
                ObjectKey = "MyTestSimulation-schema.yaml",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/simspaceweaver"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := simspaceweaver.NewSimulation(ctx, "myTestSimulation", &simspaceweaver.SimulationArgs{
    			MaximumDuration: pulumi.String("1H"),
    			Name:            pulumi.String("MyTestSimulation_22-12-15_12_00_00"),
    			RoleArn:         pulumi.String("arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role"),
    			SchemaS3Location: &simspaceweaver.SimulationS3LocationArgs{
    				BucketName: pulumi.String("weaver-mytestsimulation-111122223333-artifacts-us-west-2"),
    				ObjectKey:  pulumi.String("MyTestSimulation-schema.yaml"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_test_simulation = aws_native.simspaceweaver.Simulation("myTestSimulation",
        maximum_duration="1H",
        name="MyTestSimulation_22-12-15_12_00_00",
        role_arn="arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
        schema_s3_location={
            "bucket_name": "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
            "object_key": "MyTestSimulation-schema.yaml",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myTestSimulation = new aws_native.simspaceweaver.Simulation("myTestSimulation", {
        maximumDuration: "1H",
        name: "MyTestSimulation_22-12-15_12_00_00",
        roleArn: "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role",
        schemaS3Location: {
            bucketName: "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
            objectKey: "MyTestSimulation-schema.yaml",
        },
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myTestSimulation = new AwsNative.SimSpaceWeaver.Simulation("myTestSimulation", new()
        {
            MaximumDuration = "2D",
            Name = "MyTestSimulation_from_snapshot",
            RoleArn = "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role-copy",
            SnapshotS3Location = new AwsNative.SimSpaceWeaver.Inputs.SimulationS3LocationArgs
            {
                BucketName = "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
                ObjectKey = "snapshot/MyTestSimulation_22-12-15_12_00_00-230428-1207-13.zip",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/simspaceweaver"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := simspaceweaver.NewSimulation(ctx, "myTestSimulation", &simspaceweaver.SimulationArgs{
    			MaximumDuration: pulumi.String("2D"),
    			Name:            pulumi.String("MyTestSimulation_from_snapshot"),
    			RoleArn:         pulumi.String("arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role-copy"),
    			SnapshotS3Location: &simspaceweaver.SimulationS3LocationArgs{
    				BucketName: pulumi.String("weaver-mytestsimulation-111122223333-artifacts-us-west-2"),
    				ObjectKey:  pulumi.String("snapshot/MyTestSimulation_22-12-15_12_00_00-230428-1207-13.zip"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_test_simulation = aws_native.simspaceweaver.Simulation("myTestSimulation",
        maximum_duration="2D",
        name="MyTestSimulation_from_snapshot",
        role_arn="arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role-copy",
        snapshot_s3_location={
            "bucket_name": "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
            "object_key": "snapshot/MyTestSimulation_22-12-15_12_00_00-230428-1207-13.zip",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myTestSimulation = new aws_native.simspaceweaver.Simulation("myTestSimulation", {
        maximumDuration: "2D",
        name: "MyTestSimulation_from_snapshot",
        roleArn: "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role-copy",
        snapshotS3Location: {
            bucketName: "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
            objectKey: "snapshot/MyTestSimulation_22-12-15_12_00_00-230428-1207-13.zip",
        },
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var myTestSimulation = new AwsNative.SimSpaceWeaver.Simulation("myTestSimulation", new()
        {
            MaximumDuration = "2D",
            Name = "MyTestSimulation_from_snapshot",
            RoleArn = "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role-copy",
            SnapshotS3Location = new AwsNative.SimSpaceWeaver.Inputs.SimulationS3LocationArgs
            {
                BucketName = "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
                ObjectKey = "snapshot/MyTestSimulation_22-12-15_12_00_00-230428-1207-13.zip",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/simspaceweaver"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := simspaceweaver.NewSimulation(ctx, "myTestSimulation", &simspaceweaver.SimulationArgs{
    			MaximumDuration: pulumi.String("2D"),
    			Name:            pulumi.String("MyTestSimulation_from_snapshot"),
    			RoleArn:         pulumi.String("arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role-copy"),
    			SnapshotS3Location: &simspaceweaver.SimulationS3LocationArgs{
    				BucketName: pulumi.String("weaver-mytestsimulation-111122223333-artifacts-us-west-2"),
    				ObjectKey:  pulumi.String("snapshot/MyTestSimulation_22-12-15_12_00_00-230428-1207-13.zip"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    my_test_simulation = aws_native.simspaceweaver.Simulation("myTestSimulation",
        maximum_duration="2D",
        name="MyTestSimulation_from_snapshot",
        role_arn="arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role-copy",
        snapshot_s3_location={
            "bucket_name": "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
            "object_key": "snapshot/MyTestSimulation_22-12-15_12_00_00-230428-1207-13.zip",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const myTestSimulation = new aws_native.simspaceweaver.Simulation("myTestSimulation", {
        maximumDuration: "2D",
        name: "MyTestSimulation_from_snapshot",
        roleArn: "arn:aws:iam::111122223333:role/weaver-MyTestSimulation-app-role-copy",
        snapshotS3Location: {
            bucketName: "weaver-mytestsimulation-111122223333-artifacts-us-west-2",
            objectKey: "snapshot/MyTestSimulation_22-12-15_12_00_00-230428-1207-13.zip",
        },
    });
    

    Coming soon!

    Create Simulation Resource

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

    Constructor syntax

    new Simulation(name: string, args: SimulationArgs, opts?: CustomResourceOptions);
    @overload
    def Simulation(resource_name: str,
                   args: SimulationArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Simulation(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   role_arn: Optional[str] = None,
                   maximum_duration: Optional[str] = None,
                   name: Optional[str] = None,
                   schema_s3_location: Optional[SimulationS3LocationArgs] = None,
                   snapshot_s3_location: Optional[SimulationS3LocationArgs] = None)
    func NewSimulation(ctx *Context, name string, args SimulationArgs, opts ...ResourceOption) (*Simulation, error)
    public Simulation(string name, SimulationArgs args, CustomResourceOptions? opts = null)
    public Simulation(String name, SimulationArgs args)
    public Simulation(String name, SimulationArgs args, CustomResourceOptions options)
    
    type: aws-native:simspaceweaver:Simulation
    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 SimulationArgs
    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 SimulationArgs
    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 SimulationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SimulationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SimulationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Simulation 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 Simulation resource accepts the following input properties:

    RoleArn string
    Role ARN.
    MaximumDuration string
    The maximum running time of the simulation.
    Name string
    The name of the simulation.
    SchemaS3Location Pulumi.AwsNative.SimSpaceWeaver.Inputs.SimulationS3Location

    The location of the simulation schema in Amazon Simple Storage Service ( Amazon S3 ). For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .

    Provide a SchemaS3Location to start your simulation from a schema.

    If you provide a SchemaS3Location then you can't provide a SnapshotS3Location .

    SnapshotS3Location Pulumi.AwsNative.SimSpaceWeaver.Inputs.SimulationS3Location

    The location of the snapshot in Amazon Simple Storage Service ( Amazon S3 ). For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .

    Provide a SnapshotS3Location to start your simulation from a snapshot.

    If you provide a SnapshotS3Location then you can't provide a SchemaS3Location .

    RoleArn string
    Role ARN.
    MaximumDuration string
    The maximum running time of the simulation.
    Name string
    The name of the simulation.
    SchemaS3Location SimulationS3LocationArgs

    The location of the simulation schema in Amazon Simple Storage Service ( Amazon S3 ). For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .

    Provide a SchemaS3Location to start your simulation from a schema.

    If you provide a SchemaS3Location then you can't provide a SnapshotS3Location .

    SnapshotS3Location SimulationS3LocationArgs

    The location of the snapshot in Amazon Simple Storage Service ( Amazon S3 ). For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .

    Provide a SnapshotS3Location to start your simulation from a snapshot.

    If you provide a SnapshotS3Location then you can't provide a SchemaS3Location .

    roleArn String
    Role ARN.
    maximumDuration String
    The maximum running time of the simulation.
    name String
    The name of the simulation.
    schemaS3Location SimulationS3Location

    The location of the simulation schema in Amazon Simple Storage Service ( Amazon S3 ). For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .

    Provide a SchemaS3Location to start your simulation from a schema.

    If you provide a SchemaS3Location then you can't provide a SnapshotS3Location .

    snapshotS3Location SimulationS3Location

    The location of the snapshot in Amazon Simple Storage Service ( Amazon S3 ). For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .

    Provide a SnapshotS3Location to start your simulation from a snapshot.

    If you provide a SnapshotS3Location then you can't provide a SchemaS3Location .

    roleArn string
    Role ARN.
    maximumDuration string
    The maximum running time of the simulation.
    name string
    The name of the simulation.
    schemaS3Location SimulationS3Location

    The location of the simulation schema in Amazon Simple Storage Service ( Amazon S3 ). For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .

    Provide a SchemaS3Location to start your simulation from a schema.

    If you provide a SchemaS3Location then you can't provide a SnapshotS3Location .

    snapshotS3Location SimulationS3Location

    The location of the snapshot in Amazon Simple Storage Service ( Amazon S3 ). For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .

    Provide a SnapshotS3Location to start your simulation from a snapshot.

    If you provide a SnapshotS3Location then you can't provide a SchemaS3Location .

    role_arn str
    Role ARN.
    maximum_duration str
    The maximum running time of the simulation.
    name str
    The name of the simulation.
    schema_s3_location SimulationS3LocationArgs

    The location of the simulation schema in Amazon Simple Storage Service ( Amazon S3 ). For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .

    Provide a SchemaS3Location to start your simulation from a schema.

    If you provide a SchemaS3Location then you can't provide a SnapshotS3Location .

    snapshot_s3_location SimulationS3LocationArgs

    The location of the snapshot in Amazon Simple Storage Service ( Amazon S3 ). For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .

    Provide a SnapshotS3Location to start your simulation from a snapshot.

    If you provide a SnapshotS3Location then you can't provide a SchemaS3Location .

    roleArn String
    Role ARN.
    maximumDuration String
    The maximum running time of the simulation.
    name String
    The name of the simulation.
    schemaS3Location Property Map

    The location of the simulation schema in Amazon Simple Storage Service ( Amazon S3 ). For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .

    Provide a SchemaS3Location to start your simulation from a schema.

    If you provide a SchemaS3Location then you can't provide a SnapshotS3Location .

    snapshotS3Location Property Map

    The location of the snapshot in Amazon Simple Storage Service ( Amazon S3 ). For more information about Amazon S3 , see the Amazon Simple Storage Service User Guide .

    Provide a SnapshotS3Location to start your simulation from a snapshot.

    If you provide a SnapshotS3Location then you can't provide a SchemaS3Location .

    Outputs

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

    DescribePayload string
    Json object with all simulation details
    Id string
    The provider-assigned unique ID for this managed resource.
    DescribePayload string
    Json object with all simulation details
    Id string
    The provider-assigned unique ID for this managed resource.
    describePayload String
    Json object with all simulation details
    id String
    The provider-assigned unique ID for this managed resource.
    describePayload string
    Json object with all simulation details
    id string
    The provider-assigned unique ID for this managed resource.
    describe_payload str
    Json object with all simulation details
    id str
    The provider-assigned unique ID for this managed resource.
    describePayload String
    Json object with all simulation details
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    SimulationS3Location, SimulationS3LocationArgs

    BucketName string
    The Schema S3 bucket name.
    ObjectKey string
    This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema.
    BucketName string
    The Schema S3 bucket name.
    ObjectKey string
    This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema.
    bucketName String
    The Schema S3 bucket name.
    objectKey String
    This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema.
    bucketName string
    The Schema S3 bucket name.
    objectKey string
    This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema.
    bucket_name str
    The Schema S3 bucket name.
    object_key str
    This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema.
    bucketName String
    The Schema S3 bucket name.
    objectKey String
    This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema.

    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.9.0 published on Monday, Nov 18, 2024 by Pulumi