1. Packages
  2. Mongodbatlas Provider
  3. API Docs
  4. PushBasedLogExport
MongoDB Atlas v3.30.0 published on Friday, Mar 21, 2025 by Pulumi

mongodbatlas.PushBasedLogExport

Explore with Pulumi AI

Example Usage

S

import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";

export = async () => {
    const project_tf = new mongodbatlas.Project("project-tf", {
        name: atlasProjectName,
        orgId: atlasOrgId,
    });
    // Set up cloud provider access in Atlas using the created IAM role
    const setupOnly = new mongodbatlas.CloudProviderAccessSetup("setup_only", {
        projectId: project_tf.id,
        providerName: "AWS",
    });
    const authRole = new mongodbatlas.CloudProviderAccessAuthorization("auth_role", {
        projectId: project_tf.id,
        roleId: setupOnly.roleId,
        aws: {
            iamAssumedRoleArn: testRole.arn,
        },
    });
    // Set up push-based log export with authorized IAM role
    const testPushBasedLogExport = new mongodbatlas.PushBasedLogExport("test", {
        projectId: project_tf.id,
        bucketName: logBucket.bucket,
        iamRoleId: authRole.roleId,
        prefixPath: "push-based-log-test",
    });
    const test = mongodbatlas.getPushBasedLogExportOutput({
        projectId: testPushBasedLogExport.projectId,
    });
    return {
        test: test.apply(test => test.prefixPath),
    };
}
Copy
import pulumi
import pulumi_mongodbatlas as mongodbatlas

project_tf = mongodbatlas.Project("project-tf",
    name=atlas_project_name,
    org_id=atlas_org_id)
# Set up cloud provider access in Atlas using the created IAM role
setup_only = mongodbatlas.CloudProviderAccessSetup("setup_only",
    project_id=project_tf.id,
    provider_name="AWS")
auth_role = mongodbatlas.CloudProviderAccessAuthorization("auth_role",
    project_id=project_tf.id,
    role_id=setup_only.role_id,
    aws={
        "iam_assumed_role_arn": test_role["arn"],
    })
# Set up push-based log export with authorized IAM role
test_push_based_log_export = mongodbatlas.PushBasedLogExport("test",
    project_id=project_tf.id,
    bucket_name=log_bucket["bucket"],
    iam_role_id=auth_role.role_id,
    prefix_path="push-based-log-test")
test = mongodbatlas.get_push_based_log_export_output(project_id=test_push_based_log_export.project_id)
pulumi.export("test", test.prefix_path)
Copy
package main

import (
	"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project_tf, err := mongodbatlas.NewProject(ctx, "project-tf", &mongodbatlas.ProjectArgs{
			Name:  pulumi.Any(atlasProjectName),
			OrgId: pulumi.Any(atlasOrgId),
		})
		if err != nil {
			return err
		}
		// Set up cloud provider access in Atlas using the created IAM role
		setupOnly, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, "setup_only", &mongodbatlas.CloudProviderAccessSetupArgs{
			ProjectId:    project_tf.ID(),
			ProviderName: pulumi.String("AWS"),
		})
		if err != nil {
			return err
		}
		authRole, err := mongodbatlas.NewCloudProviderAccessAuthorization(ctx, "auth_role", &mongodbatlas.CloudProviderAccessAuthorizationArgs{
			ProjectId: project_tf.ID(),
			RoleId:    setupOnly.RoleId,
			Aws: &mongodbatlas.CloudProviderAccessAuthorizationAwsArgs{
				IamAssumedRoleArn: pulumi.Any(testRole.Arn),
			},
		})
		if err != nil {
			return err
		}
		// Set up push-based log export with authorized IAM role
		testPushBasedLogExport, err := mongodbatlas.NewPushBasedLogExport(ctx, "test", &mongodbatlas.PushBasedLogExportArgs{
			ProjectId:  project_tf.ID(),
			BucketName: pulumi.Any(logBucket.Bucket),
			IamRoleId:  authRole.RoleId,
			PrefixPath: pulumi.String("push-based-log-test"),
		})
		if err != nil {
			return err
		}
		test := mongodbatlas.LookupPushBasedLogExportOutput(ctx, mongodbatlas.GetPushBasedLogExportOutputArgs{
			ProjectId: testPushBasedLogExport.ProjectId,
		}, nil)
		ctx.Export("test", test.ApplyT(func(test mongodbatlas.GetPushBasedLogExportResult) (*string, error) {
			return &test.PrefixPath, nil
		}).(pulumi.StringPtrOutput))
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;

return await Deployment.RunAsync(() => 
{
    var project_tf = new Mongodbatlas.Project("project-tf", new()
    {
        Name = atlasProjectName,
        OrgId = atlasOrgId,
    });

    // Set up cloud provider access in Atlas using the created IAM role
    var setupOnly = new Mongodbatlas.CloudProviderAccessSetup("setup_only", new()
    {
        ProjectId = project_tf.Id,
        ProviderName = "AWS",
    });

    var authRole = new Mongodbatlas.CloudProviderAccessAuthorization("auth_role", new()
    {
        ProjectId = project_tf.Id,
        RoleId = setupOnly.RoleId,
        Aws = new Mongodbatlas.Inputs.CloudProviderAccessAuthorizationAwsArgs
        {
            IamAssumedRoleArn = testRole.Arn,
        },
    });

    // Set up push-based log export with authorized IAM role
    var testPushBasedLogExport = new Mongodbatlas.PushBasedLogExport("test", new()
    {
        ProjectId = project_tf.Id,
        BucketName = logBucket.Bucket,
        IamRoleId = authRole.RoleId,
        PrefixPath = "push-based-log-test",
    });

    var test = Mongodbatlas.GetPushBasedLogExport.Invoke(new()
    {
        ProjectId = testPushBasedLogExport.ProjectId,
    });

    return new Dictionary<string, object?>
    {
        ["test"] = test.Apply(getPushBasedLogExportResult => getPushBasedLogExportResult.PrefixPath),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.Project;
import com.pulumi.mongodbatlas.ProjectArgs;
import com.pulumi.mongodbatlas.CloudProviderAccessSetup;
import com.pulumi.mongodbatlas.CloudProviderAccessSetupArgs;
import com.pulumi.mongodbatlas.CloudProviderAccessAuthorization;
import com.pulumi.mongodbatlas.CloudProviderAccessAuthorizationArgs;
import com.pulumi.mongodbatlas.inputs.CloudProviderAccessAuthorizationAwsArgs;
import com.pulumi.mongodbatlas.PushBasedLogExport;
import com.pulumi.mongodbatlas.PushBasedLogExportArgs;
import com.pulumi.mongodbatlas.MongodbatlasFunctions;
import com.pulumi.mongodbatlas.inputs.GetPushBasedLogExportArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var project_tf = new Project("project-tf", ProjectArgs.builder()
            .name(atlasProjectName)
            .orgId(atlasOrgId)
            .build());

        // Set up cloud provider access in Atlas using the created IAM role
        var setupOnly = new CloudProviderAccessSetup("setupOnly", CloudProviderAccessSetupArgs.builder()
            .projectId(project_tf.id())
            .providerName("AWS")
            .build());

        var authRole = new CloudProviderAccessAuthorization("authRole", CloudProviderAccessAuthorizationArgs.builder()
            .projectId(project_tf.id())
            .roleId(setupOnly.roleId())
            .aws(CloudProviderAccessAuthorizationAwsArgs.builder()
                .iamAssumedRoleArn(testRole.arn())
                .build())
            .build());

        // Set up push-based log export with authorized IAM role
        var testPushBasedLogExport = new PushBasedLogExport("testPushBasedLogExport", PushBasedLogExportArgs.builder()
            .projectId(project_tf.id())
            .bucketName(logBucket.bucket())
            .iamRoleId(authRole.roleId())
            .prefixPath("push-based-log-test")
            .build());

        final var test = MongodbatlasFunctions.getPushBasedLogExport(GetPushBasedLogExportArgs.builder()
            .projectId(testPushBasedLogExport.projectId())
            .build());

        ctx.export("test", test.applyValue(getPushBasedLogExportResult -> getPushBasedLogExportResult).applyValue(test -> test.applyValue(getPushBasedLogExportResult -> getPushBasedLogExportResult.prefixPath())));
    }
}
Copy
resources:
  project-tf:
    type: mongodbatlas:Project
    properties:
      name: ${atlasProjectName}
      orgId: ${atlasOrgId}
  # Set up cloud provider access in Atlas using the created IAM role
  setupOnly:
    type: mongodbatlas:CloudProviderAccessSetup
    name: setup_only
    properties:
      projectId: ${["project-tf"].id}
      providerName: AWS
  authRole:
    type: mongodbatlas:CloudProviderAccessAuthorization
    name: auth_role
    properties:
      projectId: ${["project-tf"].id}
      roleId: ${setupOnly.roleId}
      aws:
        iamAssumedRoleArn: ${testRole.arn}
  # Set up push-based log export with authorized IAM role
  testPushBasedLogExport:
    type: mongodbatlas:PushBasedLogExport
    name: test
    properties:
      projectId: ${["project-tf"].id}
      bucketName: ${logBucket.bucket}
      iamRoleId: ${authRole.roleId}
      prefixPath: push-based-log-test
variables:
  test:
    fn::invoke:
      function: mongodbatlas:getPushBasedLogExport
      arguments:
        projectId: ${testPushBasedLogExport.projectId}
outputs:
  test: ${test.prefixPath}
Copy

Create PushBasedLogExport Resource

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

Constructor syntax

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

@overload
def PushBasedLogExport(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       bucket_name: Optional[str] = None,
                       iam_role_id: Optional[str] = None,
                       project_id: Optional[str] = None,
                       prefix_path: Optional[str] = None,
                       timeouts: Optional[PushBasedLogExportTimeoutsArgs] = None)
func NewPushBasedLogExport(ctx *Context, name string, args PushBasedLogExportArgs, opts ...ResourceOption) (*PushBasedLogExport, error)
public PushBasedLogExport(string name, PushBasedLogExportArgs args, CustomResourceOptions? opts = null)
public PushBasedLogExport(String name, PushBasedLogExportArgs args)
public PushBasedLogExport(String name, PushBasedLogExportArgs args, CustomResourceOptions options)
type: mongodbatlas:PushBasedLogExport
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. PushBasedLogExportArgs
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. PushBasedLogExportArgs
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. PushBasedLogExportArgs
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. PushBasedLogExportArgs
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. PushBasedLogExportArgs
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 pushBasedLogExportResource = new Mongodbatlas.PushBasedLogExport("pushBasedLogExportResource", new()
{
    BucketName = "string",
    IamRoleId = "string",
    ProjectId = "string",
    PrefixPath = "string",
    Timeouts = new Mongodbatlas.Inputs.PushBasedLogExportTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
});
Copy
example, err := mongodbatlas.NewPushBasedLogExport(ctx, "pushBasedLogExportResource", &mongodbatlas.PushBasedLogExportArgs{
	BucketName: pulumi.String("string"),
	IamRoleId:  pulumi.String("string"),
	ProjectId:  pulumi.String("string"),
	PrefixPath: pulumi.String("string"),
	Timeouts: &mongodbatlas.PushBasedLogExportTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Update: pulumi.String("string"),
	},
})
Copy
var pushBasedLogExportResource = new PushBasedLogExport("pushBasedLogExportResource", PushBasedLogExportArgs.builder()
    .bucketName("string")
    .iamRoleId("string")
    .projectId("string")
    .prefixPath("string")
    .timeouts(PushBasedLogExportTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .build());
Copy
push_based_log_export_resource = mongodbatlas.PushBasedLogExport("pushBasedLogExportResource",
    bucket_name="string",
    iam_role_id="string",
    project_id="string",
    prefix_path="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    })
Copy
const pushBasedLogExportResource = new mongodbatlas.PushBasedLogExport("pushBasedLogExportResource", {
    bucketName: "string",
    iamRoleId: "string",
    projectId: "string",
    prefixPath: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
});
Copy
type: mongodbatlas:PushBasedLogExport
properties:
    bucketName: string
    iamRoleId: string
    prefixPath: string
    projectId: string
    timeouts:
        create: string
        delete: string
        update: string
Copy

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

BucketName This property is required. string
The name of the bucket to which the agent sends the logs to.
IamRoleId This property is required. string
ID of the AWS IAM role that is used to write to the S3 bucket.
ProjectId This property is required. string
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
PrefixPath string
S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
Timeouts PushBasedLogExportTimeouts
BucketName This property is required. string
The name of the bucket to which the agent sends the logs to.
IamRoleId This property is required. string
ID of the AWS IAM role that is used to write to the S3 bucket.
ProjectId This property is required. string
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
PrefixPath string
S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
Timeouts PushBasedLogExportTimeoutsArgs
bucketName This property is required. String
The name of the bucket to which the agent sends the logs to.
iamRoleId This property is required. String
ID of the AWS IAM role that is used to write to the S3 bucket.
projectId This property is required. String
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
prefixPath String
S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
timeouts PushBasedLogExportTimeouts
bucketName This property is required. string
The name of the bucket to which the agent sends the logs to.
iamRoleId This property is required. string
ID of the AWS IAM role that is used to write to the S3 bucket.
projectId This property is required. string
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
prefixPath string
S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
timeouts PushBasedLogExportTimeouts
bucket_name This property is required. str
The name of the bucket to which the agent sends the logs to.
iam_role_id This property is required. str
ID of the AWS IAM role that is used to write to the S3 bucket.
project_id This property is required. str
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
prefix_path str
S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
timeouts PushBasedLogExportTimeoutsArgs
bucketName This property is required. String
The name of the bucket to which the agent sends the logs to.
iamRoleId This property is required. String
ID of the AWS IAM role that is used to write to the S3 bucket.
projectId This property is required. String
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
prefixPath String
S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
timeouts Property Map

Outputs

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

CreateDate string
Date and time that this feature was enabled on.
Id string
The provider-assigned unique ID for this managed resource.
State string
Describes whether or not the feature is enabled and what status it is in.
CreateDate string
Date and time that this feature was enabled on.
Id string
The provider-assigned unique ID for this managed resource.
State string
Describes whether or not the feature is enabled and what status it is in.
createDate String
Date and time that this feature was enabled on.
id String
The provider-assigned unique ID for this managed resource.
state String
Describes whether or not the feature is enabled and what status it is in.
createDate string
Date and time that this feature was enabled on.
id string
The provider-assigned unique ID for this managed resource.
state string
Describes whether or not the feature is enabled and what status it is in.
create_date str
Date and time that this feature was enabled on.
id str
The provider-assigned unique ID for this managed resource.
state str
Describes whether or not the feature is enabled and what status it is in.
createDate String
Date and time that this feature was enabled on.
id String
The provider-assigned unique ID for this managed resource.
state String
Describes whether or not the feature is enabled and what status it is in.

Look up Existing PushBasedLogExport Resource

Get an existing PushBasedLogExport 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?: PushBasedLogExportState, opts?: CustomResourceOptions): PushBasedLogExport
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        bucket_name: Optional[str] = None,
        create_date: Optional[str] = None,
        iam_role_id: Optional[str] = None,
        prefix_path: Optional[str] = None,
        project_id: Optional[str] = None,
        state: Optional[str] = None,
        timeouts: Optional[PushBasedLogExportTimeoutsArgs] = None) -> PushBasedLogExport
func GetPushBasedLogExport(ctx *Context, name string, id IDInput, state *PushBasedLogExportState, opts ...ResourceOption) (*PushBasedLogExport, error)
public static PushBasedLogExport Get(string name, Input<string> id, PushBasedLogExportState? state, CustomResourceOptions? opts = null)
public static PushBasedLogExport get(String name, Output<String> id, PushBasedLogExportState state, CustomResourceOptions options)
resources:  _:    type: mongodbatlas:PushBasedLogExport    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:
BucketName string
The name of the bucket to which the agent sends the logs to.
CreateDate string
Date and time that this feature was enabled on.
IamRoleId string
ID of the AWS IAM role that is used to write to the S3 bucket.
PrefixPath string
S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
ProjectId string
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
State string
Describes whether or not the feature is enabled and what status it is in.
Timeouts PushBasedLogExportTimeouts
BucketName string
The name of the bucket to which the agent sends the logs to.
CreateDate string
Date and time that this feature was enabled on.
IamRoleId string
ID of the AWS IAM role that is used to write to the S3 bucket.
PrefixPath string
S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
ProjectId string
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
State string
Describes whether or not the feature is enabled and what status it is in.
Timeouts PushBasedLogExportTimeoutsArgs
bucketName String
The name of the bucket to which the agent sends the logs to.
createDate String
Date and time that this feature was enabled on.
iamRoleId String
ID of the AWS IAM role that is used to write to the S3 bucket.
prefixPath String
S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
projectId String
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
state String
Describes whether or not the feature is enabled and what status it is in.
timeouts PushBasedLogExportTimeouts
bucketName string
The name of the bucket to which the agent sends the logs to.
createDate string
Date and time that this feature was enabled on.
iamRoleId string
ID of the AWS IAM role that is used to write to the S3 bucket.
prefixPath string
S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
projectId string
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
state string
Describes whether or not the feature is enabled and what status it is in.
timeouts PushBasedLogExportTimeouts
bucket_name str
The name of the bucket to which the agent sends the logs to.
create_date str
Date and time that this feature was enabled on.
iam_role_id str
ID of the AWS IAM role that is used to write to the S3 bucket.
prefix_path str
S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
project_id str
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
state str
Describes whether or not the feature is enabled and what status it is in.
timeouts PushBasedLogExportTimeoutsArgs
bucketName String
The name of the bucket to which the agent sends the logs to.
createDate String
Date and time that this feature was enabled on.
iamRoleId String
ID of the AWS IAM role that is used to write to the S3 bucket.
prefixPath String
S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
projectId String
Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
state String
Describes whether or not the feature is enabled and what status it is in.
timeouts Property Map

Supporting Types

PushBasedLogExportTimeouts
, PushBasedLogExportTimeoutsArgs

Create string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Delete string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Update string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Delete string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Update string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
update String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
update string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
update str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
update String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

Import

Push-based log export resource can be imported using the project ID, e.g.

$ terraform import mongodbatlas_push_based_log_export.test 650972848269185c55f40ca1

For more information see: MongoDB Atlas API - Push-Based Log Export Documentation.

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

Package Details

Repository
MongoDB Atlas pulumi/pulumi-mongodbatlas
License
Apache-2.0
Notes
This Pulumi package is based on the mongodbatlas Terraform Provider.