@pulumi/aws 5.5.0-alpha.1653519498 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autoscaling/getAmiIds.d.ts +8 -0
- package/autoscaling/getAmiIds.js +1 -0
- package/autoscaling/getAmiIds.js.map +1 -1
- package/autoscaling/group.d.ts +49 -0
- package/autoscaling/group.js +39 -0
- package/autoscaling/group.js.map +1 -1
- package/autoscaling/policy.d.ts +12 -0
- package/autoscaling/policy.js +2 -0
- package/autoscaling/policy.js.map +1 -1
- package/cloudfront/getResponseHeadersPolicy.d.ts +4 -0
- package/cloudfront/getResponseHeadersPolicy.js.map +1 -1
- package/cloudfront/responseHeadersPolicy.d.ts +33 -0
- package/cloudfront/responseHeadersPolicy.js +23 -0
- package/cloudfront/responseHeadersPolicy.js.map +1 -1
- package/cloudsearch/domain.d.ts +1 -0
- package/cloudsearch/domain.js +1 -0
- package/cloudsearch/domain.js.map +1 -1
- package/cloudwatch/metricStream.d.ts +44 -0
- package/cloudwatch/metricStream.js +34 -0
- package/cloudwatch/metricStream.js.map +1 -1
- package/connect/instance.d.ts +1 -1
- package/connect/instance.js +1 -1
- package/datasync/locationHdfs.d.ts +4 -4
- package/datasync/locationHdfs.js +1 -1
- package/ec2/ami.d.ts +15 -3
- package/ec2/ami.js +2 -0
- package/ec2/ami.js.map +1 -1
- package/ec2/amiCopy.d.ts +11 -3
- package/ec2/amiCopy.js +2 -0
- package/ec2/amiCopy.js.map +1 -1
- package/ec2/amiFromInstance.d.ts +8 -0
- package/ec2/amiFromInstance.js +2 -0
- package/ec2/amiFromInstance.js.map +1 -1
- package/ec2/fleet.d.ts +8 -0
- package/ec2/fleet.js +2 -0
- package/ec2/fleet.js.map +1 -1
- package/ec2/getAmi.d.ts +4 -0
- package/ec2/getAmi.js.map +1 -1
- package/ecr/registryScanningConfiguration.d.ts +1 -1
- package/ecr/registryScanningConfiguration.js +1 -1
- package/efs/index.d.ts +1 -0
- package/efs/index.js +5 -0
- package/efs/index.js.map +1 -1
- package/efs/replicationConfiguration.d.ts +143 -0
- package/efs/replicationConfiguration.js +111 -0
- package/efs/replicationConfiguration.js.map +1 -0
- package/elasticache/globalReplicationGroup.d.ts +51 -31
- package/elasticache/globalReplicationGroup.js +4 -31
- package/elasticache/globalReplicationGroup.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +1 -1
- package/getAmi.d.ts +4 -0
- package/getAmi.js.map +1 -1
- package/getAutoscalingGroups.d.ts +8 -0
- package/getAutoscalingGroups.js +1 -0
- package/getAutoscalingGroups.js.map +1 -1
- package/keyspaces/index.d.ts +1 -0
- package/keyspaces/index.js +5 -0
- package/keyspaces/index.js.map +1 -1
- package/keyspaces/keyspace.d.ts +3 -3
- package/keyspaces/keyspace.js +1 -1
- package/keyspaces/table.d.ts +223 -0
- package/keyspaces/table.js +114 -0
- package/keyspaces/table.js.map +1 -0
- package/lb/getHostedZoneId.d.ts +64 -0
- package/lb/getHostedZoneId.js +46 -0
- package/lb/getHostedZoneId.js.map +1 -0
- package/lb/index.d.ts +1 -0
- package/lb/index.js +1 -0
- package/lb/index.js.map +1 -1
- package/location/getPlaceIndex.d.ts +88 -0
- package/location/getPlaceIndex.js +37 -0
- package/location/getPlaceIndex.js.map +1 -0
- package/location/index.d.ts +2 -0
- package/location/index.js +6 -0
- package/location/index.js.map +1 -1
- package/location/placeIndex.d.ts +150 -0
- package/location/placeIndex.js +94 -0
- package/location/placeIndex.js.map +1 -0
- package/msk/cluster.d.ts +35 -1
- package/msk/cluster.js +35 -1
- package/msk/cluster.js.map +1 -1
- package/networkmanager/getCoreNetworkPolicyDocument.d.ts +146 -0
- package/networkmanager/getCoreNetworkPolicyDocument.js +106 -0
- package/networkmanager/getCoreNetworkPolicyDocument.js.map +1 -0
- package/networkmanager/index.d.ts +1 -0
- package/networkmanager/index.js +1 -0
- package/networkmanager/index.js.map +1 -1
- package/organizations/account.d.ts +20 -9
- package/organizations/account.js +4 -0
- package/organizations/account.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/rds/cluster.d.ts +30 -0
- package/rds/cluster.js +30 -0
- package/rds/cluster.js.map +1 -1
- package/rds/index.d.ts +1 -0
- package/rds/index.js +5 -0
- package/rds/index.js.map +1 -1
- package/rds/snapshotCopy.d.ts +299 -0
- package/rds/snapshotCopy.js +138 -0
- package/rds/snapshotCopy.js.map +1 -0
- package/redshift/authenticationProfile.d.ts +87 -0
- package/redshift/authenticationProfile.js +84 -0
- package/redshift/authenticationProfile.js.map +1 -0
- package/redshift/cluster.d.ts +69 -9
- package/redshift/cluster.js +10 -0
- package/redshift/cluster.js.map +1 -1
- package/redshift/endpointAccess.d.ts +145 -0
- package/redshift/endpointAccess.js +96 -0
- package/redshift/endpointAccess.js.map +1 -0
- package/redshift/eventSubscription.d.ts +15 -15
- package/redshift/getCluster.d.ts +33 -0
- package/redshift/getCluster.js.map +1 -1
- package/redshift/getSubnetGroup.d.ts +75 -0
- package/redshift/getSubnetGroup.js +37 -0
- package/redshift/getSubnetGroup.js.map +1 -0
- package/redshift/hsmClientCertificate.d.ts +122 -0
- package/redshift/hsmClientCertificate.js +82 -0
- package/redshift/hsmClientCertificate.js.map +1 -0
- package/redshift/index.d.ts +5 -0
- package/redshift/index.js +21 -0
- package/redshift/index.js.map +1 -1
- package/redshift/usageLimit.d.ts +177 -0
- package/redshift/usageLimit.js +102 -0
- package/redshift/usageLimit.js.map +1 -0
- package/route53/getResolverRules.d.ts +27 -2
- package/route53/getResolverRules.js +15 -2
- package/route53/getResolverRules.js.map +1 -1
- package/s3/bucketObjectv2.js +2 -0
- package/s3/bucketObjectv2.js.map +1 -1
- package/s3/bucketV2.d.ts +1 -1
- package/s3/bucketV2.js +1 -1
- package/s3/bucketWebsiteConfigurationV2.d.ts +42 -1
- package/s3/bucketWebsiteConfigurationV2.js +28 -0
- package/s3/bucketWebsiteConfigurationV2.js.map +1 -1
- package/secretsmanager/getSecretVersion.d.ts +1 -1
- package/transfer/server.d.ts +3 -3
- package/types/input.d.ts +1112 -247
- package/types/output.d.ts +768 -27
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides a Keyspaces Table.
|
|
5
|
+
*
|
|
6
|
+
* More information about Keyspaces tables can be found in the [Keyspaces Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/working-with-tables.html).
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const example = new aws.keyspaces.Table("example", {
|
|
15
|
+
* keyspaceName: aws_keyspaces_keyspace.example.name,
|
|
16
|
+
* tableName: "my_table",
|
|
17
|
+
* schemaDefinition: {
|
|
18
|
+
* columns: [{
|
|
19
|
+
* name: "Message",
|
|
20
|
+
* type: "ASCII",
|
|
21
|
+
* }],
|
|
22
|
+
* partitionKeys: [{
|
|
23
|
+
* name: "Message",
|
|
24
|
+
* }],
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* Use the `keyspace_name` and `table_name` separated by `/` to import a table. For example
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import aws:keyspaces/table:Table example my_keyspace/my_table
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class Table extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing Table resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TableState, opts?: pulumi.CustomResourceOptions): Table;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Table. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is Table;
|
|
53
|
+
/**
|
|
54
|
+
* The ARN of the table.
|
|
55
|
+
*/
|
|
56
|
+
readonly arn: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Specifies the read/write throughput capacity mode for the table.
|
|
59
|
+
*/
|
|
60
|
+
readonly capacitySpecification: pulumi.Output<outputs.keyspaces.TableCapacitySpecification>;
|
|
61
|
+
/**
|
|
62
|
+
* A description of the table.
|
|
63
|
+
*/
|
|
64
|
+
readonly comment: pulumi.Output<outputs.keyspaces.TableComment>;
|
|
65
|
+
/**
|
|
66
|
+
* The default Time to Live setting in seconds for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl).
|
|
67
|
+
*/
|
|
68
|
+
readonly defaultTimeToLive: pulumi.Output<number | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html).
|
|
71
|
+
*/
|
|
72
|
+
readonly encryptionSpecification: pulumi.Output<outputs.keyspaces.TableEncryptionSpecification>;
|
|
73
|
+
/**
|
|
74
|
+
* The name of the keyspace that the table is going to be created in.
|
|
75
|
+
*/
|
|
76
|
+
readonly keyspaceName: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html).
|
|
79
|
+
*/
|
|
80
|
+
readonly pointInTimeRecovery: pulumi.Output<outputs.keyspaces.TablePointInTimeRecovery>;
|
|
81
|
+
/**
|
|
82
|
+
* Describes the schema of the table.
|
|
83
|
+
*/
|
|
84
|
+
readonly schemaDefinition: pulumi.Output<outputs.keyspaces.TableSchemaDefinition>;
|
|
85
|
+
/**
|
|
86
|
+
* The name of the table.
|
|
87
|
+
*/
|
|
88
|
+
readonly tableName: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
91
|
+
*/
|
|
92
|
+
readonly tags: pulumi.Output<{
|
|
93
|
+
[key: string]: string;
|
|
94
|
+
} | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
97
|
+
*/
|
|
98
|
+
readonly tagsAll: pulumi.Output<{
|
|
99
|
+
[key: string]: string;
|
|
100
|
+
}>;
|
|
101
|
+
/**
|
|
102
|
+
* Enables Time to Live custom settings for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL.html).
|
|
103
|
+
*/
|
|
104
|
+
readonly ttl: pulumi.Output<outputs.keyspaces.TableTtl | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Create a Table resource with the given unique name, arguments, and options.
|
|
107
|
+
*
|
|
108
|
+
* @param name The _unique_ name of the resource.
|
|
109
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
110
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
111
|
+
*/
|
|
112
|
+
constructor(name: string, args: TableArgs, opts?: pulumi.CustomResourceOptions);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Input properties used for looking up and filtering Table resources.
|
|
116
|
+
*/
|
|
117
|
+
export interface TableState {
|
|
118
|
+
/**
|
|
119
|
+
* The ARN of the table.
|
|
120
|
+
*/
|
|
121
|
+
arn?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Specifies the read/write throughput capacity mode for the table.
|
|
124
|
+
*/
|
|
125
|
+
capacitySpecification?: pulumi.Input<inputs.keyspaces.TableCapacitySpecification>;
|
|
126
|
+
/**
|
|
127
|
+
* A description of the table.
|
|
128
|
+
*/
|
|
129
|
+
comment?: pulumi.Input<inputs.keyspaces.TableComment>;
|
|
130
|
+
/**
|
|
131
|
+
* The default Time to Live setting in seconds for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl).
|
|
132
|
+
*/
|
|
133
|
+
defaultTimeToLive?: pulumi.Input<number>;
|
|
134
|
+
/**
|
|
135
|
+
* Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html).
|
|
136
|
+
*/
|
|
137
|
+
encryptionSpecification?: pulumi.Input<inputs.keyspaces.TableEncryptionSpecification>;
|
|
138
|
+
/**
|
|
139
|
+
* The name of the keyspace that the table is going to be created in.
|
|
140
|
+
*/
|
|
141
|
+
keyspaceName?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html).
|
|
144
|
+
*/
|
|
145
|
+
pointInTimeRecovery?: pulumi.Input<inputs.keyspaces.TablePointInTimeRecovery>;
|
|
146
|
+
/**
|
|
147
|
+
* Describes the schema of the table.
|
|
148
|
+
*/
|
|
149
|
+
schemaDefinition?: pulumi.Input<inputs.keyspaces.TableSchemaDefinition>;
|
|
150
|
+
/**
|
|
151
|
+
* The name of the table.
|
|
152
|
+
*/
|
|
153
|
+
tableName?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
156
|
+
*/
|
|
157
|
+
tags?: pulumi.Input<{
|
|
158
|
+
[key: string]: pulumi.Input<string>;
|
|
159
|
+
}>;
|
|
160
|
+
/**
|
|
161
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
162
|
+
*/
|
|
163
|
+
tagsAll?: pulumi.Input<{
|
|
164
|
+
[key: string]: pulumi.Input<string>;
|
|
165
|
+
}>;
|
|
166
|
+
/**
|
|
167
|
+
* Enables Time to Live custom settings for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL.html).
|
|
168
|
+
*/
|
|
169
|
+
ttl?: pulumi.Input<inputs.keyspaces.TableTtl>;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* The set of arguments for constructing a Table resource.
|
|
173
|
+
*/
|
|
174
|
+
export interface TableArgs {
|
|
175
|
+
/**
|
|
176
|
+
* Specifies the read/write throughput capacity mode for the table.
|
|
177
|
+
*/
|
|
178
|
+
capacitySpecification?: pulumi.Input<inputs.keyspaces.TableCapacitySpecification>;
|
|
179
|
+
/**
|
|
180
|
+
* A description of the table.
|
|
181
|
+
*/
|
|
182
|
+
comment?: pulumi.Input<inputs.keyspaces.TableComment>;
|
|
183
|
+
/**
|
|
184
|
+
* The default Time to Live setting in seconds for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl).
|
|
185
|
+
*/
|
|
186
|
+
defaultTimeToLive?: pulumi.Input<number>;
|
|
187
|
+
/**
|
|
188
|
+
* Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html).
|
|
189
|
+
*/
|
|
190
|
+
encryptionSpecification?: pulumi.Input<inputs.keyspaces.TableEncryptionSpecification>;
|
|
191
|
+
/**
|
|
192
|
+
* The name of the keyspace that the table is going to be created in.
|
|
193
|
+
*/
|
|
194
|
+
keyspaceName: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html).
|
|
197
|
+
*/
|
|
198
|
+
pointInTimeRecovery?: pulumi.Input<inputs.keyspaces.TablePointInTimeRecovery>;
|
|
199
|
+
/**
|
|
200
|
+
* Describes the schema of the table.
|
|
201
|
+
*/
|
|
202
|
+
schemaDefinition: pulumi.Input<inputs.keyspaces.TableSchemaDefinition>;
|
|
203
|
+
/**
|
|
204
|
+
* The name of the table.
|
|
205
|
+
*/
|
|
206
|
+
tableName: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* A map of tags to assign to the resource. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
209
|
+
*/
|
|
210
|
+
tags?: pulumi.Input<{
|
|
211
|
+
[key: string]: pulumi.Input<string>;
|
|
212
|
+
}>;
|
|
213
|
+
/**
|
|
214
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
215
|
+
*/
|
|
216
|
+
tagsAll?: pulumi.Input<{
|
|
217
|
+
[key: string]: pulumi.Input<string>;
|
|
218
|
+
}>;
|
|
219
|
+
/**
|
|
220
|
+
* Enables Time to Live custom settings for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL.html).
|
|
221
|
+
*/
|
|
222
|
+
ttl?: pulumi.Input<inputs.keyspaces.TableTtl>;
|
|
223
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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.Table = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Keyspaces Table.
|
|
10
|
+
*
|
|
11
|
+
* More information about Keyspaces tables can be found in the [Keyspaces Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/working-with-tables.html).
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.keyspaces.Table("example", {
|
|
20
|
+
* keyspaceName: aws_keyspaces_keyspace.example.name,
|
|
21
|
+
* tableName: "my_table",
|
|
22
|
+
* schemaDefinition: {
|
|
23
|
+
* columns: [{
|
|
24
|
+
* name: "Message",
|
|
25
|
+
* type: "ASCII",
|
|
26
|
+
* }],
|
|
27
|
+
* partitionKeys: [{
|
|
28
|
+
* name: "Message",
|
|
29
|
+
* }],
|
|
30
|
+
* },
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* Use the `keyspace_name` and `table_name` separated by `/` to import a table. For example
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import aws:keyspaces/table:Table example my_keyspace/my_table
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class Table extends pulumi.CustomResource {
|
|
43
|
+
constructor(name, argsOrState, opts) {
|
|
44
|
+
let resourceInputs = {};
|
|
45
|
+
opts = opts || {};
|
|
46
|
+
if (opts.id) {
|
|
47
|
+
const state = argsOrState;
|
|
48
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
49
|
+
resourceInputs["capacitySpecification"] = state ? state.capacitySpecification : undefined;
|
|
50
|
+
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
51
|
+
resourceInputs["defaultTimeToLive"] = state ? state.defaultTimeToLive : undefined;
|
|
52
|
+
resourceInputs["encryptionSpecification"] = state ? state.encryptionSpecification : undefined;
|
|
53
|
+
resourceInputs["keyspaceName"] = state ? state.keyspaceName : undefined;
|
|
54
|
+
resourceInputs["pointInTimeRecovery"] = state ? state.pointInTimeRecovery : undefined;
|
|
55
|
+
resourceInputs["schemaDefinition"] = state ? state.schemaDefinition : undefined;
|
|
56
|
+
resourceInputs["tableName"] = state ? state.tableName : undefined;
|
|
57
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
58
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
59
|
+
resourceInputs["ttl"] = state ? state.ttl : undefined;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
const args = argsOrState;
|
|
63
|
+
if ((!args || args.keyspaceName === undefined) && !opts.urn) {
|
|
64
|
+
throw new Error("Missing required property 'keyspaceName'");
|
|
65
|
+
}
|
|
66
|
+
if ((!args || args.schemaDefinition === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'schemaDefinition'");
|
|
68
|
+
}
|
|
69
|
+
if ((!args || args.tableName === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'tableName'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["capacitySpecification"] = args ? args.capacitySpecification : undefined;
|
|
73
|
+
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
74
|
+
resourceInputs["defaultTimeToLive"] = args ? args.defaultTimeToLive : undefined;
|
|
75
|
+
resourceInputs["encryptionSpecification"] = args ? args.encryptionSpecification : undefined;
|
|
76
|
+
resourceInputs["keyspaceName"] = args ? args.keyspaceName : undefined;
|
|
77
|
+
resourceInputs["pointInTimeRecovery"] = args ? args.pointInTimeRecovery : undefined;
|
|
78
|
+
resourceInputs["schemaDefinition"] = args ? args.schemaDefinition : undefined;
|
|
79
|
+
resourceInputs["tableName"] = args ? args.tableName : undefined;
|
|
80
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
81
|
+
resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
82
|
+
resourceInputs["ttl"] = args ? args.ttl : undefined;
|
|
83
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
84
|
+
}
|
|
85
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
|
+
super(Table.__pulumiType, name, resourceInputs, opts);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Get an existing Table resource's state with the given name, ID, and optional extra
|
|
90
|
+
* properties used to qualify the lookup.
|
|
91
|
+
*
|
|
92
|
+
* @param name The _unique_ name of the resulting resource.
|
|
93
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
94
|
+
* @param state Any extra arguments used during the lookup.
|
|
95
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
96
|
+
*/
|
|
97
|
+
static get(name, id, state, opts) {
|
|
98
|
+
return new Table(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Returns true if the given object is an instance of Table. This is designed to work even
|
|
102
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
103
|
+
*/
|
|
104
|
+
static isInstance(obj) {
|
|
105
|
+
if (obj === undefined || obj === null) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
return obj['__pulumiType'] === Table.__pulumiType;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.Table = Table;
|
|
112
|
+
/** @internal */
|
|
113
|
+
Table.__pulumiType = 'aws:keyspaces/table:Table';
|
|
114
|
+
//# sourceMappingURL=table.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../keyspaces/table.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAqF5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,yBAAyB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,C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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,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IA/HD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBAiIC;AAnHG,gBAAgB;AACO,kBAAY,GAAG,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to get the HostedZoneId of the AWS Elastic Load Balancing (ELB) in a given region for the purpose of using in an AWS Route53 Alias. Specify the ELB type (`network` or `application`) to return the relevant the associated HostedZoneId. Ref: [ELB service endpoints](https://docs.aws.amazon.com/general/latest/gr/elb.html#elb_region)
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const main = aws.lb.getHostedZoneId({});
|
|
12
|
+
* const www = new aws.route53.Record("www", {
|
|
13
|
+
* zoneId: aws_route53_zone.primary.zone_id,
|
|
14
|
+
* name: "example.com",
|
|
15
|
+
* type: "A",
|
|
16
|
+
* aliases: [{
|
|
17
|
+
* name: aws_lb.main.dns_name,
|
|
18
|
+
* zoneId: main.then(main => main.id),
|
|
19
|
+
* evaluateTargetHealth: true,
|
|
20
|
+
* }],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function getHostedZoneId(args?: GetHostedZoneIdArgs, opts?: pulumi.InvokeOptions): Promise<GetHostedZoneIdResult>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking getHostedZoneId.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetHostedZoneIdArgs {
|
|
29
|
+
/**
|
|
30
|
+
* The type of load balancer to create. Possible values are `application` or `network`. The default value is `application`.
|
|
31
|
+
*/
|
|
32
|
+
loadBalancerType?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Name of the region whose AWS ELB HostedZoneId is desired.
|
|
35
|
+
* Defaults to the region from the AWS provider configuration.
|
|
36
|
+
*/
|
|
37
|
+
region?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A collection of values returned by getHostedZoneId.
|
|
41
|
+
*/
|
|
42
|
+
export interface GetHostedZoneIdResult {
|
|
43
|
+
/**
|
|
44
|
+
* The provider-assigned unique ID for this managed resource.
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
readonly loadBalancerType?: string;
|
|
48
|
+
readonly region?: string;
|
|
49
|
+
}
|
|
50
|
+
export declare function getHostedZoneIdOutput(args?: GetHostedZoneIdOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHostedZoneIdResult>;
|
|
51
|
+
/**
|
|
52
|
+
* A collection of arguments for invoking getHostedZoneId.
|
|
53
|
+
*/
|
|
54
|
+
export interface GetHostedZoneIdOutputArgs {
|
|
55
|
+
/**
|
|
56
|
+
* The type of load balancer to create. Possible values are `application` or `network`. The default value is `application`.
|
|
57
|
+
*/
|
|
58
|
+
loadBalancerType?: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Name of the region whose AWS ELB HostedZoneId is desired.
|
|
61
|
+
* Defaults to the region from the AWS provider configuration.
|
|
62
|
+
*/
|
|
63
|
+
region?: pulumi.Input<string>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.getHostedZoneIdOutput = exports.getHostedZoneId = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get the HostedZoneId of the AWS Elastic Load Balancing (ELB) in a given region for the purpose of using in an AWS Route53 Alias. Specify the ELB type (`network` or `application`) to return the relevant the associated HostedZoneId. Ref: [ELB service endpoints](https://docs.aws.amazon.com/general/latest/gr/elb.html#elb_region)
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const main = aws.lb.getHostedZoneId({});
|
|
18
|
+
* const www = new aws.route53.Record("www", {
|
|
19
|
+
* zoneId: aws_route53_zone.primary.zone_id,
|
|
20
|
+
* name: "example.com",
|
|
21
|
+
* type: "A",
|
|
22
|
+
* aliases: [{
|
|
23
|
+
* name: aws_lb.main.dns_name,
|
|
24
|
+
* zoneId: main.then(main => main.id),
|
|
25
|
+
* evaluateTargetHealth: true,
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
function getHostedZoneId(args, opts) {
|
|
31
|
+
args = args || {};
|
|
32
|
+
if (!opts) {
|
|
33
|
+
opts = {};
|
|
34
|
+
}
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
36
|
+
return pulumi.runtime.invoke("aws:lb/getHostedZoneId:getHostedZoneId", {
|
|
37
|
+
"loadBalancerType": args.loadBalancerType,
|
|
38
|
+
"region": args.region,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getHostedZoneId = getHostedZoneId;
|
|
42
|
+
function getHostedZoneIdOutput(args, opts) {
|
|
43
|
+
return pulumi.output(args).apply(a => getHostedZoneId(a, opts));
|
|
44
|
+
}
|
|
45
|
+
exports.getHostedZoneIdOutput = getHostedZoneIdOutput;
|
|
46
|
+
//# sourceMappingURL=getHostedZoneId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getHostedZoneId.js","sourceRoot":"","sources":["../../lb/getHostedZoneId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0CAWC;AA6BD,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
|
package/lb/index.d.ts
CHANGED
package/lb/index.js
CHANGED
|
@@ -19,6 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
const pulumi = require("@pulumi/pulumi");
|
|
20
20
|
const utilities = require("../utilities");
|
|
21
21
|
// Export members:
|
|
22
|
+
__exportStar(require("./getHostedZoneId"), exports);
|
|
22
23
|
__exportStar(require("./getListener"), exports);
|
|
23
24
|
__exportStar(require("./getLoadBalancer"), exports);
|
|
24
25
|
__exportStar(require("./getTargetGroup"), exports);
|
package/lb/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lb/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,gDAA8B;AAC9B,oDAAkC;AAClC,mDAAiC;AACjC,6CAA2B;AAC3B,wDAAsC;AACtC,iDAA+B;AAC/B,iDAA+B;AAC/B,gDAA8B;AAC9B,0DAAwC;AAExC,gCAAgC;AAChC,yCAAsC;AACtC,+DAA4D;AAC5D,iDAA8C;AAC9C,iDAA8C;AAC9C,+CAA4C;AAC5C,mEAAgE;AAEhE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,0BAA0B;gBAC3B,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,gDAAg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AAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACpE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Retrieve information about a Location Service Place Index.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
*
|
|
12
|
+
* const example = pulumi.output(aws.location.getPlaceIndex({
|
|
13
|
+
* indexName: "example",
|
|
14
|
+
* }));
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getPlaceIndex(args: GetPlaceIndexArgs, opts?: pulumi.InvokeOptions): Promise<GetPlaceIndexResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getPlaceIndex.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetPlaceIndexArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The name of the place index resource.
|
|
24
|
+
*/
|
|
25
|
+
indexName: string;
|
|
26
|
+
/**
|
|
27
|
+
* Key-value map of resource tags for the map.
|
|
28
|
+
*/
|
|
29
|
+
tags?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getPlaceIndex.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetPlaceIndexResult {
|
|
37
|
+
/**
|
|
38
|
+
* The timestamp for when the place index resource was created in ISO 8601 format.
|
|
39
|
+
*/
|
|
40
|
+
readonly createTime: string;
|
|
41
|
+
/**
|
|
42
|
+
* The data provider of geospatial data.
|
|
43
|
+
*/
|
|
44
|
+
readonly dataSource: string;
|
|
45
|
+
/**
|
|
46
|
+
* List of configurations that specify data storage option for requesting Places.
|
|
47
|
+
*/
|
|
48
|
+
readonly dataSourceConfigurations: outputs.location.GetPlaceIndexDataSourceConfiguration[];
|
|
49
|
+
/**
|
|
50
|
+
* The optional description for the place index resource.
|
|
51
|
+
*/
|
|
52
|
+
readonly description: string;
|
|
53
|
+
/**
|
|
54
|
+
* The provider-assigned unique ID for this managed resource.
|
|
55
|
+
*/
|
|
56
|
+
readonly id: string;
|
|
57
|
+
/**
|
|
58
|
+
* The Amazon Resource Name (ARN) for the place index resource.
|
|
59
|
+
*/
|
|
60
|
+
readonly indexArn: string;
|
|
61
|
+
readonly indexName: string;
|
|
62
|
+
/**
|
|
63
|
+
* Key-value map of resource tags for the map.
|
|
64
|
+
*/
|
|
65
|
+
readonly tags: {
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* The timestamp for when the place index resource was last update in ISO 8601.
|
|
70
|
+
*/
|
|
71
|
+
readonly updateTime: string;
|
|
72
|
+
}
|
|
73
|
+
export declare function getPlaceIndexOutput(args: GetPlaceIndexOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPlaceIndexResult>;
|
|
74
|
+
/**
|
|
75
|
+
* A collection of arguments for invoking getPlaceIndex.
|
|
76
|
+
*/
|
|
77
|
+
export interface GetPlaceIndexOutputArgs {
|
|
78
|
+
/**
|
|
79
|
+
* The name of the place index resource.
|
|
80
|
+
*/
|
|
81
|
+
indexName: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Key-value map of resource tags for the map.
|
|
84
|
+
*/
|
|
85
|
+
tags?: pulumi.Input<{
|
|
86
|
+
[key: string]: pulumi.Input<string>;
|
|
87
|
+
}>;
|
|
88
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.getPlaceIndexOutput = exports.getPlaceIndex = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve information about a Location Service Place Index.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = pulumi.output(aws.location.getPlaceIndex({
|
|
18
|
+
* indexName: "example",
|
|
19
|
+
* }));
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getPlaceIndex(args, opts) {
|
|
23
|
+
if (!opts) {
|
|
24
|
+
opts = {};
|
|
25
|
+
}
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
27
|
+
return pulumi.runtime.invoke("aws:location/getPlaceIndex:getPlaceIndex", {
|
|
28
|
+
"indexName": args.indexName,
|
|
29
|
+
"tags": args.tags,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getPlaceIndex = getPlaceIndex;
|
|
33
|
+
function getPlaceIndexOutput(args, opts) {
|
|
34
|
+
return pulumi.output(args).apply(a => getPlaceIndex(a, opts));
|
|
35
|
+
}
|
|
36
|
+
exports.getPlaceIndexOutput = getPlaceIndexOutput;
|
|
37
|
+
//# sourceMappingURL=getPlaceIndex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPlaceIndex.js","sourceRoot":"","sources":["../../location/getPlaceIndex.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AAuDD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
package/location/index.d.ts
CHANGED
package/location/index.js
CHANGED
|
@@ -20,19 +20,25 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
20
20
|
const utilities = require("../utilities");
|
|
21
21
|
// Export members:
|
|
22
22
|
__exportStar(require("./getMap"), exports);
|
|
23
|
+
__exportStar(require("./getPlaceIndex"), exports);
|
|
23
24
|
__exportStar(require("./map"), exports);
|
|
25
|
+
__exportStar(require("./placeIndex"), exports);
|
|
24
26
|
// Import resources to register:
|
|
25
27
|
const map_1 = require("./map");
|
|
28
|
+
const placeIndex_1 = require("./placeIndex");
|
|
26
29
|
const _module = {
|
|
27
30
|
version: utilities.getVersion(),
|
|
28
31
|
construct: (name, type, urn) => {
|
|
29
32
|
switch (type) {
|
|
30
33
|
case "aws:location/map:Map":
|
|
31
34
|
return new map_1.Map(name, undefined, { urn });
|
|
35
|
+
case "aws:location/placeIndex:PlaceIndex":
|
|
36
|
+
return new placeIndex_1.PlaceIndex(name, undefined, { urn });
|
|
32
37
|
default:
|
|
33
38
|
throw new Error(`unknown resource type ${type}`);
|
|
34
39
|
}
|
|
35
40
|
},
|
|
36
41
|
};
|
|
37
42
|
pulumi.runtime.registerResourceModule("aws", "location/map", _module);
|
|
43
|
+
pulumi.runtime.registerResourceModule("aws", "location/placeIndex", _module);
|
|
38
44
|
//# sourceMappingURL=index.js.map
|
package/location/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../location/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,2CAAyB;AACzB,wCAAsB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../location/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,+CAA6B;AAE7B,gCAAgC;AAChC,+BAA4B;AAC5B,6CAA0C;AAE1C,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,sBAAsB;gBACvB,OAAO,IAAI,SAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD,KAAK,oCAAoC;gBACrC,OAAO,IAAI,uBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AACrE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA"}
|