CreateTriggerRequest: {
    description?: string;
    functionId: string;
    name: string;
    region?: Region;
    scwNatsConfig?: Function.v1beta1.CreateTriggerRequestMnqNatsClientConfig;
    scwSqsConfig?: Function.v1beta1.CreateTriggerRequestMnqSqsClientConfig;
    sqsConfig?: Function.v1beta1.CreateTriggerRequestSqsClientConfig;
}

Type declaration

  • Optionaldescription?: string

    Description of the trigger.

  • functionId: string

    ID of the function to trigger.

  • name: string

    Name of the trigger.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • OptionalscwNatsConfig?: Function.v1beta1.CreateTriggerRequestMnqNatsClientConfig

    Configuration for a Scaleway Messaging and Queuing NATS subject.

    One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.

  • OptionalscwSqsConfig?: Function.v1beta1.CreateTriggerRequestMnqSqsClientConfig

    Configuration for a Scaleway Messaging and Queuing SQS queue.

    One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.

  • OptionalsqsConfig?: Function.v1beta1.CreateTriggerRequestSqsClientConfig

    Configuration for an AWS SQS queue.

    One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.