1. Packages
  2. Lacework Provider
  3. API Docs
  4. IntegrationAwsDspm
lacework 2.1.1 published on Wednesday, Jan 28, 2026 by lacework
lacework logo
lacework 2.1.1 published on Wednesday, Jan 28, 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,
                           storage_bucket_arn: Optional[str] = None,
                           account_id: Optional[str] = None,
                           integration_aws_dspm_id: Optional[str] = None,
                           name: Optional[str] = None,
                           retries: 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",
        },
        StorageBucketArn = "string",
        AccountId = "string",
        IntegrationAwsDspmId = "string",
        Name = "string",
        Retries = 0,
    });
    
    example, err := lacework.NewIntegrationAwsDspm(ctx, "integrationAwsDspmResource", &lacework.IntegrationAwsDspmArgs{
    	Credentials: &lacework.IntegrationAwsDspmCredentialsArgs{
    		ExternalId: pulumi.String("string"),
    		RoleArn:    pulumi.String("string"),
    	},
    	StorageBucketArn:     pulumi.String("string"),
    	AccountId:            pulumi.String("string"),
    	IntegrationAwsDspmId: pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    	Retries:              pulumi.Float64(0),
    })
    
    var integrationAwsDspmResource = new IntegrationAwsDspm("integrationAwsDspmResource", IntegrationAwsDspmArgs.builder()
        .credentials(IntegrationAwsDspmCredentialsArgs.builder()
            .externalId("string")
            .roleArn("string")
            .build())
        .storageBucketArn("string")
        .accountId("string")
        .integrationAwsDspmId("string")
        .name("string")
        .retries(0.0)
        .build());
    
    integration_aws_dspm_resource = lacework.IntegrationAwsDspm("integrationAwsDspmResource",
        credentials={
            "external_id": "string",
            "role_arn": "string",
        },
        storage_bucket_arn="string",
        account_id="string",
        integration_aws_dspm_id="string",
        name="string",
        retries=0)
    
    const integrationAwsDspmResource = new lacework.IntegrationAwsDspm("integrationAwsDspmResource", {
        credentials: {
            externalId: "string",
            roleArn: "string",
        },
        storageBucketArn: "string",
        accountId: "string",
        integrationAwsDspmId: "string",
        name: "string",
        retries: 0,
    });
    
    type: lacework:IntegrationAwsDspm
    properties:
        accountId: string
        credentials:
            externalId: string
            roleArn: string
        integrationAwsDspmId: string
        name: string
        retries: 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 IntegrationAwsDspmCredentials
    The credentials needed by the integration.
    StorageBucketArn string
    The ARN of the s3 bucket where the DSPM scanner writes results and state.
    AccountId string
    The ID of the AWS account where the DSPM scanner is deployed.
    IntegrationAwsDspmId string
    Name string
    The name of the FortiCNAPP DSPM integration.
    Retries double
    The number of attempts to create the external integration.
    Credentials IntegrationAwsDspmCredentialsArgs
    The credentials needed by the integration.
    StorageBucketArn string
    The ARN of the s3 bucket where the DSPM scanner writes results and state.
    AccountId string
    The ID of the AWS account where the DSPM scanner is deployed.
    IntegrationAwsDspmId string
    Name string
    The name of the FortiCNAPP DSPM integration.
    Retries float64
    The number of attempts to create the external integration.
    credentials IntegrationAwsDspmCredentials
    The credentials needed by the integration.
    storageBucketArn String
    The ARN of the s3 bucket where the DSPM scanner writes results and state.
    accountId String
    The ID of the AWS account where the DSPM scanner is deployed.
    integrationAwsDspmId String
    name String
    The name of the FortiCNAPP DSPM integration.
    retries Double
    The number of attempts to create the external integration.
    credentials IntegrationAwsDspmCredentials
    The credentials needed by the integration.
    storageBucketArn string
    The ARN of the s3 bucket where the DSPM scanner writes results and state.
    accountId string
    The ID of the AWS account where the DSPM scanner is deployed.
    integrationAwsDspmId string
    name string
    The name of the FortiCNAPP DSPM integration.
    retries number
    The number of attempts to create the external integration.
    credentials IntegrationAwsDspmCredentialsArgs
    The credentials needed by the integration.
    storage_bucket_arn str
    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.
    integration_aws_dspm_id str
    name str
    The name of the FortiCNAPP DSPM integration.
    retries float
    The number of attempts to create the external integration.
    credentials Property Map
    The credentials needed by the integration.
    storageBucketArn String
    The ARN of the s3 bucket where the DSPM scanner writes results and state.
    accountId String
    The ID of the AWS account where the DSPM scanner is deployed.
    integrationAwsDspmId String
    name String
    The name of the FortiCNAPP DSPM integration.
    retries Number
    The number of attempts to create the external integration.

    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.
    IntegrationGuid string
    ServerToken string
    Id string
    The provider-assigned unique ID for this managed resource.
    IntegrationGuid string
    ServerToken string
    id String
    The provider-assigned unique ID for this managed resource.
    integrationGuid String
    serverToken String
    id string
    The provider-assigned unique ID for this managed resource.
    integrationGuid string
    serverToken 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.
    integrationGuid String
    serverToken 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,
            integration_aws_dspm_id: Optional[str] = None,
            integration_guid: Optional[str] = None,
            name: Optional[str] = None,
            retries: Optional[float] = None,
            server_token: Optional[str] = None,
            storage_bucket_arn: Optional[str] = None) -> IntegrationAwsDspm
    func 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.
    The following state arguments are supported:
    AccountId string
    The ID of the AWS account where the DSPM scanner is deployed.
    Credentials IntegrationAwsDspmCredentials
    The credentials needed by the integration.
    IntegrationAwsDspmId string
    IntegrationGuid string
    Name string
    The name of the FortiCNAPP DSPM integration.
    Retries double
    The number of attempts to create the external integration.
    ServerToken string
    StorageBucketArn string
    The ARN of the s3 bucket where the DSPM scanner writes results and state.
    AccountId string
    The ID of the AWS account where the DSPM scanner is deployed.
    Credentials IntegrationAwsDspmCredentialsArgs
    The credentials needed by the integration.
    IntegrationAwsDspmId string
    IntegrationGuid string
    Name string
    The name of the FortiCNAPP DSPM integration.
    Retries float64
    The number of attempts to create the external integration.
    ServerToken string
    StorageBucketArn string
    The ARN of the s3 bucket where the DSPM scanner writes results and state.
    accountId String
    The ID of the AWS account where the DSPM scanner is deployed.
    credentials IntegrationAwsDspmCredentials
    The credentials needed by the integration.
    integrationAwsDspmId String
    integrationGuid String
    name String
    The name of the FortiCNAPP DSPM integration.
    retries Double
    The number of attempts to create the external integration.
    serverToken String
    storageBucketArn String
    The ARN of the s3 bucket where the DSPM scanner writes results and state.
    accountId string
    The ID of the AWS account where the DSPM scanner is deployed.
    credentials IntegrationAwsDspmCredentials
    The credentials needed by the integration.
    integrationAwsDspmId string
    integrationGuid string
    name string
    The name of the FortiCNAPP DSPM integration.
    retries number
    The number of attempts to create the external integration.
    serverToken string
    storageBucketArn string
    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 IntegrationAwsDspmCredentialsArgs
    The credentials needed by the integration.
    integration_aws_dspm_id str
    integration_guid str
    name str
    The name of the FortiCNAPP DSPM integration.
    retries float
    The number of attempts to create the external integration.
    server_token str
    storage_bucket_arn str
    The ARN of the s3 bucket where the DSPM scanner writes results and state.
    accountId String
    The ID of the AWS account where the DSPM scanner is deployed.
    credentials Property Map
    The credentials needed by the integration.
    integrationAwsDspmId String
    integrationGuid String
    name String
    The name of the FortiCNAPP DSPM integration.
    retries Number
    The number of attempts to create the external integration.
    serverToken String
    storageBucketArn String
    The ARN of the s3 bucket where the DSPM scanner writes results and state.

    Supporting Types

    IntegrationAwsDspmCredentials, IntegrationAwsDspmCredentialsArgs

    ExternalId string
    The external id.
    RoleArn string
    The ARN of the IAM role used by the DSPM .
    ExternalId string
    The external id.
    RoleArn string
    The ARN of the IAM role used by the DSPM .
    externalId String
    The external id.
    roleArn String
    The ARN of the IAM role used by the DSPM .
    externalId string
    The external id.
    roleArn 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 .
    externalId String
    The external id.
    roleArn String
    The ARN of the IAM role used by the DSPM .

    Package Details

    Repository
    lacework lacework/terraform-provider-lacework
    License
    Notes
    This Pulumi package is based on the lacework Terraform Provider.
    lacework logo
    lacework 2.1.1 published on Wednesday, Jan 28, 2026 by lacework
      Meet Neo: Your AI Platform Teammate