1. Packages
  2. Cisco ISE Provider
  3. API Docs
  4. trustsec
  5. EgressMatrixCellDefault
Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 by Pulumi

ise.trustsec.EgressMatrixCellDefault

Explore with Pulumi AI

Allows modifications to the default egress policy matrix rule

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";

const example = new ise.trustsec.EgressMatrixCellDefault("example", {
    description: "Default egress rule",
    defaultRule: "PERMIT_IP",
    matrixCellStatus: "ENABLED",
});
Copy
import pulumi
import pulumi_ise as ise

example = ise.trustsec.EgressMatrixCellDefault("example",
    description="Default egress rule",
    default_rule="PERMIT_IP",
    matrix_cell_status="ENABLED")
Copy
package main

import (
	"github.com/pulumi/pulumi-ise/sdk/go/ise/trustsec"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := trustsec.NewEgressMatrixCellDefault(ctx, "example", &trustsec.EgressMatrixCellDefaultArgs{
			Description:      pulumi.String("Default egress rule"),
			DefaultRule:      pulumi.String("PERMIT_IP"),
			MatrixCellStatus: pulumi.String("ENABLED"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ise = Pulumi.Ise;

return await Deployment.RunAsync(() => 
{
    var example = new Ise.TrustSec.EgressMatrixCellDefault("example", new()
    {
        Description = "Default egress rule",
        DefaultRule = "PERMIT_IP",
        MatrixCellStatus = "ENABLED",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.trustsec.EgressMatrixCellDefault;
import com.pulumi.ise.trustsec.EgressMatrixCellDefaultArgs;
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 EgressMatrixCellDefault("example", EgressMatrixCellDefaultArgs.builder()
            .description("Default egress rule")
            .defaultRule("PERMIT_IP")
            .matrixCellStatus("ENABLED")
            .build());

    }
}
Copy
resources:
  example:
    type: ise:trustsec:EgressMatrixCellDefault
    properties:
      description: Default egress rule
      defaultRule: PERMIT_IP
      matrixCellStatus: ENABLED
Copy

Create EgressMatrixCellDefault Resource

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

Constructor syntax

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

@overload
def EgressMatrixCellDefault(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            default_rule: Optional[str] = None,
                            description: Optional[str] = None,
                            matrix_cell_status: Optional[str] = None,
                            sgacls: Optional[Sequence[str]] = None)
func NewEgressMatrixCellDefault(ctx *Context, name string, args *EgressMatrixCellDefaultArgs, opts ...ResourceOption) (*EgressMatrixCellDefault, error)
public EgressMatrixCellDefault(string name, EgressMatrixCellDefaultArgs? args = null, CustomResourceOptions? opts = null)
public EgressMatrixCellDefault(String name, EgressMatrixCellDefaultArgs args)
public EgressMatrixCellDefault(String name, EgressMatrixCellDefaultArgs args, CustomResourceOptions options)
type: ise:trustsec:EgressMatrixCellDefault
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 EgressMatrixCellDefaultArgs
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 EgressMatrixCellDefaultArgs
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 EgressMatrixCellDefaultArgs
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 EgressMatrixCellDefaultArgs
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. EgressMatrixCellDefaultArgs
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 egressMatrixCellDefaultResource = new Ise.TrustSec.EgressMatrixCellDefault("egressMatrixCellDefaultResource", new()
{
    DefaultRule = "string",
    Description = "string",
    MatrixCellStatus = "string",
    Sgacls = new[]
    {
        "string",
    },
});
Copy
example, err := trustsec.NewEgressMatrixCellDefault(ctx, "egressMatrixCellDefaultResource", &trustsec.EgressMatrixCellDefaultArgs{
	DefaultRule:      pulumi.String("string"),
	Description:      pulumi.String("string"),
	MatrixCellStatus: pulumi.String("string"),
	Sgacls: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var egressMatrixCellDefaultResource = new EgressMatrixCellDefault("egressMatrixCellDefaultResource", EgressMatrixCellDefaultArgs.builder()
    .defaultRule("string")
    .description("string")
    .matrixCellStatus("string")
    .sgacls("string")
    .build());
Copy
egress_matrix_cell_default_resource = ise.trustsec.EgressMatrixCellDefault("egressMatrixCellDefaultResource",
    default_rule="string",
    description="string",
    matrix_cell_status="string",
    sgacls=["string"])
Copy
const egressMatrixCellDefaultResource = new ise.trustsec.EgressMatrixCellDefault("egressMatrixCellDefaultResource", {
    defaultRule: "string",
    description: "string",
    matrixCellStatus: "string",
    sgacls: ["string"],
});
Copy
type: ise:trustsec:EgressMatrixCellDefault
properties:
    defaultRule: string
    description: string
    matrixCellStatus: string
    sgacls:
        - string
Copy

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

DefaultRule string
Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
Description string
Description
MatrixCellStatus string
Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
Sgacls List<string>
List of TrustSec Security Groups ACLs
DefaultRule string
Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
Description string
Description
MatrixCellStatus string
Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
Sgacls []string
List of TrustSec Security Groups ACLs
defaultRule String
Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
description String
Description
matrixCellStatus String
Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
sgacls List<String>
List of TrustSec Security Groups ACLs
defaultRule string
Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
description string
Description
matrixCellStatus string
Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
sgacls string[]
List of TrustSec Security Groups ACLs
default_rule str
Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
description str
Description
matrix_cell_status str
Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
sgacls Sequence[str]
List of TrustSec Security Groups ACLs
defaultRule String
Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
description String
Description
matrixCellStatus String
Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
sgacls List<String>
List of TrustSec Security Groups ACLs

Outputs

All input properties are implicitly available as output properties. Additionally, the EgressMatrixCellDefault 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 EgressMatrixCellDefault Resource

Get an existing EgressMatrixCellDefault 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?: EgressMatrixCellDefaultState, opts?: CustomResourceOptions): EgressMatrixCellDefault
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        default_rule: Optional[str] = None,
        description: Optional[str] = None,
        matrix_cell_status: Optional[str] = None,
        sgacls: Optional[Sequence[str]] = None) -> EgressMatrixCellDefault
func GetEgressMatrixCellDefault(ctx *Context, name string, id IDInput, state *EgressMatrixCellDefaultState, opts ...ResourceOption) (*EgressMatrixCellDefault, error)
public static EgressMatrixCellDefault Get(string name, Input<string> id, EgressMatrixCellDefaultState? state, CustomResourceOptions? opts = null)
public static EgressMatrixCellDefault get(String name, Output<String> id, EgressMatrixCellDefaultState state, CustomResourceOptions options)
resources:  _:    type: ise:trustsec:EgressMatrixCellDefault    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:
DefaultRule string
Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
Description string
Description
MatrixCellStatus string
Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
Sgacls List<string>
List of TrustSec Security Groups ACLs
DefaultRule string
Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
Description string
Description
MatrixCellStatus string
Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
Sgacls []string
List of TrustSec Security Groups ACLs
defaultRule String
Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
description String
Description
matrixCellStatus String
Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
sgacls List<String>
List of TrustSec Security Groups ACLs
defaultRule string
Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
description string
Description
matrixCellStatus string
Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
sgacls string[]
List of TrustSec Security Groups ACLs
default_rule str
Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
description str
Description
matrix_cell_status str
Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
sgacls Sequence[str]
List of TrustSec Security Groups ACLs
defaultRule String
Can be used only if sgacls not specified. Final Catch All Rule - Choices: NONE, DENY_IP, PERMIT_IP
description String
Description
matrixCellStatus String
Matrix Cell Status - Choices: DISABLED, ENABLED, MONITOR - Default value: DISABLED
sgacls List<String>
List of TrustSec Security Groups ACLs

Import

$ pulumi import ise:trustsec/egressMatrixCellDefault:EgressMatrixCellDefault example "92c1a900-8c01-11e6-996c-525400b48521"
Copy

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

Package Details

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