1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. securitylake
  5. getAwsLogSource

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.securitylake.getAwsLogSource

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Resource Type definition for AWS::SecurityLake::AwsLogSource

Using getAwsLogSource

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 getAwsLogSource(args: GetAwsLogSourceArgs, opts?: InvokeOptions): Promise<GetAwsLogSourceResult>
function getAwsLogSourceOutput(args: GetAwsLogSourceOutputArgs, opts?: InvokeOptions): Output<GetAwsLogSourceResult>
Copy
def get_aws_log_source(source_name: Optional[str] = None,
                       source_version: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetAwsLogSourceResult
def get_aws_log_source_output(source_name: Optional[pulumi.Input[str]] = None,
                       source_version: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetAwsLogSourceResult]
Copy
func LookupAwsLogSource(ctx *Context, args *LookupAwsLogSourceArgs, opts ...InvokeOption) (*LookupAwsLogSourceResult, error)
func LookupAwsLogSourceOutput(ctx *Context, args *LookupAwsLogSourceOutputArgs, opts ...InvokeOption) LookupAwsLogSourceResultOutput
Copy

> Note: This function is named LookupAwsLogSource in the Go SDK.

public static class GetAwsLogSource 
{
    public static Task<GetAwsLogSourceResult> InvokeAsync(GetAwsLogSourceArgs args, InvokeOptions? opts = null)
    public static Output<GetAwsLogSourceResult> Invoke(GetAwsLogSourceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAwsLogSourceResult> getAwsLogSource(GetAwsLogSourceArgs args, InvokeOptions options)
public static Output<GetAwsLogSourceResult> getAwsLogSource(GetAwsLogSourceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:securitylake:getAwsLogSource
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

SourceName This property is required. string
The name for a AWS source. This must be a Regionally unique value.
SourceVersion This property is required. string
The version for a AWS source. This must be a Regionally unique value.
SourceName This property is required. string
The name for a AWS source. This must be a Regionally unique value.
SourceVersion This property is required. string
The version for a AWS source. This must be a Regionally unique value.
sourceName This property is required. String
The name for a AWS source. This must be a Regionally unique value.
sourceVersion This property is required. String
The version for a AWS source. This must be a Regionally unique value.
sourceName This property is required. string
The name for a AWS source. This must be a Regionally unique value.
sourceVersion This property is required. string
The version for a AWS source. This must be a Regionally unique value.
source_name This property is required. str
The name for a AWS source. This must be a Regionally unique value.
source_version This property is required. str
The version for a AWS source. This must be a Regionally unique value.
sourceName This property is required. String
The name for a AWS source. This must be a Regionally unique value.
sourceVersion This property is required. String
The version for a AWS source. This must be a Regionally unique value.

getAwsLogSource Result

The following output properties are available:

Accounts List<string>
AWS account where you want to collect logs from.
Accounts []string
AWS account where you want to collect logs from.
accounts List<String>
AWS account where you want to collect logs from.
accounts string[]
AWS account where you want to collect logs from.
accounts Sequence[str]
AWS account where you want to collect logs from.
accounts List<String>
AWS account where you want to collect logs from.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi