TestS3Action is an input datatype for testing an Amazon S3 action. It's used by the testS3Action() mutation field.

Table: TestS3Action

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: Dec 29, 2025
awsRegionstringyes Long-TermThe Amazon AWS region. For options, see the Amazon S3 documentation.
bucketNamestringyes Long-TermThe name of the bucket.
eventDatastringyes Long-TermJSON data representing zero or more events. One event can be supplied as a JSON object. Multiple events must be supplied as a list of JSON objects.
fileNamestringyes Long-TermThe name of the file or files. You can use most message templates for this. For documentation on S3 action, see Action Type: S3.
namestringyes Long-TermThe name of the S3 action.
outputFormatS3ActionEventOutputFormatyes Long-TermThe output format type for the result. See S3ActionEventOutputFormat.
outputMetadatabooleanyes Long-TermWhether to output metadata for the result. Metadata will be output as a separate JSON file.
roleArnstringyes Long-TermThe ARN of the role to be assumed.
triggerNamestringyes Long-TermThe name of the action. This is a mock value; the trigger doesn't have to exist.
useProxystring trueLong-TermWhether the action should use the configured HTTP proxy to send requests.
viewNameRepoOrViewNameyes Long-TermThe name of the view of the action. RepoOrViewName is a scalar.