We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
Resource schema for AWS::EventsV2::EventSource. A managed event source that forwards AWS service events or partner events onto a custom event bus.
Using getEventSource
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 getEventSource(args: GetEventSourceArgs, opts?: InvokeOptions): Promise<GetEventSourceResult>
function getEventSourceOutput(args: GetEventSourceOutputArgs, opts?: InvokeOutputOptions): Output<GetEventSourceResult>def get_event_source(event_source_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventSourceResult
def get_event_source_output(event_source_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetEventSourceResult]func LookupEventSource(ctx *Context, args *LookupEventSourceArgs, opts ...InvokeOption) (*LookupEventSourceResult, error)
func LookupEventSourceOutput(ctx *Context, args *LookupEventSourceOutputArgs, opts ...InvokeOption) LookupEventSourceResultOutput> Note: This function is named LookupEventSource in the Go SDK.
public static class GetEventSource
{
public static Task<GetEventSourceResult> InvokeAsync(GetEventSourceArgs args, InvokeOptions? opts = null)
public static Output<GetEventSourceResult> Invoke(GetEventSourceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetEventSourceResult> Invoke(GetEventSourceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetEventSourceResult> getEventSource(GetEventSourceArgs args, InvokeOptions options)
public static Output<GetEventSourceResult> getEventSource(GetEventSourceArgs args, InvokeOptions options)
public static Output<GetEventSourceResult> getEventSource(GetEventSourceArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:eventsv2:getEventSource
arguments:
# arguments dictionarydata "aws-native_eventsv2_get_event_source" "name" {
# arguments
}The following arguments are supported:
- Event
Source stringArn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- Event
Source stringArn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- event_
source_ stringarn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- event
Source StringArn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- event
Source stringArn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- event_
source_ strarn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- event
Source StringArn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
getEventSource Result
The following output properties are available:
- Configuration
Pulumi.
Aws Native. Events V2. Outputs. Event Source Configuration - The event source configuration. Specify exactly one of AwsServiceEventsConfiguration or PartnerEventsConfiguration.
- Creation
Time string - The time the event source was created, as an ISO 8601 timestamp.
- Description string
- A description of the event source. Control characters and Unicode line separators are not allowed.
- Event
Source stringArn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- Last
Modified stringTime - The time the event source was last modified, as an ISO 8601 timestamp.
- Revoked bool
- Whether the event bus owner has revoked this event source. Revocation is permanent: a revoked event source cannot be updated, but it can be deleted.
- State
Pulumi.
Aws Native. Events V2. Event Source State - The lifecycle state of the event source: CREATING, ACTIVE, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, or DELETE_FAILED. Revocation by the event bus owner is reported by the Revoked property, not by the state.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags assigned to the event source.
- Configuration
Event
Source Configuration - The event source configuration. Specify exactly one of AwsServiceEventsConfiguration or PartnerEventsConfiguration.
- Creation
Time string - The time the event source was created, as an ISO 8601 timestamp.
- Description string
- A description of the event source. Control characters and Unicode line separators are not allowed.
- Event
Source stringArn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- Last
Modified stringTime - The time the event source was last modified, as an ISO 8601 timestamp.
- Revoked bool
- Whether the event bus owner has revoked this event source. Revocation is permanent: a revoked event source cannot be updated, but it can be deleted.
- State
Event
Source State Enum - The lifecycle state of the event source: CREATING, ACTIVE, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, or DELETE_FAILED. Revocation by the event bus owner is reported by the Revoked property, not by the state.
- Tag
- The tags assigned to the event source.
- configuration object
- The event source configuration. Specify exactly one of AwsServiceEventsConfiguration or PartnerEventsConfiguration.
- creation_
time string - The time the event source was created, as an ISO 8601 timestamp.
- description string
- A description of the event source. Control characters and Unicode line separators are not allowed.
- event_
source_ stringarn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- last_
modified_ stringtime - The time the event source was last modified, as an ISO 8601 timestamp.
- revoked bool
- Whether the event bus owner has revoked this event source. Revocation is permanent: a revoked event source cannot be updated, but it can be deleted.
- state "CREATING" | "ACTIVE" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED"
- The lifecycle state of the event source: CREATING, ACTIVE, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, or DELETE_FAILED. Revocation by the event bus owner is reported by the Revoked property, not by the state.
- list(object)
- The tags assigned to the event source.
- configuration
Event
Source Configuration - The event source configuration. Specify exactly one of AwsServiceEventsConfiguration or PartnerEventsConfiguration.
- creation
Time String - The time the event source was created, as an ISO 8601 timestamp.
- description String
- A description of the event source. Control characters and Unicode line separators are not allowed.
- event
Source StringArn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- last
Modified StringTime - The time the event source was last modified, as an ISO 8601 timestamp.
- revoked Boolean
- Whether the event bus owner has revoked this event source. Revocation is permanent: a revoked event source cannot be updated, but it can be deleted.
- state
Event
Source State - The lifecycle state of the event source: CREATING, ACTIVE, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, or DELETE_FAILED. Revocation by the event bus owner is reported by the Revoked property, not by the state.
- List<Tag>
- The tags assigned to the event source.
- configuration
Event
Source Configuration - The event source configuration. Specify exactly one of AwsServiceEventsConfiguration or PartnerEventsConfiguration.
- creation
Time string - The time the event source was created, as an ISO 8601 timestamp.
- description string
- A description of the event source. Control characters and Unicode line separators are not allowed.
- event
Source stringArn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- last
Modified stringTime - The time the event source was last modified, as an ISO 8601 timestamp.
- revoked boolean
- Whether the event bus owner has revoked this event source. Revocation is permanent: a revoked event source cannot be updated, but it can be deleted.
- state
Event
Source State - The lifecycle state of the event source: CREATING, ACTIVE, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, or DELETE_FAILED. Revocation by the event bus owner is reported by the Revoked property, not by the state.
- Tag[]
- The tags assigned to the event source.
- configuration
Event
Source Configuration - The event source configuration. Specify exactly one of AwsServiceEventsConfiguration or PartnerEventsConfiguration.
- creation_
time str - The time the event source was created, as an ISO 8601 timestamp.
- description str
- A description of the event source. Control characters and Unicode line separators are not allowed.
- event_
source_ strarn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- last_
modified_ strtime - The time the event source was last modified, as an ISO 8601 timestamp.
- revoked bool
- Whether the event bus owner has revoked this event source. Revocation is permanent: a revoked event source cannot be updated, but it can be deleted.
- state
Event
Source State - The lifecycle state of the event source: CREATING, ACTIVE, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, or DELETE_FAILED. Revocation by the event bus owner is reported by the Revoked property, not by the state.
- Sequence[root_Tag]
- The tags assigned to the event source.
- configuration Property Map
- The event source configuration. Specify exactly one of AwsServiceEventsConfiguration or PartnerEventsConfiguration.
- creation
Time String - The time the event source was created, as an ISO 8601 timestamp.
- description String
- A description of the event source. Control characters and Unicode line separators are not allowed.
- event
Source StringArn - The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2///. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service.
- last
Modified StringTime - The time the event source was last modified, as an ISO 8601 timestamp.
- revoked Boolean
- Whether the event bus owner has revoked this event source. Revocation is permanent: a revoked event source cannot be updated, but it can be deleted.
- state "CREATING" | "ACTIVE" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED"
- The lifecycle state of the event source: CREATING, ACTIVE, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, or DELETE_FAILED. Revocation by the event bus owner is reported by the Revoked property, not by the state.
- List<Property Map>
- The tags assigned to the event source.
Supporting Types
EventSourceAwsServiceEventsConfiguration
- Aws
Service string - A single AWS service source identifier, for example aws.s3. Wildcards and lists are not allowed.
- On
Failure Pulumi.Configuration Aws Native. Events V2. Inputs. Event Source On Failure Configuration - The destination for events that could not be forwarded.
- Pattern string
- A filter pattern, as a JSON string, that defines which events from the specified AWS service are forwarded to the event bus. Do not include source, account, or region as top-level fields. If you do not specify a pattern, all events from the service are forwarded.
- Aws
Service string - A single AWS service source identifier, for example aws.s3. Wildcards and lists are not allowed.
- On
Failure EventConfiguration Source On Failure Configuration - The destination for events that could not be forwarded.
- Pattern string
- A filter pattern, as a JSON string, that defines which events from the specified AWS service are forwarded to the event bus. Do not include source, account, or region as top-level fields. If you do not specify a pattern, all events from the service are forwarded.
- aws_
service string - A single AWS service source identifier, for example aws.s3. Wildcards and lists are not allowed.
- on_
failure_ objectconfiguration - The destination for events that could not be forwarded.
- pattern string
- A filter pattern, as a JSON string, that defines which events from the specified AWS service are forwarded to the event bus. Do not include source, account, or region as top-level fields. If you do not specify a pattern, all events from the service are forwarded.
- aws
Service String - A single AWS service source identifier, for example aws.s3. Wildcards and lists are not allowed.
- on
Failure EventConfiguration Source On Failure Configuration - The destination for events that could not be forwarded.
- pattern String
- A filter pattern, as a JSON string, that defines which events from the specified AWS service are forwarded to the event bus. Do not include source, account, or region as top-level fields. If you do not specify a pattern, all events from the service are forwarded.
- aws
Service string - A single AWS service source identifier, for example aws.s3. Wildcards and lists are not allowed.
- on
Failure EventConfiguration Source On Failure Configuration - The destination for events that could not be forwarded.
- pattern string
- A filter pattern, as a JSON string, that defines which events from the specified AWS service are forwarded to the event bus. Do not include source, account, or region as top-level fields. If you do not specify a pattern, all events from the service are forwarded.
- aws_
service str - A single AWS service source identifier, for example aws.s3. Wildcards and lists are not allowed.
- on_
failure_ Eventconfiguration Source On Failure Configuration - The destination for events that could not be forwarded.
- pattern str
- A filter pattern, as a JSON string, that defines which events from the specified AWS service are forwarded to the event bus. Do not include source, account, or region as top-level fields. If you do not specify a pattern, all events from the service are forwarded.
- aws
Service String - A single AWS service source identifier, for example aws.s3. Wildcards and lists are not allowed.
- on
Failure Property MapConfiguration - The destination for events that could not be forwarded.
- pattern String
- A filter pattern, as a JSON string, that defines which events from the specified AWS service are forwarded to the event bus. Do not include source, account, or region as top-level fields. If you do not specify a pattern, all events from the service are forwarded.
EventSourceConfiguration
- Aws
Service Pulumi.Events Configuration Aws Native. Events V2. Inputs. Event Source Aws Service Events Configuration - Configuration for forwarding a single AWS service's events.
- Partner
Events Pulumi.Configuration Aws Native. Events V2. Inputs. Event Source Partner Events Configuration - Configuration for forwarding a partner event source's events.
- Aws
Service EventEvents Configuration Source Aws Service Events Configuration - Configuration for forwarding a single AWS service's events.
- Partner
Events EventConfiguration Source Partner Events Configuration - Configuration for forwarding a partner event source's events.
- aws_
service_ objectevents_ configuration - Configuration for forwarding a single AWS service's events.
- partner_
events_ objectconfiguration - Configuration for forwarding a partner event source's events.
- aws
Service EventEvents Configuration Source Aws Service Events Configuration - Configuration for forwarding a single AWS service's events.
- partner
Events EventConfiguration Source Partner Events Configuration - Configuration for forwarding a partner event source's events.
- aws
Service EventEvents Configuration Source Aws Service Events Configuration - Configuration for forwarding a single AWS service's events.
- partner
Events EventConfiguration Source Partner Events Configuration - Configuration for forwarding a partner event source's events.
- aws_
service_ Eventevents_ configuration Source Aws Service Events Configuration - Configuration for forwarding a single AWS service's events.
- partner_
events_ Eventconfiguration Source Partner Events Configuration - Configuration for forwarding a partner event source's events.
- aws
Service Property MapEvents Configuration - Configuration for forwarding a single AWS service's events.
- partner
Events Property MapConfiguration - Configuration for forwarding a partner event source's events.
EventSourceOnFailureConfiguration
- Arn string
- The ARN of the Amazon SQS standard queue that receives events that could not be forwarded. FIFO queues are not supported.
- Arn string
- The ARN of the Amazon SQS standard queue that receives events that could not be forwarded. FIFO queues are not supported.
- arn string
- The ARN of the Amazon SQS standard queue that receives events that could not be forwarded. FIFO queues are not supported.
- arn String
- The ARN of the Amazon SQS standard queue that receives events that could not be forwarded. FIFO queues are not supported.
- arn string
- The ARN of the Amazon SQS standard queue that receives events that could not be forwarded. FIFO queues are not supported.
- arn str
- The ARN of the Amazon SQS standard queue that receives events that could not be forwarded. FIFO queues are not supported.
- arn String
- The ARN of the Amazon SQS standard queue that receives events that could not be forwarded. FIFO queues are not supported.
EventSourcePartnerEventsConfiguration
- Partner
Event stringSource Arn - The ARN of the partner event source to forward. The partner owns the event source, so the ARN's account segment is empty. Changing this property replaces the event source. Because Name and EventBusArn together identify an event source, and the replacement is created before the old resource is deleted, change Name in the same update.
- On
Failure Pulumi.Configuration Aws Native. Events V2. Inputs. Event Source On Failure Configuration - The destination for events that could not be forwarded, covering both the forwarding target and the managed partner event bus.
- Partner
Bus stringKms Key Identifier - The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on the managed partner event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus.
- Pattern string
- A filter pattern, as a JSON string, that defines which events from the specified partner event source are forwarded to the event bus. If you do not specify a pattern, all events from the partner event source are forwarded.
- Partner
Event stringSource Arn - The ARN of the partner event source to forward. The partner owns the event source, so the ARN's account segment is empty. Changing this property replaces the event source. Because Name and EventBusArn together identify an event source, and the replacement is created before the old resource is deleted, change Name in the same update.
- On
Failure EventConfiguration Source On Failure Configuration - The destination for events that could not be forwarded, covering both the forwarding target and the managed partner event bus.
- Partner
Bus stringKms Key Identifier - The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on the managed partner event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus.
- Pattern string
- A filter pattern, as a JSON string, that defines which events from the specified partner event source are forwarded to the event bus. If you do not specify a pattern, all events from the partner event source are forwarded.
- partner_
event_ stringsource_ arn - The ARN of the partner event source to forward. The partner owns the event source, so the ARN's account segment is empty. Changing this property replaces the event source. Because Name and EventBusArn together identify an event source, and the replacement is created before the old resource is deleted, change Name in the same update.
- on_
failure_ objectconfiguration - The destination for events that could not be forwarded, covering both the forwarding target and the managed partner event bus.
- partner_
bus_ stringkms_ key_ identifier - The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on the managed partner event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus.
- pattern string
- A filter pattern, as a JSON string, that defines which events from the specified partner event source are forwarded to the event bus. If you do not specify a pattern, all events from the partner event source are forwarded.
- partner
Event StringSource Arn - The ARN of the partner event source to forward. The partner owns the event source, so the ARN's account segment is empty. Changing this property replaces the event source. Because Name and EventBusArn together identify an event source, and the replacement is created before the old resource is deleted, change Name in the same update.
- on
Failure EventConfiguration Source On Failure Configuration - The destination for events that could not be forwarded, covering both the forwarding target and the managed partner event bus.
- partner
Bus StringKms Key Identifier - The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on the managed partner event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus.
- pattern String
- A filter pattern, as a JSON string, that defines which events from the specified partner event source are forwarded to the event bus. If you do not specify a pattern, all events from the partner event source are forwarded.
- partner
Event stringSource Arn - The ARN of the partner event source to forward. The partner owns the event source, so the ARN's account segment is empty. Changing this property replaces the event source. Because Name and EventBusArn together identify an event source, and the replacement is created before the old resource is deleted, change Name in the same update.
- on
Failure EventConfiguration Source On Failure Configuration - The destination for events that could not be forwarded, covering both the forwarding target and the managed partner event bus.
- partner
Bus stringKms Key Identifier - The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on the managed partner event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus.
- pattern string
- A filter pattern, as a JSON string, that defines which events from the specified partner event source are forwarded to the event bus. If you do not specify a pattern, all events from the partner event source are forwarded.
- partner_
event_ strsource_ arn - The ARN of the partner event source to forward. The partner owns the event source, so the ARN's account segment is empty. Changing this property replaces the event source. Because Name and EventBusArn together identify an event source, and the replacement is created before the old resource is deleted, change Name in the same update.
- on_
failure_ Eventconfiguration Source On Failure Configuration - The destination for events that could not be forwarded, covering both the forwarding target and the managed partner event bus.
- partner_
bus_ strkms_ key_ identifier - The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on the managed partner event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus.
- pattern str
- A filter pattern, as a JSON string, that defines which events from the specified partner event source are forwarded to the event bus. If you do not specify a pattern, all events from the partner event source are forwarded.
- partner
Event StringSource Arn - The ARN of the partner event source to forward. The partner owns the event source, so the ARN's account segment is empty. Changing this property replaces the event source. Because Name and EventBusArn together identify an event source, and the replacement is created before the old resource is deleted, change Name in the same update.
- on
Failure Property MapConfiguration - The destination for events that could not be forwarded, covering both the forwarding target and the managed partner event bus.
- partner
Bus StringKms Key Identifier - The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on the managed partner event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus.
- pattern String
- A filter pattern, as a JSON string, that defines which events from the specified partner event source are forwarded to the event bus. If you do not specify a pattern, all events from the partner event source are forwarded.
EventSourceState
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi