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

lacework.IntegrationGcpAt

Explore with Pulumi AI

lacework logo
lacework 2.0.6 published on Monday, Apr 14, 2025 by lacework

    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 IntegrationGcpAtCredentials
    The credentials needed by the integration. See Credentials below for details.
    ResourceId string
    The organization or project ID.
    Subscription string
    The subscription queue name.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationGcpAtId string
    Name string
    The GCP Audit Trail integration name.
    ResourceLevel string
    The integration level. Must be one of PROJECT or ORGANIZATION. Defaults to PROJECT.
    Retries double
    The number of attempts to create the external integration. Defaults to 5.
    Credentials IntegrationGcpAtCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    ResourceId string
    The organization or project ID.
    Subscription string
    The subscription queue name.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationGcpAtId string
    Name string
    The GCP Audit Trail integration name.
    ResourceLevel string
    The integration level. Must be one of PROJECT or ORGANIZATION. Defaults to PROJECT.
    Retries float64
    The number of attempts to create the external integration. Defaults to 5.
    credentials IntegrationGcpAtCredentials
    The credentials needed by the integration. See Credentials below for details.
    resourceId String
    The organization or project ID.
    subscription String
    The subscription queue name.
    enabled Boolean
    The state of the external integration. Defaults to true.
    integrationGcpAtId String
    name String
    The GCP Audit Trail integration name.
    resourceLevel String
    The integration level. Must be one of PROJECT or ORGANIZATION. Defaults to PROJECT.
    retries Double
    The number of attempts to create the external integration. Defaults to 5.
    credentials IntegrationGcpAtCredentials
    The credentials needed by the integration. See Credentials below for details.
    resourceId string
    The organization or project ID.
    subscription string
    The subscription queue name.
    enabled boolean
    The state of the external integration. Defaults to true.
    integrationGcpAtId string
    name string
    The GCP Audit Trail integration name.
    resourceLevel string
    The integration level. Must be one of PROJECT or ORGANIZATION. Defaults to PROJECT.
    retries number
    The number of attempts to create the external integration. Defaults to 5.
    credentials IntegrationGcpAtCredentialsArgs
    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_at_id str
    name str
    The GCP Audit Trail integration name.
    resource_level str
    The integration level. Must be one of PROJECT or ORGANIZATION. Defaults to PROJECT.
    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.
    resourceId String
    The organization or project ID.
    subscription String
    The subscription queue name.
    enabled Boolean
    The state of the external integration. Defaults to true.
    integrationGcpAtId String
    name String
    The GCP Audit Trail integration name.
    resourceLevel String
    The integration level. Must be one of PROJECT or ORGANIZATION. Defaults to PROJECT.
    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:

    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 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.
    The following state arguments are supported:
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Credentials IntegrationGcpAtCredentials
    The credentials needed by the integration. See Credentials below for details.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationGcpAtId string
    IntgGuid string
    Name string
    The GCP Audit Trail integration name.
    OrgLevel bool
    ResourceId string
    The organization or project ID.
    ResourceLevel string
    The integration level. Must be one of PROJECT or ORGANIZATION. Defaults to PROJECT.
    Retries double
    The number of attempts to create the external integration. Defaults to 5.
    Subscription string
    The subscription queue name.
    TypeName string
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Credentials IntegrationGcpAtCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    Enabled bool
    The state of the external integration. Defaults to true.
    IntegrationGcpAtId string
    IntgGuid string
    Name string
    The GCP Audit Trail integration name.
    OrgLevel bool
    ResourceId string
    The organization or project ID.
    ResourceLevel string
    The integration level. Must be one of PROJECT or ORGANIZATION. Defaults to PROJECT.
    Retries float64
    The number of attempts to create the external integration. Defaults to 5.
    Subscription string
    The subscription queue name.
    TypeName string
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    credentials IntegrationGcpAtCredentials
    The credentials needed by the integration. See Credentials below for details.
    enabled Boolean
    The state of the external integration. Defaults to true.
    integrationGcpAtId String
    intgGuid String
    name String
    The GCP Audit Trail integration name.
    orgLevel Boolean
    resourceId String
    The organization or project ID.
    resourceLevel String
    The integration level. Must be one of PROJECT or ORGANIZATION. Defaults to PROJECT.
    retries Double
    The number of attempts to create the external integration. Defaults to 5.
    subscription String
    The subscription queue name.
    typeName String
    createdOrUpdatedBy string
    createdOrUpdatedTime string
    credentials IntegrationGcpAtCredentials
    The credentials needed by the integration. See Credentials below for details.
    enabled boolean
    The state of the external integration. Defaults to true.
    integrationGcpAtId string
    intgGuid string
    name string
    The GCP Audit Trail integration name.
    orgLevel boolean
    resourceId string
    The organization or project ID.
    resourceLevel string
    The integration level. Must be one of PROJECT or ORGANIZATION. Defaults to PROJECT.
    retries number
    The number of attempts to create the external integration. Defaults to 5.
    subscription string
    The subscription queue name.
    typeName string
    created_or_updated_by str
    created_or_updated_time str
    credentials IntegrationGcpAtCredentialsArgs
    The credentials needed by the integration. See Credentials below for details.
    enabled bool
    The state of the external integration. Defaults to true.
    integration_gcp_at_id str
    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 or ORGANIZATION. Defaults to PROJECT.
    retries float
    The number of attempts to create the external integration. Defaults to 5.
    subscription str
    The subscription queue name.
    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.
    integrationGcpAtId String
    intgGuid String
    name String
    The GCP Audit Trail integration name.
    orgLevel Boolean
    resourceId String
    The organization or project ID.
    resourceLevel String
    The integration level. Must be one of PROJECT or ORGANIZATION. Defaults to PROJECT.
    retries Number
    The number of attempts to create the external integration. Defaults to 5.
    subscription String
    The subscription queue name.
    typeName String

    Supporting Types

    IntegrationGcpAtCredentials, IntegrationGcpAtCredentialsArgs

    ClientEmail string
    The service account client email.
    ClientId string
    The service account client ID.
    PrivateKey string
    The service account private key.
    PrivateKeyId string
    The service account private key ID.
    ClientEmail string
    The service account client email.
    ClientId string
    The service account client ID.
    PrivateKey string
    The service account private key.
    PrivateKeyId string
    The service account private key ID.
    clientEmail String
    The service account client email.
    clientId String
    The service account client ID.
    privateKey String
    The service account private key.
    privateKeyId String
    The service account private key ID.
    clientEmail string
    The service account client email.
    clientId string
    The service account client ID.
    privateKey string
    The service account private key.
    privateKeyId string
    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_id str
    The service account private key ID.
    clientEmail String
    The service account client email.
    clientId String
    The service account client ID.
    privateKey String
    The service account private key.
    privateKeyId String
    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.
    lacework logo
    lacework 2.0.6 published on Monday, Apr 14, 2025 by lacework