Simulation properties
The simulation_properties
section (required) specifies various properties of your
simulation. Use this section to configure logging and specify a default container image. This section
is required even if you don't configure logging or choose to specify a default container image.
simulation_properties: log_destination_resource_name: "
log-destination-resource-name
" log_destination_service: "log-destination-service
" default_entity_index_key_type: "Vector3<f32>" default_image: "ecr-repository-uri
"
Properties
log_destination_resource_name
-
Specifies the resource that SimSpace Weaver will write logs to.
Required: No. If this property isn't included, SimSpace Weaver won't write logs for the simulation.
Type: String
Valid values:
The name of an CloudWatch Logs log group (for example,
MySimulationLogs
)The Amazon Resource Name (ARN) of a CloudWatch Logs log group (for example,
arn:aws:logs:us-west-2:111122223333:log-group/MySimulationLogs
)
Note
SimSpace Weaver only supports a log destination in the same account and AWS Region as the simulation.
log_destination_service
-
Indicates the type of logging destination resource when you specify a
logging_destination resource_name
that isn't an ARN.Required: You must specify this property if the
log_destination_resource_name
is specified and isn't an ARN. You can't specify this property if thelog_destination_resource_name
isn't specified or is an ARN.Type: String
Valid values:
logs
: The log destination resource is a log group.
default_entity_index_key_type
-
Specifies the data type for the index key field of simulation entities.
Required: Yes
Type: String
Valid values:
Vector3<f32>
default_image
-
Specifies the default container image for your simulation (not supported for version
1.13
and1.12
). If this property is specified, domains that don't specify animage
use thedefault_image
.Required: No
Type: String
Valid values:
The URI of a repository in Amazon Elastic Container Registry (Amazon ECR) (for example,
111122223333.dkr.ecr.us-west-2.amazonaws.com/my-ecr-repository:latest
)