flexibleengine.FgsTrigger
Explore with Pulumi AI
Manages a trigger resource within FlexibleEngine FunctionGraph.
Example Usage
Create a Timing Trigger with rate schedule type
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const functionUrn = config.requireObject("functionUrn");
const triggerName = config.requireObject("triggerName");
const test = new flexibleengine.FgsTrigger("test", {
functionUrn: functionUrn,
type: "TIMER",
timer: {
name: triggerName,
scheduleType: "Rate",
schedule: "1d",
},
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
function_urn = config.require_object("functionUrn")
trigger_name = config.require_object("triggerName")
test = flexibleengine.FgsTrigger("test",
function_urn=function_urn,
type="TIMER",
timer={
"name": trigger_name,
"schedule_type": "Rate",
"schedule": "1d",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
functionUrn := cfg.RequireObject("functionUrn")
triggerName := cfg.RequireObject("triggerName")
_, err := flexibleengine.NewFgsTrigger(ctx, "test", &flexibleengine.FgsTriggerArgs{
FunctionUrn: pulumi.Any(functionUrn),
Type: pulumi.String("TIMER"),
Timer: &flexibleengine.FgsTriggerTimerArgs{
Name: pulumi.Any(triggerName),
ScheduleType: pulumi.String("Rate"),
Schedule: pulumi.String("1d"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var functionUrn = config.RequireObject<dynamic>("functionUrn");
var triggerName = config.RequireObject<dynamic>("triggerName");
var test = new Flexibleengine.FgsTrigger("test", new()
{
FunctionUrn = functionUrn,
Type = "TIMER",
Timer = new Flexibleengine.Inputs.FgsTriggerTimerArgs
{
Name = triggerName,
ScheduleType = "Rate",
Schedule = "1d",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FgsTrigger;
import com.pulumi.flexibleengine.FgsTriggerArgs;
import com.pulumi.flexibleengine.inputs.FgsTriggerTimerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var functionUrn = config.get("functionUrn");
final var triggerName = config.get("triggerName");
var test = new FgsTrigger("test", FgsTriggerArgs.builder()
.functionUrn(functionUrn)
.type("TIMER")
.timer(FgsTriggerTimerArgs.builder()
.name(triggerName)
.scheduleType("Rate")
.schedule("1d")
.build())
.build());
}
}
configuration:
functionUrn:
type: dynamic
triggerName:
type: dynamic
resources:
test:
type: flexibleengine:FgsTrigger
properties:
functionUrn: ${functionUrn}
type: TIMER
timer:
name: ${triggerName}
scheduleType: Rate
schedule: 1d
Create a Timing Trigger with cron schedule type
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const functionUrn = config.requireObject("functionUrn");
const triggerName = config.requireObject("triggerName");
const test = new flexibleengine.FgsTrigger("test", {
functionUrn: functionUrn,
type: "TIMER",
timer: {
name: triggerName,
scheduleType: "Cron",
schedule: "@every 1h30m",
},
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
function_urn = config.require_object("functionUrn")
trigger_name = config.require_object("triggerName")
test = flexibleengine.FgsTrigger("test",
function_urn=function_urn,
type="TIMER",
timer={
"name": trigger_name,
"schedule_type": "Cron",
"schedule": "@every 1h30m",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
functionUrn := cfg.RequireObject("functionUrn")
triggerName := cfg.RequireObject("triggerName")
_, err := flexibleengine.NewFgsTrigger(ctx, "test", &flexibleengine.FgsTriggerArgs{
FunctionUrn: pulumi.Any(functionUrn),
Type: pulumi.String("TIMER"),
Timer: &flexibleengine.FgsTriggerTimerArgs{
Name: pulumi.Any(triggerName),
ScheduleType: pulumi.String("Cron"),
Schedule: pulumi.String("@every 1h30m"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var functionUrn = config.RequireObject<dynamic>("functionUrn");
var triggerName = config.RequireObject<dynamic>("triggerName");
var test = new Flexibleengine.FgsTrigger("test", new()
{
FunctionUrn = functionUrn,
Type = "TIMER",
Timer = new Flexibleengine.Inputs.FgsTriggerTimerArgs
{
Name = triggerName,
ScheduleType = "Cron",
Schedule = "@every 1h30m",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FgsTrigger;
import com.pulumi.flexibleengine.FgsTriggerArgs;
import com.pulumi.flexibleengine.inputs.FgsTriggerTimerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var functionUrn = config.get("functionUrn");
final var triggerName = config.get("triggerName");
var test = new FgsTrigger("test", FgsTriggerArgs.builder()
.functionUrn(functionUrn)
.type("TIMER")
.timer(FgsTriggerTimerArgs.builder()
.name(triggerName)
.scheduleType("Cron")
.schedule("@every 1h30m")
.build())
.build());
}
}
configuration:
functionUrn:
type: dynamic
triggerName:
type: dynamic
resources:
test:
type: flexibleengine:FgsTrigger
properties:
functionUrn: ${functionUrn}
type: TIMER
timer:
name: ${triggerName}
scheduleType: Cron
schedule: '@every 1h30m'
Create an OBS trigger
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const functionUrn = config.requireObject("functionUrn");
const bucketName = config.requireObject("bucketName");
const triggerName = config.requireObject("triggerName");
const test = new flexibleengine.FgsTrigger("test", {
functionUrn: functionUrn,
type: "OBS",
status: "ACTIVE",
obs: {
bucketName: bucketName,
eventNotificationName: triggerName,
suffix: ".json",
events: ["ObjectCreated"],
},
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
function_urn = config.require_object("functionUrn")
bucket_name = config.require_object("bucketName")
trigger_name = config.require_object("triggerName")
test = flexibleengine.FgsTrigger("test",
function_urn=function_urn,
type="OBS",
status="ACTIVE",
obs={
"bucket_name": bucket_name,
"event_notification_name": trigger_name,
"suffix": ".json",
"events": ["ObjectCreated"],
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
functionUrn := cfg.RequireObject("functionUrn")
bucketName := cfg.RequireObject("bucketName")
triggerName := cfg.RequireObject("triggerName")
_, err := flexibleengine.NewFgsTrigger(ctx, "test", &flexibleengine.FgsTriggerArgs{
FunctionUrn: pulumi.Any(functionUrn),
Type: pulumi.String("OBS"),
Status: pulumi.String("ACTIVE"),
Obs: &flexibleengine.FgsTriggerObsArgs{
BucketName: pulumi.Any(bucketName),
EventNotificationName: pulumi.Any(triggerName),
Suffix: pulumi.String(".json"),
Events: pulumi.StringArray{
pulumi.String("ObjectCreated"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var functionUrn = config.RequireObject<dynamic>("functionUrn");
var bucketName = config.RequireObject<dynamic>("bucketName");
var triggerName = config.RequireObject<dynamic>("triggerName");
var test = new Flexibleengine.FgsTrigger("test", new()
{
FunctionUrn = functionUrn,
Type = "OBS",
Status = "ACTIVE",
Obs = new Flexibleengine.Inputs.FgsTriggerObsArgs
{
BucketName = bucketName,
EventNotificationName = triggerName,
Suffix = ".json",
Events = new[]
{
"ObjectCreated",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FgsTrigger;
import com.pulumi.flexibleengine.FgsTriggerArgs;
import com.pulumi.flexibleengine.inputs.FgsTriggerObsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var functionUrn = config.get("functionUrn");
final var bucketName = config.get("bucketName");
final var triggerName = config.get("triggerName");
var test = new FgsTrigger("test", FgsTriggerArgs.builder()
.functionUrn(functionUrn)
.type("OBS")
.status("ACTIVE")
.obs(FgsTriggerObsArgs.builder()
.bucketName(bucketName)
.eventNotificationName(triggerName)
.suffix(".json")
.events("ObjectCreated")
.build())
.build());
}
}
configuration:
functionUrn:
type: dynamic
bucketName:
type: dynamic
triggerName:
type: dynamic
resources:
test:
type: flexibleengine:FgsTrigger
properties:
functionUrn: ${functionUrn}
type: OBS
status: ACTIVE
obs:
bucketName: ${bucketName}
eventNotificationName: ${triggerName}
suffix: .json
events:
- ObjectCreated
Create an SMN trigger
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const functionUrn = config.requireObject("functionUrn");
const topicUrn = config.requireObject("topicUrn");
const test = new flexibleengine.FgsTrigger("test", {
functionUrn: functionUrn,
type: "SMN",
status: "ACTIVE",
smn: {
topicUrn: topicUrn,
},
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
function_urn = config.require_object("functionUrn")
topic_urn = config.require_object("topicUrn")
test = flexibleengine.FgsTrigger("test",
function_urn=function_urn,
type="SMN",
status="ACTIVE",
smn={
"topic_urn": topic_urn,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
functionUrn := cfg.RequireObject("functionUrn")
topicUrn := cfg.RequireObject("topicUrn")
_, err := flexibleengine.NewFgsTrigger(ctx, "test", &flexibleengine.FgsTriggerArgs{
FunctionUrn: pulumi.Any(functionUrn),
Type: pulumi.String("SMN"),
Status: pulumi.String("ACTIVE"),
Smn: &flexibleengine.FgsTriggerSmnArgs{
TopicUrn: pulumi.Any(topicUrn),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var functionUrn = config.RequireObject<dynamic>("functionUrn");
var topicUrn = config.RequireObject<dynamic>("topicUrn");
var test = new Flexibleengine.FgsTrigger("test", new()
{
FunctionUrn = functionUrn,
Type = "SMN",
Status = "ACTIVE",
Smn = new Flexibleengine.Inputs.FgsTriggerSmnArgs
{
TopicUrn = topicUrn,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FgsTrigger;
import com.pulumi.flexibleengine.FgsTriggerArgs;
import com.pulumi.flexibleengine.inputs.FgsTriggerSmnArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var functionUrn = config.get("functionUrn");
final var topicUrn = config.get("topicUrn");
var test = new FgsTrigger("test", FgsTriggerArgs.builder()
.functionUrn(functionUrn)
.type("SMN")
.status("ACTIVE")
.smn(FgsTriggerSmnArgs.builder()
.topicUrn(topicUrn)
.build())
.build());
}
}
configuration:
functionUrn:
type: dynamic
topicUrn:
type: dynamic
resources:
test:
type: flexibleengine:FgsTrigger
properties:
functionUrn: ${functionUrn}
type: SMN
status: ACTIVE
smn:
topicUrn: ${topicUrn}
Create a DIS trigger
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const functionUrn = config.requireObject("functionUrn");
const streamName = config.requireObject("streamName");
const test = new flexibleengine.FgsTrigger("test", {
functionUrn: functionUrn,
type: "DIS",
status: "ACTIVE",
dis: {
streamName: streamName,
startingPosition: "TRIM_HORIZON",
maxFetchBytes: 2097152,
pullPeriod: 30000,
serialEnable: true,
},
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
function_urn = config.require_object("functionUrn")
stream_name = config.require_object("streamName")
test = flexibleengine.FgsTrigger("test",
function_urn=function_urn,
type="DIS",
status="ACTIVE",
dis={
"stream_name": stream_name,
"starting_position": "TRIM_HORIZON",
"max_fetch_bytes": 2097152,
"pull_period": 30000,
"serial_enable": True,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
functionUrn := cfg.RequireObject("functionUrn")
streamName := cfg.RequireObject("streamName")
_, err := flexibleengine.NewFgsTrigger(ctx, "test", &flexibleengine.FgsTriggerArgs{
FunctionUrn: pulumi.Any(functionUrn),
Type: pulumi.String("DIS"),
Status: pulumi.String("ACTIVE"),
Dis: &flexibleengine.FgsTriggerDisArgs{
StreamName: pulumi.Any(streamName),
StartingPosition: pulumi.String("TRIM_HORIZON"),
MaxFetchBytes: pulumi.Float64(2097152),
PullPeriod: pulumi.Float64(30000),
SerialEnable: pulumi.Bool(true),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var functionUrn = config.RequireObject<dynamic>("functionUrn");
var streamName = config.RequireObject<dynamic>("streamName");
var test = new Flexibleengine.FgsTrigger("test", new()
{
FunctionUrn = functionUrn,
Type = "DIS",
Status = "ACTIVE",
Dis = new Flexibleengine.Inputs.FgsTriggerDisArgs
{
StreamName = streamName,
StartingPosition = "TRIM_HORIZON",
MaxFetchBytes = 2097152,
PullPeriod = 30000,
SerialEnable = true,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FgsTrigger;
import com.pulumi.flexibleengine.FgsTriggerArgs;
import com.pulumi.flexibleengine.inputs.FgsTriggerDisArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var functionUrn = config.get("functionUrn");
final var streamName = config.get("streamName");
var test = new FgsTrigger("test", FgsTriggerArgs.builder()
.functionUrn(functionUrn)
.type("DIS")
.status("ACTIVE")
.dis(FgsTriggerDisArgs.builder()
.streamName(streamName)
.startingPosition("TRIM_HORIZON")
.maxFetchBytes(2097152)
.pullPeriod(30000)
.serialEnable(true)
.build())
.build());
}
}
configuration:
functionUrn:
type: dynamic
streamName:
type: dynamic
resources:
test:
type: flexibleengine:FgsTrigger
properties:
functionUrn: ${functionUrn}
type: DIS
status: ACTIVE
dis:
streamName: ${streamName}
startingPosition: TRIM_HORIZON
maxFetchBytes: 2.097152e+06
pullPeriod: 30000
serialEnable: true
Create a Shared APIG trigger
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const functionUrn = config.requireObject("functionUrn");
const groupId = config.requireObject("groupId");
const apiName = config.requireObject("apiName");
const test = new flexibleengine.FgsTrigger("test", {
functionUrn: functionUrn,
type: "APIG",
status: "ACTIVE",
apig: {
groupId: groupId,
apiName: apiName,
envName: "RELEASE",
},
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
function_urn = config.require_object("functionUrn")
group_id = config.require_object("groupId")
api_name = config.require_object("apiName")
test = flexibleengine.FgsTrigger("test",
function_urn=function_urn,
type="APIG",
status="ACTIVE",
apig={
"group_id": group_id,
"api_name": api_name,
"env_name": "RELEASE",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
functionUrn := cfg.RequireObject("functionUrn")
groupId := cfg.RequireObject("groupId")
apiName := cfg.RequireObject("apiName")
_, err := flexibleengine.NewFgsTrigger(ctx, "test", &flexibleengine.FgsTriggerArgs{
FunctionUrn: pulumi.Any(functionUrn),
Type: pulumi.String("APIG"),
Status: pulumi.String("ACTIVE"),
Apig: &flexibleengine.FgsTriggerApigArgs{
GroupId: pulumi.Any(groupId),
ApiName: pulumi.Any(apiName),
EnvName: pulumi.String("RELEASE"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var functionUrn = config.RequireObject<dynamic>("functionUrn");
var groupId = config.RequireObject<dynamic>("groupId");
var apiName = config.RequireObject<dynamic>("apiName");
var test = new Flexibleengine.FgsTrigger("test", new()
{
FunctionUrn = functionUrn,
Type = "APIG",
Status = "ACTIVE",
Apig = new Flexibleengine.Inputs.FgsTriggerApigArgs
{
GroupId = groupId,
ApiName = apiName,
EnvName = "RELEASE",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FgsTrigger;
import com.pulumi.flexibleengine.FgsTriggerArgs;
import com.pulumi.flexibleengine.inputs.FgsTriggerApigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var functionUrn = config.get("functionUrn");
final var groupId = config.get("groupId");
final var apiName = config.get("apiName");
var test = new FgsTrigger("test", FgsTriggerArgs.builder()
.functionUrn(functionUrn)
.type("APIG")
.status("ACTIVE")
.apig(FgsTriggerApigArgs.builder()
.groupId(groupId)
.apiName(apiName)
.envName("RELEASE")
.build())
.build());
}
}
configuration:
functionUrn:
type: dynamic
groupId:
type: dynamic
apiName:
type: dynamic
resources:
test:
type: flexibleengine:FgsTrigger
properties:
functionUrn: ${functionUrn}
type: APIG
status: ACTIVE
apig:
groupId: ${groupId}
apiName: ${apiName}
envName: RELEASE
Create FgsTrigger Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FgsTrigger(name: string, args: FgsTriggerArgs, opts?: CustomResourceOptions);
@overload
def FgsTrigger(resource_name: str,
args: FgsTriggerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FgsTrigger(resource_name: str,
opts: Optional[ResourceOptions] = None,
function_urn: Optional[str] = None,
type: Optional[str] = None,
obs: Optional[FgsTriggerObsArgs] = None,
fgs_trigger_id: Optional[str] = None,
kafka: Optional[FgsTriggerKafkaArgs] = None,
lts: Optional[FgsTriggerLtsArgs] = None,
apig: Optional[FgsTriggerApigArgs] = None,
region: Optional[str] = None,
smn: Optional[FgsTriggerSmnArgs] = None,
status: Optional[str] = None,
timeouts: Optional[FgsTriggerTimeoutsArgs] = None,
timer: Optional[FgsTriggerTimerArgs] = None,
dis: Optional[FgsTriggerDisArgs] = None)
func NewFgsTrigger(ctx *Context, name string, args FgsTriggerArgs, opts ...ResourceOption) (*FgsTrigger, error)
public FgsTrigger(string name, FgsTriggerArgs args, CustomResourceOptions? opts = null)
public FgsTrigger(String name, FgsTriggerArgs args)
public FgsTrigger(String name, FgsTriggerArgs args, CustomResourceOptions options)
type: flexibleengine:FgsTrigger
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FgsTriggerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FgsTriggerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FgsTriggerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FgsTriggerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FgsTriggerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var fgsTriggerResource = new Flexibleengine.FgsTrigger("fgsTriggerResource", new()
{
FunctionUrn = "string",
Type = "string",
Obs = new Flexibleengine.Inputs.FgsTriggerObsArgs
{
BucketName = "string",
EventNotificationName = "string",
Events = new[]
{
"string",
},
Prefix = "string",
Suffix = "string",
},
FgsTriggerId = "string",
Kafka = new Flexibleengine.Inputs.FgsTriggerKafkaArgs
{
InstanceId = "string",
TopicIds = new[]
{
"string",
},
BatchSize = 0,
Password = "string",
UserName = "string",
},
Lts = new Flexibleengine.Inputs.FgsTriggerLtsArgs
{
LogGroupId = "string",
LogTopicId = "string",
},
Apig = new Flexibleengine.Inputs.FgsTriggerApigArgs
{
ApiName = "string",
EnvName = "string",
GroupId = "string",
InstanceId = "string",
RequestProtocol = "string",
SecurityAuthentication = "string",
Timeout = 0,
},
Region = "string",
Smn = new Flexibleengine.Inputs.FgsTriggerSmnArgs
{
TopicUrn = "string",
},
Status = "string",
Timeouts = new Flexibleengine.Inputs.FgsTriggerTimeoutsArgs
{
Update = "string",
},
Timer = new Flexibleengine.Inputs.FgsTriggerTimerArgs
{
Name = "string",
Schedule = "string",
ScheduleType = "string",
AdditionalInformation = "string",
},
Dis = new Flexibleengine.Inputs.FgsTriggerDisArgs
{
MaxFetchBytes = 0,
PullPeriod = 0,
SerialEnable = false,
StartingPosition = "string",
StreamName = "string",
},
});
example, err := flexibleengine.NewFgsTrigger(ctx, "fgsTriggerResource", &flexibleengine.FgsTriggerArgs{
FunctionUrn: pulumi.String("string"),
Type: pulumi.String("string"),
Obs: &flexibleengine.FgsTriggerObsArgs{
BucketName: pulumi.String("string"),
EventNotificationName: pulumi.String("string"),
Events: pulumi.StringArray{
pulumi.String("string"),
},
Prefix: pulumi.String("string"),
Suffix: pulumi.String("string"),
},
FgsTriggerId: pulumi.String("string"),
Kafka: &flexibleengine.FgsTriggerKafkaArgs{
InstanceId: pulumi.String("string"),
TopicIds: pulumi.StringArray{
pulumi.String("string"),
},
BatchSize: pulumi.Float64(0),
Password: pulumi.String("string"),
UserName: pulumi.String("string"),
},
Lts: &flexibleengine.FgsTriggerLtsArgs{
LogGroupId: pulumi.String("string"),
LogTopicId: pulumi.String("string"),
},
Apig: &flexibleengine.FgsTriggerApigArgs{
ApiName: pulumi.String("string"),
EnvName: pulumi.String("string"),
GroupId: pulumi.String("string"),
InstanceId: pulumi.String("string"),
RequestProtocol: pulumi.String("string"),
SecurityAuthentication: pulumi.String("string"),
Timeout: pulumi.Float64(0),
},
Region: pulumi.String("string"),
Smn: &flexibleengine.FgsTriggerSmnArgs{
TopicUrn: pulumi.String("string"),
},
Status: pulumi.String("string"),
Timeouts: &flexibleengine.FgsTriggerTimeoutsArgs{
Update: pulumi.String("string"),
},
Timer: &flexibleengine.FgsTriggerTimerArgs{
Name: pulumi.String("string"),
Schedule: pulumi.String("string"),
ScheduleType: pulumi.String("string"),
AdditionalInformation: pulumi.String("string"),
},
Dis: &flexibleengine.FgsTriggerDisArgs{
MaxFetchBytes: pulumi.Float64(0),
PullPeriod: pulumi.Float64(0),
SerialEnable: pulumi.Bool(false),
StartingPosition: pulumi.String("string"),
StreamName: pulumi.String("string"),
},
})
var fgsTriggerResource = new FgsTrigger("fgsTriggerResource", FgsTriggerArgs.builder()
.functionUrn("string")
.type("string")
.obs(FgsTriggerObsArgs.builder()
.bucketName("string")
.eventNotificationName("string")
.events("string")
.prefix("string")
.suffix("string")
.build())
.fgsTriggerId("string")
.kafka(FgsTriggerKafkaArgs.builder()
.instanceId("string")
.topicIds("string")
.batchSize(0)
.password("string")
.userName("string")
.build())
.lts(FgsTriggerLtsArgs.builder()
.logGroupId("string")
.logTopicId("string")
.build())
.apig(FgsTriggerApigArgs.builder()
.apiName("string")
.envName("string")
.groupId("string")
.instanceId("string")
.requestProtocol("string")
.securityAuthentication("string")
.timeout(0)
.build())
.region("string")
.smn(FgsTriggerSmnArgs.builder()
.topicUrn("string")
.build())
.status("string")
.timeouts(FgsTriggerTimeoutsArgs.builder()
.update("string")
.build())
.timer(FgsTriggerTimerArgs.builder()
.name("string")
.schedule("string")
.scheduleType("string")
.additionalInformation("string")
.build())
.dis(FgsTriggerDisArgs.builder()
.maxFetchBytes(0)
.pullPeriod(0)
.serialEnable(false)
.startingPosition("string")
.streamName("string")
.build())
.build());
fgs_trigger_resource = flexibleengine.FgsTrigger("fgsTriggerResource",
function_urn="string",
type="string",
obs={
"bucket_name": "string",
"event_notification_name": "string",
"events": ["string"],
"prefix": "string",
"suffix": "string",
},
fgs_trigger_id="string",
kafka={
"instance_id": "string",
"topic_ids": ["string"],
"batch_size": 0,
"password": "string",
"user_name": "string",
},
lts={
"log_group_id": "string",
"log_topic_id": "string",
},
apig={
"api_name": "string",
"env_name": "string",
"group_id": "string",
"instance_id": "string",
"request_protocol": "string",
"security_authentication": "string",
"timeout": 0,
},
region="string",
smn={
"topic_urn": "string",
},
status="string",
timeouts={
"update": "string",
},
timer={
"name": "string",
"schedule": "string",
"schedule_type": "string",
"additional_information": "string",
},
dis={
"max_fetch_bytes": 0,
"pull_period": 0,
"serial_enable": False,
"starting_position": "string",
"stream_name": "string",
})
const fgsTriggerResource = new flexibleengine.FgsTrigger("fgsTriggerResource", {
functionUrn: "string",
type: "string",
obs: {
bucketName: "string",
eventNotificationName: "string",
events: ["string"],
prefix: "string",
suffix: "string",
},
fgsTriggerId: "string",
kafka: {
instanceId: "string",
topicIds: ["string"],
batchSize: 0,
password: "string",
userName: "string",
},
lts: {
logGroupId: "string",
logTopicId: "string",
},
apig: {
apiName: "string",
envName: "string",
groupId: "string",
instanceId: "string",
requestProtocol: "string",
securityAuthentication: "string",
timeout: 0,
},
region: "string",
smn: {
topicUrn: "string",
},
status: "string",
timeouts: {
update: "string",
},
timer: {
name: "string",
schedule: "string",
scheduleType: "string",
additionalInformation: "string",
},
dis: {
maxFetchBytes: 0,
pullPeriod: 0,
serialEnable: false,
startingPosition: "string",
streamName: "string",
},
});
type: flexibleengine:FgsTrigger
properties:
apig:
apiName: string
envName: string
groupId: string
instanceId: string
requestProtocol: string
securityAuthentication: string
timeout: 0
dis:
maxFetchBytes: 0
pullPeriod: 0
serialEnable: false
startingPosition: string
streamName: string
fgsTriggerId: string
functionUrn: string
kafka:
batchSize: 0
instanceId: string
password: string
topicIds:
- string
userName: string
lts:
logGroupId: string
logTopicId: string
obs:
bucketName: string
eventNotificationName: string
events:
- string
prefix: string
suffix: string
region: string
smn:
topicUrn: string
status: string
timeouts:
update: string
timer:
additionalInformation: string
name: string
schedule: string
scheduleType: string
type: string
FgsTrigger Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FgsTrigger resource accepts the following input properties:
- Function
Urn string - Specifies the Uniform Resource Name (URN) of the function. Changing this will create a new trigger resource.
- Type string
- Specifies the type of the function. The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. Changing this will create a new trigger resource.
- Apig
Fgs
Trigger Apig Specifies the configuration of the shared APIG trigger. Changing this will create a new trigger resource. The apig object structure is documented below.
The
timer
block supports:- Dis
Fgs
Trigger Dis Specifies the configuration of the DIS trigger. Changing this will create a new trigger resource. The dis object structure is documented below.
NOTE: Specify an agency with DIS access permissions for the function version before you can create a DIS trigger.
- Fgs
Trigger stringId - resource ID in UUID format.
- Kafka
Fgs
Trigger Kafka - Lts
Fgs
Trigger Lts - Obs
Fgs
Trigger Obs - Specifies the configuration of the OBS trigger. Changing this will create a new trigger resource. The obs object structure is documented below.
- Region string
- Specifies the region in which to create the trigger resource. If omitted, the provider-level region will be used. Changing this will create a new trigger resource.
- Smn
Fgs
Trigger Smn - Specifies the configuration of the SMN trigger. Changing this will create a new trigger resource. The smn object structure is documented below.
- Status string
Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED.
NOTE: Currently, SMN triggers do not support
status
, and OBS triggers do not support updatingstatus
.- Timeouts
Fgs
Trigger Timeouts - Timer
Fgs
Trigger Timer - Specifies the configuration of the timing trigger. Changing this will create a new trigger resource. The timer object structure is documented below.
- Function
Urn string - Specifies the Uniform Resource Name (URN) of the function. Changing this will create a new trigger resource.
- Type string
- Specifies the type of the function. The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. Changing this will create a new trigger resource.
- Apig
Fgs
Trigger Apig Args Specifies the configuration of the shared APIG trigger. Changing this will create a new trigger resource. The apig object structure is documented below.
The
timer
block supports:- Dis
Fgs
Trigger Dis Args Specifies the configuration of the DIS trigger. Changing this will create a new trigger resource. The dis object structure is documented below.
NOTE: Specify an agency with DIS access permissions for the function version before you can create a DIS trigger.
- Fgs
Trigger stringId - resource ID in UUID format.
- Kafka
Fgs
Trigger Kafka Args - Lts
Fgs
Trigger Lts Args - Obs
Fgs
Trigger Obs Args - Specifies the configuration of the OBS trigger. Changing this will create a new trigger resource. The obs object structure is documented below.
- Region string
- Specifies the region in which to create the trigger resource. If omitted, the provider-level region will be used. Changing this will create a new trigger resource.
- Smn
Fgs
Trigger Smn Args - Specifies the configuration of the SMN trigger. Changing this will create a new trigger resource. The smn object structure is documented below.
- Status string
Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED.
NOTE: Currently, SMN triggers do not support
status
, and OBS triggers do not support updatingstatus
.- Timeouts
Fgs
Trigger Timeouts Args - Timer
Fgs
Trigger Timer Args - Specifies the configuration of the timing trigger. Changing this will create a new trigger resource. The timer object structure is documented below.
- function
Urn String - Specifies the Uniform Resource Name (URN) of the function. Changing this will create a new trigger resource.
- type String
- Specifies the type of the function. The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. Changing this will create a new trigger resource.
- apig
Fgs
Trigger Apig Specifies the configuration of the shared APIG trigger. Changing this will create a new trigger resource. The apig object structure is documented below.
The
timer
block supports:- dis
Fgs
Trigger Dis Specifies the configuration of the DIS trigger. Changing this will create a new trigger resource. The dis object structure is documented below.
NOTE: Specify an agency with DIS access permissions for the function version before you can create a DIS trigger.
- fgs
Trigger StringId - resource ID in UUID format.
- kafka
Fgs
Trigger Kafka - lts
Fgs
Trigger Lts - obs
Fgs
Trigger Obs - Specifies the configuration of the OBS trigger. Changing this will create a new trigger resource. The obs object structure is documented below.
- region String
- Specifies the region in which to create the trigger resource. If omitted, the provider-level region will be used. Changing this will create a new trigger resource.
- smn
Fgs
Trigger Smn - Specifies the configuration of the SMN trigger. Changing this will create a new trigger resource. The smn object structure is documented below.
- status String
Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED.
NOTE: Currently, SMN triggers do not support
status
, and OBS triggers do not support updatingstatus
.- timeouts
Fgs
Trigger Timeouts - timer
Fgs
Trigger Timer - Specifies the configuration of the timing trigger. Changing this will create a new trigger resource. The timer object structure is documented below.
- function
Urn string - Specifies the Uniform Resource Name (URN) of the function. Changing this will create a new trigger resource.
- type string
- Specifies the type of the function. The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. Changing this will create a new trigger resource.
- apig
Fgs
Trigger Apig Specifies the configuration of the shared APIG trigger. Changing this will create a new trigger resource. The apig object structure is documented below.
The
timer
block supports:- dis
Fgs
Trigger Dis Specifies the configuration of the DIS trigger. Changing this will create a new trigger resource. The dis object structure is documented below.
NOTE: Specify an agency with DIS access permissions for the function version before you can create a DIS trigger.
- fgs
Trigger stringId - resource ID in UUID format.
- kafka
Fgs
Trigger Kafka - lts
Fgs
Trigger Lts - obs
Fgs
Trigger Obs - Specifies the configuration of the OBS trigger. Changing this will create a new trigger resource. The obs object structure is documented below.
- region string
- Specifies the region in which to create the trigger resource. If omitted, the provider-level region will be used. Changing this will create a new trigger resource.
- smn
Fgs
Trigger Smn - Specifies the configuration of the SMN trigger. Changing this will create a new trigger resource. The smn object structure is documented below.
- status string
Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED.
NOTE: Currently, SMN triggers do not support
status
, and OBS triggers do not support updatingstatus
.- timeouts
Fgs
Trigger Timeouts - timer
Fgs
Trigger Timer - Specifies the configuration of the timing trigger. Changing this will create a new trigger resource. The timer object structure is documented below.
- function_
urn str - Specifies the Uniform Resource Name (URN) of the function. Changing this will create a new trigger resource.
- type str
- Specifies the type of the function. The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. Changing this will create a new trigger resource.
- apig
Fgs
Trigger Apig Args Specifies the configuration of the shared APIG trigger. Changing this will create a new trigger resource. The apig object structure is documented below.
The
timer
block supports:- dis
Fgs
Trigger Dis Args Specifies the configuration of the DIS trigger. Changing this will create a new trigger resource. The dis object structure is documented below.
NOTE: Specify an agency with DIS access permissions for the function version before you can create a DIS trigger.
- fgs_
trigger_ strid - resource ID in UUID format.
- kafka
Fgs
Trigger Kafka Args - lts
Fgs
Trigger Lts Args - obs
Fgs
Trigger Obs Args - Specifies the configuration of the OBS trigger. Changing this will create a new trigger resource. The obs object structure is documented below.
- region str
- Specifies the region in which to create the trigger resource. If omitted, the provider-level region will be used. Changing this will create a new trigger resource.
- smn
Fgs
Trigger Smn Args - Specifies the configuration of the SMN trigger. Changing this will create a new trigger resource. The smn object structure is documented below.
- status str
Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED.
NOTE: Currently, SMN triggers do not support
status
, and OBS triggers do not support updatingstatus
.- timeouts
Fgs
Trigger Timeouts Args - timer
Fgs
Trigger Timer Args - Specifies the configuration of the timing trigger. Changing this will create a new trigger resource. The timer object structure is documented below.
- function
Urn String - Specifies the Uniform Resource Name (URN) of the function. Changing this will create a new trigger resource.
- type String
- Specifies the type of the function. The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. Changing this will create a new trigger resource.
- apig Property Map
Specifies the configuration of the shared APIG trigger. Changing this will create a new trigger resource. The apig object structure is documented below.
The
timer
block supports:- dis Property Map
Specifies the configuration of the DIS trigger. Changing this will create a new trigger resource. The dis object structure is documented below.
NOTE: Specify an agency with DIS access permissions for the function version before you can create a DIS trigger.
- fgs
Trigger StringId - resource ID in UUID format.
- kafka Property Map
- lts Property Map
- obs Property Map
- Specifies the configuration of the OBS trigger. Changing this will create a new trigger resource. The obs object structure is documented below.
- region String
- Specifies the region in which to create the trigger resource. If omitted, the provider-level region will be used. Changing this will create a new trigger resource.
- smn Property Map
- Specifies the configuration of the SMN trigger. Changing this will create a new trigger resource. The smn object structure is documented below.
- status String
Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED.
NOTE: Currently, SMN triggers do not support
status
, and OBS triggers do not support updatingstatus
.- timeouts Property Map
- timer Property Map
- Specifies the configuration of the timing trigger. Changing this will create a new trigger resource. The timer object structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the FgsTrigger resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing FgsTrigger Resource
Get an existing FgsTrigger resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FgsTriggerState, opts?: CustomResourceOptions): FgsTrigger
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apig: Optional[FgsTriggerApigArgs] = None,
dis: Optional[FgsTriggerDisArgs] = None,
fgs_trigger_id: Optional[str] = None,
function_urn: Optional[str] = None,
kafka: Optional[FgsTriggerKafkaArgs] = None,
lts: Optional[FgsTriggerLtsArgs] = None,
obs: Optional[FgsTriggerObsArgs] = None,
region: Optional[str] = None,
smn: Optional[FgsTriggerSmnArgs] = None,
status: Optional[str] = None,
timeouts: Optional[FgsTriggerTimeoutsArgs] = None,
timer: Optional[FgsTriggerTimerArgs] = None,
type: Optional[str] = None) -> FgsTrigger
func GetFgsTrigger(ctx *Context, name string, id IDInput, state *FgsTriggerState, opts ...ResourceOption) (*FgsTrigger, error)
public static FgsTrigger Get(string name, Input<string> id, FgsTriggerState? state, CustomResourceOptions? opts = null)
public static FgsTrigger get(String name, Output<String> id, FgsTriggerState state, CustomResourceOptions options)
resources: _: type: flexibleengine:FgsTrigger get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Apig
Fgs
Trigger Apig Specifies the configuration of the shared APIG trigger. Changing this will create a new trigger resource. The apig object structure is documented below.
The
timer
block supports:- Dis
Fgs
Trigger Dis Specifies the configuration of the DIS trigger. Changing this will create a new trigger resource. The dis object structure is documented below.
NOTE: Specify an agency with DIS access permissions for the function version before you can create a DIS trigger.
- Fgs
Trigger stringId - resource ID in UUID format.
- Function
Urn string - Specifies the Uniform Resource Name (URN) of the function. Changing this will create a new trigger resource.
- Kafka
Fgs
Trigger Kafka - Lts
Fgs
Trigger Lts - Obs
Fgs
Trigger Obs - Specifies the configuration of the OBS trigger. Changing this will create a new trigger resource. The obs object structure is documented below.
- Region string
- Specifies the region in which to create the trigger resource. If omitted, the provider-level region will be used. Changing this will create a new trigger resource.
- Smn
Fgs
Trigger Smn - Specifies the configuration of the SMN trigger. Changing this will create a new trigger resource. The smn object structure is documented below.
- Status string
Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED.
NOTE: Currently, SMN triggers do not support
status
, and OBS triggers do not support updatingstatus
.- Timeouts
Fgs
Trigger Timeouts - Timer
Fgs
Trigger Timer - Specifies the configuration of the timing trigger. Changing this will create a new trigger resource. The timer object structure is documented below.
- Type string
- Specifies the type of the function. The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. Changing this will create a new trigger resource.
- Apig
Fgs
Trigger Apig Args Specifies the configuration of the shared APIG trigger. Changing this will create a new trigger resource. The apig object structure is documented below.
The
timer
block supports:- Dis
Fgs
Trigger Dis Args Specifies the configuration of the DIS trigger. Changing this will create a new trigger resource. The dis object structure is documented below.
NOTE: Specify an agency with DIS access permissions for the function version before you can create a DIS trigger.
- Fgs
Trigger stringId - resource ID in UUID format.
- Function
Urn string - Specifies the Uniform Resource Name (URN) of the function. Changing this will create a new trigger resource.
- Kafka
Fgs
Trigger Kafka Args - Lts
Fgs
Trigger Lts Args - Obs
Fgs
Trigger Obs Args - Specifies the configuration of the OBS trigger. Changing this will create a new trigger resource. The obs object structure is documented below.
- Region string
- Specifies the region in which to create the trigger resource. If omitted, the provider-level region will be used. Changing this will create a new trigger resource.
- Smn
Fgs
Trigger Smn Args - Specifies the configuration of the SMN trigger. Changing this will create a new trigger resource. The smn object structure is documented below.
- Status string
Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED.
NOTE: Currently, SMN triggers do not support
status
, and OBS triggers do not support updatingstatus
.- Timeouts
Fgs
Trigger Timeouts Args - Timer
Fgs
Trigger Timer Args - Specifies the configuration of the timing trigger. Changing this will create a new trigger resource. The timer object structure is documented below.
- Type string
- Specifies the type of the function. The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. Changing this will create a new trigger resource.
- apig
Fgs
Trigger Apig Specifies the configuration of the shared APIG trigger. Changing this will create a new trigger resource. The apig object structure is documented below.
The
timer
block supports:- dis
Fgs
Trigger Dis Specifies the configuration of the DIS trigger. Changing this will create a new trigger resource. The dis object structure is documented below.
NOTE: Specify an agency with DIS access permissions for the function version before you can create a DIS trigger.
- fgs
Trigger StringId - resource ID in UUID format.
- function
Urn String - Specifies the Uniform Resource Name (URN) of the function. Changing this will create a new trigger resource.
- kafka
Fgs
Trigger Kafka - lts
Fgs
Trigger Lts - obs
Fgs
Trigger Obs - Specifies the configuration of the OBS trigger. Changing this will create a new trigger resource. The obs object structure is documented below.
- region String
- Specifies the region in which to create the trigger resource. If omitted, the provider-level region will be used. Changing this will create a new trigger resource.
- smn
Fgs
Trigger Smn - Specifies the configuration of the SMN trigger. Changing this will create a new trigger resource. The smn object structure is documented below.
- status String
Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED.
NOTE: Currently, SMN triggers do not support
status
, and OBS triggers do not support updatingstatus
.- timeouts
Fgs
Trigger Timeouts - timer
Fgs
Trigger Timer - Specifies the configuration of the timing trigger. Changing this will create a new trigger resource. The timer object structure is documented below.
- type String
- Specifies the type of the function. The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. Changing this will create a new trigger resource.
- apig
Fgs
Trigger Apig Specifies the configuration of the shared APIG trigger. Changing this will create a new trigger resource. The apig object structure is documented below.
The
timer
block supports:- dis
Fgs
Trigger Dis Specifies the configuration of the DIS trigger. Changing this will create a new trigger resource. The dis object structure is documented below.
NOTE: Specify an agency with DIS access permissions for the function version before you can create a DIS trigger.
- fgs
Trigger stringId - resource ID in UUID format.
- function
Urn string - Specifies the Uniform Resource Name (URN) of the function. Changing this will create a new trigger resource.
- kafka
Fgs
Trigger Kafka - lts
Fgs
Trigger Lts - obs
Fgs
Trigger Obs - Specifies the configuration of the OBS trigger. Changing this will create a new trigger resource. The obs object structure is documented below.
- region string
- Specifies the region in which to create the trigger resource. If omitted, the provider-level region will be used. Changing this will create a new trigger resource.
- smn
Fgs
Trigger Smn - Specifies the configuration of the SMN trigger. Changing this will create a new trigger resource. The smn object structure is documented below.
- status string
Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED.
NOTE: Currently, SMN triggers do not support
status
, and OBS triggers do not support updatingstatus
.- timeouts
Fgs
Trigger Timeouts - timer
Fgs
Trigger Timer - Specifies the configuration of the timing trigger. Changing this will create a new trigger resource. The timer object structure is documented below.
- type string
- Specifies the type of the function. The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. Changing this will create a new trigger resource.
- apig
Fgs
Trigger Apig Args Specifies the configuration of the shared APIG trigger. Changing this will create a new trigger resource. The apig object structure is documented below.
The
timer
block supports:- dis
Fgs
Trigger Dis Args Specifies the configuration of the DIS trigger. Changing this will create a new trigger resource. The dis object structure is documented below.
NOTE: Specify an agency with DIS access permissions for the function version before you can create a DIS trigger.
- fgs_
trigger_ strid - resource ID in UUID format.
- function_
urn str - Specifies the Uniform Resource Name (URN) of the function. Changing this will create a new trigger resource.
- kafka
Fgs
Trigger Kafka Args - lts
Fgs
Trigger Lts Args - obs
Fgs
Trigger Obs Args - Specifies the configuration of the OBS trigger. Changing this will create a new trigger resource. The obs object structure is documented below.
- region str
- Specifies the region in which to create the trigger resource. If omitted, the provider-level region will be used. Changing this will create a new trigger resource.
- smn
Fgs
Trigger Smn Args - Specifies the configuration of the SMN trigger. Changing this will create a new trigger resource. The smn object structure is documented below.
- status str
Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED.
NOTE: Currently, SMN triggers do not support
status
, and OBS triggers do not support updatingstatus
.- timeouts
Fgs
Trigger Timeouts Args - timer
Fgs
Trigger Timer Args - Specifies the configuration of the timing trigger. Changing this will create a new trigger resource. The timer object structure is documented below.
- type str
- Specifies the type of the function. The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. Changing this will create a new trigger resource.
- apig Property Map
Specifies the configuration of the shared APIG trigger. Changing this will create a new trigger resource. The apig object structure is documented below.
The
timer
block supports:- dis Property Map
Specifies the configuration of the DIS trigger. Changing this will create a new trigger resource. The dis object structure is documented below.
NOTE: Specify an agency with DIS access permissions for the function version before you can create a DIS trigger.
- fgs
Trigger StringId - resource ID in UUID format.
- function
Urn String - Specifies the Uniform Resource Name (URN) of the function. Changing this will create a new trigger resource.
- kafka Property Map
- lts Property Map
- obs Property Map
- Specifies the configuration of the OBS trigger. Changing this will create a new trigger resource. The obs object structure is documented below.
- region String
- Specifies the region in which to create the trigger resource. If omitted, the provider-level region will be used. Changing this will create a new trigger resource.
- smn Property Map
- Specifies the configuration of the SMN trigger. Changing this will create a new trigger resource. The smn object structure is documented below.
- status String
Specifies whether trigger is enabled. The valid values are ACTIVE and DISABLED.
NOTE: Currently, SMN triggers do not support
status
, and OBS triggers do not support updatingstatus
.- timeouts Property Map
- timer Property Map
- Specifies the configuration of the timing trigger. Changing this will create a new trigger resource. The timer object structure is documented below.
- type String
- Specifies the type of the function. The valid values currently only support TIMER, OBS, SMN, DIS, and APIG. Changing this will create a new trigger resource.
Supporting Types
FgsTriggerApig, FgsTriggerApigArgs
- Api
Name string - Specifies the API name. Changing this will create a new trigger resource.
- Env
Name string - Specifies the API environment name. Changing this will create a new trigger resource.
- Group
Id string - Specifies the ID of the APIG group to which the API belongs. Changing this will create a new trigger resource.
- Instance
Id string - Request
Protocol string - Specifies the request protocol of the API. The valid value are HTTP and HTTPS. Default to HTTPS. Changing this will create a new trigger resource.
- Security
Authentication string - Specifies the security authentication mode. The valid values are NONE, APP and IAM, default to IAM. Changing this will create a new trigger resource.
- Timeout double
- Specifies the timeout for request sending. The valid value is range form
1
to60,000
, default to5,000
. Changing this will create a new trigger resource.
- Api
Name string - Specifies the API name. Changing this will create a new trigger resource.
- Env
Name string - Specifies the API environment name. Changing this will create a new trigger resource.
- Group
Id string - Specifies the ID of the APIG group to which the API belongs. Changing this will create a new trigger resource.
- Instance
Id string - Request
Protocol string - Specifies the request protocol of the API. The valid value are HTTP and HTTPS. Default to HTTPS. Changing this will create a new trigger resource.
- Security
Authentication string - Specifies the security authentication mode. The valid values are NONE, APP and IAM, default to IAM. Changing this will create a new trigger resource.
- Timeout float64
- Specifies the timeout for request sending. The valid value is range form
1
to60,000
, default to5,000
. Changing this will create a new trigger resource.
- api
Name String - Specifies the API name. Changing this will create a new trigger resource.
- env
Name String - Specifies the API environment name. Changing this will create a new trigger resource.
- group
Id String - Specifies the ID of the APIG group to which the API belongs. Changing this will create a new trigger resource.
- instance
Id String - request
Protocol String - Specifies the request protocol of the API. The valid value are HTTP and HTTPS. Default to HTTPS. Changing this will create a new trigger resource.
- security
Authentication String - Specifies the security authentication mode. The valid values are NONE, APP and IAM, default to IAM. Changing this will create a new trigger resource.
- timeout Double
- Specifies the timeout for request sending. The valid value is range form
1
to60,000
, default to5,000
. Changing this will create a new trigger resource.
- api
Name string - Specifies the API name. Changing this will create a new trigger resource.
- env
Name string - Specifies the API environment name. Changing this will create a new trigger resource.
- group
Id string - Specifies the ID of the APIG group to which the API belongs. Changing this will create a new trigger resource.
- instance
Id string - request
Protocol string - Specifies the request protocol of the API. The valid value are HTTP and HTTPS. Default to HTTPS. Changing this will create a new trigger resource.
- security
Authentication string - Specifies the security authentication mode. The valid values are NONE, APP and IAM, default to IAM. Changing this will create a new trigger resource.
- timeout number
- Specifies the timeout for request sending. The valid value is range form
1
to60,000
, default to5,000
. Changing this will create a new trigger resource.
- api_
name str - Specifies the API name. Changing this will create a new trigger resource.
- env_
name str - Specifies the API environment name. Changing this will create a new trigger resource.
- group_
id str - Specifies the ID of the APIG group to which the API belongs. Changing this will create a new trigger resource.
- instance_
id str - request_
protocol str - Specifies the request protocol of the API. The valid value are HTTP and HTTPS. Default to HTTPS. Changing this will create a new trigger resource.
- security_
authentication str - Specifies the security authentication mode. The valid values are NONE, APP and IAM, default to IAM. Changing this will create a new trigger resource.
- timeout float
- Specifies the timeout for request sending. The valid value is range form
1
to60,000
, default to5,000
. Changing this will create a new trigger resource.
- api
Name String - Specifies the API name. Changing this will create a new trigger resource.
- env
Name String - Specifies the API environment name. Changing this will create a new trigger resource.
- group
Id String - Specifies the ID of the APIG group to which the API belongs. Changing this will create a new trigger resource.
- instance
Id String - request
Protocol String - Specifies the request protocol of the API. The valid value are HTTP and HTTPS. Default to HTTPS. Changing this will create a new trigger resource.
- security
Authentication String - Specifies the security authentication mode. The valid values are NONE, APP and IAM, default to IAM. Changing this will create a new trigger resource.
- timeout Number
- Specifies the timeout for request sending. The valid value is range form
1
to60,000
, default to5,000
. Changing this will create a new trigger resource.
FgsTriggerDis, FgsTriggerDisArgs
- Max
Fetch doubleBytes - Specifies the maximum volume of data that can be obtained for a single
request, in Byte. Only the records with a size smaller than this value can be obtained.
The valid value is range from
1,024
to4,194,304
. Changing this will create a new trigger resource. - Pull
Period double - Specifies the interval at which data is pulled from the specified stream.
The valid value is range from
2
to60,000
. Changing this will create a new trigger resource. - Serial
Enable bool Specifies the determines whether to pull data only after the data pulled in the last period has been processed. Changing this will create a new trigger resource.
The
apig
block supports:- Starting
Position string - Specifies the type of starting position for DIS queue.
The valid values are as follows:
- TRIM_HORIZON: Starts reading from the earliest data stored in the partitions.
- LATEST: Starts reading from the latest data stored in the partitions. Changing this will create a new trigger resource.
- Stream
Name string - Specifies the name of the DIS stream resource. Changing this will create a new trigger resource.
- Max
Fetch float64Bytes - Specifies the maximum volume of data that can be obtained for a single
request, in Byte. Only the records with a size smaller than this value can be obtained.
The valid value is range from
1,024
to4,194,304
. Changing this will create a new trigger resource. - Pull
Period float64 - Specifies the interval at which data is pulled from the specified stream.
The valid value is range from
2
to60,000
. Changing this will create a new trigger resource. - Serial
Enable bool Specifies the determines whether to pull data only after the data pulled in the last period has been processed. Changing this will create a new trigger resource.
The
apig
block supports:- Starting
Position string - Specifies the type of starting position for DIS queue.
The valid values are as follows:
- TRIM_HORIZON: Starts reading from the earliest data stored in the partitions.
- LATEST: Starts reading from the latest data stored in the partitions. Changing this will create a new trigger resource.
- Stream
Name string - Specifies the name of the DIS stream resource. Changing this will create a new trigger resource.
- max
Fetch DoubleBytes - Specifies the maximum volume of data that can be obtained for a single
request, in Byte. Only the records with a size smaller than this value can be obtained.
The valid value is range from
1,024
to4,194,304
. Changing this will create a new trigger resource. - pull
Period Double - Specifies the interval at which data is pulled from the specified stream.
The valid value is range from
2
to60,000
. Changing this will create a new trigger resource. - serial
Enable Boolean Specifies the determines whether to pull data only after the data pulled in the last period has been processed. Changing this will create a new trigger resource.
The
apig
block supports:- starting
Position String - Specifies the type of starting position for DIS queue.
The valid values are as follows:
- TRIM_HORIZON: Starts reading from the earliest data stored in the partitions.
- LATEST: Starts reading from the latest data stored in the partitions. Changing this will create a new trigger resource.
- stream
Name String - Specifies the name of the DIS stream resource. Changing this will create a new trigger resource.
- max
Fetch numberBytes - Specifies the maximum volume of data that can be obtained for a single
request, in Byte. Only the records with a size smaller than this value can be obtained.
The valid value is range from
1,024
to4,194,304
. Changing this will create a new trigger resource. - pull
Period number - Specifies the interval at which data is pulled from the specified stream.
The valid value is range from
2
to60,000
. Changing this will create a new trigger resource. - serial
Enable boolean Specifies the determines whether to pull data only after the data pulled in the last period has been processed. Changing this will create a new trigger resource.
The
apig
block supports:- starting
Position string - Specifies the type of starting position for DIS queue.
The valid values are as follows:
- TRIM_HORIZON: Starts reading from the earliest data stored in the partitions.
- LATEST: Starts reading from the latest data stored in the partitions. Changing this will create a new trigger resource.
- stream
Name string - Specifies the name of the DIS stream resource. Changing this will create a new trigger resource.
- max_
fetch_ floatbytes - Specifies the maximum volume of data that can be obtained for a single
request, in Byte. Only the records with a size smaller than this value can be obtained.
The valid value is range from
1,024
to4,194,304
. Changing this will create a new trigger resource. - pull_
period float - Specifies the interval at which data is pulled from the specified stream.
The valid value is range from
2
to60,000
. Changing this will create a new trigger resource. - serial_
enable bool Specifies the determines whether to pull data only after the data pulled in the last period has been processed. Changing this will create a new trigger resource.
The
apig
block supports:- starting_
position str - Specifies the type of starting position for DIS queue.
The valid values are as follows:
- TRIM_HORIZON: Starts reading from the earliest data stored in the partitions.
- LATEST: Starts reading from the latest data stored in the partitions. Changing this will create a new trigger resource.
- stream_
name str - Specifies the name of the DIS stream resource. Changing this will create a new trigger resource.
- max
Fetch NumberBytes - Specifies the maximum volume of data that can be obtained for a single
request, in Byte. Only the records with a size smaller than this value can be obtained.
The valid value is range from
1,024
to4,194,304
. Changing this will create a new trigger resource. - pull
Period Number - Specifies the interval at which data is pulled from the specified stream.
The valid value is range from
2
to60,000
. Changing this will create a new trigger resource. - serial
Enable Boolean Specifies the determines whether to pull data only after the data pulled in the last period has been processed. Changing this will create a new trigger resource.
The
apig
block supports:- starting
Position String - Specifies the type of starting position for DIS queue.
The valid values are as follows:
- TRIM_HORIZON: Starts reading from the earliest data stored in the partitions.
- LATEST: Starts reading from the latest data stored in the partitions. Changing this will create a new trigger resource.
- stream
Name String - Specifies the name of the DIS stream resource. Changing this will create a new trigger resource.
FgsTriggerKafka, FgsTriggerKafkaArgs
- Instance
Id string - Topic
Ids List<string> - Batch
Size double - Password string
- User
Name string
- Instance
Id string - Topic
Ids []string - Batch
Size float64 - Password string
- User
Name string
- instance
Id String - topic
Ids List<String> - batch
Size Double - password String
- user
Name String
- instance
Id string - topic
Ids string[] - batch
Size number - password string
- user
Name string
- instance_
id str - topic_
ids Sequence[str] - batch_
size float - password str
- user_
name str
- instance
Id String - topic
Ids List<String> - batch
Size Number - password String
- user
Name String
FgsTriggerLts, FgsTriggerLtsArgs
- Log
Group stringId - Log
Topic stringId
- Log
Group stringId - Log
Topic stringId
- log
Group StringId - log
Topic StringId
- log
Group stringId - log
Topic stringId
- log_
group_ strid - log_
topic_ strid
- log
Group StringId - log
Topic StringId
FgsTriggerObs, FgsTriggerObsArgs
- Bucket
Name string - Specifies the OBS bucket name. Changing this will create a new trigger resource.
- Event
Notification stringName - Specifies the event notification name. Changing this will create a new trigger resource.
- Events List<string>
Specifies the events that can trigger functions. Changing this will create a new trigger resource. The valid values are as follows:
- ObjectCreated, Put, Post, Copy and CompleteMultipartUpload.
- ObjectRemoved, Delete and DeleteMarkerCreated.
NOTE: If ObjectCreated is configured, Put, Post, Copy and CompleteMultipartUpload cannot be configured. If ObjectRemoved is configured, Delete and DeleteMarkerCreated cannot be configured.
- Prefix string
- Specifies the prefix to limit notifications to objects beginning with this keyword. Changing this will create a new trigger resource.
- Suffix string
Specifies the suffix to limit notifications to objects ending with this keyword. Changing this will create a new trigger resource.
The
smn
block supports:
- Bucket
Name string - Specifies the OBS bucket name. Changing this will create a new trigger resource.
- Event
Notification stringName - Specifies the event notification name. Changing this will create a new trigger resource.
- Events []string
Specifies the events that can trigger functions. Changing this will create a new trigger resource. The valid values are as follows:
- ObjectCreated, Put, Post, Copy and CompleteMultipartUpload.
- ObjectRemoved, Delete and DeleteMarkerCreated.
NOTE: If ObjectCreated is configured, Put, Post, Copy and CompleteMultipartUpload cannot be configured. If ObjectRemoved is configured, Delete and DeleteMarkerCreated cannot be configured.
- Prefix string
- Specifies the prefix to limit notifications to objects beginning with this keyword. Changing this will create a new trigger resource.
- Suffix string
Specifies the suffix to limit notifications to objects ending with this keyword. Changing this will create a new trigger resource.
The
smn
block supports:
- bucket
Name String - Specifies the OBS bucket name. Changing this will create a new trigger resource.
- event
Notification StringName - Specifies the event notification name. Changing this will create a new trigger resource.
- events List<String>
Specifies the events that can trigger functions. Changing this will create a new trigger resource. The valid values are as follows:
- ObjectCreated, Put, Post, Copy and CompleteMultipartUpload.
- ObjectRemoved, Delete and DeleteMarkerCreated.
NOTE: If ObjectCreated is configured, Put, Post, Copy and CompleteMultipartUpload cannot be configured. If ObjectRemoved is configured, Delete and DeleteMarkerCreated cannot be configured.
- prefix String
- Specifies the prefix to limit notifications to objects beginning with this keyword. Changing this will create a new trigger resource.
- suffix String
Specifies the suffix to limit notifications to objects ending with this keyword. Changing this will create a new trigger resource.
The
smn
block supports:
- bucket
Name string - Specifies the OBS bucket name. Changing this will create a new trigger resource.
- event
Notification stringName - Specifies the event notification name. Changing this will create a new trigger resource.
- events string[]
Specifies the events that can trigger functions. Changing this will create a new trigger resource. The valid values are as follows:
- ObjectCreated, Put, Post, Copy and CompleteMultipartUpload.
- ObjectRemoved, Delete and DeleteMarkerCreated.
NOTE: If ObjectCreated is configured, Put, Post, Copy and CompleteMultipartUpload cannot be configured. If ObjectRemoved is configured, Delete and DeleteMarkerCreated cannot be configured.
- prefix string
- Specifies the prefix to limit notifications to objects beginning with this keyword. Changing this will create a new trigger resource.
- suffix string
Specifies the suffix to limit notifications to objects ending with this keyword. Changing this will create a new trigger resource.
The
smn
block supports:
- bucket_
name str - Specifies the OBS bucket name. Changing this will create a new trigger resource.
- event_
notification_ strname - Specifies the event notification name. Changing this will create a new trigger resource.
- events Sequence[str]
Specifies the events that can trigger functions. Changing this will create a new trigger resource. The valid values are as follows:
- ObjectCreated, Put, Post, Copy and CompleteMultipartUpload.
- ObjectRemoved, Delete and DeleteMarkerCreated.
NOTE: If ObjectCreated is configured, Put, Post, Copy and CompleteMultipartUpload cannot be configured. If ObjectRemoved is configured, Delete and DeleteMarkerCreated cannot be configured.
- prefix str
- Specifies the prefix to limit notifications to objects beginning with this keyword. Changing this will create a new trigger resource.
- suffix str
Specifies the suffix to limit notifications to objects ending with this keyword. Changing this will create a new trigger resource.
The
smn
block supports:
- bucket
Name String - Specifies the OBS bucket name. Changing this will create a new trigger resource.
- event
Notification StringName - Specifies the event notification name. Changing this will create a new trigger resource.
- events List<String>
Specifies the events that can trigger functions. Changing this will create a new trigger resource. The valid values are as follows:
- ObjectCreated, Put, Post, Copy and CompleteMultipartUpload.
- ObjectRemoved, Delete and DeleteMarkerCreated.
NOTE: If ObjectCreated is configured, Put, Post, Copy and CompleteMultipartUpload cannot be configured. If ObjectRemoved is configured, Delete and DeleteMarkerCreated cannot be configured.
- prefix String
- Specifies the prefix to limit notifications to objects beginning with this keyword. Changing this will create a new trigger resource.
- suffix String
Specifies the suffix to limit notifications to objects ending with this keyword. Changing this will create a new trigger resource.
The
smn
block supports:
FgsTriggerSmn, FgsTriggerSmnArgs
- Topic
Urn string Specifies the Uniform Resource Name (URN) for SMN topic. Changing this will create a new trigger resource.
The
dis
block supports:
- Topic
Urn string Specifies the Uniform Resource Name (URN) for SMN topic. Changing this will create a new trigger resource.
The
dis
block supports:
- topic
Urn String Specifies the Uniform Resource Name (URN) for SMN topic. Changing this will create a new trigger resource.
The
dis
block supports:
- topic
Urn string Specifies the Uniform Resource Name (URN) for SMN topic. Changing this will create a new trigger resource.
The
dis
block supports:
- topic_
urn str Specifies the Uniform Resource Name (URN) for SMN topic. Changing this will create a new trigger resource.
The
dis
block supports:
- topic
Urn String Specifies the Uniform Resource Name (URN) for SMN topic. Changing this will create a new trigger resource.
The
dis
block supports:
FgsTriggerTimeouts, FgsTriggerTimeoutsArgs
- Update string
- Update string
- update String
- update string
- update str
- update String
FgsTriggerTimer, FgsTriggerTimerArgs
- Name string
- Specifies the trigger name, which can contains of 1 to 64 characters. The name must start with a letter, only letters, digits, hyphens (-) and underscores (_) are allowed. Changing this will create a new trigger resource.
- Schedule string
- Specifies the time schedule. For the rate type, schedule is composed of time and time unit. The time unit supports minutes (m), hours (h) and days (d). For the corn expression, please refer to the User Guide. Changing this will create a new trigger resource.
- Schedule
Type string - Specifies the type of the time schedule. The valid values are Rate and Cron. Changing this will create a new trigger resource.
- Additional
Information string Specifies the event used by the timer to trigger the function. Changing this will create a new trigger resource.
The
obs
block supports:
- Name string
- Specifies the trigger name, which can contains of 1 to 64 characters. The name must start with a letter, only letters, digits, hyphens (-) and underscores (_) are allowed. Changing this will create a new trigger resource.
- Schedule string
- Specifies the time schedule. For the rate type, schedule is composed of time and time unit. The time unit supports minutes (m), hours (h) and days (d). For the corn expression, please refer to the User Guide. Changing this will create a new trigger resource.
- Schedule
Type string - Specifies the type of the time schedule. The valid values are Rate and Cron. Changing this will create a new trigger resource.
- Additional
Information string Specifies the event used by the timer to trigger the function. Changing this will create a new trigger resource.
The
obs
block supports:
- name String
- Specifies the trigger name, which can contains of 1 to 64 characters. The name must start with a letter, only letters, digits, hyphens (-) and underscores (_) are allowed. Changing this will create a new trigger resource.
- schedule String
- Specifies the time schedule. For the rate type, schedule is composed of time and time unit. The time unit supports minutes (m), hours (h) and days (d). For the corn expression, please refer to the User Guide. Changing this will create a new trigger resource.
- schedule
Type String - Specifies the type of the time schedule. The valid values are Rate and Cron. Changing this will create a new trigger resource.
- additional
Information String Specifies the event used by the timer to trigger the function. Changing this will create a new trigger resource.
The
obs
block supports:
- name string
- Specifies the trigger name, which can contains of 1 to 64 characters. The name must start with a letter, only letters, digits, hyphens (-) and underscores (_) are allowed. Changing this will create a new trigger resource.
- schedule string
- Specifies the time schedule. For the rate type, schedule is composed of time and time unit. The time unit supports minutes (m), hours (h) and days (d). For the corn expression, please refer to the User Guide. Changing this will create a new trigger resource.
- schedule
Type string - Specifies the type of the time schedule. The valid values are Rate and Cron. Changing this will create a new trigger resource.
- additional
Information string Specifies the event used by the timer to trigger the function. Changing this will create a new trigger resource.
The
obs
block supports:
- name str
- Specifies the trigger name, which can contains of 1 to 64 characters. The name must start with a letter, only letters, digits, hyphens (-) and underscores (_) are allowed. Changing this will create a new trigger resource.
- schedule str
- Specifies the time schedule. For the rate type, schedule is composed of time and time unit. The time unit supports minutes (m), hours (h) and days (d). For the corn expression, please refer to the User Guide. Changing this will create a new trigger resource.
- schedule_
type str - Specifies the type of the time schedule. The valid values are Rate and Cron. Changing this will create a new trigger resource.
- additional_
information str Specifies the event used by the timer to trigger the function. Changing this will create a new trigger resource.
The
obs
block supports:
- name String
- Specifies the trigger name, which can contains of 1 to 64 characters. The name must start with a letter, only letters, digits, hyphens (-) and underscores (_) are allowed. Changing this will create a new trigger resource.
- schedule String
- Specifies the time schedule. For the rate type, schedule is composed of time and time unit. The time unit supports minutes (m), hours (h) and days (d). For the corn expression, please refer to the User Guide. Changing this will create a new trigger resource.
- schedule
Type String - Specifies the type of the time schedule. The valid values are Rate and Cron. Changing this will create a new trigger resource.
- additional
Information String Specifies the event used by the timer to trigger the function. Changing this will create a new trigger resource.
The
obs
block supports:
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.