Skip to content
v2.273.0

CfnSimulationPropsMixin Mixin ​

Use the AWS::SimSpaceWeaver::Simulation resource to specify a simulation that CloudFormation starts in the AWS Cloud , in your AWS account .

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 .

Initializer ​

ts
new CfnSimulationPropsMixin(props: CfnSimulationMixinProps, options?: CfnPropertyMixinOptions)
python
CfnSimulationPropsMixin(props: CfnSimulationMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnSimulationPropsMixin(CfnSimulationMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnSimulationPropsMixin(CfnSimulationMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnSimulationPropsMixin(Props CfnSimulationMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.