@pulumi/mongodbatlas 3.36.0-alpha.1755584075 → 3.36.0-alpha.1755833448
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.
- package/getStreamPrivatelinkEndpoint.d.ts +72 -54
- package/getStreamPrivatelinkEndpoint.js +72 -0
- package/getStreamPrivatelinkEndpoint.js.map +1 -1
- package/getStreamPrivatelinkEndpoints.d.ts +72 -12
- package/getStreamPrivatelinkEndpoints.js +72 -0
- package/getStreamPrivatelinkEndpoints.js.map +1 -1
- package/package.json +2 -2
- package/streamPrivatelinkEndpoint.d.ts +93 -21
- package/streamPrivatelinkEndpoint.js +36 -0
- package/streamPrivatelinkEndpoint.js.map +1 -1
- package/types/output.d.ts +12 -4
|
@@ -7,80 +7,68 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
9
|
* ### S
|
|
10
|
+
*
|
|
11
|
+
* ### AWS S3 Privatelink
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as aws from "@pulumi/aws";
|
|
15
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
|
+
*
|
|
17
|
+
* // S3 bucket for stream data
|
|
18
|
+
* const streamBucket = new aws.index.S3Bucket("stream_bucket", {
|
|
19
|
+
* bucket: s3BucketName,
|
|
20
|
+
* forceDestroy: true,
|
|
21
|
+
* });
|
|
22
|
+
* const streamBucketVersioning = new aws.index.S3BucketVersioning("stream_bucket_versioning", {
|
|
23
|
+
* bucket: streamBucket.id,
|
|
24
|
+
* versioningConfiguration: [{
|
|
25
|
+
* status: "Enabled",
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
* const streamBucketEncryption = new aws.index.S3BucketServerSideEncryptionConfiguration("stream_bucket_encryption", {
|
|
29
|
+
* bucket: streamBucket.id,
|
|
30
|
+
* rule: [{
|
|
31
|
+
* applyServerSideEncryptionByDefault: [{
|
|
32
|
+
* sseAlgorithm: "AES256",
|
|
33
|
+
* }],
|
|
34
|
+
* }],
|
|
35
|
+
* });
|
|
36
|
+
* // PrivateLink for S3
|
|
37
|
+
* const _this = new mongodbatlas.StreamPrivatelinkEndpoint("this", {
|
|
38
|
+
* projectId: projectId,
|
|
39
|
+
* providerName: "AWS",
|
|
40
|
+
* vendor: "S3",
|
|
41
|
+
* region: region,
|
|
42
|
+
* serviceEndpointId: serviceEndpointId,
|
|
43
|
+
* });
|
|
44
|
+
* export const privatelinkEndpointId = _this.id;
|
|
45
|
+
* ```
|
|
10
46
|
*/
|
|
11
47
|
export declare function getStreamPrivatelinkEndpoint(args: GetStreamPrivatelinkEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetStreamPrivatelinkEndpointResult>;
|
|
12
48
|
/**
|
|
13
49
|
* A collection of arguments for invoking getStreamPrivatelinkEndpoint.
|
|
14
50
|
*/
|
|
15
51
|
export interface GetStreamPrivatelinkEndpointArgs {
|
|
16
|
-
/**
|
|
17
|
-
* The ID of the Private Link connection.
|
|
18
|
-
*/
|
|
19
52
|
id: string;
|
|
20
|
-
/**
|
|
21
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.\n\n**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
|
|
22
|
-
*/
|
|
23
53
|
projectId: string;
|
|
24
54
|
}
|
|
25
55
|
/**
|
|
26
56
|
* A collection of values returned by getStreamPrivatelinkEndpoint.
|
|
27
57
|
*/
|
|
28
58
|
export interface GetStreamPrivatelinkEndpointResult {
|
|
29
|
-
/**
|
|
30
|
-
* Amazon Resource Name (ARN). Required for AWS Provider and MSK vendor.
|
|
31
|
-
*/
|
|
32
59
|
readonly arn: string;
|
|
33
|
-
/**
|
|
34
|
-
* The domain hostname. Required for the following provider and vendor combinations:\n\n- AWS provider with CONFLUENT vendor.\n\n- AZURE provider with EVENTHUB or CONFLUENT vendor.
|
|
35
|
-
*/
|
|
36
60
|
readonly dnsDomain: string;
|
|
37
|
-
/**
|
|
38
|
-
* Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
|
|
39
|
-
*/
|
|
40
61
|
readonly dnsSubDomains: string[];
|
|
41
|
-
/**
|
|
42
|
-
* Error message if the connection is in a failed state.
|
|
43
|
-
*/
|
|
44
62
|
readonly errorMessage: string;
|
|
45
|
-
/**
|
|
46
|
-
* The ID of the Private Link connection.
|
|
47
|
-
*/
|
|
48
63
|
readonly id: string;
|
|
49
|
-
/**
|
|
50
|
-
* Interface endpoint ID that is created from the specified service endpoint ID.
|
|
51
|
-
*/
|
|
52
64
|
readonly interfaceEndpointId: string;
|
|
53
|
-
/**
|
|
54
|
-
* Name of interface endpoint that is created from the specified service endpoint ID.
|
|
55
|
-
*/
|
|
56
65
|
readonly interfaceEndpointName: string;
|
|
57
|
-
/**
|
|
58
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.\n\n**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
|
|
59
|
-
*/
|
|
60
66
|
readonly projectId: string;
|
|
61
|
-
/**
|
|
62
|
-
* Account ID from the cloud provider.
|
|
63
|
-
*/
|
|
64
67
|
readonly providerAccountId: string;
|
|
65
|
-
/**
|
|
66
|
-
* Provider where the Kafka cluster is deployed. Valid values are AWS and AZURE.
|
|
67
|
-
*/
|
|
68
68
|
readonly providerName: string;
|
|
69
|
-
/**
|
|
70
|
-
* The region of the Provider’s cluster. See [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. 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`.
|
|
71
|
-
*/
|
|
72
69
|
readonly region: string;
|
|
73
|
-
/**
|
|
74
|
-
* For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
|
|
75
|
-
*/
|
|
76
70
|
readonly serviceEndpointId: string;
|
|
77
|
-
/**
|
|
78
|
-
* Status of the connection.
|
|
79
|
-
*/
|
|
80
71
|
readonly state: string;
|
|
81
|
-
/**
|
|
82
|
-
* Vendor that manages the Kafka cluster. The following are the vendor values per provider:\n\n- MSK and CONFLUENT for the AWS provider.\n\n- EVENTHUB and CONFLUENT for the AZURE provider.
|
|
83
|
-
*/
|
|
84
72
|
readonly vendor: string;
|
|
85
73
|
}
|
|
86
74
|
/**
|
|
@@ -91,18 +79,48 @@ export interface GetStreamPrivatelinkEndpointResult {
|
|
|
91
79
|
* ## Example Usage
|
|
92
80
|
*
|
|
93
81
|
* ### S
|
|
82
|
+
*
|
|
83
|
+
* ### AWS S3 Privatelink
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as aws from "@pulumi/aws";
|
|
87
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
88
|
+
*
|
|
89
|
+
* // S3 bucket for stream data
|
|
90
|
+
* const streamBucket = new aws.index.S3Bucket("stream_bucket", {
|
|
91
|
+
* bucket: s3BucketName,
|
|
92
|
+
* forceDestroy: true,
|
|
93
|
+
* });
|
|
94
|
+
* const streamBucketVersioning = new aws.index.S3BucketVersioning("stream_bucket_versioning", {
|
|
95
|
+
* bucket: streamBucket.id,
|
|
96
|
+
* versioningConfiguration: [{
|
|
97
|
+
* status: "Enabled",
|
|
98
|
+
* }],
|
|
99
|
+
* });
|
|
100
|
+
* const streamBucketEncryption = new aws.index.S3BucketServerSideEncryptionConfiguration("stream_bucket_encryption", {
|
|
101
|
+
* bucket: streamBucket.id,
|
|
102
|
+
* rule: [{
|
|
103
|
+
* applyServerSideEncryptionByDefault: [{
|
|
104
|
+
* sseAlgorithm: "AES256",
|
|
105
|
+
* }],
|
|
106
|
+
* }],
|
|
107
|
+
* });
|
|
108
|
+
* // PrivateLink for S3
|
|
109
|
+
* const _this = new mongodbatlas.StreamPrivatelinkEndpoint("this", {
|
|
110
|
+
* projectId: projectId,
|
|
111
|
+
* providerName: "AWS",
|
|
112
|
+
* vendor: "S3",
|
|
113
|
+
* region: region,
|
|
114
|
+
* serviceEndpointId: serviceEndpointId,
|
|
115
|
+
* });
|
|
116
|
+
* export const privatelinkEndpointId = _this.id;
|
|
117
|
+
* ```
|
|
94
118
|
*/
|
|
95
119
|
export declare function getStreamPrivatelinkEndpointOutput(args: GetStreamPrivatelinkEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStreamPrivatelinkEndpointResult>;
|
|
96
120
|
/**
|
|
97
121
|
* A collection of arguments for invoking getStreamPrivatelinkEndpoint.
|
|
98
122
|
*/
|
|
99
123
|
export interface GetStreamPrivatelinkEndpointOutputArgs {
|
|
100
|
-
/**
|
|
101
|
-
* The ID of the Private Link connection.
|
|
102
|
-
*/
|
|
103
124
|
id: pulumi.Input<string>;
|
|
104
|
-
/**
|
|
105
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.\n\n**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
|
|
106
|
-
*/
|
|
107
125
|
projectId: pulumi.Input<string>;
|
|
108
126
|
}
|
|
@@ -13,6 +13,42 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
15
|
* ### S
|
|
16
|
+
*
|
|
17
|
+
* ### AWS S3 Privatelink
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as aws from "@pulumi/aws";
|
|
21
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
+
*
|
|
23
|
+
* // S3 bucket for stream data
|
|
24
|
+
* const streamBucket = new aws.index.S3Bucket("stream_bucket", {
|
|
25
|
+
* bucket: s3BucketName,
|
|
26
|
+
* forceDestroy: true,
|
|
27
|
+
* });
|
|
28
|
+
* const streamBucketVersioning = new aws.index.S3BucketVersioning("stream_bucket_versioning", {
|
|
29
|
+
* bucket: streamBucket.id,
|
|
30
|
+
* versioningConfiguration: [{
|
|
31
|
+
* status: "Enabled",
|
|
32
|
+
* }],
|
|
33
|
+
* });
|
|
34
|
+
* const streamBucketEncryption = new aws.index.S3BucketServerSideEncryptionConfiguration("stream_bucket_encryption", {
|
|
35
|
+
* bucket: streamBucket.id,
|
|
36
|
+
* rule: [{
|
|
37
|
+
* applyServerSideEncryptionByDefault: [{
|
|
38
|
+
* sseAlgorithm: "AES256",
|
|
39
|
+
* }],
|
|
40
|
+
* }],
|
|
41
|
+
* });
|
|
42
|
+
* // PrivateLink for S3
|
|
43
|
+
* const _this = new mongodbatlas.StreamPrivatelinkEndpoint("this", {
|
|
44
|
+
* projectId: projectId,
|
|
45
|
+
* providerName: "AWS",
|
|
46
|
+
* vendor: "S3",
|
|
47
|
+
* region: region,
|
|
48
|
+
* serviceEndpointId: serviceEndpointId,
|
|
49
|
+
* });
|
|
50
|
+
* export const privatelinkEndpointId = _this.id;
|
|
51
|
+
* ```
|
|
16
52
|
*/
|
|
17
53
|
function getStreamPrivatelinkEndpoint(args, opts) {
|
|
18
54
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -30,6 +66,42 @@ exports.getStreamPrivatelinkEndpoint = getStreamPrivatelinkEndpoint;
|
|
|
30
66
|
* ## Example Usage
|
|
31
67
|
*
|
|
32
68
|
* ### S
|
|
69
|
+
*
|
|
70
|
+
* ### AWS S3 Privatelink
|
|
71
|
+
* ```typescript
|
|
72
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
+
* import * as aws from "@pulumi/aws";
|
|
74
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
75
|
+
*
|
|
76
|
+
* // S3 bucket for stream data
|
|
77
|
+
* const streamBucket = new aws.index.S3Bucket("stream_bucket", {
|
|
78
|
+
* bucket: s3BucketName,
|
|
79
|
+
* forceDestroy: true,
|
|
80
|
+
* });
|
|
81
|
+
* const streamBucketVersioning = new aws.index.S3BucketVersioning("stream_bucket_versioning", {
|
|
82
|
+
* bucket: streamBucket.id,
|
|
83
|
+
* versioningConfiguration: [{
|
|
84
|
+
* status: "Enabled",
|
|
85
|
+
* }],
|
|
86
|
+
* });
|
|
87
|
+
* const streamBucketEncryption = new aws.index.S3BucketServerSideEncryptionConfiguration("stream_bucket_encryption", {
|
|
88
|
+
* bucket: streamBucket.id,
|
|
89
|
+
* rule: [{
|
|
90
|
+
* applyServerSideEncryptionByDefault: [{
|
|
91
|
+
* sseAlgorithm: "AES256",
|
|
92
|
+
* }],
|
|
93
|
+
* }],
|
|
94
|
+
* });
|
|
95
|
+
* // PrivateLink for S3
|
|
96
|
+
* const _this = new mongodbatlas.StreamPrivatelinkEndpoint("this", {
|
|
97
|
+
* projectId: projectId,
|
|
98
|
+
* providerName: "AWS",
|
|
99
|
+
* vendor: "S3",
|
|
100
|
+
* region: region,
|
|
101
|
+
* serviceEndpointId: serviceEndpointId,
|
|
102
|
+
* });
|
|
103
|
+
* export const privatelinkEndpointId = _this.id;
|
|
104
|
+
* ```
|
|
33
105
|
*/
|
|
34
106
|
function getStreamPrivatelinkEndpointOutput(args, opts) {
|
|
35
107
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStreamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../getStreamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getStreamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../getStreamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8EAA8E,EAAE;QACzG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oEAMC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAAiC;IAC9H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,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"}
|
|
@@ -8,15 +8,48 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
10
10
|
* ### S
|
|
11
|
+
*
|
|
12
|
+
* ### AWS S3 Privatelink
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
+
*
|
|
18
|
+
* // S3 bucket for stream data
|
|
19
|
+
* const streamBucket = new aws.index.S3Bucket("stream_bucket", {
|
|
20
|
+
* bucket: s3BucketName,
|
|
21
|
+
* forceDestroy: true,
|
|
22
|
+
* });
|
|
23
|
+
* const streamBucketVersioning = new aws.index.S3BucketVersioning("stream_bucket_versioning", {
|
|
24
|
+
* bucket: streamBucket.id,
|
|
25
|
+
* versioningConfiguration: [{
|
|
26
|
+
* status: "Enabled",
|
|
27
|
+
* }],
|
|
28
|
+
* });
|
|
29
|
+
* const streamBucketEncryption = new aws.index.S3BucketServerSideEncryptionConfiguration("stream_bucket_encryption", {
|
|
30
|
+
* bucket: streamBucket.id,
|
|
31
|
+
* rule: [{
|
|
32
|
+
* applyServerSideEncryptionByDefault: [{
|
|
33
|
+
* sseAlgorithm: "AES256",
|
|
34
|
+
* }],
|
|
35
|
+
* }],
|
|
36
|
+
* });
|
|
37
|
+
* // PrivateLink for S3
|
|
38
|
+
* const _this = new mongodbatlas.StreamPrivatelinkEndpoint("this", {
|
|
39
|
+
* projectId: projectId,
|
|
40
|
+
* providerName: "AWS",
|
|
41
|
+
* vendor: "S3",
|
|
42
|
+
* region: region,
|
|
43
|
+
* serviceEndpointId: serviceEndpointId,
|
|
44
|
+
* });
|
|
45
|
+
* export const privatelinkEndpointId = _this.id;
|
|
46
|
+
* ```
|
|
11
47
|
*/
|
|
12
48
|
export declare function getStreamPrivatelinkEndpoints(args: GetStreamPrivatelinkEndpointsArgs, opts?: pulumi.InvokeOptions): Promise<GetStreamPrivatelinkEndpointsResult>;
|
|
13
49
|
/**
|
|
14
50
|
* A collection of arguments for invoking getStreamPrivatelinkEndpoints.
|
|
15
51
|
*/
|
|
16
52
|
export interface GetStreamPrivatelinkEndpointsArgs {
|
|
17
|
-
/**
|
|
18
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.\n\n**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
|
|
19
|
-
*/
|
|
20
53
|
projectId: string;
|
|
21
54
|
}
|
|
22
55
|
/**
|
|
@@ -27,13 +60,7 @@ export interface GetStreamPrivatelinkEndpointsResult {
|
|
|
27
60
|
* The provider-assigned unique ID for this managed resource.
|
|
28
61
|
*/
|
|
29
62
|
readonly id: string;
|
|
30
|
-
/**
|
|
31
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.\n\n**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
|
|
32
|
-
*/
|
|
33
63
|
readonly projectId: string;
|
|
34
|
-
/**
|
|
35
|
-
* List of documents that MongoDB Cloud returns for this request.
|
|
36
|
-
*/
|
|
37
64
|
readonly results: outputs.GetStreamPrivatelinkEndpointsResult[];
|
|
38
65
|
}
|
|
39
66
|
/**
|
|
@@ -44,14 +71,47 @@ export interface GetStreamPrivatelinkEndpointsResult {
|
|
|
44
71
|
* ## Example Usage
|
|
45
72
|
*
|
|
46
73
|
* ### S
|
|
74
|
+
*
|
|
75
|
+
* ### AWS S3 Privatelink
|
|
76
|
+
* ```typescript
|
|
77
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
78
|
+
* import * as aws from "@pulumi/aws";
|
|
79
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
80
|
+
*
|
|
81
|
+
* // S3 bucket for stream data
|
|
82
|
+
* const streamBucket = new aws.index.S3Bucket("stream_bucket", {
|
|
83
|
+
* bucket: s3BucketName,
|
|
84
|
+
* forceDestroy: true,
|
|
85
|
+
* });
|
|
86
|
+
* const streamBucketVersioning = new aws.index.S3BucketVersioning("stream_bucket_versioning", {
|
|
87
|
+
* bucket: streamBucket.id,
|
|
88
|
+
* versioningConfiguration: [{
|
|
89
|
+
* status: "Enabled",
|
|
90
|
+
* }],
|
|
91
|
+
* });
|
|
92
|
+
* const streamBucketEncryption = new aws.index.S3BucketServerSideEncryptionConfiguration("stream_bucket_encryption", {
|
|
93
|
+
* bucket: streamBucket.id,
|
|
94
|
+
* rule: [{
|
|
95
|
+
* applyServerSideEncryptionByDefault: [{
|
|
96
|
+
* sseAlgorithm: "AES256",
|
|
97
|
+
* }],
|
|
98
|
+
* }],
|
|
99
|
+
* });
|
|
100
|
+
* // PrivateLink for S3
|
|
101
|
+
* const _this = new mongodbatlas.StreamPrivatelinkEndpoint("this", {
|
|
102
|
+
* projectId: projectId,
|
|
103
|
+
* providerName: "AWS",
|
|
104
|
+
* vendor: "S3",
|
|
105
|
+
* region: region,
|
|
106
|
+
* serviceEndpointId: serviceEndpointId,
|
|
107
|
+
* });
|
|
108
|
+
* export const privatelinkEndpointId = _this.id;
|
|
109
|
+
* ```
|
|
47
110
|
*/
|
|
48
111
|
export declare function getStreamPrivatelinkEndpointsOutput(args: GetStreamPrivatelinkEndpointsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStreamPrivatelinkEndpointsResult>;
|
|
49
112
|
/**
|
|
50
113
|
* A collection of arguments for invoking getStreamPrivatelinkEndpoints.
|
|
51
114
|
*/
|
|
52
115
|
export interface GetStreamPrivatelinkEndpointsOutputArgs {
|
|
53
|
-
/**
|
|
54
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.\n\n**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
|
|
55
|
-
*/
|
|
56
116
|
projectId: pulumi.Input<string>;
|
|
57
117
|
}
|
|
@@ -13,6 +13,42 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
15
|
* ### S
|
|
16
|
+
*
|
|
17
|
+
* ### AWS S3 Privatelink
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as aws from "@pulumi/aws";
|
|
21
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
+
*
|
|
23
|
+
* // S3 bucket for stream data
|
|
24
|
+
* const streamBucket = new aws.index.S3Bucket("stream_bucket", {
|
|
25
|
+
* bucket: s3BucketName,
|
|
26
|
+
* forceDestroy: true,
|
|
27
|
+
* });
|
|
28
|
+
* const streamBucketVersioning = new aws.index.S3BucketVersioning("stream_bucket_versioning", {
|
|
29
|
+
* bucket: streamBucket.id,
|
|
30
|
+
* versioningConfiguration: [{
|
|
31
|
+
* status: "Enabled",
|
|
32
|
+
* }],
|
|
33
|
+
* });
|
|
34
|
+
* const streamBucketEncryption = new aws.index.S3BucketServerSideEncryptionConfiguration("stream_bucket_encryption", {
|
|
35
|
+
* bucket: streamBucket.id,
|
|
36
|
+
* rule: [{
|
|
37
|
+
* applyServerSideEncryptionByDefault: [{
|
|
38
|
+
* sseAlgorithm: "AES256",
|
|
39
|
+
* }],
|
|
40
|
+
* }],
|
|
41
|
+
* });
|
|
42
|
+
* // PrivateLink for S3
|
|
43
|
+
* const _this = new mongodbatlas.StreamPrivatelinkEndpoint("this", {
|
|
44
|
+
* projectId: projectId,
|
|
45
|
+
* providerName: "AWS",
|
|
46
|
+
* vendor: "S3",
|
|
47
|
+
* region: region,
|
|
48
|
+
* serviceEndpointId: serviceEndpointId,
|
|
49
|
+
* });
|
|
50
|
+
* export const privatelinkEndpointId = _this.id;
|
|
51
|
+
* ```
|
|
16
52
|
*/
|
|
17
53
|
function getStreamPrivatelinkEndpoints(args, opts) {
|
|
18
54
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -29,6 +65,42 @@ exports.getStreamPrivatelinkEndpoints = getStreamPrivatelinkEndpoints;
|
|
|
29
65
|
* ## Example Usage
|
|
30
66
|
*
|
|
31
67
|
* ### S
|
|
68
|
+
*
|
|
69
|
+
* ### AWS S3 Privatelink
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as aws from "@pulumi/aws";
|
|
73
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
74
|
+
*
|
|
75
|
+
* // S3 bucket for stream data
|
|
76
|
+
* const streamBucket = new aws.index.S3Bucket("stream_bucket", {
|
|
77
|
+
* bucket: s3BucketName,
|
|
78
|
+
* forceDestroy: true,
|
|
79
|
+
* });
|
|
80
|
+
* const streamBucketVersioning = new aws.index.S3BucketVersioning("stream_bucket_versioning", {
|
|
81
|
+
* bucket: streamBucket.id,
|
|
82
|
+
* versioningConfiguration: [{
|
|
83
|
+
* status: "Enabled",
|
|
84
|
+
* }],
|
|
85
|
+
* });
|
|
86
|
+
* const streamBucketEncryption = new aws.index.S3BucketServerSideEncryptionConfiguration("stream_bucket_encryption", {
|
|
87
|
+
* bucket: streamBucket.id,
|
|
88
|
+
* rule: [{
|
|
89
|
+
* applyServerSideEncryptionByDefault: [{
|
|
90
|
+
* sseAlgorithm: "AES256",
|
|
91
|
+
* }],
|
|
92
|
+
* }],
|
|
93
|
+
* });
|
|
94
|
+
* // PrivateLink for S3
|
|
95
|
+
* const _this = new mongodbatlas.StreamPrivatelinkEndpoint("this", {
|
|
96
|
+
* projectId: projectId,
|
|
97
|
+
* providerName: "AWS",
|
|
98
|
+
* vendor: "S3",
|
|
99
|
+
* region: region,
|
|
100
|
+
* serviceEndpointId: serviceEndpointId,
|
|
101
|
+
* });
|
|
102
|
+
* export const privatelinkEndpointId = _this.id;
|
|
103
|
+
* ```
|
|
32
104
|
*/
|
|
33
105
|
function getStreamPrivatelinkEndpointsOutput(args, opts) {
|
|
34
106
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStreamPrivatelinkEndpoints.js","sourceRoot":"","sources":["../getStreamPrivatelinkEndpoints.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getStreamPrivatelinkEndpoints.js","sourceRoot":"","sources":["../getStreamPrivatelinkEndpoints.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;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;AAoBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/mongodbatlas",
|
|
3
|
-
"version": "3.36.0-alpha.
|
|
3
|
+
"version": "3.36.0-alpha.1755833448",
|
|
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.36.0-alpha.
|
|
26
|
+
"version": "3.36.0-alpha.1755833448"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -7,6 +7,42 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
9
|
* ### S
|
|
10
|
+
*
|
|
11
|
+
* ### AWS S3 Privatelink
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as aws from "@pulumi/aws";
|
|
15
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
|
+
*
|
|
17
|
+
* // S3 bucket for stream data
|
|
18
|
+
* const streamBucket = new aws.index.S3Bucket("stream_bucket", {
|
|
19
|
+
* bucket: s3BucketName,
|
|
20
|
+
* forceDestroy: true,
|
|
21
|
+
* });
|
|
22
|
+
* const streamBucketVersioning = new aws.index.S3BucketVersioning("stream_bucket_versioning", {
|
|
23
|
+
* bucket: streamBucket.id,
|
|
24
|
+
* versioningConfiguration: [{
|
|
25
|
+
* status: "Enabled",
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
* const streamBucketEncryption = new aws.index.S3BucketServerSideEncryptionConfiguration("stream_bucket_encryption", {
|
|
29
|
+
* bucket: streamBucket.id,
|
|
30
|
+
* rule: [{
|
|
31
|
+
* applyServerSideEncryptionByDefault: [{
|
|
32
|
+
* sseAlgorithm: "AES256",
|
|
33
|
+
* }],
|
|
34
|
+
* }],
|
|
35
|
+
* });
|
|
36
|
+
* // PrivateLink for S3
|
|
37
|
+
* const _this = new mongodbatlas.StreamPrivatelinkEndpoint("this", {
|
|
38
|
+
* projectId: projectId,
|
|
39
|
+
* providerName: "AWS",
|
|
40
|
+
* vendor: "S3",
|
|
41
|
+
* region: region,
|
|
42
|
+
* serviceEndpointId: serviceEndpointId,
|
|
43
|
+
* });
|
|
44
|
+
* export const privatelinkEndpointId = _this.id;
|
|
45
|
+
* ```
|
|
10
46
|
*/
|
|
11
47
|
export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
12
48
|
/**
|
|
@@ -29,11 +65,13 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
|
29
65
|
*/
|
|
30
66
|
readonly arn: pulumi.Output<string | undefined>;
|
|
31
67
|
/**
|
|
32
|
-
* The domain hostname. Required for the following provider and vendor combinations
|
|
68
|
+
* The domain hostname. Required for the following provider and vendor combinations: * AWS provider with CONFLUENT vendor.
|
|
69
|
+
* * AZURE provider with EVENTHUB or CONFLUENT vendor.
|
|
33
70
|
*/
|
|
34
71
|
readonly dnsDomain: pulumi.Output<string | undefined>;
|
|
35
72
|
/**
|
|
36
|
-
* Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and
|
|
73
|
+
* Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and
|
|
74
|
+
* CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
|
|
37
75
|
*/
|
|
38
76
|
readonly dnsSubDomains: pulumi.Output<string[] | undefined>;
|
|
39
77
|
/**
|
|
@@ -49,7 +87,10 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
|
49
87
|
*/
|
|
50
88
|
readonly interfaceEndpointName: pulumi.Output<string>;
|
|
51
89
|
/**
|
|
52
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to
|
|
90
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to
|
|
91
|
+
* which the authenticated user has access.<br>**NOTE**: Groups and projects are synonymous terms. Your group id is the
|
|
92
|
+
* same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding
|
|
93
|
+
* endpoints use the term groups.
|
|
53
94
|
*/
|
|
54
95
|
readonly projectId: pulumi.Output<string>;
|
|
55
96
|
/**
|
|
@@ -57,15 +98,21 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
|
57
98
|
*/
|
|
58
99
|
readonly providerAccountId: pulumi.Output<string>;
|
|
59
100
|
/**
|
|
60
|
-
* Provider where the
|
|
101
|
+
* Provider where the endpoint is deployed. Valid values are AWS and AZURE.
|
|
61
102
|
*/
|
|
62
103
|
readonly providerName: pulumi.Output<string>;
|
|
63
104
|
/**
|
|
64
|
-
* The region of the Provider’s cluster. See
|
|
105
|
+
* The region of the Provider’s cluster. See
|
|
106
|
+
* [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and
|
|
107
|
+
* [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the
|
|
108
|
+
* vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the
|
|
109
|
+
* API from the provided `arn`.
|
|
65
110
|
*/
|
|
66
111
|
readonly region: pulumi.Output<string>;
|
|
67
112
|
/**
|
|
68
|
-
* For AZURE EVENTHUB, this is the [namespace endpoint
|
|
113
|
+
* For AZURE EVENTHUB, this is the [namespace endpoint
|
|
114
|
+
* ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC
|
|
115
|
+
* Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
|
|
69
116
|
*/
|
|
70
117
|
readonly serviceEndpointId: pulumi.Output<string | undefined>;
|
|
71
118
|
/**
|
|
@@ -73,7 +120,8 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
|
73
120
|
*/
|
|
74
121
|
readonly state: pulumi.Output<string>;
|
|
75
122
|
/**
|
|
76
|
-
* Vendor that manages the
|
|
123
|
+
* Vendor that manages the endpoint. The following are the vendor values per provider: * **AWS**: MSK, CONFLUENT, and S3 *
|
|
124
|
+
* **Azure**: EVENTHUB and CONFLUENT
|
|
77
125
|
*/
|
|
78
126
|
readonly vendor: pulumi.Output<string>;
|
|
79
127
|
/**
|
|
@@ -94,11 +142,13 @@ export interface StreamPrivatelinkEndpointState {
|
|
|
94
142
|
*/
|
|
95
143
|
arn?: pulumi.Input<string>;
|
|
96
144
|
/**
|
|
97
|
-
* The domain hostname. Required for the following provider and vendor combinations
|
|
145
|
+
* The domain hostname. Required for the following provider and vendor combinations: * AWS provider with CONFLUENT vendor.
|
|
146
|
+
* * AZURE provider with EVENTHUB or CONFLUENT vendor.
|
|
98
147
|
*/
|
|
99
148
|
dnsDomain?: pulumi.Input<string>;
|
|
100
149
|
/**
|
|
101
|
-
* Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and
|
|
150
|
+
* Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and
|
|
151
|
+
* CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
|
|
102
152
|
*/
|
|
103
153
|
dnsSubDomains?: pulumi.Input<pulumi.Input<string>[]>;
|
|
104
154
|
/**
|
|
@@ -114,7 +164,10 @@ export interface StreamPrivatelinkEndpointState {
|
|
|
114
164
|
*/
|
|
115
165
|
interfaceEndpointName?: pulumi.Input<string>;
|
|
116
166
|
/**
|
|
117
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to
|
|
167
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to
|
|
168
|
+
* which the authenticated user has access.<br>**NOTE**: Groups and projects are synonymous terms. Your group id is the
|
|
169
|
+
* same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding
|
|
170
|
+
* endpoints use the term groups.
|
|
118
171
|
*/
|
|
119
172
|
projectId?: pulumi.Input<string>;
|
|
120
173
|
/**
|
|
@@ -122,15 +175,21 @@ export interface StreamPrivatelinkEndpointState {
|
|
|
122
175
|
*/
|
|
123
176
|
providerAccountId?: pulumi.Input<string>;
|
|
124
177
|
/**
|
|
125
|
-
* Provider where the
|
|
178
|
+
* Provider where the endpoint is deployed. Valid values are AWS and AZURE.
|
|
126
179
|
*/
|
|
127
180
|
providerName?: pulumi.Input<string>;
|
|
128
181
|
/**
|
|
129
|
-
* The region of the Provider’s cluster. See
|
|
182
|
+
* The region of the Provider’s cluster. See
|
|
183
|
+
* [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and
|
|
184
|
+
* [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the
|
|
185
|
+
* vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the
|
|
186
|
+
* API from the provided `arn`.
|
|
130
187
|
*/
|
|
131
188
|
region?: pulumi.Input<string>;
|
|
132
189
|
/**
|
|
133
|
-
* For AZURE EVENTHUB, this is the [namespace endpoint
|
|
190
|
+
* For AZURE EVENTHUB, this is the [namespace endpoint
|
|
191
|
+
* ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC
|
|
192
|
+
* Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
|
|
134
193
|
*/
|
|
135
194
|
serviceEndpointId?: pulumi.Input<string>;
|
|
136
195
|
/**
|
|
@@ -138,7 +197,8 @@ export interface StreamPrivatelinkEndpointState {
|
|
|
138
197
|
*/
|
|
139
198
|
state?: pulumi.Input<string>;
|
|
140
199
|
/**
|
|
141
|
-
* Vendor that manages the
|
|
200
|
+
* Vendor that manages the endpoint. The following are the vendor values per provider: * **AWS**: MSK, CONFLUENT, and S3 *
|
|
201
|
+
* **Azure**: EVENTHUB and CONFLUENT
|
|
142
202
|
*/
|
|
143
203
|
vendor?: pulumi.Input<string>;
|
|
144
204
|
}
|
|
@@ -151,31 +211,43 @@ export interface StreamPrivatelinkEndpointArgs {
|
|
|
151
211
|
*/
|
|
152
212
|
arn?: pulumi.Input<string>;
|
|
153
213
|
/**
|
|
154
|
-
* The domain hostname. Required for the following provider and vendor combinations
|
|
214
|
+
* The domain hostname. Required for the following provider and vendor combinations: * AWS provider with CONFLUENT vendor.
|
|
215
|
+
* * AZURE provider with EVENTHUB or CONFLUENT vendor.
|
|
155
216
|
*/
|
|
156
217
|
dnsDomain?: pulumi.Input<string>;
|
|
157
218
|
/**
|
|
158
|
-
* Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and
|
|
219
|
+
* Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and
|
|
220
|
+
* CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
|
|
159
221
|
*/
|
|
160
222
|
dnsSubDomains?: pulumi.Input<pulumi.Input<string>[]>;
|
|
161
223
|
/**
|
|
162
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to
|
|
224
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to
|
|
225
|
+
* which the authenticated user has access.<br>**NOTE**: Groups and projects are synonymous terms. Your group id is the
|
|
226
|
+
* same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding
|
|
227
|
+
* endpoints use the term groups.
|
|
163
228
|
*/
|
|
164
229
|
projectId: pulumi.Input<string>;
|
|
165
230
|
/**
|
|
166
|
-
* Provider where the
|
|
231
|
+
* Provider where the endpoint is deployed. Valid values are AWS and AZURE.
|
|
167
232
|
*/
|
|
168
233
|
providerName: pulumi.Input<string>;
|
|
169
234
|
/**
|
|
170
|
-
* The region of the Provider’s cluster. See
|
|
235
|
+
* The region of the Provider’s cluster. See
|
|
236
|
+
* [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and
|
|
237
|
+
* [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the
|
|
238
|
+
* vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the
|
|
239
|
+
* API from the provided `arn`.
|
|
171
240
|
*/
|
|
172
241
|
region?: pulumi.Input<string>;
|
|
173
242
|
/**
|
|
174
|
-
* For AZURE EVENTHUB, this is the [namespace endpoint
|
|
243
|
+
* For AZURE EVENTHUB, this is the [namespace endpoint
|
|
244
|
+
* ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC
|
|
245
|
+
* Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
|
|
175
246
|
*/
|
|
176
247
|
serviceEndpointId?: pulumi.Input<string>;
|
|
177
248
|
/**
|
|
178
|
-
* Vendor that manages the
|
|
249
|
+
* Vendor that manages the endpoint. The following are the vendor values per provider: * **AWS**: MSK, CONFLUENT, and S3 *
|
|
250
|
+
* **Azure**: EVENTHUB and CONFLUENT
|
|
179
251
|
*/
|
|
180
252
|
vendor: pulumi.Input<string>;
|
|
181
253
|
}
|
|
@@ -13,6 +13,42 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
15
|
* ### S
|
|
16
|
+
*
|
|
17
|
+
* ### AWS S3 Privatelink
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as aws from "@pulumi/aws";
|
|
21
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
+
*
|
|
23
|
+
* // S3 bucket for stream data
|
|
24
|
+
* const streamBucket = new aws.index.S3Bucket("stream_bucket", {
|
|
25
|
+
* bucket: s3BucketName,
|
|
26
|
+
* forceDestroy: true,
|
|
27
|
+
* });
|
|
28
|
+
* const streamBucketVersioning = new aws.index.S3BucketVersioning("stream_bucket_versioning", {
|
|
29
|
+
* bucket: streamBucket.id,
|
|
30
|
+
* versioningConfiguration: [{
|
|
31
|
+
* status: "Enabled",
|
|
32
|
+
* }],
|
|
33
|
+
* });
|
|
34
|
+
* const streamBucketEncryption = new aws.index.S3BucketServerSideEncryptionConfiguration("stream_bucket_encryption", {
|
|
35
|
+
* bucket: streamBucket.id,
|
|
36
|
+
* rule: [{
|
|
37
|
+
* applyServerSideEncryptionByDefault: [{
|
|
38
|
+
* sseAlgorithm: "AES256",
|
|
39
|
+
* }],
|
|
40
|
+
* }],
|
|
41
|
+
* });
|
|
42
|
+
* // PrivateLink for S3
|
|
43
|
+
* const _this = new mongodbatlas.StreamPrivatelinkEndpoint("this", {
|
|
44
|
+
* projectId: projectId,
|
|
45
|
+
* providerName: "AWS",
|
|
46
|
+
* vendor: "S3",
|
|
47
|
+
* region: region,
|
|
48
|
+
* serviceEndpointId: serviceEndpointId,
|
|
49
|
+
* });
|
|
50
|
+
* export const privatelinkEndpointId = _this.id;
|
|
51
|
+
* ```
|
|
16
52
|
*/
|
|
17
53
|
class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
18
54
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../streamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"streamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../streamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG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,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;;AAlJL,8DAmJC;AArIG,gBAAgB;AACO,sCAAY,GAAG,wEAAwE,CAAC"}
|
package/types/output.d.ts
CHANGED
|
@@ -7055,7 +7055,11 @@ export interface GetStreamPrivatelinkEndpointsResult {
|
|
|
7055
7055
|
*/
|
|
7056
7056
|
arn: string;
|
|
7057
7057
|
/**
|
|
7058
|
-
* The domain hostname. Required for the following provider and vendor combinations
|
|
7058
|
+
* The domain hostname. Required for the following provider and vendor combinations:
|
|
7059
|
+
*
|
|
7060
|
+
* * AWS provider with CONFLUENT vendor.
|
|
7061
|
+
*
|
|
7062
|
+
* * AZURE provider with EVENTHUB or CONFLUENT vendor.
|
|
7059
7063
|
*/
|
|
7060
7064
|
dnsDomain: string;
|
|
7061
7065
|
/**
|
|
@@ -7079,7 +7083,7 @@ export interface GetStreamPrivatelinkEndpointsResult {
|
|
|
7079
7083
|
*/
|
|
7080
7084
|
interfaceEndpointName: string;
|
|
7081
7085
|
/**
|
|
7082
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access
|
|
7086
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.<br>**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
|
|
7083
7087
|
*/
|
|
7084
7088
|
projectId: string;
|
|
7085
7089
|
/**
|
|
@@ -7087,7 +7091,7 @@ export interface GetStreamPrivatelinkEndpointsResult {
|
|
|
7087
7091
|
*/
|
|
7088
7092
|
providerAccountId: string;
|
|
7089
7093
|
/**
|
|
7090
|
-
* Provider where the
|
|
7094
|
+
* Provider where the endpoint is deployed. Valid values are AWS and AZURE.
|
|
7091
7095
|
*/
|
|
7092
7096
|
providerName: string;
|
|
7093
7097
|
/**
|
|
@@ -7103,7 +7107,11 @@ export interface GetStreamPrivatelinkEndpointsResult {
|
|
|
7103
7107
|
*/
|
|
7104
7108
|
state: string;
|
|
7105
7109
|
/**
|
|
7106
|
-
* Vendor that manages the
|
|
7110
|
+
* Vendor that manages the endpoint. The following are the vendor values per provider:
|
|
7111
|
+
*
|
|
7112
|
+
* * **AWS**: MSK, CONFLUENT, and S3
|
|
7113
|
+
*
|
|
7114
|
+
* * **Azure**: EVENTHUB and CONFLUENT
|
|
7107
7115
|
*/
|
|
7108
7116
|
vendor: string;
|
|
7109
7117
|
}
|