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),
};
}
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)
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 {
_, 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
})
}
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),
};
});
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())));
}
}
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}
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 string
- The unique name of the resource.
- args PushBasedLogExportArgs
- 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 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 string
- The unique name of the resource.
- args PushBasedLogExportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PushBasedLogExportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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"),
},
})
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());
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",
})
const pushBasedLogExportResource = new mongodbatlas.PushBasedLogExport("pushBasedLogExportResource", {
bucketName: "string",
iamRoleId: "string",
projectId: "string",
prefixPath: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: mongodbatlas:PushBasedLogExport
properties:
bucketName: string
iamRoleId: string
prefixPath: string
projectId: string
timeouts:
create: string
delete: string
update: string
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:
- Bucket
Name string - The name of the bucket to which the agent sends the logs to.
- Iam
Role stringId - ID of the AWS IAM role that is used to write to the S3 bucket.
- Project
Id 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.
- Prefix
Path string - S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
- Timeouts
Push
Based Log Export Timeouts
- Bucket
Name string - The name of the bucket to which the agent sends the logs to.
- Iam
Role stringId - ID of the AWS IAM role that is used to write to the S3 bucket.
- Project
Id 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.
- Prefix
Path string - S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
- Timeouts
Push
Based Log Export Timeouts Args
- bucket
Name String - The name of the bucket to which the agent sends the logs to.
- iam
Role StringId - ID of the AWS IAM role that is used to write to the S3 bucket.
- project
Id 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.
- prefix
Path String - S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
- timeouts
Push
Based Log Export Timeouts
- bucket
Name string - The name of the bucket to which the agent sends the logs to.
- iam
Role stringId - ID of the AWS IAM role that is used to write to the S3 bucket.
- project
Id 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.
- prefix
Path string - S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
- timeouts
Push
Based Log Export Timeouts
- bucket_
name str - The name of the bucket to which the agent sends the logs to.
- iam_
role_ strid - ID of the AWS IAM role that is used to write to the S3 bucket.
- 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.
- prefix_
path str - S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
- timeouts
Push
Based Log Export Timeouts Args
- bucket
Name String - The name of the bucket to which the agent sends the logs to.
- iam
Role StringId - ID of the AWS IAM role that is used to write to the S3 bucket.
- project
Id 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.
- prefix
Path 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:
- Create
Date 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 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 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 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.
- create
Date 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)
Resource lookup is not supported in YAML
- 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.
- Bucket
Name string - The name of the bucket to which the agent sends the logs to.
- Create
Date string - Date and time that this feature was enabled on.
- Iam
Role stringId - ID of the AWS IAM role that is used to write to the S3 bucket.
- Prefix
Path string - S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
- Project
Id 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
Push
Based Log Export Timeouts
- Bucket
Name string - The name of the bucket to which the agent sends the logs to.
- Create
Date string - Date and time that this feature was enabled on.
- Iam
Role stringId - ID of the AWS IAM role that is used to write to the S3 bucket.
- Prefix
Path string - S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
- Project
Id 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
Push
Based Log Export Timeouts Args
- bucket
Name String - The name of the bucket to which the agent sends the logs to.
- create
Date String - Date and time that this feature was enabled on.
- iam
Role StringId - ID of the AWS IAM role that is used to write to the S3 bucket.
- prefix
Path String - S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
- project
Id 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
Push
Based Log Export Timeouts
- bucket
Name string - The name of the bucket to which the agent sends the logs to.
- create
Date string - Date and time that this feature was enabled on.
- iam
Role stringId - ID of the AWS IAM role that is used to write to the S3 bucket.
- prefix
Path string - S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
- project
Id 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
Push
Based Log Export Timeouts
- 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_ strid - 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
Push
Based Log Export Timeouts Args
- bucket
Name String - The name of the bucket to which the agent sends the logs to.
- create
Date String - Date and time that this feature was enabled on.
- iam
Role StringId - ID of the AWS IAM role that is used to write to the S3 bucket.
- prefix
Path String - S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
- project
Id 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).
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.