Interface CfnSimulationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSimulationProps.Jsii$Proxy
CfnSimulation.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.simspaceweaver.*;
CfnSimulationProps cfnSimulationProps = CfnSimulationProps.builder()
.name("name")
.roleArn("roleArn")
// the properties below are optional
.maximumDuration("maximumDuration")
.schemaS3Location(S3LocationProperty.builder()
.bucketName("bucketName")
.objectKey("objectKey")
.build())
.snapshotS3Location(S3LocationProperty.builder()
.bucketName("bucketName")
.objectKey("objectKey")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSimulationPropsstatic final classAn implementation forCfnSimulationProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSimulationProps.Builderbuilder()default StringThe maximum running time of the simulation, specified as a number of minutes (m or M), hours (h or H), or days (d or D).getName()The name of the simulation.The Amazon Resource Name (ARN) of the AWS Identity and Access Management ( IAM ) role that the simulation assumes to perform actions.default ObjectThe location of the simulation schema in Amazon Simple Storage Service ( Amazon S3 ).default ObjectThe location of the snapshot in Amazon Simple Storage Service ( Amazon S3 ).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the simulation.- See Also:
-
getRoleArn
The Amazon Resource Name (ARN) of the AWS Identity and Access Management ( IAM ) role that the simulation assumes to perform actions.For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference . For more information about IAM roles, see IAM roles in the AWS Identity and Access Management User Guide .
- See Also:
-
getMaximumDuration
The maximum running time of the simulation, specified as a number of minutes (m or M), hours (h or H), or days (d or D).The simulation stops when it reaches this limit. The maximum value is
14D, or its equivalent in the other units. The default value is14D. A value equivalent to0makes the simulation immediately transition toSTOPPINGas soon as it reachesSTARTED.- See Also:
-
getSchemaS3Location
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
SchemaS3Locationto start your simulation from a schema.If you provide a
SchemaS3Locationthen you can't provide aSnapshotS3Location.Returns union: either
IResolvableorCfnSimulation.S3LocationProperty- See Also:
-
getSnapshotS3Location
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
SnapshotS3Locationto start your simulation from a snapshot.If you provide a
SnapshotS3Locationthen you can't provide aSchemaS3Location.Returns union: either
IResolvableorCfnSimulation.S3LocationProperty- See Also:
-
builder
- Returns:
- a
CfnSimulationProps.BuilderofCfnSimulationProps
-