Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi
cloudngfwaws.getRulestack
Explore with Pulumi AI
Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi
Data source for retrieving rulestack information.
Admin Permission Type
- Rulestack(for- scope="Local")
- Global Rulestack(for- scope="Global")
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudngfwaws from "@pulumi/cloudngfwaws";
const example = cloudngfwaws.getRulestack({
    name: "my-rulestack-name",
});
import pulumi
import pulumi_cloudngfwaws as cloudngfwaws
example = cloudngfwaws.get_rulestack(name="my-rulestack-name")
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.LookupRulestack(ctx, &cloudngfwaws.LookupRulestackArgs{
			Name: "my-rulestack-name",
		}, 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.GetRulestack.Invoke(new()
    {
        Name = "my-rulestack-name",
    });
});
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.GetRulestackArgs;
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.getRulestack(GetRulestackArgs.builder()
            .name("my-rulestack-name")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: cloudngfwaws:getRulestack
      arguments:
        name: my-rulestack-name
Using getRulestack
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 getRulestack(args: GetRulestackArgs, opts?: InvokeOptions): Promise<GetRulestackResult>
function getRulestackOutput(args: GetRulestackOutputArgs, opts?: InvokeOptions): Output<GetRulestackResult>def get_rulestack(config_type: Optional[str] = None,
                  name: Optional[str] = None,
                  scope: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetRulestackResult
def get_rulestack_output(config_type: Optional[pulumi.Input[str]] = None,
                  name: Optional[pulumi.Input[str]] = None,
                  scope: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetRulestackResult]func LookupRulestack(ctx *Context, args *LookupRulestackArgs, opts ...InvokeOption) (*LookupRulestackResult, error)
func LookupRulestackOutput(ctx *Context, args *LookupRulestackOutputArgs, opts ...InvokeOption) LookupRulestackResultOutput> Note: This function is named LookupRulestack in the Go SDK.
public static class GetRulestack 
{
    public static Task<GetRulestackResult> InvokeAsync(GetRulestackArgs args, InvokeOptions? opts = null)
    public static Output<GetRulestackResult> Invoke(GetRulestackInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRulestackResult> getRulestack(GetRulestackArgs args, InvokeOptions options)
public static Output<GetRulestackResult> getRulestack(GetRulestackArgs args, InvokeOptions options)
fn::invoke:
  function: cloudngfwaws:index/getRulestack:getRulestack
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The name.
- ConfigType string
- Retrieve either the candidate or running config. Valid values are candidateorrunning. Defaults tocandidate.
- Scope string
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are LocalorGlobal. Defaults toLocal.
- Name string
- The name.
- ConfigType string
- Retrieve either the candidate or running config. Valid values are candidateorrunning. Defaults tocandidate.
- Scope string
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are LocalorGlobal. Defaults toLocal.
- name String
- The name.
- configType String
- Retrieve either the candidate or running config. Valid values are candidateorrunning. Defaults tocandidate.
- scope String
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are LocalorGlobal. Defaults toLocal.
- name string
- The name.
- configType string
- Retrieve either the candidate or running config. Valid values are candidateorrunning. Defaults tocandidate.
- scope string
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are LocalorGlobal. Defaults toLocal.
- name str
- The name.
- config_type str
- Retrieve either the candidate or running config. Valid values are candidateorrunning. Defaults tocandidate.
- scope str
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are LocalorGlobal. Defaults toLocal.
- name String
- The name.
- configType String
- Retrieve either the candidate or running config. Valid values are candidateorrunning. Defaults tocandidate.
- scope String
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are LocalorGlobal. Defaults toLocal.
getRulestack Result
The following output properties are available:
- AccountGroup string
- Account group.
- AccountId string
- The account ID.
- Description string
- The description.
- Id string
- The provider-assigned unique ID for this managed resource.
- LookupXForwarded stringFor 
- Lookup x forwarded for.
- MinimumApp stringId Version 
- Minimum App-ID version number.
- Name string
- The name.
- ProfileConfigs List<Pulumi.Cloud Ngfw Aws. Outputs. Get Rulestack Profile Config> 
- State string
- The rulestack state.
- Dictionary<string, string>
- The tags.
- ConfigType string
- Retrieve either the candidate or running config. Valid values are candidateorrunning. Defaults tocandidate.
- Scope string
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are LocalorGlobal. Defaults toLocal.
- AccountGroup string
- Account group.
- AccountId string
- The account ID.
- Description string
- The description.
- Id string
- The provider-assigned unique ID for this managed resource.
- LookupXForwarded stringFor 
- Lookup x forwarded for.
- MinimumApp stringId Version 
- Minimum App-ID version number.
- Name string
- The name.
- ProfileConfigs []GetRulestack Profile Config 
- State string
- The rulestack state.
- map[string]string
- The tags.
- ConfigType string
- Retrieve either the candidate or running config. Valid values are candidateorrunning. Defaults tocandidate.
- Scope string
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are LocalorGlobal. Defaults toLocal.
- accountGroup String
- Account group.
- accountId String
- The account ID.
- description String
- The description.
- id String
- The provider-assigned unique ID for this managed resource.
- lookupXForwarded StringFor 
- Lookup x forwarded for.
- minimumApp StringId Version 
- Minimum App-ID version number.
- name String
- The name.
- profileConfigs List<GetRulestack Profile Config> 
- state String
- The rulestack state.
- Map<String,String>
- The tags.
- configType String
- Retrieve either the candidate or running config. Valid values are candidateorrunning. Defaults tocandidate.
- scope String
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are LocalorGlobal. Defaults toLocal.
- accountGroup string
- Account group.
- accountId string
- The account ID.
- description string
- The description.
- id string
- The provider-assigned unique ID for this managed resource.
- lookupXForwarded stringFor 
- Lookup x forwarded for.
- minimumApp stringId Version 
- Minimum App-ID version number.
- name string
- The name.
- profileConfigs GetRulestack Profile Config[] 
- state string
- The rulestack state.
- {[key: string]: string}
- The tags.
- configType string
- Retrieve either the candidate or running config. Valid values are candidateorrunning. Defaults tocandidate.
- scope string
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are LocalorGlobal. Defaults toLocal.
- account_group str
- Account group.
- account_id str
- The account ID.
- description str
- The description.
- id str
- The provider-assigned unique ID for this managed resource.
- lookup_x_ strforwarded_ for 
- Lookup x forwarded for.
- minimum_app_ strid_ version 
- Minimum App-ID version number.
- name str
- The name.
- profile_configs Sequence[GetRulestack Profile Config] 
- state str
- The rulestack state.
- Mapping[str, str]
- The tags.
- config_type str
- Retrieve either the candidate or running config. Valid values are candidateorrunning. Defaults tocandidate.
- scope str
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are LocalorGlobal. Defaults toLocal.
- accountGroup String
- Account group.
- accountId String
- The account ID.
- description String
- The description.
- id String
- The provider-assigned unique ID for this managed resource.
- lookupXForwarded StringFor 
- Lookup x forwarded for.
- minimumApp StringId Version 
- Minimum App-ID version number.
- name String
- The name.
- profileConfigs List<Property Map>
- state String
- The rulestack state.
- Map<String>
- The tags.
- configType String
- Retrieve either the candidate or running config. Valid values are candidateorrunning. Defaults tocandidate.
- scope String
- The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are LocalorGlobal. Defaults toLocal.
Supporting Types
GetRulestackProfileConfig   
- AntiSpyware string
- Anti-spyware profile setting.
- AntiVirus string
- Anti-virus profile setting.
- FileBlocking string
- File blocking profile setting.
- OutboundTrust stringCertificate 
- Outbound trust certificate.
- OutboundUntrust stringCertificate 
- Outbound untrust certificate.
- UrlFiltering string
- URL filtering profile setting.
- Vulnerability string
- Vulnerability profile setting.
- AntiSpyware string
- Anti-spyware profile setting.
- AntiVirus string
- Anti-virus profile setting.
- FileBlocking string
- File blocking profile setting.
- OutboundTrust stringCertificate 
- Outbound trust certificate.
- OutboundUntrust stringCertificate 
- Outbound untrust certificate.
- UrlFiltering string
- URL filtering profile setting.
- Vulnerability string
- Vulnerability profile setting.
- antiSpyware String
- Anti-spyware profile setting.
- antiVirus String
- Anti-virus profile setting.
- fileBlocking String
- File blocking profile setting.
- outboundTrust StringCertificate 
- Outbound trust certificate.
- outboundUntrust StringCertificate 
- Outbound untrust certificate.
- urlFiltering String
- URL filtering profile setting.
- vulnerability String
- Vulnerability profile setting.
- antiSpyware string
- Anti-spyware profile setting.
- antiVirus string
- Anti-virus profile setting.
- fileBlocking string
- File blocking profile setting.
- outboundTrust stringCertificate 
- Outbound trust certificate.
- outboundUntrust stringCertificate 
- Outbound untrust certificate.
- urlFiltering string
- URL filtering profile setting.
- vulnerability string
- Vulnerability profile setting.
- anti_spyware str
- Anti-spyware profile setting.
- anti_virus str
- Anti-virus profile setting.
- file_blocking str
- File blocking profile setting.
- outbound_trust_ strcertificate 
- Outbound trust certificate.
- outbound_untrust_ strcertificate 
- Outbound untrust certificate.
- url_filtering str
- URL filtering profile setting.
- vulnerability str
- Vulnerability profile setting.
- antiSpyware String
- Anti-spyware profile setting.
- antiVirus String
- Anti-virus profile setting.
- fileBlocking String
- File blocking profile setting.
- outboundTrust StringCertificate 
- Outbound trust certificate.
- outboundUntrust StringCertificate 
- Outbound untrust certificate.
- urlFiltering String
- URL filtering profile setting.
- vulnerability String
- Vulnerability profile setting.
Package Details
- Repository
- cloudngfwaws pulumi/pulumi-cloudngfwaws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the cloudngfwawsTerraform Provider.
Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi