@pulumi/aws 7.16.0-alpha.1767399337 → 7.16.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.
Files changed (189) hide show
  1. package/alb/listener.d.ts +3 -3
  2. package/alb/targetGroup.d.ts +3 -3
  3. package/alb/targetGroupAttachment.d.ts +32 -0
  4. package/alb/targetGroupAttachment.js +22 -0
  5. package/alb/targetGroupAttachment.js.map +1 -1
  6. package/apigateway/domainName.d.ts +32 -3
  7. package/apigateway/domainName.js +19 -0
  8. package/apigateway/domainName.js.map +1 -1
  9. package/apigateway/getDomainName.d.ts +4 -0
  10. package/apigateway/getDomainName.js.map +1 -1
  11. package/apigateway/integration.d.ts +25 -4
  12. package/apigateway/integration.js +25 -4
  13. package/apigateway/integration.js.map +1 -1
  14. package/backup/globalSettings.d.ts +7 -3
  15. package/backup/globalSettings.js +4 -0
  16. package/backup/globalSettings.js.map +1 -1
  17. package/bedrock/agentcoreMemoryStrategy.d.ts +6 -0
  18. package/bedrock/agentcoreMemoryStrategy.js.map +1 -1
  19. package/cleanrooms/collaboration.d.ts +13 -3
  20. package/cleanrooms/collaboration.js +13 -3
  21. package/cleanrooms/collaboration.js.map +1 -1
  22. package/cloudfront/connectionFunction.d.ts +243 -0
  23. package/cloudfront/connectionFunction.js +159 -0
  24. package/cloudfront/connectionFunction.js.map +1 -0
  25. package/cloudfront/connectionGroup.d.ts +196 -0
  26. package/cloudfront/connectionGroup.js +101 -0
  27. package/cloudfront/connectionGroup.js.map +1 -0
  28. package/cloudfront/distribution.d.ts +49 -0
  29. package/cloudfront/distribution.js +29 -0
  30. package/cloudfront/distribution.js.map +1 -1
  31. package/cloudfront/distributionTenant.d.ts +275 -0
  32. package/cloudfront/distributionTenant.js +152 -0
  33. package/cloudfront/distributionTenant.js.map +1 -0
  34. package/cloudfront/getConnectionGroup.d.ts +103 -0
  35. package/cloudfront/getConnectionGroup.js +54 -0
  36. package/cloudfront/getConnectionGroup.js.map +1 -0
  37. package/cloudfront/getDistributionTenant.d.ts +113 -0
  38. package/cloudfront/getDistributionTenant.js +58 -0
  39. package/cloudfront/getDistributionTenant.js.map +1 -0
  40. package/cloudfront/index.d.ts +18 -0
  41. package/cloudfront/index.js +27 -1
  42. package/cloudfront/index.js.map +1 -1
  43. package/cloudfront/multitenantDistribution.d.ts +347 -0
  44. package/cloudfront/multitenantDistribution.js +147 -0
  45. package/cloudfront/multitenantDistribution.js.map +1 -0
  46. package/cloudwatch/logSubscriptionFilter.d.ts +42 -18
  47. package/cloudwatch/logSubscriptionFilter.js +4 -0
  48. package/cloudwatch/logSubscriptionFilter.js.map +1 -1
  49. package/directconnect/gateway.d.ts +30 -0
  50. package/directconnect/gateway.js +4 -0
  51. package/directconnect/gateway.js.map +1 -1
  52. package/directconnect/getGateway.d.ts +18 -0
  53. package/directconnect/getGateway.js +2 -0
  54. package/directconnect/getGateway.js.map +1 -1
  55. package/dynamodb/globalSecondaryIndex.d.ts +202 -0
  56. package/dynamodb/globalSecondaryIndex.js +94 -0
  57. package/dynamodb/globalSecondaryIndex.js.map +1 -0
  58. package/dynamodb/index.d.ts +3 -0
  59. package/dynamodb/index.js +6 -1
  60. package/dynamodb/index.js.map +1 -1
  61. package/dynamodb/table.d.ts +5 -1
  62. package/dynamodb/table.js +4 -0
  63. package/dynamodb/table.js.map +1 -1
  64. package/ec2/getVpcEndpoint.d.ts +17 -3
  65. package/ec2/getVpcEndpoint.js +4 -0
  66. package/ec2/getVpcEndpoint.js.map +1 -1
  67. package/ecr/getRepositoryCreationTemplate.d.ts +1 -1
  68. package/ecr/index.d.ts +3 -0
  69. package/ecr/index.js +6 -1
  70. package/ecr/index.js.map +1 -1
  71. package/ecr/lifecyclePolicy.d.ts +77 -32
  72. package/ecr/lifecyclePolicy.js +77 -32
  73. package/ecr/lifecyclePolicy.js.map +1 -1
  74. package/ecr/pullTimeUpdateExclusion.d.ts +145 -0
  75. package/ecr/pullTimeUpdateExclusion.js +133 -0
  76. package/ecr/pullTimeUpdateExclusion.js.map +1 -0
  77. package/ecr/repositoryCreationTemplate.d.ts +3 -3
  78. package/ecs/taskDefinition.d.ts +12 -12
  79. package/elasticache/replicationGroup.d.ts +3 -3
  80. package/fsx/ontapFileSystem.d.ts +6 -0
  81. package/fsx/ontapFileSystem.js.map +1 -1
  82. package/glue/resourcePolicy.d.ts +2 -2
  83. package/glue/resourcePolicy.js +2 -2
  84. package/iam/getSamlProvider.d.ts +4 -0
  85. package/iam/getSamlProvider.js.map +1 -1
  86. package/iam/outboundWebIdentityFederation.d.ts +0 -2
  87. package/iam/outboundWebIdentityFederation.js +0 -2
  88. package/iam/outboundWebIdentityFederation.js.map +1 -1
  89. package/iam/policy.d.ts +12 -0
  90. package/iam/policy.js +2 -0
  91. package/iam/policy.js.map +1 -1
  92. package/iam/samlProvider.d.ts +8 -0
  93. package/iam/samlProvider.js +2 -0
  94. package/iam/samlProvider.js.map +1 -1
  95. package/iam/virtualMfaDevice.d.ts +26 -18
  96. package/iam/virtualMfaDevice.js +2 -0
  97. package/iam/virtualMfaDevice.js.map +1 -1
  98. package/imagebuilder/image.d.ts +12 -0
  99. package/imagebuilder/image.js +2 -0
  100. package/imagebuilder/image.js.map +1 -1
  101. package/imagebuilder/imagePipeline.d.ts +12 -0
  102. package/imagebuilder/imagePipeline.js +2 -0
  103. package/imagebuilder/imagePipeline.js.map +1 -1
  104. package/kms/grant.d.ts +8 -8
  105. package/lambda/eventSourceMapping.d.ts +1 -0
  106. package/lambda/eventSourceMapping.js +1 -0
  107. package/lambda/eventSourceMapping.js.map +1 -1
  108. package/lambda/function.d.ts +8 -0
  109. package/lambda/function.js +2 -0
  110. package/lambda/function.js.map +1 -1
  111. package/lambda/functionUrl.d.ts +2 -0
  112. package/lambda/functionUrl.js +2 -0
  113. package/lambda/functionUrl.js.map +1 -1
  114. package/lambda/getFunction.d.ts +4 -0
  115. package/lambda/getFunction.js.map +1 -1
  116. package/lambda/permission.d.ts +12 -0
  117. package/lambda/permission.js +2 -0
  118. package/lambda/permission.js.map +1 -1
  119. package/lb/listener.d.ts +3 -3
  120. package/lb/targetGroup.d.ts +3 -3
  121. package/lb/targetGroupAttachment.d.ts +32 -0
  122. package/lb/targetGroupAttachment.js +22 -0
  123. package/lb/targetGroupAttachment.js.map +1 -1
  124. package/networkfirewall/vpcEndpointAssociation.d.ts +1 -1
  125. package/networkfirewall/vpcEndpointAssociation.js +1 -1
  126. package/networkmanager/vpcAttachment.d.ts +3 -3
  127. package/opensearchingest/pipeline.d.ts +12 -0
  128. package/opensearchingest/pipeline.js +2 -0
  129. package/opensearchingest/pipeline.js.map +1 -1
  130. package/organizations/index.d.ts +3 -0
  131. package/organizations/index.js +6 -1
  132. package/organizations/index.js.map +1 -1
  133. package/organizations/tag.d.ts +99 -0
  134. package/organizations/tag.js +89 -0
  135. package/organizations/tag.js.map +1 -0
  136. package/package.json +2 -2
  137. package/rds/cluster.d.ts +9 -9
  138. package/rds/getProxy.d.ts +8 -0
  139. package/rds/getProxy.js.map +1 -1
  140. package/rds/proxy.d.ts +24 -0
  141. package/rds/proxy.js +4 -0
  142. package/rds/proxy.js.map +1 -1
  143. package/rds/proxyDefaultTargetGroup.d.ts +0 -40
  144. package/rds/proxyDefaultTargetGroup.js +0 -40
  145. package/rds/proxyDefaultTargetGroup.js.map +1 -1
  146. package/rds/proxyTarget.d.ts +0 -43
  147. package/rds/proxyTarget.js +0 -43
  148. package/rds/proxyTarget.js.map +1 -1
  149. package/redshift/idcApplication.d.ts +203 -0
  150. package/redshift/idcApplication.js +111 -0
  151. package/redshift/idcApplication.js.map +1 -0
  152. package/redshift/index.d.ts +3 -0
  153. package/redshift/index.js +6 -1
  154. package/redshift/index.js.map +1 -1
  155. package/route53/getResolverFirewallRules.d.ts +9 -0
  156. package/route53/getResolverFirewallRules.js.map +1 -1
  157. package/route53/getResolverRule.d.ts +5 -0
  158. package/route53/getResolverRule.js.map +1 -1
  159. package/route53/resolverFirewallRule.d.ts +66 -9
  160. package/route53/resolverFirewallRule.js +32 -4
  161. package/route53/resolverFirewallRule.js.map +1 -1
  162. package/secretsmanager/index.d.ts +3 -0
  163. package/secretsmanager/index.js +6 -1
  164. package/secretsmanager/index.js.map +1 -1
  165. package/secretsmanager/tag.d.ts +107 -0
  166. package/secretsmanager/tag.js +87 -0
  167. package/secretsmanager/tag.js.map +1 -0
  168. package/sesv2/index.d.ts +3 -0
  169. package/sesv2/index.js +6 -1
  170. package/sesv2/index.js.map +1 -1
  171. package/sesv2/tenant.d.ts +147 -0
  172. package/sesv2/tenant.js +91 -0
  173. package/sesv2/tenant.js.map +1 -0
  174. package/sfn/activity.d.ts +0 -2
  175. package/sfn/activity.js +0 -2
  176. package/sfn/activity.js.map +1 -1
  177. package/sfn/alias.d.ts +0 -2
  178. package/sfn/alias.js +0 -2
  179. package/sfn/alias.js.map +1 -1
  180. package/transfer/webApp.d.ts +15 -3
  181. package/transfer/webApp.js +2 -0
  182. package/transfer/webApp.js.map +1 -1
  183. package/types/input.d.ts +890 -19
  184. package/types/input.js.map +1 -1
  185. package/types/output.d.ts +966 -12
  186. package/types/output.js.map +1 -1
  187. package/vpclattice/serviceNetworkResourceAssociation.d.ts +12 -0
  188. package/vpclattice/serviceNetworkResourceAssociation.js +2 -0
  189. package/vpclattice/serviceNetworkResourceAssociation.js.map +1 -1
@@ -44,23 +44,31 @@ export declare class LogSubscriptionFilter extends pulumi.CustomResource {
44
44
  */
45
45
  static isInstance(obj: any): obj is LogSubscriptionFilter;
46
46
  /**
47
- * The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
47
+ * Boolean to indicate whether to apply the subscription filter on the transformed version of the log events instead of the original ingested log events. Defaults to `false`. Valid only for log groups that have an active log transformer.
48
+ */
49
+ readonly applyOnTransformedLogs: pulumi.Output<boolean>;
50
+ /**
51
+ * ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
48
52
  */
49
53
  readonly destinationArn: pulumi.Output<string>;
50
54
  /**
51
- * The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
55
+ * Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
52
56
  */
53
57
  readonly distribution: pulumi.Output<string | undefined>;
54
58
  /**
55
- * A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
59
+ * List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
60
+ */
61
+ readonly emitSystemFields: pulumi.Output<string[] | undefined>;
62
+ /**
63
+ * Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
56
64
  */
57
65
  readonly filterPattern: pulumi.Output<string>;
58
66
  /**
59
- * The name of the log group to associate the subscription filter with
67
+ * Name of the log group to associate the subscription filter with.
60
68
  */
61
69
  readonly logGroup: pulumi.Output<string>;
62
70
  /**
63
- * A name for the subscription filter
71
+ * Name for the subscription filter.
64
72
  */
65
73
  readonly name: pulumi.Output<string>;
66
74
  /**
@@ -68,7 +76,7 @@ export declare class LogSubscriptionFilter extends pulumi.CustomResource {
68
76
  */
69
77
  readonly region: pulumi.Output<string>;
70
78
  /**
71
- * The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `aws.lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
79
+ * ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. If you use Lambda as a destination, you should skip this argument and use `aws.lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
72
80
  */
73
81
  readonly roleArn: pulumi.Output<string>;
74
82
  /**
@@ -85,23 +93,31 @@ export declare class LogSubscriptionFilter extends pulumi.CustomResource {
85
93
  */
86
94
  export interface LogSubscriptionFilterState {
87
95
  /**
88
- * The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
96
+ * Boolean to indicate whether to apply the subscription filter on the transformed version of the log events instead of the original ingested log events. Defaults to `false`. Valid only for log groups that have an active log transformer.
97
+ */
98
+ applyOnTransformedLogs?: pulumi.Input<boolean>;
99
+ /**
100
+ * ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
89
101
  */
90
102
  destinationArn?: pulumi.Input<string>;
91
103
  /**
92
- * The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
104
+ * Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
93
105
  */
94
106
  distribution?: pulumi.Input<string>;
95
107
  /**
96
- * A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
108
+ * List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
109
+ */
110
+ emitSystemFields?: pulumi.Input<pulumi.Input<string>[]>;
111
+ /**
112
+ * Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
97
113
  */
98
114
  filterPattern?: pulumi.Input<string>;
99
115
  /**
100
- * The name of the log group to associate the subscription filter with
116
+ * Name of the log group to associate the subscription filter with.
101
117
  */
102
118
  logGroup?: pulumi.Input<string | LogGroup>;
103
119
  /**
104
- * A name for the subscription filter
120
+ * Name for the subscription filter.
105
121
  */
106
122
  name?: pulumi.Input<string>;
107
123
  /**
@@ -109,7 +125,7 @@ export interface LogSubscriptionFilterState {
109
125
  */
110
126
  region?: pulumi.Input<string>;
111
127
  /**
112
- * The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `aws.lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
128
+ * ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. If you use Lambda as a destination, you should skip this argument and use `aws.lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
113
129
  */
114
130
  roleArn?: pulumi.Input<string>;
115
131
  }
@@ -118,23 +134,31 @@ export interface LogSubscriptionFilterState {
118
134
  */
119
135
  export interface LogSubscriptionFilterArgs {
120
136
  /**
121
- * The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
137
+ * Boolean to indicate whether to apply the subscription filter on the transformed version of the log events instead of the original ingested log events. Defaults to `false`. Valid only for log groups that have an active log transformer.
138
+ */
139
+ applyOnTransformedLogs?: pulumi.Input<boolean>;
140
+ /**
141
+ * ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
122
142
  */
123
143
  destinationArn: pulumi.Input<string>;
124
144
  /**
125
- * The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
145
+ * Method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream".
126
146
  */
127
147
  distribution?: pulumi.Input<string>;
128
148
  /**
129
- * A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
149
+ * List of system fields to include in the log events sent to the subscription destination. These fields provide source information for centralized log data in the forwarded payload. Valid values: `"@aws.account"`, `"@aws.region"`. To remove this argument after it has been set, specify an empty list `[]` explicitly to avoid perpetual differences.
150
+ */
151
+ emitSystemFields?: pulumi.Input<pulumi.Input<string>[]>;
152
+ /**
153
+ * Valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. Use empty string `""` to match everything. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html).
130
154
  */
131
155
  filterPattern: pulumi.Input<string>;
132
156
  /**
133
- * The name of the log group to associate the subscription filter with
157
+ * Name of the log group to associate the subscription filter with.
134
158
  */
135
159
  logGroup: pulumi.Input<string | LogGroup>;
136
160
  /**
137
- * A name for the subscription filter
161
+ * Name for the subscription filter.
138
162
  */
139
163
  name?: pulumi.Input<string>;
140
164
  /**
@@ -142,7 +166,7 @@ export interface LogSubscriptionFilterArgs {
142
166
  */
143
167
  region?: pulumi.Input<string>;
144
168
  /**
145
- * The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `aws.lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
169
+ * ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery. If you use Lambda as a destination, you should skip this argument and use `aws.lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function.
146
170
  */
147
171
  roleArn?: pulumi.Input<string>;
148
172
  }
@@ -60,8 +60,10 @@ class LogSubscriptionFilter extends pulumi.CustomResource {
60
60
  opts = opts || {};
61
61
  if (opts.id) {
62
62
  const state = argsOrState;
63
+ resourceInputs["applyOnTransformedLogs"] = state?.applyOnTransformedLogs;
63
64
  resourceInputs["destinationArn"] = state?.destinationArn;
64
65
  resourceInputs["distribution"] = state?.distribution;
66
+ resourceInputs["emitSystemFields"] = state?.emitSystemFields;
65
67
  resourceInputs["filterPattern"] = state?.filterPattern;
66
68
  resourceInputs["logGroup"] = state?.logGroup;
67
69
  resourceInputs["name"] = state?.name;
@@ -79,8 +81,10 @@ class LogSubscriptionFilter extends pulumi.CustomResource {
79
81
  if (args?.logGroup === undefined && !opts.urn) {
80
82
  throw new Error("Missing required property 'logGroup'");
81
83
  }
84
+ resourceInputs["applyOnTransformedLogs"] = args?.applyOnTransformedLogs;
82
85
  resourceInputs["destinationArn"] = args?.destinationArn;
83
86
  resourceInputs["distribution"] = args?.distribution;
87
+ resourceInputs["emitSystemFields"] = args?.emitSystemFields;
84
88
  resourceInputs["filterPattern"] = args?.filterPattern;
85
89
  resourceInputs["logGroup"] = args?.logGroup;
86
90
  resourceInputs["name"] = args?.name;
@@ -1 +1 @@
1
- {"version":3,"file":"logSubscriptionFilter.js","sourceRoot":"","sources":["../../cloudwatch/logSubscriptionFilter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,C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,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AA9GL,sDA+GC;AAjGG,gBAAgB;AACO,kCAAY,GAAG,4DAA4D,CAAC"}
@@ -64,6 +64,18 @@ export declare class Gateway extends pulumi.CustomResource {
64
64
  * AWS Account ID of the gateway.
65
65
  */
66
66
  readonly ownerAccountId: pulumi.Output<string>;
67
+ /**
68
+ * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
69
+ */
70
+ readonly tags: pulumi.Output<{
71
+ [key: string]: string;
72
+ } | undefined>;
73
+ /**
74
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
75
+ */
76
+ readonly tagsAll: pulumi.Output<{
77
+ [key: string]: string;
78
+ }>;
67
79
  /**
68
80
  * Create a Gateway resource with the given unique name, arguments, and options.
69
81
  *
@@ -93,6 +105,18 @@ export interface GatewayState {
93
105
  * AWS Account ID of the gateway.
94
106
  */
95
107
  ownerAccountId?: pulumi.Input<string>;
108
+ /**
109
+ * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
110
+ */
111
+ tags?: pulumi.Input<{
112
+ [key: string]: pulumi.Input<string>;
113
+ }>;
114
+ /**
115
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
116
+ */
117
+ tagsAll?: pulumi.Input<{
118
+ [key: string]: pulumi.Input<string>;
119
+ }>;
96
120
  }
97
121
  /**
98
122
  * The set of arguments for constructing a Gateway resource.
@@ -106,4 +130,10 @@ export interface GatewayArgs {
106
130
  * The name of the connection.
107
131
  */
108
132
  name?: pulumi.Input<string>;
133
+ /**
134
+ * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
135
+ */
136
+ tags?: pulumi.Input<{
137
+ [key: string]: pulumi.Input<string>;
138
+ }>;
109
139
  }
@@ -70,6 +70,8 @@ class Gateway extends pulumi.CustomResource {
70
70
  resourceInputs["arn"] = state?.arn;
71
71
  resourceInputs["name"] = state?.name;
72
72
  resourceInputs["ownerAccountId"] = state?.ownerAccountId;
73
+ resourceInputs["tags"] = state?.tags;
74
+ resourceInputs["tagsAll"] = state?.tagsAll;
73
75
  }
74
76
  else {
75
77
  const args = argsOrState;
@@ -78,8 +80,10 @@ class Gateway extends pulumi.CustomResource {
78
80
  }
79
81
  resourceInputs["amazonSideAsn"] = args?.amazonSideAsn;
80
82
  resourceInputs["name"] = args?.name;
83
+ resourceInputs["tags"] = args?.tags;
81
84
  resourceInputs["arn"] = undefined /*out*/;
82
85
  resourceInputs["ownerAccountId"] = undefined /*out*/;
86
+ resourceInputs["tagsAll"] = undefined /*out*/;
83
87
  }
84
88
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
85
89
  super(Gateway.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"gateway.js","sourceRoot":"","sources":["../../directconnect/gateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,EAAE,aAAa,CAAC;YACvD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG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OAAO,CAAC;YAC1C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,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,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAtFL,0BAuFC;AAzEG,gBAAgB;AACO,oBAAY,GAAG,mCAAmC,CAAC"}
@@ -22,6 +22,12 @@ export interface GetGatewayArgs {
22
22
  * Name of the gateway to retrieve.
23
23
  */
24
24
  name: string;
25
+ /**
26
+ * A map of tags assigned to the gateway.
27
+ */
28
+ tags?: {
29
+ [key: string]: string;
30
+ };
25
31
  }
26
32
  /**
27
33
  * A collection of values returned by getGateway.
@@ -44,6 +50,12 @@ export interface GetGatewayResult {
44
50
  * AWS Account ID of the gateway.
45
51
  */
46
52
  readonly ownerAccountId: string;
53
+ /**
54
+ * A map of tags assigned to the gateway.
55
+ */
56
+ readonly tags: {
57
+ [key: string]: string;
58
+ };
47
59
  }
48
60
  /**
49
61
  * Retrieve information about a Direct Connect Gateway.
@@ -68,4 +80,10 @@ export interface GetGatewayOutputArgs {
68
80
  * Name of the gateway to retrieve.
69
81
  */
70
82
  name: pulumi.Input<string>;
83
+ /**
84
+ * A map of tags assigned to the gateway.
85
+ */
86
+ tags?: pulumi.Input<{
87
+ [key: string]: pulumi.Input<string>;
88
+ }>;
71
89
  }
@@ -23,6 +23,7 @@ function getGateway(args, opts) {
23
23
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
24
  return pulumi.runtime.invoke("aws:directconnect/getGateway:getGateway", {
25
25
  "name": args.name,
26
+ "tags": args.tags,
26
27
  }, opts);
27
28
  }
28
29
  exports.getGateway = getGateway;
@@ -44,6 +45,7 @@ function getGatewayOutput(args, opts) {
44
45
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
45
46
  return pulumi.runtime.invokeOutput("aws:directconnect/getGateway:getGateway", {
46
47
  "name": args.name,
48
+ "tags": args.tags,
47
49
  }, opts);
48
50
  }
49
51
  exports.getGatewayOutput = getGatewayOutput;
@@ -1 +1 @@
1
- {"version":3,"file":"getGateway.js","sourceRoot":"","sources":["../../directconnect/getGateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAkCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yCAAyC,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
1
+ {"version":3,"file":"getGateway.js","sourceRoot":"","sources":["../../directconnect/getGateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AA0CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yCAAyC,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
@@ -0,0 +1,202 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ## Import
6
+ *
7
+ * ### Identity Schema
8
+ *
9
+ * #### Required
10
+ *
11
+ * * `index_name` (String) Name of the index.
12
+ *
13
+ * * `table_name` (String) Name of the table this index belongs to.
14
+ *
15
+ * #### Optional
16
+ *
17
+ * * `account_id` (String) AWS Account where this resource is managed.
18
+ *
19
+ * * `region` (String) Region where this resource is managed.
20
+ *
21
+ * Using `pulumi import`, import DynamoDB tables using the `table_name` and `index_name`, separated by a comma. For example:
22
+ *
23
+ * % pulumi import aws_dynamodb_global_secondary_index.example 'example-table,example-index'
24
+ */
25
+ export declare class GlobalSecondaryIndex extends pulumi.CustomResource {
26
+ /**
27
+ * Get an existing GlobalSecondaryIndex resource's state with the given name, ID, and optional extra
28
+ * properties used to qualify the lookup.
29
+ *
30
+ * @param name The _unique_ name of the resulting resource.
31
+ * @param id The _unique_ provider ID of the resource to lookup.
32
+ * @param state Any extra arguments used during the lookup.
33
+ * @param opts Optional settings to control the behavior of the CustomResource.
34
+ */
35
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GlobalSecondaryIndexState, opts?: pulumi.CustomResourceOptions): GlobalSecondaryIndex;
36
+ /**
37
+ * Returns true if the given object is an instance of GlobalSecondaryIndex. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ static isInstance(obj: any): obj is GlobalSecondaryIndex;
41
+ /**
42
+ * ARN of the GSI.
43
+ */
44
+ readonly arn: pulumi.Output<string>;
45
+ /**
46
+ * Name of the index.
47
+ */
48
+ readonly indexName: pulumi.Output<string>;
49
+ /**
50
+ * Set of nested attribute definitions.
51
+ * At least 1 element defining a `HASH` is required.
52
+ * All elements with the `keyType` of `HASH` must precede elements with `keyType` of `RANGE`.
53
+ * Changing any values in `keySchema` will re-create the resource.
54
+ * See `keySchema` below.
55
+ */
56
+ readonly keySchemas: pulumi.Output<outputs.dynamodb.GlobalSecondaryIndexKeySchema[] | undefined>;
57
+ /**
58
+ * Sets the maximum number of read and write units for the index.
59
+ * See `onDemandThroughput` below.
60
+ * Only valid if the table's `billingMode` is `PAY_PER_REQUEST`.
61
+ */
62
+ readonly onDemandThroughput: pulumi.Output<outputs.dynamodb.GlobalSecondaryIndexOnDemandThroughput | undefined>;
63
+ /**
64
+ * Describes which attributes from the table are represented in the index.
65
+ * See `projection` below.
66
+ */
67
+ readonly projection: pulumi.Output<outputs.dynamodb.GlobalSecondaryIndexProjection | undefined>;
68
+ /**
69
+ * Provisioned throughput for the index.
70
+ * See `provisionedThroughput` below.
71
+ * Required if the table's `billingMode` is `PROVISIONED`.
72
+ */
73
+ readonly provisionedThroughput: pulumi.Output<outputs.dynamodb.GlobalSecondaryIndexProvisionedThroughput | undefined>;
74
+ /**
75
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
76
+ */
77
+ readonly region: pulumi.Output<string>;
78
+ /**
79
+ * Name of the table this index belongs to.
80
+ *
81
+ * The following arguments are optional:
82
+ */
83
+ readonly tableName: pulumi.Output<string>;
84
+ readonly timeouts: pulumi.Output<outputs.dynamodb.GlobalSecondaryIndexTimeouts | undefined>;
85
+ /**
86
+ * Sets the number of warm read and write units for this index.
87
+ * See `warmThroughput` below.
88
+ */
89
+ readonly warmThroughput: pulumi.Output<outputs.dynamodb.GlobalSecondaryIndexWarmThroughput>;
90
+ /**
91
+ * Create a GlobalSecondaryIndex resource with the given unique name, arguments, and options.
92
+ *
93
+ * @param name The _unique_ name of the resource.
94
+ * @param args The arguments to use to populate this resource's properties.
95
+ * @param opts A bag of options that control this resource's behavior.
96
+ */
97
+ constructor(name: string, args: GlobalSecondaryIndexArgs, opts?: pulumi.CustomResourceOptions);
98
+ }
99
+ /**
100
+ * Input properties used for looking up and filtering GlobalSecondaryIndex resources.
101
+ */
102
+ export interface GlobalSecondaryIndexState {
103
+ /**
104
+ * ARN of the GSI.
105
+ */
106
+ arn?: pulumi.Input<string>;
107
+ /**
108
+ * Name of the index.
109
+ */
110
+ indexName?: pulumi.Input<string>;
111
+ /**
112
+ * Set of nested attribute definitions.
113
+ * At least 1 element defining a `HASH` is required.
114
+ * All elements with the `keyType` of `HASH` must precede elements with `keyType` of `RANGE`.
115
+ * Changing any values in `keySchema` will re-create the resource.
116
+ * See `keySchema` below.
117
+ */
118
+ keySchemas?: pulumi.Input<pulumi.Input<inputs.dynamodb.GlobalSecondaryIndexKeySchema>[]>;
119
+ /**
120
+ * Sets the maximum number of read and write units for the index.
121
+ * See `onDemandThroughput` below.
122
+ * Only valid if the table's `billingMode` is `PAY_PER_REQUEST`.
123
+ */
124
+ onDemandThroughput?: pulumi.Input<inputs.dynamodb.GlobalSecondaryIndexOnDemandThroughput>;
125
+ /**
126
+ * Describes which attributes from the table are represented in the index.
127
+ * See `projection` below.
128
+ */
129
+ projection?: pulumi.Input<inputs.dynamodb.GlobalSecondaryIndexProjection>;
130
+ /**
131
+ * Provisioned throughput for the index.
132
+ * See `provisionedThroughput` below.
133
+ * Required if the table's `billingMode` is `PROVISIONED`.
134
+ */
135
+ provisionedThroughput?: pulumi.Input<inputs.dynamodb.GlobalSecondaryIndexProvisionedThroughput>;
136
+ /**
137
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
138
+ */
139
+ region?: pulumi.Input<string>;
140
+ /**
141
+ * Name of the table this index belongs to.
142
+ *
143
+ * The following arguments are optional:
144
+ */
145
+ tableName?: pulumi.Input<string>;
146
+ timeouts?: pulumi.Input<inputs.dynamodb.GlobalSecondaryIndexTimeouts>;
147
+ /**
148
+ * Sets the number of warm read and write units for this index.
149
+ * See `warmThroughput` below.
150
+ */
151
+ warmThroughput?: pulumi.Input<inputs.dynamodb.GlobalSecondaryIndexWarmThroughput>;
152
+ }
153
+ /**
154
+ * The set of arguments for constructing a GlobalSecondaryIndex resource.
155
+ */
156
+ export interface GlobalSecondaryIndexArgs {
157
+ /**
158
+ * Name of the index.
159
+ */
160
+ indexName: pulumi.Input<string>;
161
+ /**
162
+ * Set of nested attribute definitions.
163
+ * At least 1 element defining a `HASH` is required.
164
+ * All elements with the `keyType` of `HASH` must precede elements with `keyType` of `RANGE`.
165
+ * Changing any values in `keySchema` will re-create the resource.
166
+ * See `keySchema` below.
167
+ */
168
+ keySchemas?: pulumi.Input<pulumi.Input<inputs.dynamodb.GlobalSecondaryIndexKeySchema>[]>;
169
+ /**
170
+ * Sets the maximum number of read and write units for the index.
171
+ * See `onDemandThroughput` below.
172
+ * Only valid if the table's `billingMode` is `PAY_PER_REQUEST`.
173
+ */
174
+ onDemandThroughput?: pulumi.Input<inputs.dynamodb.GlobalSecondaryIndexOnDemandThroughput>;
175
+ /**
176
+ * Describes which attributes from the table are represented in the index.
177
+ * See `projection` below.
178
+ */
179
+ projection?: pulumi.Input<inputs.dynamodb.GlobalSecondaryIndexProjection>;
180
+ /**
181
+ * Provisioned throughput for the index.
182
+ * See `provisionedThroughput` below.
183
+ * Required if the table's `billingMode` is `PROVISIONED`.
184
+ */
185
+ provisionedThroughput?: pulumi.Input<inputs.dynamodb.GlobalSecondaryIndexProvisionedThroughput>;
186
+ /**
187
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
188
+ */
189
+ region?: pulumi.Input<string>;
190
+ /**
191
+ * Name of the table this index belongs to.
192
+ *
193
+ * The following arguments are optional:
194
+ */
195
+ tableName: pulumi.Input<string>;
196
+ timeouts?: pulumi.Input<inputs.dynamodb.GlobalSecondaryIndexTimeouts>;
197
+ /**
198
+ * Sets the number of warm read and write units for this index.
199
+ * See `warmThroughput` below.
200
+ */
201
+ warmThroughput?: pulumi.Input<inputs.dynamodb.GlobalSecondaryIndexWarmThroughput>;
202
+ }
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.GlobalSecondaryIndex = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * ### Identity Schema
12
+ *
13
+ * #### Required
14
+ *
15
+ * * `index_name` (String) Name of the index.
16
+ *
17
+ * * `table_name` (String) Name of the table this index belongs to.
18
+ *
19
+ * #### Optional
20
+ *
21
+ * * `account_id` (String) AWS Account where this resource is managed.
22
+ *
23
+ * * `region` (String) Region where this resource is managed.
24
+ *
25
+ * Using `pulumi import`, import DynamoDB tables using the `table_name` and `index_name`, separated by a comma. For example:
26
+ *
27
+ * % pulumi import aws_dynamodb_global_secondary_index.example 'example-table,example-index'
28
+ */
29
+ class GlobalSecondaryIndex extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing GlobalSecondaryIndex resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name, id, state, opts) {
40
+ return new GlobalSecondaryIndex(name, state, { ...opts, id: id });
41
+ }
42
+ /**
43
+ * Returns true if the given object is an instance of GlobalSecondaryIndex. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj) {
47
+ if (obj === undefined || obj === null) {
48
+ return false;
49
+ }
50
+ return obj['__pulumiType'] === GlobalSecondaryIndex.__pulumiType;
51
+ }
52
+ constructor(name, argsOrState, opts) {
53
+ let resourceInputs = {};
54
+ opts = opts || {};
55
+ if (opts.id) {
56
+ const state = argsOrState;
57
+ resourceInputs["arn"] = state?.arn;
58
+ resourceInputs["indexName"] = state?.indexName;
59
+ resourceInputs["keySchemas"] = state?.keySchemas;
60
+ resourceInputs["onDemandThroughput"] = state?.onDemandThroughput;
61
+ resourceInputs["projection"] = state?.projection;
62
+ resourceInputs["provisionedThroughput"] = state?.provisionedThroughput;
63
+ resourceInputs["region"] = state?.region;
64
+ resourceInputs["tableName"] = state?.tableName;
65
+ resourceInputs["timeouts"] = state?.timeouts;
66
+ resourceInputs["warmThroughput"] = state?.warmThroughput;
67
+ }
68
+ else {
69
+ const args = argsOrState;
70
+ if (args?.indexName === undefined && !opts.urn) {
71
+ throw new Error("Missing required property 'indexName'");
72
+ }
73
+ if (args?.tableName === undefined && !opts.urn) {
74
+ throw new Error("Missing required property 'tableName'");
75
+ }
76
+ resourceInputs["indexName"] = args?.indexName;
77
+ resourceInputs["keySchemas"] = args?.keySchemas;
78
+ resourceInputs["onDemandThroughput"] = args?.onDemandThroughput;
79
+ resourceInputs["projection"] = args?.projection;
80
+ resourceInputs["provisionedThroughput"] = args?.provisionedThroughput;
81
+ resourceInputs["region"] = args?.region;
82
+ resourceInputs["tableName"] = args?.tableName;
83
+ resourceInputs["timeouts"] = args?.timeouts;
84
+ resourceInputs["warmThroughput"] = args?.warmThroughput;
85
+ resourceInputs["arn"] = undefined /*out*/;
86
+ }
87
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
88
+ super(GlobalSecondaryIndex.__pulumiType, name, resourceInputs, opts);
89
+ }
90
+ }
91
+ exports.GlobalSecondaryIndex = GlobalSecondaryIndex;
92
+ /** @internal */
93
+ GlobalSecondaryIndex.__pulumiType = 'aws:dynamodb/globalSecondaryIndex:GlobalSecondaryIndex';
94
+ //# sourceMappingURL=globalSecondaryIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globalSecondaryIndex.js","sourceRoot":"","sources":["../../dynamodb/globalSecondaryIndex.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IA4DD,YAAY,IAAY,EAAE,WAAkE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YAChD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AA1HL,oDA2HC;AA7GG,gBAAgB;AACO,iCAAY,GAAG,wDAAwD,CAAC"}
@@ -11,6 +11,9 @@ export declare const getTableItemOutput: typeof import("./getTableItem").getTabl
11
11
  export { GetTablesArgs, GetTablesResult, GetTablesOutputArgs } from "./getTables";
12
12
  export declare const getTables: typeof import("./getTables").getTables;
13
13
  export declare const getTablesOutput: typeof import("./getTables").getTablesOutput;
14
+ export { GlobalSecondaryIndexArgs, GlobalSecondaryIndexState } from "./globalSecondaryIndex";
15
+ export type GlobalSecondaryIndex = import("./globalSecondaryIndex").GlobalSecondaryIndex;
16
+ export declare const GlobalSecondaryIndex: typeof import("./globalSecondaryIndex").GlobalSecondaryIndex;
14
17
  export { GlobalTableArgs, GlobalTableState } from "./globalTable";
15
18
  export type GlobalTable = import("./globalTable").GlobalTable;
16
19
  export declare const GlobalTable: typeof import("./globalTable").GlobalTable;