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 type definition for AWS::EventsV2::EventBus, an Amazon EventBridge custom event bus that receives events and delivers them to matching subscribers.
Using getEventBus
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 getEventBus(args: GetEventBusArgs, opts?: InvokeOptions): Promise<GetEventBusResult>
function getEventBusOutput(args: GetEventBusOutputArgs, opts?: InvokeOutputOptions): Output<GetEventBusResult>def get_event_bus(event_bus_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventBusResult
def get_event_bus_output(event_bus_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetEventBusResult]func LookupEventBus(ctx *Context, args *LookupEventBusArgs, opts ...InvokeOption) (*LookupEventBusResult, error)
func LookupEventBusOutput(ctx *Context, args *LookupEventBusOutputArgs, opts ...InvokeOption) LookupEventBusResultOutput> Note: This function is named LookupEventBus in the Go SDK.
public static class GetEventBus
{
public static Task<GetEventBusResult> InvokeAsync(GetEventBusArgs args, InvokeOptions? opts = null)
public static Output<GetEventBusResult> Invoke(GetEventBusInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetEventBusResult> Invoke(GetEventBusInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetEventBusResult> getEventBus(GetEventBusArgs args, InvokeOptions options)
public static Output<GetEventBusResult> getEventBus(GetEventBusArgs args, InvokeOptions options)
public static Output<GetEventBusResult> getEventBus(GetEventBusArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:eventsv2:getEventBus
arguments:
# arguments dictionarydata "aws-native_eventsv2_get_event_bus" "name" {
# arguments
}The following arguments are supported:
- Event
Bus stringArn - The Amazon Resource Name (ARN) of the event bus.
- Event
Bus stringArn - The Amazon Resource Name (ARN) of the event bus.
- event_
bus_ stringarn - The Amazon Resource Name (ARN) of the event bus.
- event
Bus StringArn - The Amazon Resource Name (ARN) of the event bus.
- event
Bus stringArn - The Amazon Resource Name (ARN) of the event bus.
- event_
bus_ strarn - The Amazon Resource Name (ARN) of the event bus.
- event
Bus StringArn - The Amazon Resource Name (ARN) of the event bus.
getEventBus Result
The following output properties are available:
- Creation
Time string - The time the event bus was created, as an ISO 8601 timestamp.
- Description string
- A description of the event bus. Control characters and Unicode line separators are not allowed.
- Encryption
Configuration Pulumi.Aws Native. Events V2. Outputs. Event Bus Encryption Configuration - Encryption configuration for the event bus. The service stores and returns the customer managed key as its key ARN. The key ARN is recommended so that drift detection stays accurate. A key ID is also accepted and is matched to the returned key ARN when CloudFormation checks for drift; a key alias is accepted but can be reported as a value difference, because an alias cannot be matched to the key ARN it points to.
- Event
Bus stringArn - The Amazon Resource Name (ARN) of the event bus.
- Last
Modified stringTime - The time the event bus was last modified, as an ISO 8601 timestamp.
- State
Pulumi.
Aws Native. Events V2. Event Bus State - The lifecycle state of the event bus. The settled operational state is ACTIVE.
- Storage
Configuration Pulumi.Aws Native. Events V2. Outputs. Event Bus Storage Configuration - The event storage configuration for the event bus, which controls the number of days events are retained on the bus.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags assigned to the event bus.
- Creation
Time string - The time the event bus was created, as an ISO 8601 timestamp.
- Description string
- A description of the event bus. Control characters and Unicode line separators are not allowed.
- Encryption
Configuration EventBus Encryption Configuration - Encryption configuration for the event bus. The service stores and returns the customer managed key as its key ARN. The key ARN is recommended so that drift detection stays accurate. A key ID is also accepted and is matched to the returned key ARN when CloudFormation checks for drift; a key alias is accepted but can be reported as a value difference, because an alias cannot be matched to the key ARN it points to.
- Event
Bus stringArn - The Amazon Resource Name (ARN) of the event bus.
- Last
Modified stringTime - The time the event bus was last modified, as an ISO 8601 timestamp.
- State
Event
Bus State Enum - The lifecycle state of the event bus. The settled operational state is ACTIVE.
- Storage
Configuration EventBus Storage Configuration - The event storage configuration for the event bus, which controls the number of days events are retained on the bus.
- Tag
- The tags assigned to the event bus.
- creation_
time string - The time the event bus was created, as an ISO 8601 timestamp.
- description string
- A description of the event bus. Control characters and Unicode line separators are not allowed.
- encryption_
configuration object - Encryption configuration for the event bus. The service stores and returns the customer managed key as its key ARN. The key ARN is recommended so that drift detection stays accurate. A key ID is also accepted and is matched to the returned key ARN when CloudFormation checks for drift; a key alias is accepted but can be reported as a value difference, because an alias cannot be matched to the key ARN it points to.
- event_
bus_ stringarn - The Amazon Resource Name (ARN) of the event bus.
- last_
modified_ stringtime - The time the event bus was last modified, as an ISO 8601 timestamp.
- state "CREATING" | "ACTIVE" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "DELETING"
- The lifecycle state of the event bus. The settled operational state is ACTIVE.
- storage_
configuration object - The event storage configuration for the event bus, which controls the number of days events are retained on the bus.
- list(object)
- The tags assigned to the event bus.
- creation
Time String - The time the event bus was created, as an ISO 8601 timestamp.
- description String
- A description of the event bus. Control characters and Unicode line separators are not allowed.
- encryption
Configuration EventBus Encryption Configuration - Encryption configuration for the event bus. The service stores and returns the customer managed key as its key ARN. The key ARN is recommended so that drift detection stays accurate. A key ID is also accepted and is matched to the returned key ARN when CloudFormation checks for drift; a key alias is accepted but can be reported as a value difference, because an alias cannot be matched to the key ARN it points to.
- event
Bus StringArn - The Amazon Resource Name (ARN) of the event bus.
- last
Modified StringTime - The time the event bus was last modified, as an ISO 8601 timestamp.
- state
Event
Bus State - The lifecycle state of the event bus. The settled operational state is ACTIVE.
- storage
Configuration EventBus Storage Configuration - The event storage configuration for the event bus, which controls the number of days events are retained on the bus.
- List<Tag>
- The tags assigned to the event bus.
- creation
Time string - The time the event bus was created, as an ISO 8601 timestamp.
- description string
- A description of the event bus. Control characters and Unicode line separators are not allowed.
- encryption
Configuration EventBus Encryption Configuration - Encryption configuration for the event bus. The service stores and returns the customer managed key as its key ARN. The key ARN is recommended so that drift detection stays accurate. A key ID is also accepted and is matched to the returned key ARN when CloudFormation checks for drift; a key alias is accepted but can be reported as a value difference, because an alias cannot be matched to the key ARN it points to.
- event
Bus stringArn - The Amazon Resource Name (ARN) of the event bus.
- last
Modified stringTime - The time the event bus was last modified, as an ISO 8601 timestamp.
- state
Event
Bus State - The lifecycle state of the event bus. The settled operational state is ACTIVE.
- storage
Configuration EventBus Storage Configuration - The event storage configuration for the event bus, which controls the number of days events are retained on the bus.
- Tag[]
- The tags assigned to the event bus.
- creation_
time str - The time the event bus was created, as an ISO 8601 timestamp.
- description str
- A description of the event bus. Control characters and Unicode line separators are not allowed.
- encryption_
configuration EventBus Encryption Configuration - Encryption configuration for the event bus. The service stores and returns the customer managed key as its key ARN. The key ARN is recommended so that drift detection stays accurate. A key ID is also accepted and is matched to the returned key ARN when CloudFormation checks for drift; a key alias is accepted but can be reported as a value difference, because an alias cannot be matched to the key ARN it points to.
- event_
bus_ strarn - The Amazon Resource Name (ARN) of the event bus.
- last_
modified_ strtime - The time the event bus was last modified, as an ISO 8601 timestamp.
- state
Event
Bus State - The lifecycle state of the event bus. The settled operational state is ACTIVE.
- storage_
configuration EventBus Storage Configuration - The event storage configuration for the event bus, which controls the number of days events are retained on the bus.
- Sequence[root_Tag]
- The tags assigned to the event bus.
- creation
Time String - The time the event bus was created, as an ISO 8601 timestamp.
- description String
- A description of the event bus. Control characters and Unicode line separators are not allowed.
- encryption
Configuration Property Map - Encryption configuration for the event bus. The service stores and returns the customer managed key as its key ARN. The key ARN is recommended so that drift detection stays accurate. A key ID is also accepted and is matched to the returned key ARN when CloudFormation checks for drift; a key alias is accepted but can be reported as a value difference, because an alias cannot be matched to the key ARN it points to.
- event
Bus StringArn - The Amazon Resource Name (ARN) of the event bus.
- last
Modified StringTime - The time the event bus was last modified, as an ISO 8601 timestamp.
- state "CREATING" | "ACTIVE" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "DELETING"
- The lifecycle state of the event bus. The settled operational state is ACTIVE.
- storage
Configuration Property Map - The event storage configuration for the event bus, which controls the number of days events are retained on the bus.
- List<Property Map>
- The tags assigned to the event bus.
Supporting Types
EventBusEncryptionConfiguration
- Kms
Key stringIdentifier - The identifier of the AWS KMS customer managed key that the event bus uses to encrypt events. You can specify the key ARN, key ID, alias name, or alias ARN. If you do not specify a key, EventBridge uses an AWS owned key.
- Kms
Key stringIdentifier - The identifier of the AWS KMS customer managed key that the event bus uses to encrypt events. You can specify the key ARN, key ID, alias name, or alias ARN. If you do not specify a key, EventBridge uses an AWS owned key.
- kms_
key_ stringidentifier - The identifier of the AWS KMS customer managed key that the event bus uses to encrypt events. You can specify the key ARN, key ID, alias name, or alias ARN. If you do not specify a key, EventBridge uses an AWS owned key.
- kms
Key StringIdentifier - The identifier of the AWS KMS customer managed key that the event bus uses to encrypt events. You can specify the key ARN, key ID, alias name, or alias ARN. If you do not specify a key, EventBridge uses an AWS owned key.
- kms
Key stringIdentifier - The identifier of the AWS KMS customer managed key that the event bus uses to encrypt events. You can specify the key ARN, key ID, alias name, or alias ARN. If you do not specify a key, EventBridge uses an AWS owned key.
- kms_
key_ stridentifier - The identifier of the AWS KMS customer managed key that the event bus uses to encrypt events. You can specify the key ARN, key ID, alias name, or alias ARN. If you do not specify a key, EventBridge uses an AWS owned key.
- kms
Key StringIdentifier - The identifier of the AWS KMS customer managed key that the event bus uses to encrypt events. You can specify the key ARN, key ID, alias name, or alias ARN. If you do not specify a key, EventBridge uses an AWS owned key.
EventBusState
EventBusStorageConfiguration
- Retention
Period intIn Days - The number of days events are retained on the event bus for replay, 1-365.
- Retention
Period intIn Days - The number of days events are retained on the event bus for replay, 1-365.
- retention_
period_ numberin_ days - The number of days events are retained on the event bus for replay, 1-365.
- retention
Period IntegerIn Days - The number of days events are retained on the event bus for replay, 1-365.
- retention
Period numberIn Days - The number of days events are retained on the event bus for replay, 1-365.
- retention_
period_ intin_ days - The number of days events are retained on the event bus for replay, 1-365.
- retention
Period NumberIn Days - The number of days events are retained on the event bus for replay, 1-365.
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