@pulumi/aws 6.13.0 → 6.13.2

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.
Files changed (104) hide show
  1. package/README.md +4 -4
  2. package/apigateway/basePathMapping.d.ts +3 -3
  3. package/apigateway/basePathMapping.js +3 -3
  4. package/apigateway/domainName.d.ts +3 -3
  5. package/apigateway/domainName.js +3 -3
  6. package/appsync/function.d.ts +1 -1
  7. package/appsync/function.js +1 -1
  8. package/appsync/resolver.d.ts +1 -1
  9. package/appsync/resolver.js +1 -1
  10. package/cloudfront/fieldLevelEncryptionProfile.d.ts +1 -1
  11. package/cloudfront/fieldLevelEncryptionProfile.js +1 -1
  12. package/cloudfront/function.d.ts +1 -1
  13. package/cloudfront/function.js +1 -1
  14. package/cloudfront/keyGroup.d.ts +1 -1
  15. package/cloudfront/keyGroup.js +1 -1
  16. package/cloudfront/publicKey.d.ts +1 -1
  17. package/cloudfront/publicKey.js +1 -1
  18. package/cognito/identityPool.d.ts +1 -1
  19. package/cognito/identityPool.js +1 -1
  20. package/docdb/elasticCluster.d.ts +217 -0
  21. package/docdb/elasticCluster.js +107 -0
  22. package/docdb/elasticCluster.js.map +1 -0
  23. package/docdb/index.d.ts +3 -0
  24. package/docdb/index.js +6 -1
  25. package/docdb/index.js.map +1 -1
  26. package/ecs/taskDefinition.d.ts +4 -4
  27. package/ecs/taskDefinition.js +4 -4
  28. package/eks/index.d.ts +3 -0
  29. package/eks/index.js +6 -1
  30. package/eks/index.js.map +1 -1
  31. package/eks/podIdentityAssociation.d.ts +192 -0
  32. package/eks/podIdentityAssociation.js +129 -0
  33. package/eks/podIdentityAssociation.js.map +1 -0
  34. package/elasticsearch/domainSamlOptions.d.ts +1 -1
  35. package/elasticsearch/domainSamlOptions.js +1 -1
  36. package/elb/loadBalancerBackendServerPolicy.d.ts +1 -1
  37. package/elb/loadBalancerBackendServerPolicy.js +1 -1
  38. package/elb/loadBalancerPolicy.d.ts +1 -1
  39. package/elb/loadBalancerPolicy.js +1 -1
  40. package/iam/samlProvider.d.ts +1 -1
  41. package/iam/samlProvider.js +1 -1
  42. package/iam/serverCertificate.d.ts +4 -4
  43. package/iam/serverCertificate.js +4 -4
  44. package/iam/signingCertificate.d.ts +1 -1
  45. package/iam/signingCertificate.js +1 -1
  46. package/iot/authorizer.d.ts +1 -1
  47. package/iot/authorizer.js +1 -1
  48. package/iot/certificate.d.ts +2 -2
  49. package/iot/certificate.js +2 -2
  50. package/iot/policyAttachment.d.ts +1 -1
  51. package/iot/policyAttachment.js +1 -1
  52. package/iot/thingPrincipalAttachment.d.ts +1 -1
  53. package/iot/thingPrincipalAttachment.js +1 -1
  54. package/ivs/playbackKeyPair.d.ts +1 -1
  55. package/ivs/playbackKeyPair.js +1 -1
  56. package/kms/customKeyStore.d.ts +1 -1
  57. package/kms/customKeyStore.js +1 -1
  58. package/lightsail/keyPair.d.ts +1 -1
  59. package/lightsail/keyPair.js +1 -1
  60. package/networkfirewall/ruleGroup.d.ts +2 -2
  61. package/networkfirewall/ruleGroup.js +2 -2
  62. package/opensearch/domainSamlOptions.d.ts +1 -1
  63. package/opensearch/domainSamlOptions.js +1 -1
  64. package/opsworks/application.d.ts +2 -2
  65. package/opsworks/application.js +2 -2
  66. package/package.json +1 -1
  67. package/pinpoint/apnsChannel.d.ts +2 -2
  68. package/pinpoint/apnsChannel.js +2 -2
  69. package/pinpoint/apnsSandboxChannel.d.ts +2 -2
  70. package/pinpoint/apnsSandboxChannel.js +2 -2
  71. package/pinpoint/apnsVoipChannel.d.ts +2 -2
  72. package/pinpoint/apnsVoipChannel.js +2 -2
  73. package/pinpoint/apnsVoipSandboxChannel.d.ts +2 -2
  74. package/pinpoint/apnsVoipSandboxChannel.js +2 -2
  75. package/s3/bucket.d.ts +1 -1
  76. package/s3/bucket.js +1 -1
  77. package/s3control/accessGrant.d.ts +198 -0
  78. package/s3control/accessGrant.js +116 -0
  79. package/s3control/accessGrant.js.map +1 -0
  80. package/s3control/accessGrantsInstance.d.ts +139 -0
  81. package/s3control/accessGrantsInstance.js +93 -0
  82. package/s3control/accessGrantsInstance.js.map +1 -0
  83. package/s3control/accessGrantsInstanceResourcePolicy.d.ts +28 -0
  84. package/s3control/accessGrantsInstanceResourcePolicy.js +28 -0
  85. package/s3control/accessGrantsInstanceResourcePolicy.js.map +1 -1
  86. package/s3control/accessGrantsLocation.d.ts +146 -0
  87. package/s3control/accessGrantsLocation.js +99 -0
  88. package/s3control/accessGrantsLocation.js.map +1 -0
  89. package/s3control/index.d.ts +9 -0
  90. package/s3control/index.js +16 -1
  91. package/s3control/index.js.map +1 -1
  92. package/sagemaker/humanTaskUI.d.ts +1 -1
  93. package/sagemaker/humanTaskUI.js +1 -1
  94. package/transfer/certificate.d.ts +3 -3
  95. package/transfer/certificate.js +3 -3
  96. package/types/input.d.ts +21 -0
  97. package/types/output.d.ts +21 -0
  98. package/utilities.d.ts +4 -0
  99. package/utilities.js +33 -1
  100. package/utilities.js.map +1 -1
  101. package/worklink/fleet.d.ts +1 -1
  102. package/worklink/fleet.js +1 -1
  103. package/worklink/websiteCertificateAuthorityAssociation.d.ts +1 -1
  104. package/worklink/websiteCertificateAuthorityAssociation.js +1 -1
package/README.md CHANGED
@@ -76,8 +76,9 @@ The following configuration points are available:
76
76
  - `aws:secretKey` - (Optional) This is the AWS secret key. It can also be sourced from the
77
77
  `AWS_SECRET_ACCESS_KEY` environment variable, or via a shared credentials file if `aws:profile` is specified.
78
78
  - `aws:profile` - (Optional) This is the AWS profile name as set in the shared credentials file.
79
- - `aws:sharedCredentialsFile` - (Optional) This is the path to the shared credentials file. If this is not set and
80
- `aws:profile` is specified, `~/.aws/credentials` will be used.
79
+ - `aws:sharedCredentialsFiles` - (Optional) List of paths to the shared credentials file. If not set and a profile
80
+ is used, the default value is [~/.aws/credentials]. A single value can also be set with the
81
+ `AWS_SHARED_CREDENTIALS_FILE` environment variable.
81
82
  - `aws:token` - (Optional) Session token for validating temporary credentials. Typically provided after successful
82
83
  identity federation or Multi-Factor Authentication (MFA) login. With MFA login, this is the session token provided
83
84
  afterward, not the 6 digit MFA code used to get temporary credentials. It can also be sourced from the
@@ -99,11 +100,10 @@ The following configuration points are available:
99
100
  `tags`: Map of assume role session tags.
100
101
  - `aws:insecure` - (Optional) Explicitly allow the provider to perform "insecure" SSL requests. If omitted, the default value is `false`.
101
102
  - `aws:skipCredentialsValidation` - (Optional) Skip the credentials validation via the STS API. Useful for AWS API implementations that do not have STS available or implemented. Default value is `false`. Can be set via the environment variable `AWS_SKIP_CREDENTIALS_VALIDATION`.
102
- - `aws:skipGetEc2Platforms` - (Optional) Skip getting the supported EC2 platforms. Used by users that don't have ec2:DescribeAccountAttributes permissions. Default value is `true`.
103
103
  - `aws:skipRegionValidation` - (Optional) Skip validation of provided region name. Useful for AWS-like implementations that use their own region names or to bypass the validation for regions that aren't publicly available yet. Default value is `true`.
104
104
  - `aws:skipRequestionAccountId` - (Optional) Skip requesting the account ID. Useful for AWS API implementations that do not have the IAM, STS API, or metadata API. Default value is `false`. When specified, the use of ARNs is compromised as there is no accountID available to construct the ARN.
105
105
  - `aws:skipMetadataApiCheck` - (Optional) Skip the AWS Metadata API check. Useful for AWS API implementations that do not have a metadata API endpoint. This provider from authenticating via the Metadata API by default. You may need to use other authentication methods like static credentials, configuration variables, or environment variables. Default is `true`. Can be set via the environment variable `AWS_SKIP_METADATA_API_CHECK`.
106
- - `aws:s3ForcePathStyle` - (Optional) Set this to true to force the request to use path-style addressing, i.e., `http://s3.amazonaws.com/BUCKET/KEY`. By default, the S3 client will use virtual hosted bucket addressing, `http://BUCKET.s3.amazonaws.com/KEY`, when possible. Specific to the Amazon S3 service. Default is `false`.
106
+ - `aws:s3UsePathStyle` - (Optional) Set this to true to force the request to use path-style addressing, i.e., `http://s3.amazonaws.com/BUCKET/KEY`. By default, the S3 client will use virtual hosted bucket addressing, `http://BUCKET.s3.amazonaws.com/KEY`, when possible. Specific to the Amazon S3 service. Default is `false`.
107
107
 
108
108
  ### Authenticating pulumi-aws via EC2 Instance Metadata?
109
109
 
@@ -20,9 +20,9 @@ import { RestApi } from "./index";
20
20
  * const exampleDomainName = new aws.apigateway.DomainName("exampleDomainName", {
21
21
  * domainName: "example.com",
22
22
  * certificateName: "example-api",
23
- * certificateBody: fs.readFileSync(`${path.module}/example.com/example.crt`),
24
- * certificateChain: fs.readFileSync(`${path.module}/example.com/ca.crt`),
25
- * certificatePrivateKey: fs.readFileSync(`${path.module}/example.com/example.key`),
23
+ * certificateBody: fs.readFileSync(`${path.module}/example.com/example.crt`, "utf8"),
24
+ * certificateChain: fs.readFileSync(`${path.module}/example.com/ca.crt`, "utf8"),
25
+ * certificatePrivateKey: fs.readFileSync(`${path.module}/example.com/example.key`, "utf8"),
26
26
  * });
27
27
  * const exampleBasePathMapping = new aws.apigateway.BasePathMapping("exampleBasePathMapping", {
28
28
  * restApi: aws_api_gateway_rest_api.example.id,
@@ -25,9 +25,9 @@ const utilities = require("../utilities");
25
25
  * const exampleDomainName = new aws.apigateway.DomainName("exampleDomainName", {
26
26
  * domainName: "example.com",
27
27
  * certificateName: "example-api",
28
- * certificateBody: fs.readFileSync(`${path.module}/example.com/example.crt`),
29
- * certificateChain: fs.readFileSync(`${path.module}/example.com/ca.crt`),
30
- * certificatePrivateKey: fs.readFileSync(`${path.module}/example.com/example.key`),
28
+ * certificateBody: fs.readFileSync(`${path.module}/example.com/example.crt`, "utf8"),
29
+ * certificateChain: fs.readFileSync(`${path.module}/example.com/ca.crt`, "utf8"),
30
+ * certificatePrivateKey: fs.readFileSync(`${path.module}/example.com/example.key`, "utf8"),
31
31
  * });
32
32
  * const exampleBasePathMapping = new aws.apigateway.BasePathMapping("exampleBasePathMapping", {
33
33
  * restApi: aws_api_gateway_rest_api.example.id,
@@ -63,9 +63,9 @@ import * as outputs from "../types/output";
63
63
  * const exampleDomainName = new aws.apigateway.DomainName("exampleDomainName", {
64
64
  * domainName: "api.example.com",
65
65
  * certificateName: "example-api",
66
- * certificateBody: fs.readFileSync(`${path.module}/example.com/example.crt`),
67
- * certificateChain: fs.readFileSync(`${path.module}/example.com/ca.crt`),
68
- * certificatePrivateKey: fs.readFileSync(`${path.module}/example.com/example.key`),
66
+ * certificateBody: fs.readFileSync(`${path.module}/example.com/example.crt`, "utf8"),
67
+ * certificateChain: fs.readFileSync(`${path.module}/example.com/ca.crt`, "utf8"),
68
+ * certificatePrivateKey: fs.readFileSync(`${path.module}/example.com/example.key`, "utf8"),
69
69
  * });
70
70
  * // Example DNS record using Route53.
71
71
  * // Route53 is not specifically required; any DNS host can be used.
@@ -67,9 +67,9 @@ const utilities = require("../utilities");
67
67
  * const exampleDomainName = new aws.apigateway.DomainName("exampleDomainName", {
68
68
  * domainName: "api.example.com",
69
69
  * certificateName: "example-api",
70
- * certificateBody: fs.readFileSync(`${path.module}/example.com/example.crt`),
71
- * certificateChain: fs.readFileSync(`${path.module}/example.com/ca.crt`),
72
- * certificatePrivateKey: fs.readFileSync(`${path.module}/example.com/example.key`),
70
+ * certificateBody: fs.readFileSync(`${path.module}/example.com/example.crt`, "utf8"),
71
+ * certificateChain: fs.readFileSync(`${path.module}/example.com/ca.crt`, "utf8"),
72
+ * certificatePrivateKey: fs.readFileSync(`${path.module}/example.com/example.key`, "utf8"),
73
73
  * });
74
74
  * // Example DNS record using Route53.
75
75
  * // Route53 is not specifically required; any DNS host can be used.
@@ -71,7 +71,7 @@ import * as outputs from "../types/output";
71
71
  * apiId: aws_appsync_graphql_api.example.id,
72
72
  * dataSource: aws_appsync_datasource.example.name,
73
73
  * name: "example",
74
- * code: fs.readFileSync("some-code-dir"),
74
+ * code: fs.readFileSync("some-code-dir", "utf8"),
75
75
  * runtime: {
76
76
  * name: "APPSYNC_JS",
77
77
  * runtimeVersion: "1.0.0",
@@ -75,7 +75,7 @@ const utilities = require("../utilities");
75
75
  * apiId: aws_appsync_graphql_api.example.id,
76
76
  * dataSource: aws_appsync_datasource.example.name,
77
77
  * name: "example",
78
- * code: fs.readFileSync("some-code-dir"),
78
+ * code: fs.readFileSync("some-code-dir", "utf8"),
79
79
  * runtime: {
80
80
  * name: "APPSYNC_JS",
81
81
  * runtimeVersion: "1.0.0",
@@ -97,7 +97,7 @@ import * as outputs from "../types/output";
97
97
  * apiId: aws_appsync_graphql_api.test.id,
98
98
  * field: "pipelineTest",
99
99
  * kind: "PIPELINE",
100
- * code: fs.readFileSync("some-code-dir"),
100
+ * code: fs.readFileSync("some-code-dir", "utf8"),
101
101
  * runtime: {
102
102
  * name: "APPSYNC_JS",
103
103
  * runtimeVersion: "1.0.0",
@@ -101,7 +101,7 @@ const utilities = require("../utilities");
101
101
  * apiId: aws_appsync_graphql_api.test.id,
102
102
  * field: "pipelineTest",
103
103
  * kind: "PIPELINE",
104
- * code: fs.readFileSync("some-code-dir"),
104
+ * code: fs.readFileSync("some-code-dir", "utf8"),
105
105
  * runtime: {
106
106
  * name: "APPSYNC_JS",
107
107
  * runtimeVersion: "1.0.0",
@@ -13,7 +13,7 @@ import * as outputs from "../types/output";
13
13
  *
14
14
  * const example = new aws.cloudfront.PublicKey("example", {
15
15
  * comment: "test public key",
16
- * encodedKey: fs.readFileSync("public_key.pem"),
16
+ * encodedKey: fs.readFileSync("public_key.pem", "utf8"),
17
17
  * });
18
18
  * const test = new aws.cloudfront.FieldLevelEncryptionProfile("test", {
19
19
  * comment: "test comment",
@@ -17,7 +17,7 @@ const utilities = require("../utilities");
17
17
  *
18
18
  * const example = new aws.cloudfront.PublicKey("example", {
19
19
  * comment: "test public key",
20
- * encodedKey: fs.readFileSync("public_key.pem"),
20
+ * encodedKey: fs.readFileSync("public_key.pem", "utf8"),
21
21
  * });
22
22
  * const test = new aws.cloudfront.FieldLevelEncryptionProfile("test", {
23
23
  * comment: "test comment",
@@ -18,7 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
18
18
  * runtime: "cloudfront-js-1.0",
19
19
  * comment: "my function",
20
20
  * publish: true,
21
- * code: fs.readFileSync(`${path.module}/function.js`),
21
+ * code: fs.readFileSync(`${path.module}/function.js`, "utf8"),
22
22
  * });
23
23
  * ```
24
24
  *
@@ -24,7 +24,7 @@ const utilities = require("../utilities");
24
24
  * runtime: "cloudfront-js-1.0",
25
25
  * comment: "my function",
26
26
  * publish: true,
27
- * code: fs.readFileSync(`${path.module}/function.js`),
27
+ * code: fs.readFileSync(`${path.module}/function.js`, "utf8"),
28
28
  * });
29
29
  * ```
30
30
  *
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  *
12
12
  * const examplePublicKey = new aws.cloudfront.PublicKey("examplePublicKey", {
13
13
  * comment: "example public key",
14
- * encodedKey: fs.readFileSync("public_key.pem"),
14
+ * encodedKey: fs.readFileSync("public_key.pem", "utf8"),
15
15
  * });
16
16
  * const exampleKeyGroup = new aws.cloudfront.KeyGroup("exampleKeyGroup", {
17
17
  * comment: "example key group",
@@ -17,7 +17,7 @@ const utilities = require("../utilities");
17
17
  *
18
18
  * const examplePublicKey = new aws.cloudfront.PublicKey("examplePublicKey", {
19
19
  * comment: "example public key",
20
- * encodedKey: fs.readFileSync("public_key.pem"),
20
+ * encodedKey: fs.readFileSync("public_key.pem", "utf8"),
21
21
  * });
22
22
  * const exampleKeyGroup = new aws.cloudfront.KeyGroup("exampleKeyGroup", {
23
23
  * comment: "example key group",
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  *
12
12
  * const example = new aws.cloudfront.PublicKey("example", {
13
13
  * comment: "test public key",
14
- * encodedKey: fs.readFileSync("public_key.pem"),
14
+ * encodedKey: fs.readFileSync("public_key.pem", "utf8"),
15
15
  * });
16
16
  * ```
17
17
  *
@@ -17,7 +17,7 @@ const utilities = require("../utilities");
17
17
  *
18
18
  * const example = new aws.cloudfront.PublicKey("example", {
19
19
  * comment: "test public key",
20
- * encodedKey: fs.readFileSync("public_key.pem"),
20
+ * encodedKey: fs.readFileSync("public_key.pem", "utf8"),
21
21
  * });
22
22
  * ```
23
23
  *
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
11
11
  * import * as aws from "@pulumi/aws";
12
12
  * import * as fs from "fs";
13
13
  *
14
- * const _default = new aws.iam.SamlProvider("default", {samlMetadataDocument: fs.readFileSync("saml-metadata.xml")});
14
+ * const _default = new aws.iam.SamlProvider("default", {samlMetadataDocument: fs.readFileSync("saml-metadata.xml", "utf8")});
15
15
  * const main = new aws.cognito.IdentityPool("main", {
16
16
  * identityPoolName: "identity pool",
17
17
  * allowUnauthenticatedIdentities: false,
@@ -15,7 +15,7 @@ const utilities = require("../utilities");
15
15
  * import * as aws from "@pulumi/aws";
16
16
  * import * as fs from "fs";
17
17
  *
18
- * const _default = new aws.iam.SamlProvider("default", {samlMetadataDocument: fs.readFileSync("saml-metadata.xml")});
18
+ * const _default = new aws.iam.SamlProvider("default", {samlMetadataDocument: fs.readFileSync("saml-metadata.xml", "utf8")});
19
19
  * const main = new aws.cognito.IdentityPool("main", {
20
20
  * identityPoolName: "identity pool",
21
21
  * allowUnauthenticatedIdentities: false,
@@ -0,0 +1,217 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Manages an AWS DocDB (DocumentDB) Elastic Cluster.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ## Import
10
+ *
11
+ * Using `pulumi import`, import DocDB (DocumentDB) Elastic Cluster using the `arn` argument. For example,
12
+ *
13
+ * ```sh
14
+ * $ pulumi import aws:docdb/elasticCluster:ElasticCluster example arn:aws:docdb-elastic:us-east-1:000011112222:cluster/12345678-7abc-def0-1234-56789abcdef
15
+ * ```
16
+ */
17
+ export declare class ElasticCluster extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing ElasticCluster resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ElasticClusterState, opts?: pulumi.CustomResourceOptions): ElasticCluster;
28
+ /**
29
+ * Returns true if the given object is an instance of ElasticCluster. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ static isInstance(obj: any): obj is ElasticCluster;
33
+ /**
34
+ * Name of the Elastic DocumentDB cluster administrator
35
+ */
36
+ readonly adminUserName: pulumi.Output<string>;
37
+ /**
38
+ * Password for the Elastic DocumentDB cluster administrator. Can contain any printable ASCII characters. Must be at least 8 characters
39
+ */
40
+ readonly adminUserPassword: pulumi.Output<string>;
41
+ /**
42
+ * ARN of the DocumentDB Elastic Cluster
43
+ */
44
+ readonly arn: pulumi.Output<string>;
45
+ /**
46
+ * Authentication type for the Elastic DocumentDB cluster. Valid values are `PLAIN_TEXT` and `SECRET_ARN`
47
+ */
48
+ readonly authType: pulumi.Output<string>;
49
+ /**
50
+ * The DNS address of the DocDB instance
51
+ */
52
+ readonly endpoint: pulumi.Output<string>;
53
+ /**
54
+ * ARN of a KMS key that is used to encrypt the Elastic DocumentDB cluster. If not specified, the default encryption key that KMS creates for your account is used.
55
+ */
56
+ readonly kmsKeyId: pulumi.Output<string>;
57
+ /**
58
+ * Name of the Elastic DocumentDB cluster
59
+ */
60
+ readonly name: pulumi.Output<string>;
61
+ readonly preferredMaintenanceWindow: pulumi.Output<string>;
62
+ /**
63
+ * Number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64
64
+ */
65
+ readonly shardCapacity: pulumi.Output<number>;
66
+ /**
67
+ * Number of shards assigned to the elastic cluster. Maximum is 32
68
+ *
69
+ * The following arguments are optional:
70
+ */
71
+ readonly shardCount: pulumi.Output<number>;
72
+ /**
73
+ * IDs of subnets in which the Elastic DocumentDB Cluster operates.
74
+ */
75
+ readonly subnetIds: pulumi.Output<string[]>;
76
+ /**
77
+ * A map of tags to assign to the collection. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
78
+ */
79
+ readonly tags: pulumi.Output<{
80
+ [key: string]: string;
81
+ } | undefined>;
82
+ /**
83
+ * @deprecated Please use `tags` instead.
84
+ */
85
+ readonly tagsAll: pulumi.Output<{
86
+ [key: string]: string;
87
+ }>;
88
+ readonly timeouts: pulumi.Output<outputs.docdb.ElasticClusterTimeouts | undefined>;
89
+ /**
90
+ * List of VPC security groups to associate with the Elastic DocumentDB Cluster
91
+ */
92
+ readonly vpcSecurityGroupIds: pulumi.Output<string[]>;
93
+ /**
94
+ * Create a ElasticCluster resource with the given unique name, arguments, and options.
95
+ *
96
+ * @param name The _unique_ name of the resource.
97
+ * @param args The arguments to use to populate this resource's properties.
98
+ * @param opts A bag of options that control this resource's behavior.
99
+ */
100
+ constructor(name: string, args: ElasticClusterArgs, opts?: pulumi.CustomResourceOptions);
101
+ }
102
+ /**
103
+ * Input properties used for looking up and filtering ElasticCluster resources.
104
+ */
105
+ export interface ElasticClusterState {
106
+ /**
107
+ * Name of the Elastic DocumentDB cluster administrator
108
+ */
109
+ adminUserName?: pulumi.Input<string>;
110
+ /**
111
+ * Password for the Elastic DocumentDB cluster administrator. Can contain any printable ASCII characters. Must be at least 8 characters
112
+ */
113
+ adminUserPassword?: pulumi.Input<string>;
114
+ /**
115
+ * ARN of the DocumentDB Elastic Cluster
116
+ */
117
+ arn?: pulumi.Input<string>;
118
+ /**
119
+ * Authentication type for the Elastic DocumentDB cluster. Valid values are `PLAIN_TEXT` and `SECRET_ARN`
120
+ */
121
+ authType?: pulumi.Input<string>;
122
+ /**
123
+ * The DNS address of the DocDB instance
124
+ */
125
+ endpoint?: pulumi.Input<string>;
126
+ /**
127
+ * ARN of a KMS key that is used to encrypt the Elastic DocumentDB cluster. If not specified, the default encryption key that KMS creates for your account is used.
128
+ */
129
+ kmsKeyId?: pulumi.Input<string>;
130
+ /**
131
+ * Name of the Elastic DocumentDB cluster
132
+ */
133
+ name?: pulumi.Input<string>;
134
+ preferredMaintenanceWindow?: pulumi.Input<string>;
135
+ /**
136
+ * Number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64
137
+ */
138
+ shardCapacity?: pulumi.Input<number>;
139
+ /**
140
+ * Number of shards assigned to the elastic cluster. Maximum is 32
141
+ *
142
+ * The following arguments are optional:
143
+ */
144
+ shardCount?: pulumi.Input<number>;
145
+ /**
146
+ * IDs of subnets in which the Elastic DocumentDB Cluster operates.
147
+ */
148
+ subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
149
+ /**
150
+ * A map of tags to assign to the collection. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
151
+ */
152
+ tags?: pulumi.Input<{
153
+ [key: string]: pulumi.Input<string>;
154
+ }>;
155
+ /**
156
+ * @deprecated Please use `tags` instead.
157
+ */
158
+ tagsAll?: pulumi.Input<{
159
+ [key: string]: pulumi.Input<string>;
160
+ }>;
161
+ timeouts?: pulumi.Input<inputs.docdb.ElasticClusterTimeouts>;
162
+ /**
163
+ * List of VPC security groups to associate with the Elastic DocumentDB Cluster
164
+ */
165
+ vpcSecurityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
166
+ }
167
+ /**
168
+ * The set of arguments for constructing a ElasticCluster resource.
169
+ */
170
+ export interface ElasticClusterArgs {
171
+ /**
172
+ * Name of the Elastic DocumentDB cluster administrator
173
+ */
174
+ adminUserName: pulumi.Input<string>;
175
+ /**
176
+ * Password for the Elastic DocumentDB cluster administrator. Can contain any printable ASCII characters. Must be at least 8 characters
177
+ */
178
+ adminUserPassword: pulumi.Input<string>;
179
+ /**
180
+ * Authentication type for the Elastic DocumentDB cluster. Valid values are `PLAIN_TEXT` and `SECRET_ARN`
181
+ */
182
+ authType: pulumi.Input<string>;
183
+ /**
184
+ * ARN of a KMS key that is used to encrypt the Elastic DocumentDB cluster. If not specified, the default encryption key that KMS creates for your account is used.
185
+ */
186
+ kmsKeyId?: pulumi.Input<string>;
187
+ /**
188
+ * Name of the Elastic DocumentDB cluster
189
+ */
190
+ name?: pulumi.Input<string>;
191
+ preferredMaintenanceWindow?: pulumi.Input<string>;
192
+ /**
193
+ * Number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64
194
+ */
195
+ shardCapacity: pulumi.Input<number>;
196
+ /**
197
+ * Number of shards assigned to the elastic cluster. Maximum is 32
198
+ *
199
+ * The following arguments are optional:
200
+ */
201
+ shardCount: pulumi.Input<number>;
202
+ /**
203
+ * IDs of subnets in which the Elastic DocumentDB Cluster operates.
204
+ */
205
+ subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
206
+ /**
207
+ * A map of tags to assign to the collection. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
208
+ */
209
+ tags?: pulumi.Input<{
210
+ [key: string]: pulumi.Input<string>;
211
+ }>;
212
+ timeouts?: pulumi.Input<inputs.docdb.ElasticClusterTimeouts>;
213
+ /**
214
+ * List of VPC security groups to associate with the Elastic DocumentDB Cluster
215
+ */
216
+ vpcSecurityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
217
+ }
@@ -0,0 +1,107 @@
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.ElasticCluster = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages an AWS DocDB (DocumentDB) Elastic Cluster.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ## Import
14
+ *
15
+ * Using `pulumi import`, import DocDB (DocumentDB) Elastic Cluster using the `arn` argument. For example,
16
+ *
17
+ * ```sh
18
+ * $ pulumi import aws:docdb/elasticCluster:ElasticCluster example arn:aws:docdb-elastic:us-east-1:000011112222:cluster/12345678-7abc-def0-1234-56789abcdef
19
+ * ```
20
+ */
21
+ class ElasticCluster extends pulumi.CustomResource {
22
+ /**
23
+ * Get an existing ElasticCluster resource's state with the given name, ID, and optional extra
24
+ * properties used to qualify the lookup.
25
+ *
26
+ * @param name The _unique_ name of the resulting resource.
27
+ * @param id The _unique_ provider ID of the resource to lookup.
28
+ * @param state Any extra arguments used during the lookup.
29
+ * @param opts Optional settings to control the behavior of the CustomResource.
30
+ */
31
+ static get(name, id, state, opts) {
32
+ return new ElasticCluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
33
+ }
34
+ /**
35
+ * Returns true if the given object is an instance of ElasticCluster. This is designed to work even
36
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
37
+ */
38
+ static isInstance(obj) {
39
+ if (obj === undefined || obj === null) {
40
+ return false;
41
+ }
42
+ return obj['__pulumiType'] === ElasticCluster.__pulumiType;
43
+ }
44
+ constructor(name, argsOrState, opts) {
45
+ let resourceInputs = {};
46
+ opts = opts || {};
47
+ if (opts.id) {
48
+ const state = argsOrState;
49
+ resourceInputs["adminUserName"] = state ? state.adminUserName : undefined;
50
+ resourceInputs["adminUserPassword"] = state ? state.adminUserPassword : undefined;
51
+ resourceInputs["arn"] = state ? state.arn : undefined;
52
+ resourceInputs["authType"] = state ? state.authType : undefined;
53
+ resourceInputs["endpoint"] = state ? state.endpoint : undefined;
54
+ resourceInputs["kmsKeyId"] = state ? state.kmsKeyId : undefined;
55
+ resourceInputs["name"] = state ? state.name : undefined;
56
+ resourceInputs["preferredMaintenanceWindow"] = state ? state.preferredMaintenanceWindow : undefined;
57
+ resourceInputs["shardCapacity"] = state ? state.shardCapacity : undefined;
58
+ resourceInputs["shardCount"] = state ? state.shardCount : undefined;
59
+ resourceInputs["subnetIds"] = state ? state.subnetIds : undefined;
60
+ resourceInputs["tags"] = state ? state.tags : undefined;
61
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
62
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
63
+ resourceInputs["vpcSecurityGroupIds"] = state ? state.vpcSecurityGroupIds : undefined;
64
+ }
65
+ else {
66
+ const args = argsOrState;
67
+ if ((!args || args.adminUserName === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'adminUserName'");
69
+ }
70
+ if ((!args || args.adminUserPassword === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'adminUserPassword'");
72
+ }
73
+ if ((!args || args.authType === undefined) && !opts.urn) {
74
+ throw new Error("Missing required property 'authType'");
75
+ }
76
+ if ((!args || args.shardCapacity === undefined) && !opts.urn) {
77
+ throw new Error("Missing required property 'shardCapacity'");
78
+ }
79
+ if ((!args || args.shardCount === undefined) && !opts.urn) {
80
+ throw new Error("Missing required property 'shardCount'");
81
+ }
82
+ resourceInputs["adminUserName"] = args ? args.adminUserName : undefined;
83
+ resourceInputs["adminUserPassword"] = (args === null || args === void 0 ? void 0 : args.adminUserPassword) ? pulumi.secret(args.adminUserPassword) : undefined;
84
+ resourceInputs["authType"] = args ? args.authType : undefined;
85
+ resourceInputs["kmsKeyId"] = args ? args.kmsKeyId : undefined;
86
+ resourceInputs["name"] = args ? args.name : undefined;
87
+ resourceInputs["preferredMaintenanceWindow"] = args ? args.preferredMaintenanceWindow : undefined;
88
+ resourceInputs["shardCapacity"] = args ? args.shardCapacity : undefined;
89
+ resourceInputs["shardCount"] = args ? args.shardCount : undefined;
90
+ resourceInputs["subnetIds"] = args ? args.subnetIds : undefined;
91
+ resourceInputs["tags"] = args ? args.tags : undefined;
92
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
93
+ resourceInputs["vpcSecurityGroupIds"] = args ? args.vpcSecurityGroupIds : undefined;
94
+ resourceInputs["arn"] = undefined /*out*/;
95
+ resourceInputs["endpoint"] = undefined /*out*/;
96
+ resourceInputs["tagsAll"] = undefined /*out*/;
97
+ }
98
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
99
+ const secretOpts = { additionalSecretOutputs: ["adminUserPassword", "tagsAll"] };
100
+ opts = pulumi.mergeOptions(opts, secretOpts);
101
+ super(ElasticCluster.__pulumiType, name, resourceInputs, opts);
102
+ }
103
+ }
104
+ exports.ElasticCluster = ElasticCluster;
105
+ /** @internal */
106
+ ElasticCluster.__pulumiType = 'aws:docdb/elasticCluster:ElasticCluster';
107
+ //# sourceMappingURL=elasticCluster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elasticCluster.js","sourceRoot":"","sources":["../../docdb/elasticCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAmED,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,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AAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,mBAAmB,EAAE,SAAS,CAAC,EAAE,CAAC;QACjF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAtJL,wCAuJC;AAzIG,gBAAgB;AACO,2BAAY,GAAG,yCAAyC,CAAC"}
package/docdb/index.d.ts CHANGED
@@ -10,6 +10,9 @@ export declare const ClusterParameterGroup: typeof import("./clusterParameterGro
10
10
  export { ClusterSnapshotArgs, ClusterSnapshotState } from "./clusterSnapshot";
11
11
  export type ClusterSnapshot = import("./clusterSnapshot").ClusterSnapshot;
12
12
  export declare const ClusterSnapshot: typeof import("./clusterSnapshot").ClusterSnapshot;
13
+ export { ElasticClusterArgs, ElasticClusterState } from "./elasticCluster";
14
+ export type ElasticCluster = import("./elasticCluster").ElasticCluster;
15
+ export declare const ElasticCluster: typeof import("./elasticCluster").ElasticCluster;
13
16
  export { EventSubscriptionArgs, EventSubscriptionState } from "./eventSubscription";
14
17
  export type EventSubscription = import("./eventSubscription").EventSubscription;
15
18
  export declare const EventSubscription: typeof import("./eventSubscription").EventSubscription;
package/docdb/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.SubnetGroup = exports.GlobalCluster = exports.getOrderableDbInstanceOutput = exports.getOrderableDbInstance = exports.getEngineVersionOutput = exports.getEngineVersion = exports.EventSubscription = exports.ClusterSnapshot = exports.ClusterParameterGroup = exports.ClusterInstance = exports.Cluster = void 0;
5
+ exports.SubnetGroup = exports.GlobalCluster = exports.getOrderableDbInstanceOutput = exports.getOrderableDbInstance = exports.getEngineVersionOutput = exports.getEngineVersion = exports.EventSubscription = exports.ElasticCluster = exports.ClusterSnapshot = exports.ClusterParameterGroup = exports.ClusterInstance = exports.Cluster = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.Cluster = null;
@@ -13,6 +13,8 @@ exports.ClusterParameterGroup = null;
13
13
  utilities.lazyLoad(exports, ["ClusterParameterGroup"], () => require("./clusterParameterGroup"));
14
14
  exports.ClusterSnapshot = null;
15
15
  utilities.lazyLoad(exports, ["ClusterSnapshot"], () => require("./clusterSnapshot"));
16
+ exports.ElasticCluster = null;
17
+ utilities.lazyLoad(exports, ["ElasticCluster"], () => require("./elasticCluster"));
16
18
  exports.EventSubscription = null;
17
19
  utilities.lazyLoad(exports, ["EventSubscription"], () => require("./eventSubscription"));
18
20
  exports.getEngineVersion = null;
@@ -37,6 +39,8 @@ const _module = {
37
39
  return new exports.ClusterParameterGroup(name, undefined, { urn });
38
40
  case "aws:docdb/clusterSnapshot:ClusterSnapshot":
39
41
  return new exports.ClusterSnapshot(name, undefined, { urn });
42
+ case "aws:docdb/elasticCluster:ElasticCluster":
43
+ return new exports.ElasticCluster(name, undefined, { urn });
40
44
  case "aws:docdb/eventSubscription:EventSubscription":
41
45
  return new exports.EventSubscription(name, undefined, { urn });
42
46
  case "aws:docdb/globalCluster:GlobalCluster":
@@ -52,6 +56,7 @@ pulumi.runtime.registerResourceModule("aws", "docdb/cluster", _module);
52
56
  pulumi.runtime.registerResourceModule("aws", "docdb/clusterInstance", _module);
53
57
  pulumi.runtime.registerResourceModule("aws", "docdb/clusterParameterGroup", _module);
54
58
  pulumi.runtime.registerResourceModule("aws", "docdb/clusterSnapshot", _module);
59
+ pulumi.runtime.registerResourceModule("aws", "docdb/elasticCluster", _module);
55
60
  pulumi.runtime.registerResourceModule("aws", "docdb/eventSubscription", _module);
56
61
  pulumi.runtime.registerResourceModule("aws", "docdb/globalCluster", _module);
57
62
  pulumi.runtime.registerResourceModule("aws", "docdb/subnetGroup", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../docdb/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAIxE,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAIpF,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAIxE,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACrG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