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 string
- The unique name of the resource.
- args IntegrationAzureAlArgs
- 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 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 string
- The unique name of the resource.
- args IntegrationAzureAlArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationAzureAlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
example, err := lacework.NewIntegrationAzureAl(ctx, "integrationAzureAlResource", &lacework.IntegrationAzureAlArgs{
Credentials: &lacework.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),
})
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());
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)
const integrationAzureAlResource = new lacework.IntegrationAzureAl("integrationAzureAlResource", {
credentials: {
clientId: "string",
clientSecret: "string",
},
queueUrl: "string",
tenantId: "string",
enabled: false,
integrationAzureAlId: "string",
name: "string",
retries: 0,
});
type: lacework:IntegrationAzureAl
properties:
credentials:
clientId: string
clientSecret: string
enabled: false
integrationAzureAlId: string
name: string
queueUrl: string
retries: 0
tenantId: string
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
Integration
Azure Al Credentials - The credentials needed by the integration. See Credentials below for details.
- Queue
Url string - The storage queue URL.
- Tenant
Id string - The directory tenant ID.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Azure stringAl Id - Name string
- The Azure Activity Log integration name.
- Retries double
- The number of attempts to create the external integration. Defaults to
5
.
- Credentials
Integration
Azure Al Credentials Args - The credentials needed by the integration. See Credentials below for details.
- Queue
Url string - The storage queue URL.
- Tenant
Id string - The directory tenant ID.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Azure stringAl Id - Name string
- The Azure Activity Log integration name.
- Retries float64
- The number of attempts to create the external integration. Defaults to
5
.
- credentials
Integration
Azure Al Credentials - The credentials needed by the integration. See Credentials below for details.
- queue
Url String - The storage queue URL.
- tenant
Id String - The directory tenant ID.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Azure StringAl Id - name String
- The Azure Activity Log integration name.
- retries Double
- The number of attempts to create the external integration. Defaults to
5
.
- credentials
Integration
Azure Al Credentials - The credentials needed by the integration. See Credentials below for details.
- queue
Url string - The storage queue URL.
- tenant
Id string - The directory tenant ID.
- enabled boolean
- The state of the external integration. Defaults to
true
. - integration
Azure stringAl Id - name string
- The Azure Activity Log integration name.
- retries number
- The number of attempts to create the external integration. Defaults to
5
.
- credentials
Integration
Azure Al Credentials Args - The credentials needed by the integration. See Credentials below for details.
- queue_
url str - The storage queue URL.
- tenant_
id str - The directory tenant ID.
- enabled bool
- The state of the external integration. Defaults to
true
. - integration_
azure_ stral_ id - name str
- The Azure Activity Log integration name.
- retries float
- The number of attempts to create the external integration. Defaults to
5
.
- credentials Property Map
- The credentials needed by the integration. See Credentials below for details.
- queue
Url String - The storage queue URL.
- tenant
Id String - The directory tenant ID.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Azure StringAl Id - 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:
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Id string
- The provider-assigned unique ID for this managed resource.
- Intg
Guid string - Org
Level bool - Type
Name string
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Id string
- The provider-assigned unique ID for this managed resource.
- Intg
Guid string - Org
Level bool - Type
Name string
- created
Or StringUpdated By - created
Or StringUpdated Time - id String
- The provider-assigned unique ID for this managed resource.
- intg
Guid String - org
Level Boolean - type
Name String
- created
Or stringUpdated By - created
Or stringUpdated Time - id string
- The provider-assigned unique ID for this managed resource.
- intg
Guid string - org
Level boolean - type
Name string
- created_
or_ strupdated_ by - created_
or_ strupdated_ time - id str
- The provider-assigned unique ID for this managed resource.
- intg_
guid str - org_
level bool - type_
name str
- created
Or StringUpdated By - created
Or StringUpdated Time - id String
- The provider-assigned unique ID for this managed resource.
- intg
Guid String - org
Level Boolean - type
Name 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
- 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.
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Credentials
Integration
Azure Al Credentials - The credentials needed by the integration. See Credentials below for details.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Azure stringAl Id - Intg
Guid string - Name string
- The Azure Activity Log integration name.
- Org
Level bool - Queue
Url string - The storage queue URL.
- Retries double
- The number of attempts to create the external integration. Defaults to
5
. - Tenant
Id string - The directory tenant ID.
- Type
Name string
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Credentials
Integration
Azure Al Credentials Args - The credentials needed by the integration. See Credentials below for details.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Azure stringAl Id - Intg
Guid string - Name string
- The Azure Activity Log integration name.
- Org
Level bool - Queue
Url string - The storage queue URL.
- Retries float64
- The number of attempts to create the external integration. Defaults to
5
. - Tenant
Id string - The directory tenant ID.
- Type
Name string
- created
Or StringUpdated By - created
Or StringUpdated Time - credentials
Integration
Azure Al Credentials - The credentials needed by the integration. See Credentials below for details.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Azure StringAl Id - intg
Guid String - name String
- The Azure Activity Log integration name.
- org
Level Boolean - queue
Url String - The storage queue URL.
- retries Double
- The number of attempts to create the external integration. Defaults to
5
. - tenant
Id String - The directory tenant ID.
- type
Name String
- created
Or stringUpdated By - created
Or stringUpdated Time - credentials
Integration
Azure Al Credentials - The credentials needed by the integration. See Credentials below for details.
- enabled boolean
- The state of the external integration. Defaults to
true
. - integration
Azure stringAl Id - intg
Guid string - name string
- The Azure Activity Log integration name.
- org
Level boolean - queue
Url string - The storage queue URL.
- retries number
- The number of attempts to create the external integration. Defaults to
5
. - tenant
Id string - The directory tenant ID.
- type
Name string
- created_
or_ strupdated_ by - created_
or_ strupdated_ time - credentials
Integration
Azure Al Credentials Args - The credentials needed by the integration. See Credentials below for details.
- enabled bool
- The state of the external integration. Defaults to
true
. - integration_
azure_ stral_ id - 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
- created
Or StringUpdated By - created
Or StringUpdated Time - 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
. - integration
Azure StringAl Id - intg
Guid String - name String
- The Azure Activity Log integration name.
- org
Level Boolean - queue
Url String - The storage queue URL.
- retries Number
- The number of attempts to create the external integration. Defaults to
5
. - tenant
Id String - The directory tenant ID.
- type
Name String
Supporting Types
IntegrationAzureAlCredentials, IntegrationAzureAlCredentialsArgs
- Client
Id string - The application client ID.
- Client
Secret string - The client secret.
- Client
Id string - The application client ID.
- Client
Secret string - The client secret.
- client
Id String - The application client ID.
- client
Secret String - The client secret.
- client
Id string - The application client ID.
- client
Secret string - The client secret.
- client_
id str - The application client ID.
- client_
secret str - The client secret.
- client
Id String - The application client ID.
- client
Secret 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
-> 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.