published on Wednesday, Sep 23, 2026 by lacework
published on Wednesday, Sep 23, 2026 by lacework
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as lacework from "@pulumi/lacework";
const usWest2 = new lacework.FortidspmDeploymentStatus("us_west_2", {
intgGuid: main.intgGuid,
deploymentId: main.deploymentId,
regions: [{
name: "us-west-2",
instanceId: scanEngineAwsInstance.id,
natGatewayPublicIp: nat.publicIp,
iamRoleArn: scanEngine.arn,
}],
});
import pulumi
import pulumi_lacework as lacework
us_west2 = lacework.FortidspmDeploymentStatus("us_west_2",
intg_guid=main["intgGuid"],
deployment_id=main["deploymentId"],
regions=[{
"name": "us-west-2",
"instance_id": scan_engine_aws_instance["id"],
"nat_gateway_public_ip": nat["publicIp"],
"iam_role_arn": scan_engine["arn"],
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/lacework/v2/lacework"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := lacework.NewFortidspmDeploymentStatus(ctx, "us_west_2", &lacework.FortidspmDeploymentStatusArgs{
IntgGuid: pulumi.Any(main.IntgGuid),
DeploymentId: pulumi.Any(main.DeploymentId),
Regions: lacework.FortidspmDeploymentStatusRegionArray{
&lacework.FortidspmDeploymentStatusRegionArgs{
Name: pulumi.String("us-west-2"),
InstanceId: pulumi.Any(scanEngineAwsInstance.Id),
NatGatewayPublicIp: pulumi.Any(nat.PublicIp),
IamRoleArn: pulumi.Any(scanEngine.Arn),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Lacework = Pulumi.Lacework;
return await Deployment.RunAsync(() =>
{
var usWest2 = new Lacework.FortidspmDeploymentStatus("us_west_2", new()
{
IntgGuid = main.IntgGuid,
DeploymentId = main.DeploymentId,
Regions = new[]
{
new Lacework.Inputs.FortidspmDeploymentStatusRegionArgs
{
Name = "us-west-2",
InstanceId = scanEngineAwsInstance.Id,
NatGatewayPublicIp = nat.PublicIp,
IamRoleArn = scanEngine.Arn,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.lacework.FortidspmDeploymentStatus;
import com.pulumi.lacework.FortidspmDeploymentStatusArgs;
import com.pulumi.lacework.inputs.FortidspmDeploymentStatusRegionArgs;
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 usWest2 = new FortidspmDeploymentStatus("usWest2", FortidspmDeploymentStatusArgs.builder()
.intgGuid(main.intgGuid())
.deploymentId(main.deploymentId())
.regions(FortidspmDeploymentStatusRegionArgs.builder()
.name("us-west-2")
.instanceId(scanEngineAwsInstance.id())
.natGatewayPublicIp(nat.publicIp())
.iamRoleArn(scanEngine.arn())
.build())
.build());
}
}
resources:
usWest2:
type: lacework:FortidspmDeploymentStatus
name: us_west_2
properties:
intgGuid: ${main.intgGuid}
deploymentId: ${main.deploymentId}
regions:
- name: us-west-2
instanceId: ${scanEngineAwsInstance.id}
natGatewayPublicIp: ${nat.publicIp}
iamRoleArn: ${scanEngine.arn}
Example coming soon!
Create FortidspmDeploymentStatus Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FortidspmDeploymentStatus(name: string, args: FortidspmDeploymentStatusArgs, opts?: CustomResourceOptions);@overload
def FortidspmDeploymentStatus(resource_name: str,
args: FortidspmDeploymentStatusArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FortidspmDeploymentStatus(resource_name: str,
opts: Optional[ResourceOptions] = None,
deployment_id: Optional[str] = None,
intg_guid: Optional[str] = None,
regions: Optional[Sequence[FortidspmDeploymentStatusRegionArgs]] = None,
error_message: Optional[str] = None,
error_phase: Optional[str] = None,
fortidspm_deployment_status_id: Optional[str] = None,
status: Optional[str] = None)func NewFortidspmDeploymentStatus(ctx *Context, name string, args FortidspmDeploymentStatusArgs, opts ...ResourceOption) (*FortidspmDeploymentStatus, error)public FortidspmDeploymentStatus(string name, FortidspmDeploymentStatusArgs args, CustomResourceOptions? opts = null)
public FortidspmDeploymentStatus(String name, FortidspmDeploymentStatusArgs args)
public FortidspmDeploymentStatus(String name, FortidspmDeploymentStatusArgs args, CustomResourceOptions options)
type: lacework:FortidspmDeploymentStatus
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "lacework_fortidspm_deployment_status" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FortidspmDeploymentStatusArgs
- 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 FortidspmDeploymentStatusArgs
- 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 FortidspmDeploymentStatusArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FortidspmDeploymentStatusArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FortidspmDeploymentStatusArgs
- 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 fortidspmDeploymentStatusResource = new Lacework.FortidspmDeploymentStatus("fortidspmDeploymentStatusResource", new()
{
DeploymentId = "string",
IntgGuid = "string",
Regions = new[]
{
new Lacework.Inputs.FortidspmDeploymentStatusRegionArgs
{
Name = "string",
IamRoleArn = "string",
IdentityPrincipalId = "string",
InstanceId = "string",
NatGatewayPublicIp = "string",
PrivateIp = "string",
Status = "string",
},
},
ErrorMessage = "string",
ErrorPhase = "string",
FortidspmDeploymentStatusId = "string",
Status = "string",
});
example, err := lacework.NewFortidspmDeploymentStatus(ctx, "fortidspmDeploymentStatusResource", &lacework.FortidspmDeploymentStatusArgs{
DeploymentId: pulumi.String("string"),
IntgGuid: pulumi.String("string"),
Regions: lacework.FortidspmDeploymentStatusRegionArray{
&lacework.FortidspmDeploymentStatusRegionArgs{
Name: pulumi.String("string"),
IamRoleArn: pulumi.String("string"),
IdentityPrincipalId: pulumi.String("string"),
InstanceId: pulumi.String("string"),
NatGatewayPublicIp: pulumi.String("string"),
PrivateIp: pulumi.String("string"),
Status: pulumi.String("string"),
},
},
ErrorMessage: pulumi.String("string"),
ErrorPhase: pulumi.String("string"),
FortidspmDeploymentStatusId: pulumi.String("string"),
Status: pulumi.String("string"),
})
resource "lacework_fortidspm_deployment_status" "fortidspmDeploymentStatusResource" {
lifecycle {
create_before_destroy = true
}
deployment_id = "string"
intg_guid = "string"
regions {
name = "string"
iam_role_arn = "string"
identity_principal_id = "string"
instance_id = "string"
nat_gateway_public_ip = "string"
private_ip = "string"
status = "string"
}
error_message = "string"
error_phase = "string"
fortidspm_deployment_status_id = "string"
status = "string"
}
var fortidspmDeploymentStatusResource = new FortidspmDeploymentStatus("fortidspmDeploymentStatusResource", FortidspmDeploymentStatusArgs.builder()
.deploymentId("string")
.intgGuid("string")
.regions(FortidspmDeploymentStatusRegionArgs.builder()
.name("string")
.iamRoleArn("string")
.identityPrincipalId("string")
.instanceId("string")
.natGatewayPublicIp("string")
.privateIp("string")
.status("string")
.build())
.errorMessage("string")
.errorPhase("string")
.fortidspmDeploymentStatusId("string")
.status("string")
.build());
fortidspm_deployment_status_resource = lacework.FortidspmDeploymentStatus("fortidspmDeploymentStatusResource",
deployment_id="string",
intg_guid="string",
regions=[{
"name": "string",
"iam_role_arn": "string",
"identity_principal_id": "string",
"instance_id": "string",
"nat_gateway_public_ip": "string",
"private_ip": "string",
"status": "string",
}],
error_message="string",
error_phase="string",
fortidspm_deployment_status_id="string",
status="string")
const fortidspmDeploymentStatusResource = new lacework.FortidspmDeploymentStatus("fortidspmDeploymentStatusResource", {
deploymentId: "string",
intgGuid: "string",
regions: [{
name: "string",
iamRoleArn: "string",
identityPrincipalId: "string",
instanceId: "string",
natGatewayPublicIp: "string",
privateIp: "string",
status: "string",
}],
errorMessage: "string",
errorPhase: "string",
fortidspmDeploymentStatusId: "string",
status: "string",
});
type: lacework:FortidspmDeploymentStatus
properties:
deploymentId: string
errorMessage: string
errorPhase: string
fortidspmDeploymentStatusId: string
intgGuid: string
regions:
- iamRoleArn: string
identityPrincipalId: string
instanceId: string
name: string
natGatewayPublicIp: string
privateIp: string
status: string
status: string
FortidspmDeploymentStatus 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 FortidspmDeploymentStatus resource accepts the following input properties:
- Deployment
Id string - The FortiDSPM deployment id.
- Intg
Guid string - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- Regions
List<Fortidspm
Deployment Status Region> - One or more blocks:
- Error
Message string - Error
Phase string - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - Fortidspm
Deployment stringStatus Id - Status string
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
- Deployment
Id string - The FortiDSPM deployment id.
- Intg
Guid string - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- Regions
[]Fortidspm
Deployment Status Region Args - One or more blocks:
- Error
Message string - Error
Phase string - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - Fortidspm
Deployment stringStatus Id - Status string
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
- deployment_
id string - The FortiDSPM deployment id.
- intg_
guid string - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- regions list(object)
- One or more blocks:
- error_
message string - error_
phase string - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - fortidspm_
deployment_ stringstatus_ id - status string
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
- deployment
Id String - The FortiDSPM deployment id.
- intg
Guid String - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- regions
List<Fortidspm
Deployment Status Region> - One or more blocks:
- error
Message String - error
Phase String - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - fortidspm
Deployment StringStatus Id - status String
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
- deployment
Id string - The FortiDSPM deployment id.
- intg
Guid string - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- regions
Fortidspm
Deployment Status Region[] - One or more blocks:
- error
Message string - error
Phase string - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - fortidspm
Deployment stringStatus Id - status string
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
- deployment_
id str - The FortiDSPM deployment id.
- intg_
guid str - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- regions
Sequence[Fortidspm
Deployment Status Region Args] - One or more blocks:
- error_
message str - error_
phase str - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - fortidspm_
deployment_ strstatus_ id - status str
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
- deployment
Id String - The FortiDSPM deployment id.
- intg
Guid String - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- regions List<Property Map>
- One or more blocks:
- error
Message String - error
Phase String - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - fortidspm
Deployment StringStatus Id - status String
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
Outputs
All input properties are implicitly available as output properties. Additionally, the FortidspmDeploymentStatus 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 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 FortidspmDeploymentStatus Resource
Get an existing FortidspmDeploymentStatus 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?: FortidspmDeploymentStatusState, opts?: CustomResourceOptions): FortidspmDeploymentStatus@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
deployment_id: Optional[str] = None,
error_message: Optional[str] = None,
error_phase: Optional[str] = None,
fortidspm_deployment_status_id: Optional[str] = None,
intg_guid: Optional[str] = None,
regions: Optional[Sequence[FortidspmDeploymentStatusRegionArgs]] = None,
status: Optional[str] = None) -> FortidspmDeploymentStatusfunc GetFortidspmDeploymentStatus(ctx *Context, name string, id IDInput, state *FortidspmDeploymentStatusState, opts ...ResourceOption) (*FortidspmDeploymentStatus, error)public static FortidspmDeploymentStatus Get(string name, Input<string> id, FortidspmDeploymentStatusState? state, CustomResourceOptions? opts = null)public static FortidspmDeploymentStatus get(String name, Output<String> id, FortidspmDeploymentStatusState state, CustomResourceOptions options)resources: _: type: lacework:FortidspmDeploymentStatus get: id: ${id}import {
to = lacework_fortidspm_deployment_status.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.
- Deployment
Id string - The FortiDSPM deployment id.
- Error
Message string - Error
Phase string - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - Fortidspm
Deployment stringStatus Id - Intg
Guid string - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- Regions
List<Fortidspm
Deployment Status Region> - One or more blocks:
- Status string
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
- Deployment
Id string - The FortiDSPM deployment id.
- Error
Message string - Error
Phase string - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - Fortidspm
Deployment stringStatus Id - Intg
Guid string - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- Regions
[]Fortidspm
Deployment Status Region Args - One or more blocks:
- Status string
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
- deployment_
id string - The FortiDSPM deployment id.
- error_
message string - error_
phase string - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - fortidspm_
deployment_ stringstatus_ id - intg_
guid string - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- regions list(object)
- One or more blocks:
- status string
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
- deployment
Id String - The FortiDSPM deployment id.
- error
Message String - error
Phase String - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - fortidspm
Deployment StringStatus Id - intg
Guid String - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- regions
List<Fortidspm
Deployment Status Region> - One or more blocks:
- status String
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
- deployment
Id string - The FortiDSPM deployment id.
- error
Message string - error
Phase string - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - fortidspm
Deployment stringStatus Id - intg
Guid string - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- regions
Fortidspm
Deployment Status Region[] - One or more blocks:
- status string
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
- deployment_
id str - The FortiDSPM deployment id.
- error_
message str - error_
phase str - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - fortidspm_
deployment_ strstatus_ id - intg_
guid str - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- regions
Sequence[Fortidspm
Deployment Status Region Args] - One or more blocks:
- status str
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
- deployment
Id String - The FortiDSPM deployment id.
- error
Message String - error
Phase String - ,
error_message- (Optional) Failure details whenstatusis notsucceeded. - fortidspm
Deployment StringStatus Id - intg
Guid String - GUID of the FortiDSPM-managed DSPM integration. Changing this forces a new resource.
- regions List<Property Map>
- One or more blocks:
- status String
succeeded(default),failed,rolled_back,deleted_with_resourcesordeleted_orphaned.
Supporting Types
FortidspmDeploymentStatusRegion, FortidspmDeploymentStatusRegionArgs
- Name string
- The region.
- Iam
Role stringArn - Identity
Principal stringId - Principal id of the Azure managed identity attached to the scan engine.
- Instance
Id string - EC2 instance id or Azure VM resource id.
- Nat
Gateway stringPublic Ip - Private
Ip string - ,
nat_gateway_public_ip,iam_role_arn,identity_principal_id- (Optional) Resource details shown by FortiDSPM. - Status string
succeeded(default) orfailed.
- Name string
- The region.
- Iam
Role stringArn - Identity
Principal stringId - Principal id of the Azure managed identity attached to the scan engine.
- Instance
Id string - EC2 instance id or Azure VM resource id.
- Nat
Gateway stringPublic Ip - Private
Ip string - ,
nat_gateway_public_ip,iam_role_arn,identity_principal_id- (Optional) Resource details shown by FortiDSPM. - Status string
succeeded(default) orfailed.
- name string
- The region.
- iam_
role_ stringarn - identity_
principal_ stringid - Principal id of the Azure managed identity attached to the scan engine.
- instance_
id string - EC2 instance id or Azure VM resource id.
- nat_
gateway_ stringpublic_ ip - private_
ip string - ,
nat_gateway_public_ip,iam_role_arn,identity_principal_id- (Optional) Resource details shown by FortiDSPM. - status string
succeeded(default) orfailed.
- name String
- The region.
- iam
Role StringArn - identity
Principal StringId - Principal id of the Azure managed identity attached to the scan engine.
- instance
Id String - EC2 instance id or Azure VM resource id.
- nat
Gateway StringPublic Ip - private
Ip String - ,
nat_gateway_public_ip,iam_role_arn,identity_principal_id- (Optional) Resource details shown by FortiDSPM. - status String
succeeded(default) orfailed.
- name string
- The region.
- iam
Role stringArn - identity
Principal stringId - Principal id of the Azure managed identity attached to the scan engine.
- instance
Id string - EC2 instance id or Azure VM resource id.
- nat
Gateway stringPublic Ip - private
Ip string - ,
nat_gateway_public_ip,iam_role_arn,identity_principal_id- (Optional) Resource details shown by FortiDSPM. - status string
succeeded(default) orfailed.
- name str
- The region.
- iam_
role_ strarn - identity_
principal_ strid - Principal id of the Azure managed identity attached to the scan engine.
- instance_
id str - EC2 instance id or Azure VM resource id.
- nat_
gateway_ strpublic_ ip - private_
ip str - ,
nat_gateway_public_ip,iam_role_arn,identity_principal_id- (Optional) Resource details shown by FortiDSPM. - status str
succeeded(default) orfailed.
- name String
- The region.
- iam
Role StringArn - identity
Principal StringId - Principal id of the Azure managed identity attached to the scan engine.
- instance
Id String - EC2 instance id or Azure VM resource id.
- nat
Gateway StringPublic Ip - private
Ip String - ,
nat_gateway_public_ip,iam_role_arn,identity_principal_id- (Optional) Resource details shown by FortiDSPM. - status String
succeeded(default) orfailed.
Package Details
- Repository
- lacework lacework/terraform-provider-lacework
- License
- Notes
- This Pulumi package is based on the
laceworkTerraform Provider.
published on Wednesday, Sep 23, 2026 by lacework