# FileMetadataProperty

Specifies a file metadata.

- 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 fileMetadataProperty: apptest.CfnTestCase.FileMetadataProperty = {
  databaseCdc: {
    sourceMetadata: {
      captureTool: 'captureTool',
      type: 'type',
    },
    targetMetadata: {
      captureTool: 'captureTool',
      type: 'type',
    },
  },
  dataSets: [{
    ccsid: 'ccsid',
    format: 'format',
    length: 123,
    name: 'name',
    type: 'type',
  }],
};
```

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

file_metadata_property = apptest.CfnTestCase.FileMetadataProperty(
    database_cdc=apptest.CfnTestCase.DatabaseCDCProperty(
        source_metadata=apptest.CfnTestCase.SourceDatabaseMetadataProperty(
            capture_tool="captureTool",
            type="type"
        ),
        target_metadata=apptest.CfnTestCase.TargetDatabaseMetadataProperty(
            capture_tool="captureTool",
            type="type"
        )
    ),
    data_sets=[apptest.CfnTestCase.DataSetProperty(
        ccsid="ccsid",
        format="format",
        length=123,
        name="name",
        type="type"
    )]
)
```

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.*;

FileMetadataProperty fileMetadataProperty = FileMetadataProperty.builder()
        .databaseCdc(DatabaseCDCProperty.builder()
                .sourceMetadata(SourceDatabaseMetadataProperty.builder()
                        .captureTool("captureTool")
                        .type("type")
                        .build())
                .targetMetadata(TargetDatabaseMetadataProperty.builder()
                        .captureTool("captureTool")
                        .type("type")
                        .build())
                .build())
        .dataSets(List.of(DataSetProperty.builder()
                .ccsid("ccsid")
                .format("format")
                .length(123)
                .name("name")
                .type("type")
                .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 fileMetadataProperty = new FileMetadataProperty {
    DatabaseCdc = new DatabaseCDCProperty {
        SourceMetadata = new SourceDatabaseMetadataProperty {
            CaptureTool = "captureTool",
            Type = "type"
        },
        TargetMetadata = new TargetDatabaseMetadataProperty {
            CaptureTool = "captureTool",
            Type = "type"
        }
    },
    DataSets = new [] { new DataSetProperty {
        Ccsid = "ccsid",
        Format = "format",
        Length = 123,
        Name = "name",
        Type = "type"
    } }
};
```

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"

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

## Properties

- `databaseCdc`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTestCase.DatabaseCDCProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apptest.CfnTestCase.DatabaseCDCProperty.html) — The database CDC of the file metadata.

- `dataSets`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTestCase.DataSetProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apptest.CfnTestCase.DataSetProperty.html)[] — The data sets of the file metadata.
