1. Packages
  2. Unifi
  3. API Docs
  4. setting
  5. SslInspection
Viewing docs for Unifi v0.2.0
published on Tuesday, Feb 17, 2026 by Pulumiverse
unifi logo
Viewing docs for Unifi v0.2.0
published on Tuesday, Feb 17, 2026 by Pulumiverse

    Manages SSL Inspection settings for a UniFi site. SSL inspection is a security feature that allows the UniFi Security Gateway (USG) to inspect encrypted traffic for security threats.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as unifi from "@pulumiverse/unifi";
    
    const example = new unifi.setting.SslInspection("example", {state: "advanced"});
    
    import pulumi
    import pulumiverse_unifi as unifi
    
    example = unifi.setting.SslInspection("example", state="advanced")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-unifi/sdk/go/unifi/setting"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := setting.NewSslInspection(ctx, "example", &setting.SslInspectionArgs{
    			State: pulumi.String("advanced"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Unifi = Pulumiverse.Unifi;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Unifi.Setting.SslInspection("example", new()
        {
            State = "advanced",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumiverse.unifi.setting.SslInspection;
    import com.pulumiverse.unifi.setting.SslInspectionArgs;
    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 SslInspection("example", SslInspectionArgs.builder()
                .state("advanced")
                .build());
    
        }
    }
    
    resources:
      example:
        type: unifi:setting:SslInspection
        properties:
          state: advanced
    

    Create SslInspection Resource

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

    Constructor syntax

    new SslInspection(name: string, args: SslInspectionArgs, opts?: CustomResourceOptions);
    @overload
    def SslInspection(resource_name: str,
                      args: SslInspectionArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def SslInspection(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      state: Optional[str] = None,
                      site: Optional[str] = None)
    func NewSslInspection(ctx *Context, name string, args SslInspectionArgs, opts ...ResourceOption) (*SslInspection, error)
    public SslInspection(string name, SslInspectionArgs args, CustomResourceOptions? opts = null)
    public SslInspection(String name, SslInspectionArgs args)
    public SslInspection(String name, SslInspectionArgs args, CustomResourceOptions options)
    
    type: unifi:setting:SslInspection
    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 SslInspectionArgs
    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 SslInspectionArgs
    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 SslInspectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SslInspectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SslInspectionArgs
    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 sslInspectionResource = new Unifi.Setting.SslInspection("sslInspectionResource", new()
    {
        State = "string",
        Site = "string",
    });
    
    example, err := setting.NewSslInspection(ctx, "sslInspectionResource", &setting.SslInspectionArgs{
    	State: pulumi.String("string"),
    	Site:  pulumi.String("string"),
    })
    
    var sslInspectionResource = new SslInspection("sslInspectionResource", SslInspectionArgs.builder()
        .state("string")
        .site("string")
        .build());
    
    ssl_inspection_resource = unifi.setting.SslInspection("sslInspectionResource",
        state="string",
        site="string")
    
    const sslInspectionResource = new unifi.setting.SslInspection("sslInspectionResource", {
        state: "string",
        site: "string",
    });
    
    type: unifi:setting:SslInspection
    properties:
        site: string
        state: string
    

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

    State string
    The mode of SSL inspection. Valid values are: off, simple, or advanced.
    Site string
    The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
    State string
    The mode of SSL inspection. Valid values are: off, simple, or advanced.
    Site string
    The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
    state String
    The mode of SSL inspection. Valid values are: off, simple, or advanced.
    site String
    The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
    state string
    The mode of SSL inspection. Valid values are: off, simple, or advanced.
    site string
    The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
    state str
    The mode of SSL inspection. Valid values are: off, simple, or advanced.
    site str
    The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
    state String
    The mode of SSL inspection. Valid values are: off, simple, or advanced.
    site String
    The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.

    Outputs

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

    Get an existing SslInspection 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?: SslInspectionState, opts?: CustomResourceOptions): SslInspection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            site: Optional[str] = None,
            state: Optional[str] = None) -> SslInspection
    func GetSslInspection(ctx *Context, name string, id IDInput, state *SslInspectionState, opts ...ResourceOption) (*SslInspection, error)
    public static SslInspection Get(string name, Input<string> id, SslInspectionState? state, CustomResourceOptions? opts = null)
    public static SslInspection get(String name, Output<String> id, SslInspectionState state, CustomResourceOptions options)
    resources:  _:    type: unifi:setting:SslInspection    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:
    Site string
    The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
    State string
    The mode of SSL inspection. Valid values are: off, simple, or advanced.
    Site string
    The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
    State string
    The mode of SSL inspection. Valid values are: off, simple, or advanced.
    site String
    The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
    state String
    The mode of SSL inspection. Valid values are: off, simple, or advanced.
    site string
    The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
    state string
    The mode of SSL inspection. Valid values are: off, simple, or advanced.
    site str
    The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
    state str
    The mode of SSL inspection. Valid values are: off, simple, or advanced.
    site String
    The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
    state String
    The mode of SSL inspection. Valid values are: off, simple, or advanced.

    Package Details

    Repository
    unifi pulumiverse/pulumi-unifi
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the unifi Terraform Provider.
    unifi logo
    Viewing docs for Unifi v0.2.0
    published on Tuesday, Feb 17, 2026 by Pulumiverse
      Try Pulumi Cloud free. Your team will thank you.