CfnSimulationApplicationProps Struct
Properties for defining a CfnSimulationApplication.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_robomaker as robomaker } from 'aws-cdk-lib';
const cfnSimulationApplicationProps: robomaker.CfnSimulationApplicationProps = {
robotSoftwareSuite: {
name: 'name',
// the properties below are optional
version: 'version',
},
simulationSoftwareSuite: {
name: 'name',
// the properties below are optional
version: 'version',
},
// the properties below are optional
currentRevisionId: 'currentRevisionId',
environment: 'environment',
name: 'name',
renderingEngine: {
name: 'name',
version: 'version',
},
sources: [{
architecture: 'architecture',
s3Bucket: 's3Bucket',
s3Key: 's3Key',
}],
tags: {
tagsKey: 'tags',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_robomaker as robomaker
cfn_simulation_application_props = robomaker.CfnSimulationApplicationProps(
robot_software_suite=robomaker.CfnSimulationApplication.RobotSoftwareSuiteProperty(
name="name",
# the properties below are optional
version="version"
),
simulation_software_suite=robomaker.CfnSimulationApplication.SimulationSoftwareSuiteProperty(
name="name",
# the properties below are optional
version="version"
),
# the properties below are optional
current_revision_id="currentRevisionId",
environment="environment",
name="name",
rendering_engine=robomaker.CfnSimulationApplication.RenderingEngineProperty(
name="name",
version="version"
),
sources=[robomaker.CfnSimulationApplication.SourceConfigProperty(
architecture="architecture",
s3_bucket="s3Bucket",
s3_key="s3Key"
)],
tags={
"tags_key": "tags"
}
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.robomaker.*;
CfnSimulationApplicationProps cfnSimulationApplicationProps = CfnSimulationApplicationProps.builder()
.robotSoftwareSuite(RobotSoftwareSuiteProperty.builder()
.name("name")
// the properties below are optional
.version("version")
.build())
.simulationSoftwareSuite(SimulationSoftwareSuiteProperty.builder()
.name("name")
// the properties below are optional
.version("version")
.build())
// the properties below are optional
.currentRevisionId("currentRevisionId")
.environment("environment")
.name("name")
.renderingEngine(RenderingEngineProperty.builder()
.name("name")
.version("version")
.build())
.sources(List.of(SourceConfigProperty.builder()
.architecture("architecture")
.s3Bucket("s3Bucket")
.s3Key("s3Key")
.build()))
.tags(Map.of(
"tagsKey", "tags"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RoboMaker;
var cfnSimulationApplicationProps = new CfnSimulationApplicationProps {
RobotSoftwareSuite = new RobotSoftwareSuiteProperty {
Name = "name",
// the properties below are optional
Version = "version"
},
SimulationSoftwareSuite = new SimulationSoftwareSuiteProperty {
Name = "name",
// the properties below are optional
Version = "version"
},
// the properties below are optional
CurrentRevisionId = "currentRevisionId",
Environment = "environment",
Name = "name",
RenderingEngine = new RenderingEngineProperty {
Name = "name",
Version = "version"
},
Sources = new [] { new SourceConfigProperty {
Architecture = "architecture",
S3Bucket = "s3Bucket",
S3Key = "s3Key"
} },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnSimulationApplicationProps := &CfnSimulationApplicationProps{
RobotSoftwareSuite: &RobotSoftwareSuiteProperty{
Name: jsii.String("name"),
// the properties below are optional
Version: jsii.String("version"),
},
SimulationSoftwareSuite: &SimulationSoftwareSuiteProperty{
Name: jsii.String("name"),
// the properties below are optional
Version: jsii.String("version"),
},
// the properties below are optional
CurrentRevisionId: jsii.String("currentRevisionId"),
Environment: jsii.String("environment"),
Name: jsii.String("name"),
RenderingEngine: &RenderingEngineProperty{
Name: jsii.String("name"),
Version: jsii.String("version"),
},
Sources: []interface{}{
&SourceConfigProperty{
Architecture: jsii.String("architecture"),
S3Bucket: jsii.String("s3Bucket"),
S3Key: jsii.String("s3Key"),
},
},
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
}
Properties
currentRevisionIdoptionalstringcurrent_revision_idoptionalstrcurrentRevisionIdoptionalStringCurrentRevisionIdoptionalstringCurrentRevisionIdoptional*string #The current revision id.
environmentoptionalstringenvironmentoptionalstrenvironmentoptionalStringEnvironmentoptionalstringEnvironmentoptional*string #The environment of the simulation application.
The name of the simulation application.
renderingEngineoptionalIResolvable | CfnSimulationApplication.rendering_engineoptionaltyping.Union[IResolvable, RenderingEngineProperty]renderingEngineoptionalIResolvableRenderingEngineoptionalIResolvableRenderingEngineoptionalinterface{} #The rendering engine for the simulation application.
robotSoftwareSuiteIResolvable | CfnSimulationApplication.robot_software_suitetyping.Union[IResolvable, RobotSoftwareSuiteProperty]robotSoftwareSuiteIResolvableRobotSoftwareSuiteIResolvableRobotSoftwareSuiteinterface{} required #The robot software suite used by the simulation application.
simulationSoftwareSuiteIResolvable | CfnSimulationApplication.simulation_software_suitetyping.Union[IResolvable, SimulationSoftwareSuiteProperty]simulationSoftwareSuiteIResolvableSimulationSoftwareSuiteIResolvableSimulationSoftwareSuiteinterface{} required #The simulation software suite used by the simulation application.
sourcesoptionalIResolvable | IResolvable | CfnSimulationApplication.sourcesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SourceConfigProperty]]]sourcesoptionalIResolvableSourcesoptionalIResolvableSourcesoptionalinterface{} #The sources of the simulation application.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string #A map that contains tag keys and tag values that are attached to the simulation application.