Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type EventBus
- type EventBusArgs
- type EventBusArray
- type EventBusArrayInput
- type EventBusArrayOutput
- type EventBusInput
- type EventBusMap
- type EventBusMapInput
- type EventBusMapOutput
- type EventBusOutput
- func (o EventBusOutput) Description() pulumi.StringPtrOutput
- func (EventBusOutput) ElementType() reflect.Type
- func (o EventBusOutput) EventBusName() pulumi.StringOutput
- func (o EventBusOutput) ToEventBusOutput() EventBusOutput
- func (o EventBusOutput) ToEventBusOutputWithContext(ctx context.Context) EventBusOutput
- type EventBusState
- type EventSource
- type EventSourceArgs
- type EventSourceArray
- type EventSourceArrayInput
- type EventSourceArrayOutput
- func (EventSourceArrayOutput) ElementType() reflect.Type
- func (o EventSourceArrayOutput) Index(i pulumi.IntInput) EventSourceOutput
- func (o EventSourceArrayOutput) ToEventSourceArrayOutput() EventSourceArrayOutput
- func (o EventSourceArrayOutput) ToEventSourceArrayOutputWithContext(ctx context.Context) EventSourceArrayOutput
- type EventSourceInput
- type EventSourceMap
- type EventSourceMapInput
- type EventSourceMapOutput
- func (EventSourceMapOutput) ElementType() reflect.Type
- func (o EventSourceMapOutput) MapIndex(k pulumi.StringInput) EventSourceOutput
- func (o EventSourceMapOutput) ToEventSourceMapOutput() EventSourceMapOutput
- func (o EventSourceMapOutput) ToEventSourceMapOutputWithContext(ctx context.Context) EventSourceMapOutput
- type EventSourceOutput
- func (o EventSourceOutput) Description() pulumi.StringPtrOutput
- func (EventSourceOutput) ElementType() reflect.Type
- func (o EventSourceOutput) EventBusName() pulumi.StringOutput
- func (o EventSourceOutput) EventSourceName() pulumi.StringOutput
- func (o EventSourceOutput) ExternalSourceConfig() pulumi.MapOutput
- func (o EventSourceOutput) ExternalSourceType() pulumi.StringPtrOutput
- func (o EventSourceOutput) LinkedExternalSource() pulumi.BoolOutput
- func (o EventSourceOutput) ToEventSourceOutput() EventSourceOutput
- func (o EventSourceOutput) ToEventSourceOutputWithContext(ctx context.Context) EventSourceOutput
- type EventSourceState
- type GetEventBusesArgs
- type GetEventBusesBus
- type GetEventBusesBusArgs
- type GetEventBusesBusArray
- type GetEventBusesBusArrayInput
- type GetEventBusesBusArrayOutput
- func (GetEventBusesBusArrayOutput) ElementType() reflect.Type
- func (o GetEventBusesBusArrayOutput) Index(i pulumi.IntInput) GetEventBusesBusOutput
- func (o GetEventBusesBusArrayOutput) ToGetEventBusesBusArrayOutput() GetEventBusesBusArrayOutput
- func (o GetEventBusesBusArrayOutput) ToGetEventBusesBusArrayOutputWithContext(ctx context.Context) GetEventBusesBusArrayOutput
- type GetEventBusesBusInput
- type GetEventBusesBusOutput
- func (o GetEventBusesBusOutput) CreateTime() pulumi.StringOutput
- func (o GetEventBusesBusOutput) Description() pulumi.StringOutput
- func (GetEventBusesBusOutput) ElementType() reflect.Type
- func (o GetEventBusesBusOutput) EventBusName() pulumi.StringOutput
- func (o GetEventBusesBusOutput) Id() pulumi.StringOutput
- func (o GetEventBusesBusOutput) ToGetEventBusesBusOutput() GetEventBusesBusOutput
- func (o GetEventBusesBusOutput) ToGetEventBusesBusOutputWithContext(ctx context.Context) GetEventBusesBusOutput
- type GetEventBusesOutputArgs
- type GetEventBusesResult
- type GetEventBusesResultOutput
- func (o GetEventBusesResultOutput) Buses() GetEventBusesBusArrayOutput
- func (GetEventBusesResultOutput) ElementType() reflect.Type
- func (o GetEventBusesResultOutput) EventBusType() pulumi.StringPtrOutput
- func (o GetEventBusesResultOutput) Id() pulumi.StringOutput
- func (o GetEventBusesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEventBusesResultOutput) NamePrefix() pulumi.StringPtrOutput
- func (o GetEventBusesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEventBusesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEventBusesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEventBusesResultOutput) ToGetEventBusesResultOutput() GetEventBusesResultOutput
- func (o GetEventBusesResultOutput) ToGetEventBusesResultOutputWithContext(ctx context.Context) GetEventBusesResultOutput
- type GetEventSourcesArgs
- type GetEventSourcesOutputArgs
- type GetEventSourcesResult
- type GetEventSourcesResultOutput
- func (GetEventSourcesResultOutput) ElementType() reflect.Type
- func (o GetEventSourcesResultOutput) Id() pulumi.StringOutput
- func (o GetEventSourcesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEventSourcesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEventSourcesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEventSourcesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEventSourcesResultOutput) Sources() GetEventSourcesSourceArrayOutput
- func (o GetEventSourcesResultOutput) ToGetEventSourcesResultOutput() GetEventSourcesResultOutput
- func (o GetEventSourcesResultOutput) ToGetEventSourcesResultOutputWithContext(ctx context.Context) GetEventSourcesResultOutput
- type GetEventSourcesSource
- type GetEventSourcesSourceArgs
- type GetEventSourcesSourceArray
- func (GetEventSourcesSourceArray) ElementType() reflect.Type
- func (i GetEventSourcesSourceArray) ToGetEventSourcesSourceArrayOutput() GetEventSourcesSourceArrayOutput
- func (i GetEventSourcesSourceArray) ToGetEventSourcesSourceArrayOutputWithContext(ctx context.Context) GetEventSourcesSourceArrayOutput
- type GetEventSourcesSourceArrayInput
- type GetEventSourcesSourceArrayOutput
- func (GetEventSourcesSourceArrayOutput) ElementType() reflect.Type
- func (o GetEventSourcesSourceArrayOutput) Index(i pulumi.IntInput) GetEventSourcesSourceOutput
- func (o GetEventSourcesSourceArrayOutput) ToGetEventSourcesSourceArrayOutput() GetEventSourcesSourceArrayOutput
- func (o GetEventSourcesSourceArrayOutput) ToGetEventSourcesSourceArrayOutputWithContext(ctx context.Context) GetEventSourcesSourceArrayOutput
- type GetEventSourcesSourceInput
- type GetEventSourcesSourceOutput
- func (o GetEventSourcesSourceOutput) Description() pulumi.StringOutput
- func (GetEventSourcesSourceOutput) ElementType() reflect.Type
- func (o GetEventSourcesSourceOutput) EventSourceName() pulumi.StringOutput
- func (o GetEventSourcesSourceOutput) ExternalSourceConfig() pulumi.MapOutput
- func (o GetEventSourcesSourceOutput) ExternalSourceType() pulumi.StringOutput
- func (o GetEventSourcesSourceOutput) Id() pulumi.StringOutput
- func (o GetEventSourcesSourceOutput) LinkedExternalSource() pulumi.BoolOutput
- func (o GetEventSourcesSourceOutput) ToGetEventSourcesSourceOutput() GetEventSourcesSourceOutput
- func (o GetEventSourcesSourceOutput) ToGetEventSourcesSourceOutputWithContext(ctx context.Context) GetEventSourcesSourceOutput
- func (o GetEventSourcesSourceOutput) Type() pulumi.StringOutput
- type GetRulesArgs
- type GetRulesOutputArgs
- type GetRulesResult
- type GetRulesResultOutput
- func (GetRulesResultOutput) ElementType() reflect.Type
- func (o GetRulesResultOutput) EventBusName() pulumi.StringOutput
- func (o GetRulesResultOutput) Id() pulumi.StringOutput
- func (o GetRulesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetRulesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetRulesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) RuleNamePrefix() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) Rules() GetRulesRuleArrayOutput
- func (o GetRulesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput
- func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput
- type GetRulesRule
- type GetRulesRuleArgs
- type GetRulesRuleArray
- type GetRulesRuleArrayInput
- type GetRulesRuleArrayOutput
- func (GetRulesRuleArrayOutput) ElementType() reflect.Type
- func (o GetRulesRuleArrayOutput) Index(i pulumi.IntInput) GetRulesRuleOutput
- func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
- func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
- type GetRulesRuleInput
- type GetRulesRuleOutput
- func (o GetRulesRuleOutput) Description() pulumi.StringOutput
- func (GetRulesRuleOutput) ElementType() reflect.Type
- func (o GetRulesRuleOutput) EventBusName() pulumi.StringOutput
- func (o GetRulesRuleOutput) FilterPattern() pulumi.StringOutput
- func (o GetRulesRuleOutput) Id() pulumi.StringOutput
- func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput
- func (o GetRulesRuleOutput) Status() pulumi.StringOutput
- func (o GetRulesRuleOutput) Targets() GetRulesRuleTargetArrayOutput
- func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput
- func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
- type GetRulesRuleTarget
- type GetRulesRuleTargetArgs
- type GetRulesRuleTargetArray
- type GetRulesRuleTargetArrayInput
- type GetRulesRuleTargetArrayOutput
- func (GetRulesRuleTargetArrayOutput) ElementType() reflect.Type
- func (o GetRulesRuleTargetArrayOutput) Index(i pulumi.IntInput) GetRulesRuleTargetOutput
- func (o GetRulesRuleTargetArrayOutput) ToGetRulesRuleTargetArrayOutput() GetRulesRuleTargetArrayOutput
- func (o GetRulesRuleTargetArrayOutput) ToGetRulesRuleTargetArrayOutputWithContext(ctx context.Context) GetRulesRuleTargetArrayOutput
- type GetRulesRuleTargetInput
- type GetRulesRuleTargetOutput
- func (GetRulesRuleTargetOutput) ElementType() reflect.Type
- func (o GetRulesRuleTargetOutput) Endpoint() pulumi.StringOutput
- func (o GetRulesRuleTargetOutput) TargetId() pulumi.StringOutput
- func (o GetRulesRuleTargetOutput) ToGetRulesRuleTargetOutput() GetRulesRuleTargetOutput
- func (o GetRulesRuleTargetOutput) ToGetRulesRuleTargetOutputWithContext(ctx context.Context) GetRulesRuleTargetOutput
- func (o GetRulesRuleTargetOutput) Type() pulumi.StringOutput
- type GetServiceArgs
- type GetServiceOutputArgs
- type GetServiceResult
- type GetServiceResultOutput
- func (GetServiceResultOutput) ElementType() reflect.Type
- func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
- func (o GetServiceResultOutput) Id() pulumi.StringOutput
- func (o GetServiceResultOutput) Status() pulumi.StringOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
- type Rule
- type RuleArgs
- type RuleArray
- type RuleArrayInput
- type RuleArrayOutput
- type RuleInput
- type RuleMap
- type RuleMapInput
- type RuleMapOutput
- type RuleOutput
- func (o RuleOutput) Description() pulumi.StringPtrOutput
- func (RuleOutput) ElementType() reflect.Type
- func (o RuleOutput) EventBusName() pulumi.StringOutput
- func (o RuleOutput) FilterPattern() pulumi.StringOutput
- func (o RuleOutput) RuleName() pulumi.StringOutput
- func (o RuleOutput) Status() pulumi.StringOutput
- func (o RuleOutput) Targets() RuleTargetArrayOutput
- func (o RuleOutput) ToRuleOutput() RuleOutput
- func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
- type RuleState
- type RuleTarget
- type RuleTargetArgs
- type RuleTargetArray
- type RuleTargetArrayInput
- type RuleTargetArrayOutput
- func (RuleTargetArrayOutput) ElementType() reflect.Type
- func (o RuleTargetArrayOutput) Index(i pulumi.IntInput) RuleTargetOutput
- func (o RuleTargetArrayOutput) ToRuleTargetArrayOutput() RuleTargetArrayOutput
- func (o RuleTargetArrayOutput) ToRuleTargetArrayOutputWithContext(ctx context.Context) RuleTargetArrayOutput
- type RuleTargetDeadLetterQueue
- type RuleTargetDeadLetterQueueArgs
- func (RuleTargetDeadLetterQueueArgs) ElementType() reflect.Type
- func (i RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueueOutput() RuleTargetDeadLetterQueueOutput
- func (i RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueueOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueueOutput
- func (i RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueuePtrOutput() RuleTargetDeadLetterQueuePtrOutput
- func (i RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueuePtrOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueuePtrOutput
- type RuleTargetDeadLetterQueueInput
- type RuleTargetDeadLetterQueueOutput
- func (o RuleTargetDeadLetterQueueOutput) Arn() pulumi.StringPtrOutput
- func (RuleTargetDeadLetterQueueOutput) ElementType() reflect.Type
- func (o RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueueOutput() RuleTargetDeadLetterQueueOutput
- func (o RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueueOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueueOutput
- func (o RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueuePtrOutput() RuleTargetDeadLetterQueuePtrOutput
- func (o RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueuePtrOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueuePtrOutput
- type RuleTargetDeadLetterQueuePtrInput
- type RuleTargetDeadLetterQueuePtrOutput
- func (o RuleTargetDeadLetterQueuePtrOutput) Arn() pulumi.StringPtrOutput
- func (o RuleTargetDeadLetterQueuePtrOutput) Elem() RuleTargetDeadLetterQueueOutput
- func (RuleTargetDeadLetterQueuePtrOutput) ElementType() reflect.Type
- func (o RuleTargetDeadLetterQueuePtrOutput) ToRuleTargetDeadLetterQueuePtrOutput() RuleTargetDeadLetterQueuePtrOutput
- func (o RuleTargetDeadLetterQueuePtrOutput) ToRuleTargetDeadLetterQueuePtrOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueuePtrOutput
- type RuleTargetInput
- type RuleTargetOutput
- func (o RuleTargetOutput) DeadLetterQueue() RuleTargetDeadLetterQueuePtrOutput
- func (RuleTargetOutput) ElementType() reflect.Type
- func (o RuleTargetOutput) Endpoint() pulumi.StringOutput
- func (o RuleTargetOutput) ParamLists() RuleTargetParamListArrayOutput
- func (o RuleTargetOutput) PushRetryStrategy() pulumi.StringPtrOutput
- func (o RuleTargetOutput) TargetId() pulumi.StringOutput
- func (o RuleTargetOutput) ToRuleTargetOutput() RuleTargetOutput
- func (o RuleTargetOutput) ToRuleTargetOutputWithContext(ctx context.Context) RuleTargetOutput
- func (o RuleTargetOutput) Type() pulumi.StringOutput
- type RuleTargetParamList
- type RuleTargetParamListArgs
- type RuleTargetParamListArray
- type RuleTargetParamListArrayInput
- type RuleTargetParamListArrayOutput
- func (RuleTargetParamListArrayOutput) ElementType() reflect.Type
- func (o RuleTargetParamListArrayOutput) Index(i pulumi.IntInput) RuleTargetParamListOutput
- func (o RuleTargetParamListArrayOutput) ToRuleTargetParamListArrayOutput() RuleTargetParamListArrayOutput
- func (o RuleTargetParamListArrayOutput) ToRuleTargetParamListArrayOutputWithContext(ctx context.Context) RuleTargetParamListArrayOutput
- type RuleTargetParamListInput
- type RuleTargetParamListOutput
- func (RuleTargetParamListOutput) ElementType() reflect.Type
- func (o RuleTargetParamListOutput) Form() pulumi.StringOutput
- func (o RuleTargetParamListOutput) ResourceKey() pulumi.StringOutput
- func (o RuleTargetParamListOutput) Template() pulumi.StringPtrOutput
- func (o RuleTargetParamListOutput) ToRuleTargetParamListOutput() RuleTargetParamListOutput
- func (o RuleTargetParamListOutput) ToRuleTargetParamListOutputWithContext(ctx context.Context) RuleTargetParamListOutput
- func (o RuleTargetParamListOutput) Value() pulumi.StringPtrOutput
- type ServiceLinkedRole
- type ServiceLinkedRoleArgs
- type ServiceLinkedRoleArray
- type ServiceLinkedRoleArrayInput
- type ServiceLinkedRoleArrayOutput
- func (ServiceLinkedRoleArrayOutput) ElementType() reflect.Type
- func (o ServiceLinkedRoleArrayOutput) Index(i pulumi.IntInput) ServiceLinkedRoleOutput
- func (o ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutput() ServiceLinkedRoleArrayOutput
- func (o ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutputWithContext(ctx context.Context) ServiceLinkedRoleArrayOutput
- type ServiceLinkedRoleInput
- type ServiceLinkedRoleMap
- type ServiceLinkedRoleMapInput
- type ServiceLinkedRoleMapOutput
- func (ServiceLinkedRoleMapOutput) ElementType() reflect.Type
- func (o ServiceLinkedRoleMapOutput) MapIndex(k pulumi.StringInput) ServiceLinkedRoleOutput
- func (o ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutput() ServiceLinkedRoleMapOutput
- func (o ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutputWithContext(ctx context.Context) ServiceLinkedRoleMapOutput
- type ServiceLinkedRoleOutput
- func (ServiceLinkedRoleOutput) ElementType() reflect.Type
- func (o ServiceLinkedRoleOutput) ProductName() pulumi.StringOutput
- func (o ServiceLinkedRoleOutput) ToServiceLinkedRoleOutput() ServiceLinkedRoleOutput
- func (o ServiceLinkedRoleOutput) ToServiceLinkedRoleOutputWithContext(ctx context.Context) ServiceLinkedRoleOutput
- type ServiceLinkedRoleState
- type Slr
- type SlrArgs
- type SlrArray
- type SlrArrayInput
- type SlrArrayOutput
- type SlrInput
- type SlrMap
- type SlrMapInput
- type SlrMapOutput
- type SlrOutput
- type SlrState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.1
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type EventBus ¶
type EventBus struct { pulumi.CustomResourceState // The description of event bus. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of event bus. The length is limited to 2 ~ 127 characters, which can be composed of letters, numbers or hyphens (-) EventBusName pulumi.StringOutput `pulumi:"eventBusName"` }
Provides a Event Bridge Event Bus resource.
For information about Event Bridge Event Bus and how to use it, see [What is Event Bus](https://help.aliyun.com/document_detail/167863.html).
> **NOTE:** Available in v1.129.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eventbridge"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := eventbridge.NewEventBus(ctx, "example", &eventbridge.EventBusArgs{ EventBusName: pulumi.String("my-EventBus"), }) if err != nil { return err } return nil }) }
```
## Import
Event Bridge Event Bus can be imported using the id, e.g.
```sh
$ pulumi import alicloud:eventbridge/eventBus:EventBus example <event_bus_name>
```
func GetEventBus ¶
func GetEventBus(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventBusState, opts ...pulumi.ResourceOption) (*EventBus, error)
GetEventBus gets an existing EventBus resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEventBus ¶
func NewEventBus(ctx *pulumi.Context, name string, args *EventBusArgs, opts ...pulumi.ResourceOption) (*EventBus, error)
NewEventBus registers a new resource with the given unique name, arguments, and options.
func (*EventBus) ElementType ¶
func (*EventBus) ToEventBusOutput ¶
func (i *EventBus) ToEventBusOutput() EventBusOutput
func (*EventBus) ToEventBusOutputWithContext ¶
func (i *EventBus) ToEventBusOutputWithContext(ctx context.Context) EventBusOutput
type EventBusArgs ¶
type EventBusArgs struct { // The description of event bus. Description pulumi.StringPtrInput // The name of event bus. The length is limited to 2 ~ 127 characters, which can be composed of letters, numbers or hyphens (-) EventBusName pulumi.StringInput }
The set of arguments for constructing a EventBus resource.
func (EventBusArgs) ElementType ¶
func (EventBusArgs) ElementType() reflect.Type
type EventBusArray ¶
type EventBusArray []EventBusInput
func (EventBusArray) ElementType ¶
func (EventBusArray) ElementType() reflect.Type
func (EventBusArray) ToEventBusArrayOutput ¶
func (i EventBusArray) ToEventBusArrayOutput() EventBusArrayOutput
func (EventBusArray) ToEventBusArrayOutputWithContext ¶
func (i EventBusArray) ToEventBusArrayOutputWithContext(ctx context.Context) EventBusArrayOutput
type EventBusArrayInput ¶
type EventBusArrayInput interface { pulumi.Input ToEventBusArrayOutput() EventBusArrayOutput ToEventBusArrayOutputWithContext(context.Context) EventBusArrayOutput }
EventBusArrayInput is an input type that accepts EventBusArray and EventBusArrayOutput values. You can construct a concrete instance of `EventBusArrayInput` via:
EventBusArray{ EventBusArgs{...} }
type EventBusArrayOutput ¶
type EventBusArrayOutput struct{ *pulumi.OutputState }
func (EventBusArrayOutput) ElementType ¶
func (EventBusArrayOutput) ElementType() reflect.Type
func (EventBusArrayOutput) Index ¶
func (o EventBusArrayOutput) Index(i pulumi.IntInput) EventBusOutput
func (EventBusArrayOutput) ToEventBusArrayOutput ¶
func (o EventBusArrayOutput) ToEventBusArrayOutput() EventBusArrayOutput
func (EventBusArrayOutput) ToEventBusArrayOutputWithContext ¶
func (o EventBusArrayOutput) ToEventBusArrayOutputWithContext(ctx context.Context) EventBusArrayOutput
type EventBusInput ¶
type EventBusInput interface { pulumi.Input ToEventBusOutput() EventBusOutput ToEventBusOutputWithContext(ctx context.Context) EventBusOutput }
type EventBusMap ¶
type EventBusMap map[string]EventBusInput
func (EventBusMap) ElementType ¶
func (EventBusMap) ElementType() reflect.Type
func (EventBusMap) ToEventBusMapOutput ¶
func (i EventBusMap) ToEventBusMapOutput() EventBusMapOutput
func (EventBusMap) ToEventBusMapOutputWithContext ¶
func (i EventBusMap) ToEventBusMapOutputWithContext(ctx context.Context) EventBusMapOutput
type EventBusMapInput ¶
type EventBusMapInput interface { pulumi.Input ToEventBusMapOutput() EventBusMapOutput ToEventBusMapOutputWithContext(context.Context) EventBusMapOutput }
EventBusMapInput is an input type that accepts EventBusMap and EventBusMapOutput values. You can construct a concrete instance of `EventBusMapInput` via:
EventBusMap{ "key": EventBusArgs{...} }
type EventBusMapOutput ¶
type EventBusMapOutput struct{ *pulumi.OutputState }
func (EventBusMapOutput) ElementType ¶
func (EventBusMapOutput) ElementType() reflect.Type
func (EventBusMapOutput) MapIndex ¶
func (o EventBusMapOutput) MapIndex(k pulumi.StringInput) EventBusOutput
func (EventBusMapOutput) ToEventBusMapOutput ¶
func (o EventBusMapOutput) ToEventBusMapOutput() EventBusMapOutput
func (EventBusMapOutput) ToEventBusMapOutputWithContext ¶
func (o EventBusMapOutput) ToEventBusMapOutputWithContext(ctx context.Context) EventBusMapOutput
type EventBusOutput ¶
type EventBusOutput struct{ *pulumi.OutputState }
func (EventBusOutput) Description ¶
func (o EventBusOutput) Description() pulumi.StringPtrOutput
The description of event bus.
func (EventBusOutput) ElementType ¶
func (EventBusOutput) ElementType() reflect.Type
func (EventBusOutput) EventBusName ¶
func (o EventBusOutput) EventBusName() pulumi.StringOutput
The name of event bus. The length is limited to 2 ~ 127 characters, which can be composed of letters, numbers or hyphens (-)
func (EventBusOutput) ToEventBusOutput ¶
func (o EventBusOutput) ToEventBusOutput() EventBusOutput
func (EventBusOutput) ToEventBusOutputWithContext ¶
func (o EventBusOutput) ToEventBusOutputWithContext(ctx context.Context) EventBusOutput
type EventBusState ¶
type EventBusState struct { // The description of event bus. Description pulumi.StringPtrInput // The name of event bus. The length is limited to 2 ~ 127 characters, which can be composed of letters, numbers or hyphens (-) EventBusName pulumi.StringPtrInput }
func (EventBusState) ElementType ¶
func (EventBusState) ElementType() reflect.Type
type EventSource ¶
type EventSource struct { pulumi.CustomResourceState // The detail describe of event source. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of event bus. EventBusName pulumi.StringOutput `pulumi:"eventBusName"` // The code name of event source. EventSourceName pulumi.StringOutput `pulumi:"eventSourceName"` // The config of external source. // When `externalSourceType` is `RabbitMQ`, The following attributes are supported: // `RegionId` - The region ID of RabbitMQ. // `InstanceId` - The instance ID of RabbitMQ. // `VirtualHostName` - The virtual host name of RabbitMQ. // `QueueName` - The queue name of RabbitMQ. // When `externalSourceType` is `RabbitMQ`, The following attributes are supported: // `RegionId` - The region ID of RabbitMQ. // `InstanceId` - The instance ID of RabbitMQ. // `Topic` - The topic of RabbitMQ. // `Offset` - The offset of RabbitMQ, valid values: `CONSUME_FROM_FIRST_OFFSET`, `CONSUME_FROM_LAST_OFFSET` and `CONSUME_FROM_TIMESTAMP`. // `GroupID` - The group ID of consumer. // When `externalSourceType` is `MNS`, The following attributes are supported: // `QueueName` - The queue name of MNS. ExternalSourceConfig pulumi.MapOutput `pulumi:"externalSourceConfig"` // The type of external data source. Valid value : `RabbitMQ`, `RocketMQ` and `MNS`. **NOTE:** Only When `linkedExternalSource` is `true`, This field is valid. ExternalSourceType pulumi.StringPtrOutput `pulumi:"externalSourceType"` // Whether to connect to an external data source. Default value: `false` LinkedExternalSource pulumi.BoolOutput `pulumi:"linkedExternalSource"` }
Provides a Event Bridge Event Source resource.
For information about Event Bridge Event Source and how to use it, see [What is Event Source](https://www.alibabacloud.com/help/doc-detail/188425.htm).
> **NOTE:** Available in v1.130.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eventbridge"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := eventbridge.NewEventSource(ctx, "example", &eventbridge.EventSourceArgs{ Description: pulumi.String("tf-test"), EventBusName: pulumi.String("bus_name"), EventSourceName: pulumi.String("tftest"), ExternalSourceConfig: pulumi.AnyMap{ "QueueName": pulumi.Any("mns_queuqe_name"), }, ExternalSourceType: pulumi.String("MNS"), LinkedExternalSource: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
Event Bridge Event Source can be imported using the id, e.g.
```sh
$ pulumi import alicloud:eventbridge/eventSource:EventSource example <event_source_name>
```
func GetEventSource ¶
func GetEventSource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventSourceState, opts ...pulumi.ResourceOption) (*EventSource, error)
GetEventSource gets an existing EventSource resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEventSource ¶
func NewEventSource(ctx *pulumi.Context, name string, args *EventSourceArgs, opts ...pulumi.ResourceOption) (*EventSource, error)
NewEventSource registers a new resource with the given unique name, arguments, and options.
func (*EventSource) ElementType ¶
func (*EventSource) ElementType() reflect.Type
func (*EventSource) ToEventSourceOutput ¶
func (i *EventSource) ToEventSourceOutput() EventSourceOutput
func (*EventSource) ToEventSourceOutputWithContext ¶
func (i *EventSource) ToEventSourceOutputWithContext(ctx context.Context) EventSourceOutput
type EventSourceArgs ¶
type EventSourceArgs struct { // The detail describe of event source. Description pulumi.StringPtrInput // The name of event bus. EventBusName pulumi.StringInput // The code name of event source. EventSourceName pulumi.StringInput // The config of external source. // When `externalSourceType` is `RabbitMQ`, The following attributes are supported: // `RegionId` - The region ID of RabbitMQ. // `InstanceId` - The instance ID of RabbitMQ. // `VirtualHostName` - The virtual host name of RabbitMQ. // `QueueName` - The queue name of RabbitMQ. // When `externalSourceType` is `RabbitMQ`, The following attributes are supported: // `RegionId` - The region ID of RabbitMQ. // `InstanceId` - The instance ID of RabbitMQ. // `Topic` - The topic of RabbitMQ. // `Offset` - The offset of RabbitMQ, valid values: `CONSUME_FROM_FIRST_OFFSET`, `CONSUME_FROM_LAST_OFFSET` and `CONSUME_FROM_TIMESTAMP`. // `GroupID` - The group ID of consumer. // When `externalSourceType` is `MNS`, The following attributes are supported: // `QueueName` - The queue name of MNS. ExternalSourceConfig pulumi.MapInput // The type of external data source. Valid value : `RabbitMQ`, `RocketMQ` and `MNS`. **NOTE:** Only When `linkedExternalSource` is `true`, This field is valid. ExternalSourceType pulumi.StringPtrInput // Whether to connect to an external data source. Default value: `false` LinkedExternalSource pulumi.BoolPtrInput }
The set of arguments for constructing a EventSource resource.
func (EventSourceArgs) ElementType ¶
func (EventSourceArgs) ElementType() reflect.Type
type EventSourceArray ¶
type EventSourceArray []EventSourceInput
func (EventSourceArray) ElementType ¶
func (EventSourceArray) ElementType() reflect.Type
func (EventSourceArray) ToEventSourceArrayOutput ¶
func (i EventSourceArray) ToEventSourceArrayOutput() EventSourceArrayOutput
func (EventSourceArray) ToEventSourceArrayOutputWithContext ¶
func (i EventSourceArray) ToEventSourceArrayOutputWithContext(ctx context.Context) EventSourceArrayOutput
type EventSourceArrayInput ¶
type EventSourceArrayInput interface { pulumi.Input ToEventSourceArrayOutput() EventSourceArrayOutput ToEventSourceArrayOutputWithContext(context.Context) EventSourceArrayOutput }
EventSourceArrayInput is an input type that accepts EventSourceArray and EventSourceArrayOutput values. You can construct a concrete instance of `EventSourceArrayInput` via:
EventSourceArray{ EventSourceArgs{...} }
type EventSourceArrayOutput ¶
type EventSourceArrayOutput struct{ *pulumi.OutputState }
func (EventSourceArrayOutput) ElementType ¶
func (EventSourceArrayOutput) ElementType() reflect.Type
func (EventSourceArrayOutput) Index ¶
func (o EventSourceArrayOutput) Index(i pulumi.IntInput) EventSourceOutput
func (EventSourceArrayOutput) ToEventSourceArrayOutput ¶
func (o EventSourceArrayOutput) ToEventSourceArrayOutput() EventSourceArrayOutput
func (EventSourceArrayOutput) ToEventSourceArrayOutputWithContext ¶
func (o EventSourceArrayOutput) ToEventSourceArrayOutputWithContext(ctx context.Context) EventSourceArrayOutput
type EventSourceInput ¶
type EventSourceInput interface { pulumi.Input ToEventSourceOutput() EventSourceOutput ToEventSourceOutputWithContext(ctx context.Context) EventSourceOutput }
type EventSourceMap ¶
type EventSourceMap map[string]EventSourceInput
func (EventSourceMap) ElementType ¶
func (EventSourceMap) ElementType() reflect.Type
func (EventSourceMap) ToEventSourceMapOutput ¶
func (i EventSourceMap) ToEventSourceMapOutput() EventSourceMapOutput
func (EventSourceMap) ToEventSourceMapOutputWithContext ¶
func (i EventSourceMap) ToEventSourceMapOutputWithContext(ctx context.Context) EventSourceMapOutput
type EventSourceMapInput ¶
type EventSourceMapInput interface { pulumi.Input ToEventSourceMapOutput() EventSourceMapOutput ToEventSourceMapOutputWithContext(context.Context) EventSourceMapOutput }
EventSourceMapInput is an input type that accepts EventSourceMap and EventSourceMapOutput values. You can construct a concrete instance of `EventSourceMapInput` via:
EventSourceMap{ "key": EventSourceArgs{...} }
type EventSourceMapOutput ¶
type EventSourceMapOutput struct{ *pulumi.OutputState }
func (EventSourceMapOutput) ElementType ¶
func (EventSourceMapOutput) ElementType() reflect.Type
func (EventSourceMapOutput) MapIndex ¶
func (o EventSourceMapOutput) MapIndex(k pulumi.StringInput) EventSourceOutput
func (EventSourceMapOutput) ToEventSourceMapOutput ¶
func (o EventSourceMapOutput) ToEventSourceMapOutput() EventSourceMapOutput
func (EventSourceMapOutput) ToEventSourceMapOutputWithContext ¶
func (o EventSourceMapOutput) ToEventSourceMapOutputWithContext(ctx context.Context) EventSourceMapOutput
type EventSourceOutput ¶
type EventSourceOutput struct{ *pulumi.OutputState }
func (EventSourceOutput) Description ¶
func (o EventSourceOutput) Description() pulumi.StringPtrOutput
The detail describe of event source.
func (EventSourceOutput) ElementType ¶
func (EventSourceOutput) ElementType() reflect.Type
func (EventSourceOutput) EventBusName ¶
func (o EventSourceOutput) EventBusName() pulumi.StringOutput
The name of event bus.
func (EventSourceOutput) EventSourceName ¶
func (o EventSourceOutput) EventSourceName() pulumi.StringOutput
The code name of event source.
func (EventSourceOutput) ExternalSourceConfig ¶
func (o EventSourceOutput) ExternalSourceConfig() pulumi.MapOutput
The config of external source. When `externalSourceType` is `RabbitMQ`, The following attributes are supported: `RegionId` - The region ID of RabbitMQ. `InstanceId` - The instance ID of RabbitMQ. `VirtualHostName` - The virtual host name of RabbitMQ. `QueueName` - The queue name of RabbitMQ. When `externalSourceType` is `RabbitMQ`, The following attributes are supported: `RegionId` - The region ID of RabbitMQ. `InstanceId` - The instance ID of RabbitMQ. `Topic` - The topic of RabbitMQ. `Offset` - The offset of RabbitMQ, valid values: `CONSUME_FROM_FIRST_OFFSET`, `CONSUME_FROM_LAST_OFFSET` and `CONSUME_FROM_TIMESTAMP`. `GroupID` - The group ID of consumer. When `externalSourceType` is `MNS`, The following attributes are supported: `QueueName` - The queue name of MNS.
func (EventSourceOutput) ExternalSourceType ¶
func (o EventSourceOutput) ExternalSourceType() pulumi.StringPtrOutput
The type of external data source. Valid value : `RabbitMQ`, `RocketMQ` and `MNS`. **NOTE:** Only When `linkedExternalSource` is `true`, This field is valid.
func (EventSourceOutput) LinkedExternalSource ¶
func (o EventSourceOutput) LinkedExternalSource() pulumi.BoolOutput
Whether to connect to an external data source. Default value: `false`
func (EventSourceOutput) ToEventSourceOutput ¶
func (o EventSourceOutput) ToEventSourceOutput() EventSourceOutput
func (EventSourceOutput) ToEventSourceOutputWithContext ¶
func (o EventSourceOutput) ToEventSourceOutputWithContext(ctx context.Context) EventSourceOutput
type EventSourceState ¶
type EventSourceState struct { // The detail describe of event source. Description pulumi.StringPtrInput // The name of event bus. EventBusName pulumi.StringPtrInput // The code name of event source. EventSourceName pulumi.StringPtrInput // The config of external source. // When `externalSourceType` is `RabbitMQ`, The following attributes are supported: // `RegionId` - The region ID of RabbitMQ. // `InstanceId` - The instance ID of RabbitMQ. // `VirtualHostName` - The virtual host name of RabbitMQ. // `QueueName` - The queue name of RabbitMQ. // When `externalSourceType` is `RabbitMQ`, The following attributes are supported: // `RegionId` - The region ID of RabbitMQ. // `InstanceId` - The instance ID of RabbitMQ. // `Topic` - The topic of RabbitMQ. // `Offset` - The offset of RabbitMQ, valid values: `CONSUME_FROM_FIRST_OFFSET`, `CONSUME_FROM_LAST_OFFSET` and `CONSUME_FROM_TIMESTAMP`. // `GroupID` - The group ID of consumer. // When `externalSourceType` is `MNS`, The following attributes are supported: // `QueueName` - The queue name of MNS. ExternalSourceConfig pulumi.MapInput // The type of external data source. Valid value : `RabbitMQ`, `RocketMQ` and `MNS`. **NOTE:** Only When `linkedExternalSource` is `true`, This field is valid. ExternalSourceType pulumi.StringPtrInput // Whether to connect to an external data source. Default value: `false` LinkedExternalSource pulumi.BoolPtrInput }
func (EventSourceState) ElementType ¶
func (EventSourceState) ElementType() reflect.Type
type GetEventBusesArgs ¶
type GetEventBusesArgs struct { // The event bus type. EventBusType *string `pulumi:"eventBusType"` // A list of Event Bus IDs. Its element value is same as Event Bus Name. Ids []string `pulumi:"ids"` // The name prefix. NamePrefix *string `pulumi:"namePrefix"` // A regex string to filter results by Event Bus name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getEventBuses.
type GetEventBusesBus ¶
type GetEventBusesBus struct { // The time of this bus was created. CreateTime string `pulumi:"createTime"` // The description of event bus. Description string `pulumi:"description"` // The name of event bus. EventBusName string `pulumi:"eventBusName"` // The ID of the Event Bus. Its value is same as Queue Name. Id string `pulumi:"id"` }
type GetEventBusesBusArgs ¶
type GetEventBusesBusArgs struct { // The time of this bus was created. CreateTime pulumi.StringInput `pulumi:"createTime"` // The description of event bus. Description pulumi.StringInput `pulumi:"description"` // The name of event bus. EventBusName pulumi.StringInput `pulumi:"eventBusName"` // The ID of the Event Bus. Its value is same as Queue Name. Id pulumi.StringInput `pulumi:"id"` }
func (GetEventBusesBusArgs) ElementType ¶
func (GetEventBusesBusArgs) ElementType() reflect.Type
func (GetEventBusesBusArgs) ToGetEventBusesBusOutput ¶
func (i GetEventBusesBusArgs) ToGetEventBusesBusOutput() GetEventBusesBusOutput
func (GetEventBusesBusArgs) ToGetEventBusesBusOutputWithContext ¶
func (i GetEventBusesBusArgs) ToGetEventBusesBusOutputWithContext(ctx context.Context) GetEventBusesBusOutput
type GetEventBusesBusArray ¶
type GetEventBusesBusArray []GetEventBusesBusInput
func (GetEventBusesBusArray) ElementType ¶
func (GetEventBusesBusArray) ElementType() reflect.Type
func (GetEventBusesBusArray) ToGetEventBusesBusArrayOutput ¶
func (i GetEventBusesBusArray) ToGetEventBusesBusArrayOutput() GetEventBusesBusArrayOutput
func (GetEventBusesBusArray) ToGetEventBusesBusArrayOutputWithContext ¶
func (i GetEventBusesBusArray) ToGetEventBusesBusArrayOutputWithContext(ctx context.Context) GetEventBusesBusArrayOutput
type GetEventBusesBusArrayInput ¶
type GetEventBusesBusArrayInput interface { pulumi.Input ToGetEventBusesBusArrayOutput() GetEventBusesBusArrayOutput ToGetEventBusesBusArrayOutputWithContext(context.Context) GetEventBusesBusArrayOutput }
GetEventBusesBusArrayInput is an input type that accepts GetEventBusesBusArray and GetEventBusesBusArrayOutput values. You can construct a concrete instance of `GetEventBusesBusArrayInput` via:
GetEventBusesBusArray{ GetEventBusesBusArgs{...} }
type GetEventBusesBusArrayOutput ¶
type GetEventBusesBusArrayOutput struct{ *pulumi.OutputState }
func (GetEventBusesBusArrayOutput) ElementType ¶
func (GetEventBusesBusArrayOutput) ElementType() reflect.Type
func (GetEventBusesBusArrayOutput) Index ¶
func (o GetEventBusesBusArrayOutput) Index(i pulumi.IntInput) GetEventBusesBusOutput
func (GetEventBusesBusArrayOutput) ToGetEventBusesBusArrayOutput ¶
func (o GetEventBusesBusArrayOutput) ToGetEventBusesBusArrayOutput() GetEventBusesBusArrayOutput
func (GetEventBusesBusArrayOutput) ToGetEventBusesBusArrayOutputWithContext ¶
func (o GetEventBusesBusArrayOutput) ToGetEventBusesBusArrayOutputWithContext(ctx context.Context) GetEventBusesBusArrayOutput
type GetEventBusesBusInput ¶
type GetEventBusesBusInput interface { pulumi.Input ToGetEventBusesBusOutput() GetEventBusesBusOutput ToGetEventBusesBusOutputWithContext(context.Context) GetEventBusesBusOutput }
GetEventBusesBusInput is an input type that accepts GetEventBusesBusArgs and GetEventBusesBusOutput values. You can construct a concrete instance of `GetEventBusesBusInput` via:
GetEventBusesBusArgs{...}
type GetEventBusesBusOutput ¶
type GetEventBusesBusOutput struct{ *pulumi.OutputState }
func (GetEventBusesBusOutput) CreateTime ¶
func (o GetEventBusesBusOutput) CreateTime() pulumi.StringOutput
The time of this bus was created.
func (GetEventBusesBusOutput) Description ¶
func (o GetEventBusesBusOutput) Description() pulumi.StringOutput
The description of event bus.
func (GetEventBusesBusOutput) ElementType ¶
func (GetEventBusesBusOutput) ElementType() reflect.Type
func (GetEventBusesBusOutput) EventBusName ¶
func (o GetEventBusesBusOutput) EventBusName() pulumi.StringOutput
The name of event bus.
func (GetEventBusesBusOutput) Id ¶
func (o GetEventBusesBusOutput) Id() pulumi.StringOutput
The ID of the Event Bus. Its value is same as Queue Name.
func (GetEventBusesBusOutput) ToGetEventBusesBusOutput ¶
func (o GetEventBusesBusOutput) ToGetEventBusesBusOutput() GetEventBusesBusOutput
func (GetEventBusesBusOutput) ToGetEventBusesBusOutputWithContext ¶
func (o GetEventBusesBusOutput) ToGetEventBusesBusOutputWithContext(ctx context.Context) GetEventBusesBusOutput
type GetEventBusesOutputArgs ¶
type GetEventBusesOutputArgs struct { // The event bus type. EventBusType pulumi.StringPtrInput `pulumi:"eventBusType"` // A list of Event Bus IDs. Its element value is same as Event Bus Name. Ids pulumi.StringArrayInput `pulumi:"ids"` // The name prefix. NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"` // A regex string to filter results by Event Bus name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getEventBuses.
func (GetEventBusesOutputArgs) ElementType ¶
func (GetEventBusesOutputArgs) ElementType() reflect.Type
type GetEventBusesResult ¶
type GetEventBusesResult struct { Buses []GetEventBusesBus `pulumi:"buses"` EventBusType *string `pulumi:"eventBusType"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NamePrefix *string `pulumi:"namePrefix"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getEventBuses.
func GetEventBuses ¶
func GetEventBuses(ctx *pulumi.Context, args *GetEventBusesArgs, opts ...pulumi.InvokeOption) (*GetEventBusesResult, error)
This data source provides the Event Bridge Event Buses of the current Alibaba Cloud user.
> **NOTE:** Available in v1.129.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eventbridge"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := eventbridge.GetEventBuses(ctx, nil, nil) if err != nil { return err } ctx.Export("eventBridgeEventBusId1", ids.Buses[0].Id) nameRegex, err := eventbridge.GetEventBuses(ctx, &eventbridge.GetEventBusesArgs{ NameRegex: pulumi.StringRef("^my-EventBus"), }, nil) if err != nil { return err } ctx.Export("eventBridgeEventBusId2", nameRegex.Buses[0].Id) return nil }) }
```
type GetEventBusesResultOutput ¶
type GetEventBusesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEventBuses.
func GetEventBusesOutput ¶
func GetEventBusesOutput(ctx *pulumi.Context, args GetEventBusesOutputArgs, opts ...pulumi.InvokeOption) GetEventBusesResultOutput
func (GetEventBusesResultOutput) Buses ¶
func (o GetEventBusesResultOutput) Buses() GetEventBusesBusArrayOutput
func (GetEventBusesResultOutput) ElementType ¶
func (GetEventBusesResultOutput) ElementType() reflect.Type
func (GetEventBusesResultOutput) EventBusType ¶
func (o GetEventBusesResultOutput) EventBusType() pulumi.StringPtrOutput
func (GetEventBusesResultOutput) Id ¶
func (o GetEventBusesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEventBusesResultOutput) Ids ¶
func (o GetEventBusesResultOutput) Ids() pulumi.StringArrayOutput
func (GetEventBusesResultOutput) NamePrefix ¶
func (o GetEventBusesResultOutput) NamePrefix() pulumi.StringPtrOutput
func (GetEventBusesResultOutput) NameRegex ¶
func (o GetEventBusesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEventBusesResultOutput) Names ¶
func (o GetEventBusesResultOutput) Names() pulumi.StringArrayOutput
func (GetEventBusesResultOutput) OutputFile ¶
func (o GetEventBusesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEventBusesResultOutput) ToGetEventBusesResultOutput ¶
func (o GetEventBusesResultOutput) ToGetEventBusesResultOutput() GetEventBusesResultOutput
func (GetEventBusesResultOutput) ToGetEventBusesResultOutputWithContext ¶
func (o GetEventBusesResultOutput) ToGetEventBusesResultOutputWithContext(ctx context.Context) GetEventBusesResultOutput
type GetEventSourcesArgs ¶
type GetEventSourcesArgs struct { // A list of Event Source IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Event Source name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getEventSources.
type GetEventSourcesOutputArgs ¶
type GetEventSourcesOutputArgs struct { // A list of Event Source IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Event Source name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getEventSources.
func (GetEventSourcesOutputArgs) ElementType ¶
func (GetEventSourcesOutputArgs) ElementType() reflect.Type
type GetEventSourcesResult ¶
type GetEventSourcesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Sources []GetEventSourcesSource `pulumi:"sources"` }
A collection of values returned by getEventSources.
func GetEventSources ¶
func GetEventSources(ctx *pulumi.Context, args *GetEventSourcesArgs, opts ...pulumi.InvokeOption) (*GetEventSourcesResult, error)
This data source provides the Event Bridge Event Sources of the current Alibaba Cloud user.
> **NOTE:** Available in v1.130.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eventbridge"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := eventbridge.GetEventSources(ctx, &eventbridge.GetEventSourcesArgs{ Ids: []string{ "example_value", }, NameRegex: pulumi.StringRef("the_resource_name"), }, nil) if err != nil { return err } ctx.Export("firstEventBridgeEventSourceId", example.Sources[0].Id) return nil }) }
```
type GetEventSourcesResultOutput ¶
type GetEventSourcesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEventSources.
func GetEventSourcesOutput ¶
func GetEventSourcesOutput(ctx *pulumi.Context, args GetEventSourcesOutputArgs, opts ...pulumi.InvokeOption) GetEventSourcesResultOutput
func (GetEventSourcesResultOutput) ElementType ¶
func (GetEventSourcesResultOutput) ElementType() reflect.Type
func (GetEventSourcesResultOutput) Id ¶
func (o GetEventSourcesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEventSourcesResultOutput) Ids ¶
func (o GetEventSourcesResultOutput) Ids() pulumi.StringArrayOutput
func (GetEventSourcesResultOutput) NameRegex ¶
func (o GetEventSourcesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEventSourcesResultOutput) Names ¶
func (o GetEventSourcesResultOutput) Names() pulumi.StringArrayOutput
func (GetEventSourcesResultOutput) OutputFile ¶
func (o GetEventSourcesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEventSourcesResultOutput) Sources ¶
func (o GetEventSourcesResultOutput) Sources() GetEventSourcesSourceArrayOutput
func (GetEventSourcesResultOutput) ToGetEventSourcesResultOutput ¶
func (o GetEventSourcesResultOutput) ToGetEventSourcesResultOutput() GetEventSourcesResultOutput
func (GetEventSourcesResultOutput) ToGetEventSourcesResultOutputWithContext ¶
func (o GetEventSourcesResultOutput) ToGetEventSourcesResultOutputWithContext(ctx context.Context) GetEventSourcesResultOutput
type GetEventSourcesSource ¶
type GetEventSourcesSource struct { // The detail describe of event source. Description string `pulumi:"description"` // The code name of event source. EventSourceName string `pulumi:"eventSourceName"` // The config of external data source. ExternalSourceConfig map[string]interface{} `pulumi:"externalSourceConfig"` // The type of external data source. ExternalSourceType string `pulumi:"externalSourceType"` // The ID of the Event Source. Id string `pulumi:"id"` // Whether to connect to an external data source. LinkedExternalSource bool `pulumi:"linkedExternalSource"` Type string `pulumi:"type"` }
type GetEventSourcesSourceArgs ¶
type GetEventSourcesSourceArgs struct { // The detail describe of event source. Description pulumi.StringInput `pulumi:"description"` // The code name of event source. EventSourceName pulumi.StringInput `pulumi:"eventSourceName"` // The config of external data source. ExternalSourceConfig pulumi.MapInput `pulumi:"externalSourceConfig"` // The type of external data source. ExternalSourceType pulumi.StringInput `pulumi:"externalSourceType"` // The ID of the Event Source. Id pulumi.StringInput `pulumi:"id"` // Whether to connect to an external data source. LinkedExternalSource pulumi.BoolInput `pulumi:"linkedExternalSource"` Type pulumi.StringInput `pulumi:"type"` }
func (GetEventSourcesSourceArgs) ElementType ¶
func (GetEventSourcesSourceArgs) ElementType() reflect.Type
func (GetEventSourcesSourceArgs) ToGetEventSourcesSourceOutput ¶
func (i GetEventSourcesSourceArgs) ToGetEventSourcesSourceOutput() GetEventSourcesSourceOutput
func (GetEventSourcesSourceArgs) ToGetEventSourcesSourceOutputWithContext ¶
func (i GetEventSourcesSourceArgs) ToGetEventSourcesSourceOutputWithContext(ctx context.Context) GetEventSourcesSourceOutput
type GetEventSourcesSourceArray ¶
type GetEventSourcesSourceArray []GetEventSourcesSourceInput
func (GetEventSourcesSourceArray) ElementType ¶
func (GetEventSourcesSourceArray) ElementType() reflect.Type
func (GetEventSourcesSourceArray) ToGetEventSourcesSourceArrayOutput ¶
func (i GetEventSourcesSourceArray) ToGetEventSourcesSourceArrayOutput() GetEventSourcesSourceArrayOutput
func (GetEventSourcesSourceArray) ToGetEventSourcesSourceArrayOutputWithContext ¶
func (i GetEventSourcesSourceArray) ToGetEventSourcesSourceArrayOutputWithContext(ctx context.Context) GetEventSourcesSourceArrayOutput
type GetEventSourcesSourceArrayInput ¶
type GetEventSourcesSourceArrayInput interface { pulumi.Input ToGetEventSourcesSourceArrayOutput() GetEventSourcesSourceArrayOutput ToGetEventSourcesSourceArrayOutputWithContext(context.Context) GetEventSourcesSourceArrayOutput }
GetEventSourcesSourceArrayInput is an input type that accepts GetEventSourcesSourceArray and GetEventSourcesSourceArrayOutput values. You can construct a concrete instance of `GetEventSourcesSourceArrayInput` via:
GetEventSourcesSourceArray{ GetEventSourcesSourceArgs{...} }
type GetEventSourcesSourceArrayOutput ¶
type GetEventSourcesSourceArrayOutput struct{ *pulumi.OutputState }
func (GetEventSourcesSourceArrayOutput) ElementType ¶
func (GetEventSourcesSourceArrayOutput) ElementType() reflect.Type
func (GetEventSourcesSourceArrayOutput) Index ¶
func (o GetEventSourcesSourceArrayOutput) Index(i pulumi.IntInput) GetEventSourcesSourceOutput
func (GetEventSourcesSourceArrayOutput) ToGetEventSourcesSourceArrayOutput ¶
func (o GetEventSourcesSourceArrayOutput) ToGetEventSourcesSourceArrayOutput() GetEventSourcesSourceArrayOutput
func (GetEventSourcesSourceArrayOutput) ToGetEventSourcesSourceArrayOutputWithContext ¶
func (o GetEventSourcesSourceArrayOutput) ToGetEventSourcesSourceArrayOutputWithContext(ctx context.Context) GetEventSourcesSourceArrayOutput
type GetEventSourcesSourceInput ¶
type GetEventSourcesSourceInput interface { pulumi.Input ToGetEventSourcesSourceOutput() GetEventSourcesSourceOutput ToGetEventSourcesSourceOutputWithContext(context.Context) GetEventSourcesSourceOutput }
GetEventSourcesSourceInput is an input type that accepts GetEventSourcesSourceArgs and GetEventSourcesSourceOutput values. You can construct a concrete instance of `GetEventSourcesSourceInput` via:
GetEventSourcesSourceArgs{...}
type GetEventSourcesSourceOutput ¶
type GetEventSourcesSourceOutput struct{ *pulumi.OutputState }
func (GetEventSourcesSourceOutput) Description ¶
func (o GetEventSourcesSourceOutput) Description() pulumi.StringOutput
The detail describe of event source.
func (GetEventSourcesSourceOutput) ElementType ¶
func (GetEventSourcesSourceOutput) ElementType() reflect.Type
func (GetEventSourcesSourceOutput) EventSourceName ¶
func (o GetEventSourcesSourceOutput) EventSourceName() pulumi.StringOutput
The code name of event source.
func (GetEventSourcesSourceOutput) ExternalSourceConfig ¶
func (o GetEventSourcesSourceOutput) ExternalSourceConfig() pulumi.MapOutput
The config of external data source.
func (GetEventSourcesSourceOutput) ExternalSourceType ¶
func (o GetEventSourcesSourceOutput) ExternalSourceType() pulumi.StringOutput
The type of external data source.
func (GetEventSourcesSourceOutput) Id ¶
func (o GetEventSourcesSourceOutput) Id() pulumi.StringOutput
The ID of the Event Source.
func (GetEventSourcesSourceOutput) LinkedExternalSource ¶
func (o GetEventSourcesSourceOutput) LinkedExternalSource() pulumi.BoolOutput
Whether to connect to an external data source.
func (GetEventSourcesSourceOutput) ToGetEventSourcesSourceOutput ¶
func (o GetEventSourcesSourceOutput) ToGetEventSourcesSourceOutput() GetEventSourcesSourceOutput
func (GetEventSourcesSourceOutput) ToGetEventSourcesSourceOutputWithContext ¶
func (o GetEventSourcesSourceOutput) ToGetEventSourcesSourceOutputWithContext(ctx context.Context) GetEventSourcesSourceOutput
func (GetEventSourcesSourceOutput) Type ¶
func (o GetEventSourcesSourceOutput) Type() pulumi.StringOutput
type GetRulesArgs ¶
type GetRulesArgs struct { // The name of event bus. EventBusName string `pulumi:"eventBusName"` // A list of Rule IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Rule name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The rule name prefix. RuleNamePrefix *string `pulumi:"ruleNamePrefix"` // Rule status, either Enable or Disable. Status *string `pulumi:"status"` }
A collection of arguments for invoking getRules.
type GetRulesOutputArgs ¶
type GetRulesOutputArgs struct { // The name of event bus. EventBusName pulumi.StringInput `pulumi:"eventBusName"` // A list of Rule IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Rule name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The rule name prefix. RuleNamePrefix pulumi.StringPtrInput `pulumi:"ruleNamePrefix"` // Rule status, either Enable or Disable. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getRules.
func (GetRulesOutputArgs) ElementType ¶
func (GetRulesOutputArgs) ElementType() reflect.Type
type GetRulesResult ¶
type GetRulesResult struct { EventBusName string `pulumi:"eventBusName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` RuleNamePrefix *string `pulumi:"ruleNamePrefix"` Rules []GetRulesRule `pulumi:"rules"` Status *string `pulumi:"status"` }
A collection of values returned by getRules.
func GetRules ¶
func GetRules(ctx *pulumi.Context, args *GetRulesArgs, opts ...pulumi.InvokeOption) (*GetRulesResult, error)
This data source provides the Event Bridge Rules of the current Alibaba Cloud user.
> **NOTE:** Available in v1.129.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eventbridge"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := eventbridge.GetRules(ctx, &eventbridge.GetRulesArgs{ EventBusName: "example_value", Ids: []string{ "example_value", }, NameRegex: pulumi.StringRef("the_resource_name"), }, nil) if err != nil { return err } ctx.Export("firstEventBridgeRuleId", example.Rules[0].Id) return nil }) }
```
type GetRulesResultOutput ¶
type GetRulesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRules.
func GetRulesOutput ¶
func GetRulesOutput(ctx *pulumi.Context, args GetRulesOutputArgs, opts ...pulumi.InvokeOption) GetRulesResultOutput
func (GetRulesResultOutput) ElementType ¶
func (GetRulesResultOutput) ElementType() reflect.Type
func (GetRulesResultOutput) EventBusName ¶
func (o GetRulesResultOutput) EventBusName() pulumi.StringOutput
func (GetRulesResultOutput) Id ¶
func (o GetRulesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRulesResultOutput) Ids ¶
func (o GetRulesResultOutput) Ids() pulumi.StringArrayOutput
func (GetRulesResultOutput) NameRegex ¶
func (o GetRulesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetRulesResultOutput) Names ¶
func (o GetRulesResultOutput) Names() pulumi.StringArrayOutput
func (GetRulesResultOutput) OutputFile ¶
func (o GetRulesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetRulesResultOutput) RuleNamePrefix ¶
func (o GetRulesResultOutput) RuleNamePrefix() pulumi.StringPtrOutput
func (GetRulesResultOutput) Rules ¶
func (o GetRulesResultOutput) Rules() GetRulesRuleArrayOutput
func (GetRulesResultOutput) Status ¶
func (o GetRulesResultOutput) Status() pulumi.StringPtrOutput
func (GetRulesResultOutput) ToGetRulesResultOutput ¶
func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput
func (GetRulesResultOutput) ToGetRulesResultOutputWithContext ¶
func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput
type GetRulesRule ¶
type GetRulesRule struct { // The description of rule. Description string `pulumi:"description"` // The name of event bus. EventBusName string `pulumi:"eventBusName"` // The pattern to match interested events. FilterPattern string `pulumi:"filterPattern"` // The ID of the Rule. Id string `pulumi:"id"` // The name of rule. RuleName string `pulumi:"ruleName"` // Rule status, either Enable or Disable. Status string `pulumi:"status"` // The target for rule. Targets []GetRulesRuleTarget `pulumi:"targets"` }
type GetRulesRuleArgs ¶
type GetRulesRuleArgs struct { // The description of rule. Description pulumi.StringInput `pulumi:"description"` // The name of event bus. EventBusName pulumi.StringInput `pulumi:"eventBusName"` // The pattern to match interested events. FilterPattern pulumi.StringInput `pulumi:"filterPattern"` // The ID of the Rule. Id pulumi.StringInput `pulumi:"id"` // The name of rule. RuleName pulumi.StringInput `pulumi:"ruleName"` // Rule status, either Enable or Disable. Status pulumi.StringInput `pulumi:"status"` // The target for rule. Targets GetRulesRuleTargetArrayInput `pulumi:"targets"` }
func (GetRulesRuleArgs) ElementType ¶
func (GetRulesRuleArgs) ElementType() reflect.Type
func (GetRulesRuleArgs) ToGetRulesRuleOutput ¶
func (i GetRulesRuleArgs) ToGetRulesRuleOutput() GetRulesRuleOutput
func (GetRulesRuleArgs) ToGetRulesRuleOutputWithContext ¶
func (i GetRulesRuleArgs) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
type GetRulesRuleArray ¶
type GetRulesRuleArray []GetRulesRuleInput
func (GetRulesRuleArray) ElementType ¶
func (GetRulesRuleArray) ElementType() reflect.Type
func (GetRulesRuleArray) ToGetRulesRuleArrayOutput ¶
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
func (GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext ¶
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
type GetRulesRuleArrayInput ¶
type GetRulesRuleArrayInput interface { pulumi.Input ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput ToGetRulesRuleArrayOutputWithContext(context.Context) GetRulesRuleArrayOutput }
GetRulesRuleArrayInput is an input type that accepts GetRulesRuleArray and GetRulesRuleArrayOutput values. You can construct a concrete instance of `GetRulesRuleArrayInput` via:
GetRulesRuleArray{ GetRulesRuleArgs{...} }
type GetRulesRuleArrayOutput ¶
type GetRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleArrayOutput) ElementType ¶
func (GetRulesRuleArrayOutput) ElementType() reflect.Type
func (GetRulesRuleArrayOutput) Index ¶
func (o GetRulesRuleArrayOutput) Index(i pulumi.IntInput) GetRulesRuleOutput
func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput ¶
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext ¶
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
type GetRulesRuleInput ¶
type GetRulesRuleInput interface { pulumi.Input ToGetRulesRuleOutput() GetRulesRuleOutput ToGetRulesRuleOutputWithContext(context.Context) GetRulesRuleOutput }
GetRulesRuleInput is an input type that accepts GetRulesRuleArgs and GetRulesRuleOutput values. You can construct a concrete instance of `GetRulesRuleInput` via:
GetRulesRuleArgs{...}
type GetRulesRuleOutput ¶
type GetRulesRuleOutput struct{ *pulumi.OutputState }
func (GetRulesRuleOutput) Description ¶
func (o GetRulesRuleOutput) Description() pulumi.StringOutput
The description of rule.
func (GetRulesRuleOutput) ElementType ¶
func (GetRulesRuleOutput) ElementType() reflect.Type
func (GetRulesRuleOutput) EventBusName ¶
func (o GetRulesRuleOutput) EventBusName() pulumi.StringOutput
The name of event bus.
func (GetRulesRuleOutput) FilterPattern ¶
func (o GetRulesRuleOutput) FilterPattern() pulumi.StringOutput
The pattern to match interested events.
func (GetRulesRuleOutput) Id ¶
func (o GetRulesRuleOutput) Id() pulumi.StringOutput
The ID of the Rule.
func (GetRulesRuleOutput) RuleName ¶
func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput
The name of rule.
func (GetRulesRuleOutput) Status ¶
func (o GetRulesRuleOutput) Status() pulumi.StringOutput
Rule status, either Enable or Disable.
func (GetRulesRuleOutput) Targets ¶
func (o GetRulesRuleOutput) Targets() GetRulesRuleTargetArrayOutput
The target for rule.
func (GetRulesRuleOutput) ToGetRulesRuleOutput ¶
func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput
func (GetRulesRuleOutput) ToGetRulesRuleOutputWithContext ¶
func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
type GetRulesRuleTarget ¶
type GetRulesRuleTargetArgs ¶
type GetRulesRuleTargetArgs struct { // The endpoint. Endpoint pulumi.StringInput `pulumi:"endpoint"` // The id of target. TargetId pulumi.StringInput `pulumi:"targetId"` // The type of target. Type pulumi.StringInput `pulumi:"type"` }
func (GetRulesRuleTargetArgs) ElementType ¶
func (GetRulesRuleTargetArgs) ElementType() reflect.Type
func (GetRulesRuleTargetArgs) ToGetRulesRuleTargetOutput ¶
func (i GetRulesRuleTargetArgs) ToGetRulesRuleTargetOutput() GetRulesRuleTargetOutput
func (GetRulesRuleTargetArgs) ToGetRulesRuleTargetOutputWithContext ¶
func (i GetRulesRuleTargetArgs) ToGetRulesRuleTargetOutputWithContext(ctx context.Context) GetRulesRuleTargetOutput
type GetRulesRuleTargetArray ¶
type GetRulesRuleTargetArray []GetRulesRuleTargetInput
func (GetRulesRuleTargetArray) ElementType ¶
func (GetRulesRuleTargetArray) ElementType() reflect.Type
func (GetRulesRuleTargetArray) ToGetRulesRuleTargetArrayOutput ¶
func (i GetRulesRuleTargetArray) ToGetRulesRuleTargetArrayOutput() GetRulesRuleTargetArrayOutput
func (GetRulesRuleTargetArray) ToGetRulesRuleTargetArrayOutputWithContext ¶
func (i GetRulesRuleTargetArray) ToGetRulesRuleTargetArrayOutputWithContext(ctx context.Context) GetRulesRuleTargetArrayOutput
type GetRulesRuleTargetArrayInput ¶
type GetRulesRuleTargetArrayInput interface { pulumi.Input ToGetRulesRuleTargetArrayOutput() GetRulesRuleTargetArrayOutput ToGetRulesRuleTargetArrayOutputWithContext(context.Context) GetRulesRuleTargetArrayOutput }
GetRulesRuleTargetArrayInput is an input type that accepts GetRulesRuleTargetArray and GetRulesRuleTargetArrayOutput values. You can construct a concrete instance of `GetRulesRuleTargetArrayInput` via:
GetRulesRuleTargetArray{ GetRulesRuleTargetArgs{...} }
type GetRulesRuleTargetArrayOutput ¶
type GetRulesRuleTargetArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleTargetArrayOutput) ElementType ¶
func (GetRulesRuleTargetArrayOutput) ElementType() reflect.Type
func (GetRulesRuleTargetArrayOutput) Index ¶
func (o GetRulesRuleTargetArrayOutput) Index(i pulumi.IntInput) GetRulesRuleTargetOutput
func (GetRulesRuleTargetArrayOutput) ToGetRulesRuleTargetArrayOutput ¶
func (o GetRulesRuleTargetArrayOutput) ToGetRulesRuleTargetArrayOutput() GetRulesRuleTargetArrayOutput
func (GetRulesRuleTargetArrayOutput) ToGetRulesRuleTargetArrayOutputWithContext ¶
func (o GetRulesRuleTargetArrayOutput) ToGetRulesRuleTargetArrayOutputWithContext(ctx context.Context) GetRulesRuleTargetArrayOutput
type GetRulesRuleTargetInput ¶
type GetRulesRuleTargetInput interface { pulumi.Input ToGetRulesRuleTargetOutput() GetRulesRuleTargetOutput ToGetRulesRuleTargetOutputWithContext(context.Context) GetRulesRuleTargetOutput }
GetRulesRuleTargetInput is an input type that accepts GetRulesRuleTargetArgs and GetRulesRuleTargetOutput values. You can construct a concrete instance of `GetRulesRuleTargetInput` via:
GetRulesRuleTargetArgs{...}
type GetRulesRuleTargetOutput ¶
type GetRulesRuleTargetOutput struct{ *pulumi.OutputState }
func (GetRulesRuleTargetOutput) ElementType ¶
func (GetRulesRuleTargetOutput) ElementType() reflect.Type
func (GetRulesRuleTargetOutput) Endpoint ¶
func (o GetRulesRuleTargetOutput) Endpoint() pulumi.StringOutput
The endpoint.
func (GetRulesRuleTargetOutput) TargetId ¶
func (o GetRulesRuleTargetOutput) TargetId() pulumi.StringOutput
The id of target.
func (GetRulesRuleTargetOutput) ToGetRulesRuleTargetOutput ¶
func (o GetRulesRuleTargetOutput) ToGetRulesRuleTargetOutput() GetRulesRuleTargetOutput
func (GetRulesRuleTargetOutput) ToGetRulesRuleTargetOutputWithContext ¶
func (o GetRulesRuleTargetOutput) ToGetRulesRuleTargetOutputWithContext(ctx context.Context) GetRulesRuleTargetOutput
func (GetRulesRuleTargetOutput) Type ¶
func (o GetRulesRuleTargetOutput) Type() pulumi.StringOutput
The type of target.
type GetServiceArgs ¶
type GetServiceArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`. Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type GetServiceOutputArgs ¶
type GetServiceOutputArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`. Enable pulumi.StringPtrInput `pulumi:"enable"` }
A collection of arguments for invoking getService.
func (GetServiceOutputArgs) ElementType ¶
func (GetServiceOutputArgs) ElementType() reflect.Type
type GetServiceResult ¶
type GetServiceResult struct { Enable *string `pulumi:"enable"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The current service enable status. Status string `pulumi:"status"` }
A collection of values returned by getService.
func GetService ¶
func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)
Using this data source can open Event Bridge service automatically. If the service has been opened, it will return opened.
For information about Event Bridge and how to use it, see [What is Event Bridge](https://www.alibabacloud.com/help/en/doc-detail/163239.htm).
> **NOTE:** Available in v1.126.0+
> **NOTE:** This data source supports `cn-shanghai`, `cn-hangzhou` and `ap-southeast-1` regions.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eventbridge"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := eventbridge.GetService(ctx, &eventbridge.GetServiceArgs{ Enable: pulumi.StringRef("On"), }, nil) if err != nil { return err } return nil }) }
```
type GetServiceResultOutput ¶
type GetServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func GetServiceOutput ¶
func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput
func (GetServiceResultOutput) ElementType ¶
func (GetServiceResultOutput) ElementType() reflect.Type
func (GetServiceResultOutput) Enable ¶
func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
func (GetServiceResultOutput) Id ¶
func (o GetServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServiceResultOutput) Status ¶
func (o GetServiceResultOutput) Status() pulumi.StringOutput
The current service enable status.
func (GetServiceResultOutput) ToGetServiceResultOutput ¶
func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
func (GetServiceResultOutput) ToGetServiceResultOutputWithContext ¶
func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
type Rule ¶
type Rule struct { pulumi.CustomResourceState // The description of rule. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of event bus. EventBusName pulumi.StringOutput `pulumi:"eventBusName"` // The pattern to match interested events. Event mode, JSON format. The value description is as follows: `stringEqual` mode. `stringExpression` mode. Each field has up to 5 expressions (map structure). FilterPattern pulumi.StringOutput `pulumi:"filterPattern"` // The name of rule. RuleName pulumi.StringOutput `pulumi:"ruleName"` // Rule status, either Enable or Disable. Valid values: `DISABLE`, `ENABLE`. Status pulumi.StringOutput `pulumi:"status"` // The target of rule. Targets RuleTargetArrayOutput `pulumi:"targets"` }
Provides a Event Bridge Rule resource.
For information about Event Bridge Rule and how to use it, see [What is Rule](https://help.aliyun.com/document_detail/167854.html).
> **NOTE:** Available in v1.129.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eventbridge"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleEventBus, err := eventbridge.NewEventBus(ctx, "exampleEventBus", &eventbridge.EventBusArgs{ EventBusName: pulumi.String("example_value"), }) if err != nil { return err } _, err = eventbridge.NewRule(ctx, "exampleRule", &eventbridge.RuleArgs{ EventBusName: exampleEventBus.ID(), RuleName: pulumi.Any(_var.Name), Description: pulumi.String("test"), FilterPattern: pulumi.String("{\"source\":[\"crmabc.newsletter\"],\"type\":[\"UserSignUp\", \"UserLogin\"]}"), Targets: eventbridge.RuleTargetArray{ &eventbridge.RuleTargetArgs{ TargetId: pulumi.String("tf-test"), Endpoint: pulumi.String("acs:mns:cn-hangzhou:118938335****:queues/tf-test"), Type: pulumi.String("acs.mns.queue"), ParamLists: eventbridge.RuleTargetParamListArray{ &eventbridge.RuleTargetParamListArgs{ ResourceKey: pulumi.String("queue"), Form: pulumi.String("CONSTANT"), Value: pulumi.String("tf-testaccEbRule"), }, &eventbridge.RuleTargetParamListArgs{ ResourceKey: pulumi.String("Body"), Form: pulumi.String("ORIGINAL"), }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Event Bridge Rule can be imported using the id, e.g.
```sh
$ pulumi import alicloud:eventbridge/rule:Rule example <event_bus_name>:<rule_name>
```
func GetRule ¶
func GetRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleState, opts ...pulumi.ResourceOption) (*Rule, error)
GetRule gets an existing Rule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRule ¶
func NewRule(ctx *pulumi.Context, name string, args *RuleArgs, opts ...pulumi.ResourceOption) (*Rule, error)
NewRule registers a new resource with the given unique name, arguments, and options.
func (*Rule) ElementType ¶
func (*Rule) ToRuleOutput ¶
func (i *Rule) ToRuleOutput() RuleOutput
func (*Rule) ToRuleOutputWithContext ¶
func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleArgs ¶
type RuleArgs struct { // The description of rule. Description pulumi.StringPtrInput // The name of event bus. EventBusName pulumi.StringInput // The pattern to match interested events. Event mode, JSON format. The value description is as follows: `stringEqual` mode. `stringExpression` mode. Each field has up to 5 expressions (map structure). FilterPattern pulumi.StringInput // The name of rule. RuleName pulumi.StringInput // Rule status, either Enable or Disable. Valid values: `DISABLE`, `ENABLE`. Status pulumi.StringPtrInput // The target of rule. Targets RuleTargetArrayInput }
The set of arguments for constructing a Rule resource.
func (RuleArgs) ElementType ¶
type RuleArray ¶
type RuleArray []RuleInput
func (RuleArray) ElementType ¶
func (RuleArray) ToRuleArrayOutput ¶
func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput
func (RuleArray) ToRuleArrayOutputWithContext ¶
func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleArrayInput ¶
type RuleArrayInput interface { pulumi.Input ToRuleArrayOutput() RuleArrayOutput ToRuleArrayOutputWithContext(context.Context) RuleArrayOutput }
RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. You can construct a concrete instance of `RuleArrayInput` via:
RuleArray{ RuleArgs{...} }
type RuleArrayOutput ¶
type RuleArrayOutput struct{ *pulumi.OutputState }
func (RuleArrayOutput) ElementType ¶
func (RuleArrayOutput) ElementType() reflect.Type
func (RuleArrayOutput) Index ¶
func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput
func (RuleArrayOutput) ToRuleArrayOutput ¶
func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput
func (RuleArrayOutput) ToRuleArrayOutputWithContext ¶
func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleInput ¶
type RuleInput interface { pulumi.Input ToRuleOutput() RuleOutput ToRuleOutputWithContext(ctx context.Context) RuleOutput }
type RuleMap ¶
func (RuleMap) ElementType ¶
func (RuleMap) ToRuleMapOutput ¶
func (i RuleMap) ToRuleMapOutput() RuleMapOutput
func (RuleMap) ToRuleMapOutputWithContext ¶
func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleMapInput ¶
type RuleMapInput interface { pulumi.Input ToRuleMapOutput() RuleMapOutput ToRuleMapOutputWithContext(context.Context) RuleMapOutput }
RuleMapInput is an input type that accepts RuleMap and RuleMapOutput values. You can construct a concrete instance of `RuleMapInput` via:
RuleMap{ "key": RuleArgs{...} }
type RuleMapOutput ¶
type RuleMapOutput struct{ *pulumi.OutputState }
func (RuleMapOutput) ElementType ¶
func (RuleMapOutput) ElementType() reflect.Type
func (RuleMapOutput) MapIndex ¶
func (o RuleMapOutput) MapIndex(k pulumi.StringInput) RuleOutput
func (RuleMapOutput) ToRuleMapOutput ¶
func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput
func (RuleMapOutput) ToRuleMapOutputWithContext ¶
func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleOutput ¶
type RuleOutput struct{ *pulumi.OutputState }
func (RuleOutput) Description ¶
func (o RuleOutput) Description() pulumi.StringPtrOutput
The description of rule.
func (RuleOutput) ElementType ¶
func (RuleOutput) ElementType() reflect.Type
func (RuleOutput) EventBusName ¶
func (o RuleOutput) EventBusName() pulumi.StringOutput
The name of event bus.
func (RuleOutput) FilterPattern ¶
func (o RuleOutput) FilterPattern() pulumi.StringOutput
The pattern to match interested events. Event mode, JSON format. The value description is as follows: `stringEqual` mode. `stringExpression` mode. Each field has up to 5 expressions (map structure).
func (RuleOutput) Status ¶
func (o RuleOutput) Status() pulumi.StringOutput
Rule status, either Enable or Disable. Valid values: `DISABLE`, `ENABLE`.
func (RuleOutput) ToRuleOutput ¶
func (o RuleOutput) ToRuleOutput() RuleOutput
func (RuleOutput) ToRuleOutputWithContext ¶
func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleState ¶
type RuleState struct { // The description of rule. Description pulumi.StringPtrInput // The name of event bus. EventBusName pulumi.StringPtrInput // The pattern to match interested events. Event mode, JSON format. The value description is as follows: `stringEqual` mode. `stringExpression` mode. Each field has up to 5 expressions (map structure). FilterPattern pulumi.StringPtrInput // The name of rule. RuleName pulumi.StringPtrInput // Rule status, either Enable or Disable. Valid values: `DISABLE`, `ENABLE`. Status pulumi.StringPtrInput // The target of rule. Targets RuleTargetArrayInput }
func (RuleState) ElementType ¶
type RuleTarget ¶
type RuleTarget struct { // Dead letter queue. Events that are not processed or exceed the number of retries will be written to the dead letter. Support message service MNS and message queue RocketMQ. See the following `Block deadLetterQueue`. DeadLetterQueue *RuleTargetDeadLetterQueue `pulumi:"deadLetterQueue"` // The endpoint of target. Endpoint string `pulumi:"endpoint"` // A list of param. See the following `Block paramList`. ParamLists []RuleTargetParamList `pulumi:"paramLists"` // The retry policy that is used to push the event. Valid values: // - `BACKOFF_RETRY`: Backoff retry. The request can be retried up to three times. The interval between two consecutive retries is a random value between 10 and 20 seconds. // - `EXPONENTIAL_DECAY_RETRY`: Exponential decay retry. The request can be retried up to 176 times. The interval between two consecutive retries exponentially increases to 512 seconds, and the total retry time is one day. The specific retry intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512, ..., and 512 seconds, including a maximum of one hundred and sixty-seven 512 seconds in total. PushRetryStrategy *string `pulumi:"pushRetryStrategy"` // The ID of target. TargetId string `pulumi:"targetId"` // The type of target. Valid values: `acs.fc.function`, `acs.mns.topic`, `acs.mns.queue`,`http`,`acs.sms`,`acs.mail`,`acs.dingtalk`,`https`, `acs.eventbridge`,`acs.rabbitmq` and `acs.rocketmq`. Type string `pulumi:"type"` }
type RuleTargetArgs ¶
type RuleTargetArgs struct { // Dead letter queue. Events that are not processed or exceed the number of retries will be written to the dead letter. Support message service MNS and message queue RocketMQ. See the following `Block deadLetterQueue`. DeadLetterQueue RuleTargetDeadLetterQueuePtrInput `pulumi:"deadLetterQueue"` // The endpoint of target. Endpoint pulumi.StringInput `pulumi:"endpoint"` // A list of param. See the following `Block paramList`. ParamLists RuleTargetParamListArrayInput `pulumi:"paramLists"` // The retry policy that is used to push the event. Valid values: // - `BACKOFF_RETRY`: Backoff retry. The request can be retried up to three times. The interval between two consecutive retries is a random value between 10 and 20 seconds. // - `EXPONENTIAL_DECAY_RETRY`: Exponential decay retry. The request can be retried up to 176 times. The interval between two consecutive retries exponentially increases to 512 seconds, and the total retry time is one day. The specific retry intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512, ..., and 512 seconds, including a maximum of one hundred and sixty-seven 512 seconds in total. PushRetryStrategy pulumi.StringPtrInput `pulumi:"pushRetryStrategy"` // The ID of target. TargetId pulumi.StringInput `pulumi:"targetId"` // The type of target. Valid values: `acs.fc.function`, `acs.mns.topic`, `acs.mns.queue`,`http`,`acs.sms`,`acs.mail`,`acs.dingtalk`,`https`, `acs.eventbridge`,`acs.rabbitmq` and `acs.rocketmq`. Type pulumi.StringInput `pulumi:"type"` }
func (RuleTargetArgs) ElementType ¶
func (RuleTargetArgs) ElementType() reflect.Type
func (RuleTargetArgs) ToRuleTargetOutput ¶
func (i RuleTargetArgs) ToRuleTargetOutput() RuleTargetOutput
func (RuleTargetArgs) ToRuleTargetOutputWithContext ¶
func (i RuleTargetArgs) ToRuleTargetOutputWithContext(ctx context.Context) RuleTargetOutput
type RuleTargetArray ¶
type RuleTargetArray []RuleTargetInput
func (RuleTargetArray) ElementType ¶
func (RuleTargetArray) ElementType() reflect.Type
func (RuleTargetArray) ToRuleTargetArrayOutput ¶
func (i RuleTargetArray) ToRuleTargetArrayOutput() RuleTargetArrayOutput
func (RuleTargetArray) ToRuleTargetArrayOutputWithContext ¶
func (i RuleTargetArray) ToRuleTargetArrayOutputWithContext(ctx context.Context) RuleTargetArrayOutput
type RuleTargetArrayInput ¶
type RuleTargetArrayInput interface { pulumi.Input ToRuleTargetArrayOutput() RuleTargetArrayOutput ToRuleTargetArrayOutputWithContext(context.Context) RuleTargetArrayOutput }
RuleTargetArrayInput is an input type that accepts RuleTargetArray and RuleTargetArrayOutput values. You can construct a concrete instance of `RuleTargetArrayInput` via:
RuleTargetArray{ RuleTargetArgs{...} }
type RuleTargetArrayOutput ¶
type RuleTargetArrayOutput struct{ *pulumi.OutputState }
func (RuleTargetArrayOutput) ElementType ¶
func (RuleTargetArrayOutput) ElementType() reflect.Type
func (RuleTargetArrayOutput) Index ¶
func (o RuleTargetArrayOutput) Index(i pulumi.IntInput) RuleTargetOutput
func (RuleTargetArrayOutput) ToRuleTargetArrayOutput ¶
func (o RuleTargetArrayOutput) ToRuleTargetArrayOutput() RuleTargetArrayOutput
func (RuleTargetArrayOutput) ToRuleTargetArrayOutputWithContext ¶
func (o RuleTargetArrayOutput) ToRuleTargetArrayOutputWithContext(ctx context.Context) RuleTargetArrayOutput
type RuleTargetDeadLetterQueue ¶
type RuleTargetDeadLetterQueue struct { // The srn of the dead letter queue. Arn *string `pulumi:"arn"` }
type RuleTargetDeadLetterQueueArgs ¶
type RuleTargetDeadLetterQueueArgs struct { // The srn of the dead letter queue. Arn pulumi.StringPtrInput `pulumi:"arn"` }
func (RuleTargetDeadLetterQueueArgs) ElementType ¶
func (RuleTargetDeadLetterQueueArgs) ElementType() reflect.Type
func (RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueueOutput ¶
func (i RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueueOutput() RuleTargetDeadLetterQueueOutput
func (RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueueOutputWithContext ¶
func (i RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueueOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueueOutput
func (RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueuePtrOutput ¶
func (i RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueuePtrOutput() RuleTargetDeadLetterQueuePtrOutput
func (RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueuePtrOutputWithContext ¶
func (i RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueuePtrOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueuePtrOutput
type RuleTargetDeadLetterQueueInput ¶
type RuleTargetDeadLetterQueueInput interface { pulumi.Input ToRuleTargetDeadLetterQueueOutput() RuleTargetDeadLetterQueueOutput ToRuleTargetDeadLetterQueueOutputWithContext(context.Context) RuleTargetDeadLetterQueueOutput }
RuleTargetDeadLetterQueueInput is an input type that accepts RuleTargetDeadLetterQueueArgs and RuleTargetDeadLetterQueueOutput values. You can construct a concrete instance of `RuleTargetDeadLetterQueueInput` via:
RuleTargetDeadLetterQueueArgs{...}
type RuleTargetDeadLetterQueueOutput ¶
type RuleTargetDeadLetterQueueOutput struct{ *pulumi.OutputState }
func (RuleTargetDeadLetterQueueOutput) Arn ¶
func (o RuleTargetDeadLetterQueueOutput) Arn() pulumi.StringPtrOutput
The srn of the dead letter queue.
func (RuleTargetDeadLetterQueueOutput) ElementType ¶
func (RuleTargetDeadLetterQueueOutput) ElementType() reflect.Type
func (RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueueOutput ¶
func (o RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueueOutput() RuleTargetDeadLetterQueueOutput
func (RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueueOutputWithContext ¶
func (o RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueueOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueueOutput
func (RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueuePtrOutput ¶
func (o RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueuePtrOutput() RuleTargetDeadLetterQueuePtrOutput
func (RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueuePtrOutputWithContext ¶
func (o RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueuePtrOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueuePtrOutput
type RuleTargetDeadLetterQueuePtrInput ¶
type RuleTargetDeadLetterQueuePtrInput interface { pulumi.Input ToRuleTargetDeadLetterQueuePtrOutput() RuleTargetDeadLetterQueuePtrOutput ToRuleTargetDeadLetterQueuePtrOutputWithContext(context.Context) RuleTargetDeadLetterQueuePtrOutput }
RuleTargetDeadLetterQueuePtrInput is an input type that accepts RuleTargetDeadLetterQueueArgs, RuleTargetDeadLetterQueuePtr and RuleTargetDeadLetterQueuePtrOutput values. You can construct a concrete instance of `RuleTargetDeadLetterQueuePtrInput` via:
RuleTargetDeadLetterQueueArgs{...} or: nil
func RuleTargetDeadLetterQueuePtr ¶
func RuleTargetDeadLetterQueuePtr(v *RuleTargetDeadLetterQueueArgs) RuleTargetDeadLetterQueuePtrInput
type RuleTargetDeadLetterQueuePtrOutput ¶
type RuleTargetDeadLetterQueuePtrOutput struct{ *pulumi.OutputState }
func (RuleTargetDeadLetterQueuePtrOutput) Arn ¶
func (o RuleTargetDeadLetterQueuePtrOutput) Arn() pulumi.StringPtrOutput
The srn of the dead letter queue.
func (RuleTargetDeadLetterQueuePtrOutput) Elem ¶
func (o RuleTargetDeadLetterQueuePtrOutput) Elem() RuleTargetDeadLetterQueueOutput
func (RuleTargetDeadLetterQueuePtrOutput) ElementType ¶
func (RuleTargetDeadLetterQueuePtrOutput) ElementType() reflect.Type
func (RuleTargetDeadLetterQueuePtrOutput) ToRuleTargetDeadLetterQueuePtrOutput ¶
func (o RuleTargetDeadLetterQueuePtrOutput) ToRuleTargetDeadLetterQueuePtrOutput() RuleTargetDeadLetterQueuePtrOutput
func (RuleTargetDeadLetterQueuePtrOutput) ToRuleTargetDeadLetterQueuePtrOutputWithContext ¶
func (o RuleTargetDeadLetterQueuePtrOutput) ToRuleTargetDeadLetterQueuePtrOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueuePtrOutput
type RuleTargetInput ¶
type RuleTargetInput interface { pulumi.Input ToRuleTargetOutput() RuleTargetOutput ToRuleTargetOutputWithContext(context.Context) RuleTargetOutput }
RuleTargetInput is an input type that accepts RuleTargetArgs and RuleTargetOutput values. You can construct a concrete instance of `RuleTargetInput` via:
RuleTargetArgs{...}
type RuleTargetOutput ¶
type RuleTargetOutput struct{ *pulumi.OutputState }
func (RuleTargetOutput) DeadLetterQueue ¶
func (o RuleTargetOutput) DeadLetterQueue() RuleTargetDeadLetterQueuePtrOutput
Dead letter queue. Events that are not processed or exceed the number of retries will be written to the dead letter. Support message service MNS and message queue RocketMQ. See the following `Block deadLetterQueue`.
func (RuleTargetOutput) ElementType ¶
func (RuleTargetOutput) ElementType() reflect.Type
func (RuleTargetOutput) Endpoint ¶
func (o RuleTargetOutput) Endpoint() pulumi.StringOutput
The endpoint of target.
func (RuleTargetOutput) ParamLists ¶
func (o RuleTargetOutput) ParamLists() RuleTargetParamListArrayOutput
A list of param. See the following `Block paramList`.
func (RuleTargetOutput) PushRetryStrategy ¶
func (o RuleTargetOutput) PushRetryStrategy() pulumi.StringPtrOutput
The retry policy that is used to push the event. Valid values: - `BACKOFF_RETRY`: Backoff retry. The request can be retried up to three times. The interval between two consecutive retries is a random value between 10 and 20 seconds. - `EXPONENTIAL_DECAY_RETRY`: Exponential decay retry. The request can be retried up to 176 times. The interval between two consecutive retries exponentially increases to 512 seconds, and the total retry time is one day. The specific retry intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512, ..., and 512 seconds, including a maximum of one hundred and sixty-seven 512 seconds in total.
func (RuleTargetOutput) TargetId ¶
func (o RuleTargetOutput) TargetId() pulumi.StringOutput
The ID of target.
func (RuleTargetOutput) ToRuleTargetOutput ¶
func (o RuleTargetOutput) ToRuleTargetOutput() RuleTargetOutput
func (RuleTargetOutput) ToRuleTargetOutputWithContext ¶
func (o RuleTargetOutput) ToRuleTargetOutputWithContext(ctx context.Context) RuleTargetOutput
func (RuleTargetOutput) Type ¶
func (o RuleTargetOutput) Type() pulumi.StringOutput
The type of target. Valid values: `acs.fc.function`, `acs.mns.topic`, `acs.mns.queue`,`http`,`acs.sms`,`acs.mail`,`acs.dingtalk`,`https`, `acs.eventbridge`,`acs.rabbitmq` and `acs.rocketmq`.
type RuleTargetParamList ¶
type RuleTargetParamList struct { // The format of param. Valid values: `ORIGINAL`, `TEMPLATE`, `JSONPATH`, `CONSTANT`. Form string `pulumi:"form"` // The resource key of param. For more information, see [Event target parameters](https://help.aliyun.com/document_detail/185887.htm) ResourceKey string `pulumi:"resourceKey"` // The template of param. Template *string `pulumi:"template"` // The value of param. Value *string `pulumi:"value"` }
type RuleTargetParamListArgs ¶
type RuleTargetParamListArgs struct { // The format of param. Valid values: `ORIGINAL`, `TEMPLATE`, `JSONPATH`, `CONSTANT`. Form pulumi.StringInput `pulumi:"form"` // The resource key of param. For more information, see [Event target parameters](https://help.aliyun.com/document_detail/185887.htm) ResourceKey pulumi.StringInput `pulumi:"resourceKey"` // The template of param. Template pulumi.StringPtrInput `pulumi:"template"` // The value of param. Value pulumi.StringPtrInput `pulumi:"value"` }
func (RuleTargetParamListArgs) ElementType ¶
func (RuleTargetParamListArgs) ElementType() reflect.Type
func (RuleTargetParamListArgs) ToRuleTargetParamListOutput ¶
func (i RuleTargetParamListArgs) ToRuleTargetParamListOutput() RuleTargetParamListOutput
func (RuleTargetParamListArgs) ToRuleTargetParamListOutputWithContext ¶
func (i RuleTargetParamListArgs) ToRuleTargetParamListOutputWithContext(ctx context.Context) RuleTargetParamListOutput
type RuleTargetParamListArray ¶
type RuleTargetParamListArray []RuleTargetParamListInput
func (RuleTargetParamListArray) ElementType ¶
func (RuleTargetParamListArray) ElementType() reflect.Type
func (RuleTargetParamListArray) ToRuleTargetParamListArrayOutput ¶
func (i RuleTargetParamListArray) ToRuleTargetParamListArrayOutput() RuleTargetParamListArrayOutput
func (RuleTargetParamListArray) ToRuleTargetParamListArrayOutputWithContext ¶
func (i RuleTargetParamListArray) ToRuleTargetParamListArrayOutputWithContext(ctx context.Context) RuleTargetParamListArrayOutput
type RuleTargetParamListArrayInput ¶
type RuleTargetParamListArrayInput interface { pulumi.Input ToRuleTargetParamListArrayOutput() RuleTargetParamListArrayOutput ToRuleTargetParamListArrayOutputWithContext(context.Context) RuleTargetParamListArrayOutput }
RuleTargetParamListArrayInput is an input type that accepts RuleTargetParamListArray and RuleTargetParamListArrayOutput values. You can construct a concrete instance of `RuleTargetParamListArrayInput` via:
RuleTargetParamListArray{ RuleTargetParamListArgs{...} }
type RuleTargetParamListArrayOutput ¶
type RuleTargetParamListArrayOutput struct{ *pulumi.OutputState }
func (RuleTargetParamListArrayOutput) ElementType ¶
func (RuleTargetParamListArrayOutput) ElementType() reflect.Type
func (RuleTargetParamListArrayOutput) Index ¶
func (o RuleTargetParamListArrayOutput) Index(i pulumi.IntInput) RuleTargetParamListOutput
func (RuleTargetParamListArrayOutput) ToRuleTargetParamListArrayOutput ¶
func (o RuleTargetParamListArrayOutput) ToRuleTargetParamListArrayOutput() RuleTargetParamListArrayOutput
func (RuleTargetParamListArrayOutput) ToRuleTargetParamListArrayOutputWithContext ¶
func (o RuleTargetParamListArrayOutput) ToRuleTargetParamListArrayOutputWithContext(ctx context.Context) RuleTargetParamListArrayOutput
type RuleTargetParamListInput ¶
type RuleTargetParamListInput interface { pulumi.Input ToRuleTargetParamListOutput() RuleTargetParamListOutput ToRuleTargetParamListOutputWithContext(context.Context) RuleTargetParamListOutput }
RuleTargetParamListInput is an input type that accepts RuleTargetParamListArgs and RuleTargetParamListOutput values. You can construct a concrete instance of `RuleTargetParamListInput` via:
RuleTargetParamListArgs{...}
type RuleTargetParamListOutput ¶
type RuleTargetParamListOutput struct{ *pulumi.OutputState }
func (RuleTargetParamListOutput) ElementType ¶
func (RuleTargetParamListOutput) ElementType() reflect.Type
func (RuleTargetParamListOutput) Form ¶
func (o RuleTargetParamListOutput) Form() pulumi.StringOutput
The format of param. Valid values: `ORIGINAL`, `TEMPLATE`, `JSONPATH`, `CONSTANT`.
func (RuleTargetParamListOutput) ResourceKey ¶
func (o RuleTargetParamListOutput) ResourceKey() pulumi.StringOutput
The resource key of param. For more information, see [Event target parameters](https://help.aliyun.com/document_detail/185887.htm)
func (RuleTargetParamListOutput) Template ¶
func (o RuleTargetParamListOutput) Template() pulumi.StringPtrOutput
The template of param.
func (RuleTargetParamListOutput) ToRuleTargetParamListOutput ¶
func (o RuleTargetParamListOutput) ToRuleTargetParamListOutput() RuleTargetParamListOutput
func (RuleTargetParamListOutput) ToRuleTargetParamListOutputWithContext ¶
func (o RuleTargetParamListOutput) ToRuleTargetParamListOutputWithContext(ctx context.Context) RuleTargetParamListOutput
func (RuleTargetParamListOutput) Value ¶
func (o RuleTargetParamListOutput) Value() pulumi.StringPtrOutput
The value of param.
type ServiceLinkedRole ¶
type ServiceLinkedRole struct { pulumi.CustomResourceState // The product name for SLR. EventBridge can automatically create the following service-linked roles: // Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ` // Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ` ProductName pulumi.StringOutput `pulumi:"productName"` }
Using this data source can create Event Bridge service-linked roles(SLR). EventBridge may need to access another Alibaba Cloud service to implement a specific feature. In this case, EventBridge must assume a specific service-linked role, which is a Resource Access Management (RAM) role, to obtain permissions to access another Alibaba Cloud service.
For information about Event Bridge service-linked roles(SLR) and how to use it, see [What is service-linked roles](https://www.alibabacloud.com/help/doc-detail/181425.htm).
> **NOTE:** Available in v1.129.0+. After the version 1.142.0, the resource is renamed as `eventbridge.ServiceLinkedRole`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/eventbridge"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := eventbridge.NewServiceLinkedRole(ctx, "serviceLinkedRole", &eventbridge.ServiceLinkedRoleArgs{ ProductName: pulumi.String("AliyunServiceRoleForEventBridgeSendToMNS"), }) if err != nil { return err } return nil }) }
```
## Import
Event Bridge service-linked roles(SLR) can be imported using the id, e.g.
```sh
$ pulumi import alicloud:eventbridge/serviceLinkedRole:ServiceLinkedRole example <product_name>
```
func GetServiceLinkedRole ¶
func GetServiceLinkedRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceLinkedRoleState, opts ...pulumi.ResourceOption) (*ServiceLinkedRole, error)
GetServiceLinkedRole gets an existing ServiceLinkedRole resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewServiceLinkedRole ¶
func NewServiceLinkedRole(ctx *pulumi.Context, name string, args *ServiceLinkedRoleArgs, opts ...pulumi.ResourceOption) (*ServiceLinkedRole, error)
NewServiceLinkedRole registers a new resource with the given unique name, arguments, and options.
func (*ServiceLinkedRole) ElementType ¶
func (*ServiceLinkedRole) ElementType() reflect.Type
func (*ServiceLinkedRole) ToServiceLinkedRoleOutput ¶
func (i *ServiceLinkedRole) ToServiceLinkedRoleOutput() ServiceLinkedRoleOutput
func (*ServiceLinkedRole) ToServiceLinkedRoleOutputWithContext ¶
func (i *ServiceLinkedRole) ToServiceLinkedRoleOutputWithContext(ctx context.Context) ServiceLinkedRoleOutput
type ServiceLinkedRoleArgs ¶
type ServiceLinkedRoleArgs struct { // The product name for SLR. EventBridge can automatically create the following service-linked roles: // Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ` // Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ` ProductName pulumi.StringInput }
The set of arguments for constructing a ServiceLinkedRole resource.
func (ServiceLinkedRoleArgs) ElementType ¶
func (ServiceLinkedRoleArgs) ElementType() reflect.Type
type ServiceLinkedRoleArray ¶
type ServiceLinkedRoleArray []ServiceLinkedRoleInput
func (ServiceLinkedRoleArray) ElementType ¶
func (ServiceLinkedRoleArray) ElementType() reflect.Type
func (ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutput ¶
func (i ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutput() ServiceLinkedRoleArrayOutput
func (ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutputWithContext ¶
func (i ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutputWithContext(ctx context.Context) ServiceLinkedRoleArrayOutput
type ServiceLinkedRoleArrayInput ¶
type ServiceLinkedRoleArrayInput interface { pulumi.Input ToServiceLinkedRoleArrayOutput() ServiceLinkedRoleArrayOutput ToServiceLinkedRoleArrayOutputWithContext(context.Context) ServiceLinkedRoleArrayOutput }
ServiceLinkedRoleArrayInput is an input type that accepts ServiceLinkedRoleArray and ServiceLinkedRoleArrayOutput values. You can construct a concrete instance of `ServiceLinkedRoleArrayInput` via:
ServiceLinkedRoleArray{ ServiceLinkedRoleArgs{...} }
type ServiceLinkedRoleArrayOutput ¶
type ServiceLinkedRoleArrayOutput struct{ *pulumi.OutputState }
func (ServiceLinkedRoleArrayOutput) ElementType ¶
func (ServiceLinkedRoleArrayOutput) ElementType() reflect.Type
func (ServiceLinkedRoleArrayOutput) Index ¶
func (o ServiceLinkedRoleArrayOutput) Index(i pulumi.IntInput) ServiceLinkedRoleOutput
func (ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutput ¶
func (o ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutput() ServiceLinkedRoleArrayOutput
func (ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutputWithContext ¶
func (o ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutputWithContext(ctx context.Context) ServiceLinkedRoleArrayOutput
type ServiceLinkedRoleInput ¶
type ServiceLinkedRoleInput interface { pulumi.Input ToServiceLinkedRoleOutput() ServiceLinkedRoleOutput ToServiceLinkedRoleOutputWithContext(ctx context.Context) ServiceLinkedRoleOutput }
type ServiceLinkedRoleMap ¶
type ServiceLinkedRoleMap map[string]ServiceLinkedRoleInput
func (ServiceLinkedRoleMap) ElementType ¶
func (ServiceLinkedRoleMap) ElementType() reflect.Type
func (ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutput ¶
func (i ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutput() ServiceLinkedRoleMapOutput
func (ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutputWithContext ¶
func (i ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutputWithContext(ctx context.Context) ServiceLinkedRoleMapOutput
type ServiceLinkedRoleMapInput ¶
type ServiceLinkedRoleMapInput interface { pulumi.Input ToServiceLinkedRoleMapOutput() ServiceLinkedRoleMapOutput ToServiceLinkedRoleMapOutputWithContext(context.Context) ServiceLinkedRoleMapOutput }
ServiceLinkedRoleMapInput is an input type that accepts ServiceLinkedRoleMap and ServiceLinkedRoleMapOutput values. You can construct a concrete instance of `ServiceLinkedRoleMapInput` via:
ServiceLinkedRoleMap{ "key": ServiceLinkedRoleArgs{...} }
type ServiceLinkedRoleMapOutput ¶
type ServiceLinkedRoleMapOutput struct{ *pulumi.OutputState }
func (ServiceLinkedRoleMapOutput) ElementType ¶
func (ServiceLinkedRoleMapOutput) ElementType() reflect.Type
func (ServiceLinkedRoleMapOutput) MapIndex ¶
func (o ServiceLinkedRoleMapOutput) MapIndex(k pulumi.StringInput) ServiceLinkedRoleOutput
func (ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutput ¶
func (o ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutput() ServiceLinkedRoleMapOutput
func (ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutputWithContext ¶
func (o ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutputWithContext(ctx context.Context) ServiceLinkedRoleMapOutput
type ServiceLinkedRoleOutput ¶
type ServiceLinkedRoleOutput struct{ *pulumi.OutputState }
func (ServiceLinkedRoleOutput) ElementType ¶
func (ServiceLinkedRoleOutput) ElementType() reflect.Type
func (ServiceLinkedRoleOutput) ProductName ¶
func (o ServiceLinkedRoleOutput) ProductName() pulumi.StringOutput
The product name for SLR. EventBridge can automatically create the following service-linked roles: Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ` Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
func (ServiceLinkedRoleOutput) ToServiceLinkedRoleOutput ¶
func (o ServiceLinkedRoleOutput) ToServiceLinkedRoleOutput() ServiceLinkedRoleOutput
func (ServiceLinkedRoleOutput) ToServiceLinkedRoleOutputWithContext ¶
func (o ServiceLinkedRoleOutput) ToServiceLinkedRoleOutputWithContext(ctx context.Context) ServiceLinkedRoleOutput
type ServiceLinkedRoleState ¶
type ServiceLinkedRoleState struct { // The product name for SLR. EventBridge can automatically create the following service-linked roles: // Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ` // Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ` ProductName pulumi.StringPtrInput }
func (ServiceLinkedRoleState) ElementType ¶
func (ServiceLinkedRoleState) ElementType() reflect.Type
type Slr ¶
type Slr struct { pulumi.CustomResourceState ProductName pulumi.StringOutput `pulumi:"productName"` }
func GetSlr ¶
func GetSlr(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SlrState, opts ...pulumi.ResourceOption) (*Slr, error)
GetSlr gets an existing Slr resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSlr ¶
func NewSlr(ctx *pulumi.Context, name string, args *SlrArgs, opts ...pulumi.ResourceOption) (*Slr, error)
NewSlr registers a new resource with the given unique name, arguments, and options.
func (*Slr) ElementType ¶
func (*Slr) ToSlrOutput ¶
type SlrArgs ¶
type SlrArgs struct {
ProductName pulumi.StringInput
}
The set of arguments for constructing a Slr resource.
func (SlrArgs) ElementType ¶
type SlrArray ¶
type SlrArray []SlrInput
func (SlrArray) ElementType ¶
func (SlrArray) ToSlrArrayOutput ¶
func (i SlrArray) ToSlrArrayOutput() SlrArrayOutput
func (SlrArray) ToSlrArrayOutputWithContext ¶
func (i SlrArray) ToSlrArrayOutputWithContext(ctx context.Context) SlrArrayOutput
type SlrArrayInput ¶
type SlrArrayInput interface { pulumi.Input ToSlrArrayOutput() SlrArrayOutput ToSlrArrayOutputWithContext(context.Context) SlrArrayOutput }
SlrArrayInput is an input type that accepts SlrArray and SlrArrayOutput values. You can construct a concrete instance of `SlrArrayInput` via:
SlrArray{ SlrArgs{...} }
type SlrArrayOutput ¶
type SlrArrayOutput struct{ *pulumi.OutputState }
func (SlrArrayOutput) ElementType ¶
func (SlrArrayOutput) ElementType() reflect.Type
func (SlrArrayOutput) ToSlrArrayOutput ¶
func (o SlrArrayOutput) ToSlrArrayOutput() SlrArrayOutput
func (SlrArrayOutput) ToSlrArrayOutputWithContext ¶
func (o SlrArrayOutput) ToSlrArrayOutputWithContext(ctx context.Context) SlrArrayOutput
type SlrMap ¶
func (SlrMap) ElementType ¶
func (SlrMap) ToSlrMapOutput ¶
func (i SlrMap) ToSlrMapOutput() SlrMapOutput
func (SlrMap) ToSlrMapOutputWithContext ¶
func (i SlrMap) ToSlrMapOutputWithContext(ctx context.Context) SlrMapOutput
type SlrMapInput ¶
type SlrMapInput interface { pulumi.Input ToSlrMapOutput() SlrMapOutput ToSlrMapOutputWithContext(context.Context) SlrMapOutput }
SlrMapInput is an input type that accepts SlrMap and SlrMapOutput values. You can construct a concrete instance of `SlrMapInput` via:
SlrMap{ "key": SlrArgs{...} }
type SlrMapOutput ¶
type SlrMapOutput struct{ *pulumi.OutputState }
func (SlrMapOutput) ElementType ¶
func (SlrMapOutput) ElementType() reflect.Type
func (SlrMapOutput) MapIndex ¶
func (o SlrMapOutput) MapIndex(k pulumi.StringInput) SlrOutput
func (SlrMapOutput) ToSlrMapOutput ¶
func (o SlrMapOutput) ToSlrMapOutput() SlrMapOutput
func (SlrMapOutput) ToSlrMapOutputWithContext ¶
func (o SlrMapOutput) ToSlrMapOutputWithContext(ctx context.Context) SlrMapOutput
type SlrOutput ¶
type SlrOutput struct{ *pulumi.OutputState }
func (SlrOutput) ElementType ¶
func (SlrOutput) ProductName ¶
func (o SlrOutput) ProductName() pulumi.StringOutput
func (SlrOutput) ToSlrOutput ¶
type SlrState ¶
type SlrState struct {
ProductName pulumi.StringPtrInput
}