Data Source: oci_bastion_sessions

This data source provides the list of Sessions in Oracle Cloud Infrastructure Bastion service.

Retrieves a list of SessionSummary objects for an existing bastion. Bastion sessions let authorized users connect to a target resource for a predetermined amount of time.

Example Usage

data "oci_bastion_sessions" "test_sessions" {
	#Required
	bastion_id = oci_bastion_bastion.test_bastion.id

	#Optional
	display_name = var.session_display_name
	session_id = oci_bastion_session.test_session.id
	session_lifecycle_state = var.session_session_lifecycle_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Session Reference

The following attributes are exported: