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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: Optional[ProviderArgs] = None,
opts: Optional[ResourceOptions] = None)
@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)
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.
Parameters
- 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:
- Assume
Role ProviderAssume Role - Aws
Access stringKey Id - AWS API Access Key.
- Aws
Secret stringAccess Key - AWS API Access Secret Key.
- Aws
Session stringToken - AWS Security Token Service provided session token.
- Base
Url string - MongoDB Atlas Base URL
- Is
Mongodbgov boolCloud - MongoDB Atlas Base URL default to gov
- Private
Key string - MongoDB Atlas Programmatic Private Key
- Public
Key string - MongoDB Atlas Programmatic Public Key
- Realm
Base stringUrl - MongoDB Realm Base URL
- Region string
- Region where secret is stored as part of AWS Secret Manager.
- Secret
Name string - Name of secret stored in AWS Secret Manager.
- Sts
Endpoint string - AWS Security Token Service endpoint. Required for cross-AWS region or cross-AWS account secrets.
- Assume
Role ProviderAssume Role Args - Aws
Access stringKey Id - AWS API Access Key.
- Aws
Secret stringAccess Key - AWS API Access Secret Key.
- Aws
Session stringToken - AWS Security Token Service provided session token.
- Base
Url string - MongoDB Atlas Base URL
- Is
Mongodbgov boolCloud - MongoDB Atlas Base URL default to gov
- Private
Key string - MongoDB Atlas Programmatic Private Key
- Public
Key string - MongoDB Atlas Programmatic Public Key
- Realm
Base stringUrl - MongoDB Realm Base URL
- Region string
- Region where secret is stored as part of AWS Secret Manager.
- Secret
Name string - Name of secret stored in AWS Secret Manager.
- Sts
Endpoint string - AWS Security Token Service endpoint. Required for cross-AWS region or cross-AWS account secrets.
- assume
Role ProviderAssume Role - aws
Access StringKey Id - AWS API Access Key.
- aws
Secret StringAccess Key - AWS API Access Secret Key.
- aws
Session StringToken - AWS Security Token Service provided session token.
- base
Url String - MongoDB Atlas Base URL
- is
Mongodbgov BooleanCloud - MongoDB Atlas Base URL default to gov
- private
Key String - MongoDB Atlas Programmatic Private Key
- public
Key String - MongoDB Atlas Programmatic Public Key
- realm
Base StringUrl - MongoDB Realm Base URL
- region String
- Region where secret is stored as part of AWS Secret Manager.
- secret
Name String - Name of secret stored in AWS Secret Manager.
- sts
Endpoint String - AWS Security Token Service endpoint. Required for cross-AWS region or cross-AWS account secrets.
- assume
Role ProviderAssume Role - aws
Access stringKey Id - AWS API Access Key.
- aws
Secret stringAccess Key - AWS API Access Secret Key.
- aws
Session stringToken - AWS Security Token Service provided session token.
- base
Url string - MongoDB Atlas Base URL
- is
Mongodbgov booleanCloud - MongoDB Atlas Base URL default to gov
- private
Key string - MongoDB Atlas Programmatic Private Key
- public
Key string - MongoDB Atlas Programmatic Public Key
- realm
Base stringUrl - MongoDB Realm Base URL
- region string
- Region where secret is stored as part of AWS Secret Manager.
- secret
Name string - Name of secret stored in AWS Secret Manager.
- sts
Endpoint string - AWS Security Token Service endpoint. Required for cross-AWS region or cross-AWS account secrets.
- assume_
role ProviderAssume Role Args - aws_
access_ strkey_ id - AWS API Access Key.
- aws_
secret_ straccess_ key - AWS API Access Secret Key.
- aws_
session_ strtoken - AWS Security Token Service provided session token.
- base_
url str - MongoDB Atlas Base URL
- is_
mongodbgov_ boolcloud - 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_ strurl - MongoDB Realm Base URL
- region str
- Region where secret is stored as part of AWS Secret Manager.
- secret_
name str - Name of secret stored in AWS Secret Manager.
- sts_
endpoint str - AWS Security Token Service endpoint. Required for cross-AWS region or cross-AWS account secrets.
- assume
Role Property Map - aws
Access StringKey Id - AWS API Access Key.
- aws
Secret StringAccess Key - AWS API Access Secret Key.
- aws
Session StringToken - AWS Security Token Service provided session token.
- base
Url String - MongoDB Atlas Base URL
- is
Mongodbgov BooleanCloud - MongoDB Atlas Base URL default to gov
- private
Key String - MongoDB Atlas Programmatic Private Key
- public
Key String - MongoDB Atlas Programmatic Public Key
- realm
Base StringUrl - MongoDB Realm Base URL
- region String
- Region where secret is stored as part of AWS Secret Manager.
- secret
Name String - Name of secret stored in AWS Secret Manager.
- sts
Endpoint String - AWS Security Token Service endpoint. Required for cross-AWS region or cross-AWS account secrets.
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, ProviderAssumeRoleArgs
- Duration string
- The duration, between 15 minutes and 12 hours, of the role session. Valid time units are ns, us (or µs), ms, s, h, or m.
- External
Id string - A unique identifier that might be required when you assume a role in another account.
- Policy string
- IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.
- Policy
Arns List<string> - Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.
- Role
Arn string - Amazon Resource Name (ARN) of an IAM Role to assume prior to making API calls.
- Session
Name string - An identifier for the assumed role session.
- Source
Identity string - Source identity specified by the principal assuming the role.
- Dictionary<string, string>
- Assume role session tags.
- Transitive
Tag List<string>Keys - Assume role session tag keys to pass to any subsequent sessions.
- Duration string
- The duration, between 15 minutes and 12 hours, of the role session. Valid time units are ns, us (or µs), ms, s, h, or m.
- External
Id string - A unique identifier that might be required when you assume a role in another account.
- Policy string
- IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.
- Policy
Arns []string - Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.
- Role
Arn string - Amazon Resource Name (ARN) of an IAM Role to assume prior to making API calls.
- Session
Name string - An identifier for the assumed role session.
- Source
Identity string - Source identity specified by the principal assuming the role.
- map[string]string
- Assume role session tags.
- Transitive
Tag []stringKeys - Assume role session tag keys to pass to any subsequent sessions.
- duration String
- The duration, between 15 minutes and 12 hours, of the role session. Valid time units are ns, us (or µs), ms, s, h, or m.
- external
Id String - A unique identifier that might be required when you assume a role in another account.
- policy String
- IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.
- policy
Arns List<String> - Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.
- role
Arn String - Amazon Resource Name (ARN) of an IAM Role to assume prior to making API calls.
- session
Name String - An identifier for the assumed role session.
- source
Identity String - Source identity specified by the principal assuming the role.
- Map<String,String>
- Assume role session tags.
- transitive
Tag List<String>Keys - Assume role session tag keys to pass to any subsequent sessions.
- duration string
- The duration, between 15 minutes and 12 hours, of the role session. Valid time units are ns, us (or µs), ms, s, h, or m.
- external
Id string - A unique identifier that might be required when you assume a role in another account.
- policy string
- IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.
- policy
Arns string[] - Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.
- role
Arn string - Amazon Resource Name (ARN) of an IAM Role to assume prior to making API calls.
- session
Name string - An identifier for the assumed role session.
- source
Identity string - Source identity specified by the principal assuming the role.
- {[key: string]: string}
- Assume role session tags.
- transitive
Tag string[]Keys - Assume role session tag keys to pass to any subsequent sessions.
- duration str
- The duration, between 15 minutes and 12 hours, of the role session. Valid time units are ns, us (or µs), ms, s, h, or m.
- external_
id str - A unique identifier that might be required when you assume a role in another account.
- policy str
- IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.
- policy_
arns Sequence[str] - Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.
- role_
arn str - Amazon Resource Name (ARN) of an IAM Role to assume prior to making API calls.
- session_
name str - An identifier for the assumed role session.
- source_
identity str - Source identity specified by the principal assuming the role.
- Mapping[str, str]
- Assume role session tags.
- transitive_
tag_ Sequence[str]keys - Assume role session tag keys to pass to any subsequent sessions.
- duration String
- The duration, between 15 minutes and 12 hours, of the role session. Valid time units are ns, us (or µs), ms, s, h, or m.
- external
Id String - A unique identifier that might be required when you assume a role in another account.
- policy String
- IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.
- policy
Arns List<String> - Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.
- role
Arn String - Amazon Resource Name (ARN) of an IAM Role to assume prior to making API calls.
- session
Name String - An identifier for the assumed role session.
- source
Identity String - Source identity specified by the principal assuming the role.
- Map<String>
- Assume role session tags.
- transitive
Tag List<String>Keys - Assume role session tag keys to pass to any subsequent sessions.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.