1. Packages
  2. Lacework Provider
  3. API Docs
  4. IntegrationAzureAl
lacework 2.0.6 published on Monday, Apr 14, 2025 by lacework

lacework.IntegrationAzureAl

Explore with Pulumi AI

Use this resource to configure an Azure Activity Log integration to analyze Activity Log for monitoring cloud account security.

Create IntegrationAzureAl Resource

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

Constructor syntax

new IntegrationAzureAl(name: string, args: IntegrationAzureAlArgs, opts?: CustomResourceOptions);
@overload
def IntegrationAzureAl(resource_name: str,
                       args: IntegrationAzureAlArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def IntegrationAzureAl(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       credentials: Optional[IntegrationAzureAlCredentialsArgs] = None,
                       queue_url: Optional[str] = None,
                       tenant_id: Optional[str] = None,
                       enabled: Optional[bool] = None,
                       integration_azure_al_id: Optional[str] = None,
                       name: Optional[str] = None,
                       retries: Optional[float] = None)
func NewIntegrationAzureAl(ctx *Context, name string, args IntegrationAzureAlArgs, opts ...ResourceOption) (*IntegrationAzureAl, error)
public IntegrationAzureAl(string name, IntegrationAzureAlArgs args, CustomResourceOptions? opts = null)
public IntegrationAzureAl(String name, IntegrationAzureAlArgs args)
public IntegrationAzureAl(String name, IntegrationAzureAlArgs args, CustomResourceOptions options)
type: lacework:IntegrationAzureAl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IntegrationAzureAlArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IntegrationAzureAlArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IntegrationAzureAlArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IntegrationAzureAlArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IntegrationAzureAlArgs
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 integrationAzureAlResource = new Lacework.IntegrationAzureAl("integrationAzureAlResource", new()
{
    Credentials = new Lacework.Inputs.IntegrationAzureAlCredentialsArgs
    {
        ClientId = "string",
        ClientSecret = "string",
    },
    QueueUrl = "string",
    TenantId = "string",
    Enabled = false,
    IntegrationAzureAlId = "string",
    Name = "string",
    Retries = 0,
});
Copy
example, err := lacework.NewIntegrationAzureAl(ctx, "integrationAzureAlResource", &lacework.IntegrationAzureAlArgs{
Credentials: &.IntegrationAzureAlCredentialsArgs{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
},
QueueUrl: pulumi.String("string"),
TenantId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
IntegrationAzureAlId: pulumi.String("string"),
Name: pulumi.String("string"),
Retries: pulumi.Float64(0),
})
Copy
var integrationAzureAlResource = new IntegrationAzureAl("integrationAzureAlResource", IntegrationAzureAlArgs.builder()
    .credentials(IntegrationAzureAlCredentialsArgs.builder()
        .clientId("string")
        .clientSecret("string")
        .build())
    .queueUrl("string")
    .tenantId("string")
    .enabled(false)
    .integrationAzureAlId("string")
    .name("string")
    .retries(0)
    .build());
Copy
integration_azure_al_resource = lacework.IntegrationAzureAl("integrationAzureAlResource",
    credentials={
        "client_id": "string",
        "client_secret": "string",
    },
    queue_url="string",
    tenant_id="string",
    enabled=False,
    integration_azure_al_id="string",
    name="string",
    retries=0)
Copy
const integrationAzureAlResource = new lacework.IntegrationAzureAl("integrationAzureAlResource", {
    credentials: {
        clientId: "string",
        clientSecret: "string",
    },
    queueUrl: "string",
    tenantId: "string",
    enabled: false,
    integrationAzureAlId: "string",
    name: "string",
    retries: 0,
});
Copy
type: lacework:IntegrationAzureAl
properties:
    credentials:
        clientId: string
        clientSecret: string
    enabled: false
    integrationAzureAlId: string
    name: string
    queueUrl: string
    retries: 0
    tenantId: string
Copy

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

Credentials This property is required. IntegrationAzureAlCredentials
The credentials needed by the integration. See Credentials below for details.
QueueUrl This property is required. string
The storage queue URL.
TenantId This property is required. string
The directory tenant ID.
Enabled bool
The state of the external integration. Defaults to true.
IntegrationAzureAlId string
Name string
The Azure Activity Log integration name.
Retries double
The number of attempts to create the external integration. Defaults to 5.
Credentials This property is required. IntegrationAzureAlCredentialsArgs
The credentials needed by the integration. See Credentials below for details.
QueueUrl This property is required. string
The storage queue URL.
TenantId This property is required. string
The directory tenant ID.
Enabled bool
The state of the external integration. Defaults to true.
IntegrationAzureAlId string
Name string
The Azure Activity Log integration name.
Retries float64
The number of attempts to create the external integration. Defaults to 5.
credentials This property is required. IntegrationAzureAlCredentials
The credentials needed by the integration. See Credentials below for details.
queueUrl This property is required. String
The storage queue URL.
tenantId This property is required. String
The directory tenant ID.
enabled Boolean
The state of the external integration. Defaults to true.
integrationAzureAlId String
name String
The Azure Activity Log integration name.
retries Double
The number of attempts to create the external integration. Defaults to 5.
credentials This property is required. IntegrationAzureAlCredentials
The credentials needed by the integration. See Credentials below for details.
queueUrl This property is required. string
The storage queue URL.
tenantId This property is required. string
The directory tenant ID.
enabled boolean
The state of the external integration. Defaults to true.
integrationAzureAlId string
name string
The Azure Activity Log integration name.
retries number
The number of attempts to create the external integration. Defaults to 5.
credentials This property is required. IntegrationAzureAlCredentialsArgs
The credentials needed by the integration. See Credentials below for details.
queue_url This property is required. str
The storage queue URL.
tenant_id This property is required. str
The directory tenant ID.
enabled bool
The state of the external integration. Defaults to true.
integration_azure_al_id str
name str
The Azure Activity Log integration name.
retries float
The number of attempts to create the external integration. Defaults to 5.
credentials This property is required. Property Map
The credentials needed by the integration. See Credentials below for details.
queueUrl This property is required. String
The storage queue URL.
tenantId This property is required. String
The directory tenant ID.
enabled Boolean
The state of the external integration. Defaults to true.
integrationAzureAlId String
name String
The Azure Activity Log integration name.
retries Number
The number of attempts to create the external integration. Defaults to 5.

Outputs

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

CreatedOrUpdatedBy string
CreatedOrUpdatedTime string
Id string
The provider-assigned unique ID for this managed resource.
IntgGuid string
OrgLevel bool
TypeName string
CreatedOrUpdatedBy string
CreatedOrUpdatedTime string
Id string
The provider-assigned unique ID for this managed resource.
IntgGuid string
OrgLevel bool
TypeName string
createdOrUpdatedBy String
createdOrUpdatedTime String
id String
The provider-assigned unique ID for this managed resource.
intgGuid String
orgLevel Boolean
typeName String
createdOrUpdatedBy string
createdOrUpdatedTime string
id string
The provider-assigned unique ID for this managed resource.
intgGuid string
orgLevel boolean
typeName string
created_or_updated_by str
created_or_updated_time str
id str
The provider-assigned unique ID for this managed resource.
intg_guid str
org_level bool
type_name str
createdOrUpdatedBy String
createdOrUpdatedTime String
id String
The provider-assigned unique ID for this managed resource.
intgGuid String
orgLevel Boolean
typeName String

Look up Existing IntegrationAzureAl Resource

Get an existing IntegrationAzureAl 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?: IntegrationAzureAlState, opts?: CustomResourceOptions): IntegrationAzureAl
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_or_updated_by: Optional[str] = None,
        created_or_updated_time: Optional[str] = None,
        credentials: Optional[IntegrationAzureAlCredentialsArgs] = None,
        enabled: Optional[bool] = None,
        integration_azure_al_id: Optional[str] = None,
        intg_guid: Optional[str] = None,
        name: Optional[str] = None,
        org_level: Optional[bool] = None,
        queue_url: Optional[str] = None,
        retries: Optional[float] = None,
        tenant_id: Optional[str] = None,
        type_name: Optional[str] = None) -> IntegrationAzureAl
func GetIntegrationAzureAl(ctx *Context, name string, id IDInput, state *IntegrationAzureAlState, opts ...ResourceOption) (*IntegrationAzureAl, error)
public static IntegrationAzureAl Get(string name, Input<string> id, IntegrationAzureAlState? state, CustomResourceOptions? opts = null)
public static IntegrationAzureAl get(String name, Output<String> id, IntegrationAzureAlState state, CustomResourceOptions options)
resources:  _:    type: lacework:IntegrationAzureAl    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CreatedOrUpdatedBy string
CreatedOrUpdatedTime string
Credentials IntegrationAzureAlCredentials
The credentials needed by the integration. See Credentials below for details.
Enabled bool
The state of the external integration. Defaults to true.
IntegrationAzureAlId string
IntgGuid string
Name string
The Azure Activity Log integration name.
OrgLevel bool
QueueUrl string
The storage queue URL.
Retries double
The number of attempts to create the external integration. Defaults to 5.
TenantId string
The directory tenant ID.
TypeName string
CreatedOrUpdatedBy string
CreatedOrUpdatedTime string
Credentials IntegrationAzureAlCredentialsArgs
The credentials needed by the integration. See Credentials below for details.
Enabled bool
The state of the external integration. Defaults to true.
IntegrationAzureAlId string
IntgGuid string
Name string
The Azure Activity Log integration name.
OrgLevel bool
QueueUrl string
The storage queue URL.
Retries float64
The number of attempts to create the external integration. Defaults to 5.
TenantId string
The directory tenant ID.
TypeName string
createdOrUpdatedBy String
createdOrUpdatedTime String
credentials IntegrationAzureAlCredentials
The credentials needed by the integration. See Credentials below for details.
enabled Boolean
The state of the external integration. Defaults to true.
integrationAzureAlId String
intgGuid String
name String
The Azure Activity Log integration name.
orgLevel Boolean
queueUrl String
The storage queue URL.
retries Double
The number of attempts to create the external integration. Defaults to 5.
tenantId String
The directory tenant ID.
typeName String
createdOrUpdatedBy string
createdOrUpdatedTime string
credentials IntegrationAzureAlCredentials
The credentials needed by the integration. See Credentials below for details.
enabled boolean
The state of the external integration. Defaults to true.
integrationAzureAlId string
intgGuid string
name string
The Azure Activity Log integration name.
orgLevel boolean
queueUrl string
The storage queue URL.
retries number
The number of attempts to create the external integration. Defaults to 5.
tenantId string
The directory tenant ID.
typeName string
created_or_updated_by str
created_or_updated_time str
credentials IntegrationAzureAlCredentialsArgs
The credentials needed by the integration. See Credentials below for details.
enabled bool
The state of the external integration. Defaults to true.
integration_azure_al_id str
intg_guid str
name str
The Azure Activity Log integration name.
org_level bool
queue_url str
The storage queue URL.
retries float
The number of attempts to create the external integration. Defaults to 5.
tenant_id str
The directory tenant ID.
type_name str
createdOrUpdatedBy String
createdOrUpdatedTime String
credentials Property Map
The credentials needed by the integration. See Credentials below for details.
enabled Boolean
The state of the external integration. Defaults to true.
integrationAzureAlId String
intgGuid String
name String
The Azure Activity Log integration name.
orgLevel Boolean
queueUrl String
The storage queue URL.
retries Number
The number of attempts to create the external integration. Defaults to 5.
tenantId String
The directory tenant ID.
typeName String

Supporting Types

IntegrationAzureAlCredentials
, IntegrationAzureAlCredentialsArgs

ClientId This property is required. string
The application client ID.
ClientSecret This property is required. string
The client secret.
ClientId This property is required. string
The application client ID.
ClientSecret This property is required. string
The client secret.
clientId This property is required. String
The application client ID.
clientSecret This property is required. String
The client secret.
clientId This property is required. string
The application client ID.
clientSecret This property is required. string
The client secret.
client_id This property is required. str
The application client ID.
client_secret This property is required. str
The client secret.
clientId This property is required. String
The application client ID.
clientSecret This property is required. String
The client secret.

Import

A Lacework Azure Activity Log integration can be imported using a INT_GUID, e.g.

$ pulumi import lacework:index/integrationAzureAl:IntegrationAzureAl account_abc EXAMPLE_1234BAE1E42182964D23973F44CFEA3C4AB63B99E9A1EC5
Copy

-> Note: To retrieve the INT_GUID from existing integrations in your account, use the Lacework CLI command lacework cloud-account list. To install this tool follow this documentation.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
lacework lacework/terraform-provider-lacework
License
Notes
This Pulumi package is based on the lacework Terraform Provider.