This topic describes the types of Object Storage Service (OSS) events that can be published to EventBridge.

Supported regions

OSS events can be published to EventBridge in the following regions: China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Shenzhen), China (Chengdu), US (Silicon Valley), Singapore (Singapore) and Japan (Tokyo).

Event types

The following table describes the types of OSS events that can be published to EventBridge.

Event typeValue of the type parameter
A bucket is createdoss:BucketCreated:PutBucket
A bucket is deletedoss:BucketRemoved:DeleteBucket
An object is uploaded by being appended to an existing objectoss:ObjectCreated:AppendObject
An object is copiedoss:ObjectCreated:CopyObject
An object is uploaded by using an HTML formoss:ObjectCreated:PostObject
An object is uploadedoss:ObjectCreated:PutObject
A symbolic link is createdoss:ObjectCreated:PutSymlink
An object is deletedoss:ObjectRemoved:DeleteObject
A multipart upload task is initializedoss:ObjectCreated:InitiateMultipartUpload
One or more object parts are uploadedoss:ObjectCreated:UploadPart
One or more object parts are uploaded by copying data from an existing objectoss:ObjectCreated:UploadPartCopy
A multipart upload task is completeoss:ObjectCreated:CompleteMultipartUpload
A multipart upload task is canceledoss:ObjectRemoved:AbortMultipartUpload
A Cold Archive object is restoredoss:ObjectRestore:FinishRestore
Alibaba Cloud performs an operation on a resourceoss:ActionTrail:AliyunServiceEvent
An API operation is calledoss:ActionTrail:ApiCall
An operation is performed in the consoleoss:ActionTrail:ConsoleOperation
The downstream bandwidth that is used by a bucket exceeds the report thresholdoss:CloudMonitor:BucketEgressBandwidth
The downstream bandwidth that is used by a bucket exceeds the throttling thresholdoss:CloudMonitor:BucketEgressBandwidthThresholdExceeded
The number of CPU cores that are occupied by a bucket to process Image Service (IMG) requests exceeds the throttling thresholdoss:CloudMonitor:BucketImageCpuThresholdExceeded
The upstream bandwidth that is used by a bucket exceeds the report thresholdoss:CloudMonitor:BucketIngressBandwidth
The upstream bandwidth that is used by a bucket exceeds the throttling thresholdoss:CloudMonitor:BucketIngressBandwidthThresholdExceeded
The bandwidth that is used by a bucket to send mirroring-based back-to-origin requests exceeds the throttling thresholdoss:CloudMonitor:BucketMirrorIngressBandwidthThresholdExceeded
The number of requests that are sent by a bucket per second to implement mirroring-based back-to-origin exceeds the throttling thresholdoss:CloudMonitor:BucketMirrorQpsThresholdExceeded
The number of requests per second for a bucket exceeds the throttling thresholdoss:CloudMonitor:BucketQpsThresholdExceeded
The downstream bandwidth of a user exceeds the report thresholdoss:CloudMonitor:UserEgressBandwidth
The downstream bandwidth of a user exceeds the throttling thresholdoss:CloudMonitor:UserEgressBandwidthThresholdExceeded
The number of CPU cores that are occupied to process IMG requests for a user exceeds the throttling thresholdoss:CloudMonitor:UserImageCpuThresholdExceeded
The upstream bandwidth of a user exceeds the report thresholdoss:CloudMonitor:UserIngressBandwidth
The upstream bandwidth of a user exceeds the throttling thresholdoss:CloudMonitor:UserIngressBandwidthThresholdExceeded
The traffic that is consumed to send mirroring-based back-to-origin requests for a user exceeds the throttling thresholdoss:CloudMonitor:UserMirrorIngressBandwidthThresholdExceeded
The number of requests that are sent per second to implement mirroring-based back-to-origin for a user exceeds the throttling thresholdoss:CloudMonitor:UserMirrorQpsThresholdExceeded
The number of requests per second for a user exceeds the throttling thresholdoss:CloudMonitor:UserQpsThresholdExceeded
A resource change log is deliveredoss:Config:ConfigurationItemChangeNotification
A notification that a resource is evaluated as non-compliant is sentoss:Config:NonCompliantNotification

For more information about the parameters defined in the CloudEvents specification, see Overview.

A bucket is created

A bucket is a container for objects stored in OSS. You must create a bucket before you upload an object to OSS. The following example shows the event that EventBridge receives when a bucket is created:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"BucketCreated:PutBucket",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0"
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:BucketCreated:PutBucket",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

The following table describes the parameters contained in data.

ParameterTypeExampleDescription
regionStringcn-beijingThe ID of the region in which the bucket resides.
eventVersionString1.0The version number of the event protocol.
eventSourceStringacs:ossThe event source. The value is fixed to acs.oss.
eventNameStringBucketCreated:PutBucketThe type of the event.
eventTimeString2021-08-13T06:45:43.000ZThe time when the event occurs. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format.
requestParametersStringThe request parameters.
sourceIPAddressString118.31.XX.XXThe IP address from which the request is sent.
userIdentityMapThe information about the user.
principalIdString28815334868278****The user ID of the requester.
responseElementsMapThe response parameters.
requestIdString61161517B258223732BC****The ID of the request.
ossMapThe content of the OSS event.
bucketMapThe details of the bucket.
nameStringoss-source-bucket1-cn-beijingThe name of the bucket.
arnStringacs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijingThe Alibaba Cloud Resource Name (ARN) of the bucket.
ownerIdentityString164901546557****The ID of the user who creates the bucket.
ossSchemaVersionString1.0The version number of the OSS schema.

A bucket is deleted

The following example shows the event that EventBridge receives when a bucket is deleted:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"BucketCreated:DeleteBucket",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0"
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:BucketCreated:DeleteBucket",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

For information about the parameters contained in data, see the parameter description table.

An object is uploaded by being appended to an existing object

The following example shows the event that EventBridge receives when an object is uploaded by being appended to an existing object:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:AppendObject",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname",
                "position":0
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:AppendObject",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

The following table describes the parameters contained in data.

ParameterTypeExampleDescription
regionStringcn-beijingThe ID of the region in which the bucket resides.
eventVersionString1.0The version number of the event protocol.
eventSourceStringacs:ossThe event source. The value is fixed to acs.oss.
eventNameStringObjectCreated:AppendObjectThe type of the event.
eventTimeString2021-08-13T06:45:43.000ZThe time when the event occurs. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format.
requestParametersStringThe request parameters.
sourceIPAddressString118.31.XX.XXThe IP address from which the request is sent.
userIdentityMapThe information about the user.
principalIdString28815334868278****The user ID of the requester.
responseElementsMapThe response parameters.
requestIdString61161517B258223732BC****The ID of the request.
ossMapThe content of the OSS event.
bucketMapThe details of the bucket.
nameStringoss-source-bucket1-cn-beijingThe name of the bucket.
arnStringacs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijingThe ARN of the bucket.
ownerIdentityString164901546557****The ID of the user who creates the bucket.
ossSchemaVersionString1.0The version number of the OSS schema.
objectMapThe details of the object.
sizeInt9The size of the object. Unit: byte.
deltaSizeInt9The variation of the size of the object. Unit: byte.
  • If a new object is added, the value of this parameter indicates the size of the object.
  • If a new object that has the same name as an existing object overwrites the existing object, the value of this parameter indicates the size difference between the new object and the original object.
eTagStringF0F18C2C66AE1DD512BDCD4366F7****The tag of the object.
keyStringobjectnameThe name of the object.
positionInt0The start position to which the object is appended. The value of this parameter in the first AppendObject operation is 0.

An object is copied

The following example shows the event that EventBridge receives when an object is copied:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:CopyObject",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:CopyObject",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

The following table describes the parameters contained in data.

ParameterTypeExampleDescription
regionStringcn-beijingThe ID of the region in which the bucket resides.
eventVersionString1.0The version number of the event protocol.
eventSourceStringacs:ossThe event source. The value is fixed to acs.oss.
eventNameStringObjectCreated:AppendObjectThe type of the event.
eventTimeString2021-08-13T06:45:43.000ZThe time when the event occurs. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format.
requestParametersStringThe request parameters.
sourceIPAddressString118.31.XX.XXThe IP address from which the request is sent.
userIdentityMapThe information about the user.
principalIdString28815334868278****The user ID of the requester.
responseElementsMapThe response parameters.
requestIdString61161517B258223732BC****The ID of the request.
ossMapThe content of the OSS event.
bucketMapThe details of the bucket.
nameStringoss-source-bucket1-cn-beijingThe name of the bucket.
arnStringacs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijingThe ARN of the bucket.
ownerIdentityString164901546557****The ID of the user who creates the bucket.
ossSchemaVersionString1.0The version number of the OSS schema.
objectMapThe details of the object.
sizeInt9The size of the object. Unit: byte.
deltaSizeInt9The variation of the size of the object. Unit: byte.
  • If a new object is added, the value of this parameter indicates the size of the object.
  • If a new object that has the same name as an existing object overwrites the existing object, the value of this parameter indicates the size difference between the new object and the original object.
eTagStringF0F18C2C66AE1DD512BDCD4366F7****The tag of the object.
keyStringobjectnameThe name of the object.

An object is uploaded by using an HTML form

The following example shows the event that EventBridge receives when an object is uploaded by using an HTML form:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:PostObject",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:PostObject",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

For information about the parameters contained in data, see the parameter description table.

An object is uploaded

The following example shows the event that EventBridge receives when an object is uploaded:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:PutObject",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:PutObject",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

For information about the parameters contained in data, see the parameter description table.

A symbolic link is created

The following example shows the event that EventBridge receives when a symbolic link is created:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:PutSymlink",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:PutSymlink",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

For information about the parameters contained in data, see the parameter description table.

An object is deleted

The following example shows the event that EventBridge receives when an object is deleted:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectRemoved:DeleteObject",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectRemoved:DeleteObject",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

For information about the parameters contained in data, see the parameter description table.

A multipart upload task is initialized

The following example shows the event that EventBridge receives when a multipart upload task is initialized:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:InitiateMultipartUpload",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:InitiateMultipartUpload",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

For information about the parameters contained in data, see the parameter description table.

One or more object parts are uploaded

The following example shows the event that EventBridge receives when one or more object parts are uploaded:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:UploadPart",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:UploadPart",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

For information about the parameters contained in data, see the parameter description table.

One or more object parts are uploaded by copying data from an existing object

The following example shows the event that EventBridge receives when one or more object parts are uploaded by copying data from an existing object:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:UploadPartCopy",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:UploadPartCopy",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

For information about the parameters contained in data, see the parameter description table.

A multipart upload task is complete

The following example shows the event that EventBridge receives when a multipart upload task is complete:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectCreated:CompleteMultipartUpload",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectCreated:CompleteMultipartUpload",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

For information about the parameters contained in data, see the parameter description table.

A multipart upload task is canceled

The following example shows the event that EventBridge receives when a multipart upload task is canceled:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectRemoved:AbortMultipartUpload",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectRemoved:AbortMultipartUpload",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

For information about the parameters contained in data, see the parameter description table.

A Cold Archive object is restored

The following example shows the event that EventBridge receives when a Cold Archive object is restored:

{
    "datacontenttype":"application/json;charset=utf-8",
    "aliyunaccountid":"164901546557****",
    "data":{
        "region":"cn-beijing",
        "eventVersion":"1.0",
        "eventSource":"acs:oss",
        "eventName":"ObjectRestore:FinishRestore",
        "eventTime":"2021-08-13T06:45:43.000Z",
        "requestParameters":{
            "sourceIPAddress":"118.31.XX.XX"
        },
        "userIdentity":{
            "principalId":"28815334868278****"
        },
        "responseElements":{
            "requestId":"61161517B258223732BC****"
        },
        "oss":{
            "bucket":{
                "name":"oss-source-bucket1-cn-beijing",
                "arn":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing",
                "ownerIdentity":"164901546557****"
            },
            "ossSchemaVersion":"1.0",
            "object":{
                "size":9,
                "deltaSize":9,
                "eTag":"F0F18C2C66AE1DD512BDCD4366F7****",
                "key":"objectname"
            }
        }
    },
    "subject":"acs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijing/1628837143916",
    "aliyunoriginalaccountid":"164901546557****",
    "source":"acs.oss",
    "type":"oss:ObjectRestore:FinishRestore",
    "aliyunpublishtime":"2021-08-13T06:45:43.986Z",
    "specversion":"1.0",
    "aliyuneventbusname":"default",
    "id":"61161517B258223732BC****",
    "time":"2021-08-13T06:45:43Z",
    "aliyunregionid":"cn-beijing"
}

The following table describes the parameters contained in data.

ParameterTypeExampleDescription
regionStringcn-beijingThe ID of the region in which the bucket resides.
eventVersionString1.0The version number of the event protocol.
eventSourceStringacs:ossThe event source. The value is fixed to acs.oss.
eventNameStringObjectRestore:FinishRestoreThe type of the event.
eventTimeString2021-08-13T06:45:43.000ZThe time when the event occurs. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format.
sourceIPAddressString118.31.XX.XXThe IP address from which the request is sent.
principalIdString28815334868278****The user ID of the requester.
requestIdString61161517B258223732BC****The ID of the request.
nameStringoss-source-bucket1-cn-beijingThe name of the bucket.
arnStringacs:oss:cn-beijing:164901546557****:oss-source-bucket1-cn-beijingThe ARN of the bucket.
ownerIdentityString164901546557****The ID of the user who creates the bucket.
ossSchemaVersionString1.0The version number of the OSS schema.
sizeInt9The size of the object. Unit: byte.
deltaSizeInt9The variation of the size of the object. Unit: byte.
  • If a new object is added, the value of this parameter indicates the size of the object.
  • If a new object that has the same name as an existing object overwrites the existing object, the value of this parameter indicates the size difference between the new object and the original object.
eTagStringF0F18C2C66AE1DD512BDCD4366F7****The tag of the object.
keyStringobjectnameThe name of the object.