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
Integration
Aws Dspm Credentials - The credentials needed by the integration.
- 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.
- Integration
Aws stringDspm Id - Name string
- The name of the FortiCNAPP DSPM integration.
- Retries double
- The number of attempts to create the external integration.
- Credentials
Integration
Aws Dspm Credentials Args - The credentials needed by the integration.
- 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.
- Integration
Aws stringDspm Id - Name string
- The name of the FortiCNAPP DSPM integration.
- Retries float64
- The number of attempts to create the external integration.
- credentials
Integration
Aws Dspm Credentials - The credentials needed by the integration.
- 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.
- integration
Aws StringDspm Id - name String
- The name of the FortiCNAPP DSPM integration.
- retries Double
- The number of attempts to create the external integration.
- credentials
Integration
Aws Dspm Credentials - The credentials needed by the integration.
- 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.
- integration
Aws stringDspm Id - name string
- The name of the FortiCNAPP DSPM integration.
- retries number
- The number of attempts to create the external integration.
- credentials
Integration
Aws Dspm Credentials Args - The credentials needed by the integration.
- 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.
- integration_
aws_ strdspm_ id - 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.
- 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.
- integration
Aws StringDspm Id - 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.
- 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,
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) -> 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.
- Integration
Aws stringDspm Id - Integration
Guid string - Name string
- The name of the FortiCNAPP DSPM integration.
- Retries double
- The number of attempts to create the external integration.
- 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.
- Integration
Aws stringDspm Id - Integration
Guid string - Name string
- The name of the FortiCNAPP DSPM integration.
- Retries float64
- The number of attempts to create the external integration.
- 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.
- integration
Aws StringDspm Id - integration
Guid String - name String
- The name of the FortiCNAPP DSPM integration.
- retries Double
- The number of attempts to create the external integration.
- 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.
- integration
Aws stringDspm Id - integration
Guid string - name string
- The name of the FortiCNAPP DSPM integration.
- retries number
- The number of attempts to create the external integration.
- 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.
- integration_
aws_ strdspm_ id - 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_ 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.
- integration
Aws StringDspm Id - integration
Guid String - name String
- The name of the FortiCNAPP DSPM integration.
- retries Number
- The number of attempts to create the external integration.
- 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 .
Package Details
- Repository
- lacework lacework/terraform-provider-lacework
- License
- Notes
- This Pulumi package is based on the
laceworkTerraform Provider.
