1. Packages
  2. Palo Alto Networks Cloud NGFW for AWS Provider
  3. API Docs
  4. IntelligentFeed
Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi

cloudngfwaws.IntelligentFeed

Explore with Pulumi AI

Resource for intelligent feed manipulation.

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 r = new cloudngfwaws.Rulestack("r", {
    name: "terraform-rulestack",
    scope: "Local",
    accountId: "123456789",
    description: "Made by Pulumi",
    profileConfig: {
        antiSpyware: "BestPractice",
    },
});
// Retrieve the feed information every day at midnight.
const example = new cloudngfwaws.IntelligentFeed("example", {
    rulestack: r.name,
    name: "tf-feed",
    description: "Also configured by Terraform",
    url: "https://foobar.net",
    type: "URL_LIST",
    frequency: "DAILY",
    time: 0,
});
Copy
import pulumi
import pulumi_cloudngfwaws as cloudngfwaws

r = cloudngfwaws.Rulestack("r",
    name="terraform-rulestack",
    scope="Local",
    account_id="123456789",
    description="Made by Pulumi",
    profile_config={
        "anti_spyware": "BestPractice",
    })
# Retrieve the feed information every day at midnight.
example = cloudngfwaws.IntelligentFeed("example",
    rulestack=r.name,
    name="tf-feed",
    description="Also configured by Terraform",
    url="https://foobar.net",
    type="URL_LIST",
    frequency="DAILY",
    time=0)
Copy
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 {
		r, err := cloudngfwaws.NewRulestack(ctx, "r", &cloudngfwaws.RulestackArgs{
			Name:        pulumi.String("terraform-rulestack"),
			Scope:       pulumi.String("Local"),
			AccountId:   pulumi.String("123456789"),
			Description: pulumi.String("Made by Pulumi"),
			ProfileConfig: &cloudngfwaws.RulestackProfileConfigArgs{
				AntiSpyware: pulumi.String("BestPractice"),
			},
		})
		if err != nil {
			return err
		}
		// Retrieve the feed information every day at midnight.
		_, err = cloudngfwaws.NewIntelligentFeed(ctx, "example", &cloudngfwaws.IntelligentFeedArgs{
			Rulestack:   r.Name,
			Name:        pulumi.String("tf-feed"),
			Description: pulumi.String("Also configured by Terraform"),
			Url:         pulumi.String("https://foobar.net"),
			Type:        pulumi.String("URL_LIST"),
			Frequency:   pulumi.String("DAILY"),
			Time:        pulumi.Int(0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using CloudNgfwAws = Pulumi.CloudNgfwAws;

return await Deployment.RunAsync(() => 
{
    var r = new CloudNgfwAws.Rulestack("r", new()
    {
        Name = "terraform-rulestack",
        Scope = "Local",
        AccountId = "123456789",
        Description = "Made by Pulumi",
        ProfileConfig = new CloudNgfwAws.Inputs.RulestackProfileConfigArgs
        {
            AntiSpyware = "BestPractice",
        },
    });

    // Retrieve the feed information every day at midnight.
    var example = new CloudNgfwAws.IntelligentFeed("example", new()
    {
        Rulestack = r.Name,
        Name = "tf-feed",
        Description = "Also configured by Terraform",
        Url = "https://foobar.net",
        Type = "URL_LIST",
        Frequency = "DAILY",
        Time = 0,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudngfwaws.Rulestack;
import com.pulumi.cloudngfwaws.RulestackArgs;
import com.pulumi.cloudngfwaws.inputs.RulestackProfileConfigArgs;
import com.pulumi.cloudngfwaws.IntelligentFeed;
import com.pulumi.cloudngfwaws.IntelligentFeedArgs;
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) {
        var r = new Rulestack("r", RulestackArgs.builder()
            .name("terraform-rulestack")
            .scope("Local")
            .accountId("123456789")
            .description("Made by Pulumi")
            .profileConfig(RulestackProfileConfigArgs.builder()
                .antiSpyware("BestPractice")
                .build())
            .build());

        // Retrieve the feed information every day at midnight.
        var example = new IntelligentFeed("example", IntelligentFeedArgs.builder()
            .rulestack(r.name())
            .name("tf-feed")
            .description("Also configured by Terraform")
            .url("https://foobar.net")
            .type("URL_LIST")
            .frequency("DAILY")
            .time(0)
            .build());

    }
}
Copy
resources:
  # Retrieve the feed information every day at midnight.
  example:
    type: cloudngfwaws:IntelligentFeed
    properties:
      rulestack: ${r.name}
      name: tf-feed
      description: Also configured by Terraform
      url: https://foobar.net
      type: URL_LIST
      frequency: DAILY
      time: 0
  r:
    type: cloudngfwaws:Rulestack
    properties:
      name: terraform-rulestack
      scope: Local
      accountId: '123456789'
      description: Made by Pulumi
      profileConfig:
        antiSpyware: BestPractice
Copy

Create IntelligentFeed Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new IntelligentFeed(name: string, args: IntelligentFeedArgs, opts?: CustomResourceOptions);
@overload
def IntelligentFeed(resource_name: str,
                    args: IntelligentFeedArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def IntelligentFeed(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    rulestack: Optional[str] = None,
                    url: Optional[str] = None,
                    audit_comment: Optional[str] = None,
                    certificate: Optional[str] = None,
                    description: Optional[str] = None,
                    frequency: Optional[str] = None,
                    name: Optional[str] = None,
                    scope: Optional[str] = None,
                    time: Optional[int] = None,
                    type: Optional[str] = None)
func NewIntelligentFeed(ctx *Context, name string, args IntelligentFeedArgs, opts ...ResourceOption) (*IntelligentFeed, error)
public IntelligentFeed(string name, IntelligentFeedArgs args, CustomResourceOptions? opts = null)
public IntelligentFeed(String name, IntelligentFeedArgs args)
public IntelligentFeed(String name, IntelligentFeedArgs args, CustomResourceOptions options)
type: cloudngfwaws:IntelligentFeed
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IntelligentFeedArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IntelligentFeedArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IntelligentFeedArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IntelligentFeedArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IntelligentFeedArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var intelligentFeedResource = new CloudNgfwAws.IntelligentFeed("intelligentFeedResource", new()
{
    Rulestack = "string",
    Url = "string",
    AuditComment = "string",
    Certificate = "string",
    Description = "string",
    Frequency = "string",
    Name = "string",
    Scope = "string",
    Time = 0,
    Type = "string",
});
Copy
example, err := cloudngfwaws.NewIntelligentFeed(ctx, "intelligentFeedResource", &cloudngfwaws.IntelligentFeedArgs{
	Rulestack:    pulumi.String("string"),
	Url:          pulumi.String("string"),
	AuditComment: pulumi.String("string"),
	Certificate:  pulumi.String("string"),
	Description:  pulumi.String("string"),
	Frequency:    pulumi.String("string"),
	Name:         pulumi.String("string"),
	Scope:        pulumi.String("string"),
	Time:         pulumi.Int(0),
	Type:         pulumi.String("string"),
})
Copy
var intelligentFeedResource = new IntelligentFeed("intelligentFeedResource", IntelligentFeedArgs.builder()
    .rulestack("string")
    .url("string")
    .auditComment("string")
    .certificate("string")
    .description("string")
    .frequency("string")
    .name("string")
    .scope("string")
    .time(0)
    .type("string")
    .build());
Copy
intelligent_feed_resource = cloudngfwaws.IntelligentFeed("intelligentFeedResource",
    rulestack="string",
    url="string",
    audit_comment="string",
    certificate="string",
    description="string",
    frequency="string",
    name="string",
    scope="string",
    time=0,
    type="string")
Copy
const intelligentFeedResource = new cloudngfwaws.IntelligentFeed("intelligentFeedResource", {
    rulestack: "string",
    url: "string",
    auditComment: "string",
    certificate: "string",
    description: "string",
    frequency: "string",
    name: "string",
    scope: "string",
    time: 0,
    type: "string",
});
Copy
type: cloudngfwaws:IntelligentFeed
properties:
    auditComment: string
    certificate: string
    description: string
    frequency: string
    name: string
    rulestack: string
    scope: string
    time: 0
    type: string
    url: string
Copy

IntelligentFeed Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The IntelligentFeed resource accepts the following input properties:

Rulestack
This property is required.
Changes to this property will trigger replacement.
string
The rulestack.
Url This property is required. string
The intelligent feed source.
AuditComment string
The audit comment.
Certificate string
The certificate profile.
Description string
The description.
Frequency string
Update frequency. Valid values are HOURLY or DAILY. Defaults to HOURLY.
Name Changes to this property will trigger replacement. string
The name.
Scope Changes to this property will trigger replacement. 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 Local or Global. Defaults to Local.
Time int
The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
Type string
The intelligent feed type. Valid values are IP_LIST or URL_LIST. Defaults to IP_LIST.
Rulestack
This property is required.
Changes to this property will trigger replacement.
string
The rulestack.
Url This property is required. string
The intelligent feed source.
AuditComment string
The audit comment.
Certificate string
The certificate profile.
Description string
The description.
Frequency string
Update frequency. Valid values are HOURLY or DAILY. Defaults to HOURLY.
Name Changes to this property will trigger replacement. string
The name.
Scope Changes to this property will trigger replacement. 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 Local or Global. Defaults to Local.
Time int
The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
Type string
The intelligent feed type. Valid values are IP_LIST or URL_LIST. Defaults to IP_LIST.
rulestack
This property is required.
Changes to this property will trigger replacement.
String
The rulestack.
url This property is required. String
The intelligent feed source.
auditComment String
The audit comment.
certificate String
The certificate profile.
description String
The description.
frequency String
Update frequency. Valid values are HOURLY or DAILY. Defaults to HOURLY.
name Changes to this property will trigger replacement. String
The name.
scope Changes to this property will trigger replacement. 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 Local or Global. Defaults to Local.
time Integer
The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
type String
The intelligent feed type. Valid values are IP_LIST or URL_LIST. Defaults to IP_LIST.
rulestack
This property is required.
Changes to this property will trigger replacement.
string
The rulestack.
url This property is required. string
The intelligent feed source.
auditComment string
The audit comment.
certificate string
The certificate profile.
description string
The description.
frequency string
Update frequency. Valid values are HOURLY or DAILY. Defaults to HOURLY.
name Changes to this property will trigger replacement. string
The name.
scope Changes to this property will trigger replacement. 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 Local or Global. Defaults to Local.
time number
The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
type string
The intelligent feed type. Valid values are IP_LIST or URL_LIST. Defaults to IP_LIST.
rulestack
This property is required.
Changes to this property will trigger replacement.
str
The rulestack.
url This property is required. str
The intelligent feed source.
audit_comment str
The audit comment.
certificate str
The certificate profile.
description str
The description.
frequency str
Update frequency. Valid values are HOURLY or DAILY. Defaults to HOURLY.
name Changes to this property will trigger replacement. str
The name.
scope Changes to this property will trigger replacement. 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 Local or Global. Defaults to Local.
time int
The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
type str
The intelligent feed type. Valid values are IP_LIST or URL_LIST. Defaults to IP_LIST.
rulestack
This property is required.
Changes to this property will trigger replacement.
String
The rulestack.
url This property is required. String
The intelligent feed source.
auditComment String
The audit comment.
certificate String
The certificate profile.
description String
The description.
frequency String
Update frequency. Valid values are HOURLY or DAILY. Defaults to HOURLY.
name Changes to this property will trigger replacement. String
The name.
scope Changes to this property will trigger replacement. 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 Local or Global. Defaults to Local.
time Number
The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
type String
The intelligent feed type. Valid values are IP_LIST or URL_LIST. Defaults to IP_LIST.

Outputs

All input properties are implicitly available as output properties. Additionally, the IntelligentFeed resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
UpdateToken string
The update token.
Id string
The provider-assigned unique ID for this managed resource.
UpdateToken string
The update token.
id String
The provider-assigned unique ID for this managed resource.
updateToken String
The update token.
id string
The provider-assigned unique ID for this managed resource.
updateToken string
The update token.
id str
The provider-assigned unique ID for this managed resource.
update_token str
The update token.
id String
The provider-assigned unique ID for this managed resource.
updateToken String
The update token.

Look up Existing IntelligentFeed Resource

Get an existing IntelligentFeed resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: IntelligentFeedState, opts?: CustomResourceOptions): IntelligentFeed
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        audit_comment: Optional[str] = None,
        certificate: Optional[str] = None,
        description: Optional[str] = None,
        frequency: Optional[str] = None,
        name: Optional[str] = None,
        rulestack: Optional[str] = None,
        scope: Optional[str] = None,
        time: Optional[int] = None,
        type: Optional[str] = None,
        update_token: Optional[str] = None,
        url: Optional[str] = None) -> IntelligentFeed
func GetIntelligentFeed(ctx *Context, name string, id IDInput, state *IntelligentFeedState, opts ...ResourceOption) (*IntelligentFeed, error)
public static IntelligentFeed Get(string name, Input<string> id, IntelligentFeedState? state, CustomResourceOptions? opts = null)
public static IntelligentFeed get(String name, Output<String> id, IntelligentFeedState state, CustomResourceOptions options)
resources:  _:    type: cloudngfwaws:IntelligentFeed    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AuditComment string
The audit comment.
Certificate string
The certificate profile.
Description string
The description.
Frequency string
Update frequency. Valid values are HOURLY or DAILY. Defaults to HOURLY.
Name Changes to this property will trigger replacement. string
The name.
Rulestack Changes to this property will trigger replacement. string
The rulestack.
Scope Changes to this property will trigger replacement. 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 Local or Global. Defaults to Local.
Time int
The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
Type string
The intelligent feed type. Valid values are IP_LIST or URL_LIST. Defaults to IP_LIST.
UpdateToken string
The update token.
Url string
The intelligent feed source.
AuditComment string
The audit comment.
Certificate string
The certificate profile.
Description string
The description.
Frequency string
Update frequency. Valid values are HOURLY or DAILY. Defaults to HOURLY.
Name Changes to this property will trigger replacement. string
The name.
Rulestack Changes to this property will trigger replacement. string
The rulestack.
Scope Changes to this property will trigger replacement. 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 Local or Global. Defaults to Local.
Time int
The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
Type string
The intelligent feed type. Valid values are IP_LIST or URL_LIST. Defaults to IP_LIST.
UpdateToken string
The update token.
Url string
The intelligent feed source.
auditComment String
The audit comment.
certificate String
The certificate profile.
description String
The description.
frequency String
Update frequency. Valid values are HOURLY or DAILY. Defaults to HOURLY.
name Changes to this property will trigger replacement. String
The name.
rulestack Changes to this property will trigger replacement. String
The rulestack.
scope Changes to this property will trigger replacement. 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 Local or Global. Defaults to Local.
time Integer
The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
type String
The intelligent feed type. Valid values are IP_LIST or URL_LIST. Defaults to IP_LIST.
updateToken String
The update token.
url String
The intelligent feed source.
auditComment string
The audit comment.
certificate string
The certificate profile.
description string
The description.
frequency string
Update frequency. Valid values are HOURLY or DAILY. Defaults to HOURLY.
name Changes to this property will trigger replacement. string
The name.
rulestack Changes to this property will trigger replacement. string
The rulestack.
scope Changes to this property will trigger replacement. 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 Local or Global. Defaults to Local.
time number
The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
type string
The intelligent feed type. Valid values are IP_LIST or URL_LIST. Defaults to IP_LIST.
updateToken string
The update token.
url string
The intelligent feed source.
audit_comment str
The audit comment.
certificate str
The certificate profile.
description str
The description.
frequency str
Update frequency. Valid values are HOURLY or DAILY. Defaults to HOURLY.
name Changes to this property will trigger replacement. str
The name.
rulestack Changes to this property will trigger replacement. str
The rulestack.
scope Changes to this property will trigger replacement. 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 Local or Global. Defaults to Local.
time int
The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
type str
The intelligent feed type. Valid values are IP_LIST or URL_LIST. Defaults to IP_LIST.
update_token str
The update token.
url str
The intelligent feed source.
auditComment String
The audit comment.
certificate String
The certificate profile.
description String
The description.
frequency String
Update frequency. Valid values are HOURLY or DAILY. Defaults to HOURLY.
name Changes to this property will trigger replacement. String
The name.
rulestack Changes to this property will trigger replacement. String
The rulestack.
scope Changes to this property will trigger replacement. 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 Local or Global. Defaults to Local.
time Number
The time to poll for updates if frequency is daily. The number must be between [0, 23] incluside.
type String
The intelligent feed type. Valid values are IP_LIST or URL_LIST. Defaults to IP_LIST.
updateToken String
The update token.
url String
The intelligent feed source.

Import

import name is ::<intelligent_feed_name>

$ pulumi import cloudngfwaws:index/intelligentFeed:IntelligentFeed example Local:terraform-rulestack:tf-feed
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
cloudngfwaws pulumi/pulumi-cloudngfwaws
License
Apache-2.0
Notes
This Pulumi package is based on the cloudngfwaws Terraform Provider.