Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi
cloudngfwaws.getNgfwLogProfile
Explore with Pulumi AI
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi
Data source for retrieving log profile information.
Admin Permission Type
Firewall
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudngfwaws from "@pulumi/cloudngfwaws";
const example = cloudngfwaws.getNgfwLogProfile({
ngfw: "example-instance",
accountId: "123456789",
});
import pulumi
import pulumi_cloudngfwaws as cloudngfwaws
example = cloudngfwaws.get_ngfw_log_profile(ngfw="example-instance",
account_id="123456789")
package main
import (
"github.com/pulumi/pulumi-cloudngfwaws/sdk/go/cloudngfwaws"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudngfwaws.LookupNgfwLogProfile(ctx, &cloudngfwaws.LookupNgfwLogProfileArgs{
Ngfw: "example-instance",
AccountId: "123456789",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using CloudNgfwAws = Pulumi.CloudNgfwAws;
return await Deployment.RunAsync(() =>
{
var example = CloudNgfwAws.GetNgfwLogProfile.Invoke(new()
{
Ngfw = "example-instance",
AccountId = "123456789",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudngfwaws.CloudngfwawsFunctions;
import com.pulumi.cloudngfwaws.inputs.GetNgfwLogProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = CloudngfwawsFunctions.getNgfwLogProfile(GetNgfwLogProfileArgs.builder()
.ngfw("example-instance")
.accountId("123456789")
.build());
}
}
variables:
example:
fn::invoke:
Function: cloudngfwaws:getNgfwLogProfile
Arguments:
ngfw: example-instance
accountId: '123456789'
Using getNgfwLogProfile
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 getNgfwLogProfile(args: GetNgfwLogProfileArgs, opts?: InvokeOptions): Promise<GetNgfwLogProfileResult>
function getNgfwLogProfileOutput(args: GetNgfwLogProfileOutputArgs, opts?: InvokeOptions): Output<GetNgfwLogProfileResult>
def get_ngfw_log_profile(account_id: Optional[str] = None,
ngfw: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNgfwLogProfileResult
def get_ngfw_log_profile_output(account_id: Optional[pulumi.Input[str]] = None,
ngfw: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNgfwLogProfileResult]
func LookupNgfwLogProfile(ctx *Context, args *LookupNgfwLogProfileArgs, opts ...InvokeOption) (*LookupNgfwLogProfileResult, error)
func LookupNgfwLogProfileOutput(ctx *Context, args *LookupNgfwLogProfileOutputArgs, opts ...InvokeOption) LookupNgfwLogProfileResultOutput
> Note: This function is named LookupNgfwLogProfile
in the Go SDK.
public static class GetNgfwLogProfile
{
public static Task<GetNgfwLogProfileResult> InvokeAsync(GetNgfwLogProfileArgs args, InvokeOptions? opts = null)
public static Output<GetNgfwLogProfileResult> Invoke(GetNgfwLogProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNgfwLogProfileResult> getNgfwLogProfile(GetNgfwLogProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cloudngfwaws:index/getNgfwLogProfile:getNgfwLogProfile
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id str - The unique ID of the account.
- ngfw str
- The name of the NGFW.
getNgfwLogProfile Result
The following output properties are available:
- Account
Id string - The unique ID of the account.
- Advanced
Threat boolLog - Enable advanced threat logging.
- Cloud
Watch stringMetric Namespace - The CloudWatch metric namespace.
- Cloudwatch
Metric List<string>Fields - Cloudwatch metric fields.
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Destinations List<Pulumi.Cloud Ngfw Aws. Outputs. Get Ngfw Log Profile Log Destination> - List of log destinations.
- Ngfw string
- The name of the NGFW.
- Account
Id string - The unique ID of the account.
- Advanced
Threat boolLog - Enable advanced threat logging.
- Cloud
Watch stringMetric Namespace - The CloudWatch metric namespace.
- Cloudwatch
Metric []stringFields - Cloudwatch metric fields.
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Destinations []GetNgfw Log Profile Log Destination - List of log destinations.
- Ngfw string
- The name of the NGFW.
- account
Id String - The unique ID of the account.
- advanced
Threat BooleanLog - Enable advanced threat logging.
- cloud
Watch StringMetric Namespace - The CloudWatch metric namespace.
- cloudwatch
Metric List<String>Fields - Cloudwatch metric fields.
- id String
- The provider-assigned unique ID for this managed resource.
- log
Destinations List<GetNgfw Log Profile Log Destination> - List of log destinations.
- ngfw String
- The name of the NGFW.
- account
Id string - The unique ID of the account.
- advanced
Threat booleanLog - Enable advanced threat logging.
- cloud
Watch stringMetric Namespace - The CloudWatch metric namespace.
- cloudwatch
Metric string[]Fields - Cloudwatch metric fields.
- id string
- The provider-assigned unique ID for this managed resource.
- log
Destinations GetNgfw Log Profile Log Destination[] - List of log destinations.
- ngfw string
- The name of the NGFW.
- account_
id str - The unique ID of the account.
- advanced_
threat_ boollog - Enable advanced threat logging.
- cloud_
watch_ strmetric_ namespace - The CloudWatch metric namespace.
- cloudwatch_
metric_ Sequence[str]fields - Cloudwatch metric fields.
- id str
- The provider-assigned unique ID for this managed resource.
- log_
destinations Sequence[GetNgfw Log Profile Log Destination] - List of log destinations.
- ngfw str
- The name of the NGFW.
- account
Id String - The unique ID of the account.
- advanced
Threat BooleanLog - Enable advanced threat logging.
- cloud
Watch StringMetric Namespace - The CloudWatch metric namespace.
- cloudwatch
Metric List<String>Fields - Cloudwatch metric fields.
- id String
- The provider-assigned unique ID for this managed resource.
- log
Destinations List<Property Map> - List of log destinations.
- ngfw String
- The name of the NGFW.
Supporting Types
GetNgfwLogProfileLogDestination
- Destination string
- The log destination details.
- Destination
Type string - The log destination type. Valid values are
S3
,CloudWatchLogs
, orKinesisDataFirehose
. - Log
Type string - The type of logs. Valid values are
TRAFFIC
,THREAT
, orDECRYPTION
.
- Destination string
- The log destination details.
- Destination
Type string - The log destination type. Valid values are
S3
,CloudWatchLogs
, orKinesisDataFirehose
. - Log
Type string - The type of logs. Valid values are
TRAFFIC
,THREAT
, orDECRYPTION
.
- destination String
- The log destination details.
- destination
Type String - The log destination type. Valid values are
S3
,CloudWatchLogs
, orKinesisDataFirehose
. - log
Type String - The type of logs. Valid values are
TRAFFIC
,THREAT
, orDECRYPTION
.
- destination string
- The log destination details.
- destination
Type string - The log destination type. Valid values are
S3
,CloudWatchLogs
, orKinesisDataFirehose
. - log
Type string - The type of logs. Valid values are
TRAFFIC
,THREAT
, orDECRYPTION
.
- destination str
- The log destination details.
- destination_
type str - The log destination type. Valid values are
S3
,CloudWatchLogs
, orKinesisDataFirehose
. - log_
type str - The type of logs. Valid values are
TRAFFIC
,THREAT
, orDECRYPTION
.
- destination String
- The log destination details.
- destination
Type String - The log destination type. Valid values are
S3
,CloudWatchLogs
, orKinesisDataFirehose
. - log
Type String - The type of logs. Valid values are
TRAFFIC
,THREAT
, orDECRYPTION
.
Package Details
- Repository
- cloudngfwaws pulumi/pulumi-cloudngfwaws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudngfwaws
Terraform Provider.
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi