@pulumi/mongodbatlas 3.30.0-alpha.1742278013 → 3.30.0-alpha.1742527703

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -113,7 +113,7 @@ export interface GetGlobalClusterConfigArgs {
113
113
  export interface GetGlobalClusterConfigResult {
114
114
  readonly clusterName: string;
115
115
  /**
116
- * (Deprecated) A map of all custom zone mappings defined for the Global Cluster to `replication_specs.*.id`. This attribute is deprecated, use `customZoneMappingZoneId` instead.
116
+ * (Deprecated) A map of all custom zone mappings defined for the Global Cluster to `replication_specs.*.id`. This attribute is deprecated, use `customZoneMappingZoneId` instead. This attribute is not set when a cluster uses independent shard scaling. To learn more, see the Sharding Configuration guide.
117
117
  *
118
118
  * @deprecated This parameter is deprecated and will be removed in version 1.23.0. Please transition to custom_zone_mapping_zone_id.
119
119
  */
@@ -67,6 +67,12 @@ export interface GetStreamConnectionResult {
67
67
  * The name of a Built in or Custom DB Role to connect to an Atlas Cluster. See DBRoleToExecute.
68
68
  */
69
69
  readonly dbRoleToExecute: outputs.GetStreamConnectionDbRoleToExecute;
70
+ /**
71
+ * A map of key-value pairs for optional headers.
72
+ */
73
+ readonly headers: {
74
+ [key: string]: string;
75
+ };
70
76
  readonly id: string;
71
77
  readonly instanceName: string;
72
78
  /**
@@ -82,6 +88,10 @@ export interface GetStreamConnectionResult {
82
88
  * Selected networking type. Either `PUBLIC`, `VPC` or `PRIVATE_LINK`. Defaults to `PUBLIC`.
83
89
  */
84
90
  readonly type: string;
91
+ /**
92
+ * URL of the HTTPs endpoint that will be used for creating a connection.
93
+ */
94
+ readonly url: string;
85
95
  }
86
96
  /**
87
97
  * ## # Data Source: mongodbatlas.StreamConnection
@@ -1 +1 @@
1
- {"version":3,"file":"getStreamConnection.js","sourceRoot":"","sources":["../getStreamConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;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AAI,CAAC,cAAc;QACrC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAyED;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8DAOC"}
@@ -5,6 +5,8 @@ import * as pulumi from "@pulumi/pulumi";
5
5
  * `mongodbatlas.StreamPrivatelinkEndpoint` describes a Privatelink Endpoint for Streams.
6
6
  *
7
7
  * ## Example Usage
8
+ *
9
+ * ### S
8
10
  */
9
11
  export declare function getStreamPrivatelinkEndpoint(args: GetStreamPrivatelinkEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetStreamPrivatelinkEndpointResult>;
10
12
  /**
@@ -24,17 +26,21 @@ export interface GetStreamPrivatelinkEndpointArgs {
24
26
  * A collection of values returned by getStreamPrivatelinkEndpoint.
25
27
  */
26
28
  export interface GetStreamPrivatelinkEndpointResult {
29
+ readonly arn: string;
27
30
  readonly dnsDomain: string;
28
31
  readonly dnsSubDomains: string[];
32
+ readonly errorMessage: string;
29
33
  /**
30
34
  * The ID of the Private Link connection.
31
35
  */
32
36
  readonly id: string;
33
37
  readonly interfaceEndpointId: string;
38
+ readonly interfaceEndpointName: string;
34
39
  /**
35
40
  * Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
36
41
  */
37
42
  readonly projectId: string;
43
+ readonly providerAccountId: string;
38
44
  readonly providerName: string;
39
45
  readonly region: string;
40
46
  readonly serviceEndpointId: string;
@@ -47,6 +53,8 @@ export interface GetStreamPrivatelinkEndpointResult {
47
53
  * `mongodbatlas.StreamPrivatelinkEndpoint` describes a Privatelink Endpoint for Streams.
48
54
  *
49
55
  * ## Example Usage
56
+ *
57
+ * ### S
50
58
  */
51
59
  export declare function getStreamPrivatelinkEndpointOutput(args: GetStreamPrivatelinkEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStreamPrivatelinkEndpointResult>;
52
60
  /**
@@ -11,6 +11,8 @@ const utilities = require("./utilities");
11
11
  * `mongodbatlas.StreamPrivatelinkEndpoint` describes a Privatelink Endpoint for Streams.
12
12
  *
13
13
  * ## Example Usage
14
+ *
15
+ * ### S
14
16
  */
15
17
  function getStreamPrivatelinkEndpoint(args, opts) {
16
18
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -26,6 +28,8 @@ exports.getStreamPrivatelinkEndpoint = getStreamPrivatelinkEndpoint;
26
28
  * `mongodbatlas.StreamPrivatelinkEndpoint` describes a Privatelink Endpoint for Streams.
27
29
  *
28
30
  * ## Example Usage
31
+ *
32
+ * ### S
29
33
  */
30
34
  function getStreamPrivatelinkEndpointOutput(args, opts) {
31
35
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getStreamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../getStreamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,C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AAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8EAA8E,EAAE;QAC/G,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gFAMC"}
@@ -6,6 +6,8 @@ import * as outputs from "./types/output";
6
6
  * `mongodbatlas.getStreamPrivatelinkEndpoints` describes a Privatelink Endpoint for Streams.
7
7
  *
8
8
  * ## Example Usage
9
+ *
10
+ * ### S
9
11
  */
10
12
  export declare function getStreamPrivatelinkEndpoints(args: GetStreamPrivatelinkEndpointsArgs, opts?: pulumi.InvokeOptions): Promise<GetStreamPrivatelinkEndpointsResult>;
11
13
  /**
@@ -37,6 +39,8 @@ export interface GetStreamPrivatelinkEndpointsResult {
37
39
  * `mongodbatlas.getStreamPrivatelinkEndpoints` describes a Privatelink Endpoint for Streams.
38
40
  *
39
41
  * ## Example Usage
42
+ *
43
+ * ### S
40
44
  */
41
45
  export declare function getStreamPrivatelinkEndpointsOutput(args: GetStreamPrivatelinkEndpointsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStreamPrivatelinkEndpointsResult>;
42
46
  /**
@@ -11,6 +11,8 @@ const utilities = require("./utilities");
11
11
  * `mongodbatlas.getStreamPrivatelinkEndpoints` describes a Privatelink Endpoint for Streams.
12
12
  *
13
13
  * ## Example Usage
14
+ *
15
+ * ### S
14
16
  */
15
17
  function getStreamPrivatelinkEndpoints(args, opts) {
16
18
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -25,6 +27,8 @@ exports.getStreamPrivatelinkEndpoints = getStreamPrivatelinkEndpoints;
25
27
  * `mongodbatlas.getStreamPrivatelinkEndpoints` describes a Privatelink Endpoint for Streams.
26
28
  *
27
29
  * ## Example Usage
30
+ *
31
+ * ### S
28
32
  */
29
33
  function getStreamPrivatelinkEndpointsOutput(args, opts) {
30
34
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getStreamPrivatelinkEndpoints.js","sourceRoot":"","sources":["../getStreamPrivatelinkEndpoints.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gFAAgF,EAAE;QAC3G,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sEAKC;AA0BD;;;;;;GAMG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAAiC;IAChI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gFAAgF,EAAE;QACjH,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kFAKC"}
1
+ {"version":3,"file":"getStreamPrivatelinkEndpoints.js","sourceRoot":"","sources":["../getStreamPrivatelinkEndpoints.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gFAAgF,EAAE;QAC3G,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sEAKC;AA0BD;;;;;;;;GAQG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAAiC;IAChI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gFAAgF,EAAE;QACjH,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kFAKC"}
@@ -99,7 +99,7 @@ export declare class GlobalClusterConfig extends pulumi.CustomResource {
99
99
  */
100
100
  readonly clusterName: pulumi.Output<string>;
101
101
  /**
102
- * (Deprecated) A map of all custom zone mappings defined for the Global Cluster to `replication_specs.*.id`. This attribute is deprecated, use `customZoneMappingZoneId` instead.
102
+ * (Deprecated) A map of all custom zone mappings defined for the Global Cluster to `replication_specs.*.id`. This attribute is deprecated, use `customZoneMappingZoneId` instead. This attribute is not set when a cluster uses independent shard scaling. To learn more, see the Sharding Configuration guide.
103
103
  *
104
104
  * @deprecated This parameter is deprecated and will be removed in version 1.23.0. Please transition to custom_zone_mapping_zone_id.
105
105
  */
@@ -142,7 +142,7 @@ export interface GlobalClusterConfigState {
142
142
  */
143
143
  clusterName?: pulumi.Input<string>;
144
144
  /**
145
- * (Deprecated) A map of all custom zone mappings defined for the Global Cluster to `replication_specs.*.id`. This attribute is deprecated, use `customZoneMappingZoneId` instead.
145
+ * (Deprecated) A map of all custom zone mappings defined for the Global Cluster to `replication_specs.*.id`. This attribute is deprecated, use `customZoneMappingZoneId` instead. This attribute is not set when a cluster uses independent shard scaling. To learn more, see the Sharding Configuration guide.
146
146
  *
147
147
  * @deprecated This parameter is deprecated and will be removed in version 1.23.0. Please transition to custom_zone_mapping_zone_id.
148
148
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/mongodbatlas",
3
- "version": "3.30.0-alpha.1742278013",
3
+ "version": "3.30.0-alpha.1742527703",
4
4
  "description": "A Pulumi package for creating and managing mongodbatlas cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "mongodbatlas",
26
- "version": "3.30.0-alpha.1742278013"
26
+ "version": "3.30.0-alpha.1742527703"
27
27
  }
28
28
  }
@@ -30,7 +30,7 @@ export declare class PrivateLinkEndpointService extends pulumi.CustomResource {
30
30
  /**
31
31
  * Status of the interface endpoint for AWS.
32
32
  * Returns one of the following values:
33
- * * `NONE` - Atlas created the network load balancer and VPC endpoint service, but AWS hasnt yet created the VPC endpoint.
33
+ * * `NONE` - Atlas created the network load balancer and VPC endpoint service, but AWS hasn't yet created the VPC endpoint.
34
34
  * * `PENDING_ACCEPTANCE` - AWS has received the connection request from your VPC endpoint to the Atlas VPC endpoint service.
35
35
  * * `PENDING` - AWS is establishing the connection between your VPC endpoint and the Atlas VPC endpoint service.
36
36
  * * `AVAILABLE` - Atlas VPC resources are connected to the VPC endpoint in your VPC. You can connect to Atlas clusters in this region using AWS PrivateLink.
@@ -124,7 +124,7 @@ export interface PrivateLinkEndpointServiceState {
124
124
  /**
125
125
  * Status of the interface endpoint for AWS.
126
126
  * Returns one of the following values:
127
- * * `NONE` - Atlas created the network load balancer and VPC endpoint service, but AWS hasnt yet created the VPC endpoint.
127
+ * * `NONE` - Atlas created the network load balancer and VPC endpoint service, but AWS hasn't yet created the VPC endpoint.
128
128
  * * `PENDING_ACCEPTANCE` - AWS has received the connection request from your VPC endpoint to the Atlas VPC endpoint service.
129
129
  * * `PENDING` - AWS is establishing the connection between your VPC endpoint and the Atlas VPC endpoint service.
130
130
  * * `AVAILABLE` - Atlas VPC resources are connected to the VPC endpoint in your VPC. You can connect to Atlas clusters in this region using AWS PrivateLink.
@@ -51,6 +51,25 @@ import * as outputs from "./types/output";
51
51
  * });
52
52
  * ```
53
53
  *
54
+ * ### Example Https Connection
55
+ *
56
+ * ```typescript
57
+ * import * as pulumi from "@pulumi/pulumi";
58
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
59
+ *
60
+ * const example_https = new mongodbatlas.StreamConnection("example-https", {
61
+ * projectId: projectId,
62
+ * instanceName: example.instanceName,
63
+ * connectionName: "https_connection_tf_new",
64
+ * type: "Https",
65
+ * url: "https://example.com",
66
+ * headers: {
67
+ * key1: "value1",
68
+ * key2: "value2",
69
+ * },
70
+ * });
71
+ * ```
72
+ *
54
73
  * ## Import
55
74
  *
56
75
  * 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:
@@ -89,6 +108,9 @@ export declare class StreamConnection extends pulumi.CustomResource {
89
108
  */
90
109
  readonly connectionName: pulumi.Output<string>;
91
110
  readonly dbRoleToExecute: pulumi.Output<outputs.StreamConnectionDbRoleToExecute | undefined>;
111
+ readonly headers: pulumi.Output<{
112
+ [key: string]: string;
113
+ } | undefined>;
92
114
  /**
93
115
  * Human-readable label that identifies the stream instance.
94
116
  */
@@ -100,9 +122,10 @@ export declare class StreamConnection extends pulumi.CustomResource {
100
122
  readonly projectId: pulumi.Output<string>;
101
123
  readonly security: pulumi.Output<outputs.StreamConnectionSecurity | undefined>;
102
124
  /**
103
- * Type of connection. Can be `Cluster`, `Kafka`, `Sample`, or `AWSLambda`.
125
+ * Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
104
126
  */
105
127
  readonly type: pulumi.Output<string>;
128
+ readonly url: pulumi.Output<string | undefined>;
106
129
  /**
107
130
  * Create a StreamConnection resource with the given unique name, arguments, and options.
108
131
  *
@@ -128,6 +151,9 @@ export interface StreamConnectionState {
128
151
  */
129
152
  connectionName?: pulumi.Input<string>;
130
153
  dbRoleToExecute?: pulumi.Input<inputs.StreamConnectionDbRoleToExecute>;
154
+ headers?: pulumi.Input<{
155
+ [key: string]: pulumi.Input<string>;
156
+ }>;
131
157
  /**
132
158
  * Human-readable label that identifies the stream instance.
133
159
  */
@@ -139,9 +165,10 @@ export interface StreamConnectionState {
139
165
  projectId?: pulumi.Input<string>;
140
166
  security?: pulumi.Input<inputs.StreamConnectionSecurity>;
141
167
  /**
142
- * Type of connection. Can be `Cluster`, `Kafka`, `Sample`, or `AWSLambda`.
168
+ * Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
143
169
  */
144
170
  type?: pulumi.Input<string>;
171
+ url?: pulumi.Input<string>;
145
172
  }
146
173
  /**
147
174
  * The set of arguments for constructing a StreamConnection resource.
@@ -159,6 +186,9 @@ export interface StreamConnectionArgs {
159
186
  */
160
187
  connectionName: pulumi.Input<string>;
161
188
  dbRoleToExecute?: pulumi.Input<inputs.StreamConnectionDbRoleToExecute>;
189
+ headers?: pulumi.Input<{
190
+ [key: string]: pulumi.Input<string>;
191
+ }>;
162
192
  /**
163
193
  * Human-readable label that identifies the stream instance.
164
194
  */
@@ -170,7 +200,8 @@ export interface StreamConnectionArgs {
170
200
  projectId: pulumi.Input<string>;
171
201
  security?: pulumi.Input<inputs.StreamConnectionSecurity>;
172
202
  /**
173
- * Type of connection. Can be `Cluster`, `Kafka`, `Sample`, or `AWSLambda`.
203
+ * Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
174
204
  */
175
205
  type: pulumi.Input<string>;
206
+ url?: pulumi.Input<string>;
176
207
  }
@@ -55,6 +55,25 @@ const utilities = require("./utilities");
55
55
  * });
56
56
  * ```
57
57
  *
58
+ * ### Example Https Connection
59
+ *
60
+ * ```typescript
61
+ * import * as pulumi from "@pulumi/pulumi";
62
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
63
+ *
64
+ * const example_https = new mongodbatlas.StreamConnection("example-https", {
65
+ * projectId: projectId,
66
+ * instanceName: example.instanceName,
67
+ * connectionName: "https_connection_tf_new",
68
+ * type: "Https",
69
+ * url: "https://example.com",
70
+ * headers: {
71
+ * key1: "value1",
72
+ * key2: "value2",
73
+ * },
74
+ * });
75
+ * ```
76
+ *
58
77
  * ## Import
59
78
  *
60
79
  * 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:
@@ -100,11 +119,13 @@ class StreamConnection extends pulumi.CustomResource {
100
119
  resourceInputs["config"] = state ? state.config : undefined;
101
120
  resourceInputs["connectionName"] = state ? state.connectionName : undefined;
102
121
  resourceInputs["dbRoleToExecute"] = state ? state.dbRoleToExecute : undefined;
122
+ resourceInputs["headers"] = state ? state.headers : undefined;
103
123
  resourceInputs["instanceName"] = state ? state.instanceName : undefined;
104
124
  resourceInputs["networking"] = state ? state.networking : undefined;
105
125
  resourceInputs["projectId"] = state ? state.projectId : undefined;
106
126
  resourceInputs["security"] = state ? state.security : undefined;
107
127
  resourceInputs["type"] = state ? state.type : undefined;
128
+ resourceInputs["url"] = state ? state.url : undefined;
108
129
  }
109
130
  else {
110
131
  const args = argsOrState;
@@ -127,11 +148,13 @@ class StreamConnection extends pulumi.CustomResource {
127
148
  resourceInputs["config"] = args ? args.config : undefined;
128
149
  resourceInputs["connectionName"] = args ? args.connectionName : undefined;
129
150
  resourceInputs["dbRoleToExecute"] = args ? args.dbRoleToExecute : undefined;
151
+ resourceInputs["headers"] = args ? args.headers : undefined;
130
152
  resourceInputs["instanceName"] = args ? args.instanceName : undefined;
131
153
  resourceInputs["networking"] = args ? args.networking : undefined;
132
154
  resourceInputs["projectId"] = args ? args.projectId : undefined;
133
155
  resourceInputs["security"] = args ? args.security : undefined;
134
156
  resourceInputs["type"] = args ? args.type : undefined;
157
+ resourceInputs["url"] = args ? args.url : undefined;
135
158
  }
136
159
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
137
160
  super(StreamConnection.__pulumiType, name, resour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AAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAjHL,4CAkHC;AApGG,gBAAgB;AACO,6BAAY,GAAG,sDAAsD,CAAC"}
@@ -5,6 +5,8 @@ import * as pulumi from "@pulumi/pulumi";
5
5
  * `mongodbatlas.StreamPrivatelinkEndpoint` describes a Privatelink Endpoint for Streams.
6
6
  *
7
7
  * ## Example Usage
8
+ *
9
+ * ### S
8
10
  */
9
11
  export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
10
12
  /**
@@ -22,6 +24,10 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
22
24
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
25
  */
24
26
  static isInstance(obj: any): obj is StreamPrivatelinkEndpoint;
27
+ /**
28
+ * Amazon Resource Name (ARN).
29
+ */
30
+ readonly arn: pulumi.Output<string | undefined>;
25
31
  /**
26
32
  * Domain name of Privatelink connected cluster.
27
33
  */
@@ -30,22 +36,35 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
30
36
  * Sub-Domain name of Confluent cluster. These are typically your availability zones.
31
37
  */
32
38
  readonly dnsSubDomains: pulumi.Output<string[] | undefined>;
39
+ /**
40
+ * Error message if the connection is in a failed state.
41
+ */
42
+ readonly errorMessage: pulumi.Output<string>;
33
43
  /**
34
44
  * Interface endpoint ID that is created from the specified service endpoint ID.
35
45
  */
36
46
  readonly interfaceEndpointId: pulumi.Output<string>;
47
+ /**
48
+ * Name of interface endpoint that is created from the specified service endpoint ID.
49
+ */
50
+ readonly interfaceEndpointName: pulumi.Output<string>;
37
51
  /**
38
52
  * Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
39
53
  */
40
54
  readonly projectId: pulumi.Output<string>;
55
+ /**
56
+ * Account ID from the cloud provider.
57
+ */
58
+ readonly providerAccountId: pulumi.Output<string>;
41
59
  /**
42
60
  * Provider where the Kafka cluster is deployed.
43
61
  */
44
62
  readonly providerName: pulumi.Output<string>;
45
63
  /**
46
- * Domain name of Confluent cluster.
64
+ * When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed
65
+ * by the API from the provided `arn`.
47
66
  */
48
- readonly region: pulumi.Output<string | undefined>;
67
+ readonly region: pulumi.Output<string>;
49
68
  /**
50
69
  * Service Endpoint ID.
51
70
  */
@@ -71,6 +90,10 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
71
90
  * Input properties used for looking up and filtering StreamPrivatelinkEndpoint resources.
72
91
  */
73
92
  export interface StreamPrivatelinkEndpointState {
93
+ /**
94
+ * Amazon Resource Name (ARN).
95
+ */
96
+ arn?: pulumi.Input<string>;
74
97
  /**
75
98
  * Domain name of Privatelink connected cluster.
76
99
  */
@@ -79,20 +102,33 @@ export interface StreamPrivatelinkEndpointState {
79
102
  * Sub-Domain name of Confluent cluster. These are typically your availability zones.
80
103
  */
81
104
  dnsSubDomains?: pulumi.Input<pulumi.Input<string>[]>;
105
+ /**
106
+ * Error message if the connection is in a failed state.
107
+ */
108
+ errorMessage?: pulumi.Input<string>;
82
109
  /**
83
110
  * Interface endpoint ID that is created from the specified service endpoint ID.
84
111
  */
85
112
  interfaceEndpointId?: pulumi.Input<string>;
113
+ /**
114
+ * Name of interface endpoint that is created from the specified service endpoint ID.
115
+ */
116
+ interfaceEndpointName?: pulumi.Input<string>;
86
117
  /**
87
118
  * Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
88
119
  */
89
120
  projectId?: pulumi.Input<string>;
121
+ /**
122
+ * Account ID from the cloud provider.
123
+ */
124
+ providerAccountId?: pulumi.Input<string>;
90
125
  /**
91
126
  * Provider where the Kafka cluster is deployed.
92
127
  */
93
128
  providerName?: pulumi.Input<string>;
94
129
  /**
95
- * Domain name of Confluent cluster.
130
+ * When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed
131
+ * by the API from the provided `arn`.
96
132
  */
97
133
  region?: pulumi.Input<string>;
98
134
  /**
@@ -112,6 +148,10 @@ export interface StreamPrivatelinkEndpointState {
112
148
  * The set of arguments for constructing a StreamPrivatelinkEndpoint resource.
113
149
  */
114
150
  export interface StreamPrivatelinkEndpointArgs {
151
+ /**
152
+ * Amazon Resource Name (ARN).
153
+ */
154
+ arn?: pulumi.Input<string>;
115
155
  /**
116
156
  * Domain name of Privatelink connected cluster.
117
157
  */
@@ -129,7 +169,8 @@ export interface StreamPrivatelinkEndpointArgs {
129
169
  */
130
170
  providerName: pulumi.Input<string>;
131
171
  /**
132
- * Domain name of Confluent cluster.
172
+ * When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed
173
+ * by the API from the provided `arn`.
133
174
  */
134
175
  region?: pulumi.Input<string>;
135
176
  /**
@@ -11,6 +11,8 @@ const utilities = require("./utilities");
11
11
  * `mongodbatlas.StreamPrivatelinkEndpoint` describes a Privatelink Endpoint for Streams.
12
12
  *
13
13
  * ## Example Usage
14
+ *
15
+ * ### S
14
16
  */
15
17
  class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
16
18
  /**
@@ -40,10 +42,14 @@ class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
40
42
  opts = opts || {};
41
43
  if (opts.id) {
42
44
  const state = argsOrState;
45
+ resourceInputs["arn"] = state ? state.arn : undefined;
43
46
  resourceInputs["dnsDomain"] = state ? state.dnsDomain : undefined;
44
47
  resourceInputs["dnsSubDomains"] = state ? state.dnsSubDomains : undefined;
48
+ resourceInputs["errorMessage"] = state ? state.errorMessage : undefined;
45
49
  resourceInputs["interfaceEndpointId"] = state ? state.interfaceEndpointId : undefined;
50
+ resourceInputs["interfaceEndpointName"] = state ? state.interfaceEndpointName : undefined;
46
51
  resourceInputs["projectId"] = state ? state.projectId : undefined;
52
+ resourceInputs["providerAccountId"] = state ? state.providerAccountId : undefined;
47
53
  resourceInputs["providerName"] = state ? state.providerName : undefined;
48
54
  resourceInputs["region"] = state ? state.region : undefined;
49
55
  resourceInputs["serviceEndpointId"] = state ? state.serviceEndpointId : undefined;
@@ -61,6 +67,7 @@ class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
61
67
  if ((!args || args.vendor === undefined) && !opts.urn) {
62
68
  throw new Error("Missing required property 'vendor'");
63
69
  }
70
+ resourceInputs["arn"] = args ? args.arn : undefined;
64
71
  resourceInputs["dnsDomain"] = args ? args.dnsDomain : undefined;
65
72
  resourceInputs["dnsSubDomains"] = args ? args.dnsSubDomains : undefined;
66
73
  resourceInputs["projectId"] = args ? args.projectId : undefined;
@@ -68,7 +75,10 @@ class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
68
75
  resourceInputs["region"] = args ? args.region : undefined;
69
76
  resourceInputs["serviceEndpointId"] = args ? args.serviceEndpointId : undefined;
70
77
  resourceInputs["vendor"] = args ? args.vendor : undefined;
78
+ resourceInputs["errorMessage"] = undefined /*out*/;
71
79
  resourceInputs["interfaceEndpointId"] = undefined /*out*/;
80
+ resourceInputs["interfaceEndpointName"] = undefined /*out*/;
81
+ resourceInputs["providerAccountId"] = undefined /*out*/;
72
82
  resourceInputs["state"] = undefined /*out*/;
73
83
  }
74
84
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"streamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../streamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IA+CD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAA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C,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAvIL,8DAwIC;AA1HG,gBAAgB;AACO,sCAAY,GAAG,wEAAwE,CAAC"}
package/types/input.d.ts CHANGED
@@ -131,7 +131,6 @@ export interface AdvancedClusterConnectionStringPrivateEndpointEndpoint {
131
131
  /**
132
132
  * Cloud service provider on which the servers are provisioned.
133
133
  * The possible values are:
134
- *
135
134
  * - `AWS` - Amazon AWS
136
135
  * - `GCP` - Google Cloud Platform
137
136
  * - `AZURE` - Microsoft Azure
@@ -184,7 +183,7 @@ export interface AdvancedClusterReplicationSpec {
184
183
  */
185
184
  numShards?: pulumi.Input<number>;
186
185
  /**
187
- * Configuration for the hardware specifications for nodes set for a given regionEach `regionConfigs` object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each `regionConfigs` object must have either an `analyticsSpecs` object, `electableSpecs` object, or `readOnlySpecs` object. See below
186
+ * Configuration for the hardware specifications for nodes set for a given region. Each `regionConfigs` object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each `regionConfigs` object must have either an `analyticsSpecs` object, `electableSpecs` object, or `readOnlySpecs` object. See below.
188
187
  */
189
188
  regionConfigs: pulumi.Input<pulumi.Input<inputs.AdvancedClusterReplicationSpecRegionConfig>[]>;
190
189
  /**
@@ -214,7 +213,7 @@ export interface AdvancedClusterReplicationSpecRegionConfig {
214
213
  */
215
214
  backingProviderName?: pulumi.Input<string>;
216
215
  /**
217
- * Hardware specifications for electable nodes in the region. Electable nodes can become the [primary](https://docs.atlas.mongodb.com/reference/glossary/#std-term-primary) and can enable local reads. If you do not specify this option, no electable nodes are deployed to the region. See below.
216
+ * Hardware specifications for electable nodes in the region. All `electableSpecs` in the `regionConfigs` of a `replicationSpecs` must have the same `instanceSize`. Electable nodes can become the [primary](https://docs.atlas.mongodb.com/reference/glossary/#std-term-primary) and can enable local reads. If you do not specify this option, no electable nodes are deployed to the region. See below.
218
217
  */
219
218
  electableSpecs?: pulumi.Input<inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecs>;
220
219
  /**
@@ -226,7 +225,6 @@ export interface AdvancedClusterReplicationSpecRegionConfig {
226
225
  /**
227
226
  * Cloud service provider on which the servers are provisioned.
228
227
  * The possible values are:
229
- *
230
228
  * - `AWS` - Amazon AWS
231
229
  * - `GCP` - Google Cloud Platform
232
230
  * - `AZURE` - Microsoft Azure
@@ -234,7 +232,7 @@ export interface AdvancedClusterReplicationSpecRegionConfig {
234
232
  */
235
233
  providerName: pulumi.Input<string>;
236
234
  /**
237
- * Hardware specifications for read-only nodes in the region. Read-only nodes can become the [primary](https://docs.atlas.mongodb.com/reference/glossary/#std-term-primary) and can enable local reads. If you don't specify this parameter, no read-only nodes are deployed to the region. See below.
235
+ * Hardware specifications for read-only nodes in the region. All `readOnlySpecs` in the `regionConfigs` of a `replicationSpecs` must have the same `instanceSize` as `electableSpecs`. Read-only nodes can become the [primary](https://docs.atlas.mongodb.com/reference/glossary/#std-term-primary) and can enable local reads. If you don't specify this parameter, no read-only nodes are deployed to the region. See below.
238
236
  */
239
237
  readOnlySpecs?: pulumi.Input<inputs.AdvancedClusterReplicationSpecRegionConfigReadOnlySpecs>;
240
238
  /**
@@ -2163,7 +2161,7 @@ export interface StreamConnectionDbRoleToExecute {
2163
2161
  */
2164
2162
  role: pulumi.Input<string>;
2165
2163
  /**
2166
- * Type of connection. Can be `Cluster`, `Kafka`, `Sample`, or `AWSLambda`.
2164
+ * Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
2167
2165
  */
2168
2166
  type: pulumi.Input<string>;
2169
2167
  }
package/types/output.d.ts CHANGED
@@ -130,7 +130,6 @@ export interface AdvancedClusterConnectionStringPrivateEndpointEndpoint {
130
130
  /**
131
131
  * Cloud service provider on which the servers are provisioned.
132
132
  * The possible values are:
133
- *
134
133
  * - `AWS` - Amazon AWS
135
134
  * - `GCP` - Google Cloud Platform
136
135
  * - `AZURE` - Microsoft Azure
@@ -183,7 +182,7 @@ export interface AdvancedClusterReplicationSpec {
183
182
  */
184
183
  numShards?: number;
185
184
  /**
186
- * Configuration for the hardware specifications for nodes set for a given regionEach `regionConfigs` object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each `regionConfigs` object must have either an `analyticsSpecs` object, `electableSpecs` object, or `readOnlySpecs` object. See below
185
+ * Configuration for the hardware specifications for nodes set for a given region. Each `regionConfigs` object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each `regionConfigs` object must have either an `analyticsSpecs` object, `electableSpecs` object, or `readOnlySpecs` object. See below.
187
186
  */
188
187
  regionConfigs: outputs.AdvancedClusterReplicationSpecRegionConfig[];
189
188
  /**
@@ -213,7 +212,7 @@ export interface AdvancedClusterReplicationSpecRegionConfig {
213
212
  */
214
213
  backingProviderName?: string;
215
214
  /**
216
- * Hardware specifications for electable nodes in the region. Electable nodes can become the [primary](https://docs.atlas.mongodb.com/reference/glossary/#std-term-primary) and can enable local reads. If you do not specify this option, no electable nodes are deployed to the region. See below.
215
+ * Hardware specifications for electable nodes in the region. All `electableSpecs` in the `regionConfigs` of a `replicationSpecs` must have the same `instanceSize`. Electable nodes can become the [primary](https://docs.atlas.mongodb.com/reference/glossary/#std-term-primary) and can enable local reads. If you do not specify this option, no electable nodes are deployed to the region. See below.
217
216
  */
218
217
  electableSpecs: outputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecs;
219
218
  /**
@@ -225,7 +224,6 @@ export interface AdvancedClusterReplicationSpecRegionConfig {
225
224
  /**
226
225
  * Cloud service provider on which the servers are provisioned.
227
226
  * The possible values are:
228
- *
229
227
  * - `AWS` - Amazon AWS
230
228
  * - `GCP` - Google Cloud Platform
231
229
  * - `AZURE` - Microsoft Azure
@@ -233,7 +231,7 @@ export interface AdvancedClusterReplicationSpecRegionConfig {
233
231
  */
234
232
  providerName: string;
235
233
  /**
236
- * Hardware specifications for read-only nodes in the region. Read-only nodes can become the [primary](https://docs.atlas.mongodb.com/reference/glossary/#std-term-primary) and can enable local reads. If you don't specify this parameter, no read-only nodes are deployed to the region. See below.
234
+ * Hardware specifications for read-only nodes in the region. All `readOnlySpecs` in the `regionConfigs` of a `replicationSpecs` must have the same `instanceSize` as `electableSpecs`. Read-only nodes can become the [primary](https://docs.atlas.mongodb.com/reference/glossary/#std-term-primary) and can enable local reads. If you don't specify this parameter, no read-only nodes are deployed to the region. See below.
237
235
  */
238
236
  readOnlySpecs: outputs.AdvancedClusterReplicationSpecRegionConfigReadOnlySpecs;
239
237
  /**
@@ -1790,7 +1788,7 @@ export interface GetAdvancedClusterReplicationSpec {
1790
1788
  */
1791
1789
  numShards: number;
1792
1790
  /**
1793
- * Configuration for the hardware specifications for nodes set for a given regionEach `regionConfigs` object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each `regionConfigs` object must have either an `analyticsSpecs` object, `electableSpecs` object, or `readOnlySpecs` object. See below
1791
+ * Configuration for the hardware specifications for nodes set for a given region. Each `regionConfigs` object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each `regionConfigs` object must have either an `analyticsSpecs` object, `electableSpecs` object, or `readOnlySpecs` object. See below.
1794
1792
  */
1795
1793
  regionConfigs: outputs.GetAdvancedClusterReplicationSpecRegionConfig[];
1796
1794
  /**
@@ -2227,7 +2225,7 @@ export interface GetAdvancedClustersResultReplicationSpec {
2227
2225
  */
2228
2226
  numShards: number;
2229
2227
  /**
2230
- * Configuration for the hardware specifications for nodes set for a given regionEach `regionConfigs` object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each `regionConfigs` object must have either an `analyticsSpecs` object, `electableSpecs` object, or `readOnlySpecs` object. See below
2228
+ * Configuration for the hardware specifications for nodes set for a given region. Each `regionConfigs` object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each `regionConfigs` object must have either an `analyticsSpecs` object, `electableSpecs` object, or `readOnlySpecs` object. See below.
2231
2229
  */
2232
2230
  regionConfigs: outputs.GetAdvancedClustersResultReplicationSpecRegionConfig[];
2233
2231
  /**
@@ -6806,6 +6804,12 @@ export interface GetStreamConnectionsResult {
6806
6804
  * The name of a Built in or Custom DB Role to connect to an Atlas Cluster. See DBRoleToExecute.
6807
6805
  */
6808
6806
  dbRoleToExecute: outputs.GetStreamConnectionsResultDbRoleToExecute;
6807
+ /**
6808
+ * A map of key-value pairs for optional headers.
6809
+ */
6810
+ headers: {
6811
+ [key: string]: string;
6812
+ };
6809
6813
  id: string;
6810
6814
  /**
6811
6815
  * Human-readable label that identifies the stream instance.
@@ -6827,6 +6831,10 @@ export interface GetStreamConnectionsResult {
6827
6831
  * Selected networking type. Either `PUBLIC`, `VPC` or `PRIVATE_LINK`. Defaults to `PUBLIC`.
6828
6832
  */
6829
6833
  type: string;
6834
+ /**
6835
+ * URL of the HTTPs endpoint that will be used for creating a connection.
6836
+ */
6837
+ url: string;
6830
6838
  }
6831
6839
  export interface GetStreamConnectionsResultAuthentication {
6832
6840
  /**
@@ -6940,6 +6948,10 @@ export interface GetStreamInstancesResultStreamConfig {
6940
6948
  tier: string;
6941
6949
  }
6942
6950
  export interface GetStreamPrivatelinkEndpointsResult {
6951
+ /**
6952
+ * Amazon Resource Name (ARN).
6953
+ */
6954
+ arn: string;
6943
6955
  /**
6944
6956
  * Domain name of Privatelink connected cluster.
6945
6957
  */
@@ -6948,6 +6960,10 @@ export interface GetStreamPrivatelinkEndpointsResult {
6948
6960
  * Sub-Domain name of Confluent cluster. These are typically your availability zones.
6949
6961
  */
6950
6962
  dnsSubDomains: string[];
6963
+ /**
6964
+ * Error message if the connection is in a failed state.
6965
+ */
6966
+ errorMessage: string;
6951
6967
  /**
6952
6968
  * The ID of the Private Link connection.
6953
6969
  */
@@ -6956,16 +6972,24 @@ export interface GetStreamPrivatelinkEndpointsResult {
6956
6972
  * Interface endpoint ID that is created from the specified service endpoint ID.
6957
6973
  */
6958
6974
  interfaceEndpointId: string;
6975
+ /**
6976
+ * Name of interface endpoint that is created from the specified service endpoint ID.
6977
+ */
6978
+ interfaceEndpointName: string;
6959
6979
  /**
6960
6980
  * Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
6961
6981
  */
6962
6982
  projectId: string;
6983
+ /**
6984
+ * Account ID from the cloud provider.
6985
+ */
6986
+ providerAccountId: string;
6963
6987
  /**
6964
6988
  * Provider where the Kafka cluster is deployed.
6965
6989
  */
6966
6990
  providerName: string;
6967
6991
  /**
6968
- * Domain name of Confluent cluster.
6992
+ * When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the API from the provided `arn`.
6969
6993
  */
6970
6994
  region: string;
6971
6995
  /**
@@ -7456,7 +7480,7 @@ export interface StreamConnectionDbRoleToExecute {
7456
7480
  */
7457
7481
  role: string;
7458
7482
  /**
7459
- * Type of connection. Can be `Cluster`, `Kafka`, `Sample`, or `AWSLambda`.
7483
+ * Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
7460
7484
  */
7461
7485
  type: string;
7462
7486
  }