Skip to content
v2.278.0

CloudFormationActionProperty Struct ​

Specifies the CloudFormation 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 cloudFormationActionProperty: apptest.CfnTestCase.CloudFormationActionProperty = {
  resource: 'resource',

  // the properties below are optional
  actionType: 'actionType',
};
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

cloud_formation_action_property = apptest.CfnTestCase.CloudFormationActionProperty(
    resource="resource",

    # the properties below are optional
    action_type="actionType"
)
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.*;

CloudFormationActionProperty cloudFormationActionProperty = CloudFormationActionProperty.builder()
        .resource("resource")

        // the properties below are optional
        .actionType("actionType")
        .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 cloudFormationActionProperty = new CloudFormationActionProperty {
    Resource = "resource",

    // the properties below are optional
    ActionType = "actionType"
};
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"

cloudFormationActionProperty := &CloudFormationActionProperty{
	Resource: jsii.String("resource"),

	// the properties below are optional
	ActionType: jsii.String("actionType"),
}

Properties ​

actionTypeoptionalstringaction_typeoptionalstractionTypeoptionalStringActionTypeoptionalstringActionTypeoptional*string #
The action type of the CloudFormation action.
resourcestringresourcestrresourceStringResourcestringResource*string required #
The resource of the CloudFormation action.