---
title: es_event_create_t
framework: endpointsecurity
role: symbol
role_heading: Structure
path: endpointsecurity/es_event_create_t
---

# es_event_create_t

A type for an event that indicates the creation of a file.

## Declaration

```swift
struct es_event_create_t
```

## Overview

Overview If the file doesn’t exist — either because it’s awaiting authorization or a client denied authorization —  this type contains the parent directory and file name of the proposed file. If the file does exist, as is the case with notifications of successful file creation, this type contains the full path of the created file. Use the destination_type member to determine which case this event represents, and then access the destination union accordingly.

## Topics

### Inspecting Event Properties

- [destination](endpointsecurity/es_event_create_t/destination.md)
- [destination_type](endpointsecurity/es_event_create_t/destination_type.md)
- [es_destination_type_t](endpointsecurity/es_destination_type_t.md)
- [reserved2](endpointsecurity/es_event_create_t/reserved2.md)

### Initializers

- [init()](endpointsecurity/es_event_create_t/init().md)

### Instance Properties

- [acl](endpointsecurity/es_event_create_t/acl-6m1ze.md)
- [reserved](endpointsecurity/es_event_create_t/reserved-fmi7.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)

## See Also

### File-System Event Types

- [es_file_t](endpointsecurity/es_file_t.md)
- [es_event_access_t](endpointsecurity/es_event_access_t.md)
- [es_event_clone_t](endpointsecurity/es_event_clone_t.md)
- [es_event_copyfile_t](endpointsecurity/es_event_copyfile_t.md)
- [es_event_dup_t](endpointsecurity/es_event_dup_t.md)
- [es_event_fcntl_t](endpointsecurity/es_event_fcntl_t.md)
- [es_event_open_t](endpointsecurity/es_event_open_t.md)
- [es_event_close_t](endpointsecurity/es_event_close_t.md)
- [es_event_rename_t](endpointsecurity/es_event_rename_t.md)
- [es_event_truncate_t](endpointsecurity/es_event_truncate_t.md)
- [es_event_exchangedata_t](endpointsecurity/es_event_exchangedata_t.md)
- [es_event_write_t](endpointsecurity/es_event_write_t.md)
- [es_event_lookup_t](endpointsecurity/es_event_lookup_t.md)
- [es_event_searchfs_t](endpointsecurity/es_event_searchfs_t.md)
