1. Packages
  2. Cisco ISE Provider
  3. API Docs
  4. trustsec
  5. Matrix
Viewing docs for Cisco ISE v0.3.0
published on Saturday, Mar 7, 2026 by Pulumi
ise logo
Viewing docs for Cisco ISE v0.3.0
published on Saturday, Mar 7, 2026 by Pulumi

    This resource can manage a TrustSec Matrix.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = new ise.trustsec.Matrix("example", {
        name: "MyMatrix",
        description: "My TrustSec Matrix Policy",
        matrixPolicyType: "TRUSTSEC_POLICY",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.trustsec.Matrix("example",
        name="MyMatrix",
        description="My TrustSec Matrix Policy",
        matrix_policy_type="TRUSTSEC_POLICY")
    
    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.NewMatrix(ctx, "example", &trustsec.MatrixArgs{
    			Name:             pulumi.String("MyMatrix"),
    			Description:      pulumi.String("My TrustSec Matrix Policy"),
    			MatrixPolicyType: pulumi.String("TRUSTSEC_POLICY"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ise = Pulumi.Ise;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Ise.TrustSec.Matrix("example", new()
        {
            Name = "MyMatrix",
            Description = "My TrustSec Matrix Policy",
            MatrixPolicyType = "TRUSTSEC_POLICY",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ise.trustsec.Matrix;
    import com.pulumi.ise.trustsec.MatrixArgs;
    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 Matrix("example", MatrixArgs.builder()
                .name("MyMatrix")
                .description("My TrustSec Matrix Policy")
                .matrixPolicyType("TRUSTSEC_POLICY")
                .build());
    
        }
    }
    
    resources:
      example:
        type: ise:trustsec:Matrix
        properties:
          name: MyMatrix
          description: My TrustSec Matrix Policy
          matrixPolicyType: TRUSTSEC_POLICY
    

    Create Matrix Resource

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

    Constructor syntax

    new Matrix(name: string, args?: MatrixArgs, opts?: CustomResourceOptions);
    @overload
    def Matrix(resource_name: str,
               args: Optional[MatrixArgs] = None,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Matrix(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               copy_policy_from: Optional[str] = None,
               defcon_level: Optional[str] = None,
               description: Optional[str] = None,
               matrix_policy_type: Optional[str] = None,
               name: Optional[str] = None)
    func NewMatrix(ctx *Context, name string, args *MatrixArgs, opts ...ResourceOption) (*Matrix, error)
    public Matrix(string name, MatrixArgs? args = null, CustomResourceOptions? opts = null)
    public Matrix(String name, MatrixArgs args)
    public Matrix(String name, MatrixArgs args, CustomResourceOptions options)
    
    type: ise:trustsec:Matrix
    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 MatrixArgs
    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 MatrixArgs
    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 MatrixArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MatrixArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MatrixArgs
    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 matrixResource = new Ise.TrustSec.Matrix("matrixResource", new()
    {
        CopyPolicyFrom = "string",
        DefconLevel = "string",
        Description = "string",
        MatrixPolicyType = "string",
        Name = "string",
    });
    
    example, err := trustsec.NewMatrix(ctx, "matrixResource", &trustsec.MatrixArgs{
    	CopyPolicyFrom:   pulumi.String("string"),
    	DefconLevel:      pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	MatrixPolicyType: pulumi.String("string"),
    	Name:             pulumi.String("string"),
    })
    
    var matrixResource = new Matrix("matrixResource", MatrixArgs.builder()
        .copyPolicyFrom("string")
        .defconLevel("string")
        .description("string")
        .matrixPolicyType("string")
        .name("string")
        .build());
    
    matrix_resource = ise.trustsec.Matrix("matrixResource",
        copy_policy_from="string",
        defcon_level="string",
        description="string",
        matrix_policy_type="string",
        name="string")
    
    const matrixResource = new ise.trustsec.Matrix("matrixResource", {
        copyPolicyFrom: "string",
        defconLevel: "string",
        description: "string",
        matrixPolicyType: "string",
        name: "string",
    });
    
    type: ise:trustsec:Matrix
    properties:
        copyPolicyFrom: string
        defconLevel: string
        description: string
        matrixPolicyType: string
        name: string
    

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

    CopyPolicyFrom string
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    DefconLevel string
    DEFCON Level for the TrustSec Matrix

    • Choices: DEFCON1_CRITICAL, DEFCON2_SEVERE, DEFCON3_SUBSTANTIAL, DEFCON4_MODERATE, DEFCON5_NORMAL
    Description string
    Description of the TrustSec Matrix
    MatrixPolicyType string
    Trustsec Matrix Policy Type

    • Choices: TRAFFIC_STEERING_POLICY, TRUSTSEC_POLICY
    Name string
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    CopyPolicyFrom string
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    DefconLevel string
    DEFCON Level for the TrustSec Matrix

    • Choices: DEFCON1_CRITICAL, DEFCON2_SEVERE, DEFCON3_SUBSTANTIAL, DEFCON4_MODERATE, DEFCON5_NORMAL
    Description string
    Description of the TrustSec Matrix
    MatrixPolicyType string
    Trustsec Matrix Policy Type

    • Choices: TRAFFIC_STEERING_POLICY, TRUSTSEC_POLICY
    Name string
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    copyPolicyFrom String
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    defconLevel String
    DEFCON Level for the TrustSec Matrix

    • Choices: DEFCON1_CRITICAL, DEFCON2_SEVERE, DEFCON3_SUBSTANTIAL, DEFCON4_MODERATE, DEFCON5_NORMAL
    description String
    Description of the TrustSec Matrix
    matrixPolicyType String
    Trustsec Matrix Policy Type

    • Choices: TRAFFIC_STEERING_POLICY, TRUSTSEC_POLICY
    name String
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    copyPolicyFrom string
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    defconLevel string
    DEFCON Level for the TrustSec Matrix

    • Choices: DEFCON1_CRITICAL, DEFCON2_SEVERE, DEFCON3_SUBSTANTIAL, DEFCON4_MODERATE, DEFCON5_NORMAL
    description string
    Description of the TrustSec Matrix
    matrixPolicyType string
    Trustsec Matrix Policy Type

    • Choices: TRAFFIC_STEERING_POLICY, TRUSTSEC_POLICY
    name string
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    copy_policy_from str
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    defcon_level str
    DEFCON Level for the TrustSec Matrix

    • Choices: DEFCON1_CRITICAL, DEFCON2_SEVERE, DEFCON3_SUBSTANTIAL, DEFCON4_MODERATE, DEFCON5_NORMAL
    description str
    Description of the TrustSec Matrix
    matrix_policy_type str
    Trustsec Matrix Policy Type

    • Choices: TRAFFIC_STEERING_POLICY, TRUSTSEC_POLICY
    name str
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    copyPolicyFrom String
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    defconLevel String
    DEFCON Level for the TrustSec Matrix

    • Choices: DEFCON1_CRITICAL, DEFCON2_SEVERE, DEFCON3_SUBSTANTIAL, DEFCON4_MODERATE, DEFCON5_NORMAL
    description String
    Description of the TrustSec Matrix
    matrixPolicyType String
    Trustsec Matrix Policy Type

    • Choices: TRAFFIC_STEERING_POLICY, TRUSTSEC_POLICY
    name String
    The name of the TrustSec Matrix policy. Must be unique across all matrices.

    Outputs

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

    Get an existing Matrix 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?: MatrixState, opts?: CustomResourceOptions): Matrix
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            copy_policy_from: Optional[str] = None,
            defcon_level: Optional[str] = None,
            description: Optional[str] = None,
            matrix_policy_type: Optional[str] = None,
            name: Optional[str] = None) -> Matrix
    func GetMatrix(ctx *Context, name string, id IDInput, state *MatrixState, opts ...ResourceOption) (*Matrix, error)
    public static Matrix Get(string name, Input<string> id, MatrixState? state, CustomResourceOptions? opts = null)
    public static Matrix get(String name, Output<String> id, MatrixState state, CustomResourceOptions options)
    resources:  _:    type: ise:trustsec:Matrix    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.
    The following state arguments are supported:
    CopyPolicyFrom string
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    DefconLevel string
    DEFCON Level for the TrustSec Matrix

    • Choices: DEFCON1_CRITICAL, DEFCON2_SEVERE, DEFCON3_SUBSTANTIAL, DEFCON4_MODERATE, DEFCON5_NORMAL
    Description string
    Description of the TrustSec Matrix
    MatrixPolicyType string
    Trustsec Matrix Policy Type

    • Choices: TRAFFIC_STEERING_POLICY, TRUSTSEC_POLICY
    Name string
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    CopyPolicyFrom string
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    DefconLevel string
    DEFCON Level for the TrustSec Matrix

    • Choices: DEFCON1_CRITICAL, DEFCON2_SEVERE, DEFCON3_SUBSTANTIAL, DEFCON4_MODERATE, DEFCON5_NORMAL
    Description string
    Description of the TrustSec Matrix
    MatrixPolicyType string
    Trustsec Matrix Policy Type

    • Choices: TRAFFIC_STEERING_POLICY, TRUSTSEC_POLICY
    Name string
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    copyPolicyFrom String
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    defconLevel String
    DEFCON Level for the TrustSec Matrix

    • Choices: DEFCON1_CRITICAL, DEFCON2_SEVERE, DEFCON3_SUBSTANTIAL, DEFCON4_MODERATE, DEFCON5_NORMAL
    description String
    Description of the TrustSec Matrix
    matrixPolicyType String
    Trustsec Matrix Policy Type

    • Choices: TRAFFIC_STEERING_POLICY, TRUSTSEC_POLICY
    name String
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    copyPolicyFrom string
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    defconLevel string
    DEFCON Level for the TrustSec Matrix

    • Choices: DEFCON1_CRITICAL, DEFCON2_SEVERE, DEFCON3_SUBSTANTIAL, DEFCON4_MODERATE, DEFCON5_NORMAL
    description string
    Description of the TrustSec Matrix
    matrixPolicyType string
    Trustsec Matrix Policy Type

    • Choices: TRAFFIC_STEERING_POLICY, TRUSTSEC_POLICY
    name string
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    copy_policy_from str
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    defcon_level str
    DEFCON Level for the TrustSec Matrix

    • Choices: DEFCON1_CRITICAL, DEFCON2_SEVERE, DEFCON3_SUBSTANTIAL, DEFCON4_MODERATE, DEFCON5_NORMAL
    description str
    Description of the TrustSec Matrix
    matrix_policy_type str
    Trustsec Matrix Policy Type

    • Choices: TRAFFIC_STEERING_POLICY, TRUSTSEC_POLICY
    name str
    The name of the TrustSec Matrix policy. Must be unique across all matrices.
    copyPolicyFrom String
    Policy UUID from which the TrustSec Policies needs to be copied. The default value is empty means it will create a new Matrix without any policies
    defconLevel String
    DEFCON Level for the TrustSec Matrix

    • Choices: DEFCON1_CRITICAL, DEFCON2_SEVERE, DEFCON3_SUBSTANTIAL, DEFCON4_MODERATE, DEFCON5_NORMAL
    description String
    Description of the TrustSec Matrix
    matrixPolicyType String
    Trustsec Matrix Policy Type

    • Choices: TRAFFIC_STEERING_POLICY, TRUSTSEC_POLICY
    name String
    The name of the TrustSec Matrix policy. Must be unique across all matrices.

    Import

    The pulumi import command can be used, for example:

    $ pulumi import ise:trustsec/matrix:Matrix example "76d24097-41c4-4558-a4d0-a8c07ac08470"
    

    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.
    ise logo
    Viewing docs for Cisco ISE v0.3.0
    published on Saturday, Mar 7, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.