Skip to content
v2.277.0

M2ManagedApplicationActionProperty Struct ​

Specifies the Mainframe Modernization managed application action.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apptest as apptest } from 'aws-cdk-lib';
const m2ManagedApplicationActionProperty: apptest.CfnTestCase.M2ManagedApplicationActionProperty = {
  actionType: 'actionType',
  resource: 'resource',

  // the properties below are optional
  properties: {
    forceStop: false,
    importDataSetLocation: 'importDataSetLocation',
  },
};
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_apptest as apptest

m2_managed_application_action_property = apptest.CfnTestCase.M2ManagedApplicationActionProperty(
    action_type="actionType",
    resource="resource",

    # the properties below are optional
    properties=apptest.CfnTestCase.M2ManagedActionPropertiesProperty(
        force_stop=False,
        import_data_set_location="importDataSetLocation"
    )
)
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.apptest.*;

M2ManagedApplicationActionProperty m2ManagedApplicationActionProperty = M2ManagedApplicationActionProperty.builder()
        .actionType("actionType")
        .resource("resource")

        // the properties below are optional
        .properties(M2ManagedActionPropertiesProperty.builder()
                .forceStop(false)
                .importDataSetLocation("importDataSetLocation")
                .build())
        .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.AppTest;

var m2ManagedApplicationActionProperty = new M2ManagedApplicationActionProperty {
    ActionType = "actionType",
    Resource = "resource",

    // the properties below are optional
    Properties = new M2ManagedActionPropertiesProperty {
        ForceStop = false,
        ImportDataSetLocation = "importDataSetLocation"
    }
};
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"

m2ManagedApplicationActionProperty := &M2ManagedApplicationActionProperty{
	ActionType: jsii.String("actionType"),
	Resource: jsii.String("resource"),

	// the properties below are optional
	Properties: &M2ManagedActionPropertiesProperty{
		ForceStop: jsii.Boolean(false),
		ImportDataSetLocation: jsii.String("importDataSetLocation"),
	},
}

Properties ​

actionTypestringaction_typestractionTypeStringActionTypestringActionType*string required #
The action type of the Mainframe Modernization managed application action.
propertiesoptionalIResolvable | CfnTestCase.M2ManagedActionPropertiesPropertypropertiesoptionaltyping.Union[IResolvable, M2ManagedActionPropertiesProperty]propertiesoptionalIResolvablePropertiesoptionalIResolvablePropertiesoptionalinterface{} #
The properties of the Mainframe Modernization managed application action.
resourcestringresourcestrresourceStringResourcestringResource*string required #
The resource of the Mainframe Modernization managed application action.