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.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.securitylake.getAwsLogSource

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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>
    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]
    func LookupAwsLogSource(ctx *Context, args *LookupAwsLogSourceArgs, opts ...InvokeOption) (*LookupAwsLogSourceResult, error)
    func LookupAwsLogSourceOutput(ctx *Context, args *LookupAwsLogSourceOutputArgs, opts ...InvokeOption) LookupAwsLogSourceResultOutput

    > 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)
    }
    public static CompletableFuture<GetAwsLogSourceResult> getAwsLogSource(GetAwsLogSourceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:securitylake:getAwsLogSource
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SourceName string
    The name for a AWS source. This must be a Regionally unique value.
    SourceVersion string
    The version for a AWS source. This must be a Regionally unique value.
    SourceName string
    The name for a AWS source. This must be a Regionally unique value.
    SourceVersion string
    The version for a AWS source. This must be a Regionally unique value.
    sourceName String
    The name for a AWS source. This must be a Regionally unique value.
    sourceVersion String
    The version for a AWS source. This must be a Regionally unique value.
    sourceName string
    The name for a AWS source. This must be a Regionally unique value.
    sourceVersion string
    The version for a AWS source. This must be a Regionally unique value.
    source_name str
    The name for a AWS source. This must be a Regionally unique value.
    source_version str
    The version for a AWS source. This must be a Regionally unique value.
    sourceName String
    The name for a AWS source. This must be a Regionally unique value.
    sourceVersion 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
    aws-native logo

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi