@pulumi/aws 7.17.0-alpha.1770104813 → 7.17.0-alpha.1770200035
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/acm/certificate.d.ts +2 -2
- package/acm/certificate.js +2 -2
- package/acmpca/certificate.d.ts +2 -2
- package/acmpca/certificate.js +2 -2
- package/apigateway/domainName.d.ts +12 -0
- package/apigateway/domainName.js +2 -0
- package/apigateway/domainName.js.map +1 -1
- package/apigatewayv2/domainName.d.ts +12 -0
- package/apigatewayv2/domainName.js +2 -0
- package/apigatewayv2/domainName.js.map +1 -1
- package/apigatewayv2/index.d.ts +3 -0
- package/apigatewayv2/index.js +6 -1
- package/apigatewayv2/index.js.map +1 -1
- package/apigatewayv2/routingRule.d.ts +166 -0
- package/apigatewayv2/routingRule.js +113 -0
- package/apigatewayv2/routingRule.js.map +1 -0
- package/arcregionswitch/getPlan.d.ts +118 -0
- package/arcregionswitch/getPlan.js +56 -0
- package/arcregionswitch/getPlan.js.map +1 -0
- package/arcregionswitch/getRoute53HealthChecks.d.ts +80 -0
- package/arcregionswitch/getRoute53HealthChecks.js +56 -0
- package/arcregionswitch/getRoute53HealthChecks.js.map +1 -0
- package/arcregionswitch/index.d.ts +9 -0
- package/arcregionswitch/index.js +28 -0
- package/arcregionswitch/index.js.map +1 -0
- package/arcregionswitch/plan.d.ts +384 -0
- package/arcregionswitch/plan.js +253 -0
- package/arcregionswitch/plan.js.map +1 -0
- package/autoscaling/group.d.ts +3 -3
- package/bedrock/agentDataSource.d.ts +37 -0
- package/bedrock/agentDataSource.js +37 -0
- package/bedrock/agentDataSource.js.map +1 -1
- package/cleanrooms/collaboration.d.ts +27 -59
- package/cleanrooms/collaboration.js.map +1 -1
- package/cloudfront/anycastIpList.d.ts +150 -0
- package/cloudfront/anycastIpList.js +91 -0
- package/cloudfront/anycastIpList.js.map +1 -0
- package/cloudfront/index.d.ts +3 -0
- package/cloudfront/index.js +6 -1
- package/cloudfront/index.js.map +1 -1
- package/cloudfront/multitenantDistribution.d.ts +65 -0
- package/cloudfront/multitenantDistribution.js +65 -0
- package/cloudfront/multitenantDistribution.js.map +1 -1
- package/codebuild/webhook.d.ts +2 -2
- package/codebuild/webhook.js +2 -2
- package/codepipeline/webhook.d.ts +2 -2
- package/codepipeline/webhook.js +2 -2
- package/docdb/clusterInstance.d.ts +72 -140
- package/docdb/clusterInstance.js +4 -7
- package/docdb/clusterInstance.js.map +1 -1
- package/dynamodb/table.d.ts +92 -3
- package/dynamodb/table.js +83 -0
- package/dynamodb/table.js.map +1 -1
- package/ec2/getVpcIpamPool.d.ts +4 -0
- package/ec2/getVpcIpamPool.js.map +1 -1
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +6 -1
- package/ec2/index.js.map +1 -1
- package/ec2/launchTemplate.d.ts +3 -0
- package/ec2/launchTemplate.js +2 -0
- package/ec2/launchTemplate.js.map +1 -1
- package/ec2/placementGroup.d.ts +3 -3
- package/ec2/securityGroup.d.ts +1 -1
- package/ec2/securityGroup.js +1 -1
- package/ec2/subnet.d.ts +107 -14
- package/ec2/subnet.js +59 -0
- package/ec2/subnet.js.map +1 -1
- package/ec2/vpcIpamPool.d.ts +54 -0
- package/ec2/vpcIpamPool.js +42 -0
- package/ec2/vpcIpamPool.js.map +1 -1
- package/ec2/vpcIpamResourceDiscovery.d.ts +12 -0
- package/ec2/vpcIpamResourceDiscovery.js +2 -0
- package/ec2/vpcIpamResourceDiscovery.js.map +1 -1
- package/ec2/vpcSecurityGroupRulesExclusive.d.ts +93 -0
- package/ec2/vpcSecurityGroupRulesExclusive.js +73 -0
- package/ec2/vpcSecurityGroupRulesExclusive.js.map +1 -0
- package/ec2transitgateway/vpcAttachment.d.ts +0 -18
- package/ec2transitgateway/vpcAttachment.js.map +1 -1
- package/ecr/accountSetting.d.ts +19 -4
- package/ecr/accountSetting.js +13 -1
- package/ecr/accountSetting.js.map +1 -1
- package/eks/addon.d.ts +46 -0
- package/eks/addon.js +46 -0
- package/eks/addon.js.map +1 -1
- package/fsx/windowsFileSystem.d.ts +22 -0
- package/fsx/windowsFileSystem.js +22 -0
- package/fsx/windowsFileSystem.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +10 -6
- package/index.js.map +1 -1
- package/invoicing/invoiceUnit.d.ts +9 -3
- package/invoicing/invoiceUnit.js.map +1 -1
- package/iot/caCertificate.d.ts +4 -4
- package/iot/caCertificate.js +4 -4
- package/iot/getEndpoint.d.ts +12 -12
- package/iot/getEndpoint.js +12 -12
- package/iot/getRegistrationCode.d.ts +4 -4
- package/iot/getRegistrationCode.js +4 -4
- package/lambda/function.d.ts +3 -3
- package/memorydb/user.d.ts +1 -1
- package/memorydb/user.js +1 -1
- package/notifications/index.d.ts +12 -0
- package/notifications/index.js +21 -1
- package/notifications/index.js.map +1 -1
- package/notifications/managedNotificationAccountContactAssociation.d.ts +85 -0
- package/notifications/managedNotificationAccountContactAssociation.js +82 -0
- package/notifications/managedNotificationAccountContactAssociation.js.map +1 -0
- package/notifications/managedNotificationAdditionalChannelAssociation.d.ts +89 -0
- package/notifications/managedNotificationAdditionalChannelAssociation.js +86 -0
- package/notifications/managedNotificationAdditionalChannelAssociation.js.map +1 -0
- package/notifications/organizationalUnitAssociation.d.ts +121 -0
- package/notifications/organizationalUnitAssociation.js +118 -0
- package/notifications/organizationalUnitAssociation.js.map +1 -0
- package/notifications/organizationsAccess.d.ts +79 -0
- package/notifications/organizationsAccess.js +80 -0
- package/notifications/organizationsAccess.js.map +1 -0
- package/odb/network.d.ts +48 -0
- package/odb/network.js +8 -0
- package/odb/network.js.map +1 -1
- package/opensearch/application.d.ts +334 -0
- package/opensearch/application.js +244 -0
- package/opensearch/application.js.map +1 -0
- package/opensearch/index.d.ts +3 -0
- package/opensearch/index.js +6 -1
- package/opensearch/index.js.map +1 -1
- package/organizations/getEntityPath.d.ts +63 -0
- package/organizations/getEntityPath.js +50 -0
- package/organizations/getEntityPath.js.map +1 -0
- package/organizations/getOrganization.d.ts +21 -2
- package/organizations/getOrganization.js +10 -4
- package/organizations/getOrganization.js.map +1 -1
- package/organizations/index.d.ts +4 -1
- package/organizations/index.js +4 -1
- package/organizations/index.js.map +1 -1
- package/organizations/organization.d.ts +12 -0
- package/organizations/organization.js +2 -0
- package/organizations/organization.js.map +1 -1
- package/package.json +2 -2
- package/ram/index.d.ts +6 -0
- package/ram/index.js +11 -1
- package/ram/index.js.map +1 -1
- package/ram/permission.d.ts +193 -0
- package/ram/permission.js +117 -0
- package/ram/permission.js.map +1 -0
- package/ram/resourceShareAssociationsExclusive.d.ts +123 -0
- package/ram/resourceShareAssociationsExclusive.js +69 -0
- package/ram/resourceShareAssociationsExclusive.js.map +1 -0
- package/resourcegroupstaggingapi/getRequiredTags.d.ts +64 -0
- package/resourcegroupstaggingapi/getRequiredTags.js +52 -0
- package/resourcegroupstaggingapi/getRequiredTags.js.map +1 -0
- package/resourcegroupstaggingapi/index.d.ts +3 -0
- package/resourcegroupstaggingapi/index.js +4 -1
- package/resourcegroupstaggingapi/index.js.map +1 -1
- package/route53/healthCheck.d.ts +4 -4
- package/s3/bucketReplicationConfig.d.ts +3 -0
- package/s3/bucketReplicationConfig.js.map +1 -1
- package/s3/getBucketObjectLockConfiguration.d.ts +94 -0
- package/s3/getBucketObjectLockConfiguration.js +58 -0
- package/s3/getBucketObjectLockConfiguration.js.map +1 -0
- package/s3/getBucketReplicationConfiguration.d.ts +81 -0
- package/s3/getBucketReplicationConfiguration.js +56 -0
- package/s3/getBucketReplicationConfiguration.js.map +1 -0
- package/s3/getObject.d.ts +14 -1
- package/s3/getObject.js +2 -0
- package/s3/getObject.js.map +1 -1
- package/s3/index.d.ts +6 -0
- package/s3/index.js +8 -2
- package/s3/index.js.map +1 -1
- package/s3control/getAccessPoints.d.ts +131 -0
- package/s3control/getAccessPoints.js +82 -0
- package/s3control/getAccessPoints.js.map +1 -0
- package/s3control/getMultiRegionAccessPoints.d.ts +76 -0
- package/s3control/getMultiRegionAccessPoints.js +54 -0
- package/s3control/getMultiRegionAccessPoints.js.map +1 -0
- package/s3control/index.d.ts +6 -0
- package/s3control/index.js +7 -1
- package/s3control/index.js.map +1 -1
- package/sagemaker/index.d.ts +9 -0
- package/sagemaker/index.js +16 -1
- package/sagemaker/index.js.map +1 -1
- package/sagemaker/labelingJob.d.ts +280 -0
- package/sagemaker/labelingJob.js +142 -0
- package/sagemaker/labelingJob.js.map +1 -0
- package/sagemaker/modelCard.d.ts +176 -0
- package/sagemaker/modelCard.js +111 -0
- package/sagemaker/modelCard.js.map +1 -0
- package/sagemaker/modelCardExportJob.d.ts +136 -0
- package/sagemaker/modelCardExportJob.js +97 -0
- package/sagemaker/modelCardExportJob.js.map +1 -0
- package/savingsplans/getSavingsPlan.d.ts +128 -0
- package/savingsplans/getSavingsPlan.js +52 -0
- package/savingsplans/getSavingsPlan.js.map +1 -0
- package/savingsplans/index.d.ts +6 -0
- package/savingsplans/index.js +25 -0
- package/savingsplans/index.js.map +1 -0
- package/savingsplans/savingsPlan.d.ts +297 -0
- package/savingsplans/savingsPlan.js +143 -0
- package/savingsplans/savingsPlan.js.map +1 -0
- package/sesv2/index.d.ts +3 -0
- package/sesv2/index.js +6 -1
- package/sesv2/index.js.map +1 -1
- package/sesv2/tenantResourceAssociation.d.ts +103 -0
- package/sesv2/tenantResourceAssociation.js +84 -0
- package/sesv2/tenantResourceAssociation.js.map +1 -0
- package/ssoadmin/index.d.ts +3 -0
- package/ssoadmin/index.js +6 -1
- package/ssoadmin/index.js.map +1 -1
- package/ssoadmin/managedPolicyAttachment.d.ts +2 -0
- package/ssoadmin/managedPolicyAttachment.js +2 -0
- package/ssoadmin/managedPolicyAttachment.js.map +1 -1
- package/ssoadmin/managedPolicyAttachmentsExclusive.d.ts +151 -0
- package/ssoadmin/managedPolicyAttachmentsExclusive.js +122 -0
- package/ssoadmin/managedPolicyAttachmentsExclusive.js.map +1 -0
- package/types/enums/lambda/index.d.ts +4 -0
- package/types/enums/lambda/index.js +4 -0
- package/types/enums/lambda/index.js.map +1 -1
- package/types/input.d.ts +1766 -15
- package/types/input.js.map +1 -1
- package/types/output.d.ts +2169 -14
- package/types/output.js.map +1 -1
- package/wafv2/getManagedRuleGroup.d.ts +127 -0
- package/wafv2/getManagedRuleGroup.js +62 -0
- package/wafv2/getManagedRuleGroup.js.map +1 -0
- package/wafv2/index.d.ts +3 -0
- package/wafv2/index.js +4 -1
- package/wafv2/index.js.map +1 -1
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides an DocumentDB Cluster Resource Instance. A Cluster Instance Resource defines
|
|
4
|
-
* attributes that are specific to a single instance in a [DocumentDB Cluster][1].
|
|
3
|
+
* Provides an DocumentDB Cluster Resource Instance. A Cluster Instance Resource defines attributes that are specific to a single instance in a DocumentDB Cluster.
|
|
5
4
|
*
|
|
6
|
-
* You do not designate a primary and subsequent replicas. Instead, you simply add DocumentDB
|
|
7
|
-
* Instances and DocumentDB manages the replication. You can use the [count][3]
|
|
8
|
-
* meta-parameter to make multiple instances and join them all to the same DocumentDB
|
|
9
|
-
* Cluster, or you may specify different Cluster Instance resources with various
|
|
10
|
-
* `instanceClass` sizes.
|
|
5
|
+
* You do not designate a primary and subsequent replicas. Instead, you simply add DocumentDB Instances and DocumentDB manages the replication. You can use the count meta-parameter to make multiple instances and join them all to the same DocumentDB Cluster, or you may specify different Cluster Instance resources with various `instanceClass` sizes.
|
|
11
6
|
*
|
|
12
7
|
* ## Example Usage
|
|
13
8
|
*
|
|
@@ -60,28 +55,31 @@ export declare class ClusterInstance extends pulumi.CustomResource {
|
|
|
60
55
|
*/
|
|
61
56
|
static isInstance(obj: any): obj is ClusterInstance;
|
|
62
57
|
/**
|
|
63
|
-
*
|
|
64
|
-
* are applied immediately, or during the next maintenance window. Default is`false`.
|
|
58
|
+
* Whether any database modifications are applied immediately, or during the next maintenance window. Default is`false`.
|
|
65
59
|
*/
|
|
66
60
|
readonly applyImmediately: pulumi.Output<boolean | undefined>;
|
|
67
61
|
/**
|
|
68
|
-
*
|
|
62
|
+
* ARN of cluster instance
|
|
69
63
|
*/
|
|
70
64
|
readonly arn: pulumi.Output<string>;
|
|
71
65
|
/**
|
|
72
|
-
*
|
|
66
|
+
* Parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set (see [docs](https://docs.aws.amazon.com/documentdb/latest/developerguide/API_DBInstance.html)). Default `true`.
|
|
73
67
|
*/
|
|
74
68
|
readonly autoMinorVersionUpgrade: pulumi.Output<boolean | undefined>;
|
|
75
69
|
/**
|
|
76
|
-
*
|
|
70
|
+
* EC2 Availability Zone that the DB instance is created in. See [docs](https://docs.aws.amazon.com/documentdb/latest/developerguide/API_CreateDBInstance.html) about the details.
|
|
77
71
|
*/
|
|
78
72
|
readonly availabilityZone: pulumi.Output<string>;
|
|
79
73
|
/**
|
|
80
|
-
*
|
|
74
|
+
* Identifier of the certificate authority (CA) certificate for the DB instance.
|
|
81
75
|
*/
|
|
82
76
|
readonly caCertIdentifier: pulumi.Output<string>;
|
|
83
77
|
/**
|
|
84
|
-
* The
|
|
78
|
+
* Whether to restart the DB instance when rotating its SSL/TLS certificate. By default, AWS restarts the DB instance when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted. Set to `false` only if you are not using SSL/TLS to connect to the DB instance.
|
|
79
|
+
*/
|
|
80
|
+
readonly certificateRotationRestart: pulumi.Output<string | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* Identifier of the `aws.docdb.Cluster` in which to launch this instance.
|
|
85
83
|
*/
|
|
86
84
|
readonly clusterIdentifier: pulumi.Output<string>;
|
|
87
85
|
/**
|
|
@@ -89,27 +87,27 @@ export declare class ClusterInstance extends pulumi.CustomResource {
|
|
|
89
87
|
*/
|
|
90
88
|
readonly copyTagsToSnapshot: pulumi.Output<boolean | undefined>;
|
|
91
89
|
/**
|
|
92
|
-
*
|
|
90
|
+
* DB subnet group to associate with this DB instance.
|
|
93
91
|
*/
|
|
94
92
|
readonly dbSubnetGroupName: pulumi.Output<string>;
|
|
95
93
|
/**
|
|
96
|
-
*
|
|
94
|
+
* Region-unique, immutable identifier for the DB instance.
|
|
97
95
|
*/
|
|
98
96
|
readonly dbiResourceId: pulumi.Output<string>;
|
|
99
97
|
/**
|
|
100
|
-
*
|
|
98
|
+
* Value that indicates whether to enable Performance Insights for the DB Instance. Default `false`. See [docs] (https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html) about the details.
|
|
101
99
|
*/
|
|
102
100
|
readonly enablePerformanceInsights: pulumi.Output<boolean | undefined>;
|
|
103
101
|
/**
|
|
104
|
-
*
|
|
102
|
+
* DNS address for this instance. May not be writable
|
|
105
103
|
*/
|
|
106
104
|
readonly endpoint: pulumi.Output<string>;
|
|
107
105
|
/**
|
|
108
|
-
*
|
|
106
|
+
* Name of the database engine to be used for the DocumentDB instance. Defaults to `docdb`. Valid Values: `docdb`.
|
|
109
107
|
*/
|
|
110
108
|
readonly engine: pulumi.Output<string | undefined>;
|
|
111
109
|
/**
|
|
112
|
-
*
|
|
110
|
+
* Database engine version
|
|
113
111
|
*/
|
|
114
112
|
readonly engineVersion: pulumi.Output<string>;
|
|
115
113
|
/**
|
|
@@ -121,55 +119,31 @@ export declare class ClusterInstance extends pulumi.CustomResource {
|
|
|
121
119
|
*/
|
|
122
120
|
readonly identifierPrefix: pulumi.Output<string>;
|
|
123
121
|
/**
|
|
124
|
-
*
|
|
125
|
-
* DocumentDB currently supports the below instance classes.
|
|
126
|
-
* Please see [AWS Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/db-instance-classes.html#db-instance-class-specs) for complete details.
|
|
127
|
-
* - db.r6g.large
|
|
128
|
-
* - db.r6g.xlarge
|
|
129
|
-
* - db.r6g.2xlarge
|
|
130
|
-
* - db.r6g.4xlarge
|
|
131
|
-
* - db.r6g.8xlarge
|
|
132
|
-
* - db.r6g.12xlarge
|
|
133
|
-
* - db.r6g.16xlarge
|
|
134
|
-
* - db.r5.large
|
|
135
|
-
* - db.r5.xlarge
|
|
136
|
-
* - db.r5.2xlarge
|
|
137
|
-
* - db.r5.4xlarge
|
|
138
|
-
* - db.r5.12xlarge
|
|
139
|
-
* - db.r5.24xlarge
|
|
140
|
-
* - db.r4.large
|
|
141
|
-
* - db.r4.xlarge
|
|
142
|
-
* - db.r4.2xlarge
|
|
143
|
-
* - db.r4.4xlarge
|
|
144
|
-
* - db.r4.8xlarge
|
|
145
|
-
* - db.r4.16xlarge
|
|
146
|
-
* - db.t4g.medium
|
|
147
|
-
* - db.t3.medium
|
|
122
|
+
* Instance class to use. For details on CPU and memory, see [Scaling for DocumentDB Instances](https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-manage-performance.html#db-cluster-manage-scaling-instance). See the `aws.docdb.getOrderableDbInstance` data source. See [AWS Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/db-instance-classes.html#db-instance-class-specs) for complete details.
|
|
148
123
|
*/
|
|
149
124
|
readonly instanceClass: pulumi.Output<string>;
|
|
150
125
|
/**
|
|
151
|
-
*
|
|
126
|
+
* ARN for the KMS encryption key if one is set to the cluster.
|
|
152
127
|
*/
|
|
153
128
|
readonly kmsKeyId: pulumi.Output<string>;
|
|
154
129
|
/**
|
|
155
|
-
*
|
|
130
|
+
* KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key.
|
|
156
131
|
*/
|
|
157
132
|
readonly performanceInsightsKmsKeyId: pulumi.Output<string>;
|
|
158
133
|
/**
|
|
159
|
-
*
|
|
134
|
+
* Database port
|
|
160
135
|
*/
|
|
161
136
|
readonly port: pulumi.Output<number>;
|
|
162
137
|
/**
|
|
163
|
-
*
|
|
138
|
+
* Daily time range during which automated backups are created if automated backups are enabled.
|
|
164
139
|
*/
|
|
165
140
|
readonly preferredBackupWindow: pulumi.Output<string>;
|
|
166
141
|
/**
|
|
167
|
-
*
|
|
168
|
-
* Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".
|
|
142
|
+
* Window to perform maintenance in. Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".
|
|
169
143
|
*/
|
|
170
144
|
readonly preferredMaintenanceWindow: pulumi.Output<string>;
|
|
171
145
|
/**
|
|
172
|
-
*
|
|
146
|
+
* Failover Priority setting on instance level. Default `0`. The reader who has lower tier has higher priority to get promoter to writer.
|
|
173
147
|
*/
|
|
174
148
|
readonly promotionTier: pulumi.Output<number | undefined>;
|
|
175
149
|
readonly publiclyAccessible: pulumi.Output<boolean>;
|
|
@@ -178,23 +152,23 @@ export declare class ClusterInstance extends pulumi.CustomResource {
|
|
|
178
152
|
*/
|
|
179
153
|
readonly region: pulumi.Output<string>;
|
|
180
154
|
/**
|
|
181
|
-
*
|
|
155
|
+
* Whether the DB cluster is encrypted.
|
|
182
156
|
*/
|
|
183
157
|
readonly storageEncrypted: pulumi.Output<boolean>;
|
|
184
158
|
/**
|
|
185
|
-
*
|
|
159
|
+
* Map of tags to assign to the instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
186
160
|
*/
|
|
187
161
|
readonly tags: pulumi.Output<{
|
|
188
162
|
[key: string]: string;
|
|
189
163
|
} | undefined>;
|
|
190
164
|
/**
|
|
191
|
-
*
|
|
165
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
192
166
|
*/
|
|
193
167
|
readonly tagsAll: pulumi.Output<{
|
|
194
168
|
[key: string]: string;
|
|
195
169
|
}>;
|
|
196
170
|
/**
|
|
197
|
-
*
|
|
171
|
+
* Whether this instance is writable. `False` indicates this instance is a read replica.
|
|
198
172
|
*/
|
|
199
173
|
readonly writer: pulumi.Output<boolean>;
|
|
200
174
|
/**
|
|
@@ -211,28 +185,31 @@ export declare class ClusterInstance extends pulumi.CustomResource {
|
|
|
211
185
|
*/
|
|
212
186
|
export interface ClusterInstanceState {
|
|
213
187
|
/**
|
|
214
|
-
*
|
|
215
|
-
* are applied immediately, or during the next maintenance window. Default is`false`.
|
|
188
|
+
* Whether any database modifications are applied immediately, or during the next maintenance window. Default is`false`.
|
|
216
189
|
*/
|
|
217
190
|
applyImmediately?: pulumi.Input<boolean>;
|
|
218
191
|
/**
|
|
219
|
-
*
|
|
192
|
+
* ARN of cluster instance
|
|
220
193
|
*/
|
|
221
194
|
arn?: pulumi.Input<string>;
|
|
222
195
|
/**
|
|
223
|
-
*
|
|
196
|
+
* Parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set (see [docs](https://docs.aws.amazon.com/documentdb/latest/developerguide/API_DBInstance.html)). Default `true`.
|
|
224
197
|
*/
|
|
225
198
|
autoMinorVersionUpgrade?: pulumi.Input<boolean>;
|
|
226
199
|
/**
|
|
227
|
-
*
|
|
200
|
+
* EC2 Availability Zone that the DB instance is created in. See [docs](https://docs.aws.amazon.com/documentdb/latest/developerguide/API_CreateDBInstance.html) about the details.
|
|
228
201
|
*/
|
|
229
202
|
availabilityZone?: pulumi.Input<string>;
|
|
230
203
|
/**
|
|
231
|
-
*
|
|
204
|
+
* Identifier of the certificate authority (CA) certificate for the DB instance.
|
|
232
205
|
*/
|
|
233
206
|
caCertIdentifier?: pulumi.Input<string>;
|
|
234
207
|
/**
|
|
235
|
-
* The
|
|
208
|
+
* Whether to restart the DB instance when rotating its SSL/TLS certificate. By default, AWS restarts the DB instance when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted. Set to `false` only if you are not using SSL/TLS to connect to the DB instance.
|
|
209
|
+
*/
|
|
210
|
+
certificateRotationRestart?: pulumi.Input<string>;
|
|
211
|
+
/**
|
|
212
|
+
* Identifier of the `aws.docdb.Cluster` in which to launch this instance.
|
|
236
213
|
*/
|
|
237
214
|
clusterIdentifier?: pulumi.Input<string>;
|
|
238
215
|
/**
|
|
@@ -240,27 +217,27 @@ export interface ClusterInstanceState {
|
|
|
240
217
|
*/
|
|
241
218
|
copyTagsToSnapshot?: pulumi.Input<boolean>;
|
|
242
219
|
/**
|
|
243
|
-
*
|
|
220
|
+
* DB subnet group to associate with this DB instance.
|
|
244
221
|
*/
|
|
245
222
|
dbSubnetGroupName?: pulumi.Input<string>;
|
|
246
223
|
/**
|
|
247
|
-
*
|
|
224
|
+
* Region-unique, immutable identifier for the DB instance.
|
|
248
225
|
*/
|
|
249
226
|
dbiResourceId?: pulumi.Input<string>;
|
|
250
227
|
/**
|
|
251
|
-
*
|
|
228
|
+
* Value that indicates whether to enable Performance Insights for the DB Instance. Default `false`. See [docs] (https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html) about the details.
|
|
252
229
|
*/
|
|
253
230
|
enablePerformanceInsights?: pulumi.Input<boolean>;
|
|
254
231
|
/**
|
|
255
|
-
*
|
|
232
|
+
* DNS address for this instance. May not be writable
|
|
256
233
|
*/
|
|
257
234
|
endpoint?: pulumi.Input<string>;
|
|
258
235
|
/**
|
|
259
|
-
*
|
|
236
|
+
* Name of the database engine to be used for the DocumentDB instance. Defaults to `docdb`. Valid Values: `docdb`.
|
|
260
237
|
*/
|
|
261
238
|
engine?: pulumi.Input<string>;
|
|
262
239
|
/**
|
|
263
|
-
*
|
|
240
|
+
* Database engine version
|
|
264
241
|
*/
|
|
265
242
|
engineVersion?: pulumi.Input<string>;
|
|
266
243
|
/**
|
|
@@ -272,55 +249,31 @@ export interface ClusterInstanceState {
|
|
|
272
249
|
*/
|
|
273
250
|
identifierPrefix?: pulumi.Input<string>;
|
|
274
251
|
/**
|
|
275
|
-
*
|
|
276
|
-
* DocumentDB currently supports the below instance classes.
|
|
277
|
-
* Please see [AWS Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/db-instance-classes.html#db-instance-class-specs) for complete details.
|
|
278
|
-
* - db.r6g.large
|
|
279
|
-
* - db.r6g.xlarge
|
|
280
|
-
* - db.r6g.2xlarge
|
|
281
|
-
* - db.r6g.4xlarge
|
|
282
|
-
* - db.r6g.8xlarge
|
|
283
|
-
* - db.r6g.12xlarge
|
|
284
|
-
* - db.r6g.16xlarge
|
|
285
|
-
* - db.r5.large
|
|
286
|
-
* - db.r5.xlarge
|
|
287
|
-
* - db.r5.2xlarge
|
|
288
|
-
* - db.r5.4xlarge
|
|
289
|
-
* - db.r5.12xlarge
|
|
290
|
-
* - db.r5.24xlarge
|
|
291
|
-
* - db.r4.large
|
|
292
|
-
* - db.r4.xlarge
|
|
293
|
-
* - db.r4.2xlarge
|
|
294
|
-
* - db.r4.4xlarge
|
|
295
|
-
* - db.r4.8xlarge
|
|
296
|
-
* - db.r4.16xlarge
|
|
297
|
-
* - db.t4g.medium
|
|
298
|
-
* - db.t3.medium
|
|
252
|
+
* Instance class to use. For details on CPU and memory, see [Scaling for DocumentDB Instances](https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-manage-performance.html#db-cluster-manage-scaling-instance). See the `aws.docdb.getOrderableDbInstance` data source. See [AWS Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/db-instance-classes.html#db-instance-class-specs) for complete details.
|
|
299
253
|
*/
|
|
300
254
|
instanceClass?: pulumi.Input<string>;
|
|
301
255
|
/**
|
|
302
|
-
*
|
|
256
|
+
* ARN for the KMS encryption key if one is set to the cluster.
|
|
303
257
|
*/
|
|
304
258
|
kmsKeyId?: pulumi.Input<string>;
|
|
305
259
|
/**
|
|
306
|
-
*
|
|
260
|
+
* KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key.
|
|
307
261
|
*/
|
|
308
262
|
performanceInsightsKmsKeyId?: pulumi.Input<string>;
|
|
309
263
|
/**
|
|
310
|
-
*
|
|
264
|
+
* Database port
|
|
311
265
|
*/
|
|
312
266
|
port?: pulumi.Input<number>;
|
|
313
267
|
/**
|
|
314
|
-
*
|
|
268
|
+
* Daily time range during which automated backups are created if automated backups are enabled.
|
|
315
269
|
*/
|
|
316
270
|
preferredBackupWindow?: pulumi.Input<string>;
|
|
317
271
|
/**
|
|
318
|
-
*
|
|
319
|
-
* Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".
|
|
272
|
+
* Window to perform maintenance in. Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".
|
|
320
273
|
*/
|
|
321
274
|
preferredMaintenanceWindow?: pulumi.Input<string>;
|
|
322
275
|
/**
|
|
323
|
-
*
|
|
276
|
+
* Failover Priority setting on instance level. Default `0`. The reader who has lower tier has higher priority to get promoter to writer.
|
|
324
277
|
*/
|
|
325
278
|
promotionTier?: pulumi.Input<number>;
|
|
326
279
|
publiclyAccessible?: pulumi.Input<boolean>;
|
|
@@ -329,23 +282,23 @@ export interface ClusterInstanceState {
|
|
|
329
282
|
*/
|
|
330
283
|
region?: pulumi.Input<string>;
|
|
331
284
|
/**
|
|
332
|
-
*
|
|
285
|
+
* Whether the DB cluster is encrypted.
|
|
333
286
|
*/
|
|
334
287
|
storageEncrypted?: pulumi.Input<boolean>;
|
|
335
288
|
/**
|
|
336
|
-
*
|
|
289
|
+
* Map of tags to assign to the instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
337
290
|
*/
|
|
338
291
|
tags?: pulumi.Input<{
|
|
339
292
|
[key: string]: pulumi.Input<string>;
|
|
340
293
|
}>;
|
|
341
294
|
/**
|
|
342
|
-
*
|
|
295
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
343
296
|
*/
|
|
344
297
|
tagsAll?: pulumi.Input<{
|
|
345
298
|
[key: string]: pulumi.Input<string>;
|
|
346
299
|
}>;
|
|
347
300
|
/**
|
|
348
|
-
*
|
|
301
|
+
* Whether this instance is writable. `False` indicates this instance is a read replica.
|
|
349
302
|
*/
|
|
350
303
|
writer?: pulumi.Input<boolean>;
|
|
351
304
|
}
|
|
@@ -354,24 +307,27 @@ export interface ClusterInstanceState {
|
|
|
354
307
|
*/
|
|
355
308
|
export interface ClusterInstanceArgs {
|
|
356
309
|
/**
|
|
357
|
-
*
|
|
358
|
-
* are applied immediately, or during the next maintenance window. Default is`false`.
|
|
310
|
+
* Whether any database modifications are applied immediately, or during the next maintenance window. Default is`false`.
|
|
359
311
|
*/
|
|
360
312
|
applyImmediately?: pulumi.Input<boolean>;
|
|
361
313
|
/**
|
|
362
|
-
*
|
|
314
|
+
* Parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set (see [docs](https://docs.aws.amazon.com/documentdb/latest/developerguide/API_DBInstance.html)). Default `true`.
|
|
363
315
|
*/
|
|
364
316
|
autoMinorVersionUpgrade?: pulumi.Input<boolean>;
|
|
365
317
|
/**
|
|
366
|
-
*
|
|
318
|
+
* EC2 Availability Zone that the DB instance is created in. See [docs](https://docs.aws.amazon.com/documentdb/latest/developerguide/API_CreateDBInstance.html) about the details.
|
|
367
319
|
*/
|
|
368
320
|
availabilityZone?: pulumi.Input<string>;
|
|
369
321
|
/**
|
|
370
|
-
*
|
|
322
|
+
* Identifier of the certificate authority (CA) certificate for the DB instance.
|
|
371
323
|
*/
|
|
372
324
|
caCertIdentifier?: pulumi.Input<string>;
|
|
373
325
|
/**
|
|
374
|
-
* The
|
|
326
|
+
* Whether to restart the DB instance when rotating its SSL/TLS certificate. By default, AWS restarts the DB instance when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted. Set to `false` only if you are not using SSL/TLS to connect to the DB instance.
|
|
327
|
+
*/
|
|
328
|
+
certificateRotationRestart?: pulumi.Input<string>;
|
|
329
|
+
/**
|
|
330
|
+
* Identifier of the `aws.docdb.Cluster` in which to launch this instance.
|
|
375
331
|
*/
|
|
376
332
|
clusterIdentifier: pulumi.Input<string>;
|
|
377
333
|
/**
|
|
@@ -379,11 +335,11 @@ export interface ClusterInstanceArgs {
|
|
|
379
335
|
*/
|
|
380
336
|
copyTagsToSnapshot?: pulumi.Input<boolean>;
|
|
381
337
|
/**
|
|
382
|
-
*
|
|
338
|
+
* Value that indicates whether to enable Performance Insights for the DB Instance. Default `false`. See [docs] (https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html) about the details.
|
|
383
339
|
*/
|
|
384
340
|
enablePerformanceInsights?: pulumi.Input<boolean>;
|
|
385
341
|
/**
|
|
386
|
-
*
|
|
342
|
+
* Name of the database engine to be used for the DocumentDB instance. Defaults to `docdb`. Valid Values: `docdb`.
|
|
387
343
|
*/
|
|
388
344
|
engine?: pulumi.Input<string>;
|
|
389
345
|
/**
|
|
@@ -395,43 +351,19 @@ export interface ClusterInstanceArgs {
|
|
|
395
351
|
*/
|
|
396
352
|
identifierPrefix?: pulumi.Input<string>;
|
|
397
353
|
/**
|
|
398
|
-
*
|
|
399
|
-
* DocumentDB currently supports the below instance classes.
|
|
400
|
-
* Please see [AWS Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/db-instance-classes.html#db-instance-class-specs) for complete details.
|
|
401
|
-
* - db.r6g.large
|
|
402
|
-
* - db.r6g.xlarge
|
|
403
|
-
* - db.r6g.2xlarge
|
|
404
|
-
* - db.r6g.4xlarge
|
|
405
|
-
* - db.r6g.8xlarge
|
|
406
|
-
* - db.r6g.12xlarge
|
|
407
|
-
* - db.r6g.16xlarge
|
|
408
|
-
* - db.r5.large
|
|
409
|
-
* - db.r5.xlarge
|
|
410
|
-
* - db.r5.2xlarge
|
|
411
|
-
* - db.r5.4xlarge
|
|
412
|
-
* - db.r5.12xlarge
|
|
413
|
-
* - db.r5.24xlarge
|
|
414
|
-
* - db.r4.large
|
|
415
|
-
* - db.r4.xlarge
|
|
416
|
-
* - db.r4.2xlarge
|
|
417
|
-
* - db.r4.4xlarge
|
|
418
|
-
* - db.r4.8xlarge
|
|
419
|
-
* - db.r4.16xlarge
|
|
420
|
-
* - db.t4g.medium
|
|
421
|
-
* - db.t3.medium
|
|
354
|
+
* Instance class to use. For details on CPU and memory, see [Scaling for DocumentDB Instances](https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-manage-performance.html#db-cluster-manage-scaling-instance). See the `aws.docdb.getOrderableDbInstance` data source. See [AWS Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/db-instance-classes.html#db-instance-class-specs) for complete details.
|
|
422
355
|
*/
|
|
423
356
|
instanceClass: pulumi.Input<string>;
|
|
424
357
|
/**
|
|
425
|
-
*
|
|
358
|
+
* KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key.
|
|
426
359
|
*/
|
|
427
360
|
performanceInsightsKmsKeyId?: pulumi.Input<string>;
|
|
428
361
|
/**
|
|
429
|
-
*
|
|
430
|
-
* Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".
|
|
362
|
+
* Window to perform maintenance in. Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".
|
|
431
363
|
*/
|
|
432
364
|
preferredMaintenanceWindow?: pulumi.Input<string>;
|
|
433
365
|
/**
|
|
434
|
-
*
|
|
366
|
+
* Failover Priority setting on instance level. Default `0`. The reader who has lower tier has higher priority to get promoter to writer.
|
|
435
367
|
*/
|
|
436
368
|
promotionTier?: pulumi.Input<number>;
|
|
437
369
|
/**
|
|
@@ -439,7 +371,7 @@ export interface ClusterInstanceArgs {
|
|
|
439
371
|
*/
|
|
440
372
|
region?: pulumi.Input<string>;
|
|
441
373
|
/**
|
|
442
|
-
*
|
|
374
|
+
* Map of tags to assign to the instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
443
375
|
*/
|
|
444
376
|
tags?: pulumi.Input<{
|
|
445
377
|
[key: string]: pulumi.Input<string>;
|
package/docdb/clusterInstance.js
CHANGED
|
@@ -6,14 +6,9 @@ exports.ClusterInstance = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides an DocumentDB Cluster Resource Instance. A Cluster Instance Resource defines
|
|
10
|
-
* attributes that are specific to a single instance in a [DocumentDB Cluster][1].
|
|
9
|
+
* Provides an DocumentDB Cluster Resource Instance. A Cluster Instance Resource defines attributes that are specific to a single instance in a DocumentDB Cluster.
|
|
11
10
|
*
|
|
12
|
-
* You do not designate a primary and subsequent replicas. Instead, you simply add DocumentDB
|
|
13
|
-
* Instances and DocumentDB manages the replication. You can use the [count][3]
|
|
14
|
-
* meta-parameter to make multiple instances and join them all to the same DocumentDB
|
|
15
|
-
* Cluster, or you may specify different Cluster Instance resources with various
|
|
16
|
-
* `instanceClass` sizes.
|
|
11
|
+
* You do not designate a primary and subsequent replicas. Instead, you simply add DocumentDB Instances and DocumentDB manages the replication. You can use the count meta-parameter to make multiple instances and join them all to the same DocumentDB Cluster, or you may specify different Cluster Instance resources with various `instanceClass` sizes.
|
|
17
12
|
*
|
|
18
13
|
* ## Example Usage
|
|
19
14
|
*
|
|
@@ -82,6 +77,7 @@ class ClusterInstance extends pulumi.CustomResource {
|
|
|
82
77
|
resourceInputs["autoMinorVersionUpgrade"] = state?.autoMinorVersionUpgrade;
|
|
83
78
|
resourceInputs["availabilityZone"] = state?.availabilityZone;
|
|
84
79
|
resourceInputs["caCertIdentifier"] = state?.caCertIdentifier;
|
|
80
|
+
resourceInputs["certificateRotationRestart"] = state?.certificateRotationRestart;
|
|
85
81
|
resourceInputs["clusterIdentifier"] = state?.clusterIdentifier;
|
|
86
82
|
resourceInputs["copyTagsToSnapshot"] = state?.copyTagsToSnapshot;
|
|
87
83
|
resourceInputs["dbSubnetGroupName"] = state?.dbSubnetGroupName;
|
|
@@ -118,6 +114,7 @@ class ClusterInstance extends pulumi.CustomResource {
|
|
|
118
114
|
resourceInputs["autoMinorVersionUpgrade"] = args?.autoMinorVersionUpgrade;
|
|
119
115
|
resourceInputs["availabilityZone"] = args?.availabilityZone;
|
|
120
116
|
resourceInputs["caCertIdentifier"] = args?.caCertIdentifier;
|
|
117
|
+
resourceInputs["certificateRotationRestart"] = args?.certificateRotationRestart;
|
|
121
118
|
resourceInputs["clusterIdentifier"] = args?.clusterIdentifier;
|
|
122
119
|
resourceInputs["copyTagsToSnapshot"] = args?.copyTagsToSnapshot;
|
|
123
120
|
resourceInputs["enablePerformanceInsights"] = args?.enablePerformanceInsights;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterInstance.js","sourceRoot":"","sources":["../../docdb/clusterInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"clusterInstance.js","sourceRoot":"","sources":["../../docdb/clusterInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA4HD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IA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YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAhOL,0CAiOC;AAnNG,gBAAgB;AACO,4BAAY,GAAG,2CAA2C,CAAC"}
|
package/dynamodb/table.d.ts
CHANGED
|
@@ -72,6 +72,89 @@ import * as outputs from "../types/output";
|
|
|
72
72
|
* });
|
|
73
73
|
* ```
|
|
74
74
|
*
|
|
75
|
+
* ### Basic Example containing Global Secondary Indexs using Multi-attribute keys pattern
|
|
76
|
+
*
|
|
77
|
+
* The following dynamodb table description models the table and GSIs shown in the [AWS SDK example documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.DesignPattern.MultiAttributeKeys.html)
|
|
78
|
+
*
|
|
79
|
+
* ```typescript
|
|
80
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
81
|
+
* import * as aws from "@pulumi/aws";
|
|
82
|
+
*
|
|
83
|
+
* const basic_dynamodb_table = new aws.dynamodb.Table("basic-dynamodb-table", {
|
|
84
|
+
* name: "TournamentMatches",
|
|
85
|
+
* billingMode: "PROVISIONED",
|
|
86
|
+
* readCapacity: 20,
|
|
87
|
+
* writeCapacity: 20,
|
|
88
|
+
* hashKey: "matchId",
|
|
89
|
+
* attributes: [
|
|
90
|
+
* {
|
|
91
|
+
* name: "matchId",
|
|
92
|
+
* type: "S",
|
|
93
|
+
* },
|
|
94
|
+
* {
|
|
95
|
+
* name: "tournamentId",
|
|
96
|
+
* type: "S",
|
|
97
|
+
* },
|
|
98
|
+
* {
|
|
99
|
+
* name: "region",
|
|
100
|
+
* type: "S",
|
|
101
|
+
* },
|
|
102
|
+
* {
|
|
103
|
+
* name: "round",
|
|
104
|
+
* type: "S",
|
|
105
|
+
* },
|
|
106
|
+
* {
|
|
107
|
+
* name: "bracket",
|
|
108
|
+
* type: "S",
|
|
109
|
+
* },
|
|
110
|
+
* {
|
|
111
|
+
* name: "playerId",
|
|
112
|
+
* type: N,
|
|
113
|
+
* },
|
|
114
|
+
* {
|
|
115
|
+
* name: "matchDate",
|
|
116
|
+
* type: S,
|
|
117
|
+
* },
|
|
118
|
+
* ],
|
|
119
|
+
* ttl: {
|
|
120
|
+
* attributeName: "TimeToExist",
|
|
121
|
+
* enabled: true,
|
|
122
|
+
* },
|
|
123
|
+
* globalSecondaryIndexes: [
|
|
124
|
+
* {
|
|
125
|
+
* name: "TournamentRegionIndex",
|
|
126
|
+
* hashKeys: [
|
|
127
|
+
* "tournamentId",
|
|
128
|
+
* "region",
|
|
129
|
+
* ],
|
|
130
|
+
* rangeKeys: [
|
|
131
|
+
* "round",
|
|
132
|
+
* "bracket",
|
|
133
|
+
* "matchId",
|
|
134
|
+
* ],
|
|
135
|
+
* writeCapacity: 10,
|
|
136
|
+
* readCapacity: 10,
|
|
137
|
+
* projectionType: "ALL",
|
|
138
|
+
* },
|
|
139
|
+
* {
|
|
140
|
+
* name: "PlayerMatchHistoryIndex",
|
|
141
|
+
* hashKey: "playerId",
|
|
142
|
+
* rangeKeys: [
|
|
143
|
+
* "matchDate",
|
|
144
|
+
* "round",
|
|
145
|
+
* ],
|
|
146
|
+
* writeCapacity: 10,
|
|
147
|
+
* readCapacity: 10,
|
|
148
|
+
* projectionType: "ALL",
|
|
149
|
+
* },
|
|
150
|
+
* ],
|
|
151
|
+
* tags: {
|
|
152
|
+
* Name: "dynamodb-table-1",
|
|
153
|
+
* Environment: "production",
|
|
154
|
+
* },
|
|
155
|
+
* });
|
|
156
|
+
* ```
|
|
157
|
+
*
|
|
75
158
|
* ### Global Tables
|
|
76
159
|
*
|
|
77
160
|
* This resource implements support for [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html) via `replica` configuration blocks. For working with [DynamoDB Global Tables V1 (version 2017.11.29)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html), see the `aws.dynamodb.GlobalTable` resource.
|
|
@@ -338,7 +421,9 @@ export declare class Table extends pulumi.CustomResource {
|
|
|
338
421
|
*/
|
|
339
422
|
readonly streamLabel: pulumi.Output<string>;
|
|
340
423
|
/**
|
|
341
|
-
* When an item in the table is modified, StreamViewType determines what information is written to the table's stream.
|
|
424
|
+
* When an item in the table is modified, StreamViewType determines what information is written to the table's stream.
|
|
425
|
+
* Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`.
|
|
426
|
+
* Only valid when `streamEnabled` is true.
|
|
342
427
|
*/
|
|
343
428
|
readonly streamViewType: pulumi.Output<string>;
|
|
344
429
|
/**
|
|
@@ -483,7 +568,9 @@ export interface TableState {
|
|
|
483
568
|
*/
|
|
484
569
|
streamLabel?: pulumi.Input<string>;
|
|
485
570
|
/**
|
|
486
|
-
* When an item in the table is modified, StreamViewType determines what information is written to the table's stream.
|
|
571
|
+
* When an item in the table is modified, StreamViewType determines what information is written to the table's stream.
|
|
572
|
+
* Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`.
|
|
573
|
+
* Only valid when `streamEnabled` is true.
|
|
487
574
|
*/
|
|
488
575
|
streamViewType?: pulumi.Input<string>;
|
|
489
576
|
/**
|
|
@@ -608,7 +695,9 @@ export interface TableArgs {
|
|
|
608
695
|
*/
|
|
609
696
|
streamEnabled?: pulumi.Input<boolean>;
|
|
610
697
|
/**
|
|
611
|
-
* When an item in the table is modified, StreamViewType determines what information is written to the table's stream.
|
|
698
|
+
* When an item in the table is modified, StreamViewType determines what information is written to the table's stream.
|
|
699
|
+
* Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`.
|
|
700
|
+
* Only valid when `streamEnabled` is true.
|
|
612
701
|
*/
|
|
613
702
|
streamViewType?: pulumi.Input<string>;
|
|
614
703
|
/**
|