published on Tuesday, Mar 17, 2026 by lacework
published on Tuesday, Mar 17, 2026 by lacework
Create IntegrationAwsDspm Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationAwsDspm(name: string, args: IntegrationAwsDspmArgs, opts?: CustomResourceOptions);@overload
def IntegrationAwsDspm(resource_name: str,
args: IntegrationAwsDspmArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationAwsDspm(resource_name: str,
opts: Optional[ResourceOptions] = None,
credentials: Optional[IntegrationAwsDspmCredentialsArgs] = None,
regions: Optional[Sequence[str]] = None,
storage_bucket_arn: Optional[str] = None,
account_id: Optional[str] = None,
datastore_filters: Optional[IntegrationAwsDspmDatastoreFiltersArgs] = None,
integration_aws_dspm_id: Optional[str] = None,
max_file_size_mb: Optional[float] = None,
name: Optional[str] = None,
retries: Optional[float] = None,
scan_frequency_hours: Optional[float] = None)func NewIntegrationAwsDspm(ctx *Context, name string, args IntegrationAwsDspmArgs, opts ...ResourceOption) (*IntegrationAwsDspm, error)public IntegrationAwsDspm(string name, IntegrationAwsDspmArgs args, CustomResourceOptions? opts = null)
public IntegrationAwsDspm(String name, IntegrationAwsDspmArgs args)
public IntegrationAwsDspm(String name, IntegrationAwsDspmArgs args, CustomResourceOptions options)
type: lacework:IntegrationAwsDspm
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 IntegrationAwsDspmArgs
- 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 IntegrationAwsDspmArgs
- 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 IntegrationAwsDspmArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationAwsDspmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationAwsDspmArgs
- 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 integrationAwsDspmResource = new Lacework.IntegrationAwsDspm("integrationAwsDspmResource", new()
{
Credentials = new Lacework.Inputs.IntegrationAwsDspmCredentialsArgs
{
ExternalId = "string",
RoleArn = "string",
},
Regions = new[]
{
"string",
},
StorageBucketArn = "string",
AccountId = "string",
DatastoreFilters = new Lacework.Inputs.IntegrationAwsDspmDatastoreFiltersArgs
{
FilterMode = "string",
DatastoreNames = new[]
{
"string",
},
},
IntegrationAwsDspmId = "string",
MaxFileSizeMb = 0,
Name = "string",
Retries = 0,
ScanFrequencyHours = 0,
});
example, err := lacework.NewIntegrationAwsDspm(ctx, "integrationAwsDspmResource", &lacework.IntegrationAwsDspmArgs{
Credentials: &lacework.IntegrationAwsDspmCredentialsArgs{
ExternalId: pulumi.String("string"),
RoleArn: pulumi.String("string"),
},
Regions: pulumi.StringArray{
pulumi.String("string"),
},
StorageBucketArn: pulumi.String("string"),
AccountId: pulumi.String("string"),
DatastoreFilters: &lacework.IntegrationAwsDspmDatastoreFiltersArgs{
FilterMode: pulumi.String("string"),
DatastoreNames: pulumi.StringArray{
pulumi.String("string"),
},
},
IntegrationAwsDspmId: pulumi.String("string"),
MaxFileSizeMb: pulumi.Float64(0),
Name: pulumi.String("string"),
Retries: pulumi.Float64(0),
ScanFrequencyHours: pulumi.Float64(0),
})
var integrationAwsDspmResource = new IntegrationAwsDspm("integrationAwsDspmResource", IntegrationAwsDspmArgs.builder()
.credentials(IntegrationAwsDspmCredentialsArgs.builder()
.externalId("string")
.roleArn("string")
.build())
.regions("string")
.storageBucketArn("string")
.accountId("string")
.datastoreFilters(IntegrationAwsDspmDatastoreFiltersArgs.builder()
.filterMode("string")
.datastoreNames("string")
.build())
.integrationAwsDspmId("string")
.maxFileSizeMb(0.0)
.name("string")
.retries(0.0)
.scanFrequencyHours(0.0)
.build());
integration_aws_dspm_resource = lacework.IntegrationAwsDspm("integrationAwsDspmResource",
credentials={
"external_id": "string",
"role_arn": "string",
},
regions=["string"],
storage_bucket_arn="string",
account_id="string",
datastore_filters={
"filter_mode": "string",
"datastore_names": ["string"],
},
integration_aws_dspm_id="string",
max_file_size_mb=0,
name="string",
retries=0,
scan_frequency_hours=0)
const integrationAwsDspmResource = new lacework.IntegrationAwsDspm("integrationAwsDspmResource", {
credentials: {
externalId: "string",
roleArn: "string",
},
regions: ["string"],
storageBucketArn: "string",
accountId: "string",
datastoreFilters: {
filterMode: "string",
datastoreNames: ["string"],
},
integrationAwsDspmId: "string",
maxFileSizeMb: 0,
name: "string",
retries: 0,
scanFrequencyHours: 0,
});
type: lacework:IntegrationAwsDspm
properties:
accountId: string
credentials:
externalId: string
roleArn: string
datastoreFilters:
datastoreNames:
- string
filterMode: string
integrationAwsDspmId: string
maxFileSizeMb: 0
name: string
regions:
- string
retries: 0
scanFrequencyHours: 0
storageBucketArn: string
IntegrationAwsDspm 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 IntegrationAwsDspm resource accepts the following input properties:
- Credentials
Integration
Aws Dspm Credentials - The credentials needed by the integration.
- Regions List<string>
- The regions where the DSPM scanner is deployed.
- Storage
Bucket stringArn - The ARN of the s3 bucket where the DSPM scanner writes results and state.
- Account
Id string - The ID of the AWS account where the DSPM scanner is deployed.
- Datastore
Filters IntegrationAws Dspm Datastore Filters - Filter which datastores are scanned.
- Integration
Aws stringDspm Id - Max
File doubleSize Mb - Maximum file size to scan, in megabytes.
- Name string
- The name of the FortiCNAPP DSPM integration.
- Retries double
- The number of attempts to create the external integration.
- Scan
Frequency doubleHours - How often to scan, in hours.
- Credentials
Integration
Aws Dspm Credentials Args - The credentials needed by the integration.
- Regions []string
- The regions where the DSPM scanner is deployed.
- Storage
Bucket stringArn - The ARN of the s3 bucket where the DSPM scanner writes results and state.
- Account
Id string - The ID of the AWS account where the DSPM scanner is deployed.
- Datastore
Filters IntegrationAws Dspm Datastore Filters Args - Filter which datastores are scanned.
- Integration
Aws stringDspm Id - Max
File float64Size Mb - Maximum file size to scan, in megabytes.
- Name string
- The name of the FortiCNAPP DSPM integration.
- Retries float64
- The number of attempts to create the external integration.
- Scan
Frequency float64Hours - How often to scan, in hours.
- credentials
Integration
Aws Dspm Credentials - The credentials needed by the integration.
- regions List<String>
- The regions where the DSPM scanner is deployed.
- storage
Bucket StringArn - The ARN of the s3 bucket where the DSPM scanner writes results and state.
- account
Id String - The ID of the AWS account where the DSPM scanner is deployed.
- datastore
Filters IntegrationAws Dspm Datastore Filters - Filter which datastores are scanned.
- integration
Aws StringDspm Id - max
File DoubleSize Mb - Maximum file size to scan, in megabytes.
- name String
- The name of the FortiCNAPP DSPM integration.
- retries Double
- The number of attempts to create the external integration.
- scan
Frequency DoubleHours - How often to scan, in hours.
- credentials
Integration
Aws Dspm Credentials - The credentials needed by the integration.
- regions string[]
- The regions where the DSPM scanner is deployed.
- storage
Bucket stringArn - The ARN of the s3 bucket where the DSPM scanner writes results and state.
- account
Id string - The ID of the AWS account where the DSPM scanner is deployed.
- datastore
Filters IntegrationAws Dspm Datastore Filters - Filter which datastores are scanned.
- integration
Aws stringDspm Id - max
File numberSize Mb - Maximum file size to scan, in megabytes.
- name string
- The name of the FortiCNAPP DSPM integration.
- retries number
- The number of attempts to create the external integration.
- scan
Frequency numberHours - How often to scan, in hours.
- credentials
Integration
Aws Dspm Credentials Args - The credentials needed by the integration.
- regions Sequence[str]
- The regions where the DSPM scanner is deployed.
- storage_
bucket_ strarn - The ARN of the s3 bucket where the DSPM scanner writes results and state.
- account_
id str - The ID of the AWS account where the DSPM scanner is deployed.
- datastore_
filters IntegrationAws Dspm Datastore Filters Args - Filter which datastores are scanned.
- integration_
aws_ strdspm_ id - max_
file_ floatsize_ mb - Maximum file size to scan, in megabytes.
- name str
- The name of the FortiCNAPP DSPM integration.
- retries float
- The number of attempts to create the external integration.
- scan_
frequency_ floathours - How often to scan, in hours.
- credentials Property Map
- The credentials needed by the integration.
- regions List<String>
- The regions where the DSPM scanner is deployed.
- storage
Bucket StringArn - The ARN of the s3 bucket where the DSPM scanner writes results and state.
- account
Id String - The ID of the AWS account where the DSPM scanner is deployed.
- datastore
Filters Property Map - Filter which datastores are scanned.
- integration
Aws StringDspm Id - max
File NumberSize Mb - Maximum file size to scan, in megabytes.
- name String
- The name of the FortiCNAPP DSPM integration.
- retries Number
- The number of attempts to create the external integration.
- scan
Frequency NumberHours - How often to scan, in hours.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationAwsDspm resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Integration
Guid string - Server
Token string
- Id string
- The provider-assigned unique ID for this managed resource.
- Integration
Guid string - Server
Token string
- id String
- The provider-assigned unique ID for this managed resource.
- integration
Guid String - server
Token String
- id string
- The provider-assigned unique ID for this managed resource.
- integration
Guid string - server
Token string
- id str
- The provider-assigned unique ID for this managed resource.
- integration_
guid str - server_
token str
- id String
- The provider-assigned unique ID for this managed resource.
- integration
Guid String - server
Token String
Look up Existing IntegrationAwsDspm Resource
Get an existing IntegrationAwsDspm 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?: IntegrationAwsDspmState, opts?: CustomResourceOptions): IntegrationAwsDspm@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
credentials: Optional[IntegrationAwsDspmCredentialsArgs] = None,
datastore_filters: Optional[IntegrationAwsDspmDatastoreFiltersArgs] = None,
integration_aws_dspm_id: Optional[str] = None,
integration_guid: Optional[str] = None,
max_file_size_mb: Optional[float] = None,
name: Optional[str] = None,
regions: Optional[Sequence[str]] = None,
retries: Optional[float] = None,
scan_frequency_hours: Optional[float] = None,
server_token: Optional[str] = None,
storage_bucket_arn: Optional[str] = None) -> IntegrationAwsDspmfunc GetIntegrationAwsDspm(ctx *Context, name string, id IDInput, state *IntegrationAwsDspmState, opts ...ResourceOption) (*IntegrationAwsDspm, error)public static IntegrationAwsDspm Get(string name, Input<string> id, IntegrationAwsDspmState? state, CustomResourceOptions? opts = null)public static IntegrationAwsDspm get(String name, Output<String> id, IntegrationAwsDspmState state, CustomResourceOptions options)resources: _: type: lacework:IntegrationAwsDspm 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.
- Account
Id string - The ID of the AWS account where the DSPM scanner is deployed.
- Credentials
Integration
Aws Dspm Credentials - The credentials needed by the integration.
- Datastore
Filters IntegrationAws Dspm Datastore Filters - Filter which datastores are scanned.
- Integration
Aws stringDspm Id - Integration
Guid string - Max
File doubleSize Mb - Maximum file size to scan, in megabytes.
- Name string
- The name of the FortiCNAPP DSPM integration.
- Regions List<string>
- The regions where the DSPM scanner is deployed.
- Retries double
- The number of attempts to create the external integration.
- Scan
Frequency doubleHours - How often to scan, in hours.
- Server
Token string - Storage
Bucket stringArn - The ARN of the s3 bucket where the DSPM scanner writes results and state.
- Account
Id string - The ID of the AWS account where the DSPM scanner is deployed.
- Credentials
Integration
Aws Dspm Credentials Args - The credentials needed by the integration.
- Datastore
Filters IntegrationAws Dspm Datastore Filters Args - Filter which datastores are scanned.
- Integration
Aws stringDspm Id - Integration
Guid string - Max
File float64Size Mb - Maximum file size to scan, in megabytes.
- Name string
- The name of the FortiCNAPP DSPM integration.
- Regions []string
- The regions where the DSPM scanner is deployed.
- Retries float64
- The number of attempts to create the external integration.
- Scan
Frequency float64Hours - How often to scan, in hours.
- Server
Token string - Storage
Bucket stringArn - The ARN of the s3 bucket where the DSPM scanner writes results and state.
- account
Id String - The ID of the AWS account where the DSPM scanner is deployed.
- credentials
Integration
Aws Dspm Credentials - The credentials needed by the integration.
- datastore
Filters IntegrationAws Dspm Datastore Filters - Filter which datastores are scanned.
- integration
Aws StringDspm Id - integration
Guid String - max
File DoubleSize Mb - Maximum file size to scan, in megabytes.
- name String
- The name of the FortiCNAPP DSPM integration.
- regions List<String>
- The regions where the DSPM scanner is deployed.
- retries Double
- The number of attempts to create the external integration.
- scan
Frequency DoubleHours - How often to scan, in hours.
- server
Token String - storage
Bucket StringArn - The ARN of the s3 bucket where the DSPM scanner writes results and state.
- account
Id string - The ID of the AWS account where the DSPM scanner is deployed.
- credentials
Integration
Aws Dspm Credentials - The credentials needed by the integration.
- datastore
Filters IntegrationAws Dspm Datastore Filters - Filter which datastores are scanned.
- integration
Aws stringDspm Id - integration
Guid string - max
File numberSize Mb - Maximum file size to scan, in megabytes.
- name string
- The name of the FortiCNAPP DSPM integration.
- regions string[]
- The regions where the DSPM scanner is deployed.
- retries number
- The number of attempts to create the external integration.
- scan
Frequency numberHours - How often to scan, in hours.
- server
Token string - storage
Bucket stringArn - The ARN of the s3 bucket where the DSPM scanner writes results and state.
- account_
id str - The ID of the AWS account where the DSPM scanner is deployed.
- credentials
Integration
Aws Dspm Credentials Args - The credentials needed by the integration.
- datastore_
filters IntegrationAws Dspm Datastore Filters Args - Filter which datastores are scanned.
- integration_
aws_ strdspm_ id - integration_
guid str - max_
file_ floatsize_ mb - Maximum file size to scan, in megabytes.
- name str
- The name of the FortiCNAPP DSPM integration.
- regions Sequence[str]
- The regions where the DSPM scanner is deployed.
- retries float
- The number of attempts to create the external integration.
- scan_
frequency_ floathours - How often to scan, in hours.
- server_
token str - storage_
bucket_ strarn - The ARN of the s3 bucket where the DSPM scanner writes results and state.
- account
Id String - The ID of the AWS account where the DSPM scanner is deployed.
- credentials Property Map
- The credentials needed by the integration.
- datastore
Filters Property Map - Filter which datastores are scanned.
- integration
Aws StringDspm Id - integration
Guid String - max
File NumberSize Mb - Maximum file size to scan, in megabytes.
- name String
- The name of the FortiCNAPP DSPM integration.
- regions List<String>
- The regions where the DSPM scanner is deployed.
- retries Number
- The number of attempts to create the external integration.
- scan
Frequency NumberHours - How often to scan, in hours.
- server
Token String - storage
Bucket StringArn - The ARN of the s3 bucket where the DSPM scanner writes results and state.
Supporting Types
IntegrationAwsDspmCredentials, IntegrationAwsDspmCredentialsArgs
- External
Id string - The external id.
- Role
Arn string - The ARN of the IAM role used by the DSPM .
- External
Id string - The external id.
- Role
Arn string - The ARN of the IAM role used by the DSPM .
- external
Id String - The external id.
- role
Arn String - The ARN of the IAM role used by the DSPM .
- external
Id string - The external id.
- role
Arn string - The ARN of the IAM role used by the DSPM .
- external_
id str - The external id.
- role_
arn str - The ARN of the IAM role used by the DSPM .
- external
Id String - The external id.
- role
Arn String - The ARN of the IAM role used by the DSPM .
IntegrationAwsDspmDatastoreFilters, IntegrationAwsDspmDatastoreFiltersArgs
- Filter
Mode string - Filter mode: 'include' or 'exclude'.
- Datastore
Names List<string> - List of datastore names to include or exclude. Required when filter_mode is 'INCLUDE' or 'EXCLUDE', must not be set when filter_mode is 'ALL'.
- Filter
Mode string - Filter mode: 'include' or 'exclude'.
- Datastore
Names []string - List of datastore names to include or exclude. Required when filter_mode is 'INCLUDE' or 'EXCLUDE', must not be set when filter_mode is 'ALL'.
- filter
Mode String - Filter mode: 'include' or 'exclude'.
- datastore
Names List<String> - List of datastore names to include or exclude. Required when filter_mode is 'INCLUDE' or 'EXCLUDE', must not be set when filter_mode is 'ALL'.
- filter
Mode string - Filter mode: 'include' or 'exclude'.
- datastore
Names string[] - List of datastore names to include or exclude. Required when filter_mode is 'INCLUDE' or 'EXCLUDE', must not be set when filter_mode is 'ALL'.
- filter_
mode str - Filter mode: 'include' or 'exclude'.
- datastore_
names Sequence[str] - List of datastore names to include or exclude. Required when filter_mode is 'INCLUDE' or 'EXCLUDE', must not be set when filter_mode is 'ALL'.
- filter
Mode String - Filter mode: 'include' or 'exclude'.
- datastore
Names List<String> - List of datastore names to include or exclude. Required when filter_mode is 'INCLUDE' or 'EXCLUDE', must not be set when filter_mode is 'ALL'.
Package Details
- Repository
- lacework lacework/terraform-provider-lacework
- License
- Notes
- This Pulumi package is based on the
laceworkTerraform Provider.
published on Tuesday, Mar 17, 2026 by lacework
