We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.74.1
published on Monday, Aug 3, 2026 by Pulumi
published on Monday, Aug 3, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.74.1
published on Monday, Aug 3, 2026 by Pulumi
published on Monday, Aug 3, 2026 by Pulumi
Resource Type definition for AWS::DocDB::EventSubscription
Using getEventSubscription
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEventSubscription(args: GetEventSubscriptionArgs, opts?: InvokeOptions): Promise<GetEventSubscriptionResult>
function getEventSubscriptionOutput(args: GetEventSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetEventSubscriptionResult>def get_event_subscription(subscription_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventSubscriptionResult
def get_event_subscription_output(subscription_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEventSubscriptionResult]func LookupEventSubscription(ctx *Context, args *LookupEventSubscriptionArgs, opts ...InvokeOption) (*LookupEventSubscriptionResult, error)
func LookupEventSubscriptionOutput(ctx *Context, args *LookupEventSubscriptionOutputArgs, opts ...InvokeOption) LookupEventSubscriptionResultOutput> Note: This function is named LookupEventSubscription in the Go SDK.
public static class GetEventSubscription
{
public static Task<GetEventSubscriptionResult> InvokeAsync(GetEventSubscriptionArgs args, InvokeOptions? opts = null)
public static Output<GetEventSubscriptionResult> Invoke(GetEventSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEventSubscriptionResult> getEventSubscription(GetEventSubscriptionArgs args, InvokeOptions options)
public static Output<GetEventSubscriptionResult> getEventSubscription(GetEventSubscriptionArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:docdb:getEventSubscription
arguments:
# arguments dictionarydata "aws-native_docdb_get_event_subscription" "name" {
# arguments
}The following arguments are supported:
- Subscription
Name string - The name of the subscription.
- Subscription
Name string - The name of the subscription.
- subscription_
name string - The name of the subscription.
- subscription
Name String - The name of the subscription.
- subscription
Name string - The name of the subscription.
- subscription_
name str - The name of the subscription.
- subscription
Name String - The name of the subscription.
getEventSubscription Result
The following output properties are available:
- Enabled bool
- A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.
- Event
Categories List<string> - A list of event categories for a SourceType that you want to subscribe to.
- Source
Ids List<string> - The list of identifiers of the event sources for which events are returned
- Source
Type Pulumi.Aws Native. Doc Db. Event Subscription Source Type - The type of source that is generating the events.
- Enabled bool
- A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.
- Event
Categories []string - A list of event categories for a SourceType that you want to subscribe to.
- Source
Ids []string - The list of identifiers of the event sources for which events are returned
- Source
Type EventSubscription Source Type - The type of source that is generating the events.
- enabled bool
- A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.
- event_
categories list(string) - A list of event categories for a SourceType that you want to subscribe to.
- source_
ids list(string) - The list of identifiers of the event sources for which events are returned
- source_
type "db-instance" | "db-cluster" | "db-parameter-group" | "db-security-group" | "db-cluster-snapshot" - The type of source that is generating the events.
- enabled Boolean
- A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.
- event
Categories List<String> - A list of event categories for a SourceType that you want to subscribe to.
- source
Ids List<String> - The list of identifiers of the event sources for which events are returned
- source
Type EventSubscription Source Type - The type of source that is generating the events.
- enabled boolean
- A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.
- event
Categories string[] - A list of event categories for a SourceType that you want to subscribe to.
- source
Ids string[] - The list of identifiers of the event sources for which events are returned
- source
Type EventSubscription Source Type - The type of source that is generating the events.
- enabled bool
- A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.
- event_
categories Sequence[str] - A list of event categories for a SourceType that you want to subscribe to.
- source_
ids Sequence[str] - The list of identifiers of the event sources for which events are returned
- source_
type EventSubscription Source Type - The type of source that is generating the events.
- enabled Boolean
- A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.
- event
Categories List<String> - A list of event categories for a SourceType that you want to subscribe to.
- source
Ids List<String> - The list of identifiers of the event sources for which events are returned
- source
Type "db-instance" | "db-cluster" | "db-parameter-group" | "db-security-group" | "db-cluster-snapshot" - The type of source that is generating the events.
Supporting Types
EventSubscriptionSourceType
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.74.1
published on Monday, Aug 3, 2026 by Pulumi
published on Monday, Aug 3, 2026 by Pulumi