1. Packages
  2. Impart Security
  3. API Docs
  4. RuleScriptDependencies
Impart Security v0.9.0 published on Friday, Mar 21, 2025 by Impart Security

impart.RuleScriptDependencies

Explore with Pulumi AI

Manage rule script dependencies. There should only ever be one instance of this resource in a workspace at once, because it manages rule script dependencies at an organization level.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  example:
    type: impart:RuleScriptDependencies
    properties:
      dependencies:
        - rule_script_id: <example_1.id>
          depends_on_rule_script_ids:
            - <example_2.id>
Copy

Create RuleScriptDependencies Resource

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

Constructor syntax

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

@overload
def RuleScriptDependencies(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           dependencies: Optional[Sequence[RuleScriptDependenciesDependencyArgs]] = None)
func NewRuleScriptDependencies(ctx *Context, name string, args RuleScriptDependenciesArgs, opts ...ResourceOption) (*RuleScriptDependencies, error)
public RuleScriptDependencies(string name, RuleScriptDependenciesArgs args, CustomResourceOptions? opts = null)
public RuleScriptDependencies(String name, RuleScriptDependenciesArgs args)
public RuleScriptDependencies(String name, RuleScriptDependenciesArgs args, CustomResourceOptions options)
type: impart:RuleScriptDependencies
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. RuleScriptDependenciesArgs
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. RuleScriptDependenciesArgs
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. RuleScriptDependenciesArgs
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. RuleScriptDependenciesArgs
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. RuleScriptDependenciesArgs
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 ruleScriptDependenciesResource = new Impart.RuleScriptDependencies("ruleScriptDependenciesResource", new()
{
    Dependencies = new[]
    {
        new Impart.Inputs.RuleScriptDependenciesDependencyArgs
        {
            DependsOnRuleScriptIds = new[]
            {
                "string",
            },
            RuleScriptId = "string",
        },
    },
});
Copy
example, err := impart.NewRuleScriptDependencies(ctx, "ruleScriptDependenciesResource", &impart.RuleScriptDependenciesArgs{
	Dependencies: impart.RuleScriptDependenciesDependencyArray{
		&impart.RuleScriptDependenciesDependencyArgs{
			DependsOnRuleScriptIds: pulumi.StringArray{
				pulumi.String("string"),
			},
			RuleScriptId: pulumi.String("string"),
		},
	},
})
Copy
var ruleScriptDependenciesResource = new RuleScriptDependencies("ruleScriptDependenciesResource", RuleScriptDependenciesArgs.builder()
    .dependencies(RuleScriptDependenciesDependencyArgs.builder()
        .dependsOnRuleScriptIds("string")
        .ruleScriptId("string")
        .build())
    .build());
Copy
rule_script_dependencies_resource = impart.RuleScriptDependencies("ruleScriptDependenciesResource", dependencies=[{
    "depends_on_rule_script_ids": ["string"],
    "rule_script_id": "string",
}])
Copy
const ruleScriptDependenciesResource = new impart.RuleScriptDependencies("ruleScriptDependenciesResource", {dependencies: [{
    dependsOnRuleScriptIds: ["string"],
    ruleScriptId: "string",
}]});
Copy
type: impart:RuleScriptDependencies
properties:
    dependencies:
        - dependsOnRuleScriptIds:
            - string
          ruleScriptId: string
Copy

RuleScriptDependencies 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 RuleScriptDependencies resource accepts the following input properties:

Dependencies This property is required. List<RuleScriptDependenciesDependency>
An array of rule scripts and the other ids of the rules they depend on before executing.
Dependencies This property is required. []RuleScriptDependenciesDependencyArgs
An array of rule scripts and the other ids of the rules they depend on before executing.
dependencies This property is required. List<RuleScriptDependenciesDependency>
An array of rule scripts and the other ids of the rules they depend on before executing.
dependencies This property is required. RuleScriptDependenciesDependency[]
An array of rule scripts and the other ids of the rules they depend on before executing.
dependencies This property is required. Sequence[RuleScriptDependenciesDependencyArgs]
An array of rule scripts and the other ids of the rules they depend on before executing.
dependencies This property is required. List<Property Map>
An array of rule scripts and the other ids of the rules they depend on before executing.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing RuleScriptDependencies Resource

Get an existing RuleScriptDependencies 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?: RuleScriptDependenciesState, opts?: CustomResourceOptions): RuleScriptDependencies
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        dependencies: Optional[Sequence[RuleScriptDependenciesDependencyArgs]] = None) -> RuleScriptDependencies
func GetRuleScriptDependencies(ctx *Context, name string, id IDInput, state *RuleScriptDependenciesState, opts ...ResourceOption) (*RuleScriptDependencies, error)
public static RuleScriptDependencies Get(string name, Input<string> id, RuleScriptDependenciesState? state, CustomResourceOptions? opts = null)
public static RuleScriptDependencies get(String name, Output<String> id, RuleScriptDependenciesState state, CustomResourceOptions options)
resources:  _:    type: impart:RuleScriptDependencies    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:
Dependencies List<RuleScriptDependenciesDependency>
An array of rule scripts and the other ids of the rules they depend on before executing.
Dependencies []RuleScriptDependenciesDependencyArgs
An array of rule scripts and the other ids of the rules they depend on before executing.
dependencies List<RuleScriptDependenciesDependency>
An array of rule scripts and the other ids of the rules they depend on before executing.
dependencies RuleScriptDependenciesDependency[]
An array of rule scripts and the other ids of the rules they depend on before executing.
dependencies Sequence[RuleScriptDependenciesDependencyArgs]
An array of rule scripts and the other ids of the rules they depend on before executing.
dependencies List<Property Map>
An array of rule scripts and the other ids of the rules they depend on before executing.

Supporting Types

RuleScriptDependenciesDependency
, RuleScriptDependenciesDependencyArgs

DependsOnRuleScriptIds This property is required. List<string>
IDs of the rule script this rule depends on.
RuleScriptId This property is required. string
The ID of the rule script
DependsOnRuleScriptIds This property is required. []string
IDs of the rule script this rule depends on.
RuleScriptId This property is required. string
The ID of the rule script
dependsOnRuleScriptIds This property is required. List<String>
IDs of the rule script this rule depends on.
ruleScriptId This property is required. String
The ID of the rule script
dependsOnRuleScriptIds This property is required. string[]
IDs of the rule script this rule depends on.
ruleScriptId This property is required. string
The ID of the rule script
depends_on_rule_script_ids This property is required. Sequence[str]
IDs of the rule script this rule depends on.
rule_script_id This property is required. str
The ID of the rule script
dependsOnRuleScriptIds This property is required. List<String>
IDs of the rule script this rule depends on.
ruleScriptId This property is required. String
The ID of the rule script

Package Details

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