AWS Native is in preview. AWS Classic is fully supported.
aws-native.simspaceweaver.Simulation
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
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:
- Role
Arn string - Role ARN.
- Maximum
Duration string - The maximum running time of the simulation.
- Name string
- The name of the simulation.
- Schema
S3Location Pulumi.Aws Native. Sim Space Weaver. Inputs. Simulation S3Location 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 aSnapshotS3Location
.- Snapshot
S3Location Pulumi.Aws Native. Sim Space Weaver. Inputs. Simulation S3Location 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 aSchemaS3Location
.
- Role
Arn string - Role ARN.
- Maximum
Duration string - The maximum running time of the simulation.
- Name string
- The name of the simulation.
- Schema
S3Location SimulationS3Location Args 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 aSnapshotS3Location
.- Snapshot
S3Location SimulationS3Location Args 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 aSchemaS3Location
.
- role
Arn String - Role ARN.
- maximum
Duration String - The maximum running time of the simulation.
- name String
- The name of the simulation.
- schema
S3Location 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 aSnapshotS3Location
.- snapshot
S3Location 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 aSchemaS3Location
.
- role
Arn string - Role ARN.
- maximum
Duration string - The maximum running time of the simulation.
- name string
- The name of the simulation.
- schema
S3Location 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 aSnapshotS3Location
.- snapshot
S3Location 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 aSchemaS3Location
.
- role_
arn str - Role ARN.
- maximum_
duration str - The maximum running time of the simulation.
- name str
- The name of the simulation.
- schema_
s3_ Simulationlocation S3Location Args 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 aSnapshotS3Location
.- snapshot_
s3_ Simulationlocation S3Location Args 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 aSchemaS3Location
.
- role
Arn String - Role ARN.
- maximum
Duration String - The maximum running time of the simulation.
- name String
- The name of the simulation.
- schema
S3Location 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 aSnapshotS3Location
.- snapshot
S3Location 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 aSchemaS3Location
.
Outputs
All input properties are implicitly available as output properties. Additionally, the Simulation resource produces the following output properties:
- Describe
Payload string - Json object with all simulation details
- Id string
- The provider-assigned unique ID for this managed resource.
- Describe
Payload string - Json object with all simulation details
- Id string
- The provider-assigned unique ID for this managed resource.
- describe
Payload String - Json object with all simulation details
- id String
- The provider-assigned unique ID for this managed resource.
- describe
Payload 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.
- describe
Payload String - Json object with all simulation details
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
SimulationS3Location, SimulationS3LocationArgs
- Bucket
Name string - The Schema S3 bucket name.
- Object
Key string - This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema.
- Bucket
Name string - The Schema S3 bucket name.
- Object
Key string - This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema.
- bucket
Name String - The Schema S3 bucket name.
- object
Key String - This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema.
- bucket
Name string - The Schema S3 bucket name.
- object
Key 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.
- bucket
Name String - The Schema S3 bucket name.
- object
Key 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 is in preview. AWS Classic is fully supported.