lacework.IntegrationGcpAt
Explore with Pulumi AI
Import
A Lacework GCP Audit Trail integration can be imported using a INT_GUID
, e.g.
$ pulumi import lacework:index/integrationGcpAt:IntegrationGcpAt 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.
Create IntegrationGcpAt Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationGcpAt(name: string, args: IntegrationGcpAtArgs, opts?: CustomResourceOptions);
@overload
def IntegrationGcpAt(resource_name: str,
args: IntegrationGcpAtArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationGcpAt(resource_name: str,
opts: Optional[ResourceOptions] = None,
credentials: Optional[IntegrationGcpAtCredentialsArgs] = None,
resource_id: Optional[str] = None,
subscription: Optional[str] = None,
enabled: Optional[bool] = None,
integration_gcp_at_id: Optional[str] = None,
name: Optional[str] = None,
resource_level: Optional[str] = None,
retries: Optional[float] = None)
func NewIntegrationGcpAt(ctx *Context, name string, args IntegrationGcpAtArgs, opts ...ResourceOption) (*IntegrationGcpAt, error)
public IntegrationGcpAt(string name, IntegrationGcpAtArgs args, CustomResourceOptions? opts = null)
public IntegrationGcpAt(String name, IntegrationGcpAtArgs args)
public IntegrationGcpAt(String name, IntegrationGcpAtArgs args, CustomResourceOptions options)
type: lacework:IntegrationGcpAt
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 IntegrationGcpAtArgs
- 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 IntegrationGcpAtArgs
- 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 IntegrationGcpAtArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationGcpAtArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationGcpAtArgs
- 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 integrationGcpAtResource = new Lacework.IntegrationGcpAt("integrationGcpAtResource", new()
{
Credentials = new Lacework.Inputs.IntegrationGcpAtCredentialsArgs
{
ClientEmail = "string",
ClientId = "string",
PrivateKey = "string",
PrivateKeyId = "string",
},
ResourceId = "string",
Subscription = "string",
Enabled = false,
IntegrationGcpAtId = "string",
Name = "string",
ResourceLevel = "string",
Retries = 0,
});
example, err := lacework.NewIntegrationGcpAt(ctx, "integrationGcpAtResource", &lacework.IntegrationGcpAtArgs{
Credentials: &lacework.IntegrationGcpAtCredentialsArgs{
ClientEmail: pulumi.String("string"),
ClientId: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
PrivateKeyId: pulumi.String("string"),
},
ResourceId: pulumi.String("string"),
Subscription: pulumi.String("string"),
Enabled: pulumi.Bool(false),
IntegrationGcpAtId: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceLevel: pulumi.String("string"),
Retries: pulumi.Float64(0),
})
var integrationGcpAtResource = new IntegrationGcpAt("integrationGcpAtResource", IntegrationGcpAtArgs.builder()
.credentials(IntegrationGcpAtCredentialsArgs.builder()
.clientEmail("string")
.clientId("string")
.privateKey("string")
.privateKeyId("string")
.build())
.resourceId("string")
.subscription("string")
.enabled(false)
.integrationGcpAtId("string")
.name("string")
.resourceLevel("string")
.retries(0)
.build());
integration_gcp_at_resource = lacework.IntegrationGcpAt("integrationGcpAtResource",
credentials={
"client_email": "string",
"client_id": "string",
"private_key": "string",
"private_key_id": "string",
},
resource_id="string",
subscription="string",
enabled=False,
integration_gcp_at_id="string",
name="string",
resource_level="string",
retries=0)
const integrationGcpAtResource = new lacework.IntegrationGcpAt("integrationGcpAtResource", {
credentials: {
clientEmail: "string",
clientId: "string",
privateKey: "string",
privateKeyId: "string",
},
resourceId: "string",
subscription: "string",
enabled: false,
integrationGcpAtId: "string",
name: "string",
resourceLevel: "string",
retries: 0,
});
type: lacework:IntegrationGcpAt
properties:
credentials:
clientEmail: string
clientId: string
privateKey: string
privateKeyId: string
enabled: false
integrationGcpAtId: string
name: string
resourceId: string
resourceLevel: string
retries: 0
subscription: string
IntegrationGcpAt 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 IntegrationGcpAt resource accepts the following input properties:
- Credentials
Integration
Gcp At Credentials - The credentials needed by the integration. See Credentials below for details.
- Resource
Id string - The organization or project ID.
- Subscription string
- The subscription queue name.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Gcp stringAt Id - Name string
- The GCP Audit Trail integration name.
- Resource
Level string - The integration level. Must be one of
PROJECT
orORGANIZATION
. Defaults toPROJECT
. - Retries double
- The number of attempts to create the external integration. Defaults to
5
.
- Credentials
Integration
Gcp At Credentials Args - The credentials needed by the integration. See Credentials below for details.
- Resource
Id string - The organization or project ID.
- Subscription string
- The subscription queue name.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Gcp stringAt Id - Name string
- The GCP Audit Trail integration name.
- Resource
Level string - The integration level. Must be one of
PROJECT
orORGANIZATION
. Defaults toPROJECT
. - Retries float64
- The number of attempts to create the external integration. Defaults to
5
.
- credentials
Integration
Gcp At Credentials - The credentials needed by the integration. See Credentials below for details.
- resource
Id String - The organization or project ID.
- subscription String
- The subscription queue name.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Gcp StringAt Id - name String
- The GCP Audit Trail integration name.
- resource
Level String - The integration level. Must be one of
PROJECT
orORGANIZATION
. Defaults toPROJECT
. - retries Double
- The number of attempts to create the external integration. Defaults to
5
.
- credentials
Integration
Gcp At Credentials - The credentials needed by the integration. See Credentials below for details.
- resource
Id string - The organization or project ID.
- subscription string
- The subscription queue name.
- enabled boolean
- The state of the external integration. Defaults to
true
. - integration
Gcp stringAt Id - name string
- The GCP Audit Trail integration name.
- resource
Level string - The integration level. Must be one of
PROJECT
orORGANIZATION
. Defaults toPROJECT
. - retries number
- The number of attempts to create the external integration. Defaults to
5
.
- credentials
Integration
Gcp At Credentials Args - The credentials needed by the integration. See Credentials below for details.
- resource_
id str - The organization or project ID.
- subscription str
- The subscription queue name.
- enabled bool
- The state of the external integration. Defaults to
true
. - integration_
gcp_ strat_ id - name str
- The GCP Audit Trail integration name.
- resource_
level str - The integration level. Must be one of
PROJECT
orORGANIZATION
. Defaults toPROJECT
. - 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.
- resource
Id String - The organization or project ID.
- subscription String
- The subscription queue name.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Gcp StringAt Id - name String
- The GCP Audit Trail integration name.
- resource
Level String - The integration level. Must be one of
PROJECT
orORGANIZATION
. Defaults toPROJECT
. - 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 IntegrationGcpAt 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 IntegrationGcpAt Resource
Get an existing IntegrationGcpAt 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?: IntegrationGcpAtState, opts?: CustomResourceOptions): IntegrationGcpAt
@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[IntegrationGcpAtCredentialsArgs] = None,
enabled: Optional[bool] = None,
integration_gcp_at_id: Optional[str] = None,
intg_guid: Optional[str] = None,
name: Optional[str] = None,
org_level: Optional[bool] = None,
resource_id: Optional[str] = None,
resource_level: Optional[str] = None,
retries: Optional[float] = None,
subscription: Optional[str] = None,
type_name: Optional[str] = None) -> IntegrationGcpAt
func GetIntegrationGcpAt(ctx *Context, name string, id IDInput, state *IntegrationGcpAtState, opts ...ResourceOption) (*IntegrationGcpAt, error)
public static IntegrationGcpAt Get(string name, Input<string> id, IntegrationGcpAtState? state, CustomResourceOptions? opts = null)
public static IntegrationGcpAt get(String name, Output<String> id, IntegrationGcpAtState state, CustomResourceOptions options)
resources: _: type: lacework:IntegrationGcpAt 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
Gcp At Credentials - The credentials needed by the integration. See Credentials below for details.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Gcp stringAt Id - Intg
Guid string - Name string
- The GCP Audit Trail integration name.
- Org
Level bool - Resource
Id string - The organization or project ID.
- Resource
Level string - The integration level. Must be one of
PROJECT
orORGANIZATION
. Defaults toPROJECT
. - Retries double
- The number of attempts to create the external integration. Defaults to
5
. - Subscription string
- The subscription queue name.
- Type
Name string
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Credentials
Integration
Gcp At 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
Gcp stringAt Id - Intg
Guid string - Name string
- The GCP Audit Trail integration name.
- Org
Level bool - Resource
Id string - The organization or project ID.
- Resource
Level string - The integration level. Must be one of
PROJECT
orORGANIZATION
. Defaults toPROJECT
. - Retries float64
- The number of attempts to create the external integration. Defaults to
5
. - Subscription string
- The subscription queue name.
- Type
Name string
- created
Or StringUpdated By - created
Or StringUpdated Time - credentials
Integration
Gcp At Credentials - The credentials needed by the integration. See Credentials below for details.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Gcp StringAt Id - intg
Guid String - name String
- The GCP Audit Trail integration name.
- org
Level Boolean - resource
Id String - The organization or project ID.
- resource
Level String - The integration level. Must be one of
PROJECT
orORGANIZATION
. Defaults toPROJECT
. - retries Double
- The number of attempts to create the external integration. Defaults to
5
. - subscription String
- The subscription queue name.
- type
Name String
- created
Or stringUpdated By - created
Or stringUpdated Time - credentials
Integration
Gcp At Credentials - The credentials needed by the integration. See Credentials below for details.
- enabled boolean
- The state of the external integration. Defaults to
true
. - integration
Gcp stringAt Id - intg
Guid string - name string
- The GCP Audit Trail integration name.
- org
Level boolean - resource
Id string - The organization or project ID.
- resource
Level string - The integration level. Must be one of
PROJECT
orORGANIZATION
. Defaults toPROJECT
. - retries number
- The number of attempts to create the external integration. Defaults to
5
. - subscription string
- The subscription queue name.
- type
Name string
- created_
or_ strupdated_ by - created_
or_ strupdated_ time - credentials
Integration
Gcp At 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_
gcp_ strat_ id - intg_
guid str - name str
- The GCP Audit Trail integration name.
- org_
level bool - resource_
id str - The organization or project ID.
- resource_
level str - The integration level. Must be one of
PROJECT
orORGANIZATION
. Defaults toPROJECT
. - retries float
- The number of attempts to create the external integration. Defaults to
5
. - subscription str
- The subscription queue name.
- 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
Gcp StringAt Id - intg
Guid String - name String
- The GCP Audit Trail integration name.
- org
Level Boolean - resource
Id String - The organization or project ID.
- resource
Level String - The integration level. Must be one of
PROJECT
orORGANIZATION
. Defaults toPROJECT
. - retries Number
- The number of attempts to create the external integration. Defaults to
5
. - subscription String
- The subscription queue name.
- type
Name String
Supporting Types
IntegrationGcpAtCredentials, IntegrationGcpAtCredentialsArgs
- Client
Email string - The service account client email.
- Client
Id string - The service account client ID.
- Private
Key string - The service account private key.
- Private
Key stringId - The service account private key ID.
- Client
Email string - The service account client email.
- Client
Id string - The service account client ID.
- Private
Key string - The service account private key.
- Private
Key stringId - The service account private key ID.
- client
Email String - The service account client email.
- client
Id String - The service account client ID.
- private
Key String - The service account private key.
- private
Key StringId - The service account private key ID.
- client
Email string - The service account client email.
- client
Id string - The service account client ID.
- private
Key string - The service account private key.
- private
Key stringId - The service account private key ID.
- client_
email str - The service account client email.
- client_
id str - The service account client ID.
- private_
key str - The service account private key.
- private_
key_ strid - The service account private key ID.
- client
Email String - The service account client email.
- client
Id String - The service account client ID.
- private
Key String - The service account private key.
- private
Key StringId - The service account private key ID.
Package Details
- Repository
- lacework lacework/terraform-provider-lacework
- License
- Notes
- This Pulumi package is based on the
lacework
Terraform Provider.