Class CfnSimulationPropsMixin
Use the AWS::SimSpaceWeaver::Simulation resource to specify a simulation that CloudFormation starts in the AWS Cloud , in your AWS account .
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SimSpaceWeaver
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnSimulationPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnSimulationPropsMixin Inherits Mixin Implements IMixin
Remarks
In the resource properties section of your template, provide the name of an existing IAM role configured with the proper permissions, and the name of an existing Amazon S3 bucket. Your account must have permissions to read the Amazon S3 bucket. The Amazon S3 bucket must contain a valid schema. The schema must refer to simulation assets that are already uploaded to the AWS Cloud . For more information, see the detailed tutorial in the AWS SimSpace Weaver User Guide .
Specify a SnapshotS3Location to start a simulation from a snapshot instead of from a schema. When you start a simulation from a snapshot, SimSpace Weaver initializes the entity data in the State Fabric with data saved in the snapshot, starts the spatial and service apps that were running when the snapshot was created, and restores the clock to the appropriate tick. Your app zip files must be in the same location in Amazon S3 as they were in for the original simulation. You must start any custom apps separately. For more information about snapshots, see Snapshots in the AWS SimSpace Weaver User Guide .
CloudformationResource: AWS::SimSpaceWeaver::Simulation
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SimSpaceWeaver;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSimulationPropsMixin = new CfnSimulationPropsMixin(new CfnSimulationMixinProps {
MaximumDuration = "maximumDuration",
Name = "name",
RoleArn = "roleArn",
SchemaS3Location = new S3LocationProperty {
BucketName = "bucketName",
ObjectKey = "objectKey"
},
SnapshotS3Location = new S3LocationProperty {
BucketName = "bucketName",
ObjectKey = "objectKey"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnSimulationPropsMixin(ICfnSimulationMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Use the |
| Props | Use the |
| Strategy | Use the |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnSimulationPropsMixin(ICfnSimulationMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::SimSpaceWeaver::Simulation.
public CfnSimulationPropsMixin(ICfnSimulationMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnSimulationMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
In the resource properties section of your template, provide the name of an existing IAM role configured with the proper permissions, and the name of an existing Amazon S3 bucket. Your account must have permissions to read the Amazon S3 bucket. The Amazon S3 bucket must contain a valid schema. The schema must refer to simulation assets that are already uploaded to the AWS Cloud . For more information, see the detailed tutorial in the AWS SimSpace Weaver User Guide .
Specify a SnapshotS3Location to start a simulation from a snapshot instead of from a schema. When you start a simulation from a snapshot, SimSpace Weaver initializes the entity data in the State Fabric with data saved in the snapshot, starts the spatial and service apps that were running when the snapshot was created, and restores the clock to the appropriate tick. Your app zip files must be in the same location in Amazon S3 as they were in for the original simulation. You must start any custom apps separately. For more information about snapshots, see Snapshots in the AWS SimSpace Weaver User Guide .
CloudformationResource: AWS::SimSpaceWeaver::Simulation
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Use the AWS::SimSpaceWeaver::Simulation resource to specify a simulation that CloudFormation starts in the AWS Cloud , in your AWS account .
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
In the resource properties section of your template, provide the name of an existing IAM role configured with the proper permissions, and the name of an existing Amazon S3 bucket. Your account must have permissions to read the Amazon S3 bucket. The Amazon S3 bucket must contain a valid schema. The schema must refer to simulation assets that are already uploaded to the AWS Cloud . For more information, see the detailed tutorial in the AWS SimSpace Weaver User Guide .
Specify a SnapshotS3Location to start a simulation from a snapshot instead of from a schema. When you start a simulation from a snapshot, SimSpace Weaver initializes the entity data in the State Fabric with data saved in the snapshot, starts the spatial and service apps that were running when the snapshot was created, and restores the clock to the appropriate tick. Your app zip files must be in the same location in Amazon S3 as they were in for the original simulation. You must start any custom apps separately. For more information about snapshots, see Snapshots in the AWS SimSpace Weaver User Guide .
CloudformationResource: AWS::SimSpaceWeaver::Simulation
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SimSpaceWeaver;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSimulationPropsMixin = new CfnSimulationPropsMixin(new CfnSimulationMixinProps {
MaximumDuration = "maximumDuration",
Name = "name",
RoleArn = "roleArn",
SchemaS3Location = new S3LocationProperty {
BucketName = "bucketName",
ObjectKey = "objectKey"
},
SnapshotS3Location = new S3LocationProperty {
BucketName = "bucketName",
ObjectKey = "objectKey"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Use the AWS::SimSpaceWeaver::Simulation resource to specify a simulation that CloudFormation starts in the AWS Cloud , in your AWS account .
protected virtual ICfnSimulationMixinProps Props { get; }
Property Value
Remarks
In the resource properties section of your template, provide the name of an existing IAM role configured with the proper permissions, and the name of an existing Amazon S3 bucket. Your account must have permissions to read the Amazon S3 bucket. The Amazon S3 bucket must contain a valid schema. The schema must refer to simulation assets that are already uploaded to the AWS Cloud . For more information, see the detailed tutorial in the AWS SimSpace Weaver User Guide .
Specify a SnapshotS3Location to start a simulation from a snapshot instead of from a schema. When you start a simulation from a snapshot, SimSpace Weaver initializes the entity data in the State Fabric with data saved in the snapshot, starts the spatial and service apps that were running when the snapshot was created, and restores the clock to the appropriate tick. Your app zip files must be in the same location in Amazon S3 as they were in for the original simulation. You must start any custom apps separately. For more information about snapshots, see Snapshots in the AWS SimSpace Weaver User Guide .
CloudformationResource: AWS::SimSpaceWeaver::Simulation
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SimSpaceWeaver;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSimulationPropsMixin = new CfnSimulationPropsMixin(new CfnSimulationMixinProps {
MaximumDuration = "maximumDuration",
Name = "name",
RoleArn = "roleArn",
SchemaS3Location = new S3LocationProperty {
BucketName = "bucketName",
ObjectKey = "objectKey"
},
SnapshotS3Location = new S3LocationProperty {
BucketName = "bucketName",
ObjectKey = "objectKey"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Use the AWS::SimSpaceWeaver::Simulation resource to specify a simulation that CloudFormation starts in the AWS Cloud , in your AWS account .
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
In the resource properties section of your template, provide the name of an existing IAM role configured with the proper permissions, and the name of an existing Amazon S3 bucket. Your account must have permissions to read the Amazon S3 bucket. The Amazon S3 bucket must contain a valid schema. The schema must refer to simulation assets that are already uploaded to the AWS Cloud . For more information, see the detailed tutorial in the AWS SimSpace Weaver User Guide .
Specify a SnapshotS3Location to start a simulation from a snapshot instead of from a schema. When you start a simulation from a snapshot, SimSpace Weaver initializes the entity data in the State Fabric with data saved in the snapshot, starts the spatial and service apps that were running when the snapshot was created, and restores the clock to the appropriate tick. Your app zip files must be in the same location in Amazon S3 as they were in for the original simulation. You must start any custom apps separately. For more information about snapshots, see Snapshots in the AWS SimSpace Weaver User Guide .
CloudformationResource: AWS::SimSpaceWeaver::Simulation
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SimSpaceWeaver;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnSimulationPropsMixin = new CfnSimulationPropsMixin(new CfnSimulationMixinProps {
MaximumDuration = "maximumDuration",
Name = "name",
RoleArn = "roleArn",
SchemaS3Location = new S3LocationProperty {
BucketName = "bucketName",
ObjectKey = "objectKey"
},
SnapshotS3Location = new S3LocationProperty {
BucketName = "bucketName",
ObjectKey = "objectKey"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
In the resource properties section of your template, provide the name of an existing IAM role configured with the proper permissions, and the name of an existing Amazon S3 bucket. Your account must have permissions to read the Amazon S3 bucket. The Amazon S3 bucket must contain a valid schema. The schema must refer to simulation assets that are already uploaded to the AWS Cloud . For more information, see the detailed tutorial in the AWS SimSpace Weaver User Guide .
Specify a SnapshotS3Location to start a simulation from a snapshot instead of from a schema. When you start a simulation from a snapshot, SimSpace Weaver initializes the entity data in the State Fabric with data saved in the snapshot, starts the spatial and service apps that were running when the snapshot was created, and restores the clock to the appropriate tick. Your app zip files must be in the same location in Amazon S3 as they were in for the original simulation. You must start any custom apps separately. For more information about snapshots, see Snapshots in the AWS SimSpace Weaver User Guide .
CloudformationResource: AWS::SimSpaceWeaver::Simulation
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
In the resource properties section of your template, provide the name of an existing IAM role configured with the proper permissions, and the name of an existing Amazon S3 bucket. Your account must have permissions to read the Amazon S3 bucket. The Amazon S3 bucket must contain a valid schema. The schema must refer to simulation assets that are already uploaded to the AWS Cloud . For more information, see the detailed tutorial in the AWS SimSpace Weaver User Guide .
Specify a SnapshotS3Location to start a simulation from a snapshot instead of from a schema. When you start a simulation from a snapshot, SimSpace Weaver initializes the entity data in the State Fabric with data saved in the snapshot, starts the spatial and service apps that were running when the snapshot was created, and restores the clock to the appropriate tick. Your app zip files must be in the same location in Amazon S3 as they were in for the original simulation. You must start any custom apps separately. For more information about snapshots, see Snapshots in the AWS SimSpace Weaver User Guide .
CloudformationResource: AWS::SimSpaceWeaver::Simulation
Mixin: true
ExampleMetadata: fixture=_generated