awsapptest

package
v2.151.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

AWS::AppTest Construct Library

---

All classes with the Cfn prefix in this module (CFN Resources) are always stable and safe to use.


This module is part of the AWS Cloud Development Kit project.

import apptest "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::AppTest.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfnTestCase_CFN_RESOURCE_TYPE_NAME

func CfnTestCase_CFN_RESOURCE_TYPE_NAME() *string

func CfnTestCase_IsCfnElement

func CfnTestCase_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func CfnTestCase_IsCfnResource

func CfnTestCase_IsCfnResource(x interface{}) *bool

Check whether the given object is a CfnResource.

func CfnTestCase_IsConstruct

func CfnTestCase_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func NewCfnTestCase_Override

func NewCfnTestCase_Override(c CfnTestCase, scope constructs.Construct, id *string, props *CfnTestCaseProps)

Types

type CfnTestCase

type CfnTestCase interface {
	awscdk.CfnResource
	awscdk.IInspectable
	awscdk.ITaggableV2
	// The creation time of the test case.
	AttrCreationTime() *string
	// The last update time of the test case.
	AttrLastUpdateTime() *string
	AttrLatestVersion() awscdk.IResolvable
	// The status of the test case.
	AttrStatus() *string
	// The Amazon Resource Name (ARN) of the test case.
	AttrTestCaseArn() *string
	// The response test case ID of the test case.
	AttrTestCaseId() *string
	// The version of the test case.
	AttrTestCaseVersion() awscdk.IResolvable
	// Tag Manager which manages the tags for this resource.
	CdkTagManager() awscdk.TagManager
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	// The description of the test case.
	Description() *string
	SetDescription(val *string)
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The name of the test case.
	Name() *string
	SetName(val *string)
	// The tree node.
	Node() constructs.Node
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// The steps in the test case.
	Steps() interface{}
	SetSteps(val interface{})
	// The specified tags of the test case.
	Tags() *map[string]*string
	SetTags(val *map[string]*string)
	// Deprecated.
	// Deprecated: use `updatedProperties`
	//
	// Return properties modified after initiation
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperties() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependency(target awscdk.CfnResource)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	// Deprecated: use addDependency.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//   "GlobalSecondaryIndexes": [
	//     {
	//       "Projection": {
	//         "NonKeyAttributes": [ "myattribute" ]
	//         ...
	//       }
	//       ...
	//     },
	//     {
	//       "ProjectionType": "INCLUDE"
	//       ...
	//     },
	//   ]
	//   ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
	// cases, a snapshot can be taken of the resource prior to deletion
	// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
	// can be found in the following link:.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
	//
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Retrieves an array of resources this resource depends on.
	//
	// This assembles dependencies on resources across stacks (including nested stacks)
	// automatically.
	ObtainDependencies() *[]interface{}
	// Get a shallow copy of dependencies between this resource and other resources in the same stack.
	ObtainResourceDependencies() *[]awscdk.CfnResource
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Indicates that this resource no longer depends on another resource.
	//
	// This can be used for resources across stacks (including nested stacks)
	// and the dependency will automatically be removed from the relevant scope.
	RemoveDependency(target awscdk.CfnResource)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Replaces one dependency with another.
	ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

Creates a test case for an application.

For more information about test cases, see [Test cases](https://docs.aws.amazon.com/m2/latest/userguide/testing-test-cases.html) and [Application Testing concepts](https://docs.aws.amazon.com/m2/latest/userguide/concepts-apptest.html) in the *AWS Mainframe Modernization User Guide* .

Example:

// 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"

cfnTestCase := awscdk.Aws_apptest.NewCfnTestCase(this, jsii.String("MyCfnTestCase"), &CfnTestCaseProps{
	Name: jsii.String("name"),
	Steps: []interface{}{
		&StepProperty{
			Action: &StepActionProperty{
				CompareAction: &CompareActionProperty{
					Input: &InputProperty{
						File: &InputFileProperty{
							FileMetadata: &FileMetadataProperty{
								DatabaseCdc: &DatabaseCDCProperty{
									SourceMetadata: &SourceDatabaseMetadataProperty{
										CaptureTool: jsii.String("captureTool"),
										Type: jsii.String("type"),
									},
									TargetMetadata: &TargetDatabaseMetadataProperty{
										CaptureTool: jsii.String("captureTool"),
										Type: jsii.String("type"),
									},
								},
								DataSets: []interface{}{
									&DataSetProperty{
										Ccsid: jsii.String("ccsid"),
										Format: jsii.String("format"),
										Length: jsii.Number(123),
										Name: jsii.String("name"),
										Type: jsii.String("type"),
									},
								},
							},
							SourceLocation: jsii.String("sourceLocation"),
							TargetLocation: jsii.String("targetLocation"),
						},
					},

					// the properties below are optional
					Output: &OutputProperty{
						File: &OutputFileProperty{
							FileLocation: jsii.String("fileLocation"),
						},
					},
				},
				MainframeAction: &MainframeActionProperty{
					ActionType: &MainframeActionTypeProperty{
						Batch: &BatchProperty{
							BatchJobName: jsii.String("batchJobName"),

							// the properties below are optional
							BatchJobParameters: map[string]*string{
								"batchJobParametersKey": jsii.String("batchJobParameters"),
							},
							ExportDataSetNames: []*string{
								jsii.String("exportDataSetNames"),
							},
						},
						Tn3270: &TN3270Property{
							Script: &ScriptProperty{
								ScriptLocation: jsii.String("scriptLocation"),
								Type: jsii.String("type"),
							},

							// the properties below are optional
							ExportDataSetNames: []*string{
								jsii.String("exportDataSetNames"),
							},
						},
					},
					Resource: jsii.String("resource"),

					// the properties below are optional
					Properties: &MainframeActionPropertiesProperty{
						DmsTaskArn: jsii.String("dmsTaskArn"),
					},
				},
				ResourceAction: &ResourceActionProperty{
					CloudFormationAction: &CloudFormationActionProperty{
						Resource: jsii.String("resource"),

						// the properties below are optional
						ActionType: jsii.String("actionType"),
					},
					M2ManagedApplicationAction: &M2ManagedApplicationActionProperty{
						ActionType: jsii.String("actionType"),
						Resource: jsii.String("resource"),

						// the properties below are optional
						Properties: &M2ManagedActionPropertiesProperty{
							ForceStop: jsii.Boolean(false),
							ImportDataSetLocation: jsii.String("importDataSetLocation"),
						},
					},
					M2NonManagedApplicationAction: &M2NonManagedApplicationActionProperty{
						ActionType: jsii.String("actionType"),
						Resource: jsii.String("resource"),
					},
				},
			},
			Name: jsii.String("name"),

			// the properties below are optional
			Description: jsii.String("description"),
		},
	},

	// the properties below are optional
	Description: jsii.String("description"),
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
})

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html

func NewCfnTestCase

func NewCfnTestCase(scope constructs.Construct, id *string, props *CfnTestCaseProps) CfnTestCase

type CfnTestCaseProps

type CfnTestCaseProps struct {
	// The name of the test case.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html#cfn-apptest-testcase-name
	//
	Name *string `field:"required" json:"name" yaml:"name"`
	// The steps in the test case.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html#cfn-apptest-testcase-steps
	//
	Steps interface{} `field:"required" json:"steps" yaml:"steps"`
	// The description of the test case.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html#cfn-apptest-testcase-description
	//
	Description *string `field:"optional" json:"description" yaml:"description"`
	// The specified tags of the test case.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html#cfn-apptest-testcase-tags
	//
	Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `CfnTestCase`.

Example:

// 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"

cfnTestCaseProps := &CfnTestCaseProps{
	Name: jsii.String("name"),
	Steps: []interface{}{
		&StepProperty{
			Action: &StepActionProperty{
				CompareAction: &CompareActionProperty{
					Input: &InputProperty{
						File: &InputFileProperty{
							FileMetadata: &FileMetadataProperty{
								DatabaseCdc: &DatabaseCDCProperty{
									SourceMetadata: &SourceDatabaseMetadataProperty{
										CaptureTool: jsii.String("captureTool"),
										Type: jsii.String("type"),
									},
									TargetMetadata: &TargetDatabaseMetadataProperty{
										CaptureTool: jsii.String("captureTool"),
										Type: jsii.String("type"),
									},
								},
								DataSets: []interface{}{
									&DataSetProperty{
										Ccsid: jsii.String("ccsid"),
										Format: jsii.String("format"),
										Length: jsii.Number(123),
										Name: jsii.String("name"),
										Type: jsii.String("type"),
									},
								},
							},
							SourceLocation: jsii.String("sourceLocation"),
							TargetLocation: jsii.String("targetLocation"),
						},
					},

					// the properties below are optional
					Output: &OutputProperty{
						File: &OutputFileProperty{
							FileLocation: jsii.String("fileLocation"),
						},
					},
				},
				MainframeAction: &MainframeActionProperty{
					ActionType: &MainframeActionTypeProperty{
						Batch: &BatchProperty{
							BatchJobName: jsii.String("batchJobName"),

							// the properties below are optional
							BatchJobParameters: map[string]*string{
								"batchJobParametersKey": jsii.String("batchJobParameters"),
							},
							ExportDataSetNames: []*string{
								jsii.String("exportDataSetNames"),
							},
						},
						Tn3270: &TN3270Property{
							Script: &ScriptProperty{
								ScriptLocation: jsii.String("scriptLocation"),
								Type: jsii.String("type"),
							},

							// the properties below are optional
							ExportDataSetNames: []*string{
								jsii.String("exportDataSetNames"),
							},
						},
					},
					Resource: jsii.String("resource"),

					// the properties below are optional
					Properties: &MainframeActionPropertiesProperty{
						DmsTaskArn: jsii.String("dmsTaskArn"),
					},
				},
				ResourceAction: &ResourceActionProperty{
					CloudFormationAction: &CloudFormationActionProperty{
						Resource: jsii.String("resource"),

						// the properties below are optional
						ActionType: jsii.String("actionType"),
					},
					M2ManagedApplicationAction: &M2ManagedApplicationActionProperty{
						ActionType: jsii.String("actionType"),
						Resource: jsii.String("resource"),

						// the properties below are optional
						Properties: &M2ManagedActionPropertiesProperty{
							ForceStop: jsii.Boolean(false),
							ImportDataSetLocation: jsii.String("importDataSetLocation"),
						},
					},
					M2NonManagedApplicationAction: &M2NonManagedApplicationActionProperty{
						ActionType: jsii.String("actionType"),
						Resource: jsii.String("resource"),
					},
				},
			},
			Name: jsii.String("name"),

			// the properties below are optional
			Description: jsii.String("description"),
		},
	},

	// the properties below are optional
	Description: jsii.String("description"),
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html

type CfnTestCase_BatchProperty

type CfnTestCase_BatchProperty struct {
	// The job name of the batch.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-batch.html#cfn-apptest-testcase-batch-batchjobname
	//
	BatchJobName *string `field:"required" json:"batchJobName" yaml:"batchJobName"`
	// The batch job parameters of the batch.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-batch.html#cfn-apptest-testcase-batch-batchjobparameters
	//
	BatchJobParameters interface{} `field:"optional" json:"batchJobParameters" yaml:"batchJobParameters"`
	// The export data set names of the batch.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-batch.html#cfn-apptest-testcase-batch-exportdatasetnames
	//
	ExportDataSetNames *[]*string `field:"optional" json:"exportDataSetNames" yaml:"exportDataSetNames"`
}

Defines a batch.

Example:

// 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"

batchProperty := &BatchProperty{
	BatchJobName: jsii.String("batchJobName"),

	// the properties below are optional
	BatchJobParameters: map[string]*string{
		"batchJobParametersKey": jsii.String("batchJobParameters"),
	},
	ExportDataSetNames: []*string{
		jsii.String("exportDataSetNames"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-batch.html

type CfnTestCase_CloudFormationActionProperty

type CfnTestCase_CloudFormationActionProperty struct {
	// The resource of the CloudFormation action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-cloudformationaction.html#cfn-apptest-testcase-cloudformationaction-resource
	//
	Resource *string `field:"required" json:"resource" yaml:"resource"`
	// The action type of the CloudFormation action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-cloudformationaction.html#cfn-apptest-testcase-cloudformationaction-actiontype
	//
	ActionType *string `field:"optional" json:"actionType" yaml:"actionType"`
}

Specifies the CloudFormation action.

Example:

// 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"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-cloudformationaction.html

type CfnTestCase_CompareActionProperty

type CfnTestCase_CompareActionProperty struct {
	// The input of the compare action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-compareaction.html#cfn-apptest-testcase-compareaction-input
	//
	Input interface{} `field:"required" json:"input" yaml:"input"`
	// The output of the compare action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-compareaction.html#cfn-apptest-testcase-compareaction-output
	//
	Output interface{} `field:"optional" json:"output" yaml:"output"`
}

Compares the action.

Example:

// 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"

compareActionProperty := &CompareActionProperty{
	Input: &InputProperty{
		File: &InputFileProperty{
			FileMetadata: &FileMetadataProperty{
				DatabaseCdc: &DatabaseCDCProperty{
					SourceMetadata: &SourceDatabaseMetadataProperty{
						CaptureTool: jsii.String("captureTool"),
						Type: jsii.String("type"),
					},
					TargetMetadata: &TargetDatabaseMetadataProperty{
						CaptureTool: jsii.String("captureTool"),
						Type: jsii.String("type"),
					},
				},
				DataSets: []interface{}{
					&DataSetProperty{
						Ccsid: jsii.String("ccsid"),
						Format: jsii.String("format"),
						Length: jsii.Number(123),
						Name: jsii.String("name"),
						Type: jsii.String("type"),
					},
				},
			},
			SourceLocation: jsii.String("sourceLocation"),
			TargetLocation: jsii.String("targetLocation"),
		},
	},

	// the properties below are optional
	Output: &OutputProperty{
		File: &OutputFileProperty{
			FileLocation: jsii.String("fileLocation"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-compareaction.html

type CfnTestCase_DataSetProperty

type CfnTestCase_DataSetProperty struct {
	// The CCSID of the data set.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-dataset.html#cfn-apptest-testcase-dataset-ccsid
	//
	Ccsid *string `field:"required" json:"ccsid" yaml:"ccsid"`
	// The format of the data set.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-dataset.html#cfn-apptest-testcase-dataset-format
	//
	Format *string `field:"required" json:"format" yaml:"format"`
	// The length of the data set.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-dataset.html#cfn-apptest-testcase-dataset-length
	//
	Length *float64 `field:"required" json:"length" yaml:"length"`
	// The name of the data set.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-dataset.html#cfn-apptest-testcase-dataset-name
	//
	Name *string `field:"required" json:"name" yaml:"name"`
	// The type of the data set.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-dataset.html#cfn-apptest-testcase-dataset-type
	//
	Type *string `field:"required" json:"type" yaml:"type"`
}

Defines a data set.

Example:

// 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"

dataSetProperty := &DataSetProperty{
	Ccsid: jsii.String("ccsid"),
	Format: jsii.String("format"),
	Length: jsii.Number(123),
	Name: jsii.String("name"),
	Type: jsii.String("type"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-dataset.html

type CfnTestCase_DatabaseCDCProperty

type CfnTestCase_DatabaseCDCProperty struct {
	// The source metadata of the database CDC.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-databasecdc.html#cfn-apptest-testcase-databasecdc-sourcemetadata
	//
	SourceMetadata interface{} `field:"required" json:"sourceMetadata" yaml:"sourceMetadata"`
	// The target metadata of the database CDC.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-databasecdc.html#cfn-apptest-testcase-databasecdc-targetmetadata
	//
	TargetMetadata interface{} `field:"required" json:"targetMetadata" yaml:"targetMetadata"`
}

Defines the Change Data Capture (CDC) of the database.

Example:

// 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"

databaseCDCProperty := &DatabaseCDCProperty{
	SourceMetadata: &SourceDatabaseMetadataProperty{
		CaptureTool: jsii.String("captureTool"),
		Type: jsii.String("type"),
	},
	TargetMetadata: &TargetDatabaseMetadataProperty{
		CaptureTool: jsii.String("captureTool"),
		Type: jsii.String("type"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-databasecdc.html

type CfnTestCase_FileMetadataProperty

type CfnTestCase_FileMetadataProperty struct {
	// The database CDC of the file metadata.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-filemetadata.html#cfn-apptest-testcase-filemetadata-databasecdc
	//
	DatabaseCdc interface{} `field:"optional" json:"databaseCdc" yaml:"databaseCdc"`
	// The data sets of the file metadata.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-filemetadata.html#cfn-apptest-testcase-filemetadata-datasets
	//
	DataSets interface{} `field:"optional" json:"dataSets" yaml:"dataSets"`
}

Specifies a file metadata.

Example:

// 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"

fileMetadataProperty := &FileMetadataProperty{
	DatabaseCdc: &DatabaseCDCProperty{
		SourceMetadata: &SourceDatabaseMetadataProperty{
			CaptureTool: jsii.String("captureTool"),
			Type: jsii.String("type"),
		},
		TargetMetadata: &TargetDatabaseMetadataProperty{
			CaptureTool: jsii.String("captureTool"),
			Type: jsii.String("type"),
		},
	},
	DataSets: []interface{}{
		&DataSetProperty{
			Ccsid: jsii.String("ccsid"),
			Format: jsii.String("format"),
			Length: jsii.Number(123),
			Name: jsii.String("name"),
			Type: jsii.String("type"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-filemetadata.html

type CfnTestCase_InputFileProperty

type CfnTestCase_InputFileProperty struct {
	// The file metadata of the input file.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-inputfile.html#cfn-apptest-testcase-inputfile-filemetadata
	//
	FileMetadata interface{} `field:"required" json:"fileMetadata" yaml:"fileMetadata"`
	// The source location of the input file.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-inputfile.html#cfn-apptest-testcase-inputfile-sourcelocation
	//
	SourceLocation *string `field:"required" json:"sourceLocation" yaml:"sourceLocation"`
	// The target location of the input file.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-inputfile.html#cfn-apptest-testcase-inputfile-targetlocation
	//
	TargetLocation *string `field:"required" json:"targetLocation" yaml:"targetLocation"`
}

Specifies the input file.

Example:

// 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"

inputFileProperty := &InputFileProperty{
	FileMetadata: &FileMetadataProperty{
		DatabaseCdc: &DatabaseCDCProperty{
			SourceMetadata: &SourceDatabaseMetadataProperty{
				CaptureTool: jsii.String("captureTool"),
				Type: jsii.String("type"),
			},
			TargetMetadata: &TargetDatabaseMetadataProperty{
				CaptureTool: jsii.String("captureTool"),
				Type: jsii.String("type"),
			},
		},
		DataSets: []interface{}{
			&DataSetProperty{
				Ccsid: jsii.String("ccsid"),
				Format: jsii.String("format"),
				Length: jsii.Number(123),
				Name: jsii.String("name"),
				Type: jsii.String("type"),
			},
		},
	},
	SourceLocation: jsii.String("sourceLocation"),
	TargetLocation: jsii.String("targetLocation"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-inputfile.html

type CfnTestCase_InputProperty

type CfnTestCase_InputProperty struct {
	// The file in the input.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-input.html#cfn-apptest-testcase-input-file
	//
	File interface{} `field:"required" json:"file" yaml:"file"`
}

Specifies the input.

Example:

// 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"

inputProperty := &InputProperty{
	File: &InputFileProperty{
		FileMetadata: &FileMetadataProperty{
			DatabaseCdc: &DatabaseCDCProperty{
				SourceMetadata: &SourceDatabaseMetadataProperty{
					CaptureTool: jsii.String("captureTool"),
					Type: jsii.String("type"),
				},
				TargetMetadata: &TargetDatabaseMetadataProperty{
					CaptureTool: jsii.String("captureTool"),
					Type: jsii.String("type"),
				},
			},
			DataSets: []interface{}{
				&DataSetProperty{
					Ccsid: jsii.String("ccsid"),
					Format: jsii.String("format"),
					Length: jsii.Number(123),
					Name: jsii.String("name"),
					Type: jsii.String("type"),
				},
			},
		},
		SourceLocation: jsii.String("sourceLocation"),
		TargetLocation: jsii.String("targetLocation"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-input.html

type CfnTestCase_M2ManagedActionPropertiesProperty

type CfnTestCase_M2ManagedActionPropertiesProperty struct {
	// Force stops the AWS Mainframe Modernization managed action properties.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedactionproperties.html#cfn-apptest-testcase-m2managedactionproperties-forcestop
	//
	ForceStop interface{} `field:"optional" json:"forceStop" yaml:"forceStop"`
	// The import data set location of the AWS Mainframe Modernization managed action properties.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedactionproperties.html#cfn-apptest-testcase-m2managedactionproperties-importdatasetlocation
	//
	ImportDataSetLocation *string `field:"optional" json:"importDataSetLocation" yaml:"importDataSetLocation"`
}

Specifies the AWS Mainframe Modernization managed action properties.

Example:

// 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"

m2ManagedActionPropertiesProperty := &M2ManagedActionPropertiesProperty{
	ForceStop: jsii.Boolean(false),
	ImportDataSetLocation: jsii.String("importDataSetLocation"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedactionproperties.html

type CfnTestCase_M2ManagedApplicationActionProperty

type CfnTestCase_M2ManagedApplicationActionProperty struct {
	// The action type of the AWS Mainframe Modernization managed application action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedapplicationaction.html#cfn-apptest-testcase-m2managedapplicationaction-actiontype
	//
	ActionType *string `field:"required" json:"actionType" yaml:"actionType"`
	// The resource of the AWS Mainframe Modernization managed application action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedapplicationaction.html#cfn-apptest-testcase-m2managedapplicationaction-resource
	//
	Resource *string `field:"required" json:"resource" yaml:"resource"`
	// The properties of the AWS Mainframe Modernization managed application action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedapplicationaction.html#cfn-apptest-testcase-m2managedapplicationaction-properties
	//
	Properties interface{} `field:"optional" json:"properties" yaml:"properties"`
}

Specifies the AWS Mainframe Modernization managed application action.

Example:

// 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"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedapplicationaction.html

type CfnTestCase_M2NonManagedApplicationActionProperty

type CfnTestCase_M2NonManagedApplicationActionProperty struct {
	// The action type of the AWS Mainframe Modernization non-managed application action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2nonmanagedapplicationaction.html#cfn-apptest-testcase-m2nonmanagedapplicationaction-actiontype
	//
	ActionType *string `field:"required" json:"actionType" yaml:"actionType"`
	// The resource of the AWS Mainframe Modernization non-managed application action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2nonmanagedapplicationaction.html#cfn-apptest-testcase-m2nonmanagedapplicationaction-resource
	//
	Resource *string `field:"required" json:"resource" yaml:"resource"`
}

Specifies the AWS Mainframe Modernization non-managed application action.

Example:

// 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"

m2NonManagedApplicationActionProperty := &M2NonManagedApplicationActionProperty{
	ActionType: jsii.String("actionType"),
	Resource: jsii.String("resource"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2nonmanagedapplicationaction.html

type CfnTestCase_MainframeActionPropertiesProperty

type CfnTestCase_MainframeActionPropertiesProperty struct {
	// The DMS task ARN of the mainframe action properties.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeactionproperties.html#cfn-apptest-testcase-mainframeactionproperties-dmstaskarn
	//
	DmsTaskArn *string `field:"optional" json:"dmsTaskArn" yaml:"dmsTaskArn"`
}

Specifies the mainframe action properties.

Example:

// 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"

mainframeActionPropertiesProperty := &MainframeActionPropertiesProperty{
	DmsTaskArn: jsii.String("dmsTaskArn"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeactionproperties.html

type CfnTestCase_MainframeActionProperty

type CfnTestCase_MainframeActionProperty struct {
	// The action type of the mainframe action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeaction.html#cfn-apptest-testcase-mainframeaction-actiontype
	//
	ActionType interface{} `field:"required" json:"actionType" yaml:"actionType"`
	// The resource of the mainframe action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeaction.html#cfn-apptest-testcase-mainframeaction-resource
	//
	Resource *string `field:"required" json:"resource" yaml:"resource"`
	// The properties of the mainframe action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeaction.html#cfn-apptest-testcase-mainframeaction-properties
	//
	Properties interface{} `field:"optional" json:"properties" yaml:"properties"`
}

Specifies the mainframe action.

Example:

// 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"

mainframeActionProperty := &MainframeActionProperty{
	ActionType: &MainframeActionTypeProperty{
		Batch: &BatchProperty{
			BatchJobName: jsii.String("batchJobName"),

			// the properties below are optional
			BatchJobParameters: map[string]*string{
				"batchJobParametersKey": jsii.String("batchJobParameters"),
			},
			ExportDataSetNames: []*string{
				jsii.String("exportDataSetNames"),
			},
		},
		Tn3270: &TN3270Property{
			Script: &ScriptProperty{
				ScriptLocation: jsii.String("scriptLocation"),
				Type: jsii.String("type"),
			},

			// the properties below are optional
			ExportDataSetNames: []*string{
				jsii.String("exportDataSetNames"),
			},
		},
	},
	Resource: jsii.String("resource"),

	// the properties below are optional
	Properties: &MainframeActionPropertiesProperty{
		DmsTaskArn: jsii.String("dmsTaskArn"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeaction.html

type CfnTestCase_MainframeActionTypeProperty

type CfnTestCase_MainframeActionTypeProperty struct {
	// The batch of the mainframe action type.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeactiontype.html#cfn-apptest-testcase-mainframeactiontype-batch
	//
	Batch interface{} `field:"optional" json:"batch" yaml:"batch"`
	// The tn3270 port of the mainframe action type.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeactiontype.html#cfn-apptest-testcase-mainframeactiontype-tn3270
	//
	Tn3270 interface{} `field:"optional" json:"tn3270" yaml:"tn3270"`
}

Specifies the mainframe action type.

Example:

// 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"

mainframeActionTypeProperty := &MainframeActionTypeProperty{
	Batch: &BatchProperty{
		BatchJobName: jsii.String("batchJobName"),

		// the properties below are optional
		BatchJobParameters: map[string]*string{
			"batchJobParametersKey": jsii.String("batchJobParameters"),
		},
		ExportDataSetNames: []*string{
			jsii.String("exportDataSetNames"),
		},
	},
	Tn3270: &TN3270Property{
		Script: &ScriptProperty{
			ScriptLocation: jsii.String("scriptLocation"),
			Type: jsii.String("type"),
		},

		// the properties below are optional
		ExportDataSetNames: []*string{
			jsii.String("exportDataSetNames"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeactiontype.html

type CfnTestCase_OutputFileProperty

type CfnTestCase_OutputFileProperty struct {
	// The file location of the output file.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-outputfile.html#cfn-apptest-testcase-outputfile-filelocation
	//
	FileLocation *string `field:"optional" json:"fileLocation" yaml:"fileLocation"`
}

Specifies an output file.

Example:

// 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"

outputFileProperty := &OutputFileProperty{
	FileLocation: jsii.String("fileLocation"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-outputfile.html

type CfnTestCase_OutputProperty

type CfnTestCase_OutputProperty struct {
	// The file of the output.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-output.html#cfn-apptest-testcase-output-file
	//
	File interface{} `field:"required" json:"file" yaml:"file"`
}

Specifies an output.

Example:

// 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"

outputProperty := &OutputProperty{
	File: &OutputFileProperty{
		FileLocation: jsii.String("fileLocation"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-output.html

type CfnTestCase_ResourceActionProperty

type CfnTestCase_ResourceActionProperty struct {
	// The CloudFormation action of the resource action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-resourceaction.html#cfn-apptest-testcase-resourceaction-cloudformationaction
	//
	CloudFormationAction interface{} `field:"optional" json:"cloudFormationAction" yaml:"cloudFormationAction"`
	// The AWS Mainframe Modernization managed application action of the resource action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-resourceaction.html#cfn-apptest-testcase-resourceaction-m2managedapplicationaction
	//
	M2ManagedApplicationAction interface{} `field:"optional" json:"m2ManagedApplicationAction" yaml:"m2ManagedApplicationAction"`
	// The AWS Mainframe Modernization non-managed application action of the resource action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-resourceaction.html#cfn-apptest-testcase-resourceaction-m2nonmanagedapplicationaction
	//
	M2NonManagedApplicationAction interface{} `field:"optional" json:"m2NonManagedApplicationAction" yaml:"m2NonManagedApplicationAction"`
}

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 "github.com/aws/aws-cdk-go/awscdk"

resourceActionProperty := &ResourceActionProperty{
	CloudFormationAction: &CloudFormationActionProperty{
		Resource: jsii.String("resource"),

		// the properties below are optional
		ActionType: jsii.String("actionType"),
	},
	M2ManagedApplicationAction: &M2ManagedApplicationActionProperty{
		ActionType: jsii.String("actionType"),
		Resource: jsii.String("resource"),

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-resourceaction.html

type CfnTestCase_ScriptProperty

type CfnTestCase_ScriptProperty struct {
	// The script location of the scripts.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-script.html#cfn-apptest-testcase-script-scriptlocation
	//
	ScriptLocation *string `field:"required" json:"scriptLocation" yaml:"scriptLocation"`
	// The type of the scripts.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-script.html#cfn-apptest-testcase-script-type
	//
	Type *string `field:"required" json:"type" yaml:"type"`
}

Specifies the script.

Example:

// 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"

scriptProperty := &ScriptProperty{
	ScriptLocation: jsii.String("scriptLocation"),
	Type: jsii.String("type"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-script.html

type CfnTestCase_SourceDatabaseMetadataProperty

type CfnTestCase_SourceDatabaseMetadataProperty struct {
	// The capture tool of the source database metadata.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-sourcedatabasemetadata.html#cfn-apptest-testcase-sourcedatabasemetadata-capturetool
	//
	CaptureTool *string `field:"required" json:"captureTool" yaml:"captureTool"`
	// The type of the source database metadata.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-sourcedatabasemetadata.html#cfn-apptest-testcase-sourcedatabasemetadata-type
	//
	Type *string `field:"required" json:"type" yaml:"type"`
}

Specifies the source database metadata.

Example:

// 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"

sourceDatabaseMetadataProperty := &SourceDatabaseMetadataProperty{
	CaptureTool: jsii.String("captureTool"),
	Type: jsii.String("type"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-sourcedatabasemetadata.html

type CfnTestCase_StepActionProperty

type CfnTestCase_StepActionProperty struct {
	// The compare action of the step action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-stepaction.html#cfn-apptest-testcase-stepaction-compareaction
	//
	CompareAction interface{} `field:"optional" json:"compareAction" yaml:"compareAction"`
	// The mainframe action of the step action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-stepaction.html#cfn-apptest-testcase-stepaction-mainframeaction
	//
	MainframeAction interface{} `field:"optional" json:"mainframeAction" yaml:"mainframeAction"`
	// The resource action of the step action.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-stepaction.html#cfn-apptest-testcase-stepaction-resourceaction
	//
	ResourceAction interface{} `field:"optional" json:"resourceAction" yaml:"resourceAction"`
}

Specifies a step action.

Example:

// 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"

stepActionProperty := &StepActionProperty{
	CompareAction: &CompareActionProperty{
		Input: &InputProperty{
			File: &InputFileProperty{
				FileMetadata: &FileMetadataProperty{
					DatabaseCdc: &DatabaseCDCProperty{
						SourceMetadata: &SourceDatabaseMetadataProperty{
							CaptureTool: jsii.String("captureTool"),
							Type: jsii.String("type"),
						},
						TargetMetadata: &TargetDatabaseMetadataProperty{
							CaptureTool: jsii.String("captureTool"),
							Type: jsii.String("type"),
						},
					},
					DataSets: []interface{}{
						&DataSetProperty{
							Ccsid: jsii.String("ccsid"),
							Format: jsii.String("format"),
							Length: jsii.Number(123),
							Name: jsii.String("name"),
							Type: jsii.String("type"),
						},
					},
				},
				SourceLocation: jsii.String("sourceLocation"),
				TargetLocation: jsii.String("targetLocation"),
			},
		},

		// the properties below are optional
		Output: &OutputProperty{
			File: &OutputFileProperty{
				FileLocation: jsii.String("fileLocation"),
			},
		},
	},
	MainframeAction: &MainframeActionProperty{
		ActionType: &MainframeActionTypeProperty{
			Batch: &BatchProperty{
				BatchJobName: jsii.String("batchJobName"),

				// the properties below are optional
				BatchJobParameters: map[string]*string{
					"batchJobParametersKey": jsii.String("batchJobParameters"),
				},
				ExportDataSetNames: []*string{
					jsii.String("exportDataSetNames"),
				},
			},
			Tn3270: &TN3270Property{
				Script: &ScriptProperty{
					ScriptLocation: jsii.String("scriptLocation"),
					Type: jsii.String("type"),
				},

				// the properties below are optional
				ExportDataSetNames: []*string{
					jsii.String("exportDataSetNames"),
				},
			},
		},
		Resource: jsii.String("resource"),

		// the properties below are optional
		Properties: &MainframeActionPropertiesProperty{
			DmsTaskArn: jsii.String("dmsTaskArn"),
		},
	},
	ResourceAction: &ResourceActionProperty{
		CloudFormationAction: &CloudFormationActionProperty{
			Resource: jsii.String("resource"),

			// the properties below are optional
			ActionType: jsii.String("actionType"),
		},
		M2ManagedApplicationAction: &M2ManagedApplicationActionProperty{
			ActionType: jsii.String("actionType"),
			Resource: jsii.String("resource"),

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-stepaction.html

type CfnTestCase_StepProperty

type CfnTestCase_StepProperty struct {
	// The action of the step.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-step.html#cfn-apptest-testcase-step-action
	//
	Action interface{} `field:"required" json:"action" yaml:"action"`
	// The name of the step.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-step.html#cfn-apptest-testcase-step-name
	//
	Name *string `field:"required" json:"name" yaml:"name"`
	// The description of the step.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-step.html#cfn-apptest-testcase-step-description
	//
	Description *string `field:"optional" json:"description" yaml:"description"`
}

Defines a step.

Example:

// 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"

stepProperty := &StepProperty{
	Action: &StepActionProperty{
		CompareAction: &CompareActionProperty{
			Input: &InputProperty{
				File: &InputFileProperty{
					FileMetadata: &FileMetadataProperty{
						DatabaseCdc: &DatabaseCDCProperty{
							SourceMetadata: &SourceDatabaseMetadataProperty{
								CaptureTool: jsii.String("captureTool"),
								Type: jsii.String("type"),
							},
							TargetMetadata: &TargetDatabaseMetadataProperty{
								CaptureTool: jsii.String("captureTool"),
								Type: jsii.String("type"),
							},
						},
						DataSets: []interface{}{
							&DataSetProperty{
								Ccsid: jsii.String("ccsid"),
								Format: jsii.String("format"),
								Length: jsii.Number(123),
								Name: jsii.String("name"),
								Type: jsii.String("type"),
							},
						},
					},
					SourceLocation: jsii.String("sourceLocation"),
					TargetLocation: jsii.String("targetLocation"),
				},
			},

			// the properties below are optional
			Output: &OutputProperty{
				File: &OutputFileProperty{
					FileLocation: jsii.String("fileLocation"),
				},
			},
		},
		MainframeAction: &MainframeActionProperty{
			ActionType: &MainframeActionTypeProperty{
				Batch: &BatchProperty{
					BatchJobName: jsii.String("batchJobName"),

					// the properties below are optional
					BatchJobParameters: map[string]*string{
						"batchJobParametersKey": jsii.String("batchJobParameters"),
					},
					ExportDataSetNames: []*string{
						jsii.String("exportDataSetNames"),
					},
				},
				Tn3270: &TN3270Property{
					Script: &ScriptProperty{
						ScriptLocation: jsii.String("scriptLocation"),
						Type: jsii.String("type"),
					},

					// the properties below are optional
					ExportDataSetNames: []*string{
						jsii.String("exportDataSetNames"),
					},
				},
			},
			Resource: jsii.String("resource"),

			// the properties below are optional
			Properties: &MainframeActionPropertiesProperty{
				DmsTaskArn: jsii.String("dmsTaskArn"),
			},
		},
		ResourceAction: &ResourceActionProperty{
			CloudFormationAction: &CloudFormationActionProperty{
				Resource: jsii.String("resource"),

				// the properties below are optional
				ActionType: jsii.String("actionType"),
			},
			M2ManagedApplicationAction: &M2ManagedApplicationActionProperty{
				ActionType: jsii.String("actionType"),
				Resource: jsii.String("resource"),

				// the properties below are optional
				Properties: &M2ManagedActionPropertiesProperty{
					ForceStop: jsii.Boolean(false),
					ImportDataSetLocation: jsii.String("importDataSetLocation"),
				},
			},
			M2NonManagedApplicationAction: &M2NonManagedApplicationActionProperty{
				ActionType: jsii.String("actionType"),
				Resource: jsii.String("resource"),
			},
		},
	},
	Name: jsii.String("name"),

	// the properties below are optional
	Description: jsii.String("description"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-step.html

type CfnTestCase_TN3270Property

type CfnTestCase_TN3270Property struct {
	// The script of the TN3270 protocol.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-tn3270.html#cfn-apptest-testcase-tn3270-script
	//
	Script interface{} `field:"required" json:"script" yaml:"script"`
	// The data set names of the TN3270 protocol.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-tn3270.html#cfn-apptest-testcase-tn3270-exportdatasetnames
	//
	ExportDataSetNames *[]*string `field:"optional" json:"exportDataSetNames" yaml:"exportDataSetNames"`
}

Specifies the TN3270 protocol.

Example:

// 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"

tN3270Property := &TN3270Property{
	Script: &ScriptProperty{
		ScriptLocation: jsii.String("scriptLocation"),
		Type: jsii.String("type"),
	},

	// the properties below are optional
	ExportDataSetNames: []*string{
		jsii.String("exportDataSetNames"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-tn3270.html

type CfnTestCase_TargetDatabaseMetadataProperty

type CfnTestCase_TargetDatabaseMetadataProperty struct {
	// The capture tool of the target database metadata.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-targetdatabasemetadata.html#cfn-apptest-testcase-targetdatabasemetadata-capturetool
	//
	CaptureTool *string `field:"required" json:"captureTool" yaml:"captureTool"`
	// The type of the target database metadata.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-targetdatabasemetadata.html#cfn-apptest-testcase-targetdatabasemetadata-type
	//
	Type *string `field:"required" json:"type" yaml:"type"`
}

Specifies a target database metadata.

Example:

// 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"

targetDatabaseMetadataProperty := &TargetDatabaseMetadataProperty{
	CaptureTool: jsii.String("captureTool"),
	Type: jsii.String("type"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-targetdatabasemetadata.html

type CfnTestCase_TestCaseLatestVersionProperty

type CfnTestCase_TestCaseLatestVersionProperty struct {
	// The status of the test case latest version.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-testcaselatestversion.html#cfn-apptest-testcase-testcaselatestversion-status
	//
	Status *string `field:"required" json:"status" yaml:"status"`
	// The version of the test case latest version.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-testcaselatestversion.html#cfn-apptest-testcase-testcaselatestversion-version
	//
	Version *float64 `field:"required" json:"version" yaml:"version"`
}

Specifies the latest version of a test case.

Example:

// 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"

testCaseLatestVersionProperty := &TestCaseLatestVersionProperty{
	Status: jsii.String("status"),
	Version: jsii.Number(123),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-testcaselatestversion.html

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL