Interface CfnTestCase.ResourceActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTestCase.ResourceActionProperty.Jsii$Proxy
- Enclosing class:
CfnTestCase
@Stability(Stable)
public static interface CfnTestCase.ResourceActionProperty
extends software.amazon.jsii.JsiiSerializable
Specifies a resource action.
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.apptest.*;
ResourceActionProperty resourceActionProperty = ResourceActionProperty.builder()
.cloudFormationAction(CloudFormationActionProperty.builder()
.resource("resource")
// the properties below are optional
.actionType("actionType")
.build())
.m2ManagedApplicationAction(M2ManagedApplicationActionProperty.builder()
.actionType("actionType")
.resource("resource")
// the properties below are optional
.properties(M2ManagedActionPropertiesProperty.builder()
.forceStop(false)
.importDataSetLocation("importDataSetLocation")
.build())
.build())
.m2NonManagedApplicationAction(M2NonManagedApplicationActionProperty.builder()
.actionType("actionType")
.resource("resource")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTestCase.ResourceActionPropertystatic final classAn implementation forCfnTestCase.ResourceActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe CloudFormation action of the resource action.default ObjectThe Mainframe Modernization managed application action of the resource action.default ObjectThe Mainframe Modernization non-managed application action of the resource action.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudFormationAction
The CloudFormation action of the resource action.Returns union: either
IResolvableorCfnTestCase.CloudFormationActionProperty- See Also:
-
getM2ManagedApplicationAction
The Mainframe Modernization managed application action of the resource action.Returns union: either
IResolvableorCfnTestCase.M2ManagedApplicationActionProperty- See Also:
-
getM2NonManagedApplicationAction
The Mainframe Modernization non-managed application action of the resource action.Returns union: either
IResolvableorCfnTestCase.M2NonManagedApplicationActionProperty- See Also:
-
builder
-