# CustomDirectoriesProperty

Specifies a separate directory for each type of file to store for an AS2 message.

- Source: Generated at build time
- Type last changed: v2.183.0 · 12 Mar 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transfer as transfer } from 'aws-cdk-lib';
const customDirectoriesProperty: transfer.CfnAgreement.CustomDirectoriesProperty = {
  failedFilesDirectory: 'failedFilesDirectory',
  mdnFilesDirectory: 'mdnFilesDirectory',
  payloadFilesDirectory: 'payloadFilesDirectory',
  statusFilesDirectory: 'statusFilesDirectory',
  temporaryFilesDirectory: 'temporaryFilesDirectory',
};
```

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_transfer as transfer

custom_directories_property = transfer.CfnAgreement.CustomDirectoriesProperty(
    failed_files_directory="failedFilesDirectory",
    mdn_files_directory="mdnFilesDirectory",
    payload_files_directory="payloadFilesDirectory",
    status_files_directory="statusFilesDirectory",
    temporary_files_directory="temporaryFilesDirectory"
)
```

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

CustomDirectoriesProperty customDirectoriesProperty = CustomDirectoriesProperty.builder()
        .failedFilesDirectory("failedFilesDirectory")
        .mdnFilesDirectory("mdnFilesDirectory")
        .payloadFilesDirectory("payloadFilesDirectory")
        .statusFilesDirectory("statusFilesDirectory")
        .temporaryFilesDirectory("temporaryFilesDirectory")
        .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.Transfer;

var customDirectoriesProperty = new CustomDirectoriesProperty {
    FailedFilesDirectory = "failedFilesDirectory",
    MdnFilesDirectory = "mdnFilesDirectory",
    PayloadFilesDirectory = "payloadFilesDirectory",
    StatusFilesDirectory = "statusFilesDirectory",
    TemporaryFilesDirectory = "temporaryFilesDirectory"
};
```

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"

customDirectoriesProperty := &CustomDirectoriesProperty{
	FailedFilesDirectory: jsii.String("failedFilesDirectory"),
	MdnFilesDirectory: jsii.String("mdnFilesDirectory"),
	PayloadFilesDirectory: jsii.String("payloadFilesDirectory"),
	StatusFilesDirectory: jsii.String("statusFilesDirectory"),
	TemporaryFilesDirectory: jsii.String("temporaryFilesDirectory"),
}
```

## Properties

- `failedFilesDirectory`: string (required) — Specifies a location to store the failed files for an AS2 message.

- `mdnFilesDirectory`: string (required) — Specifies a location to store the MDN file for an AS2 message.

- `payloadFilesDirectory`: string (required) — Specifies a location to store the payload file for an AS2 message.

- `statusFilesDirectory`: string (required) — Specifies a location to store the status file for an AS2 message.

- `temporaryFilesDirectory`: string (required) — Specifies a location to store the temporary processing file for an AS2 message.
