mongodbatlas logo
MongoDB Atlas v3.7.2, Mar 31 23

mongodbatlas.Provider

Explore with Pulumi AI

The provider type for the mongodbatlas package. By default, resources use package-wide configuration settings, however an explicit Provider instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the documentation for more information.

Create Provider Resource

new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             assume_role: Optional[ProviderAssumeRoleArgs] = None,
             aws_access_key_id: Optional[str] = None,
             aws_secret_access_key: Optional[str] = None,
             aws_session_token: Optional[str] = None,
             base_url: Optional[str] = None,
             is_mongodbgov_cloud: Optional[bool] = None,
             private_key: Optional[str] = None,
             public_key: Optional[str] = None,
             realm_base_url: Optional[str] = None,
             region: Optional[str] = None,
             secret_name: Optional[str] = None,
             sts_endpoint: Optional[str] = None)
@overload
def Provider(resource_name: str,
             args: Optional[ProviderArgs] = None,
             opts: Optional[ResourceOptions] = None)
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:mongodbatlas
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ProviderArgs
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 ProviderArgs
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 ProviderArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Provider Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Provider resource accepts the following input properties:

AssumeRole ProviderAssumeRoleArgs
AwsAccessKeyId string
AwsSecretAccessKey string
AwsSessionToken string
BaseUrl string

MongoDB Atlas Base URL

IsMongodbgovCloud bool

MongoDB Atlas Base URL default to gov

PrivateKey string

MongoDB Atlas Programmatic Private Key

PublicKey string

MongoDB Atlas Programmatic Public Key

RealmBaseUrl string

MongoDB Realm Base URL

Region string
SecretName string
StsEndpoint string
AssumeRole ProviderAssumeRoleArgs
AwsAccessKeyId string
AwsSecretAccessKey string
AwsSessionToken string
BaseUrl string

MongoDB Atlas Base URL

IsMongodbgovCloud bool

MongoDB Atlas Base URL default to gov

PrivateKey string

MongoDB Atlas Programmatic Private Key

PublicKey string

MongoDB Atlas Programmatic Public Key

RealmBaseUrl string

MongoDB Realm Base URL

Region string
SecretName string
StsEndpoint string
assumeRole ProviderAssumeRoleArgs
awsAccessKeyId String
awsSecretAccessKey String
awsSessionToken String
baseUrl String

MongoDB Atlas Base URL

isMongodbgovCloud Boolean

MongoDB Atlas Base URL default to gov

privateKey String

MongoDB Atlas Programmatic Private Key

publicKey String

MongoDB Atlas Programmatic Public Key

realmBaseUrl String

MongoDB Realm Base URL

region String
secretName String
stsEndpoint String
assumeRole ProviderAssumeRoleArgs
awsAccessKeyId string
awsSecretAccessKey string
awsSessionToken string
baseUrl string

MongoDB Atlas Base URL

isMongodbgovCloud boolean

MongoDB Atlas Base URL default to gov

privateKey string

MongoDB Atlas Programmatic Private Key

publicKey string

MongoDB Atlas Programmatic Public Key

realmBaseUrl string

MongoDB Realm Base URL

region string
secretName string
stsEndpoint string
assume_role ProviderAssumeRoleArgs
aws_access_key_id str
aws_secret_access_key str
aws_session_token str
base_url str

MongoDB Atlas Base URL

is_mongodbgov_cloud bool

MongoDB Atlas Base URL default to gov

private_key str

MongoDB Atlas Programmatic Private Key

public_key str

MongoDB Atlas Programmatic Public Key

realm_base_url str

MongoDB Realm Base URL

region str
secret_name str
sts_endpoint str
assumeRole Property Map
awsAccessKeyId String
awsSecretAccessKey String
awsSessionToken String
baseUrl String

MongoDB Atlas Base URL

isMongodbgovCloud Boolean

MongoDB Atlas Base URL default to gov

privateKey String

MongoDB Atlas Programmatic Private Key

publicKey String

MongoDB Atlas Programmatic Public Key

realmBaseUrl String

MongoDB Realm Base URL

region String
secretName String
stsEndpoint String

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

ProviderAssumeRole

Duration string
DurationSeconds int

Deprecated:

Use assume_role.duration instead

ExternalId string
Policy string
PolicyArns List<string>
RoleArn string
SessionName string
SourceIdentity string
Tags Dictionary<string, string>
TransitiveTagKeys List<string>
Duration string
DurationSeconds int

Deprecated:

Use assume_role.duration instead

ExternalId string
Policy string
PolicyArns []string
RoleArn string
SessionName string
SourceIdentity string
Tags map[string]string
TransitiveTagKeys []string
duration String
durationSeconds Integer

Deprecated:

Use assume_role.duration instead

externalId String
policy String
policyArns List<String>
roleArn String
sessionName String
sourceIdentity String
tags Map<String,String>
transitiveTagKeys List<String>
duration string
durationSeconds number

Deprecated:

Use assume_role.duration instead

externalId string
policy string
policyArns string[]
roleArn string
sessionName string
sourceIdentity string
tags {[key: string]: string}
transitiveTagKeys string[]
duration str
duration_seconds int

Deprecated:

Use assume_role.duration instead

external_id str
policy str
policy_arns Sequence[str]
role_arn str
session_name str
source_identity str
tags Mapping[str, str]
transitive_tag_keys Sequence[str]
duration String
durationSeconds Number

Deprecated:

Use assume_role.duration instead

externalId String
policy String
policyArns List<String>
roleArn String
sessionName String
sourceIdentity String
tags Map<String>
transitiveTagKeys List<String>

Package Details

Repository
MongoDB Atlas pulumi/pulumi-mongodbatlas
License
Apache-2.0
Notes

This Pulumi package is based on the mongodbatlas Terraform Provider.