Skip to main content

Aws/events

@swamp/aws/eventsv2026.06.15.1· 1d agoMODELS
01README

AWS EVENTS infrastructure models

02Release Notes
  • Updated: api_destination, archive, connection, endpoint, event_bus, event_bus_policy, rule
03Models7
@swamp/aws/events/api-destinationv2026.06.15.1api_destination.ts

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Name?stringName of the apiDestination.
Description?string
ConnectionArnstringThe arn of the connection.
InvocationRateLimitPerSecond?number
InvocationEndpointstring
HttpMethodenum
fn create()
Create a Events ApiDestination
fn get(identifier: string)
Get a Events ApiDestination
ArgumentTypeDescription
identifierstringThe primary identifier of the Events ApiDestination
fn update()
Update a Events ApiDestination
fn delete(identifier: string)
Delete a Events ApiDestination
ArgumentTypeDescription
identifierstringThe primary identifier of the Events ApiDestination
fn sync()
Sync Events ApiDestination state from AWS

Resources

state(infinite)— Events ApiDestination resource state
@swamp/aws/events/archivev2026.06.15.1archive.ts

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ArchiveName?string
SourceArnstring
Description?string
EventPattern?record
RetentionDays?number
KmsKeyIdentifier?string
fn create()
Create a Events Archive
fn get(identifier: string)
Get a Events Archive
ArgumentTypeDescription
identifierstringThe primary identifier of the Events Archive
fn update()
Update a Events Archive
fn delete(identifier: string)
Delete a Events Archive
ArgumentTypeDescription
identifierstringThe primary identifier of the Events Archive
fn sync()
Sync Events Archive state from AWS

Resources

state(infinite)— Events Archive resource state
@swamp/aws/events/connectionv2026.06.15.1connection.ts

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Name?stringName of the connection.
Description?stringDescription of the connection.
AuthorizationType?enum
AuthParameters?object
InvocationConnectivityParameters?objectThe private resource the HTTP request will be sent to.
KmsKeyIdentifier?string
fn create()
Create a Events Connection
fn get(identifier: string)
Get a Events Connection
ArgumentTypeDescription
identifierstringThe primary identifier of the Events Connection
fn update()
Update a Events Connection
fn delete(identifier: string)
Delete a Events Connection
ArgumentTypeDescription
identifierstringThe primary identifier of the Events Connection
fn sync()
Sync Events Connection state from AWS

Resources

state(infinite)— Events Connection resource state
@swamp/aws/events/endpointv2026.06.15.1endpoint.ts

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Name?string
RoleArn?string
Description?string
RoutingConfigobject
EventBusesarray
fn create()
Create a Events Endpoint
fn get(identifier: string)
Get a Events Endpoint
ArgumentTypeDescription
identifierstringThe primary identifier of the Events Endpoint
fn update()
Update a Events Endpoint
fn delete(identifier: string)
Delete a Events Endpoint
ArgumentTypeDescription
identifierstringThe primary identifier of the Events Endpoint
fn sync()
Sync Events Endpoint state from AWS

Resources

state(infinite)— Events Endpoint resource state
@swamp/aws/events/event-busv2026.06.15.1event_bus.ts

Global Arguments

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
EventSourceName?stringIf you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
NamestringThe name of the event bus.
Tags?arrayAny tags assigned to the event bus.
Description?stringThe description of the event bus.
KmsKeyIdentifier?stringKms Key Identifier used to encrypt events at rest in the event bus.
Policy?recordA JSON string that describes the permission policy statement for the event bus.
LogConfig?objectThe logging configuration settings for vended logs.
fn create()
Create a Events EventBus
fn get(identifier: string)
Get a Events EventBus
ArgumentTypeDescription
identifierstringThe primary identifier of the Events EventBus
fn update()
Update a Events EventBus
fn delete(identifier: string)
Delete a Events EventBus
ArgumentTypeDescription
identifierstringThe primary identifier of the Events EventBus
fn sync()
Sync Events EventBus state from AWS

Resources

state(infinite)— Events EventBus resource state
@swamp/aws/events/event-bus-policyv2026.06.15.1event_bus_policy.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
EventBusName?stringThe name of the event bus associated with the rule. If you omit this, the default event bus is used.
Condition?objectThis parameter enables you to limit the permission to accounts that fulfill a certain condition, such as being a member of a certain AWS organization.
Action?stringThe action that you are enabling the other account to perform.
StatementIdstringAn identifier string for the external account that you are granting permissions to
Statement?recordA JSON string that describes the permission policy statement. You can include a Policy parameter in the request instead of using the StatementId, Action, Principal, or Condition parameters.
Principal?stringThe 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify "*" to permit any account to put events to your default event bus.
fn create()
Create a Events EventBusPolicy
fn get(identifier: string)
Get a Events EventBusPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Events EventBusPolicy
fn update()
Update a Events EventBusPolicy
fn delete(identifier: string)
Delete a Events EventBusPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Events EventBusPolicy
fn sync()
Sync Events EventBusPolicy state from AWS

Resources

state(infinite)— Events EventBusPolicy resource state
@swamp/aws/events/rulev2026.06.15.1rule.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
EventBusName?stringThe name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
EventPattern?recordThe event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
ScheduleExpression?stringThe scheduling expression. For example, "cron(0 20 * *? *)", "rate(5 minutes)". For more information, see Creating an Amazon EventBridge rule that runs on a schedule.
Description?stringThe description of the rule.
State?enumThe state of the rule.
Targets?arrayAdds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered.
RoleArn?stringThe Amazon Resource Name (ARN) of the role that is used for target invocation.
Tags?arrayAny tags assigned to the event rule.
Name?stringThe name of the rule.
fn create()
Create a Events Rule
fn get(identifier: string)
Get a Events Rule
ArgumentTypeDescription
identifierstringThe primary identifier of the Events Rule
fn update()
Update a Events Rule
fn delete(identifier: string)
Delete a Events Rule
ArgumentTypeDescription
identifierstringThe primary identifier of the Events Rule
fn sync()
Sync Events Rule state from AWS

Resources

state(infinite)— Events Rule resource state
04Previous Versions9
2026.06.08.2Jun 8, 2026
  • Updated: api_destination, archive, connection, endpoint, event_bus, event_bus_policy, rule
2026.06.06.1Jun 6, 2026
  • Updated: api_destination, archive, connection, endpoint, event_bus, event_bus_policy, rule
2026.05.27.1May 27, 2026
  • Updated: archive, event_bus, event_bus_policy, rule
2026.05.19.1May 18, 2026
2026.04.23.3Apr 23, 2026
2026.04.03.2Apr 3, 2026
  • Updated: api_destination, archive, connection, endpoint, event_bus, event_bus_policy, rule
2026.03.19.1Mar 19, 2026
  • Updated: api_destination, archive, connection, endpoint, event_bus, event_bus_policy, rule
2026.03.16.1Mar 16, 2026
  • Updated: api_destination, archive, connection, endpoint, event_bus, event_bus_policy, rule
2026.03.10.5Mar 10, 2026
05Stats
B
85 / 100
Downloads
2
Archive size
1.6 MB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit0/2missing
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels