Palo Alto Networks Cloud NGFW for AWS v1.0.0 published on Wednesday, Oct 8, 2025 by Pulumi
cloudngfwaws.getRulestack
Start a Neo task
Explain and create a cloudngfwaws.getRulestack resource
Palo Alto Networks Cloud NGFW for AWS v1.0.0 published on Wednesday, Oct 8, 2025 by Pulumi
Data source for retrieving rulestack information.
Admin Permission Type
Rulestack(forscope="Local")Global Rulestack(forscope="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.
- Config
Type 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.
- Config
Type 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.
- config
Type 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.
- config
Type 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.
- config
Type 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:
- Account
Group string - Account group.
- Account
Id string - The account ID.
- Description string
- The description.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lookup
XForwarded stringFor - Lookup x forwarded for.
- Minimum
App stringId Version - Minimum App-ID version number.
- Name string
- The name.
- Profile
Configs List<Pulumi.Cloud Ngfw Aws. Outputs. Get Rulestack Profile Config> - State string
- The rulestack state.
- Dictionary<string, string>
- The tags.
- Config
Type 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 string - Account group.
- Account
Id string - The account ID.
- Description string
- The description.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lookup
XForwarded stringFor - Lookup x forwarded for.
- Minimum
App stringId Version - Minimum App-ID version number.
- Name string
- The name.
- Profile
Configs []GetRulestack Profile Config - State string
- The rulestack state.
- map[string]string
- The tags.
- Config
Type 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 String - Account group.
- account
Id String - The account ID.
- description String
- The description.
- id String
- The provider-assigned unique ID for this managed resource.
- lookup
XForwarded StringFor - Lookup x forwarded for.
- minimum
App StringId Version - Minimum App-ID version number.
- name String
- The name.
- profile
Configs List<GetRulestack Profile Config> - state String
- The rulestack state.
- Map<String,String>
- The tags.
- config
Type 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 string - Account group.
- account
Id string - The account ID.
- description string
- The description.
- id string
- The provider-assigned unique ID for this managed resource.
- lookup
XForwarded stringFor - Lookup x forwarded for.
- minimum
App stringId Version - Minimum App-ID version number.
- name string
- The name.
- profile
Configs GetRulestack Profile Config[] - state string
- The rulestack state.
- {[key: string]: string}
- The tags.
- config
Type 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.
- account
Group String - Account group.
- account
Id String - The account ID.
- description String
- The description.
- id String
- The provider-assigned unique ID for this managed resource.
- lookup
XForwarded StringFor - Lookup x forwarded for.
- minimum
App StringId Version - Minimum App-ID version number.
- name String
- The name.
- profile
Configs List<Property Map> - state String
- The rulestack state.
- Map<String>
- The tags.
- config
Type 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
- Anti
Spyware string - Anti-spyware profile setting.
- Anti
Virus string - Anti-virus profile setting.
- File
Blocking string - File blocking profile setting.
- Outbound
Trust stringCertificate - Outbound trust certificate.
- Outbound
Untrust stringCertificate - Outbound untrust certificate.
- Url
Filtering string - URL filtering profile setting.
- Vulnerability string
- Vulnerability profile setting.
- Anti
Spyware string - Anti-spyware profile setting.
- Anti
Virus string - Anti-virus profile setting.
- File
Blocking string - File blocking profile setting.
- Outbound
Trust stringCertificate - Outbound trust certificate.
- Outbound
Untrust stringCertificate - Outbound untrust certificate.
- Url
Filtering string - URL filtering profile setting.
- Vulnerability string
- Vulnerability profile setting.
- anti
Spyware String - Anti-spyware profile setting.
- anti
Virus String - Anti-virus profile setting.
- file
Blocking String - File blocking profile setting.
- outbound
Trust StringCertificate - Outbound trust certificate.
- outbound
Untrust StringCertificate - Outbound untrust certificate.
- url
Filtering String - URL filtering profile setting.
- vulnerability String
- Vulnerability profile setting.
- anti
Spyware string - Anti-spyware profile setting.
- anti
Virus string - Anti-virus profile setting.
- file
Blocking string - File blocking profile setting.
- outbound
Trust stringCertificate - Outbound trust certificate.
- outbound
Untrust stringCertificate - Outbound untrust certificate.
- url
Filtering 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.
- anti
Spyware String - Anti-spyware profile setting.
- anti
Virus String - Anti-virus profile setting.
- file
Blocking String - File blocking profile setting.
- outbound
Trust StringCertificate - Outbound trust certificate.
- outbound
Untrust StringCertificate - Outbound untrust certificate.
- url
Filtering 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 v1.0.0 published on Wednesday, Oct 8, 2025 by Pulumi
