Okta v4.11.3 published on Monday, Oct 21, 2024 by Pulumi
okta.getLogStream
Explore with Pulumi AI
Log Streams
Using getLogStream
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 getLogStream(args: GetLogStreamArgs, opts?: InvokeOptions): Promise<GetLogStreamResult>
function getLogStreamOutput(args: GetLogStreamOutputArgs, opts?: InvokeOptions): Output<GetLogStreamResult>
def get_log_stream(id: Optional[str] = None,
name: Optional[str] = None,
settings: Optional[GetLogStreamSettings] = None,
opts: Optional[InvokeOptions] = None) -> GetLogStreamResult
def get_log_stream_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
settings: Optional[pulumi.Input[GetLogStreamSettingsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogStreamResult]
func LookupLogStream(ctx *Context, args *LookupLogStreamArgs, opts ...InvokeOption) (*LookupLogStreamResult, error)
func LookupLogStreamOutput(ctx *Context, args *LookupLogStreamOutputArgs, opts ...InvokeOption) LookupLogStreamResultOutput
> Note: This function is named LookupLogStream
in the Go SDK.
public static class GetLogStream
{
public static Task<GetLogStreamResult> InvokeAsync(GetLogStreamArgs args, InvokeOptions? opts = null)
public static Output<GetLogStreamResult> Invoke(GetLogStreamInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLogStreamResult> getLogStream(GetLogStreamArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: okta:index/getLogStream:getLogStream
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- ID of the log stream to retrieve, conflicts with
name
. - Name string
- Unique name for the Log Stream object, conflicts with
id
. - Settings
Get
Log Stream Settings
- Id string
- ID of the log stream to retrieve, conflicts with
name
. - Name string
- Unique name for the Log Stream object, conflicts with
id
. - Settings
Get
Log Stream Settings
- id String
- ID of the log stream to retrieve, conflicts with
name
. - name String
- Unique name for the Log Stream object, conflicts with
id
. - settings
Get
Log Stream Settings
- id string
- ID of the log stream to retrieve, conflicts with
name
. - name string
- Unique name for the Log Stream object, conflicts with
id
. - settings
Get
Log Stream Settings
- id str
- ID of the log stream to retrieve, conflicts with
name
. - name str
- Unique name for the Log Stream object, conflicts with
id
. - settings
Get
Log Stream Settings
- id String
- ID of the log stream to retrieve, conflicts with
name
. - name String
- Unique name for the Log Stream object, conflicts with
id
. - settings Property Map
getLogStream Result
The following output properties are available:
- Status string
- Log Stream Status - can either be ACTIVE or INACTIVE only
- Type string
- Streaming provider used - awseventbridge or splunkcloud_logstreaming
- Id string
- ID of the log stream to retrieve, conflicts with
name
. - Name string
- Unique name for the Log Stream object, conflicts with
id
. - Settings
Get
Log Stream Settings
- Status string
- Log Stream Status - can either be ACTIVE or INACTIVE only
- Type string
- Streaming provider used - awseventbridge or splunkcloud_logstreaming
- Id string
- ID of the log stream to retrieve, conflicts with
name
. - Name string
- Unique name for the Log Stream object, conflicts with
id
. - Settings
Get
Log Stream Settings
- status String
- Log Stream Status - can either be ACTIVE or INACTIVE only
- type String
- Streaming provider used - awseventbridge or splunkcloud_logstreaming
- id String
- ID of the log stream to retrieve, conflicts with
name
. - name String
- Unique name for the Log Stream object, conflicts with
id
. - settings
Get
Log Stream Settings
- status string
- Log Stream Status - can either be ACTIVE or INACTIVE only
- type string
- Streaming provider used - awseventbridge or splunkcloud_logstreaming
- id string
- ID of the log stream to retrieve, conflicts with
name
. - name string
- Unique name for the Log Stream object, conflicts with
id
. - settings
Get
Log Stream Settings
- status String
- Log Stream Status - can either be ACTIVE or INACTIVE only
- type String
- Streaming provider used - awseventbridge or splunkcloud_logstreaming
- id String
- ID of the log stream to retrieve, conflicts with
name
. - name String
- Unique name for the Log Stream object, conflicts with
id
. - settings Property Map
Supporting Types
GetLogStreamSettings
- Account
Id string - AWS account ID. Required only for 'aws_eventbridge' type
- Edition string
- Edition of the Splunk Cloud instance. Could be one of: 'aws', 'awsgovcloud', 'gcp'. Required only for 'splunkcloud_logstreaming' type
- Event
Source stringName - An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type
- Host string
- The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunkcloudlogstreaming' type
- Region string
- The destination AWS region where event source is located. Required only for 'aws_eventbridge' type
- Token string
- The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunkcloudlogstreaming' type
- Account
Id string - AWS account ID. Required only for 'aws_eventbridge' type
- Edition string
- Edition of the Splunk Cloud instance. Could be one of: 'aws', 'awsgovcloud', 'gcp'. Required only for 'splunkcloud_logstreaming' type
- Event
Source stringName - An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type
- Host string
- The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunkcloudlogstreaming' type
- Region string
- The destination AWS region where event source is located. Required only for 'aws_eventbridge' type
- Token string
- The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunkcloudlogstreaming' type
- account
Id String - AWS account ID. Required only for 'aws_eventbridge' type
- edition String
- Edition of the Splunk Cloud instance. Could be one of: 'aws', 'awsgovcloud', 'gcp'. Required only for 'splunkcloud_logstreaming' type
- event
Source StringName - An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type
- host String
- The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunkcloudlogstreaming' type
- region String
- The destination AWS region where event source is located. Required only for 'aws_eventbridge' type
- token String
- The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunkcloudlogstreaming' type
- account
Id string - AWS account ID. Required only for 'aws_eventbridge' type
- edition string
- Edition of the Splunk Cloud instance. Could be one of: 'aws', 'awsgovcloud', 'gcp'. Required only for 'splunkcloud_logstreaming' type
- event
Source stringName - An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type
- host string
- The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunkcloudlogstreaming' type
- region string
- The destination AWS region where event source is located. Required only for 'aws_eventbridge' type
- token string
- The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunkcloudlogstreaming' type
- account_
id str - AWS account ID. Required only for 'aws_eventbridge' type
- edition str
- Edition of the Splunk Cloud instance. Could be one of: 'aws', 'awsgovcloud', 'gcp'. Required only for 'splunkcloud_logstreaming' type
- event_
source_ strname - An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type
- host str
- The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunkcloudlogstreaming' type
- region str
- The destination AWS region where event source is located. Required only for 'aws_eventbridge' type
- token str
- The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunkcloudlogstreaming' type
- account
Id String - AWS account ID. Required only for 'aws_eventbridge' type
- edition String
- Edition of the Splunk Cloud instance. Could be one of: 'aws', 'awsgovcloud', 'gcp'. Required only for 'splunkcloud_logstreaming' type
- event
Source StringName - An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type
- host String
- The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunkcloudlogstreaming' type
- region String
- The destination AWS region where event source is located. Required only for 'aws_eventbridge' type
- token String
- The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunkcloudlogstreaming' type
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.