Skip to content
v2.278.0

ExecutionStatusObjectProperty Struct ​

Use this structure to start and stop the launch.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_evidently as evidently } from 'aws-cdk-lib';
const executionStatusObjectProperty: evidently.CfnLaunch.ExecutionStatusObjectProperty = {
  status: 'status',

  // the properties below are optional
  desiredState: 'desiredState',
  reason: 'reason',
};
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_evidently as evidently

execution_status_object_property = evidently.CfnLaunch.ExecutionStatusObjectProperty(
    status="status",

    # the properties below are optional
    desired_state="desiredState",
    reason="reason"
)
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.evidently.*;

ExecutionStatusObjectProperty executionStatusObjectProperty = ExecutionStatusObjectProperty.builder()
        .status("status")

        // the properties below are optional
        .desiredState("desiredState")
        .reason("reason")
        .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.Evidently;

var executionStatusObjectProperty = new ExecutionStatusObjectProperty {
    Status = "status",

    // the properties below are optional
    DesiredState = "desiredState",
    Reason = "reason"
};
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"

executionStatusObjectProperty := &ExecutionStatusObjectProperty{
	Status: jsii.String("status"),

	// the properties below are optional
	DesiredState: jsii.String("desiredState"),
	Reason: jsii.String("reason"),
}

Properties ​

desiredStateoptionalstringdesired_stateoptionalstrdesiredStateoptionalStringDesiredStateoptionalstringDesiredStateoptional*string #
If you are using CloudFormation to stop this launch, specify either `COMPLETED` or `CANCELLED` here to indicate how to classify this experiment.

If you omit this parameter, the default of COMPLETED is used.

reasonoptionalstringreasonoptionalstrreasonoptionalStringReasonoptionalstringReasonoptional*string #
If you are using CloudFormation to stop this launch, this is an optional field that you can use to record why the launch is being stopped or cancelled.
statusstringstatusstrstatusStringStatusstringStatus*string required #
To start the launch now, specify `START` for this parameter.

If this launch is currently running and you want to stop it now, specify STOP .