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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.simspaceweaver.Simulation

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 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=aws_native.simspaceweaver.SimulationS3LocationArgs(
            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=aws_native.simspaceweaver.SimulationS3LocationArgs(
            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=aws_native.simspaceweaver.SimulationS3LocationArgs(
            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=aws_native.simspaceweaver.SimulationS3LocationArgs(
            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=aws_native.simspaceweaver.SimulationS3LocationArgs(
            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=aws_native.simspaceweaver.SimulationS3LocationArgs(
            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=aws_native.simspaceweaver.SimulationS3LocationArgs(
            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=aws_native.simspaceweaver.SimulationS3LocationArgs(
            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=aws_native.simspaceweaver.SimulationS3LocationArgs(
            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=aws_native.simspaceweaver.SimulationS3LocationArgs(
            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.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const simulationResource = new aws_native.simspaceweaver.Simulation("simulationResource", {
        roleArn: "string",
        maximumDuration: "string",
        name: "string",
        schemaS3Location: {
            bucketName: "string",
            objectKey: "string",
        },
        snapshotS3Location: {
            bucketName: "string",
            objectKey: "string",
        },
    });
    
    Coming soon!
    

    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

    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 SimulationS3LocationArgs
    SnapshotS3Location SimulationS3LocationArgs
    roleArn String
    Role ARN.
    maximumDuration String
    The maximum running time of the simulation.
    name String
    The name of the simulation.
    schemaS3Location SimulationS3Location
    snapshotS3Location SimulationS3Location
    roleArn string
    Role ARN.
    maximumDuration string
    The maximum running time of the simulation.
    name string
    The name of the simulation.
    schemaS3Location SimulationS3Location
    snapshotS3Location SimulationS3Location
    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
    snapshot_s3_location SimulationS3LocationArgs
    roleArn String
    Role ARN.
    maximumDuration String
    The maximum running time of the simulation.
    name String
    The name of the simulation.
    schemaS3Location Property Map
    snapshotS3Location Property Map

    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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi