# M2ManagedApplicationActionProperty

Specifies the Mainframe Modernization managed application action.

- Source: Generated at build time
- Type last changed: v2.148.0 · 5 Jul 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

```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

- `actionType`: string (required) — The action type of the Mainframe Modernization managed application action.

- `properties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTestCase.M2ManagedActionPropertiesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apptest.CfnTestCase.M2ManagedActionPropertiesProperty.html) — The properties of the Mainframe Modernization managed application action.

- `resource`: string (required) — The resource of the Mainframe Modernization managed application action.
