Provides a Event Bridge Event Source V2 resource.
For information about Event Bridge Event Source V2 and how to use it, see What is Event Source V2.
NOTE: Available since v1.269.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = new random.index.Integer("default", {
min: 10000,
max: 99999,
});
const defaultEventBus = new alicloud.eventbridge.EventBus("default", {eventBusName: `${name}-${_default.result}`});
const defaultEventSourceV2 = new alicloud.eventbridge.EventSourceV2("default", {
eventBusName: defaultEventBus.eventBusName,
eventSourceName: `${name}-${_default.result}`,
description: name,
linkedExternalSource: true,
sourceHttpEventParameters: {
type: "HTTP",
securityConfig: "referer",
methods: [
"GET",
"POST",
"DELETE",
],
referers: [
"www.aliyun.com",
"www.alicloud.com",
"www.taobao.com",
],
},
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = random.index.Integer("default",
min=10000,
max=99999)
default_event_bus = alicloud.eventbridge.EventBus("default", event_bus_name=f"{name}-{default['result']}")
default_event_source_v2 = alicloud.eventbridge.EventSourceV2("default",
event_bus_name=default_event_bus.event_bus_name,
event_source_name=f"{name}-{default['result']}",
description=name,
linked_external_source=True,
source_http_event_parameters={
"type": "HTTP",
"security_config": "referer",
"methods": [
"GET",
"POST",
"DELETE",
],
"referers": [
"www.aliyun.com",
"www.alicloud.com",
"www.taobao.com",
],
})
package main
import (
"fmt"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eventbridge"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"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, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
Min: 10000,
Max: 99999,
})
if err != nil {
return err
}
defaultEventBus, err := eventbridge.NewEventBus(ctx, "default", &eventbridge.EventBusArgs{
EventBusName: pulumi.Sprintf("%v-%v", name, _default.Result),
})
if err != nil {
return err
}
_, err = eventbridge.NewEventSourceV2(ctx, "default", &eventbridge.EventSourceV2Args{
EventBusName: defaultEventBus.EventBusName,
EventSourceName: pulumi.Sprintf("%v-%v", name, _default.Result),
Description: pulumi.String(name),
LinkedExternalSource: pulumi.Bool(true),
SourceHttpEventParameters: &eventbridge.EventSourceV2SourceHttpEventParametersArgs{
Type: pulumi.String("HTTP"),
SecurityConfig: pulumi.String("referer"),
Methods: pulumi.StringArray{
pulumi.String("GET"),
pulumi.String("POST"),
pulumi.String("DELETE"),
},
Referers: pulumi.StringArray{
pulumi.String("www.aliyun.com"),
pulumi.String("www.alicloud.com"),
pulumi.String("www.taobao.com"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = new Random.Index.Integer("default", new()
{
Min = 10000,
Max = 99999,
});
var defaultEventBus = new AliCloud.EventBridge.EventBus("default", new()
{
EventBusName = $"{name}-{@default.Result}",
});
var defaultEventSourceV2 = new AliCloud.EventBridge.EventSourceV2("default", new()
{
EventBusName = defaultEventBus.EventBusName,
EventSourceName = $"{name}-{@default.Result}",
Description = name,
LinkedExternalSource = true,
SourceHttpEventParameters = new AliCloud.EventBridge.Inputs.EventSourceV2SourceHttpEventParametersArgs
{
Type = "HTTP",
SecurityConfig = "referer",
Methods = new[]
{
"GET",
"POST",
"DELETE",
},
Referers = new[]
{
"www.aliyun.com",
"www.alicloud.com",
"www.taobao.com",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.random.Integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.eventbridge.EventBus;
import com.pulumi.alicloud.eventbridge.EventBusArgs;
import com.pulumi.alicloud.eventbridge.EventSourceV2;
import com.pulumi.alicloud.eventbridge.EventSourceV2Args;
import com.pulumi.alicloud.eventbridge.inputs.EventSourceV2SourceHttpEventParametersArgs;
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 name = config.get("name").orElse("terraform-example");
var default_ = new Integer("default", IntegerArgs.builder()
.min(10000)
.max(99999)
.build());
var defaultEventBus = new EventBus("defaultEventBus", EventBusArgs.builder()
.eventBusName(String.format("%s-%s", name,default_.result()))
.build());
var defaultEventSourceV2 = new EventSourceV2("defaultEventSourceV2", EventSourceV2Args.builder()
.eventBusName(defaultEventBus.eventBusName())
.eventSourceName(String.format("%s-%s", name,default_.result()))
.description(name)
.linkedExternalSource(true)
.sourceHttpEventParameters(EventSourceV2SourceHttpEventParametersArgs.builder()
.type("HTTP")
.securityConfig("referer")
.methods(
"GET",
"POST",
"DELETE")
.referers(
"www.aliyun.com",
"www.alicloud.com",
"www.taobao.com")
.build())
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
default:
type: random:Integer
properties:
min: 10000
max: 99999
defaultEventBus:
type: alicloud:eventbridge:EventBus
name: default
properties:
eventBusName: ${name}-${default.result}
defaultEventSourceV2:
type: alicloud:eventbridge:EventSourceV2
name: default
properties:
eventBusName: ${defaultEventBus.eventBusName}
eventSourceName: ${name}-${default.result}
description: ${name}
linkedExternalSource: true
sourceHttpEventParameters:
type: HTTP
securityConfig: referer
methods:
- GET
- POST
- DELETE
referers:
- www.aliyun.com
- www.alicloud.com
- www.taobao.com
📚 Need more examples? VIEW MORE EXAMPLES
Create EventSourceV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventSourceV2(name: string, args: EventSourceV2Args, opts?: CustomResourceOptions);@overload
def EventSourceV2(resource_name: str,
args: EventSourceV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def EventSourceV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
event_bus_name: Optional[str] = None,
event_source_name: Optional[str] = None,
description: Optional[str] = None,
linked_external_source: Optional[bool] = None,
source_http_event_parameters: Optional[EventSourceV2SourceHttpEventParametersArgs] = None,
source_kafka_parameters: Optional[EventSourceV2SourceKafkaParametersArgs] = None,
source_mns_parameters: Optional[EventSourceV2SourceMnsParametersArgs] = None,
source_oss_event_parameters: Optional[EventSourceV2SourceOssEventParametersArgs] = None,
source_rabbit_mq_parameters: Optional[EventSourceV2SourceRabbitMqParametersArgs] = None,
source_rocketmq_parameters: Optional[EventSourceV2SourceRocketmqParametersArgs] = None,
source_scheduled_event_parameters: Optional[EventSourceV2SourceScheduledEventParametersArgs] = None,
source_sls_parameters: Optional[EventSourceV2SourceSlsParametersArgs] = None)func NewEventSourceV2(ctx *Context, name string, args EventSourceV2Args, opts ...ResourceOption) (*EventSourceV2, error)public EventSourceV2(string name, EventSourceV2Args args, CustomResourceOptions? opts = null)
public EventSourceV2(String name, EventSourceV2Args args)
public EventSourceV2(String name, EventSourceV2Args args, CustomResourceOptions options)
type: alicloud:eventbridge:EventSourceV2
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 EventSourceV2Args
- 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 EventSourceV2Args
- 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 EventSourceV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventSourceV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventSourceV2Args
- 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 eventSourceV2Resource = new AliCloud.EventBridge.EventSourceV2("eventSourceV2Resource", new()
{
EventBusName = "string",
EventSourceName = "string",
Description = "string",
LinkedExternalSource = false,
SourceHttpEventParameters = new AliCloud.EventBridge.Inputs.EventSourceV2SourceHttpEventParametersArgs
{
Ips = new[]
{
"string",
},
Methods = new[]
{
"string",
},
PublicWebHookUrls = new[]
{
"string",
},
Referers = new[]
{
"string",
},
SecurityConfig = "string",
Type = "string",
VpcWebHookUrls = new[]
{
"string",
},
},
SourceKafkaParameters = new AliCloud.EventBridge.Inputs.EventSourceV2SourceKafkaParametersArgs
{
ConsumerGroup = "string",
InstanceId = "string",
Network = "string",
OffsetReset = "string",
RegionId = "string",
SecurityGroupId = "string",
Topic = "string",
VpcId = "string",
VswitchIds = "string",
},
SourceMnsParameters = new AliCloud.EventBridge.Inputs.EventSourceV2SourceMnsParametersArgs
{
IsBase64Decode = false,
QueueName = "string",
RegionId = "string",
},
SourceOssEventParameters = new AliCloud.EventBridge.Inputs.EventSourceV2SourceOssEventParametersArgs
{
EventTypes = new[]
{
"string",
},
MatchRules = new[]
{
new[]
{
new AliCloud.EventBridge.Inputs.EventSourceV2SourceOssEventParametersMatchRuleArgs
{
MatchState = "string",
Name = "string",
Prefix = "string",
Suffix = "string",
},
},
},
StsRoleArn = "string",
},
SourceRabbitMqParameters = new AliCloud.EventBridge.Inputs.EventSourceV2SourceRabbitMqParametersArgs
{
InstanceId = "string",
QueueName = "string",
RegionId = "string",
VirtualHostName = "string",
},
SourceRocketmqParameters = new AliCloud.EventBridge.Inputs.EventSourceV2SourceRocketmqParametersArgs
{
AuthType = "string",
GroupId = "string",
InstanceEndpoint = "string",
InstanceId = "string",
InstanceNetwork = "string",
InstancePassword = "string",
InstanceSecurityGroupId = "string",
InstanceType = "string",
InstanceUsername = "string",
InstanceVpcId = "string",
InstanceVswitchIds = "string",
Offset = "string",
RegionId = "string",
Tag = "string",
Timestamp = 0,
Topic = "string",
},
SourceScheduledEventParameters = new AliCloud.EventBridge.Inputs.EventSourceV2SourceScheduledEventParametersArgs
{
Schedule = "string",
TimeZone = "string",
UserData = "string",
},
SourceSlsParameters = new AliCloud.EventBridge.Inputs.EventSourceV2SourceSlsParametersArgs
{
ConsumePosition = "string",
LogStore = "string",
Project = "string",
RoleName = "string",
},
});
example, err := eventbridge.NewEventSourceV2(ctx, "eventSourceV2Resource", &eventbridge.EventSourceV2Args{
EventBusName: pulumi.String("string"),
EventSourceName: pulumi.String("string"),
Description: pulumi.String("string"),
LinkedExternalSource: pulumi.Bool(false),
SourceHttpEventParameters: &eventbridge.EventSourceV2SourceHttpEventParametersArgs{
Ips: pulumi.StringArray{
pulumi.String("string"),
},
Methods: pulumi.StringArray{
pulumi.String("string"),
},
PublicWebHookUrls: pulumi.StringArray{
pulumi.String("string"),
},
Referers: pulumi.StringArray{
pulumi.String("string"),
},
SecurityConfig: pulumi.String("string"),
Type: pulumi.String("string"),
VpcWebHookUrls: pulumi.StringArray{
pulumi.String("string"),
},
},
SourceKafkaParameters: &eventbridge.EventSourceV2SourceKafkaParametersArgs{
ConsumerGroup: pulumi.String("string"),
InstanceId: pulumi.String("string"),
Network: pulumi.String("string"),
OffsetReset: pulumi.String("string"),
RegionId: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
Topic: pulumi.String("string"),
VpcId: pulumi.String("string"),
VswitchIds: pulumi.String("string"),
},
SourceMnsParameters: &eventbridge.EventSourceV2SourceMnsParametersArgs{
IsBase64Decode: pulumi.Bool(false),
QueueName: pulumi.String("string"),
RegionId: pulumi.String("string"),
},
SourceOssEventParameters: &eventbridge.EventSourceV2SourceOssEventParametersArgs{
EventTypes: pulumi.StringArray{
pulumi.String("string"),
},
MatchRules: eventbridge.EventSourceV2SourceOssEventParametersMatchRuleArrayArray{
eventbridge.EventSourceV2SourceOssEventParametersMatchRuleArray{
&eventbridge.EventSourceV2SourceOssEventParametersMatchRuleArgs{
MatchState: pulumi.String("string"),
Name: pulumi.String("string"),
Prefix: pulumi.String("string"),
Suffix: pulumi.String("string"),
},
},
},
StsRoleArn: pulumi.String("string"),
},
SourceRabbitMqParameters: &eventbridge.EventSourceV2SourceRabbitMqParametersArgs{
InstanceId: pulumi.String("string"),
QueueName: pulumi.String("string"),
RegionId: pulumi.String("string"),
VirtualHostName: pulumi.String("string"),
},
SourceRocketmqParameters: &eventbridge.EventSourceV2SourceRocketmqParametersArgs{
AuthType: pulumi.String("string"),
GroupId: pulumi.String("string"),
InstanceEndpoint: pulumi.String("string"),
InstanceId: pulumi.String("string"),
InstanceNetwork: pulumi.String("string"),
InstancePassword: pulumi.String("string"),
InstanceSecurityGroupId: pulumi.String("string"),
InstanceType: pulumi.String("string"),
InstanceUsername: pulumi.String("string"),
InstanceVpcId: pulumi.String("string"),
InstanceVswitchIds: pulumi.String("string"),
Offset: pulumi.String("string"),
RegionId: pulumi.String("string"),
Tag: pulumi.String("string"),
Timestamp: pulumi.Float64(0),
Topic: pulumi.String("string"),
},
SourceScheduledEventParameters: &eventbridge.EventSourceV2SourceScheduledEventParametersArgs{
Schedule: pulumi.String("string"),
TimeZone: pulumi.String("string"),
UserData: pulumi.String("string"),
},
SourceSlsParameters: &eventbridge.EventSourceV2SourceSlsParametersArgs{
ConsumePosition: pulumi.String("string"),
LogStore: pulumi.String("string"),
Project: pulumi.String("string"),
RoleName: pulumi.String("string"),
},
})
var eventSourceV2Resource = new EventSourceV2("eventSourceV2Resource", EventSourceV2Args.builder()
.eventBusName("string")
.eventSourceName("string")
.description("string")
.linkedExternalSource(false)
.sourceHttpEventParameters(EventSourceV2SourceHttpEventParametersArgs.builder()
.ips("string")
.methods("string")
.publicWebHookUrls("string")
.referers("string")
.securityConfig("string")
.type("string")
.vpcWebHookUrls("string")
.build())
.sourceKafkaParameters(EventSourceV2SourceKafkaParametersArgs.builder()
.consumerGroup("string")
.instanceId("string")
.network("string")
.offsetReset("string")
.regionId("string")
.securityGroupId("string")
.topic("string")
.vpcId("string")
.vswitchIds("string")
.build())
.sourceMnsParameters(EventSourceV2SourceMnsParametersArgs.builder()
.isBase64Decode(false)
.queueName("string")
.regionId("string")
.build())
.sourceOssEventParameters(EventSourceV2SourceOssEventParametersArgs.builder()
.eventTypes("string")
.matchRules(EventSourceV2SourceOssEventParametersMatchRuleArgs.builder()
.matchState("string")
.name("string")
.prefix("string")
.suffix("string")
.build())
.stsRoleArn("string")
.build())
.sourceRabbitMqParameters(EventSourceV2SourceRabbitMqParametersArgs.builder()
.instanceId("string")
.queueName("string")
.regionId("string")
.virtualHostName("string")
.build())
.sourceRocketmqParameters(EventSourceV2SourceRocketmqParametersArgs.builder()
.authType("string")
.groupId("string")
.instanceEndpoint("string")
.instanceId("string")
.instanceNetwork("string")
.instancePassword("string")
.instanceSecurityGroupId("string")
.instanceType("string")
.instanceUsername("string")
.instanceVpcId("string")
.instanceVswitchIds("string")
.offset("string")
.regionId("string")
.tag("string")
.timestamp(0.0)
.topic("string")
.build())
.sourceScheduledEventParameters(EventSourceV2SourceScheduledEventParametersArgs.builder()
.schedule("string")
.timeZone("string")
.userData("string")
.build())
.sourceSlsParameters(EventSourceV2SourceSlsParametersArgs.builder()
.consumePosition("string")
.logStore("string")
.project("string")
.roleName("string")
.build())
.build());
event_source_v2_resource = alicloud.eventbridge.EventSourceV2("eventSourceV2Resource",
event_bus_name="string",
event_source_name="string",
description="string",
linked_external_source=False,
source_http_event_parameters={
"ips": ["string"],
"methods": ["string"],
"public_web_hook_urls": ["string"],
"referers": ["string"],
"security_config": "string",
"type": "string",
"vpc_web_hook_urls": ["string"],
},
source_kafka_parameters={
"consumer_group": "string",
"instance_id": "string",
"network": "string",
"offset_reset": "string",
"region_id": "string",
"security_group_id": "string",
"topic": "string",
"vpc_id": "string",
"vswitch_ids": "string",
},
source_mns_parameters={
"is_base64_decode": False,
"queue_name": "string",
"region_id": "string",
},
source_oss_event_parameters={
"event_types": ["string"],
"match_rules": [[{
"match_state": "string",
"name": "string",
"prefix": "string",
"suffix": "string",
}]],
"sts_role_arn": "string",
},
source_rabbit_mq_parameters={
"instance_id": "string",
"queue_name": "string",
"region_id": "string",
"virtual_host_name": "string",
},
source_rocketmq_parameters={
"auth_type": "string",
"group_id": "string",
"instance_endpoint": "string",
"instance_id": "string",
"instance_network": "string",
"instance_password": "string",
"instance_security_group_id": "string",
"instance_type": "string",
"instance_username": "string",
"instance_vpc_id": "string",
"instance_vswitch_ids": "string",
"offset": "string",
"region_id": "string",
"tag": "string",
"timestamp": 0,
"topic": "string",
},
source_scheduled_event_parameters={
"schedule": "string",
"time_zone": "string",
"user_data": "string",
},
source_sls_parameters={
"consume_position": "string",
"log_store": "string",
"project": "string",
"role_name": "string",
})
const eventSourceV2Resource = new alicloud.eventbridge.EventSourceV2("eventSourceV2Resource", {
eventBusName: "string",
eventSourceName: "string",
description: "string",
linkedExternalSource: false,
sourceHttpEventParameters: {
ips: ["string"],
methods: ["string"],
publicWebHookUrls: ["string"],
referers: ["string"],
securityConfig: "string",
type: "string",
vpcWebHookUrls: ["string"],
},
sourceKafkaParameters: {
consumerGroup: "string",
instanceId: "string",
network: "string",
offsetReset: "string",
regionId: "string",
securityGroupId: "string",
topic: "string",
vpcId: "string",
vswitchIds: "string",
},
sourceMnsParameters: {
isBase64Decode: false,
queueName: "string",
regionId: "string",
},
sourceOssEventParameters: {
eventTypes: ["string"],
matchRules: [[{
matchState: "string",
name: "string",
prefix: "string",
suffix: "string",
}]],
stsRoleArn: "string",
},
sourceRabbitMqParameters: {
instanceId: "string",
queueName: "string",
regionId: "string",
virtualHostName: "string",
},
sourceRocketmqParameters: {
authType: "string",
groupId: "string",
instanceEndpoint: "string",
instanceId: "string",
instanceNetwork: "string",
instancePassword: "string",
instanceSecurityGroupId: "string",
instanceType: "string",
instanceUsername: "string",
instanceVpcId: "string",
instanceVswitchIds: "string",
offset: "string",
regionId: "string",
tag: "string",
timestamp: 0,
topic: "string",
},
sourceScheduledEventParameters: {
schedule: "string",
timeZone: "string",
userData: "string",
},
sourceSlsParameters: {
consumePosition: "string",
logStore: "string",
project: "string",
roleName: "string",
},
});
type: alicloud:eventbridge:EventSourceV2
properties:
description: string
eventBusName: string
eventSourceName: string
linkedExternalSource: false
sourceHttpEventParameters:
ips:
- string
methods:
- string
publicWebHookUrls:
- string
referers:
- string
securityConfig: string
type: string
vpcWebHookUrls:
- string
sourceKafkaParameters:
consumerGroup: string
instanceId: string
network: string
offsetReset: string
regionId: string
securityGroupId: string
topic: string
vpcId: string
vswitchIds: string
sourceMnsParameters:
isBase64Decode: false
queueName: string
regionId: string
sourceOssEventParameters:
eventTypes:
- string
matchRules:
- - matchState: string
name: string
prefix: string
suffix: string
stsRoleArn: string
sourceRabbitMqParameters:
instanceId: string
queueName: string
regionId: string
virtualHostName: string
sourceRocketmqParameters:
authType: string
groupId: string
instanceEndpoint: string
instanceId: string
instanceNetwork: string
instancePassword: string
instanceSecurityGroupId: string
instanceType: string
instanceUsername: string
instanceVpcId: string
instanceVswitchIds: string
offset: string
regionId: string
tag: string
timestamp: 0
topic: string
sourceScheduledEventParameters:
schedule: string
timeZone: string
userData: string
sourceSlsParameters:
consumePosition: string
logStore: string
project: string
roleName: string
EventSourceV2 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 EventSourceV2 resource accepts the following input properties:
- Event
Bus stringName - Name of the bus associated with the event source
- Event
Source stringName - The code name of event source
- Description string
- The detail describe of event source
- Linked
External boolSource - Source
Http Pulumi.Event Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Http Event Parameters - The request parameter SourceHttpEventParameters. See
source_http_event_parametersbelow. - Source
Kafka Pulumi.Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Kafka Parameters - Kafka event source parameter. See
source_kafka_parametersbelow. - Source
Mns Pulumi.Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Mns Parameters - Lightweight message queue (formerly MNS) event source parameter. See
source_mns_parametersbelow. - Source
Oss Pulumi.Event Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Oss Event Parameters - OSS event source parameters See
source_oss_event_parametersbelow. - Source
Rabbit Pulumi.Mq Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Rabbit Mq Parameters - The request parameter SourceRabbitMQParameters. See
source_rabbit_mq_parametersbelow. - Source
Rocketmq Pulumi.Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Rocketmq Parameters - The request parameter SourceRocketMQParameters. See
source_rocketmq_parametersbelow. - Source
Scheduled Pulumi.Event Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Scheduled Event Parameters - Time event source parameter. See
source_scheduled_event_parametersbelow. - Source
Sls Pulumi.Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Sls Parameters - The request parameter SourceSLSParameters. See
source_sls_parametersbelow.
- Event
Bus stringName - Name of the bus associated with the event source
- Event
Source stringName - The code name of event source
- Description string
- The detail describe of event source
- Linked
External boolSource - Source
Http EventEvent Parameters Source V2Source Http Event Parameters Args - The request parameter SourceHttpEventParameters. See
source_http_event_parametersbelow. - Source
Kafka EventParameters Source V2Source Kafka Parameters Args - Kafka event source parameter. See
source_kafka_parametersbelow. - Source
Mns EventParameters Source V2Source Mns Parameters Args - Lightweight message queue (formerly MNS) event source parameter. See
source_mns_parametersbelow. - Source
Oss EventEvent Parameters Source V2Source Oss Event Parameters Args - OSS event source parameters See
source_oss_event_parametersbelow. - Source
Rabbit EventMq Parameters Source V2Source Rabbit Mq Parameters Args - The request parameter SourceRabbitMQParameters. See
source_rabbit_mq_parametersbelow. - Source
Rocketmq EventParameters Source V2Source Rocketmq Parameters Args - The request parameter SourceRocketMQParameters. See
source_rocketmq_parametersbelow. - Source
Scheduled EventEvent Parameters Source V2Source Scheduled Event Parameters Args - Time event source parameter. See
source_scheduled_event_parametersbelow. - Source
Sls EventParameters Source V2Source Sls Parameters Args - The request parameter SourceSLSParameters. See
source_sls_parametersbelow.
- event
Bus StringName - Name of the bus associated with the event source
- event
Source StringName - The code name of event source
- description String
- The detail describe of event source
- linked
External BooleanSource - source
Http EventEvent Parameters Source V2Source Http Event Parameters - The request parameter SourceHttpEventParameters. See
source_http_event_parametersbelow. - source
Kafka EventParameters Source V2Source Kafka Parameters - Kafka event source parameter. See
source_kafka_parametersbelow. - source
Mns EventParameters Source V2Source Mns Parameters - Lightweight message queue (formerly MNS) event source parameter. See
source_mns_parametersbelow. - source
Oss EventEvent Parameters Source V2Source Oss Event Parameters - OSS event source parameters See
source_oss_event_parametersbelow. - source
Rabbit EventMq Parameters Source V2Source Rabbit Mq Parameters - The request parameter SourceRabbitMQParameters. See
source_rabbit_mq_parametersbelow. - source
Rocketmq EventParameters Source V2Source Rocketmq Parameters - The request parameter SourceRocketMQParameters. See
source_rocketmq_parametersbelow. - source
Scheduled EventEvent Parameters Source V2Source Scheduled Event Parameters - Time event source parameter. See
source_scheduled_event_parametersbelow. - source
Sls EventParameters Source V2Source Sls Parameters - The request parameter SourceSLSParameters. See
source_sls_parametersbelow.
- event
Bus stringName - Name of the bus associated with the event source
- event
Source stringName - The code name of event source
- description string
- The detail describe of event source
- linked
External booleanSource - source
Http EventEvent Parameters Source V2Source Http Event Parameters - The request parameter SourceHttpEventParameters. See
source_http_event_parametersbelow. - source
Kafka EventParameters Source V2Source Kafka Parameters - Kafka event source parameter. See
source_kafka_parametersbelow. - source
Mns EventParameters Source V2Source Mns Parameters - Lightweight message queue (formerly MNS) event source parameter. See
source_mns_parametersbelow. - source
Oss EventEvent Parameters Source V2Source Oss Event Parameters - OSS event source parameters See
source_oss_event_parametersbelow. - source
Rabbit EventMq Parameters Source V2Source Rabbit Mq Parameters - The request parameter SourceRabbitMQParameters. See
source_rabbit_mq_parametersbelow. - source
Rocketmq EventParameters Source V2Source Rocketmq Parameters - The request parameter SourceRocketMQParameters. See
source_rocketmq_parametersbelow. - source
Scheduled EventEvent Parameters Source V2Source Scheduled Event Parameters - Time event source parameter. See
source_scheduled_event_parametersbelow. - source
Sls EventParameters Source V2Source Sls Parameters - The request parameter SourceSLSParameters. See
source_sls_parametersbelow.
- event_
bus_ strname - Name of the bus associated with the event source
- event_
source_ strname - The code name of event source
- description str
- The detail describe of event source
- linked_
external_ boolsource - source_
http_ Eventevent_ parameters Source V2Source Http Event Parameters Args - The request parameter SourceHttpEventParameters. See
source_http_event_parametersbelow. - source_
kafka_ Eventparameters Source V2Source Kafka Parameters Args - Kafka event source parameter. See
source_kafka_parametersbelow. - source_
mns_ Eventparameters Source V2Source Mns Parameters Args - Lightweight message queue (formerly MNS) event source parameter. See
source_mns_parametersbelow. - source_
oss_ Eventevent_ parameters Source V2Source Oss Event Parameters Args - OSS event source parameters See
source_oss_event_parametersbelow. - source_
rabbit_ Eventmq_ parameters Source V2Source Rabbit Mq Parameters Args - The request parameter SourceRabbitMQParameters. See
source_rabbit_mq_parametersbelow. - source_
rocketmq_ Eventparameters Source V2Source Rocketmq Parameters Args - The request parameter SourceRocketMQParameters. See
source_rocketmq_parametersbelow. - source_
scheduled_ Eventevent_ parameters Source V2Source Scheduled Event Parameters Args - Time event source parameter. See
source_scheduled_event_parametersbelow. - source_
sls_ Eventparameters Source V2Source Sls Parameters Args - The request parameter SourceSLSParameters. See
source_sls_parametersbelow.
- event
Bus StringName - Name of the bus associated with the event source
- event
Source StringName - The code name of event source
- description String
- The detail describe of event source
- linked
External BooleanSource - source
Http Property MapEvent Parameters - The request parameter SourceHttpEventParameters. See
source_http_event_parametersbelow. - source
Kafka Property MapParameters - Kafka event source parameter. See
source_kafka_parametersbelow. - source
Mns Property MapParameters - Lightweight message queue (formerly MNS) event source parameter. See
source_mns_parametersbelow. - source
Oss Property MapEvent Parameters - OSS event source parameters See
source_oss_event_parametersbelow. - source
Rabbit Property MapMq Parameters - The request parameter SourceRabbitMQParameters. See
source_rabbit_mq_parametersbelow. - source
Rocketmq Property MapParameters - The request parameter SourceRocketMQParameters. See
source_rocketmq_parametersbelow. - source
Scheduled Property MapEvent Parameters - Time event source parameter. See
source_scheduled_event_parametersbelow. - source
Sls Property MapParameters - The request parameter SourceSLSParameters. See
source_sls_parametersbelow.
Outputs
All input properties are implicitly available as output properties. Additionally, the EventSourceV2 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 EventSourceV2 Resource
Get an existing EventSourceV2 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?: EventSourceV2State, opts?: CustomResourceOptions): EventSourceV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
event_bus_name: Optional[str] = None,
event_source_name: Optional[str] = None,
linked_external_source: Optional[bool] = None,
source_http_event_parameters: Optional[EventSourceV2SourceHttpEventParametersArgs] = None,
source_kafka_parameters: Optional[EventSourceV2SourceKafkaParametersArgs] = None,
source_mns_parameters: Optional[EventSourceV2SourceMnsParametersArgs] = None,
source_oss_event_parameters: Optional[EventSourceV2SourceOssEventParametersArgs] = None,
source_rabbit_mq_parameters: Optional[EventSourceV2SourceRabbitMqParametersArgs] = None,
source_rocketmq_parameters: Optional[EventSourceV2SourceRocketmqParametersArgs] = None,
source_scheduled_event_parameters: Optional[EventSourceV2SourceScheduledEventParametersArgs] = None,
source_sls_parameters: Optional[EventSourceV2SourceSlsParametersArgs] = None) -> EventSourceV2func GetEventSourceV2(ctx *Context, name string, id IDInput, state *EventSourceV2State, opts ...ResourceOption) (*EventSourceV2, error)public static EventSourceV2 Get(string name, Input<string> id, EventSourceV2State? state, CustomResourceOptions? opts = null)public static EventSourceV2 get(String name, Output<String> id, EventSourceV2State state, CustomResourceOptions options)resources: _: type: alicloud:eventbridge:EventSourceV2 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.
- Description string
- The detail describe of event source
- Event
Bus stringName - Name of the bus associated with the event source
- Event
Source stringName - The code name of event source
- Linked
External boolSource - Source
Http Pulumi.Event Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Http Event Parameters - The request parameter SourceHttpEventParameters. See
source_http_event_parametersbelow. - Source
Kafka Pulumi.Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Kafka Parameters - Kafka event source parameter. See
source_kafka_parametersbelow. - Source
Mns Pulumi.Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Mns Parameters - Lightweight message queue (formerly MNS) event source parameter. See
source_mns_parametersbelow. - Source
Oss Pulumi.Event Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Oss Event Parameters - OSS event source parameters See
source_oss_event_parametersbelow. - Source
Rabbit Pulumi.Mq Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Rabbit Mq Parameters - The request parameter SourceRabbitMQParameters. See
source_rabbit_mq_parametersbelow. - Source
Rocketmq Pulumi.Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Rocketmq Parameters - The request parameter SourceRocketMQParameters. See
source_rocketmq_parametersbelow. - Source
Scheduled Pulumi.Event Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Scheduled Event Parameters - Time event source parameter. See
source_scheduled_event_parametersbelow. - Source
Sls Pulumi.Parameters Ali Cloud. Event Bridge. Inputs. Event Source V2Source Sls Parameters - The request parameter SourceSLSParameters. See
source_sls_parametersbelow.
- Description string
- The detail describe of event source
- Event
Bus stringName - Name of the bus associated with the event source
- Event
Source stringName - The code name of event source
- Linked
External boolSource - Source
Http EventEvent Parameters Source V2Source Http Event Parameters Args - The request parameter SourceHttpEventParameters. See
source_http_event_parametersbelow. - Source
Kafka EventParameters Source V2Source Kafka Parameters Args - Kafka event source parameter. See
source_kafka_parametersbelow. - Source
Mns EventParameters Source V2Source Mns Parameters Args - Lightweight message queue (formerly MNS) event source parameter. See
source_mns_parametersbelow. - Source
Oss EventEvent Parameters Source V2Source Oss Event Parameters Args - OSS event source parameters See
source_oss_event_parametersbelow. - Source
Rabbit EventMq Parameters Source V2Source Rabbit Mq Parameters Args - The request parameter SourceRabbitMQParameters. See
source_rabbit_mq_parametersbelow. - Source
Rocketmq EventParameters Source V2Source Rocketmq Parameters Args - The request parameter SourceRocketMQParameters. See
source_rocketmq_parametersbelow. - Source
Scheduled EventEvent Parameters Source V2Source Scheduled Event Parameters Args - Time event source parameter. See
source_scheduled_event_parametersbelow. - Source
Sls EventParameters Source V2Source Sls Parameters Args - The request parameter SourceSLSParameters. See
source_sls_parametersbelow.
- description String
- The detail describe of event source
- event
Bus StringName - Name of the bus associated with the event source
- event
Source StringName - The code name of event source
- linked
External BooleanSource - source
Http EventEvent Parameters Source V2Source Http Event Parameters - The request parameter SourceHttpEventParameters. See
source_http_event_parametersbelow. - source
Kafka EventParameters Source V2Source Kafka Parameters - Kafka event source parameter. See
source_kafka_parametersbelow. - source
Mns EventParameters Source V2Source Mns Parameters - Lightweight message queue (formerly MNS) event source parameter. See
source_mns_parametersbelow. - source
Oss EventEvent Parameters Source V2Source Oss Event Parameters - OSS event source parameters See
source_oss_event_parametersbelow. - source
Rabbit EventMq Parameters Source V2Source Rabbit Mq Parameters - The request parameter SourceRabbitMQParameters. See
source_rabbit_mq_parametersbelow. - source
Rocketmq EventParameters Source V2Source Rocketmq Parameters - The request parameter SourceRocketMQParameters. See
source_rocketmq_parametersbelow. - source
Scheduled EventEvent Parameters Source V2Source Scheduled Event Parameters - Time event source parameter. See
source_scheduled_event_parametersbelow. - source
Sls EventParameters Source V2Source Sls Parameters - The request parameter SourceSLSParameters. See
source_sls_parametersbelow.
- description string
- The detail describe of event source
- event
Bus stringName - Name of the bus associated with the event source
- event
Source stringName - The code name of event source
- linked
External booleanSource - source
Http EventEvent Parameters Source V2Source Http Event Parameters - The request parameter SourceHttpEventParameters. See
source_http_event_parametersbelow. - source
Kafka EventParameters Source V2Source Kafka Parameters - Kafka event source parameter. See
source_kafka_parametersbelow. - source
Mns EventParameters Source V2Source Mns Parameters - Lightweight message queue (formerly MNS) event source parameter. See
source_mns_parametersbelow. - source
Oss EventEvent Parameters Source V2Source Oss Event Parameters - OSS event source parameters See
source_oss_event_parametersbelow. - source
Rabbit EventMq Parameters Source V2Source Rabbit Mq Parameters - The request parameter SourceRabbitMQParameters. See
source_rabbit_mq_parametersbelow. - source
Rocketmq EventParameters Source V2Source Rocketmq Parameters - The request parameter SourceRocketMQParameters. See
source_rocketmq_parametersbelow. - source
Scheduled EventEvent Parameters Source V2Source Scheduled Event Parameters - Time event source parameter. See
source_scheduled_event_parametersbelow. - source
Sls EventParameters Source V2Source Sls Parameters - The request parameter SourceSLSParameters. See
source_sls_parametersbelow.
- description str
- The detail describe of event source
- event_
bus_ strname - Name of the bus associated with the event source
- event_
source_ strname - The code name of event source
- linked_
external_ boolsource - source_
http_ Eventevent_ parameters Source V2Source Http Event Parameters Args - The request parameter SourceHttpEventParameters. See
source_http_event_parametersbelow. - source_
kafka_ Eventparameters Source V2Source Kafka Parameters Args - Kafka event source parameter. See
source_kafka_parametersbelow. - source_
mns_ Eventparameters Source V2Source Mns Parameters Args - Lightweight message queue (formerly MNS) event source parameter. See
source_mns_parametersbelow. - source_
oss_ Eventevent_ parameters Source V2Source Oss Event Parameters Args - OSS event source parameters See
source_oss_event_parametersbelow. - source_
rabbit_ Eventmq_ parameters Source V2Source Rabbit Mq Parameters Args - The request parameter SourceRabbitMQParameters. See
source_rabbit_mq_parametersbelow. - source_
rocketmq_ Eventparameters Source V2Source Rocketmq Parameters Args - The request parameter SourceRocketMQParameters. See
source_rocketmq_parametersbelow. - source_
scheduled_ Eventevent_ parameters Source V2Source Scheduled Event Parameters Args - Time event source parameter. See
source_scheduled_event_parametersbelow. - source_
sls_ Eventparameters Source V2Source Sls Parameters Args - The request parameter SourceSLSParameters. See
source_sls_parametersbelow.
- description String
- The detail describe of event source
- event
Bus StringName - Name of the bus associated with the event source
- event
Source StringName - The code name of event source
- linked
External BooleanSource - source
Http Property MapEvent Parameters - The request parameter SourceHttpEventParameters. See
source_http_event_parametersbelow. - source
Kafka Property MapParameters - Kafka event source parameter. See
source_kafka_parametersbelow. - source
Mns Property MapParameters - Lightweight message queue (formerly MNS) event source parameter. See
source_mns_parametersbelow. - source
Oss Property MapEvent Parameters - OSS event source parameters See
source_oss_event_parametersbelow. - source
Rabbit Property MapMq Parameters - The request parameter SourceRabbitMQParameters. See
source_rabbit_mq_parametersbelow. - source
Rocketmq Property MapParameters - The request parameter SourceRocketMQParameters. See
source_rocketmq_parametersbelow. - source
Scheduled Property MapEvent Parameters - Time event source parameter. See
source_scheduled_event_parametersbelow. - source
Sls Property MapParameters - The request parameter SourceSLSParameters. See
source_sls_parametersbelow.
Supporting Types
EventSourceV2SourceHttpEventParameters, EventSourceV2SourceHttpEventParametersArgs
- Ips List<string>
- IP segment security configuration. This parameter must be set only when the SecurityConfig value is ip. You can enter an IP address segment or IP address.
- Methods List<string>
- The HTTP request method supported by the generated Webhook. Multiple choices are available, with the following options:
- GET
- POST
- PUT
- PATCH
- DELETE
- HEAD
- OPTIONS
- TRACE
- CONNECT
- Public
Web List<string>Hook Urls - The public network request URL.
- Referers List<string>
- Security domain name configuration. This parameter must be set only when SecurityConfig is set to referer. You can fill in the domain name.
- Security
Config string - Select the type of security configuration. The optional range is as follows:
- none: No configuration is required.
- ip:IP segment.
- referer: Security domain name.
- Type string
- The protocol type supported by the generated Webhook. The value description is as follows:
- HTTP
- HTTPS
- HTTP&HTTPS
- Vpc
Web List<string>Hook Urls - The intranet request URL.
- Ips []string
- IP segment security configuration. This parameter must be set only when the SecurityConfig value is ip. You can enter an IP address segment or IP address.
- Methods []string
- The HTTP request method supported by the generated Webhook. Multiple choices are available, with the following options:
- GET
- POST
- PUT
- PATCH
- DELETE
- HEAD
- OPTIONS
- TRACE
- CONNECT
- Public
Web []stringHook Urls - The public network request URL.
- Referers []string
- Security domain name configuration. This parameter must be set only when SecurityConfig is set to referer. You can fill in the domain name.
- Security
Config string - Select the type of security configuration. The optional range is as follows:
- none: No configuration is required.
- ip:IP segment.
- referer: Security domain name.
- Type string
- The protocol type supported by the generated Webhook. The value description is as follows:
- HTTP
- HTTPS
- HTTP&HTTPS
- Vpc
Web []stringHook Urls - The intranet request URL.
- ips List<String>
- IP segment security configuration. This parameter must be set only when the SecurityConfig value is ip. You can enter an IP address segment or IP address.
- methods List<String>
- The HTTP request method supported by the generated Webhook. Multiple choices are available, with the following options:
- GET
- POST
- PUT
- PATCH
- DELETE
- HEAD
- OPTIONS
- TRACE
- CONNECT
- public
Web List<String>Hook Urls - The public network request URL.
- referers List<String>
- Security domain name configuration. This parameter must be set only when SecurityConfig is set to referer. You can fill in the domain name.
- security
Config String - Select the type of security configuration. The optional range is as follows:
- none: No configuration is required.
- ip:IP segment.
- referer: Security domain name.
- type String
- The protocol type supported by the generated Webhook. The value description is as follows:
- HTTP
- HTTPS
- HTTP&HTTPS
- vpc
Web List<String>Hook Urls - The intranet request URL.
- ips string[]
- IP segment security configuration. This parameter must be set only when the SecurityConfig value is ip. You can enter an IP address segment or IP address.
- methods string[]
- The HTTP request method supported by the generated Webhook. Multiple choices are available, with the following options:
- GET
- POST
- PUT
- PATCH
- DELETE
- HEAD
- OPTIONS
- TRACE
- CONNECT
- public
Web string[]Hook Urls - The public network request URL.
- referers string[]
- Security domain name configuration. This parameter must be set only when SecurityConfig is set to referer. You can fill in the domain name.
- security
Config string - Select the type of security configuration. The optional range is as follows:
- none: No configuration is required.
- ip:IP segment.
- referer: Security domain name.
- type string
- The protocol type supported by the generated Webhook. The value description is as follows:
- HTTP
- HTTPS
- HTTP&HTTPS
- vpc
Web string[]Hook Urls - The intranet request URL.
- ips Sequence[str]
- IP segment security configuration. This parameter must be set only when the SecurityConfig value is ip. You can enter an IP address segment or IP address.
- methods Sequence[str]
- The HTTP request method supported by the generated Webhook. Multiple choices are available, with the following options:
- GET
- POST
- PUT
- PATCH
- DELETE
- HEAD
- OPTIONS
- TRACE
- CONNECT
- public_
web_ Sequence[str]hook_ urls - The public network request URL.
- referers Sequence[str]
- Security domain name configuration. This parameter must be set only when SecurityConfig is set to referer. You can fill in the domain name.
- security_
config str - Select the type of security configuration. The optional range is as follows:
- none: No configuration is required.
- ip:IP segment.
- referer: Security domain name.
- type str
- The protocol type supported by the generated Webhook. The value description is as follows:
- HTTP
- HTTPS
- HTTP&HTTPS
- vpc_
web_ Sequence[str]hook_ urls - The intranet request URL.
- ips List<String>
- IP segment security configuration. This parameter must be set only when the SecurityConfig value is ip. You can enter an IP address segment or IP address.
- methods List<String>
- The HTTP request method supported by the generated Webhook. Multiple choices are available, with the following options:
- GET
- POST
- PUT
- PATCH
- DELETE
- HEAD
- OPTIONS
- TRACE
- CONNECT
- public
Web List<String>Hook Urls - The public network request URL.
- referers List<String>
- Security domain name configuration. This parameter must be set only when SecurityConfig is set to referer. You can fill in the domain name.
- security
Config String - Select the type of security configuration. The optional range is as follows:
- none: No configuration is required.
- ip:IP segment.
- referer: Security domain name.
- type String
- The protocol type supported by the generated Webhook. The value description is as follows:
- HTTP
- HTTPS
- HTTP&HTTPS
- vpc
Web List<String>Hook Urls - The intranet request URL.
EventSourceV2SourceKafkaParameters, EventSourceV2SourceKafkaParametersArgs
- Consumer
Group string - The Group ID of the consumer who subscribes to the Topic.
- Instance
Id string - The instance ID.
- Network string
- Network configuration: Default (Default network) and public network (self-built network).
- Offset
Reset string - Consumption sites.
- Region
Id string - The region ID.
- Security
Group stringId - The ID of the security group.
- Topic string
- The topic name.
- Vpc
Id string - The VPC ID.
- Vswitch
Ids string - The vSwitch ID.
- Consumer
Group string - The Group ID of the consumer who subscribes to the Topic.
- Instance
Id string - The instance ID.
- Network string
- Network configuration: Default (Default network) and public network (self-built network).
- Offset
Reset string - Consumption sites.
- Region
Id string - The region ID.
- Security
Group stringId - The ID of the security group.
- Topic string
- The topic name.
- Vpc
Id string - The VPC ID.
- Vswitch
Ids string - The vSwitch ID.
- consumer
Group String - The Group ID of the consumer who subscribes to the Topic.
- instance
Id String - The instance ID.
- network String
- Network configuration: Default (Default network) and public network (self-built network).
- offset
Reset String - Consumption sites.
- region
Id String - The region ID.
- security
Group StringId - The ID of the security group.
- topic String
- The topic name.
- vpc
Id String - The VPC ID.
- vswitch
Ids String - The vSwitch ID.
- consumer
Group string - The Group ID of the consumer who subscribes to the Topic.
- instance
Id string - The instance ID.
- network string
- Network configuration: Default (Default network) and public network (self-built network).
- offset
Reset string - Consumption sites.
- region
Id string - The region ID.
- security
Group stringId - The ID of the security group.
- topic string
- The topic name.
- vpc
Id string - The VPC ID.
- vswitch
Ids string - The vSwitch ID.
- consumer_
group str - The Group ID of the consumer who subscribes to the Topic.
- instance_
id str - The instance ID.
- network str
- Network configuration: Default (Default network) and public network (self-built network).
- offset_
reset str - Consumption sites.
- region_
id str - The region ID.
- security_
group_ strid - The ID of the security group.
- topic str
- The topic name.
- vpc_
id str - The VPC ID.
- vswitch_
ids str - The vSwitch ID.
- consumer
Group String - The Group ID of the consumer who subscribes to the Topic.
- instance
Id String - The instance ID.
- network String
- Network configuration: Default (Default network) and public network (self-built network).
- offset
Reset String - Consumption sites.
- region
Id String - The region ID.
- security
Group StringId - The ID of the security group.
- topic String
- The topic name.
- vpc
Id String - The VPC ID.
- vswitch
Ids String - The vSwitch ID.
EventSourceV2SourceMnsParameters, EventSourceV2SourceMnsParametersArgs
- Is
Base64Decode bool - Whether to enable Base64 decoding. By default, it is selected, that is, Base64 decoding is enabled.
- Queue
Name string - The name of the Queue of the lightweight message Queue (formerly MNS).
- Region
Id string - The region of the lightweight message queue (formerly MNS).
- Is
Base64Decode bool - Whether to enable Base64 decoding. By default, it is selected, that is, Base64 decoding is enabled.
- Queue
Name string - The name of the Queue of the lightweight message Queue (formerly MNS).
- Region
Id string - The region of the lightweight message queue (formerly MNS).
- is
Base64Decode Boolean - Whether to enable Base64 decoding. By default, it is selected, that is, Base64 decoding is enabled.
- queue
Name String - The name of the Queue of the lightweight message Queue (formerly MNS).
- region
Id String - The region of the lightweight message queue (formerly MNS).
- is
Base64Decode boolean - Whether to enable Base64 decoding. By default, it is selected, that is, Base64 decoding is enabled.
- queue
Name string - The name of the Queue of the lightweight message Queue (formerly MNS).
- region
Id string - The region of the lightweight message queue (formerly MNS).
- is_
base64_ booldecode - Whether to enable Base64 decoding. By default, it is selected, that is, Base64 decoding is enabled.
- queue_
name str - The name of the Queue of the lightweight message Queue (formerly MNS).
- region_
id str - The region of the lightweight message queue (formerly MNS).
- is
Base64Decode Boolean - Whether to enable Base64 decoding. By default, it is selected, that is, Base64 decoding is enabled.
- queue
Name String - The name of the Queue of the lightweight message Queue (formerly MNS).
- region
Id String - The region of the lightweight message queue (formerly MNS).
EventSourceV2SourceOssEventParameters, EventSourceV2SourceOssEventParametersArgs
- Event
Types List<string> - OSS event type list.
- Match
Rules List<ImmutableArray<Pulumi. Ali Cloud. Event Bridge. Inputs. Event Source V2Source Oss Event Parameters Match Rule>> - Matching rules. The event source will deliver OSS events that meet the matching requirements to the bus.
- Sts
Role stringArn - The ARN of the role. EventBridge will use this role to create MNS resources and deliver events to the corresponding bus.
- Event
Types []string - OSS event type list.
- Match
Rules [][]EventSource V2Source Oss Event Parameters Match Rule - Matching rules. The event source will deliver OSS events that meet the matching requirements to the bus.
- Sts
Role stringArn - The ARN of the role. EventBridge will use this role to create MNS resources and deliver events to the corresponding bus.
- event
Types List<String> - OSS event type list.
- match
Rules List<List<EventSource V2Source Oss Event Parameters Match Rule>> - Matching rules. The event source will deliver OSS events that meet the matching requirements to the bus.
- sts
Role StringArn - The ARN of the role. EventBridge will use this role to create MNS resources and deliver events to the corresponding bus.
- event
Types string[] - OSS event type list.
- match
Rules EventSource V2Source Oss Event Parameters Match Rule[][] - Matching rules. The event source will deliver OSS events that meet the matching requirements to the bus.
- sts
Role stringArn - The ARN of the role. EventBridge will use this role to create MNS resources and deliver events to the corresponding bus.
- event_
types Sequence[str] - OSS event type list.
- match_
rules Sequence[Sequence[EventSource V2Source Oss Event Parameters Match Rule]] - Matching rules. The event source will deliver OSS events that meet the matching requirements to the bus.
- sts_
role_ strarn - The ARN of the role. EventBridge will use this role to create MNS resources and deliver events to the corresponding bus.
- event
Types List<String> - OSS event type list.
- match
Rules List<List<Property Map>> - Matching rules. The event source will deliver OSS events that meet the matching requirements to the bus.
- sts
Role StringArn - The ARN of the role. EventBridge will use this role to create MNS resources and deliver events to the corresponding bus.
EventSourceV2SourceOssEventParametersMatchRule, EventSourceV2SourceOssEventParametersMatchRuleArgs
- Match
State string - Name string
- Prefix string
- Suffix string
- Match
State string - Name string
- Prefix string
- Suffix string
- match
State String - name String
- prefix String
- suffix String
- match
State string - name string
- prefix string
- suffix string
- match_
state str - name str
- prefix str
- suffix str
- match
State String - name String
- prefix String
- suffix String
EventSourceV2SourceRabbitMqParameters, EventSourceV2SourceRabbitMqParametersArgs
- Instance
Id string - The ID of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- Queue
Name string - The name of the Queue of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- Region
Id string - The region of the RabbitMQ instance.
- Virtual
Host stringName - The name of the Vhost of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- Instance
Id string - The ID of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- Queue
Name string - The name of the Queue of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- Region
Id string - The region of the RabbitMQ instance.
- Virtual
Host stringName - The name of the Vhost of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- instance
Id String - The ID of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- queue
Name String - The name of the Queue of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- region
Id String - The region of the RabbitMQ instance.
- virtual
Host StringName - The name of the Vhost of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- instance
Id string - The ID of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- queue
Name string - The name of the Queue of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- region
Id string - The region of the RabbitMQ instance.
- virtual
Host stringName - The name of the Vhost of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- instance_
id str - The ID of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- queue_
name str - The name of the Queue of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- region_
id str - The region of the RabbitMQ instance.
- virtual_
host_ strname - The name of the Vhost of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- instance
Id String - The ID of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- queue
Name String - The name of the Queue of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- region
Id String - The region of the RabbitMQ instance.
- virtual
Host StringName - The name of the Vhost of the RabbitMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
EventSourceV2SourceRocketmqParameters, EventSourceV2SourceRocketmqParametersArgs
- Auth
Type string - ACL or not.
- Group
Id string - The Group ID of the RocketMQ version of message queue.
- Instance
Endpoint string - Instance access point.
- Instance
Id string - The ID of the RocketMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- Instance
Network string - Instance network.
- Instance
Password string - The instance password.
- Instance
Security stringGroup Id - The ID of the security group.
- Instance
Type string - The instance type. Only CLOUD_4 (4.0 instance on the cloud), CLOUD_5 (5.0 instance on the cloud), and SELF_BUILT (user-created MQ).
- Instance
Username string - The instance user name.
- Instance
Vpc stringId - The ID of the VPC.
- Instance
Vswitch stringIds - The vSwitch ID.
- Offset string
- The consumption point of the message. The value description is as follows:
CONSUME_FROM_LAST_OFFSET: starts consumption from the latest point.CONSUME_FROM_FIRST_OFFSET: starts consumption from the earliest point.CONSUME_FROM_TIMESTAMP: starts consumption from the specified time point. Default value:CONSUME_FROM_LAST_OFFSET.
- Region
Id string - The region of the RocketMQ instance.
- Tag string
- The filter label of the message.
- Timestamp double
- The timestamp. This parameter is valid only when the value of the Offset parameter is CONSUME_FROM_TIMESTAMP.
- Topic string
- The Topic name of the RocketMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- Auth
Type string - ACL or not.
- Group
Id string - The Group ID of the RocketMQ version of message queue.
- Instance
Endpoint string - Instance access point.
- Instance
Id string - The ID of the RocketMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- Instance
Network string - Instance network.
- Instance
Password string - The instance password.
- Instance
Security stringGroup Id - The ID of the security group.
- Instance
Type string - The instance type. Only CLOUD_4 (4.0 instance on the cloud), CLOUD_5 (5.0 instance on the cloud), and SELF_BUILT (user-created MQ).
- Instance
Username string - The instance user name.
- Instance
Vpc stringId - The ID of the VPC.
- Instance
Vswitch stringIds - The vSwitch ID.
- Offset string
- The consumption point of the message. The value description is as follows:
CONSUME_FROM_LAST_OFFSET: starts consumption from the latest point.CONSUME_FROM_FIRST_OFFSET: starts consumption from the earliest point.CONSUME_FROM_TIMESTAMP: starts consumption from the specified time point. Default value:CONSUME_FROM_LAST_OFFSET.
- Region
Id string - The region of the RocketMQ instance.
- Tag string
- The filter label of the message.
- Timestamp float64
- The timestamp. This parameter is valid only when the value of the Offset parameter is CONSUME_FROM_TIMESTAMP.
- Topic string
- The Topic name of the RocketMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- auth
Type String - ACL or not.
- group
Id String - The Group ID of the RocketMQ version of message queue.
- instance
Endpoint String - Instance access point.
- instance
Id String - The ID of the RocketMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- instance
Network String - Instance network.
- instance
Password String - The instance password.
- instance
Security StringGroup Id - The ID of the security group.
- instance
Type String - The instance type. Only CLOUD_4 (4.0 instance on the cloud), CLOUD_5 (5.0 instance on the cloud), and SELF_BUILT (user-created MQ).
- instance
Username String - The instance user name.
- instance
Vpc StringId - The ID of the VPC.
- instance
Vswitch StringIds - The vSwitch ID.
- offset String
- The consumption point of the message. The value description is as follows:
CONSUME_FROM_LAST_OFFSET: starts consumption from the latest point.CONSUME_FROM_FIRST_OFFSET: starts consumption from the earliest point.CONSUME_FROM_TIMESTAMP: starts consumption from the specified time point. Default value:CONSUME_FROM_LAST_OFFSET.
- region
Id String - The region of the RocketMQ instance.
- tag String
- The filter label of the message.
- timestamp Double
- The timestamp. This parameter is valid only when the value of the Offset parameter is CONSUME_FROM_TIMESTAMP.
- topic String
- The Topic name of the RocketMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- auth
Type string - ACL or not.
- group
Id string - The Group ID of the RocketMQ version of message queue.
- instance
Endpoint string - Instance access point.
- instance
Id string - The ID of the RocketMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- instance
Network string - Instance network.
- instance
Password string - The instance password.
- instance
Security stringGroup Id - The ID of the security group.
- instance
Type string - The instance type. Only CLOUD_4 (4.0 instance on the cloud), CLOUD_5 (5.0 instance on the cloud), and SELF_BUILT (user-created MQ).
- instance
Username string - The instance user name.
- instance
Vpc stringId - The ID of the VPC.
- instance
Vswitch stringIds - The vSwitch ID.
- offset string
- The consumption point of the message. The value description is as follows:
CONSUME_FROM_LAST_OFFSET: starts consumption from the latest point.CONSUME_FROM_FIRST_OFFSET: starts consumption from the earliest point.CONSUME_FROM_TIMESTAMP: starts consumption from the specified time point. Default value:CONSUME_FROM_LAST_OFFSET.
- region
Id string - The region of the RocketMQ instance.
- tag string
- The filter label of the message.
- timestamp number
- The timestamp. This parameter is valid only when the value of the Offset parameter is CONSUME_FROM_TIMESTAMP.
- topic string
- The Topic name of the RocketMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- auth_
type str - ACL or not.
- group_
id str - The Group ID of the RocketMQ version of message queue.
- instance_
endpoint str - Instance access point.
- instance_
id str - The ID of the RocketMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- instance_
network str - Instance network.
- instance_
password str - The instance password.
- instance_
security_ strgroup_ id - The ID of the security group.
- instance_
type str - The instance type. Only CLOUD_4 (4.0 instance on the cloud), CLOUD_5 (5.0 instance on the cloud), and SELF_BUILT (user-created MQ).
- instance_
username str - The instance user name.
- instance_
vpc_ strid - The ID of the VPC.
- instance_
vswitch_ strids - The vSwitch ID.
- offset str
- The consumption point of the message. The value description is as follows:
CONSUME_FROM_LAST_OFFSET: starts consumption from the latest point.CONSUME_FROM_FIRST_OFFSET: starts consumption from the earliest point.CONSUME_FROM_TIMESTAMP: starts consumption from the specified time point. Default value:CONSUME_FROM_LAST_OFFSET.
- region_
id str - The region of the RocketMQ instance.
- tag str
- The filter label of the message.
- timestamp float
- The timestamp. This parameter is valid only when the value of the Offset parameter is CONSUME_FROM_TIMESTAMP.
- topic str
- The Topic name of the RocketMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- auth
Type String - ACL or not.
- group
Id String - The Group ID of the RocketMQ version of message queue.
- instance
Endpoint String - Instance access point.
- instance
Id String - The ID of the RocketMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
- instance
Network String - Instance network.
- instance
Password String - The instance password.
- instance
Security StringGroup Id - The ID of the security group.
- instance
Type String - The instance type. Only CLOUD_4 (4.0 instance on the cloud), CLOUD_5 (5.0 instance on the cloud), and SELF_BUILT (user-created MQ).
- instance
Username String - The instance user name.
- instance
Vpc StringId - The ID of the VPC.
- instance
Vswitch StringIds - The vSwitch ID.
- offset String
- The consumption point of the message. The value description is as follows:
CONSUME_FROM_LAST_OFFSET: starts consumption from the latest point.CONSUME_FROM_FIRST_OFFSET: starts consumption from the earliest point.CONSUME_FROM_TIMESTAMP: starts consumption from the specified time point. Default value:CONSUME_FROM_LAST_OFFSET.
- region
Id String - The region of the RocketMQ instance.
- tag String
- The filter label of the message.
- timestamp Number
- The timestamp. This parameter is valid only when the value of the Offset parameter is CONSUME_FROM_TIMESTAMP.
- topic String
- The Topic name of the RocketMQ instance. For more information, see Usage Restrictions (~~ 163289 ~~).
EventSourceV2SourceScheduledEventParameters, EventSourceV2SourceScheduledEventParametersArgs
EventSourceV2SourceSlsParameters, EventSourceV2SourceSlsParametersArgs
- Consume
Position string - Start consumption point, which can be the earliest or latest point corresponding to begin and end respectively, or start consumption from a specified time, measured in seconds.
- Log
Store string - The logstore of log service SLS.
- Project string
- The log project of log service SLS.
- Role
Name string - When authorizing event bus EventBridge to use this role to read SLS log content, the following conditions must be met: when creating the role used by the service in the RAM console, you need to select Alibaba Cloud Service and event bus for trusted service ". For the permissions policy of this role, see custom event source log service SLS.
- Consume
Position string - Start consumption point, which can be the earliest or latest point corresponding to begin and end respectively, or start consumption from a specified time, measured in seconds.
- Log
Store string - The logstore of log service SLS.
- Project string
- The log project of log service SLS.
- Role
Name string - When authorizing event bus EventBridge to use this role to read SLS log content, the following conditions must be met: when creating the role used by the service in the RAM console, you need to select Alibaba Cloud Service and event bus for trusted service ". For the permissions policy of this role, see custom event source log service SLS.
- consume
Position String - Start consumption point, which can be the earliest or latest point corresponding to begin and end respectively, or start consumption from a specified time, measured in seconds.
- log
Store String - The logstore of log service SLS.
- project String
- The log project of log service SLS.
- role
Name String - When authorizing event bus EventBridge to use this role to read SLS log content, the following conditions must be met: when creating the role used by the service in the RAM console, you need to select Alibaba Cloud Service and event bus for trusted service ". For the permissions policy of this role, see custom event source log service SLS.
- consume
Position string - Start consumption point, which can be the earliest or latest point corresponding to begin and end respectively, or start consumption from a specified time, measured in seconds.
- log
Store string - The logstore of log service SLS.
- project string
- The log project of log service SLS.
- role
Name string - When authorizing event bus EventBridge to use this role to read SLS log content, the following conditions must be met: when creating the role used by the service in the RAM console, you need to select Alibaba Cloud Service and event bus for trusted service ". For the permissions policy of this role, see custom event source log service SLS.
- consume_
position str - Start consumption point, which can be the earliest or latest point corresponding to begin and end respectively, or start consumption from a specified time, measured in seconds.
- log_
store str - The logstore of log service SLS.
- project str
- The log project of log service SLS.
- role_
name str - When authorizing event bus EventBridge to use this role to read SLS log content, the following conditions must be met: when creating the role used by the service in the RAM console, you need to select Alibaba Cloud Service and event bus for trusted service ". For the permissions policy of this role, see custom event source log service SLS.
- consume
Position String - Start consumption point, which can be the earliest or latest point corresponding to begin and end respectively, or start consumption from a specified time, measured in seconds.
- log
Store String - The logstore of log service SLS.
- project String
- The log project of log service SLS.
- role
Name String - When authorizing event bus EventBridge to use this role to read SLS log content, the following conditions must be met: when creating the role used by the service in the RAM console, you need to select Alibaba Cloud Service and event bus for trusted service ". For the permissions policy of this role, see custom event source log service SLS.
Import
Event Bridge Event Source V2 can be imported using the id, e.g.
$ pulumi import alicloud:eventbridge/eventSourceV2:EventSourceV2 example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
