Documentation
¶
Index ¶
- type EventBus
- type EventBusArgs
- type EventBusArray
- type EventBusArrayInput
- type EventBusArrayOutput
- func (EventBusArrayOutput) ElementType() reflect.Type
- func (o EventBusArrayOutput) Index(i pulumi.IntInput) EventBusOutput
- func (o EventBusArrayOutput) ToEventBusArrayOutput() EventBusArrayOutput
- func (o EventBusArrayOutput) ToEventBusArrayOutputWithContext(ctx context.Context) EventBusArrayOutput
- func (o EventBusArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EventBus]
- type EventBusInput
- type EventBusMap
- type EventBusMapInput
- type EventBusMapOutput
- func (EventBusMapOutput) ElementType() reflect.Type
- func (o EventBusMapOutput) MapIndex(k pulumi.StringInput) EventBusOutput
- func (o EventBusMapOutput) ToEventBusMapOutput() EventBusMapOutput
- func (o EventBusMapOutput) ToEventBusMapOutputWithContext(ctx context.Context) EventBusMapOutput
- func (o EventBusMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EventBus]
- 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
- func (o EventBusOutput) ToOutput(ctx context.Context) pulumix.Output[*EventBus]
- type EventBusState
- type EventSource
- type EventSourceArgs
- type EventSourceArray
- func (EventSourceArray) ElementType() reflect.Type
- func (i EventSourceArray) ToEventSourceArrayOutput() EventSourceArrayOutput
- func (i EventSourceArray) ToEventSourceArrayOutputWithContext(ctx context.Context) EventSourceArrayOutput
- func (i EventSourceArray) ToOutput(ctx context.Context) pulumix.Output[[]*EventSource]
- 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
- func (o EventSourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EventSource]
- type EventSourceInput
- type EventSourceMap
- func (EventSourceMap) ElementType() reflect.Type
- func (i EventSourceMap) ToEventSourceMapOutput() EventSourceMapOutput
- func (i EventSourceMap) ToEventSourceMapOutputWithContext(ctx context.Context) EventSourceMapOutput
- func (i EventSourceMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EventSource]
- 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
- func (o EventSourceMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EventSource]
- 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
- func (o EventSourceOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSource]
- type EventSourceState
- type GetEventBusesArgs
- type GetEventBusesBus
- type GetEventBusesBusArgs
- func (GetEventBusesBusArgs) ElementType() reflect.Type
- func (i GetEventBusesBusArgs) ToGetEventBusesBusOutput() GetEventBusesBusOutput
- func (i GetEventBusesBusArgs) ToGetEventBusesBusOutputWithContext(ctx context.Context) GetEventBusesBusOutput
- func (i GetEventBusesBusArgs) ToOutput(ctx context.Context) pulumix.Output[GetEventBusesBus]
- type GetEventBusesBusArray
- func (GetEventBusesBusArray) ElementType() reflect.Type
- func (i GetEventBusesBusArray) ToGetEventBusesBusArrayOutput() GetEventBusesBusArrayOutput
- func (i GetEventBusesBusArray) ToGetEventBusesBusArrayOutputWithContext(ctx context.Context) GetEventBusesBusArrayOutput
- func (i GetEventBusesBusArray) ToOutput(ctx context.Context) pulumix.Output[[]GetEventBusesBus]
- 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
- func (o GetEventBusesBusArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetEventBusesBus]
- 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
- func (o GetEventBusesBusOutput) ToOutput(ctx context.Context) pulumix.Output[GetEventBusesBus]
- 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
- func (o GetEventBusesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetEventBusesResult]
- 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
- func (o GetEventSourcesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetEventSourcesResult]
- type GetEventSourcesSource
- type GetEventSourcesSourceArgs
- func (GetEventSourcesSourceArgs) ElementType() reflect.Type
- func (i GetEventSourcesSourceArgs) ToGetEventSourcesSourceOutput() GetEventSourcesSourceOutput
- func (i GetEventSourcesSourceArgs) ToGetEventSourcesSourceOutputWithContext(ctx context.Context) GetEventSourcesSourceOutput
- func (i GetEventSourcesSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GetEventSourcesSource]
- type GetEventSourcesSourceArray
- func (GetEventSourcesSourceArray) ElementType() reflect.Type
- func (i GetEventSourcesSourceArray) ToGetEventSourcesSourceArrayOutput() GetEventSourcesSourceArrayOutput
- func (i GetEventSourcesSourceArray) ToGetEventSourcesSourceArrayOutputWithContext(ctx context.Context) GetEventSourcesSourceArrayOutput
- func (i GetEventSourcesSourceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetEventSourcesSource]
- 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
- func (o GetEventSourcesSourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetEventSourcesSource]
- 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) ToOutput(ctx context.Context) pulumix.Output[GetEventSourcesSource]
- 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
- func (o GetRulesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetRulesResult]
- type GetRulesRule
- type GetRulesRuleArgs
- func (GetRulesRuleArgs) ElementType() reflect.Type
- func (i GetRulesRuleArgs) ToGetRulesRuleOutput() GetRulesRuleOutput
- func (i GetRulesRuleArgs) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
- func (i GetRulesRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GetRulesRule]
- type GetRulesRuleArray
- func (GetRulesRuleArray) ElementType() reflect.Type
- func (i GetRulesRuleArray) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
- func (i GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
- func (i GetRulesRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GetRulesRule]
- 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
- func (o GetRulesRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetRulesRule]
- 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
- func (o GetRulesRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GetRulesRule]
- type GetRulesRuleTarget
- type GetRulesRuleTargetArgs
- func (GetRulesRuleTargetArgs) ElementType() reflect.Type
- func (i GetRulesRuleTargetArgs) ToGetRulesRuleTargetOutput() GetRulesRuleTargetOutput
- func (i GetRulesRuleTargetArgs) ToGetRulesRuleTargetOutputWithContext(ctx context.Context) GetRulesRuleTargetOutput
- func (i GetRulesRuleTargetArgs) ToOutput(ctx context.Context) pulumix.Output[GetRulesRuleTarget]
- type GetRulesRuleTargetArray
- func (GetRulesRuleTargetArray) ElementType() reflect.Type
- func (i GetRulesRuleTargetArray) ToGetRulesRuleTargetArrayOutput() GetRulesRuleTargetArrayOutput
- func (i GetRulesRuleTargetArray) ToGetRulesRuleTargetArrayOutputWithContext(ctx context.Context) GetRulesRuleTargetArrayOutput
- func (i GetRulesRuleTargetArray) ToOutput(ctx context.Context) pulumix.Output[[]GetRulesRuleTarget]
- 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
- func (o GetRulesRuleTargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetRulesRuleTarget]
- 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) ToOutput(ctx context.Context) pulumix.Output[GetRulesRuleTarget]
- 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
- func (o GetServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceResult]
- type Rule
- type RuleArgs
- type RuleArray
- type RuleArrayInput
- type RuleArrayOutput
- func (RuleArrayOutput) ElementType() reflect.Type
- func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput
- func (o RuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Rule]
- func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput
- func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
- type RuleInput
- type RuleMap
- type RuleMapInput
- type RuleMapOutput
- func (RuleMapOutput) ElementType() reflect.Type
- func (o RuleMapOutput) MapIndex(k pulumi.StringInput) RuleOutput
- func (o RuleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Rule]
- func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput
- func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) 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) ToOutput(ctx context.Context) pulumix.Output[*Rule]
- func (o RuleOutput) ToRuleOutput() RuleOutput
- func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
- type RuleState
- type RuleTarget
- type RuleTargetArgs
- type RuleTargetArray
- func (RuleTargetArray) ElementType() reflect.Type
- func (i RuleTargetArray) ToOutput(ctx context.Context) pulumix.Output[[]RuleTarget]
- func (i RuleTargetArray) ToRuleTargetArrayOutput() RuleTargetArrayOutput
- func (i RuleTargetArray) ToRuleTargetArrayOutputWithContext(ctx context.Context) RuleTargetArrayOutput
- type RuleTargetArrayInput
- type RuleTargetArrayOutput
- func (RuleTargetArrayOutput) ElementType() reflect.Type
- func (o RuleTargetArrayOutput) Index(i pulumi.IntInput) RuleTargetOutput
- func (o RuleTargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleTarget]
- 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) ToOutput(ctx context.Context) pulumix.Output[RuleTargetDeadLetterQueue]
- 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) ToOutput(ctx context.Context) pulumix.Output[RuleTargetDeadLetterQueue]
- 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) ToOutput(ctx context.Context) pulumix.Output[*RuleTargetDeadLetterQueue]
- 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) ToOutput(ctx context.Context) pulumix.Output[RuleTarget]
- func (o RuleTargetOutput) ToRuleTargetOutput() RuleTargetOutput
- func (o RuleTargetOutput) ToRuleTargetOutputWithContext(ctx context.Context) RuleTargetOutput
- func (o RuleTargetOutput) Type() pulumi.StringOutput
- type RuleTargetParamList
- type RuleTargetParamListArgs
- func (RuleTargetParamListArgs) ElementType() reflect.Type
- func (i RuleTargetParamListArgs) ToOutput(ctx context.Context) pulumix.Output[RuleTargetParamList]
- func (i RuleTargetParamListArgs) ToRuleTargetParamListOutput() RuleTargetParamListOutput
- func (i RuleTargetParamListArgs) ToRuleTargetParamListOutputWithContext(ctx context.Context) RuleTargetParamListOutput
- type RuleTargetParamListArray
- func (RuleTargetParamListArray) ElementType() reflect.Type
- func (i RuleTargetParamListArray) ToOutput(ctx context.Context) pulumix.Output[[]RuleTargetParamList]
- func (i RuleTargetParamListArray) ToRuleTargetParamListArrayOutput() RuleTargetParamListArrayOutput
- func (i RuleTargetParamListArray) ToRuleTargetParamListArrayOutputWithContext(ctx context.Context) RuleTargetParamListArrayOutput
- type RuleTargetParamListArrayInput
- type RuleTargetParamListArrayOutput
- func (RuleTargetParamListArrayOutput) ElementType() reflect.Type
- func (o RuleTargetParamListArrayOutput) Index(i pulumi.IntInput) RuleTargetParamListOutput
- func (o RuleTargetParamListArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleTargetParamList]
- 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) ToOutput(ctx context.Context) pulumix.Output[RuleTargetParamList]
- func (o RuleTargetParamListOutput) ToRuleTargetParamListOutput() RuleTargetParamListOutput
- func (o RuleTargetParamListOutput) ToRuleTargetParamListOutputWithContext(ctx context.Context) RuleTargetParamListOutput
- func (o RuleTargetParamListOutput) Value() pulumi.StringPtrOutput
- type ServiceLinkedRole
- func (*ServiceLinkedRole) ElementType() reflect.Type
- func (i *ServiceLinkedRole) ToOutput(ctx context.Context) pulumix.Output[*ServiceLinkedRole]
- func (i *ServiceLinkedRole) ToServiceLinkedRoleOutput() ServiceLinkedRoleOutput
- func (i *ServiceLinkedRole) ToServiceLinkedRoleOutputWithContext(ctx context.Context) ServiceLinkedRoleOutput
- type ServiceLinkedRoleArgs
- type ServiceLinkedRoleArray
- func (ServiceLinkedRoleArray) ElementType() reflect.Type
- func (i ServiceLinkedRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*ServiceLinkedRole]
- func (i ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutput() ServiceLinkedRoleArrayOutput
- func (i ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutputWithContext(ctx context.Context) ServiceLinkedRoleArrayOutput
- type ServiceLinkedRoleArrayInput
- type ServiceLinkedRoleArrayOutput
- func (ServiceLinkedRoleArrayOutput) ElementType() reflect.Type
- func (o ServiceLinkedRoleArrayOutput) Index(i pulumi.IntInput) ServiceLinkedRoleOutput
- func (o ServiceLinkedRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ServiceLinkedRole]
- func (o ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutput() ServiceLinkedRoleArrayOutput
- func (o ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutputWithContext(ctx context.Context) ServiceLinkedRoleArrayOutput
- type ServiceLinkedRoleInput
- type ServiceLinkedRoleMap
- func (ServiceLinkedRoleMap) ElementType() reflect.Type
- func (i ServiceLinkedRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ServiceLinkedRole]
- func (i ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutput() ServiceLinkedRoleMapOutput
- func (i ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutputWithContext(ctx context.Context) ServiceLinkedRoleMapOutput
- type ServiceLinkedRoleMapInput
- type ServiceLinkedRoleMapOutput
- func (ServiceLinkedRoleMapOutput) ElementType() reflect.Type
- func (o ServiceLinkedRoleMapOutput) MapIndex(k pulumi.StringInput) ServiceLinkedRoleOutput
- func (o ServiceLinkedRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ServiceLinkedRole]
- 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) ToOutput(ctx context.Context) pulumix.Output[*ServiceLinkedRole]
- 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
- func (SlrArrayOutput) ElementType() reflect.Type
- func (o SlrArrayOutput) Index(i pulumi.IntInput) SlrOutput
- func (o SlrArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Slr]
- func (o SlrArrayOutput) ToSlrArrayOutput() SlrArrayOutput
- func (o SlrArrayOutput) ToSlrArrayOutputWithContext(ctx context.Context) SlrArrayOutput
- type SlrInput
- type SlrMap
- type SlrMapInput
- type SlrMapOutput
- func (SlrMapOutput) ElementType() reflect.Type
- func (o SlrMapOutput) MapIndex(k pulumi.StringInput) SlrOutput
- func (o SlrMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Slr]
- func (o SlrMapOutput) ToSlrMapOutput() SlrMapOutput
- func (o SlrMapOutput) ToSlrMapOutputWithContext(ctx context.Context) SlrMapOutput
- type SlrOutput
- type SlrState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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-alicloud/sdk/v3/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
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 ¶ added in v3.27.0
func (o EventBusOutput) Description() pulumi.StringPtrOutput
The description of event bus.
func (EventBusOutput) ElementType ¶
func (EventBusOutput) ElementType() reflect.Type
func (EventBusOutput) EventBusName ¶ added in v3.27.0
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 ¶ added in v3.6.0
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-alicloud/sdk/v3/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
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 ¶ added in v3.6.0
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 ¶ added in v3.6.0
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 ¶ added in v3.6.0
func (*EventSource) ElementType() reflect.Type
func (*EventSource) ToEventSourceOutput ¶ added in v3.6.0
func (i *EventSource) ToEventSourceOutput() EventSourceOutput
func (*EventSource) ToEventSourceOutputWithContext ¶ added in v3.6.0
func (i *EventSource) ToEventSourceOutputWithContext(ctx context.Context) EventSourceOutput
func (*EventSource) ToOutput ¶ added in v3.43.1
func (i *EventSource) ToOutput(ctx context.Context) pulumix.Output[*EventSource]
type EventSourceArgs ¶ added in v3.6.0
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 ¶ added in v3.6.0
func (EventSourceArgs) ElementType() reflect.Type
type EventSourceArray ¶ added in v3.6.0
type EventSourceArray []EventSourceInput
func (EventSourceArray) ElementType ¶ added in v3.6.0
func (EventSourceArray) ElementType() reflect.Type
func (EventSourceArray) ToEventSourceArrayOutput ¶ added in v3.6.0
func (i EventSourceArray) ToEventSourceArrayOutput() EventSourceArrayOutput
func (EventSourceArray) ToEventSourceArrayOutputWithContext ¶ added in v3.6.0
func (i EventSourceArray) ToEventSourceArrayOutputWithContext(ctx context.Context) EventSourceArrayOutput
func (EventSourceArray) ToOutput ¶ added in v3.43.1
func (i EventSourceArray) ToOutput(ctx context.Context) pulumix.Output[[]*EventSource]
type EventSourceArrayInput ¶ added in v3.6.0
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 ¶ added in v3.6.0
type EventSourceArrayOutput struct{ *pulumi.OutputState }
func (EventSourceArrayOutput) ElementType ¶ added in v3.6.0
func (EventSourceArrayOutput) ElementType() reflect.Type
func (EventSourceArrayOutput) Index ¶ added in v3.6.0
func (o EventSourceArrayOutput) Index(i pulumi.IntInput) EventSourceOutput
func (EventSourceArrayOutput) ToEventSourceArrayOutput ¶ added in v3.6.0
func (o EventSourceArrayOutput) ToEventSourceArrayOutput() EventSourceArrayOutput
func (EventSourceArrayOutput) ToEventSourceArrayOutputWithContext ¶ added in v3.6.0
func (o EventSourceArrayOutput) ToEventSourceArrayOutputWithContext(ctx context.Context) EventSourceArrayOutput
func (EventSourceArrayOutput) ToOutput ¶ added in v3.43.1
func (o EventSourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EventSource]
type EventSourceInput ¶ added in v3.6.0
type EventSourceInput interface { pulumi.Input ToEventSourceOutput() EventSourceOutput ToEventSourceOutputWithContext(ctx context.Context) EventSourceOutput }
type EventSourceMap ¶ added in v3.6.0
type EventSourceMap map[string]EventSourceInput
func (EventSourceMap) ElementType ¶ added in v3.6.0
func (EventSourceMap) ElementType() reflect.Type
func (EventSourceMap) ToEventSourceMapOutput ¶ added in v3.6.0
func (i EventSourceMap) ToEventSourceMapOutput() EventSourceMapOutput
func (EventSourceMap) ToEventSourceMapOutputWithContext ¶ added in v3.6.0
func (i EventSourceMap) ToEventSourceMapOutputWithContext(ctx context.Context) EventSourceMapOutput
func (EventSourceMap) ToOutput ¶ added in v3.43.1
func (i EventSourceMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EventSource]
type EventSourceMapInput ¶ added in v3.6.0
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 ¶ added in v3.6.0
type EventSourceMapOutput struct{ *pulumi.OutputState }
func (EventSourceMapOutput) ElementType ¶ added in v3.6.0
func (EventSourceMapOutput) ElementType() reflect.Type
func (EventSourceMapOutput) MapIndex ¶ added in v3.6.0
func (o EventSourceMapOutput) MapIndex(k pulumi.StringInput) EventSourceOutput
func (EventSourceMapOutput) ToEventSourceMapOutput ¶ added in v3.6.0
func (o EventSourceMapOutput) ToEventSourceMapOutput() EventSourceMapOutput
func (EventSourceMapOutput) ToEventSourceMapOutputWithContext ¶ added in v3.6.0
func (o EventSourceMapOutput) ToEventSourceMapOutputWithContext(ctx context.Context) EventSourceMapOutput
func (EventSourceMapOutput) ToOutput ¶ added in v3.43.1
func (o EventSourceMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EventSource]
type EventSourceOutput ¶ added in v3.6.0
type EventSourceOutput struct{ *pulumi.OutputState }
func (EventSourceOutput) Description ¶ added in v3.27.0
func (o EventSourceOutput) Description() pulumi.StringPtrOutput
The detail describe of event source.
func (EventSourceOutput) ElementType ¶ added in v3.6.0
func (EventSourceOutput) ElementType() reflect.Type
func (EventSourceOutput) EventBusName ¶ added in v3.27.0
func (o EventSourceOutput) EventBusName() pulumi.StringOutput
The name of event bus.
func (EventSourceOutput) EventSourceName ¶ added in v3.27.0
func (o EventSourceOutput) EventSourceName() pulumi.StringOutput
The code name of event source.
func (EventSourceOutput) ExternalSourceConfig ¶ added in v3.27.0
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 ¶ added in v3.27.0
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 ¶ added in v3.27.0
func (o EventSourceOutput) LinkedExternalSource() pulumi.BoolOutput
Whether to connect to an external data source. Default value: `false`
func (EventSourceOutput) ToEventSourceOutput ¶ added in v3.6.0
func (o EventSourceOutput) ToEventSourceOutput() EventSourceOutput
func (EventSourceOutput) ToEventSourceOutputWithContext ¶ added in v3.6.0
func (o EventSourceOutput) ToEventSourceOutputWithContext(ctx context.Context) EventSourceOutput
func (EventSourceOutput) ToOutput ¶ added in v3.43.1
func (o EventSourceOutput) ToOutput(ctx context.Context) pulumix.Output[*EventSource]
type EventSourceState ¶ added in v3.6.0
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 ¶ added in v3.6.0
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"` // File name where to save data source results (after running `pulumi preview`). 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
func (GetEventBusesBusArgs) ToOutput ¶ added in v3.43.1
func (i GetEventBusesBusArgs) ToOutput(ctx context.Context) pulumix.Output[GetEventBusesBus]
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
func (GetEventBusesBusArray) ToOutput ¶ added in v3.43.1
func (i GetEventBusesBusArray) ToOutput(ctx context.Context) pulumix.Output[[]GetEventBusesBus]
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
func (GetEventBusesBusArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetEventBusesBusArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetEventBusesBus]
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
func (GetEventBusesBusOutput) ToOutput ¶ added in v3.43.1
func (o GetEventBusesBusOutput) ToOutput(ctx context.Context) pulumix.Output[GetEventBusesBus]
type GetEventBusesOutputArgs ¶ added in v3.9.0
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"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getEventBuses.
func (GetEventBusesOutputArgs) ElementType ¶ added in v3.9.0
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/v3/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
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 ¶ added in v3.9.0
type GetEventBusesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEventBuses.
func GetEventBusesOutput ¶ added in v3.9.0
func GetEventBusesOutput(ctx *pulumi.Context, args GetEventBusesOutputArgs, opts ...pulumi.InvokeOption) GetEventBusesResultOutput
func (GetEventBusesResultOutput) Buses ¶ added in v3.9.0
func (o GetEventBusesResultOutput) Buses() GetEventBusesBusArrayOutput
func (GetEventBusesResultOutput) ElementType ¶ added in v3.9.0
func (GetEventBusesResultOutput) ElementType() reflect.Type
func (GetEventBusesResultOutput) EventBusType ¶ added in v3.9.0
func (o GetEventBusesResultOutput) EventBusType() pulumi.StringPtrOutput
func (GetEventBusesResultOutput) Id ¶ added in v3.9.0
func (o GetEventBusesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEventBusesResultOutput) Ids ¶ added in v3.9.0
func (o GetEventBusesResultOutput) Ids() pulumi.StringArrayOutput
func (GetEventBusesResultOutput) NamePrefix ¶ added in v3.9.0
func (o GetEventBusesResultOutput) NamePrefix() pulumi.StringPtrOutput
func (GetEventBusesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetEventBusesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEventBusesResultOutput) Names ¶ added in v3.9.0
func (o GetEventBusesResultOutput) Names() pulumi.StringArrayOutput
func (GetEventBusesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetEventBusesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEventBusesResultOutput) ToGetEventBusesResultOutput ¶ added in v3.9.0
func (o GetEventBusesResultOutput) ToGetEventBusesResultOutput() GetEventBusesResultOutput
func (GetEventBusesResultOutput) ToGetEventBusesResultOutputWithContext ¶ added in v3.9.0
func (o GetEventBusesResultOutput) ToGetEventBusesResultOutputWithContext(ctx context.Context) GetEventBusesResultOutput
func (GetEventBusesResultOutput) ToOutput ¶ added in v3.43.1
func (o GetEventBusesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetEventBusesResult]
type GetEventSourcesArgs ¶ added in v3.6.0
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"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getEventSources.
type GetEventSourcesOutputArgs ¶ added in v3.9.0
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"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getEventSources.
func (GetEventSourcesOutputArgs) ElementType ¶ added in v3.9.0
func (GetEventSourcesOutputArgs) ElementType() reflect.Type
type GetEventSourcesResult ¶ added in v3.6.0
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 ¶ added in v3.6.0
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/v3/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
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 ¶ added in v3.9.0
type GetEventSourcesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEventSources.
func GetEventSourcesOutput ¶ added in v3.9.0
func GetEventSourcesOutput(ctx *pulumi.Context, args GetEventSourcesOutputArgs, opts ...pulumi.InvokeOption) GetEventSourcesResultOutput
func (GetEventSourcesResultOutput) ElementType ¶ added in v3.9.0
func (GetEventSourcesResultOutput) ElementType() reflect.Type
func (GetEventSourcesResultOutput) Id ¶ added in v3.9.0
func (o GetEventSourcesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEventSourcesResultOutput) Ids ¶ added in v3.9.0
func (o GetEventSourcesResultOutput) Ids() pulumi.StringArrayOutput
func (GetEventSourcesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetEventSourcesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEventSourcesResultOutput) Names ¶ added in v3.9.0
func (o GetEventSourcesResultOutput) Names() pulumi.StringArrayOutput
func (GetEventSourcesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetEventSourcesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEventSourcesResultOutput) Sources ¶ added in v3.9.0
func (o GetEventSourcesResultOutput) Sources() GetEventSourcesSourceArrayOutput
func (GetEventSourcesResultOutput) ToGetEventSourcesResultOutput ¶ added in v3.9.0
func (o GetEventSourcesResultOutput) ToGetEventSourcesResultOutput() GetEventSourcesResultOutput
func (GetEventSourcesResultOutput) ToGetEventSourcesResultOutputWithContext ¶ added in v3.9.0
func (o GetEventSourcesResultOutput) ToGetEventSourcesResultOutputWithContext(ctx context.Context) GetEventSourcesResultOutput
func (GetEventSourcesResultOutput) ToOutput ¶ added in v3.43.1
func (o GetEventSourcesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetEventSourcesResult]
type GetEventSourcesSource ¶ added in v3.6.0
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 ¶ added in v3.6.0
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 ¶ added in v3.6.0
func (GetEventSourcesSourceArgs) ElementType() reflect.Type
func (GetEventSourcesSourceArgs) ToGetEventSourcesSourceOutput ¶ added in v3.6.0
func (i GetEventSourcesSourceArgs) ToGetEventSourcesSourceOutput() GetEventSourcesSourceOutput
func (GetEventSourcesSourceArgs) ToGetEventSourcesSourceOutputWithContext ¶ added in v3.6.0
func (i GetEventSourcesSourceArgs) ToGetEventSourcesSourceOutputWithContext(ctx context.Context) GetEventSourcesSourceOutput
func (GetEventSourcesSourceArgs) ToOutput ¶ added in v3.43.1
func (i GetEventSourcesSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GetEventSourcesSource]
type GetEventSourcesSourceArray ¶ added in v3.6.0
type GetEventSourcesSourceArray []GetEventSourcesSourceInput
func (GetEventSourcesSourceArray) ElementType ¶ added in v3.6.0
func (GetEventSourcesSourceArray) ElementType() reflect.Type
func (GetEventSourcesSourceArray) ToGetEventSourcesSourceArrayOutput ¶ added in v3.6.0
func (i GetEventSourcesSourceArray) ToGetEventSourcesSourceArrayOutput() GetEventSourcesSourceArrayOutput
func (GetEventSourcesSourceArray) ToGetEventSourcesSourceArrayOutputWithContext ¶ added in v3.6.0
func (i GetEventSourcesSourceArray) ToGetEventSourcesSourceArrayOutputWithContext(ctx context.Context) GetEventSourcesSourceArrayOutput
func (GetEventSourcesSourceArray) ToOutput ¶ added in v3.43.1
func (i GetEventSourcesSourceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetEventSourcesSource]
type GetEventSourcesSourceArrayInput ¶ added in v3.6.0
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 ¶ added in v3.6.0
type GetEventSourcesSourceArrayOutput struct{ *pulumi.OutputState }
func (GetEventSourcesSourceArrayOutput) ElementType ¶ added in v3.6.0
func (GetEventSourcesSourceArrayOutput) ElementType() reflect.Type
func (GetEventSourcesSourceArrayOutput) Index ¶ added in v3.6.0
func (o GetEventSourcesSourceArrayOutput) Index(i pulumi.IntInput) GetEventSourcesSourceOutput
func (GetEventSourcesSourceArrayOutput) ToGetEventSourcesSourceArrayOutput ¶ added in v3.6.0
func (o GetEventSourcesSourceArrayOutput) ToGetEventSourcesSourceArrayOutput() GetEventSourcesSourceArrayOutput
func (GetEventSourcesSourceArrayOutput) ToGetEventSourcesSourceArrayOutputWithContext ¶ added in v3.6.0
func (o GetEventSourcesSourceArrayOutput) ToGetEventSourcesSourceArrayOutputWithContext(ctx context.Context) GetEventSourcesSourceArrayOutput
func (GetEventSourcesSourceArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetEventSourcesSourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetEventSourcesSource]
type GetEventSourcesSourceInput ¶ added in v3.6.0
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 ¶ added in v3.6.0
type GetEventSourcesSourceOutput struct{ *pulumi.OutputState }
func (GetEventSourcesSourceOutput) Description ¶ added in v3.6.0
func (o GetEventSourcesSourceOutput) Description() pulumi.StringOutput
The detail describe of event source.
func (GetEventSourcesSourceOutput) ElementType ¶ added in v3.6.0
func (GetEventSourcesSourceOutput) ElementType() reflect.Type
func (GetEventSourcesSourceOutput) EventSourceName ¶ added in v3.6.0
func (o GetEventSourcesSourceOutput) EventSourceName() pulumi.StringOutput
The code name of event source.
func (GetEventSourcesSourceOutput) ExternalSourceConfig ¶ added in v3.6.0
func (o GetEventSourcesSourceOutput) ExternalSourceConfig() pulumi.MapOutput
The config of external data source.
func (GetEventSourcesSourceOutput) ExternalSourceType ¶ added in v3.6.0
func (o GetEventSourcesSourceOutput) ExternalSourceType() pulumi.StringOutput
The type of external data source.
func (GetEventSourcesSourceOutput) Id ¶ added in v3.6.0
func (o GetEventSourcesSourceOutput) Id() pulumi.StringOutput
The ID of the Event Source.
func (GetEventSourcesSourceOutput) LinkedExternalSource ¶ added in v3.6.0
func (o GetEventSourcesSourceOutput) LinkedExternalSource() pulumi.BoolOutput
Whether to connect to an external data source.
func (GetEventSourcesSourceOutput) ToGetEventSourcesSourceOutput ¶ added in v3.6.0
func (o GetEventSourcesSourceOutput) ToGetEventSourcesSourceOutput() GetEventSourcesSourceOutput
func (GetEventSourcesSourceOutput) ToGetEventSourcesSourceOutputWithContext ¶ added in v3.6.0
func (o GetEventSourcesSourceOutput) ToGetEventSourcesSourceOutputWithContext(ctx context.Context) GetEventSourcesSourceOutput
func (GetEventSourcesSourceOutput) ToOutput ¶ added in v3.43.1
func (o GetEventSourcesSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GetEventSourcesSource]
func (GetEventSourcesSourceOutput) Type ¶ added in v3.6.0
func (o GetEventSourcesSourceOutput) Type() pulumi.StringOutput
type GetRulesArgs ¶ added in v3.5.0
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"` // File name where to save data source results (after running `pulumi preview`). 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 ¶ added in v3.9.0
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"` // File name where to save data source results (after running `pulumi preview`). 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 ¶ added in v3.9.0
func (GetRulesOutputArgs) ElementType() reflect.Type
type GetRulesResult ¶ added in v3.5.0
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 ¶ added in v3.5.0
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/v3/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
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 ¶ added in v3.9.0
type GetRulesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRules.
func GetRulesOutput ¶ added in v3.9.0
func GetRulesOutput(ctx *pulumi.Context, args GetRulesOutputArgs, opts ...pulumi.InvokeOption) GetRulesResultOutput
func (GetRulesResultOutput) ElementType ¶ added in v3.9.0
func (GetRulesResultOutput) ElementType() reflect.Type
func (GetRulesResultOutput) EventBusName ¶ added in v3.9.0
func (o GetRulesResultOutput) EventBusName() pulumi.StringOutput
func (GetRulesResultOutput) Id ¶ added in v3.9.0
func (o GetRulesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRulesResultOutput) Ids ¶ added in v3.9.0
func (o GetRulesResultOutput) Ids() pulumi.StringArrayOutput
func (GetRulesResultOutput) NameRegex ¶ added in v3.9.0
func (o GetRulesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetRulesResultOutput) Names ¶ added in v3.9.0
func (o GetRulesResultOutput) Names() pulumi.StringArrayOutput
func (GetRulesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetRulesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetRulesResultOutput) RuleNamePrefix ¶ added in v3.9.0
func (o GetRulesResultOutput) RuleNamePrefix() pulumi.StringPtrOutput
func (GetRulesResultOutput) Rules ¶ added in v3.9.0
func (o GetRulesResultOutput) Rules() GetRulesRuleArrayOutput
func (GetRulesResultOutput) Status ¶ added in v3.9.0
func (o GetRulesResultOutput) Status() pulumi.StringPtrOutput
func (GetRulesResultOutput) ToGetRulesResultOutput ¶ added in v3.9.0
func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput
func (GetRulesResultOutput) ToGetRulesResultOutputWithContext ¶ added in v3.9.0
func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput
func (GetRulesResultOutput) ToOutput ¶ added in v3.43.1
func (o GetRulesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetRulesResult]
type GetRulesRule ¶ added in v3.5.0
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 ¶ added in v3.5.0
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 ¶ added in v3.5.0
func (GetRulesRuleArgs) ElementType() reflect.Type
func (GetRulesRuleArgs) ToGetRulesRuleOutput ¶ added in v3.5.0
func (i GetRulesRuleArgs) ToGetRulesRuleOutput() GetRulesRuleOutput
func (GetRulesRuleArgs) ToGetRulesRuleOutputWithContext ¶ added in v3.5.0
func (i GetRulesRuleArgs) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
func (GetRulesRuleArgs) ToOutput ¶ added in v3.43.1
func (i GetRulesRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GetRulesRule]
type GetRulesRuleArray ¶ added in v3.5.0
type GetRulesRuleArray []GetRulesRuleInput
func (GetRulesRuleArray) ElementType ¶ added in v3.5.0
func (GetRulesRuleArray) ElementType() reflect.Type
func (GetRulesRuleArray) ToGetRulesRuleArrayOutput ¶ added in v3.5.0
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
func (GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext ¶ added in v3.5.0
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
func (GetRulesRuleArray) ToOutput ¶ added in v3.43.1
func (i GetRulesRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GetRulesRule]
type GetRulesRuleArrayInput ¶ added in v3.5.0
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 ¶ added in v3.5.0
type GetRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleArrayOutput) ElementType ¶ added in v3.5.0
func (GetRulesRuleArrayOutput) ElementType() reflect.Type
func (GetRulesRuleArrayOutput) Index ¶ added in v3.5.0
func (o GetRulesRuleArrayOutput) Index(i pulumi.IntInput) GetRulesRuleOutput
func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput ¶ added in v3.5.0
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext ¶ added in v3.5.0
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
func (GetRulesRuleArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetRulesRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetRulesRule]
type GetRulesRuleInput ¶ added in v3.5.0
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 ¶ added in v3.5.0
type GetRulesRuleOutput struct{ *pulumi.OutputState }
func (GetRulesRuleOutput) Description ¶ added in v3.5.0
func (o GetRulesRuleOutput) Description() pulumi.StringOutput
The description of rule.
func (GetRulesRuleOutput) ElementType ¶ added in v3.5.0
func (GetRulesRuleOutput) ElementType() reflect.Type
func (GetRulesRuleOutput) EventBusName ¶ added in v3.5.0
func (o GetRulesRuleOutput) EventBusName() pulumi.StringOutput
The name of event bus.
func (GetRulesRuleOutput) FilterPattern ¶ added in v3.5.0
func (o GetRulesRuleOutput) FilterPattern() pulumi.StringOutput
The pattern to match interested events.
func (GetRulesRuleOutput) Id ¶ added in v3.5.0
func (o GetRulesRuleOutput) Id() pulumi.StringOutput
The ID of the Rule.
func (GetRulesRuleOutput) RuleName ¶ added in v3.5.0
func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput
The name of rule.
func (GetRulesRuleOutput) Status ¶ added in v3.5.0
func (o GetRulesRuleOutput) Status() pulumi.StringOutput
Rule status, either Enable or Disable.
func (GetRulesRuleOutput) Targets ¶ added in v3.5.0
func (o GetRulesRuleOutput) Targets() GetRulesRuleTargetArrayOutput
The target for rule.
func (GetRulesRuleOutput) ToGetRulesRuleOutput ¶ added in v3.5.0
func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput
func (GetRulesRuleOutput) ToGetRulesRuleOutputWithContext ¶ added in v3.5.0
func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
func (GetRulesRuleOutput) ToOutput ¶ added in v3.43.1
func (o GetRulesRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GetRulesRule]
type GetRulesRuleTarget ¶ added in v3.5.0
type GetRulesRuleTargetArgs ¶ added in v3.5.0
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 ¶ added in v3.5.0
func (GetRulesRuleTargetArgs) ElementType() reflect.Type
func (GetRulesRuleTargetArgs) ToGetRulesRuleTargetOutput ¶ added in v3.5.0
func (i GetRulesRuleTargetArgs) ToGetRulesRuleTargetOutput() GetRulesRuleTargetOutput
func (GetRulesRuleTargetArgs) ToGetRulesRuleTargetOutputWithContext ¶ added in v3.5.0
func (i GetRulesRuleTargetArgs) ToGetRulesRuleTargetOutputWithContext(ctx context.Context) GetRulesRuleTargetOutput
func (GetRulesRuleTargetArgs) ToOutput ¶ added in v3.43.1
func (i GetRulesRuleTargetArgs) ToOutput(ctx context.Context) pulumix.Output[GetRulesRuleTarget]
type GetRulesRuleTargetArray ¶ added in v3.5.0
type GetRulesRuleTargetArray []GetRulesRuleTargetInput
func (GetRulesRuleTargetArray) ElementType ¶ added in v3.5.0
func (GetRulesRuleTargetArray) ElementType() reflect.Type
func (GetRulesRuleTargetArray) ToGetRulesRuleTargetArrayOutput ¶ added in v3.5.0
func (i GetRulesRuleTargetArray) ToGetRulesRuleTargetArrayOutput() GetRulesRuleTargetArrayOutput
func (GetRulesRuleTargetArray) ToGetRulesRuleTargetArrayOutputWithContext ¶ added in v3.5.0
func (i GetRulesRuleTargetArray) ToGetRulesRuleTargetArrayOutputWithContext(ctx context.Context) GetRulesRuleTargetArrayOutput
func (GetRulesRuleTargetArray) ToOutput ¶ added in v3.43.1
func (i GetRulesRuleTargetArray) ToOutput(ctx context.Context) pulumix.Output[[]GetRulesRuleTarget]
type GetRulesRuleTargetArrayInput ¶ added in v3.5.0
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 ¶ added in v3.5.0
type GetRulesRuleTargetArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleTargetArrayOutput) ElementType ¶ added in v3.5.0
func (GetRulesRuleTargetArrayOutput) ElementType() reflect.Type
func (GetRulesRuleTargetArrayOutput) Index ¶ added in v3.5.0
func (o GetRulesRuleTargetArrayOutput) Index(i pulumi.IntInput) GetRulesRuleTargetOutput
func (GetRulesRuleTargetArrayOutput) ToGetRulesRuleTargetArrayOutput ¶ added in v3.5.0
func (o GetRulesRuleTargetArrayOutput) ToGetRulesRuleTargetArrayOutput() GetRulesRuleTargetArrayOutput
func (GetRulesRuleTargetArrayOutput) ToGetRulesRuleTargetArrayOutputWithContext ¶ added in v3.5.0
func (o GetRulesRuleTargetArrayOutput) ToGetRulesRuleTargetArrayOutputWithContext(ctx context.Context) GetRulesRuleTargetArrayOutput
func (GetRulesRuleTargetArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetRulesRuleTargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetRulesRuleTarget]
type GetRulesRuleTargetInput ¶ added in v3.5.0
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 ¶ added in v3.5.0
type GetRulesRuleTargetOutput struct{ *pulumi.OutputState }
func (GetRulesRuleTargetOutput) ElementType ¶ added in v3.5.0
func (GetRulesRuleTargetOutput) ElementType() reflect.Type
func (GetRulesRuleTargetOutput) Endpoint ¶ added in v3.5.0
func (o GetRulesRuleTargetOutput) Endpoint() pulumi.StringOutput
The endpoint.
func (GetRulesRuleTargetOutput) TargetId ¶ added in v3.5.0
func (o GetRulesRuleTargetOutput) TargetId() pulumi.StringOutput
The id of target.
func (GetRulesRuleTargetOutput) ToGetRulesRuleTargetOutput ¶ added in v3.5.0
func (o GetRulesRuleTargetOutput) ToGetRulesRuleTargetOutput() GetRulesRuleTargetOutput
func (GetRulesRuleTargetOutput) ToGetRulesRuleTargetOutputWithContext ¶ added in v3.5.0
func (o GetRulesRuleTargetOutput) ToGetRulesRuleTargetOutputWithContext(ctx context.Context) GetRulesRuleTargetOutput
func (GetRulesRuleTargetOutput) ToOutput ¶ added in v3.43.1
func (o GetRulesRuleTargetOutput) ToOutput(ctx context.Context) pulumix.Output[GetRulesRuleTarget]
func (GetRulesRuleTargetOutput) Type ¶ added in v3.5.0
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`. // // > **NOTE:** Setting `enable = "On"` to open the Event Bridge service that means you have read and agreed the [Event Bridge Terms of Service](https://help.aliyun.com/document_detail/163911.html). The service can not closed once it is opened. Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type GetServiceOutputArgs ¶ added in v3.9.0
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`. // // > **NOTE:** Setting `enable = "On"` to open the Event Bridge service that means you have read and agreed the [Event Bridge Terms of Service](https://help.aliyun.com/document_detail/163911.html). The service can not closed once it is opened. Enable pulumi.StringPtrInput `pulumi:"enable"` }
A collection of arguments for invoking getService.
func (GetServiceOutputArgs) ElementType ¶ added in v3.9.0
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/v3/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
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 ¶ added in v3.9.0
type GetServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func GetServiceOutput ¶ added in v3.9.0
func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput
func (GetServiceResultOutput) ElementType ¶ added in v3.9.0
func (GetServiceResultOutput) ElementType() reflect.Type
func (GetServiceResultOutput) Enable ¶ added in v3.9.0
func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
func (GetServiceResultOutput) Id ¶ added in v3.9.0
func (o GetServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServiceResultOutput) Status ¶ added in v3.9.0
func (o GetServiceResultOutput) Status() pulumi.StringOutput
The current service enable status.
func (GetServiceResultOutput) ToGetServiceResultOutput ¶ added in v3.9.0
func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
func (GetServiceResultOutput) ToGetServiceResultOutputWithContext ¶ added in v3.9.0
func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
func (GetServiceResultOutput) ToOutput ¶ added in v3.43.1
func (o GetServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceResult]
type Rule ¶ added in v3.5.0
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. See `targets` below. 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://www.alibabacloud.com/help/en/eventbridge/latest/createrule-6).
> **NOTE:** Available since v1.129.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
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 ¶ added in v3.5.0
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 ¶ added in v3.5.0
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 ¶ added in v3.5.0
func (*Rule) ToRuleOutput ¶ added in v3.5.0
func (i *Rule) ToRuleOutput() RuleOutput
func (*Rule) ToRuleOutputWithContext ¶ added in v3.5.0
func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleArgs ¶ added in v3.5.0
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. See `targets` below. Targets RuleTargetArrayInput }
The set of arguments for constructing a Rule resource.
func (RuleArgs) ElementType ¶ added in v3.5.0
type RuleArray ¶ added in v3.5.0
type RuleArray []RuleInput
func (RuleArray) ElementType ¶ added in v3.5.0
func (RuleArray) ToRuleArrayOutput ¶ added in v3.5.0
func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput
func (RuleArray) ToRuleArrayOutputWithContext ¶ added in v3.5.0
func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleArrayInput ¶ added in v3.5.0
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 ¶ added in v3.5.0
type RuleArrayOutput struct{ *pulumi.OutputState }
func (RuleArrayOutput) ElementType ¶ added in v3.5.0
func (RuleArrayOutput) ElementType() reflect.Type
func (RuleArrayOutput) Index ¶ added in v3.5.0
func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput
func (RuleArrayOutput) ToRuleArrayOutput ¶ added in v3.5.0
func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput
func (RuleArrayOutput) ToRuleArrayOutputWithContext ¶ added in v3.5.0
func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleInput ¶ added in v3.5.0
type RuleInput interface { pulumi.Input ToRuleOutput() RuleOutput ToRuleOutputWithContext(ctx context.Context) RuleOutput }
type RuleMap ¶ added in v3.5.0
func (RuleMap) ElementType ¶ added in v3.5.0
func (RuleMap) ToRuleMapOutput ¶ added in v3.5.0
func (i RuleMap) ToRuleMapOutput() RuleMapOutput
func (RuleMap) ToRuleMapOutputWithContext ¶ added in v3.5.0
func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleMapInput ¶ added in v3.5.0
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 ¶ added in v3.5.0
type RuleMapOutput struct{ *pulumi.OutputState }
func (RuleMapOutput) ElementType ¶ added in v3.5.0
func (RuleMapOutput) ElementType() reflect.Type
func (RuleMapOutput) MapIndex ¶ added in v3.5.0
func (o RuleMapOutput) MapIndex(k pulumi.StringInput) RuleOutput
func (RuleMapOutput) ToRuleMapOutput ¶ added in v3.5.0
func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput
func (RuleMapOutput) ToRuleMapOutputWithContext ¶ added in v3.5.0
func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleOutput ¶ added in v3.5.0
type RuleOutput struct{ *pulumi.OutputState }
func (RuleOutput) Description ¶ added in v3.27.0
func (o RuleOutput) Description() pulumi.StringPtrOutput
The description of rule.
func (RuleOutput) ElementType ¶ added in v3.5.0
func (RuleOutput) ElementType() reflect.Type
func (RuleOutput) EventBusName ¶ added in v3.27.0
func (o RuleOutput) EventBusName() pulumi.StringOutput
The name of event bus.
func (RuleOutput) FilterPattern ¶ added in v3.27.0
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) RuleName ¶ added in v3.27.0
func (o RuleOutput) RuleName() pulumi.StringOutput
The name of rule.
func (RuleOutput) Status ¶ added in v3.27.0
func (o RuleOutput) Status() pulumi.StringOutput
Rule status, either Enable or Disable. Valid values: `DISABLE`, `ENABLE`.
func (RuleOutput) Targets ¶ added in v3.27.0
func (o RuleOutput) Targets() RuleTargetArrayOutput
The target of rule. See `targets` below.
func (RuleOutput) ToRuleOutput ¶ added in v3.5.0
func (o RuleOutput) ToRuleOutput() RuleOutput
func (RuleOutput) ToRuleOutputWithContext ¶ added in v3.5.0
func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleState ¶ added in v3.5.0
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. See `targets` below. Targets RuleTargetArrayInput }
func (RuleState) ElementType ¶ added in v3.5.0
type RuleTarget ¶ added in v3.5.0
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 `deadLetterQueue` below. DeadLetterQueue *RuleTargetDeadLetterQueue `pulumi:"deadLetterQueue"` // The endpoint of target. Endpoint string `pulumi:"endpoint"` // A list of param. See `paramList` below. ParamLists []RuleTargetParamList `pulumi:"paramLists"` // The retry policy that is used to push the event. Valid values: PushRetryStrategy *string `pulumi:"pushRetryStrategy"` // The ID of target. TargetId string `pulumi:"targetId"` // The type of target. Valid values: `acs.alikafka`, `acs.api.destination`, `acs.arms.loki`, `acs.datahub`, `acs.dingtalk`, `acs.eventbridge`, `acs.eventbridge.olap`, `acs.eventbus.SLSCloudLens`, `acs.fc.function`, `acs.fnf`, `acs.k8s`, `acs.mail`, `acs.mns.queue`, `acs.mns.topic`, `acs.openapi`, `acs.rabbitmq`, `acs.rds.mysql`, `acs.rocketmq`, `acs.sae`, `acs.sls`, `acs.sms`, `http`,`https` and `mysql`. // **NOTE:** From version 1.208.1, `type` can be set to `acs.alikafka`, `acs.api.destination`, `acs.arms.loki`, `acs.datahub`, `acs.eventbridge.olap`, `acs.eventbus.SLSCloudLens`, `acs.fnf`, `acs.k8s`, `acs.openapi`, `acs.rds.mysql`, `acs.sae`, `acs.sls`, `mysql`. Type string `pulumi:"type"` }
type RuleTargetArgs ¶ added in v3.5.0
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 `deadLetterQueue` below. DeadLetterQueue RuleTargetDeadLetterQueuePtrInput `pulumi:"deadLetterQueue"` // The endpoint of target. Endpoint pulumi.StringInput `pulumi:"endpoint"` // A list of param. See `paramList` below. ParamLists RuleTargetParamListArrayInput `pulumi:"paramLists"` // The retry policy that is used to push the event. Valid values: PushRetryStrategy pulumi.StringPtrInput `pulumi:"pushRetryStrategy"` // The ID of target. TargetId pulumi.StringInput `pulumi:"targetId"` // The type of target. Valid values: `acs.alikafka`, `acs.api.destination`, `acs.arms.loki`, `acs.datahub`, `acs.dingtalk`, `acs.eventbridge`, `acs.eventbridge.olap`, `acs.eventbus.SLSCloudLens`, `acs.fc.function`, `acs.fnf`, `acs.k8s`, `acs.mail`, `acs.mns.queue`, `acs.mns.topic`, `acs.openapi`, `acs.rabbitmq`, `acs.rds.mysql`, `acs.rocketmq`, `acs.sae`, `acs.sls`, `acs.sms`, `http`,`https` and `mysql`. // **NOTE:** From version 1.208.1, `type` can be set to `acs.alikafka`, `acs.api.destination`, `acs.arms.loki`, `acs.datahub`, `acs.eventbridge.olap`, `acs.eventbus.SLSCloudLens`, `acs.fnf`, `acs.k8s`, `acs.openapi`, `acs.rds.mysql`, `acs.sae`, `acs.sls`, `mysql`. Type pulumi.StringInput `pulumi:"type"` }
func (RuleTargetArgs) ElementType ¶ added in v3.5.0
func (RuleTargetArgs) ElementType() reflect.Type
func (RuleTargetArgs) ToOutput ¶ added in v3.43.1
func (i RuleTargetArgs) ToOutput(ctx context.Context) pulumix.Output[RuleTarget]
func (RuleTargetArgs) ToRuleTargetOutput ¶ added in v3.5.0
func (i RuleTargetArgs) ToRuleTargetOutput() RuleTargetOutput
func (RuleTargetArgs) ToRuleTargetOutputWithContext ¶ added in v3.5.0
func (i RuleTargetArgs) ToRuleTargetOutputWithContext(ctx context.Context) RuleTargetOutput
type RuleTargetArray ¶ added in v3.5.0
type RuleTargetArray []RuleTargetInput
func (RuleTargetArray) ElementType ¶ added in v3.5.0
func (RuleTargetArray) ElementType() reflect.Type
func (RuleTargetArray) ToOutput ¶ added in v3.43.1
func (i RuleTargetArray) ToOutput(ctx context.Context) pulumix.Output[[]RuleTarget]
func (RuleTargetArray) ToRuleTargetArrayOutput ¶ added in v3.5.0
func (i RuleTargetArray) ToRuleTargetArrayOutput() RuleTargetArrayOutput
func (RuleTargetArray) ToRuleTargetArrayOutputWithContext ¶ added in v3.5.0
func (i RuleTargetArray) ToRuleTargetArrayOutputWithContext(ctx context.Context) RuleTargetArrayOutput
type RuleTargetArrayInput ¶ added in v3.5.0
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 ¶ added in v3.5.0
type RuleTargetArrayOutput struct{ *pulumi.OutputState }
func (RuleTargetArrayOutput) ElementType ¶ added in v3.5.0
func (RuleTargetArrayOutput) ElementType() reflect.Type
func (RuleTargetArrayOutput) Index ¶ added in v3.5.0
func (o RuleTargetArrayOutput) Index(i pulumi.IntInput) RuleTargetOutput
func (RuleTargetArrayOutput) ToOutput ¶ added in v3.43.1
func (o RuleTargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleTarget]
func (RuleTargetArrayOutput) ToRuleTargetArrayOutput ¶ added in v3.5.0
func (o RuleTargetArrayOutput) ToRuleTargetArrayOutput() RuleTargetArrayOutput
func (RuleTargetArrayOutput) ToRuleTargetArrayOutputWithContext ¶ added in v3.5.0
func (o RuleTargetArrayOutput) ToRuleTargetArrayOutputWithContext(ctx context.Context) RuleTargetArrayOutput
type RuleTargetDeadLetterQueue ¶ added in v3.29.0
type RuleTargetDeadLetterQueue struct { // The srn of the dead letter queue. Arn *string `pulumi:"arn"` }
type RuleTargetDeadLetterQueueArgs ¶ added in v3.29.0
type RuleTargetDeadLetterQueueArgs struct { // The srn of the dead letter queue. Arn pulumi.StringPtrInput `pulumi:"arn"` }
func (RuleTargetDeadLetterQueueArgs) ElementType ¶ added in v3.29.0
func (RuleTargetDeadLetterQueueArgs) ElementType() reflect.Type
func (RuleTargetDeadLetterQueueArgs) ToOutput ¶ added in v3.43.1
func (i RuleTargetDeadLetterQueueArgs) ToOutput(ctx context.Context) pulumix.Output[RuleTargetDeadLetterQueue]
func (RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueueOutput ¶ added in v3.29.0
func (i RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueueOutput() RuleTargetDeadLetterQueueOutput
func (RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueueOutputWithContext ¶ added in v3.29.0
func (i RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueueOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueueOutput
func (RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueuePtrOutput ¶ added in v3.29.0
func (i RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueuePtrOutput() RuleTargetDeadLetterQueuePtrOutput
func (RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueuePtrOutputWithContext ¶ added in v3.29.0
func (i RuleTargetDeadLetterQueueArgs) ToRuleTargetDeadLetterQueuePtrOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueuePtrOutput
type RuleTargetDeadLetterQueueInput ¶ added in v3.29.0
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 ¶ added in v3.29.0
type RuleTargetDeadLetterQueueOutput struct{ *pulumi.OutputState }
func (RuleTargetDeadLetterQueueOutput) Arn ¶ added in v3.29.0
func (o RuleTargetDeadLetterQueueOutput) Arn() pulumi.StringPtrOutput
The srn of the dead letter queue.
func (RuleTargetDeadLetterQueueOutput) ElementType ¶ added in v3.29.0
func (RuleTargetDeadLetterQueueOutput) ElementType() reflect.Type
func (RuleTargetDeadLetterQueueOutput) ToOutput ¶ added in v3.43.1
func (o RuleTargetDeadLetterQueueOutput) ToOutput(ctx context.Context) pulumix.Output[RuleTargetDeadLetterQueue]
func (RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueueOutput ¶ added in v3.29.0
func (o RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueueOutput() RuleTargetDeadLetterQueueOutput
func (RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueueOutputWithContext ¶ added in v3.29.0
func (o RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueueOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueueOutput
func (RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueuePtrOutput ¶ added in v3.29.0
func (o RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueuePtrOutput() RuleTargetDeadLetterQueuePtrOutput
func (RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueuePtrOutputWithContext ¶ added in v3.29.0
func (o RuleTargetDeadLetterQueueOutput) ToRuleTargetDeadLetterQueuePtrOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueuePtrOutput
type RuleTargetDeadLetterQueuePtrInput ¶ added in v3.29.0
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 ¶ added in v3.29.0
func RuleTargetDeadLetterQueuePtr(v *RuleTargetDeadLetterQueueArgs) RuleTargetDeadLetterQueuePtrInput
type RuleTargetDeadLetterQueuePtrOutput ¶ added in v3.29.0
type RuleTargetDeadLetterQueuePtrOutput struct{ *pulumi.OutputState }
func (RuleTargetDeadLetterQueuePtrOutput) Arn ¶ added in v3.29.0
func (o RuleTargetDeadLetterQueuePtrOutput) Arn() pulumi.StringPtrOutput
The srn of the dead letter queue.
func (RuleTargetDeadLetterQueuePtrOutput) Elem ¶ added in v3.29.0
func (o RuleTargetDeadLetterQueuePtrOutput) Elem() RuleTargetDeadLetterQueueOutput
func (RuleTargetDeadLetterQueuePtrOutput) ElementType ¶ added in v3.29.0
func (RuleTargetDeadLetterQueuePtrOutput) ElementType() reflect.Type
func (RuleTargetDeadLetterQueuePtrOutput) ToOutput ¶ added in v3.43.1
func (o RuleTargetDeadLetterQueuePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuleTargetDeadLetterQueue]
func (RuleTargetDeadLetterQueuePtrOutput) ToRuleTargetDeadLetterQueuePtrOutput ¶ added in v3.29.0
func (o RuleTargetDeadLetterQueuePtrOutput) ToRuleTargetDeadLetterQueuePtrOutput() RuleTargetDeadLetterQueuePtrOutput
func (RuleTargetDeadLetterQueuePtrOutput) ToRuleTargetDeadLetterQueuePtrOutputWithContext ¶ added in v3.29.0
func (o RuleTargetDeadLetterQueuePtrOutput) ToRuleTargetDeadLetterQueuePtrOutputWithContext(ctx context.Context) RuleTargetDeadLetterQueuePtrOutput
type RuleTargetInput ¶ added in v3.5.0
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 ¶ added in v3.5.0
type RuleTargetOutput struct{ *pulumi.OutputState }
func (RuleTargetOutput) DeadLetterQueue ¶ added in v3.29.0
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 `deadLetterQueue` below.
func (RuleTargetOutput) ElementType ¶ added in v3.5.0
func (RuleTargetOutput) ElementType() reflect.Type
func (RuleTargetOutput) Endpoint ¶ added in v3.5.0
func (o RuleTargetOutput) Endpoint() pulumi.StringOutput
The endpoint of target.
func (RuleTargetOutput) ParamLists ¶ added in v3.5.0
func (o RuleTargetOutput) ParamLists() RuleTargetParamListArrayOutput
A list of param. See `paramList` below.
func (RuleTargetOutput) PushRetryStrategy ¶ added in v3.29.0
func (o RuleTargetOutput) PushRetryStrategy() pulumi.StringPtrOutput
The retry policy that is used to push the event. Valid values:
func (RuleTargetOutput) TargetId ¶ added in v3.5.0
func (o RuleTargetOutput) TargetId() pulumi.StringOutput
The ID of target.
func (RuleTargetOutput) ToOutput ¶ added in v3.43.1
func (o RuleTargetOutput) ToOutput(ctx context.Context) pulumix.Output[RuleTarget]
func (RuleTargetOutput) ToRuleTargetOutput ¶ added in v3.5.0
func (o RuleTargetOutput) ToRuleTargetOutput() RuleTargetOutput
func (RuleTargetOutput) ToRuleTargetOutputWithContext ¶ added in v3.5.0
func (o RuleTargetOutput) ToRuleTargetOutputWithContext(ctx context.Context) RuleTargetOutput
func (RuleTargetOutput) Type ¶ added in v3.5.0
func (o RuleTargetOutput) Type() pulumi.StringOutput
The type of target. Valid values: `acs.alikafka`, `acs.api.destination`, `acs.arms.loki`, `acs.datahub`, `acs.dingtalk`, `acs.eventbridge`, `acs.eventbridge.olap`, `acs.eventbus.SLSCloudLens`, `acs.fc.function`, `acs.fnf`, `acs.k8s`, `acs.mail`, `acs.mns.queue`, `acs.mns.topic`, `acs.openapi`, `acs.rabbitmq`, `acs.rds.mysql`, `acs.rocketmq`, `acs.sae`, `acs.sls`, `acs.sms`, `http`,`https` and `mysql`. **NOTE:** From version 1.208.1, `type` can be set to `acs.alikafka`, `acs.api.destination`, `acs.arms.loki`, `acs.datahub`, `acs.eventbridge.olap`, `acs.eventbus.SLSCloudLens`, `acs.fnf`, `acs.k8s`, `acs.openapi`, `acs.rds.mysql`, `acs.sae`, `acs.sls`, `mysql`.
type RuleTargetParamList ¶ added in v3.5.0
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://www.alibabacloud.com/help/en/eventbridge/latest/event-target-parameters) ResourceKey string `pulumi:"resourceKey"` // The template of param. Template *string `pulumi:"template"` // The value of param. // // > **NOTE:** There exists a potential diff error that the backend service will return a default param as following: // // “`go // package main // // import ( // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // return nil // }) // } // “` // // In order to fix the diff, from version 1.160.0, // this resource has removed the param which `resourceKey = "IsBase64Encode"` and `value = "false"`. // If you want to set `resourceKey = "IsBase64Encode"`, please avoid to set `value = "false"`. Value *string `pulumi:"value"` }
type RuleTargetParamListArgs ¶ added in v3.5.0
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://www.alibabacloud.com/help/en/eventbridge/latest/event-target-parameters) ResourceKey pulumi.StringInput `pulumi:"resourceKey"` // The template of param. Template pulumi.StringPtrInput `pulumi:"template"` // The value of param. // // > **NOTE:** There exists a potential diff error that the backend service will return a default param as following: // // “`go // package main // // import ( // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // return nil // }) // } // “` // // In order to fix the diff, from version 1.160.0, // this resource has removed the param which `resourceKey = "IsBase64Encode"` and `value = "false"`. // If you want to set `resourceKey = "IsBase64Encode"`, please avoid to set `value = "false"`. Value pulumi.StringPtrInput `pulumi:"value"` }
func (RuleTargetParamListArgs) ElementType ¶ added in v3.5.0
func (RuleTargetParamListArgs) ElementType() reflect.Type
func (RuleTargetParamListArgs) ToOutput ¶ added in v3.43.1
func (i RuleTargetParamListArgs) ToOutput(ctx context.Context) pulumix.Output[RuleTargetParamList]
func (RuleTargetParamListArgs) ToRuleTargetParamListOutput ¶ added in v3.5.0
func (i RuleTargetParamListArgs) ToRuleTargetParamListOutput() RuleTargetParamListOutput
func (RuleTargetParamListArgs) ToRuleTargetParamListOutputWithContext ¶ added in v3.5.0
func (i RuleTargetParamListArgs) ToRuleTargetParamListOutputWithContext(ctx context.Context) RuleTargetParamListOutput
type RuleTargetParamListArray ¶ added in v3.5.0
type RuleTargetParamListArray []RuleTargetParamListInput
func (RuleTargetParamListArray) ElementType ¶ added in v3.5.0
func (RuleTargetParamListArray) ElementType() reflect.Type
func (RuleTargetParamListArray) ToOutput ¶ added in v3.43.1
func (i RuleTargetParamListArray) ToOutput(ctx context.Context) pulumix.Output[[]RuleTargetParamList]
func (RuleTargetParamListArray) ToRuleTargetParamListArrayOutput ¶ added in v3.5.0
func (i RuleTargetParamListArray) ToRuleTargetParamListArrayOutput() RuleTargetParamListArrayOutput
func (RuleTargetParamListArray) ToRuleTargetParamListArrayOutputWithContext ¶ added in v3.5.0
func (i RuleTargetParamListArray) ToRuleTargetParamListArrayOutputWithContext(ctx context.Context) RuleTargetParamListArrayOutput
type RuleTargetParamListArrayInput ¶ added in v3.5.0
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 ¶ added in v3.5.0
type RuleTargetParamListArrayOutput struct{ *pulumi.OutputState }
func (RuleTargetParamListArrayOutput) ElementType ¶ added in v3.5.0
func (RuleTargetParamListArrayOutput) ElementType() reflect.Type
func (RuleTargetParamListArrayOutput) Index ¶ added in v3.5.0
func (o RuleTargetParamListArrayOutput) Index(i pulumi.IntInput) RuleTargetParamListOutput
func (RuleTargetParamListArrayOutput) ToOutput ¶ added in v3.43.1
func (o RuleTargetParamListArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleTargetParamList]
func (RuleTargetParamListArrayOutput) ToRuleTargetParamListArrayOutput ¶ added in v3.5.0
func (o RuleTargetParamListArrayOutput) ToRuleTargetParamListArrayOutput() RuleTargetParamListArrayOutput
func (RuleTargetParamListArrayOutput) ToRuleTargetParamListArrayOutputWithContext ¶ added in v3.5.0
func (o RuleTargetParamListArrayOutput) ToRuleTargetParamListArrayOutputWithContext(ctx context.Context) RuleTargetParamListArrayOutput
type RuleTargetParamListInput ¶ added in v3.5.0
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 ¶ added in v3.5.0
type RuleTargetParamListOutput struct{ *pulumi.OutputState }
func (RuleTargetParamListOutput) ElementType ¶ added in v3.5.0
func (RuleTargetParamListOutput) ElementType() reflect.Type
func (RuleTargetParamListOutput) Form ¶ added in v3.5.0
func (o RuleTargetParamListOutput) Form() pulumi.StringOutput
The format of param. Valid values: `ORIGINAL`, `TEMPLATE`, `JSONPATH`, `CONSTANT`.
func (RuleTargetParamListOutput) ResourceKey ¶ added in v3.5.0
func (o RuleTargetParamListOutput) ResourceKey() pulumi.StringOutput
The resource key of param. For more information, see [Event target parameters](https://www.alibabacloud.com/help/en/eventbridge/latest/event-target-parameters)
func (RuleTargetParamListOutput) Template ¶ added in v3.5.0
func (o RuleTargetParamListOutput) Template() pulumi.StringPtrOutput
The template of param.
func (RuleTargetParamListOutput) ToOutput ¶ added in v3.43.1
func (o RuleTargetParamListOutput) ToOutput(ctx context.Context) pulumix.Output[RuleTargetParamList]
func (RuleTargetParamListOutput) ToRuleTargetParamListOutput ¶ added in v3.5.0
func (o RuleTargetParamListOutput) ToRuleTargetParamListOutput() RuleTargetParamListOutput
func (RuleTargetParamListOutput) ToRuleTargetParamListOutputWithContext ¶ added in v3.5.0
func (o RuleTargetParamListOutput) ToRuleTargetParamListOutputWithContext(ctx context.Context) RuleTargetParamListOutput
func (RuleTargetParamListOutput) Value ¶ added in v3.5.0
func (o RuleTargetParamListOutput) Value() pulumi.StringPtrOutput
The value of param.
> **NOTE:** There exists a potential diff error that the backend service will return a default param as following:
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
```
In order to fix the diff, from version 1.160.0, this resource has removed the param which `resourceKey = "IsBase64Encode"` and `value = "false"`. If you want to set `resourceKey = "IsBase64Encode"`, please avoid to set `value = "false"`.
type ServiceLinkedRole ¶ added in v3.10.0
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-alicloud/sdk/v3/go/alicloud/eventbridge" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
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 ¶ added in v3.10.0
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 ¶ added in v3.10.0
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 ¶ added in v3.10.0
func (*ServiceLinkedRole) ElementType() reflect.Type
func (*ServiceLinkedRole) ToOutput ¶ added in v3.43.1
func (i *ServiceLinkedRole) ToOutput(ctx context.Context) pulumix.Output[*ServiceLinkedRole]
func (*ServiceLinkedRole) ToServiceLinkedRoleOutput ¶ added in v3.10.0
func (i *ServiceLinkedRole) ToServiceLinkedRoleOutput() ServiceLinkedRoleOutput
func (*ServiceLinkedRole) ToServiceLinkedRoleOutputWithContext ¶ added in v3.10.0
func (i *ServiceLinkedRole) ToServiceLinkedRoleOutputWithContext(ctx context.Context) ServiceLinkedRoleOutput
type ServiceLinkedRoleArgs ¶ added in v3.10.0
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 ¶ added in v3.10.0
func (ServiceLinkedRoleArgs) ElementType() reflect.Type
type ServiceLinkedRoleArray ¶ added in v3.10.0
type ServiceLinkedRoleArray []ServiceLinkedRoleInput
func (ServiceLinkedRoleArray) ElementType ¶ added in v3.10.0
func (ServiceLinkedRoleArray) ElementType() reflect.Type
func (ServiceLinkedRoleArray) ToOutput ¶ added in v3.43.1
func (i ServiceLinkedRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*ServiceLinkedRole]
func (ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutput ¶ added in v3.10.0
func (i ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutput() ServiceLinkedRoleArrayOutput
func (ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutputWithContext ¶ added in v3.10.0
func (i ServiceLinkedRoleArray) ToServiceLinkedRoleArrayOutputWithContext(ctx context.Context) ServiceLinkedRoleArrayOutput
type ServiceLinkedRoleArrayInput ¶ added in v3.10.0
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 ¶ added in v3.10.0
type ServiceLinkedRoleArrayOutput struct{ *pulumi.OutputState }
func (ServiceLinkedRoleArrayOutput) ElementType ¶ added in v3.10.0
func (ServiceLinkedRoleArrayOutput) ElementType() reflect.Type
func (ServiceLinkedRoleArrayOutput) Index ¶ added in v3.10.0
func (o ServiceLinkedRoleArrayOutput) Index(i pulumi.IntInput) ServiceLinkedRoleOutput
func (ServiceLinkedRoleArrayOutput) ToOutput ¶ added in v3.43.1
func (o ServiceLinkedRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ServiceLinkedRole]
func (ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutput ¶ added in v3.10.0
func (o ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutput() ServiceLinkedRoleArrayOutput
func (ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutputWithContext ¶ added in v3.10.0
func (o ServiceLinkedRoleArrayOutput) ToServiceLinkedRoleArrayOutputWithContext(ctx context.Context) ServiceLinkedRoleArrayOutput
type ServiceLinkedRoleInput ¶ added in v3.10.0
type ServiceLinkedRoleInput interface { pulumi.Input ToServiceLinkedRoleOutput() ServiceLinkedRoleOutput ToServiceLinkedRoleOutputWithContext(ctx context.Context) ServiceLinkedRoleOutput }
type ServiceLinkedRoleMap ¶ added in v3.10.0
type ServiceLinkedRoleMap map[string]ServiceLinkedRoleInput
func (ServiceLinkedRoleMap) ElementType ¶ added in v3.10.0
func (ServiceLinkedRoleMap) ElementType() reflect.Type
func (ServiceLinkedRoleMap) ToOutput ¶ added in v3.43.1
func (i ServiceLinkedRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ServiceLinkedRole]
func (ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutput ¶ added in v3.10.0
func (i ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutput() ServiceLinkedRoleMapOutput
func (ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutputWithContext ¶ added in v3.10.0
func (i ServiceLinkedRoleMap) ToServiceLinkedRoleMapOutputWithContext(ctx context.Context) ServiceLinkedRoleMapOutput
type ServiceLinkedRoleMapInput ¶ added in v3.10.0
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 ¶ added in v3.10.0
type ServiceLinkedRoleMapOutput struct{ *pulumi.OutputState }
func (ServiceLinkedRoleMapOutput) ElementType ¶ added in v3.10.0
func (ServiceLinkedRoleMapOutput) ElementType() reflect.Type
func (ServiceLinkedRoleMapOutput) MapIndex ¶ added in v3.10.0
func (o ServiceLinkedRoleMapOutput) MapIndex(k pulumi.StringInput) ServiceLinkedRoleOutput
func (ServiceLinkedRoleMapOutput) ToOutput ¶ added in v3.43.1
func (o ServiceLinkedRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ServiceLinkedRole]
func (ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutput ¶ added in v3.10.0
func (o ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutput() ServiceLinkedRoleMapOutput
func (ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutputWithContext ¶ added in v3.10.0
func (o ServiceLinkedRoleMapOutput) ToServiceLinkedRoleMapOutputWithContext(ctx context.Context) ServiceLinkedRoleMapOutput
type ServiceLinkedRoleOutput ¶ added in v3.10.0
type ServiceLinkedRoleOutput struct{ *pulumi.OutputState }
func (ServiceLinkedRoleOutput) ElementType ¶ added in v3.10.0
func (ServiceLinkedRoleOutput) ElementType() reflect.Type
func (ServiceLinkedRoleOutput) ProductName ¶ added in v3.27.0
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) ToOutput ¶ added in v3.43.1
func (o ServiceLinkedRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceLinkedRole]
func (ServiceLinkedRoleOutput) ToServiceLinkedRoleOutput ¶ added in v3.10.0
func (o ServiceLinkedRoleOutput) ToServiceLinkedRoleOutput() ServiceLinkedRoleOutput
func (ServiceLinkedRoleOutput) ToServiceLinkedRoleOutputWithContext ¶ added in v3.10.0
func (o ServiceLinkedRoleOutput) ToServiceLinkedRoleOutputWithContext(ctx context.Context) ServiceLinkedRoleOutput
type ServiceLinkedRoleState ¶ added in v3.10.0
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 ¶ added in v3.10.0
func (ServiceLinkedRoleState) ElementType() reflect.Type
type Slr ¶ added in v3.5.0
type Slr struct { pulumi.CustomResourceState ProductName pulumi.StringOutput `pulumi:"productName"` }
func GetSlr ¶ added in v3.5.0
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 ¶ added in v3.5.0
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 ¶ added in v3.5.0
func (*Slr) ToSlrOutput ¶ added in v3.5.0
type SlrArgs ¶ added in v3.5.0
type SlrArgs struct {
ProductName pulumi.StringInput
}
The set of arguments for constructing a Slr resource.
func (SlrArgs) ElementType ¶ added in v3.5.0
type SlrArray ¶ added in v3.5.0
type SlrArray []SlrInput
func (SlrArray) ElementType ¶ added in v3.5.0
func (SlrArray) ToSlrArrayOutput ¶ added in v3.5.0
func (i SlrArray) ToSlrArrayOutput() SlrArrayOutput
func (SlrArray) ToSlrArrayOutputWithContext ¶ added in v3.5.0
func (i SlrArray) ToSlrArrayOutputWithContext(ctx context.Context) SlrArrayOutput
type SlrArrayInput ¶ added in v3.5.0
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 ¶ added in v3.5.0
type SlrArrayOutput struct{ *pulumi.OutputState }
func (SlrArrayOutput) ElementType ¶ added in v3.5.0
func (SlrArrayOutput) ElementType() reflect.Type
func (SlrArrayOutput) Index ¶ added in v3.5.0
func (o SlrArrayOutput) Index(i pulumi.IntInput) SlrOutput
func (SlrArrayOutput) ToSlrArrayOutput ¶ added in v3.5.0
func (o SlrArrayOutput) ToSlrArrayOutput() SlrArrayOutput
func (SlrArrayOutput) ToSlrArrayOutputWithContext ¶ added in v3.5.0
func (o SlrArrayOutput) ToSlrArrayOutputWithContext(ctx context.Context) SlrArrayOutput
type SlrMap ¶ added in v3.5.0
func (SlrMap) ElementType ¶ added in v3.5.0
func (SlrMap) ToSlrMapOutput ¶ added in v3.5.0
func (i SlrMap) ToSlrMapOutput() SlrMapOutput
func (SlrMap) ToSlrMapOutputWithContext ¶ added in v3.5.0
func (i SlrMap) ToSlrMapOutputWithContext(ctx context.Context) SlrMapOutput
type SlrMapInput ¶ added in v3.5.0
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 ¶ added in v3.5.0
type SlrMapOutput struct{ *pulumi.OutputState }
func (SlrMapOutput) ElementType ¶ added in v3.5.0
func (SlrMapOutput) ElementType() reflect.Type
func (SlrMapOutput) MapIndex ¶ added in v3.5.0
func (o SlrMapOutput) MapIndex(k pulumi.StringInput) SlrOutput
func (SlrMapOutput) ToSlrMapOutput ¶ added in v3.5.0
func (o SlrMapOutput) ToSlrMapOutput() SlrMapOutput
func (SlrMapOutput) ToSlrMapOutputWithContext ¶ added in v3.5.0
func (o SlrMapOutput) ToSlrMapOutputWithContext(ctx context.Context) SlrMapOutput
type SlrOutput ¶ added in v3.5.0
type SlrOutput struct{ *pulumi.OutputState }
func (SlrOutput) ElementType ¶ added in v3.5.0
func (SlrOutput) ProductName ¶ added in v3.27.0
func (o SlrOutput) ProductName() pulumi.StringOutput
func (SlrOutput) ToSlrOutput ¶ added in v3.5.0
type SlrState ¶ added in v3.5.0
type SlrState struct {
ProductName pulumi.StringPtrInput
}