@pulumi/aws 4.33.1 → 4.34.0
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/appstream/fleet.d.ts +3 -3
- package/batch/getJobQueue.d.ts +4 -0
- package/batch/getJobQueue.js.map +1 -1
- package/batch/getSchedulingPolicy.d.ts +69 -0
- package/batch/getSchedulingPolicy.js +39 -0
- package/batch/getSchedulingPolicy.js.map +1 -0
- package/batch/index.d.ts +2 -0
- package/batch/index.js +6 -0
- package/batch/index.js.map +1 -1
- package/batch/jobQueue.d.ts +37 -0
- package/batch/jobQueue.js +27 -0
- package/batch/jobQueue.js.map +1 -1
- package/batch/schedulingPolicy.d.ts +134 -0
- package/batch/schedulingPolicy.js +97 -0
- package/batch/schedulingPolicy.js.map +1 -0
- package/cloud9/environmentMembership.d.ts +106 -0
- package/cloud9/environmentMembership.js +92 -0
- package/cloud9/environmentMembership.js.map +1 -0
- package/cloud9/index.d.ts +1 -0
- package/cloud9/index.js +5 -0
- package/cloud9/index.js.map +1 -1
- package/cloudwatch/eventTarget.d.ts +48 -3
- package/cloudwatch/eventTarget.js +45 -0
- package/cloudwatch/eventTarget.js.map +1 -1
- package/codebuild/index.d.ts +1 -0
- package/codebuild/index.js +5 -0
- package/codebuild/index.js.map +1 -1
- package/codebuild/project.d.ts +49 -5
- package/codebuild/project.js +8 -0
- package/codebuild/project.js.map +1 -1
- package/codebuild/resourcePolicy.d.ts +108 -0
- package/codebuild/resourcePolicy.js +107 -0
- package/codebuild/resourcePolicy.js.map +1 -0
- package/codepipeline/webhook.d.ts +8 -0
- package/codepipeline/webhook.js +2 -0
- package/codepipeline/webhook.js.map +1 -1
- package/cognito/getUserPoolClients.d.ts +49 -0
- package/cognito/getUserPoolClients.js +38 -0
- package/cognito/getUserPoolClients.js.map +1 -0
- package/cognito/getUserPoolSigningCertificate.d.ts +49 -0
- package/cognito/getUserPoolSigningCertificate.js +38 -0
- package/cognito/getUserPoolSigningCertificate.js.map +1 -0
- package/cognito/index.d.ts +2 -0
- package/cognito/index.js +2 -0
- package/cognito/index.js.map +1 -1
- package/datasync/index.d.ts +2 -0
- package/datasync/index.js +10 -0
- package/datasync/index.js.map +1 -1
- package/datasync/locationFsxLustre.d.ts +155 -0
- package/datasync/locationFsxLustre.js +94 -0
- package/datasync/locationFsxLustre.js.map +1 -0
- package/datasync/locationHdfs.d.ts +257 -0
- package/datasync/locationHdfs.js +117 -0
- package/datasync/locationHdfs.js.map +1 -0
- package/dax/cluster.d.ts +18 -0
- package/dax/cluster.js +2 -0
- package/dax/cluster.js.map +1 -1
- package/devicefarm/devicePool.d.ts +170 -0
- package/devicefarm/devicePool.js +100 -0
- package/devicefarm/devicePool.js.map +1 -0
- package/devicefarm/index.d.ts +3 -0
- package/devicefarm/index.js +15 -0
- package/devicefarm/index.js.map +1 -1
- package/devicefarm/networkProfile.d.ts +247 -0
- package/devicefarm/networkProfile.js +105 -0
- package/devicefarm/networkProfile.js.map +1 -0
- package/devicefarm/upload.d.ts +142 -0
- package/devicefarm/upload.js +97 -0
- package/devicefarm/upload.js.map +1 -0
- package/directconnect/privateVirtualInterface.d.ts +3 -0
- package/directconnect/privateVirtualInterface.js +2 -0
- package/directconnect/privateVirtualInterface.js.map +1 -1
- package/directconnect/transitVirtualInterface.d.ts +3 -0
- package/directconnect/transitVirtualInterface.js +2 -0
- package/directconnect/transitVirtualInterface.js.map +1 -1
- package/ec2/defaultSubnet.d.ts +15 -0
- package/ec2/defaultSubnet.js +10 -0
- package/ec2/defaultSubnet.js.map +1 -1
- package/ec2/getSubnet.d.ts +20 -0
- package/ec2/getSubnet.js.map +1 -1
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +15 -0
- package/ec2/index.js.map +1 -1
- package/ec2/subnet.d.ts +65 -5
- package/ec2/subnet.js +10 -3
- package/ec2/subnet.js.map +1 -1
- package/ec2/vpcEndpointConnectionAccepter.d.ts +105 -0
- package/ec2/vpcEndpointConnectionAccepter.js +98 -0
- package/ec2/vpcEndpointConnectionAccepter.js.map +1 -0
- package/ec2/vpcIpamOrganizationAdminAccount.d.ts +94 -0
- package/ec2/vpcIpamOrganizationAdminAccount.js +85 -0
- package/ec2/vpcIpamOrganizationAdminAccount.js.map +1 -0
- package/ec2/vpcIpamPoolCidr.d.ts +3 -0
- package/ec2/vpcIpamPoolCidr.js +3 -0
- package/ec2/vpcIpamPoolCidr.js.map +1 -1
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +3 -3
- package/ec2/vpcIpamPreviewNextCidr.d.ts +100 -0
- package/ec2/vpcIpamPreviewNextCidr.js +90 -0
- package/ec2/vpcIpamPreviewNextCidr.js.map +1 -0
- package/ecr/replicationConfiguration.d.ts +22 -0
- package/ecr/replicationConfiguration.js +22 -0
- package/ecr/replicationConfiguration.js.map +1 -1
- package/ecs/getTaskDefinition.d.ts +39 -0
- package/ecs/getTaskDefinition.js +35 -0
- package/ecs/getTaskDefinition.js.map +1 -1
- package/fsx/backup.d.ts +15 -0
- package/fsx/backup.js +15 -0
- package/fsx/backup.js.map +1 -1
- package/fsx/index.d.ts +3 -0
- package/fsx/index.js +15 -0
- package/fsx/index.js.map +1 -1
- package/fsx/openZfsFileSystem.d.ts +341 -0
- package/fsx/openZfsFileSystem.js +144 -0
- package/fsx/openZfsFileSystem.js.map +1 -0
- package/fsx/openZfsSnapshot.d.ts +149 -0
- package/fsx/openZfsSnapshot.js +107 -0
- package/fsx/openZfsSnapshot.js.map +1 -0
- package/fsx/openZfsVolume.d.ts +225 -0
- package/fsx/openZfsVolume.js +101 -0
- package/fsx/openZfsVolume.js.map +1 -0
- package/glue/trigger.d.ts +15 -3
- package/glue/trigger.js +2 -0
- package/glue/trigger.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +7 -2
- package/index.js.map +1 -1
- package/memorydb/acl.d.ts +142 -0
- package/memorydb/acl.js +90 -0
- package/memorydb/acl.js.map +1 -0
- package/memorydb/cluster.d.ts +388 -0
- package/memorydb/cluster.js +140 -0
- package/memorydb/cluster.js.map +1 -0
- package/memorydb/index.d.ts +5 -0
- package/memorydb/index.js +53 -0
- package/memorydb/index.js.map +1 -0
- package/memorydb/parameterGroup.d.ts +160 -0
- package/memorydb/parameterGroup.js +96 -0
- package/memorydb/parameterGroup.js.map +1 -0
- package/memorydb/subnetGroup.d.ts +146 -0
- package/memorydb/subnetGroup.js +96 -0
- package/memorydb/subnetGroup.js.map +1 -0
- package/memorydb/user.d.ts +138 -0
- package/memorydb/user.js +83 -0
- package/memorydb/user.js.map +1 -0
- package/mskconnect/customPlugin.d.ts +144 -0
- package/mskconnect/customPlugin.js +104 -0
- package/mskconnect/customPlugin.js.map +1 -0
- package/mskconnect/getCustomPlugin.d.ts +61 -0
- package/mskconnect/getCustomPlugin.js +38 -0
- package/mskconnect/getCustomPlugin.js.map +1 -0
- package/mskconnect/getWorkerConfiguration.d.ts +61 -0
- package/mskconnect/getWorkerConfiguration.js +38 -0
- package/mskconnect/getWorkerConfiguration.js.map +1 -0
- package/mskconnect/index.d.ts +4 -0
- package/mskconnect/index.js +40 -0
- package/mskconnect/index.js.map +1 -0
- package/mskconnect/workerConfiguration.d.ts +113 -0
- package/mskconnect/workerConfiguration.js +87 -0
- package/mskconnect/workerConfiguration.js.map +1 -0
- package/organizations/getResourceTags.d.ts +63 -0
- package/organizations/getResourceTags.js +39 -0
- package/organizations/getResourceTags.js.map +1 -0
- package/organizations/index.d.ts +1 -0
- package/organizations/index.js +1 -0
- package/organizations/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/sagemaker/device.d.ts +97 -0
- package/sagemaker/device.js +89 -0
- package/sagemaker/device.js.map +1 -0
- package/sagemaker/getPrebuiltEcrImage.d.ts +2 -2
- package/sagemaker/index.d.ts +1 -0
- package/sagemaker/index.js +5 -0
- package/sagemaker/index.js.map +1 -1
- package/ses/getActiveReceiptRuleSet.d.ts +31 -0
- package/ses/getActiveReceiptRuleSet.js +30 -0
- package/ses/getActiveReceiptRuleSet.js.map +1 -0
- package/ses/getDomainIdentity.d.ts +56 -0
- package/ses/getDomainIdentity.js +38 -0
- package/ses/getDomainIdentity.js.map +1 -0
- package/ses/getEmailIdentity.d.ts +52 -0
- package/ses/getEmailIdentity.js +38 -0
- package/ses/getEmailIdentity.js.map +1 -0
- package/ses/index.d.ts +3 -0
- package/ses/index.js +3 -0
- package/ses/index.js.map +1 -1
- package/sqs/queue.d.ts +16 -0
- package/sqs/queue.js +6 -0
- package/sqs/queue.js.map +1 -1
- package/ssm/getParametersByPath.d.ts +9 -0
- package/ssm/getParametersByPath.js +1 -0
- package/ssm/getParametersByPath.js.map +1 -1
- package/timestreamwrite/table.d.ts +12 -0
- package/timestreamwrite/table.js +2 -0
- package/timestreamwrite/table.js.map +1 -1
- package/types/input.d.ts +409 -11
- package/types/output.d.ts +430 -11
- package/wafv2/webAclLoggingConfiguration.d.ts +3 -3
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides a MemoryDB Cluster.
|
|
5
|
+
*
|
|
6
|
+
* More information about MemoryDB can be found in the [Developer Guide](https://docs.aws.amazon.com/memorydb/latest/devguide/what-is-memorydb-for-redis.html).
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const example = new aws.memorydb.Cluster("example", {
|
|
15
|
+
* aclName: "open-access",
|
|
16
|
+
* nodeType: "db.t4g.small",
|
|
17
|
+
* numShards: 2,
|
|
18
|
+
* securityGroupIds: [aws_security_group.example.id],
|
|
19
|
+
* snapshotRetentionLimit: 7,
|
|
20
|
+
* subnetGroupName: aws_memorydb_subnet_group.example.id,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* Use the `name` to import a cluster. For example
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import aws:memorydb/cluster:Cluster example my-cluster
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class Cluster extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing Cluster resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterState, opts?: pulumi.CustomResourceOptions): Cluster;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of Cluster. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj: any): obj is Cluster;
|
|
48
|
+
/**
|
|
49
|
+
* The name of the Access Control List to associate with the cluster.
|
|
50
|
+
*/
|
|
51
|
+
readonly aclName: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The ARN of the cluster.
|
|
54
|
+
* * `clusterEndpoint`
|
|
55
|
+
*/
|
|
56
|
+
readonly arn: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* When set to `true`, the cluster will automatically receive minor engine version upgrades after launch. Defaults to `true`.
|
|
59
|
+
*/
|
|
60
|
+
readonly autoMinorVersionUpgrade: pulumi.Output<boolean | undefined>;
|
|
61
|
+
readonly clusterEndpoints: pulumi.Output<outputs.memorydb.ClusterClusterEndpoint[]>;
|
|
62
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Patch version number of the Redis engine used by the cluster.
|
|
65
|
+
*/
|
|
66
|
+
readonly enginePatchVersion: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Version number of the Redis engine to be used for the cluster. Downgrades are not supported.
|
|
69
|
+
*/
|
|
70
|
+
readonly engineVersion: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
|
|
73
|
+
*/
|
|
74
|
+
readonly finalSnapshotName: pulumi.Output<string | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* ARN of the KMS key used to encrypt the cluster at rest.
|
|
77
|
+
*/
|
|
78
|
+
readonly kmsKeyArn: pulumi.Output<string | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: `sun:23:00-mon:01:30`.
|
|
81
|
+
*/
|
|
82
|
+
readonly maintenanceWindow: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Name of this node.
|
|
85
|
+
* * `endpoint`
|
|
86
|
+
*/
|
|
87
|
+
readonly name: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Creates a unique name beginning with the specified prefix. Conflicts with `name`.
|
|
90
|
+
*/
|
|
91
|
+
readonly namePrefix: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The compute and memory capacity of the nodes in the cluster. See AWS documentation on [supported node types](https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.supportedtypes.html) as well as [vertical scaling](https://docs.aws.amazon.com/memorydb/latest/devguide/cluster-vertical-scaling.html).
|
|
94
|
+
*/
|
|
95
|
+
readonly nodeType: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The number of replicas to apply to each shard, up to a maximum of 5. Defaults to `1` (i.e. 2 nodes per shard).
|
|
98
|
+
*/
|
|
99
|
+
readonly numReplicasPerShard: pulumi.Output<number | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* The number of shards in the cluster. Defaults to `1`.
|
|
102
|
+
*/
|
|
103
|
+
readonly numShards: pulumi.Output<number | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* The name of the parameter group associated with the cluster.
|
|
106
|
+
*/
|
|
107
|
+
readonly parameterGroupName: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The port number on which each of the nodes accepts connections. Defaults to `6379`.
|
|
110
|
+
*/
|
|
111
|
+
readonly port: pulumi.Output<number>;
|
|
112
|
+
/**
|
|
113
|
+
* Set of VPC Security Group ID-s to associate with this cluster.
|
|
114
|
+
*/
|
|
115
|
+
readonly securityGroupIds: pulumi.Output<string[] | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* Set of shards in this cluster.
|
|
118
|
+
*/
|
|
119
|
+
readonly shards: pulumi.Output<outputs.memorydb.ClusterShard[]>;
|
|
120
|
+
/**
|
|
121
|
+
* List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
|
|
122
|
+
*/
|
|
123
|
+
readonly snapshotArns: pulumi.Output<string | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* The name of a snapshot from which to restore data into the new cluster.
|
|
126
|
+
*/
|
|
127
|
+
readonly snapshotName: pulumi.Output<string | undefined>;
|
|
128
|
+
/**
|
|
129
|
+
* The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to `0`, automatic backups are disabled. Defaults to `0`.
|
|
130
|
+
*/
|
|
131
|
+
readonly snapshotRetentionLimit: pulumi.Output<number>;
|
|
132
|
+
/**
|
|
133
|
+
* The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: `05:00-09:00`.
|
|
134
|
+
*/
|
|
135
|
+
readonly snapshotWindow: pulumi.Output<string>;
|
|
136
|
+
/**
|
|
137
|
+
* ARN of the SNS topic to which cluster notifications are sent.
|
|
138
|
+
*/
|
|
139
|
+
readonly snsTopicArn: pulumi.Output<string | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
|
|
142
|
+
*/
|
|
143
|
+
readonly subnetGroupName: pulumi.Output<string>;
|
|
144
|
+
/**
|
|
145
|
+
* A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
146
|
+
*/
|
|
147
|
+
readonly tags: pulumi.Output<{
|
|
148
|
+
[key: string]: string;
|
|
149
|
+
} | undefined>;
|
|
150
|
+
/**
|
|
151
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
152
|
+
*/
|
|
153
|
+
readonly tagsAll: pulumi.Output<{
|
|
154
|
+
[key: string]: string;
|
|
155
|
+
}>;
|
|
156
|
+
/**
|
|
157
|
+
* A flag to enable in-transit encryption on the cluster. When set to `false`, the `aclName` must be `open-access`. Defaults to `true`.
|
|
158
|
+
*/
|
|
159
|
+
readonly tlsEnabled: pulumi.Output<boolean | undefined>;
|
|
160
|
+
/**
|
|
161
|
+
* Create a Cluster resource with the given unique name, arguments, and options.
|
|
162
|
+
*
|
|
163
|
+
* @param name The _unique_ name of the resource.
|
|
164
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
165
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
166
|
+
*/
|
|
167
|
+
constructor(name: string, args: ClusterArgs, opts?: pulumi.CustomResourceOptions);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Input properties used for looking up and filtering Cluster resources.
|
|
171
|
+
*/
|
|
172
|
+
export interface ClusterState {
|
|
173
|
+
/**
|
|
174
|
+
* The name of the Access Control List to associate with the cluster.
|
|
175
|
+
*/
|
|
176
|
+
aclName?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* The ARN of the cluster.
|
|
179
|
+
* * `clusterEndpoint`
|
|
180
|
+
*/
|
|
181
|
+
arn?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* When set to `true`, the cluster will automatically receive minor engine version upgrades after launch. Defaults to `true`.
|
|
184
|
+
*/
|
|
185
|
+
autoMinorVersionUpgrade?: pulumi.Input<boolean>;
|
|
186
|
+
clusterEndpoints?: pulumi.Input<pulumi.Input<inputs.memorydb.ClusterClusterEndpoint>[]>;
|
|
187
|
+
description?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Patch version number of the Redis engine used by the cluster.
|
|
190
|
+
*/
|
|
191
|
+
enginePatchVersion?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Version number of the Redis engine to be used for the cluster. Downgrades are not supported.
|
|
194
|
+
*/
|
|
195
|
+
engineVersion?: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
|
|
198
|
+
*/
|
|
199
|
+
finalSnapshotName?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* ARN of the KMS key used to encrypt the cluster at rest.
|
|
202
|
+
*/
|
|
203
|
+
kmsKeyArn?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: `sun:23:00-mon:01:30`.
|
|
206
|
+
*/
|
|
207
|
+
maintenanceWindow?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* Name of this node.
|
|
210
|
+
* * `endpoint`
|
|
211
|
+
*/
|
|
212
|
+
name?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Creates a unique name beginning with the specified prefix. Conflicts with `name`.
|
|
215
|
+
*/
|
|
216
|
+
namePrefix?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* The compute and memory capacity of the nodes in the cluster. See AWS documentation on [supported node types](https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.supportedtypes.html) as well as [vertical scaling](https://docs.aws.amazon.com/memorydb/latest/devguide/cluster-vertical-scaling.html).
|
|
219
|
+
*/
|
|
220
|
+
nodeType?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* The number of replicas to apply to each shard, up to a maximum of 5. Defaults to `1` (i.e. 2 nodes per shard).
|
|
223
|
+
*/
|
|
224
|
+
numReplicasPerShard?: pulumi.Input<number>;
|
|
225
|
+
/**
|
|
226
|
+
* The number of shards in the cluster. Defaults to `1`.
|
|
227
|
+
*/
|
|
228
|
+
numShards?: pulumi.Input<number>;
|
|
229
|
+
/**
|
|
230
|
+
* The name of the parameter group associated with the cluster.
|
|
231
|
+
*/
|
|
232
|
+
parameterGroupName?: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* The port number on which each of the nodes accepts connections. Defaults to `6379`.
|
|
235
|
+
*/
|
|
236
|
+
port?: pulumi.Input<number>;
|
|
237
|
+
/**
|
|
238
|
+
* Set of VPC Security Group ID-s to associate with this cluster.
|
|
239
|
+
*/
|
|
240
|
+
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
241
|
+
/**
|
|
242
|
+
* Set of shards in this cluster.
|
|
243
|
+
*/
|
|
244
|
+
shards?: pulumi.Input<pulumi.Input<inputs.memorydb.ClusterShard>[]>;
|
|
245
|
+
/**
|
|
246
|
+
* List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
|
|
247
|
+
*/
|
|
248
|
+
snapshotArns?: pulumi.Input<string>;
|
|
249
|
+
/**
|
|
250
|
+
* The name of a snapshot from which to restore data into the new cluster.
|
|
251
|
+
*/
|
|
252
|
+
snapshotName?: pulumi.Input<string>;
|
|
253
|
+
/**
|
|
254
|
+
* The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to `0`, automatic backups are disabled. Defaults to `0`.
|
|
255
|
+
*/
|
|
256
|
+
snapshotRetentionLimit?: pulumi.Input<number>;
|
|
257
|
+
/**
|
|
258
|
+
* The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: `05:00-09:00`.
|
|
259
|
+
*/
|
|
260
|
+
snapshotWindow?: pulumi.Input<string>;
|
|
261
|
+
/**
|
|
262
|
+
* ARN of the SNS topic to which cluster notifications are sent.
|
|
263
|
+
*/
|
|
264
|
+
snsTopicArn?: pulumi.Input<string>;
|
|
265
|
+
/**
|
|
266
|
+
* The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
|
|
267
|
+
*/
|
|
268
|
+
subnetGroupName?: pulumi.Input<string>;
|
|
269
|
+
/**
|
|
270
|
+
* A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
271
|
+
*/
|
|
272
|
+
tags?: pulumi.Input<{
|
|
273
|
+
[key: string]: pulumi.Input<string>;
|
|
274
|
+
}>;
|
|
275
|
+
/**
|
|
276
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
277
|
+
*/
|
|
278
|
+
tagsAll?: pulumi.Input<{
|
|
279
|
+
[key: string]: pulumi.Input<string>;
|
|
280
|
+
}>;
|
|
281
|
+
/**
|
|
282
|
+
* A flag to enable in-transit encryption on the cluster. When set to `false`, the `aclName` must be `open-access`. Defaults to `true`.
|
|
283
|
+
*/
|
|
284
|
+
tlsEnabled?: pulumi.Input<boolean>;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* The set of arguments for constructing a Cluster resource.
|
|
288
|
+
*/
|
|
289
|
+
export interface ClusterArgs {
|
|
290
|
+
/**
|
|
291
|
+
* The name of the Access Control List to associate with the cluster.
|
|
292
|
+
*/
|
|
293
|
+
aclName: pulumi.Input<string>;
|
|
294
|
+
/**
|
|
295
|
+
* When set to `true`, the cluster will automatically receive minor engine version upgrades after launch. Defaults to `true`.
|
|
296
|
+
*/
|
|
297
|
+
autoMinorVersionUpgrade?: pulumi.Input<boolean>;
|
|
298
|
+
description?: pulumi.Input<string>;
|
|
299
|
+
/**
|
|
300
|
+
* Version number of the Redis engine to be used for the cluster. Downgrades are not supported.
|
|
301
|
+
*/
|
|
302
|
+
engineVersion?: pulumi.Input<string>;
|
|
303
|
+
/**
|
|
304
|
+
* Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
|
|
305
|
+
*/
|
|
306
|
+
finalSnapshotName?: pulumi.Input<string>;
|
|
307
|
+
/**
|
|
308
|
+
* ARN of the KMS key used to encrypt the cluster at rest.
|
|
309
|
+
*/
|
|
310
|
+
kmsKeyArn?: pulumi.Input<string>;
|
|
311
|
+
/**
|
|
312
|
+
* Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: `sun:23:00-mon:01:30`.
|
|
313
|
+
*/
|
|
314
|
+
maintenanceWindow?: pulumi.Input<string>;
|
|
315
|
+
/**
|
|
316
|
+
* Name of this node.
|
|
317
|
+
* * `endpoint`
|
|
318
|
+
*/
|
|
319
|
+
name?: pulumi.Input<string>;
|
|
320
|
+
/**
|
|
321
|
+
* Creates a unique name beginning with the specified prefix. Conflicts with `name`.
|
|
322
|
+
*/
|
|
323
|
+
namePrefix?: pulumi.Input<string>;
|
|
324
|
+
/**
|
|
325
|
+
* The compute and memory capacity of the nodes in the cluster. See AWS documentation on [supported node types](https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.supportedtypes.html) as well as [vertical scaling](https://docs.aws.amazon.com/memorydb/latest/devguide/cluster-vertical-scaling.html).
|
|
326
|
+
*/
|
|
327
|
+
nodeType: pulumi.Input<string>;
|
|
328
|
+
/**
|
|
329
|
+
* The number of replicas to apply to each shard, up to a maximum of 5. Defaults to `1` (i.e. 2 nodes per shard).
|
|
330
|
+
*/
|
|
331
|
+
numReplicasPerShard?: pulumi.Input<number>;
|
|
332
|
+
/**
|
|
333
|
+
* The number of shards in the cluster. Defaults to `1`.
|
|
334
|
+
*/
|
|
335
|
+
numShards?: pulumi.Input<number>;
|
|
336
|
+
/**
|
|
337
|
+
* The name of the parameter group associated with the cluster.
|
|
338
|
+
*/
|
|
339
|
+
parameterGroupName?: pulumi.Input<string>;
|
|
340
|
+
/**
|
|
341
|
+
* The port number on which each of the nodes accepts connections. Defaults to `6379`.
|
|
342
|
+
*/
|
|
343
|
+
port?: pulumi.Input<number>;
|
|
344
|
+
/**
|
|
345
|
+
* Set of VPC Security Group ID-s to associate with this cluster.
|
|
346
|
+
*/
|
|
347
|
+
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
348
|
+
/**
|
|
349
|
+
* List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
|
|
350
|
+
*/
|
|
351
|
+
snapshotArns?: pulumi.Input<string>;
|
|
352
|
+
/**
|
|
353
|
+
* The name of a snapshot from which to restore data into the new cluster.
|
|
354
|
+
*/
|
|
355
|
+
snapshotName?: pulumi.Input<string>;
|
|
356
|
+
/**
|
|
357
|
+
* The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to `0`, automatic backups are disabled. Defaults to `0`.
|
|
358
|
+
*/
|
|
359
|
+
snapshotRetentionLimit?: pulumi.Input<number>;
|
|
360
|
+
/**
|
|
361
|
+
* The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: `05:00-09:00`.
|
|
362
|
+
*/
|
|
363
|
+
snapshotWindow?: pulumi.Input<string>;
|
|
364
|
+
/**
|
|
365
|
+
* ARN of the SNS topic to which cluster notifications are sent.
|
|
366
|
+
*/
|
|
367
|
+
snsTopicArn?: pulumi.Input<string>;
|
|
368
|
+
/**
|
|
369
|
+
* The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
|
|
370
|
+
*/
|
|
371
|
+
subnetGroupName?: pulumi.Input<string>;
|
|
372
|
+
/**
|
|
373
|
+
* A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
374
|
+
*/
|
|
375
|
+
tags?: pulumi.Input<{
|
|
376
|
+
[key: string]: pulumi.Input<string>;
|
|
377
|
+
}>;
|
|
378
|
+
/**
|
|
379
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
380
|
+
*/
|
|
381
|
+
tagsAll?: pulumi.Input<{
|
|
382
|
+
[key: string]: pulumi.Input<string>;
|
|
383
|
+
}>;
|
|
384
|
+
/**
|
|
385
|
+
* A flag to enable in-transit encryption on the cluster. When set to `false`, the `aclName` must be `open-access`. Defaults to `true`.
|
|
386
|
+
*/
|
|
387
|
+
tlsEnabled?: pulumi.Input<boolean>;
|
|
388
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Cluster = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a MemoryDB Cluster.
|
|
10
|
+
*
|
|
11
|
+
* More information about MemoryDB can be found in the [Developer Guide](https://docs.aws.amazon.com/memorydb/latest/devguide/what-is-memorydb-for-redis.html).
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.memorydb.Cluster("example", {
|
|
20
|
+
* aclName: "open-access",
|
|
21
|
+
* nodeType: "db.t4g.small",
|
|
22
|
+
* numShards: 2,
|
|
23
|
+
* securityGroupIds: [aws_security_group.example.id],
|
|
24
|
+
* snapshotRetentionLimit: 7,
|
|
25
|
+
* subnetGroupName: aws_memorydb_subnet_group.example.id,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* Use the `name` to import a cluster. For example
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import aws:memorydb/cluster:Cluster example my-cluster
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
class Cluster extends pulumi.CustomResource {
|
|
38
|
+
constructor(name, argsOrState, opts) {
|
|
39
|
+
let inputs = {};
|
|
40
|
+
opts = opts || {};
|
|
41
|
+
if (opts.id) {
|
|
42
|
+
const state = argsOrState;
|
|
43
|
+
inputs["aclName"] = state ? state.aclName : undefined;
|
|
44
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
45
|
+
inputs["autoMinorVersionUpgrade"] = state ? state.autoMinorVersionUpgrade : undefined;
|
|
46
|
+
inputs["clusterEndpoints"] = state ? state.clusterEndpoints : undefined;
|
|
47
|
+
inputs["description"] = state ? state.description : undefined;
|
|
48
|
+
inputs["enginePatchVersion"] = state ? state.enginePatchVersion : undefined;
|
|
49
|
+
inputs["engineVersion"] = state ? state.engineVersion : undefined;
|
|
50
|
+
inputs["finalSnapshotName"] = state ? state.finalSnapshotName : undefined;
|
|
51
|
+
inputs["kmsKeyArn"] = state ? state.kmsKeyArn : undefined;
|
|
52
|
+
inputs["maintenanceWindow"] = state ? state.maintenanceWindow : undefined;
|
|
53
|
+
inputs["name"] = state ? state.name : undefined;
|
|
54
|
+
inputs["namePrefix"] = state ? state.namePrefix : undefined;
|
|
55
|
+
inputs["nodeType"] = state ? state.nodeType : undefined;
|
|
56
|
+
inputs["numReplicasPerShard"] = state ? state.numReplicasPerShard : undefined;
|
|
57
|
+
inputs["numShards"] = state ? state.numShards : undefined;
|
|
58
|
+
inputs["parameterGroupName"] = state ? state.parameterGroupName : undefined;
|
|
59
|
+
inputs["port"] = state ? state.port : undefined;
|
|
60
|
+
inputs["securityGroupIds"] = state ? state.securityGroupIds : undefined;
|
|
61
|
+
inputs["shards"] = state ? state.shards : undefined;
|
|
62
|
+
inputs["snapshotArns"] = state ? state.snapshotArns : undefined;
|
|
63
|
+
inputs["snapshotName"] = state ? state.snapshotName : undefined;
|
|
64
|
+
inputs["snapshotRetentionLimit"] = state ? state.snapshotRetentionLimit : undefined;
|
|
65
|
+
inputs["snapshotWindow"] = state ? state.snapshotWindow : undefined;
|
|
66
|
+
inputs["snsTopicArn"] = state ? state.snsTopicArn : undefined;
|
|
67
|
+
inputs["subnetGroupName"] = state ? state.subnetGroupName : undefined;
|
|
68
|
+
inputs["tags"] = state ? state.tags : undefined;
|
|
69
|
+
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
70
|
+
inputs["tlsEnabled"] = state ? state.tlsEnabled : undefined;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
if ((!args || args.aclName === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'aclName'");
|
|
76
|
+
}
|
|
77
|
+
if ((!args || args.nodeType === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'nodeType'");
|
|
79
|
+
}
|
|
80
|
+
inputs["aclName"] = args ? args.aclName : undefined;
|
|
81
|
+
inputs["autoMinorVersionUpgrade"] = args ? args.autoMinorVersionUpgrade : undefined;
|
|
82
|
+
inputs["description"] = args ? args.description : undefined;
|
|
83
|
+
inputs["engineVersion"] = args ? args.engineVersion : undefined;
|
|
84
|
+
inputs["finalSnapshotName"] = args ? args.finalSnapshotName : undefined;
|
|
85
|
+
inputs["kmsKeyArn"] = args ? args.kmsKeyArn : undefined;
|
|
86
|
+
inputs["maintenanceWindow"] = args ? args.maintenanceWindow : undefined;
|
|
87
|
+
inputs["name"] = args ? args.name : undefined;
|
|
88
|
+
inputs["namePrefix"] = args ? args.namePrefix : undefined;
|
|
89
|
+
inputs["nodeType"] = args ? args.nodeType : undefined;
|
|
90
|
+
inputs["numReplicasPerShard"] = args ? args.numReplicasPerShard : undefined;
|
|
91
|
+
inputs["numShards"] = args ? args.numShards : undefined;
|
|
92
|
+
inputs["parameterGroupName"] = args ? args.parameterGroupName : undefined;
|
|
93
|
+
inputs["port"] = args ? args.port : undefined;
|
|
94
|
+
inputs["securityGroupIds"] = args ? args.securityGroupIds : undefined;
|
|
95
|
+
inputs["snapshotArns"] = args ? args.snapshotArns : undefined;
|
|
96
|
+
inputs["snapshotName"] = args ? args.snapshotName : undefined;
|
|
97
|
+
inputs["snapshotRetentionLimit"] = args ? args.snapshotRetentionLimit : undefined;
|
|
98
|
+
inputs["snapshotWindow"] = args ? args.snapshotWindow : undefined;
|
|
99
|
+
inputs["snsTopicArn"] = args ? args.snsTopicArn : undefined;
|
|
100
|
+
inputs["subnetGroupName"] = args ? args.subnetGroupName : undefined;
|
|
101
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
102
|
+
inputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
103
|
+
inputs["tlsEnabled"] = args ? args.tlsEnabled : undefined;
|
|
104
|
+
inputs["arn"] = undefined /*out*/;
|
|
105
|
+
inputs["clusterEndpoints"] = undefined /*out*/;
|
|
106
|
+
inputs["enginePatchVersion"] = undefined /*out*/;
|
|
107
|
+
inputs["shards"] = undefined /*out*/;
|
|
108
|
+
}
|
|
109
|
+
if (!opts.version) {
|
|
110
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
111
|
+
}
|
|
112
|
+
super(Cluster.__pulumiType, name, inputs, opts);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Get an existing Cluster resource's state with the given name, ID, and optional extra
|
|
116
|
+
* properties used to qualify the lookup.
|
|
117
|
+
*
|
|
118
|
+
* @param name The _unique_ name of the resulting resource.
|
|
119
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
120
|
+
* @param state Any extra arguments used during the lookup.
|
|
121
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
122
|
+
*/
|
|
123
|
+
static get(name, id, state, opts) {
|
|
124
|
+
return new Cluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Returns true if the given object is an instance of Cluster. This is designed to work even
|
|
128
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
129
|
+
*/
|
|
130
|
+
static isInstance(obj) {
|
|
131
|
+
if (obj === undefined || obj === null) {
|
|
132
|
+
return false;
|
|
133
|
+
}
|
|
134
|
+
return obj['__pulumiType'] === Cluster.__pulumiType;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
exports.Cluster = Cluster;
|
|
138
|
+
/** @internal */
|
|
139
|
+
Cluster.__pulumiType = 'aws:memorydb/cluster:Cluster';
|
|
140
|
+
//# sourceMappingURL=cluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../memorydb/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAiJ9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACn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
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
+
}) : (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
o[k2] = m[k];
|
|
10
|
+
}));
|
|
11
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const pulumi = require("@pulumi/pulumi");
|
|
16
|
+
const utilities = require("../utilities");
|
|
17
|
+
// Export members:
|
|
18
|
+
__exportStar(require("./acl"), exports);
|
|
19
|
+
__exportStar(require("./cluster"), exports);
|
|
20
|
+
__exportStar(require("./parameterGroup"), exports);
|
|
21
|
+
__exportStar(require("./subnetGroup"), exports);
|
|
22
|
+
__exportStar(require("./user"), exports);
|
|
23
|
+
// Import resources to register:
|
|
24
|
+
const acl_1 = require("./acl");
|
|
25
|
+
const cluster_1 = require("./cluster");
|
|
26
|
+
const parameterGroup_1 = require("./parameterGroup");
|
|
27
|
+
const subnetGroup_1 = require("./subnetGroup");
|
|
28
|
+
const user_1 = require("./user");
|
|
29
|
+
const _module = {
|
|
30
|
+
version: utilities.getVersion(),
|
|
31
|
+
construct: (name, type, urn) => {
|
|
32
|
+
switch (type) {
|
|
33
|
+
case "aws:memorydb/acl:Acl":
|
|
34
|
+
return new acl_1.Acl(name, undefined, { urn });
|
|
35
|
+
case "aws:memorydb/cluster:Cluster":
|
|
36
|
+
return new cluster_1.Cluster(name, undefined, { urn });
|
|
37
|
+
case "aws:memorydb/parameterGroup:ParameterGroup":
|
|
38
|
+
return new parameterGroup_1.ParameterGroup(name, undefined, { urn });
|
|
39
|
+
case "aws:memorydb/subnetGroup:SubnetGroup":
|
|
40
|
+
return new subnetGroup_1.SubnetGroup(name, undefined, { urn });
|
|
41
|
+
case "aws:memorydb/user:User":
|
|
42
|
+
return new user_1.User(name, undefined, { urn });
|
|
43
|
+
default:
|
|
44
|
+
throw new Error(`unknown resource type ${type}`);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
pulumi.runtime.registerResourceModule("aws", "memorydb/acl", _module);
|
|
49
|
+
pulumi.runtime.registerResourceModule("aws", "memorydb/cluster", _module);
|
|
50
|
+
pulumi.runtime.registerResourceModule("aws", "memorydb/parameterGroup", _module);
|
|
51
|
+
pulumi.runtime.registerResourceModule("aws", "memorydb/subnetGroup", _module);
|
|
52
|
+
pulumi.runtime.registerResourceModule("aws", "memorydb/user", _module);
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../memorydb/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,wCAAsB;AACtB,4CAA0B;AAC1B,mDAAiC;AACjC,gDAA8B;AAC9B,yCAAuB;AAEvB,gCAAgC;AAChC,+BAA4B;AAC5B,uCAAoC;AACpC,qDAAkD;AAClD,+CAA4C;AAC5C,iCAA8B;AAE9B,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,sBAAsB;gBACvB,OAAO,IAAI,SAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,i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