1. Packages
  2. Packages
  3. Checkpoint Provider
  4. API Docs
  5. ManagementTestAiGuardApiKey
Viewing docs for checkpoint 3.3.0
published on Thursday, Jul 30, 2026 by checkpointsw
Viewing docs for checkpoint 3.3.0
published on Thursday, Jul 30, 2026 by checkpointsw

    This resource allows you to execute Check Point Test Ai Guard Api Key.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const example = new checkpoint.ManagementTestAiGuardApiKey("example", {});
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    example = checkpoint.ManagementTestAiGuardApiKey("example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v3/checkpoint"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := checkpoint.NewManagementTestAiGuardApiKey(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkpoint = Pulumi.Checkpoint;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Checkpoint.ManagementTestAiGuardApiKey("example");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.ManagementTestAiGuardApiKey;
    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 ManagementTestAiGuardApiKey("example");
    
        }
    }
    
    resources:
      example:
        type: checkpoint:ManagementTestAiGuardApiKey
    
    Example coming soon!
    

    Create ManagementTestAiGuardApiKey Resource

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

    Constructor syntax

    new ManagementTestAiGuardApiKey(name: string, args?: ManagementTestAiGuardApiKeyArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementTestAiGuardApiKey(resource_name: str,
                                    args: Optional[ManagementTestAiGuardApiKeyArgs] = None,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementTestAiGuardApiKey(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    management_test_ai_guard_api_key_id: Optional[str] = None,
                                    project_id: Optional[str] = None)
    func NewManagementTestAiGuardApiKey(ctx *Context, name string, args *ManagementTestAiGuardApiKeyArgs, opts ...ResourceOption) (*ManagementTestAiGuardApiKey, error)
    public ManagementTestAiGuardApiKey(string name, ManagementTestAiGuardApiKeyArgs? args = null, CustomResourceOptions? opts = null)
    public ManagementTestAiGuardApiKey(String name, ManagementTestAiGuardApiKeyArgs args)
    public ManagementTestAiGuardApiKey(String name, ManagementTestAiGuardApiKeyArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementTestAiGuardApiKey
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "checkpoint_management_test_ai_guard_api_key" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ManagementTestAiGuardApiKeyArgs
    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 ManagementTestAiGuardApiKeyArgs
    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 ManagementTestAiGuardApiKeyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementTestAiGuardApiKeyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementTestAiGuardApiKeyArgs
    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 managementTestAiGuardApiKeyResource = new Checkpoint.ManagementTestAiGuardApiKey("managementTestAiGuardApiKeyResource", new()
    {
        ManagementTestAiGuardApiKeyId = "string",
        ProjectId = "string",
    });
    
    example, err := checkpoint.NewManagementTestAiGuardApiKey(ctx, "managementTestAiGuardApiKeyResource", &checkpoint.ManagementTestAiGuardApiKeyArgs{
    	ManagementTestAiGuardApiKeyId: pulumi.String("string"),
    	ProjectId:                     pulumi.String("string"),
    })
    
    resource "checkpoint_management_test_ai_guard_api_key" "managementTestAiGuardApiKeyResource" {
      lifecycle {
        create_before_destroy = true
      }
      management_test_ai_guard_api_key_id = "string"
      project_id                          = "string"
    }
    
    var managementTestAiGuardApiKeyResource = new ManagementTestAiGuardApiKey("managementTestAiGuardApiKeyResource", ManagementTestAiGuardApiKeyArgs.builder()
        .managementTestAiGuardApiKeyId("string")
        .projectId("string")
        .build());
    
    management_test_ai_guard_api_key_resource = checkpoint.ManagementTestAiGuardApiKey("managementTestAiGuardApiKeyResource",
        management_test_ai_guard_api_key_id="string",
        project_id="string")
    
    const managementTestAiGuardApiKeyResource = new checkpoint.ManagementTestAiGuardApiKey("managementTestAiGuardApiKeyResource", {
        managementTestAiGuardApiKeyId: "string",
        projectId: "string",
    });
    
    type: checkpoint:ManagementTestAiGuardApiKey
    properties:
        managementTestAiGuardApiKeyId: string
        projectId: string
    

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

    ManagementTestAiGuardApiKeyId string
    ProjectId string
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    ManagementTestAiGuardApiKeyId string
    ProjectId string
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    management_test_ai_guard_api_key_id string
    project_id string
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    managementTestAiGuardApiKeyId String
    projectId String
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    managementTestAiGuardApiKeyId string
    projectId string
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    management_test_ai_guard_api_key_id str
    project_id str
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    managementTestAiGuardApiKeyId String
    projectId String
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Message string
    Validation result message.
    Success bool
    Whether the API key (and optional project) is valid.
    Id string
    The provider-assigned unique ID for this managed resource.
    Message string
    Validation result message.
    Success bool
    Whether the API key (and optional project) is valid.
    id string
    The provider-assigned unique ID for this managed resource.
    message string
    Validation result message.
    success bool
    Whether the API key (and optional project) is valid.
    id String
    The provider-assigned unique ID for this managed resource.
    message String
    Validation result message.
    success Boolean
    Whether the API key (and optional project) is valid.
    id string
    The provider-assigned unique ID for this managed resource.
    message string
    Validation result message.
    success boolean
    Whether the API key (and optional project) is valid.
    id str
    The provider-assigned unique ID for this managed resource.
    message str
    Validation result message.
    success bool
    Whether the API key (and optional project) is valid.
    id String
    The provider-assigned unique ID for this managed resource.
    message String
    Validation result message.
    success Boolean
    Whether the API key (and optional project) is valid.

    Look up Existing ManagementTestAiGuardApiKey Resource

    Get an existing ManagementTestAiGuardApiKey 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?: ManagementTestAiGuardApiKeyState, opts?: CustomResourceOptions): ManagementTestAiGuardApiKey
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            management_test_ai_guard_api_key_id: Optional[str] = None,
            message: Optional[str] = None,
            project_id: Optional[str] = None,
            success: Optional[bool] = None) -> ManagementTestAiGuardApiKey
    func GetManagementTestAiGuardApiKey(ctx *Context, name string, id IDInput, state *ManagementTestAiGuardApiKeyState, opts ...ResourceOption) (*ManagementTestAiGuardApiKey, error)
    public static ManagementTestAiGuardApiKey Get(string name, Input<string> id, ManagementTestAiGuardApiKeyState? state, CustomResourceOptions? opts = null)
    public static ManagementTestAiGuardApiKey get(String name, Output<String> id, ManagementTestAiGuardApiKeyState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementTestAiGuardApiKey    get:      id: ${id}
    import {
      to = checkpoint_management_test_ai_guard_api_key.example
      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:
    ManagementTestAiGuardApiKeyId string
    Message string
    Validation result message.
    ProjectId string
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    Success bool
    Whether the API key (and optional project) is valid.
    ManagementTestAiGuardApiKeyId string
    Message string
    Validation result message.
    ProjectId string
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    Success bool
    Whether the API key (and optional project) is valid.
    management_test_ai_guard_api_key_id string
    message string
    Validation result message.
    project_id string
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    success bool
    Whether the API key (and optional project) is valid.
    managementTestAiGuardApiKeyId String
    message String
    Validation result message.
    projectId String
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    success Boolean
    Whether the API key (and optional project) is valid.
    managementTestAiGuardApiKeyId string
    message string
    Validation result message.
    projectId string
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    success boolean
    Whether the API key (and optional project) is valid.
    management_test_ai_guard_api_key_id str
    message str
    Validation result message.
    project_id str
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    success bool
    Whether the API key (and optional project) is valid.
    managementTestAiGuardApiKeyId String
    message String
    Validation result message.
    projectId String
    Optional Lakera project ID to validate. If provided, also verifies the project belongs to the API key.
    success Boolean
    Whether the API key (and optional project) is valid.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    Viewing docs for checkpoint 3.3.0
    published on Thursday, Jul 30, 2026 by checkpointsw

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial