cloudngfwaws.Rulestack
Explore with Pulumi AI
Resource for rulestack 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 example = new cloudngfwaws.Rulestack("example", {
    name: "terraform-rulestack",
    scope: "Local",
    accountId: "123456789",
    description: "Made by Pulumi",
    profileConfig: {
        antiSpyware: "BestPractice",
    },
});
import pulumi
import pulumi_cloudngfwaws as cloudngfwaws
example = cloudngfwaws.Rulestack("example",
    name="terraform-rulestack",
    scope="Local",
    account_id="123456789",
    description="Made by Pulumi",
    profile_config={
        "anti_spyware": "BestPractice",
    })
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.NewRulestack(ctx, "example", &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
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using CloudNgfwAws = Pulumi.CloudNgfwAws;
return await Deployment.RunAsync(() => 
{
    var example = new CloudNgfwAws.Rulestack("example", new()
    {
        Name = "terraform-rulestack",
        Scope = "Local",
        AccountId = "123456789",
        Description = "Made by Pulumi",
        ProfileConfig = new CloudNgfwAws.Inputs.RulestackProfileConfigArgs
        {
            AntiSpyware = "BestPractice",
        },
    });
});
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 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 example = new Rulestack("example", RulestackArgs.builder()
            .name("terraform-rulestack")
            .scope("Local")
            .accountId("123456789")
            .description("Made by Pulumi")
            .profileConfig(RulestackProfileConfigArgs.builder()
                .antiSpyware("BestPractice")
                .build())
            .build());
    }
}
resources:
  example:
    type: cloudngfwaws:Rulestack
    properties:
      name: terraform-rulestack
      scope: Local
      accountId: '123456789'
      description: Made by Pulumi
      profileConfig:
        antiSpyware: BestPractice
Create Rulestack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Rulestack(name: string, args: RulestackArgs, opts?: CustomResourceOptions);@overload
def Rulestack(resource_name: str,
              args: RulestackArgs,
              opts: Optional[ResourceOptions] = None)
@overload
def Rulestack(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              profile_config: Optional[RulestackProfileConfigArgs] = None,
              account_group: Optional[str] = None,
              account_id: Optional[str] = None,
              description: Optional[str] = None,
              lookup_x_forwarded_for: Optional[str] = None,
              minimum_app_id_version: Optional[str] = None,
              name: Optional[str] = None,
              scope: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = None)func NewRulestack(ctx *Context, name string, args RulestackArgs, opts ...ResourceOption) (*Rulestack, error)public Rulestack(string name, RulestackArgs args, CustomResourceOptions? opts = null)
public Rulestack(String name, RulestackArgs args)
public Rulestack(String name, RulestackArgs args, CustomResourceOptions options)
type: cloudngfwaws:Rulestack
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RulestackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RulestackArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RulestackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RulestackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RulestackArgs
- 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 rulestackResource = new CloudNgfwAws.Rulestack("rulestackResource", new()
{
    ProfileConfig = new CloudNgfwAws.Inputs.RulestackProfileConfigArgs
    {
        AntiSpyware = "string",
        AntiVirus = "string",
        FileBlocking = "string",
        OutboundTrustCertificate = "string",
        OutboundUntrustCertificate = "string",
        UrlFiltering = "string",
        Vulnerability = "string",
    },
    AccountGroup = "string",
    AccountId = "string",
    Description = "string",
    LookupXForwardedFor = "string",
    MinimumAppIdVersion = "string",
    Name = "string",
    Scope = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := cloudngfwaws.NewRulestack(ctx, "rulestackResource", &cloudngfwaws.RulestackArgs{
	ProfileConfig: &cloudngfwaws.RulestackProfileConfigArgs{
		AntiSpyware:                pulumi.String("string"),
		AntiVirus:                  pulumi.String("string"),
		FileBlocking:               pulumi.String("string"),
		OutboundTrustCertificate:   pulumi.String("string"),
		OutboundUntrustCertificate: pulumi.String("string"),
		UrlFiltering:               pulumi.String("string"),
		Vulnerability:              pulumi.String("string"),
	},
	AccountGroup:        pulumi.String("string"),
	AccountId:           pulumi.String("string"),
	Description:         pulumi.String("string"),
	LookupXForwardedFor: pulumi.String("string"),
	MinimumAppIdVersion: pulumi.String("string"),
	Name:                pulumi.String("string"),
	Scope:               pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var rulestackResource = new Rulestack("rulestackResource", RulestackArgs.builder()
    .profileConfig(RulestackProfileConfigArgs.builder()
        .antiSpyware("string")
        .antiVirus("string")
        .fileBlocking("string")
        .outboundTrustCertificate("string")
        .outboundUntrustCertificate("string")
        .urlFiltering("string")
        .vulnerability("string")
        .build())
    .accountGroup("string")
    .accountId("string")
    .description("string")
    .lookupXForwardedFor("string")
    .minimumAppIdVersion("string")
    .name("string")
    .scope("string")
    .tags(Map.of("string", "string"))
    .build());
rulestack_resource = cloudngfwaws.Rulestack("rulestackResource",
    profile_config={
        "anti_spyware": "string",
        "anti_virus": "string",
        "file_blocking": "string",
        "outbound_trust_certificate": "string",
        "outbound_untrust_certificate": "string",
        "url_filtering": "string",
        "vulnerability": "string",
    },
    account_group="string",
    account_id="string",
    description="string",
    lookup_x_forwarded_for="string",
    minimum_app_id_version="string",
    name="string",
    scope="string",
    tags={
        "string": "string",
    })
const rulestackResource = new cloudngfwaws.Rulestack("rulestackResource", {
    profileConfig: {
        antiSpyware: "string",
        antiVirus: "string",
        fileBlocking: "string",
        outboundTrustCertificate: "string",
        outboundUntrustCertificate: "string",
        urlFiltering: "string",
        vulnerability: "string",
    },
    accountGroup: "string",
    accountId: "string",
    description: "string",
    lookupXForwardedFor: "string",
    minimumAppIdVersion: "string",
    name: "string",
    scope: "string",
    tags: {
        string: "string",
    },
});
type: cloudngfwaws:Rulestack
properties:
    accountGroup: string
    accountId: string
    description: string
    lookupXForwardedFor: string
    minimumAppIdVersion: string
    name: string
    profileConfig:
        antiSpyware: string
        antiVirus: string
        fileBlocking: string
        outboundTrustCertificate: string
        outboundUntrustCertificate: string
        urlFiltering: string
        vulnerability: string
    scope: string
    tags:
        string: string
Rulestack 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 Rulestack resource accepts the following input properties:
- ProfileConfig Pulumi.Cloud Ngfw Aws. Inputs. Rulestack Profile Config 
- AccountGroup string
- Account group.
- AccountId string
- The account ID.
- Description string
- The description.
- LookupXForwarded stringFor 
- Lookup x forwarded for.
- MinimumApp stringId Version 
- Minimum App-ID version number.
- Name string
- The name.
- 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.
- Dictionary<string, string>
- The tags.
- ProfileConfig RulestackProfile Config Args 
- AccountGroup string
- Account group.
- AccountId string
- The account ID.
- Description string
- The description.
- LookupXForwarded stringFor 
- Lookup x forwarded for.
- MinimumApp stringId Version 
- Minimum App-ID version number.
- Name string
- The name.
- 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.
- map[string]string
- The tags.
- profileConfig RulestackProfile Config 
- accountGroup String
- Account group.
- accountId String
- The account ID.
- description String
- The description.
- lookupXForwarded StringFor 
- Lookup x forwarded for.
- minimumApp StringId Version 
- Minimum App-ID version number.
- name String
- The name.
- 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.
- Map<String,String>
- The tags.
- profileConfig RulestackProfile Config 
- accountGroup string
- Account group.
- accountId string
- The account ID.
- description string
- The description.
- lookupXForwarded stringFor 
- Lookup x forwarded for.
- minimumApp stringId Version 
- Minimum App-ID version number.
- name string
- The name.
- 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.
- {[key: string]: string}
- The tags.
- profile_config RulestackProfile Config Args 
- account_group str
- Account group.
- account_id str
- The account ID.
- description str
- The description.
- lookup_x_ strforwarded_ for 
- Lookup x forwarded for.
- minimum_app_ strid_ version 
- Minimum App-ID version number.
- name str
- The name.
- 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.
- Mapping[str, str]
- The tags.
- profileConfig Property Map
- accountGroup String
- Account group.
- accountId String
- The account ID.
- description String
- The description.
- lookupXForwarded StringFor 
- Lookup x forwarded for.
- minimumApp StringId Version 
- Minimum App-ID version number.
- name String
- The name.
- 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.
- Map<String>
- The tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Rulestack resource produces the following output properties:
Look up Existing Rulestack Resource
Get an existing Rulestack 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?: RulestackState, opts?: CustomResourceOptions): Rulestack@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_group: Optional[str] = None,
        account_id: Optional[str] = None,
        description: Optional[str] = None,
        lookup_x_forwarded_for: Optional[str] = None,
        minimum_app_id_version: Optional[str] = None,
        name: Optional[str] = None,
        profile_config: Optional[RulestackProfileConfigArgs] = None,
        scope: Optional[str] = None,
        state: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> Rulestackfunc GetRulestack(ctx *Context, name string, id IDInput, state *RulestackState, opts ...ResourceOption) (*Rulestack, error)public static Rulestack Get(string name, Input<string> id, RulestackState? state, CustomResourceOptions? opts = null)public static Rulestack get(String name, Output<String> id, RulestackState state, CustomResourceOptions options)resources:  _:    type: cloudngfwaws:Rulestack    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- AccountGroup string
- Account group.
- AccountId string
- The account ID.
- Description string
- The description.
- LookupXForwarded stringFor 
- Lookup x forwarded for.
- MinimumApp stringId Version 
- Minimum App-ID version number.
- Name string
- The name.
- ProfileConfig Pulumi.Cloud Ngfw Aws. Inputs. Rulestack Profile Config 
- 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.
- State string
- The rulestack state.
- Dictionary<string, string>
- The tags.
- AccountGroup string
- Account group.
- AccountId string
- The account ID.
- Description string
- The description.
- LookupXForwarded stringFor 
- Lookup x forwarded for.
- MinimumApp stringId Version 
- Minimum App-ID version number.
- Name string
- The name.
- ProfileConfig RulestackProfile Config Args 
- 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.
- State string
- The rulestack state.
- map[string]string
- The tags.
- accountGroup String
- Account group.
- accountId String
- The account ID.
- description String
- The description.
- lookupXForwarded StringFor 
- Lookup x forwarded for.
- minimumApp StringId Version 
- Minimum App-ID version number.
- name String
- The name.
- profileConfig RulestackProfile Config 
- 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.
- state String
- The rulestack state.
- Map<String,String>
- The tags.
- accountGroup string
- Account group.
- accountId string
- The account ID.
- description string
- The description.
- lookupXForwarded stringFor 
- Lookup x forwarded for.
- minimumApp stringId Version 
- Minimum App-ID version number.
- name string
- The name.
- profileConfig RulestackProfile Config 
- 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.
- state string
- The rulestack state.
- {[key: string]: string}
- The tags.
- account_group str
- Account group.
- account_id str
- The account ID.
- description str
- The description.
- lookup_x_ strforwarded_ for 
- Lookup x forwarded for.
- minimum_app_ strid_ version 
- Minimum App-ID version number.
- name str
- The name.
- profile_config RulestackProfile Config Args 
- 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.
- state str
- The rulestack state.
- Mapping[str, str]
- The tags.
- accountGroup String
- Account group.
- accountId String
- The account ID.
- description String
- The description.
- lookupXForwarded StringFor 
- Lookup x forwarded for.
- minimumApp StringId Version 
- Minimum App-ID version number.
- name String
- The name.
- profileConfig Property Map
- 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.
- state String
- The rulestack state.
- Map<String>
- The tags.
Supporting Types
RulestackProfileConfig, RulestackProfileConfigArgs      
- AntiSpyware string
- Anti-spyware profile setting. Defaults to BestPractice.
- AntiVirus string
- Anti-virus profile setting. Defaults to BestPractice.
- FileBlocking string
- File blocking profile setting. Defaults to BestPractice.
- OutboundTrust stringCertificate 
- Outbound trust certificate.
- OutboundUntrust stringCertificate 
- Outbound untrust certificate.
- UrlFiltering string
- URL filtering profile setting. Defaults to None.
- Vulnerability string
- Vulnerability profile setting. Defaults to BestPractice.
- AntiSpyware string
- Anti-spyware profile setting. Defaults to BestPractice.
- AntiVirus string
- Anti-virus profile setting. Defaults to BestPractice.
- FileBlocking string
- File blocking profile setting. Defaults to BestPractice.
- OutboundTrust stringCertificate 
- Outbound trust certificate.
- OutboundUntrust stringCertificate 
- Outbound untrust certificate.
- UrlFiltering string
- URL filtering profile setting. Defaults to None.
- Vulnerability string
- Vulnerability profile setting. Defaults to BestPractice.
- antiSpyware String
- Anti-spyware profile setting. Defaults to BestPractice.
- antiVirus String
- Anti-virus profile setting. Defaults to BestPractice.
- fileBlocking String
- File blocking profile setting. Defaults to BestPractice.
- outboundTrust StringCertificate 
- Outbound trust certificate.
- outboundUntrust StringCertificate 
- Outbound untrust certificate.
- urlFiltering String
- URL filtering profile setting. Defaults to None.
- vulnerability String
- Vulnerability profile setting. Defaults to BestPractice.
- antiSpyware string
- Anti-spyware profile setting. Defaults to BestPractice.
- antiVirus string
- Anti-virus profile setting. Defaults to BestPractice.
- fileBlocking string
- File blocking profile setting. Defaults to BestPractice.
- outboundTrust stringCertificate 
- Outbound trust certificate.
- outboundUntrust stringCertificate 
- Outbound untrust certificate.
- urlFiltering string
- URL filtering profile setting. Defaults to None.
- vulnerability string
- Vulnerability profile setting. Defaults to BestPractice.
- anti_spyware str
- Anti-spyware profile setting. Defaults to BestPractice.
- anti_virus str
- Anti-virus profile setting. Defaults to BestPractice.
- file_blocking str
- File blocking profile setting. Defaults to BestPractice.
- outbound_trust_ strcertificate 
- Outbound trust certificate.
- outbound_untrust_ strcertificate 
- Outbound untrust certificate.
- url_filtering str
- URL filtering profile setting. Defaults to None.
- vulnerability str
- Vulnerability profile setting. Defaults to BestPractice.
- antiSpyware String
- Anti-spyware profile setting. Defaults to BestPractice.
- antiVirus String
- Anti-virus profile setting. Defaults to BestPractice.
- fileBlocking String
- File blocking profile setting. Defaults to BestPractice.
- outboundTrust StringCertificate 
- Outbound trust certificate.
- outboundUntrust StringCertificate 
- Outbound untrust certificate.
- urlFiltering String
- URL filtering profile setting. Defaults to None.
- vulnerability String
- Vulnerability profile setting. Defaults to BestPractice.
Import
import name is 
$ pulumi import cloudngfwaws:index/rulestack:Rulestack example Local:terraform-rulestack
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 cloudngfwawsTerraform Provider.