You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/stream_connection.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ data "mongodbatlas_stream_connection" "example" {
20
20
21
21
## Attributes Reference
22
22
23
-
*`type` - Type of connection. Can be either `Cluster`, `Kafka`or `Sample`.
23
+
*`type` - Type of connection. Can be `Cluster`, `Kafka`, `Sample`, or `AWSLambda`.
24
24
25
25
If `type` is of value `Cluster` the following additional attributes are defined:
26
26
*`cluster_name` - Name of the cluster configured for this connection.
@@ -33,6 +33,9 @@ If `type` is of value `Kafka` the following additional attributes are defined:
33
33
*`security` - Properties for the secure transport connection to Kafka. For SSL, this can include the trusted certificate to use. See [security](#security).
34
34
*`networking` - Networking Access Type can either be `PUBLIC` (default) or `VPC`. See [networking](#networking).
35
35
36
+
If `type` is of value `AWSLambda` the following additional attributes are defined:
37
+
*`aws` - The configuration for AWS Lambda connection. See [AWS](#AWS)
38
+
36
39
### Authentication
37
40
38
41
*`mechanism` - Style of authentication. Can be one of `PLAIN`, `SCRAM-256`, or `SCRAM-512`.
@@ -56,5 +59,8 @@ If `type` is of value `Kafka` the following additional attributes are defined:
56
59
*`type` - Selected networking type. Either `PUBLIC`, `VPC` or `PRIVATE_LINK`. Defaults to `PUBLIC`.
57
60
*`connection_id` - Id of the Private Link connection when type is `PRIVATE_LINK`.
58
61
62
+
### AWS
63
+
*`role_arn` - Amazon Resource Name (ARN) that identifies the Amazon Web Services (AWS) Identity and Access Management (IAM) role that MongoDB Cloud assumes when it accesses resources in your AWS account.
64
+
59
65
To learn more, see: [MongoDB Atlas API - Stream Connection](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Streams/operation/getStreamConnection) Documentation.
60
66
The [Terraform Provider Examples Section](https://github.com/mongodb/terraform-provider-mongodbatlas/blob/master/examples/mongodbatlas_stream_instance/atlas-streams-user-journey.md) also contains details on the overall support for Atlas Streams Processing in Terraform.
Copy file name to clipboardExpand all lines: docs/data-sources/stream_connections.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ In addition to all arguments above, it also exports the following attributes:
32
32
*`project_id` - Unique 24-hexadecimal digit string that identifies your project.
33
33
*`instance_name` - Human-readable label that identifies the stream instance.
34
34
*`connection_name` - Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
35
-
*`type` - Type of connection. Can be either `Cluster`, `Kafka`or `Sample`.
35
+
*`type` - Type of connection. `Cluster`, `Kafka`, `Sample`, or `AWSLambda`.
36
36
37
37
If `type` is of value `Cluster` the following additional attributes are defined:
38
38
*`cluster_name` - Name of the cluster configured for this connection.
@@ -45,6 +45,9 @@ If `type` is of value `Kafka` the following additional attributes are defined:
45
45
*`security` - Properties for the secure transport connection to Kafka. For SSL, this can include the trusted certificate to use. See [security](#security).
46
46
*`networking` - Networking Access Type can either be `PUBLIC` (default) or `VPC`. See [networking](#networking).
47
47
48
+
If `type` is of value `AWSLambda` the following additional attributes are defined::
49
+
*`aws` - The configuration for AWS Lambda connection. See [AWS](#AWS)
50
+
48
51
### Authentication
49
52
50
53
*`mechanism` - Style of authentication. Can be one of `PLAIN`, `SCRAM-256`, or `SCRAM-512`.
@@ -68,5 +71,8 @@ If `type` is of value `Kafka` the following additional attributes are defined:
68
71
*`type` - Selected networking type. Either `PUBLIC`, `VPC` or `PRIVATE_LINK`. Defaults to `PUBLIC`.
69
72
*`connection_id` - Id of the Private Link connection when type is `PRIVATE_LINK`.
70
73
74
+
### AWS
75
+
*`role_arn` - Amazon Resource Name (ARN) that identifies the Amazon Web Services (AWS) Identity and Access Management (IAM) role that MongoDB Cloud assumes when it accesses resources in your AWS account.
76
+
71
77
To learn more, see: [MongoDB Atlas API - Stream Connection](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Streams/operation/listStreamConnections) Documentation.
72
78
The [Terraform Provider Examples Section](https://github.com/mongodb/terraform-provider-mongodbatlas/blob/master/examples/mongodbatlas_stream_instance/atlas-streams-user-journey.md) also contains details on the overall support for Atlas Streams Processing in Terraform.
*`project_id` - (Required) Unique 24-hexadecimal digit string that identifies your project.
72
87
*`instance_name` - (Required) Human-readable label that identifies the stream instance.
73
88
*`connection_name` - (Required) Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
74
-
*`type` - (Required) Type of connection. Can be either `Cluster`, `Kafka`or `Sample`.
89
+
*`type` - (Required) Type of connection. Can be `Cluster`, `Kafka`, `Sample`, or `AWSLambda`.
75
90
76
91
If `type` is of value `Cluster` the following additional arguments are defined:
77
92
*`cluster_name` - Name of the cluster configured for this connection.
@@ -84,6 +99,9 @@ If `type` is of value `Kafka` the following additional arguments are defined:
84
99
*`security` - Properties for the secure transport connection to Kafka. For SSL, this can include the trusted certificate to use. See [security](#security).
85
100
*`networking` - Networking Access Type can either be `PUBLIC` (default) or `VPC`. See [networking](#networking).
86
101
102
+
If `type` is of value `AWSLambda` the following additional arguments are defined:
103
+
*`aws` - The configuration for AWS Lambda connection. See [AWS](#AWS)
104
+
87
105
### Authentication
88
106
89
107
*`mechanism` - Style of authentication. Can be one of `PLAIN`, `SCRAM-256`, or `SCRAM-512`.
@@ -107,6 +125,9 @@ If `type` is of value `Kafka` the following additional arguments are defined:
107
125
*`type` - Selected networking type. Either `PUBLIC`, `VPC` or `PRIVATE_LINK`. Defaults to `PUBLIC`.
108
126
*`connection_id` - Id of the Private Link connection when type is `PRIVATE_LINK`.
109
127
128
+
### AWS
129
+
*`role_arn` - Amazon Resource Name (ARN) that identifies the Amazon Web Services (AWS) Identity and Access Management (IAM) role that MongoDB Cloud assumes when it accesses resources in your AWS account.
130
+
110
131
## Import
111
132
112
133
You can import a stream connection resource using the instance name, project ID, and connection name. The format must be `INSTANCE_NAME-PROJECT_ID-CONNECTION_NAME`. For example:
0 commit comments