@pulumi/aws 5.25.0-alpha.1671707862 → 5.25.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/directconnect/connection.d.ts +79 -0
- package/directconnect/connection.js +37 -0
- package/directconnect/connection.js.map +1 -1
- package/directconnect/index.d.ts +3 -0
- package/directconnect/index.js +6 -1
- package/directconnect/index.js.map +1 -1
- package/directconnect/macsecKeyAssociation.d.ts +144 -0
- package/directconnect/macsecKeyAssociation.js +106 -0
- package/directconnect/macsecKeyAssociation.js.map +1 -0
- package/gamelift/index.d.ts +6 -0
- package/gamelift/index.js +11 -1
- package/gamelift/index.js.map +1 -1
- package/gamelift/matchmakingConfiguration.d.ts +307 -0
- package/gamelift/matchmakingConfiguration.js +150 -0
- package/gamelift/matchmakingConfiguration.js.map +1 -0
- package/gamelift/matchmakingRuleSet.d.ts +102 -0
- package/gamelift/matchmakingRuleSet.js +73 -0
- package/gamelift/matchmakingRuleSet.js.map +1 -0
- package/inspector2/enabler.d.ts +3 -3
- package/networkfirewall/ruleGroup.d.ts +32 -0
- package/networkfirewall/ruleGroup.js +32 -0
- package/networkfirewall/ruleGroup.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/types/input.d.ts +52 -14
- package/types/output.d.ts +52 -14
package/gamelift/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Script = exports.GameSessionQueue = exports.GameServerGroup = exports.Fleet = exports.Build = exports.Alias = void 0;
|
|
5
|
+
exports.Script = exports.MatchmakingRuleSet = exports.MatchmakingConfiguration = exports.GameSessionQueue = exports.GameServerGroup = exports.Fleet = exports.Build = exports.Alias = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Alias = null;
|
|
@@ -15,6 +15,10 @@ exports.GameServerGroup = null;
|
|
|
15
15
|
utilities.lazyLoad(exports, ["GameServerGroup"], () => require("./gameServerGroup"));
|
|
16
16
|
exports.GameSessionQueue = null;
|
|
17
17
|
utilities.lazyLoad(exports, ["GameSessionQueue"], () => require("./gameSessionQueue"));
|
|
18
|
+
exports.MatchmakingConfiguration = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["MatchmakingConfiguration"], () => require("./matchmakingConfiguration"));
|
|
20
|
+
exports.MatchmakingRuleSet = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["MatchmakingRuleSet"], () => require("./matchmakingRuleSet"));
|
|
18
22
|
exports.Script = null;
|
|
19
23
|
utilities.lazyLoad(exports, ["Script"], () => require("./script"));
|
|
20
24
|
const _module = {
|
|
@@ -31,6 +35,10 @@ const _module = {
|
|
|
31
35
|
return new exports.GameServerGroup(name, undefined, { urn });
|
|
32
36
|
case "aws:gamelift/gameSessionQueue:GameSessionQueue":
|
|
33
37
|
return new exports.GameSessionQueue(name, undefined, { urn });
|
|
38
|
+
case "aws:gamelift/matchmakingConfiguration:MatchmakingConfiguration":
|
|
39
|
+
return new exports.MatchmakingConfiguration(name, undefined, { urn });
|
|
40
|
+
case "aws:gamelift/matchmakingRuleSet:MatchmakingRuleSet":
|
|
41
|
+
return new exports.MatchmakingRuleSet(name, undefined, { urn });
|
|
34
42
|
case "aws:gamelift/script:Script":
|
|
35
43
|
return new exports.Script(name, undefined, { urn });
|
|
36
44
|
default:
|
|
@@ -43,5 +51,7 @@ pulumi.runtime.registerResourceModule("aws", "gamelift/build", _module);
|
|
|
43
51
|
pulumi.runtime.registerResourceModule("aws", "gamelift/fleet", _module);
|
|
44
52
|
pulumi.runtime.registerResourceModule("aws", "gamelift/gameServerGroup", _module);
|
|
45
53
|
pulumi.runtime.registerResourceModule("aws", "gamelift/gameSessionQueue", _module);
|
|
54
|
+
pulumi.runtime.registerResourceModule("aws", "gamelift/matchmakingConfiguration", _module);
|
|
55
|
+
pulumi.runtime.registerResourceModule("aws", "gamelift/matchmakingRuleSet", _module);
|
|
46
56
|
pulumi.runtime.registerResourceModule("aws", "gamelift/script", _module);
|
|
47
57
|
//# sourceMappingURL=index.js.map
|
package/gamelift/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../gamelift/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAIxE,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAI1E,QAAA,MAAM,GAAqC,IAAW,CAAC;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"../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a GameLift Alias resource.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const exampleGameSessionQueue = new aws.gamelift.GameSessionQueue("exampleGameSessionQueue", {
|
|
14
|
+
* destinations: [],
|
|
15
|
+
* playerLatencyPolicies: [
|
|
16
|
+
* {
|
|
17
|
+
* maximumIndividualPlayerLatencyMilliseconds: 3,
|
|
18
|
+
* policyDurationSeconds: 7,
|
|
19
|
+
* },
|
|
20
|
+
* {
|
|
21
|
+
* maximumIndividualPlayerLatencyMilliseconds: 10,
|
|
22
|
+
* },
|
|
23
|
+
* ],
|
|
24
|
+
* timeoutInSeconds: 25,
|
|
25
|
+
* });
|
|
26
|
+
* const exampleMatchmakingRuleSet = new aws.gamelift.MatchmakingRuleSet("exampleMatchmakingRuleSet", {ruleSetBody: JSON.stringify({
|
|
27
|
+
* name: "test",
|
|
28
|
+
* ruleLanguageVersion: "1.0",
|
|
29
|
+
* teams: [{
|
|
30
|
+
* name: "alpha",
|
|
31
|
+
* minPlayers: 1,
|
|
32
|
+
* maxPlayers: 5,
|
|
33
|
+
* }],
|
|
34
|
+
* })});
|
|
35
|
+
* const exampleMatchmakingConfiguration = new aws.gamelift.MatchmakingConfiguration("exampleMatchmakingConfiguration", {
|
|
36
|
+
* acceptanceRequired: false,
|
|
37
|
+
* customEventData: "pvp",
|
|
38
|
+
* gameSessionData: "game_session_data",
|
|
39
|
+
* backfillMode: "MANUAL",
|
|
40
|
+
* requestTimeoutSeconds: 30,
|
|
41
|
+
* ruleSetName: aws_gamelift_matchmaking_rule_set.test.name,
|
|
42
|
+
* gameSessionQueueArns: [aws_gamelift_game_session_queue.test.arn],
|
|
43
|
+
* tags: {
|
|
44
|
+
* key1: "value1",
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ## Import
|
|
50
|
+
*
|
|
51
|
+
* GameLift Matchmaking Configurations can be imported using the ID, e.g.,
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import aws:gamelift/matchmakingConfiguration:MatchmakingConfiguration example <matchmakingconfiguration-id>
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare class MatchmakingConfiguration extends pulumi.CustomResource {
|
|
58
|
+
/**
|
|
59
|
+
* Get an existing MatchmakingConfiguration resource's state with the given name, ID, and optional extra
|
|
60
|
+
* properties used to qualify the lookup.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resulting resource.
|
|
63
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
+
* @param state Any extra arguments used during the lookup.
|
|
65
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
+
*/
|
|
67
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MatchmakingConfigurationState, opts?: pulumi.CustomResourceOptions): MatchmakingConfiguration;
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of MatchmakingConfiguration. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj: any): obj is MatchmakingConfiguration;
|
|
73
|
+
/**
|
|
74
|
+
* Specifies if the match that was created with this configuration must be accepted by matched players.
|
|
75
|
+
*/
|
|
76
|
+
readonly acceptanceRequired: pulumi.Output<boolean>;
|
|
77
|
+
/**
|
|
78
|
+
* The length of time (in seconds) to wait for players to accept a proposed match, if acceptance is required.
|
|
79
|
+
*/
|
|
80
|
+
readonly acceptanceTimeoutSeconds: pulumi.Output<number | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* The number of player slots in a match to keep open for future players.
|
|
83
|
+
*/
|
|
84
|
+
readonly additionalPlayerCount: pulumi.Output<number | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* Matchmaking Configuration ARN.
|
|
87
|
+
*/
|
|
88
|
+
readonly arn: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The method used to backfill game sessions that are created with this matchmaking configuration.
|
|
91
|
+
*/
|
|
92
|
+
readonly backfillMode: pulumi.Output<string | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* The time when the Matchmaking Configuration was created.
|
|
95
|
+
*/
|
|
96
|
+
readonly creationTime: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Information to be added to all events related to this matchmaking configuration.
|
|
99
|
+
*/
|
|
100
|
+
readonly customEventData: pulumi.Output<string | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* A human-readable description of the matchmaking configuration.
|
|
103
|
+
*/
|
|
104
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Indicates whether this matchmaking configuration is being used with GameLift hosting or as a standalone matchmaking solution.
|
|
107
|
+
*/
|
|
108
|
+
readonly flexMatchMode: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* One or more custom game properties. See below.
|
|
111
|
+
*/
|
|
112
|
+
readonly gameProperties: pulumi.Output<outputs.gamelift.MatchmakingConfigurationGameProperty[] | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* A set of custom game session properties.
|
|
115
|
+
*/
|
|
116
|
+
readonly gameSessionData: pulumi.Output<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The ARNs of the GameLift game session queue resources.
|
|
119
|
+
*/
|
|
120
|
+
readonly gameSessionQueueArns: pulumi.Output<string[] | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* Name of the matchmaking configuration
|
|
123
|
+
*/
|
|
124
|
+
readonly name: pulumi.Output<string>;
|
|
125
|
+
/**
|
|
126
|
+
* An SNS topic ARN that is set up to receive matchmaking notifications.
|
|
127
|
+
*/
|
|
128
|
+
readonly notificationTarget: pulumi.Output<string | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* The maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out.
|
|
131
|
+
*/
|
|
132
|
+
readonly requestTimeoutSeconds: pulumi.Output<number>;
|
|
133
|
+
readonly ruleSetArn: pulumi.Output<string>;
|
|
134
|
+
/**
|
|
135
|
+
* A rule set names for the matchmaking rule set to use with this configuration.
|
|
136
|
+
*/
|
|
137
|
+
readonly ruleSetName: pulumi.Output<string>;
|
|
138
|
+
/**
|
|
139
|
+
* 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.
|
|
140
|
+
*/
|
|
141
|
+
readonly tags: pulumi.Output<{
|
|
142
|
+
[key: string]: string;
|
|
143
|
+
} | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
146
|
+
*/
|
|
147
|
+
readonly tagsAll: pulumi.Output<{
|
|
148
|
+
[key: string]: string;
|
|
149
|
+
}>;
|
|
150
|
+
/**
|
|
151
|
+
* Create a MatchmakingConfiguration resource with the given unique name, arguments, and options.
|
|
152
|
+
*
|
|
153
|
+
* @param name The _unique_ name of the resource.
|
|
154
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
155
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
156
|
+
*/
|
|
157
|
+
constructor(name: string, args: MatchmakingConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Input properties used for looking up and filtering MatchmakingConfiguration resources.
|
|
161
|
+
*/
|
|
162
|
+
export interface MatchmakingConfigurationState {
|
|
163
|
+
/**
|
|
164
|
+
* Specifies if the match that was created with this configuration must be accepted by matched players.
|
|
165
|
+
*/
|
|
166
|
+
acceptanceRequired?: pulumi.Input<boolean>;
|
|
167
|
+
/**
|
|
168
|
+
* The length of time (in seconds) to wait for players to accept a proposed match, if acceptance is required.
|
|
169
|
+
*/
|
|
170
|
+
acceptanceTimeoutSeconds?: pulumi.Input<number>;
|
|
171
|
+
/**
|
|
172
|
+
* The number of player slots in a match to keep open for future players.
|
|
173
|
+
*/
|
|
174
|
+
additionalPlayerCount?: pulumi.Input<number>;
|
|
175
|
+
/**
|
|
176
|
+
* Matchmaking Configuration ARN.
|
|
177
|
+
*/
|
|
178
|
+
arn?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* The method used to backfill game sessions that are created with this matchmaking configuration.
|
|
181
|
+
*/
|
|
182
|
+
backfillMode?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* The time when the Matchmaking Configuration was created.
|
|
185
|
+
*/
|
|
186
|
+
creationTime?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* Information to be added to all events related to this matchmaking configuration.
|
|
189
|
+
*/
|
|
190
|
+
customEventData?: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* A human-readable description of the matchmaking configuration.
|
|
193
|
+
*/
|
|
194
|
+
description?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* Indicates whether this matchmaking configuration is being used with GameLift hosting or as a standalone matchmaking solution.
|
|
197
|
+
*/
|
|
198
|
+
flexMatchMode?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* One or more custom game properties. See below.
|
|
201
|
+
*/
|
|
202
|
+
gameProperties?: pulumi.Input<pulumi.Input<inputs.gamelift.MatchmakingConfigurationGameProperty>[]>;
|
|
203
|
+
/**
|
|
204
|
+
* A set of custom game session properties.
|
|
205
|
+
*/
|
|
206
|
+
gameSessionData?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* The ARNs of the GameLift game session queue resources.
|
|
209
|
+
*/
|
|
210
|
+
gameSessionQueueArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
211
|
+
/**
|
|
212
|
+
* Name of the matchmaking configuration
|
|
213
|
+
*/
|
|
214
|
+
name?: pulumi.Input<string>;
|
|
215
|
+
/**
|
|
216
|
+
* An SNS topic ARN that is set up to receive matchmaking notifications.
|
|
217
|
+
*/
|
|
218
|
+
notificationTarget?: pulumi.Input<string>;
|
|
219
|
+
/**
|
|
220
|
+
* The maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out.
|
|
221
|
+
*/
|
|
222
|
+
requestTimeoutSeconds?: pulumi.Input<number>;
|
|
223
|
+
ruleSetArn?: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* A rule set names for the matchmaking rule set to use with this configuration.
|
|
226
|
+
*/
|
|
227
|
+
ruleSetName?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* 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.
|
|
230
|
+
*/
|
|
231
|
+
tags?: pulumi.Input<{
|
|
232
|
+
[key: string]: pulumi.Input<string>;
|
|
233
|
+
}>;
|
|
234
|
+
/**
|
|
235
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
236
|
+
*/
|
|
237
|
+
tagsAll?: pulumi.Input<{
|
|
238
|
+
[key: string]: pulumi.Input<string>;
|
|
239
|
+
}>;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* The set of arguments for constructing a MatchmakingConfiguration resource.
|
|
243
|
+
*/
|
|
244
|
+
export interface MatchmakingConfigurationArgs {
|
|
245
|
+
/**
|
|
246
|
+
* Specifies if the match that was created with this configuration must be accepted by matched players.
|
|
247
|
+
*/
|
|
248
|
+
acceptanceRequired: pulumi.Input<boolean>;
|
|
249
|
+
/**
|
|
250
|
+
* The length of time (in seconds) to wait for players to accept a proposed match, if acceptance is required.
|
|
251
|
+
*/
|
|
252
|
+
acceptanceTimeoutSeconds?: pulumi.Input<number>;
|
|
253
|
+
/**
|
|
254
|
+
* The number of player slots in a match to keep open for future players.
|
|
255
|
+
*/
|
|
256
|
+
additionalPlayerCount?: pulumi.Input<number>;
|
|
257
|
+
/**
|
|
258
|
+
* The method used to backfill game sessions that are created with this matchmaking configuration.
|
|
259
|
+
*/
|
|
260
|
+
backfillMode?: pulumi.Input<string>;
|
|
261
|
+
/**
|
|
262
|
+
* Information to be added to all events related to this matchmaking configuration.
|
|
263
|
+
*/
|
|
264
|
+
customEventData?: pulumi.Input<string>;
|
|
265
|
+
/**
|
|
266
|
+
* A human-readable description of the matchmaking configuration.
|
|
267
|
+
*/
|
|
268
|
+
description?: pulumi.Input<string>;
|
|
269
|
+
/**
|
|
270
|
+
* Indicates whether this matchmaking configuration is being used with GameLift hosting or as a standalone matchmaking solution.
|
|
271
|
+
*/
|
|
272
|
+
flexMatchMode?: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* One or more custom game properties. See below.
|
|
275
|
+
*/
|
|
276
|
+
gameProperties?: pulumi.Input<pulumi.Input<inputs.gamelift.MatchmakingConfigurationGameProperty>[]>;
|
|
277
|
+
/**
|
|
278
|
+
* A set of custom game session properties.
|
|
279
|
+
*/
|
|
280
|
+
gameSessionData: pulumi.Input<string>;
|
|
281
|
+
/**
|
|
282
|
+
* The ARNs of the GameLift game session queue resources.
|
|
283
|
+
*/
|
|
284
|
+
gameSessionQueueArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
285
|
+
/**
|
|
286
|
+
* Name of the matchmaking configuration
|
|
287
|
+
*/
|
|
288
|
+
name?: pulumi.Input<string>;
|
|
289
|
+
/**
|
|
290
|
+
* An SNS topic ARN that is set up to receive matchmaking notifications.
|
|
291
|
+
*/
|
|
292
|
+
notificationTarget?: pulumi.Input<string>;
|
|
293
|
+
/**
|
|
294
|
+
* The maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out.
|
|
295
|
+
*/
|
|
296
|
+
requestTimeoutSeconds: pulumi.Input<number>;
|
|
297
|
+
/**
|
|
298
|
+
* A rule set names for the matchmaking rule set to use with this configuration.
|
|
299
|
+
*/
|
|
300
|
+
ruleSetName: pulumi.Input<string>;
|
|
301
|
+
/**
|
|
302
|
+
* 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.
|
|
303
|
+
*/
|
|
304
|
+
tags?: pulumi.Input<{
|
|
305
|
+
[key: string]: pulumi.Input<string>;
|
|
306
|
+
}>;
|
|
307
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
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.MatchmakingConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a GameLift Alias resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const exampleGameSessionQueue = new aws.gamelift.GameSessionQueue("exampleGameSessionQueue", {
|
|
18
|
+
* destinations: [],
|
|
19
|
+
* playerLatencyPolicies: [
|
|
20
|
+
* {
|
|
21
|
+
* maximumIndividualPlayerLatencyMilliseconds: 3,
|
|
22
|
+
* policyDurationSeconds: 7,
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
25
|
+
* maximumIndividualPlayerLatencyMilliseconds: 10,
|
|
26
|
+
* },
|
|
27
|
+
* ],
|
|
28
|
+
* timeoutInSeconds: 25,
|
|
29
|
+
* });
|
|
30
|
+
* const exampleMatchmakingRuleSet = new aws.gamelift.MatchmakingRuleSet("exampleMatchmakingRuleSet", {ruleSetBody: JSON.stringify({
|
|
31
|
+
* name: "test",
|
|
32
|
+
* ruleLanguageVersion: "1.0",
|
|
33
|
+
* teams: [{
|
|
34
|
+
* name: "alpha",
|
|
35
|
+
* minPlayers: 1,
|
|
36
|
+
* maxPlayers: 5,
|
|
37
|
+
* }],
|
|
38
|
+
* })});
|
|
39
|
+
* const exampleMatchmakingConfiguration = new aws.gamelift.MatchmakingConfiguration("exampleMatchmakingConfiguration", {
|
|
40
|
+
* acceptanceRequired: false,
|
|
41
|
+
* customEventData: "pvp",
|
|
42
|
+
* gameSessionData: "game_session_data",
|
|
43
|
+
* backfillMode: "MANUAL",
|
|
44
|
+
* requestTimeoutSeconds: 30,
|
|
45
|
+
* ruleSetName: aws_gamelift_matchmaking_rule_set.test.name,
|
|
46
|
+
* gameSessionQueueArns: [aws_gamelift_game_session_queue.test.arn],
|
|
47
|
+
* tags: {
|
|
48
|
+
* key1: "value1",
|
|
49
|
+
* },
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ## Import
|
|
54
|
+
*
|
|
55
|
+
* GameLift Matchmaking Configurations can be imported using the ID, e.g.,
|
|
56
|
+
*
|
|
57
|
+
* ```sh
|
|
58
|
+
* $ pulumi import aws:gamelift/matchmakingConfiguration:MatchmakingConfiguration example <matchmakingconfiguration-id>
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
class MatchmakingConfiguration extends pulumi.CustomResource {
|
|
62
|
+
/**
|
|
63
|
+
* Get an existing MatchmakingConfiguration resource's state with the given name, ID, and optional extra
|
|
64
|
+
* properties used to qualify the lookup.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resulting resource.
|
|
67
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
68
|
+
* @param state Any extra arguments used during the lookup.
|
|
69
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
70
|
+
*/
|
|
71
|
+
static get(name, id, state, opts) {
|
|
72
|
+
return new MatchmakingConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if the given object is an instance of MatchmakingConfiguration. This is designed to work even
|
|
76
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
77
|
+
*/
|
|
78
|
+
static isInstance(obj) {
|
|
79
|
+
if (obj === undefined || obj === null) {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
return obj['__pulumiType'] === MatchmakingConfiguration.__pulumiType;
|
|
83
|
+
}
|
|
84
|
+
constructor(name, argsOrState, opts) {
|
|
85
|
+
let resourceInputs = {};
|
|
86
|
+
opts = opts || {};
|
|
87
|
+
if (opts.id) {
|
|
88
|
+
const state = argsOrState;
|
|
89
|
+
resourceInputs["acceptanceRequired"] = state ? state.acceptanceRequired : undefined;
|
|
90
|
+
resourceInputs["acceptanceTimeoutSeconds"] = state ? state.acceptanceTimeoutSeconds : undefined;
|
|
91
|
+
resourceInputs["additionalPlayerCount"] = state ? state.additionalPlayerCount : undefined;
|
|
92
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
93
|
+
resourceInputs["backfillMode"] = state ? state.backfillMode : undefined;
|
|
94
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
95
|
+
resourceInputs["customEventData"] = state ? state.customEventData : undefined;
|
|
96
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
97
|
+
resourceInputs["flexMatchMode"] = state ? state.flexMatchMode : undefined;
|
|
98
|
+
resourceInputs["gameProperties"] = state ? state.gameProperties : undefined;
|
|
99
|
+
resourceInputs["gameSessionData"] = state ? state.gameSessionData : undefined;
|
|
100
|
+
resourceInputs["gameSessionQueueArns"] = state ? state.gameSessionQueueArns : undefined;
|
|
101
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
102
|
+
resourceInputs["notificationTarget"] = state ? state.notificationTarget : undefined;
|
|
103
|
+
resourceInputs["requestTimeoutSeconds"] = state ? state.requestTimeoutSeconds : undefined;
|
|
104
|
+
resourceInputs["ruleSetArn"] = state ? state.ruleSetArn : undefined;
|
|
105
|
+
resourceInputs["ruleSetName"] = state ? state.ruleSetName : undefined;
|
|
106
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
107
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
const args = argsOrState;
|
|
111
|
+
if ((!args || args.acceptanceRequired === undefined) && !opts.urn) {
|
|
112
|
+
throw new Error("Missing required property 'acceptanceRequired'");
|
|
113
|
+
}
|
|
114
|
+
if ((!args || args.gameSessionData === undefined) && !opts.urn) {
|
|
115
|
+
throw new Error("Missing required property 'gameSessionData'");
|
|
116
|
+
}
|
|
117
|
+
if ((!args || args.requestTimeoutSeconds === undefined) && !opts.urn) {
|
|
118
|
+
throw new Error("Missing required property 'requestTimeoutSeconds'");
|
|
119
|
+
}
|
|
120
|
+
if ((!args || args.ruleSetName === undefined) && !opts.urn) {
|
|
121
|
+
throw new Error("Missing required property 'ruleSetName'");
|
|
122
|
+
}
|
|
123
|
+
resourceInputs["acceptanceRequired"] = args ? args.acceptanceRequired : undefined;
|
|
124
|
+
resourceInputs["acceptanceTimeoutSeconds"] = args ? args.acceptanceTimeoutSeconds : undefined;
|
|
125
|
+
resourceInputs["additionalPlayerCount"] = args ? args.additionalPlayerCount : undefined;
|
|
126
|
+
resourceInputs["backfillMode"] = args ? args.backfillMode : undefined;
|
|
127
|
+
resourceInputs["customEventData"] = args ? args.customEventData : undefined;
|
|
128
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
129
|
+
resourceInputs["flexMatchMode"] = args ? args.flexMatchMode : undefined;
|
|
130
|
+
resourceInputs["gameProperties"] = args ? args.gameProperties : undefined;
|
|
131
|
+
resourceInputs["gameSessionData"] = args ? args.gameSessionData : undefined;
|
|
132
|
+
resourceInputs["gameSessionQueueArns"] = args ? args.gameSessionQueueArns : undefined;
|
|
133
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
134
|
+
resourceInputs["notificationTarget"] = args ? args.notificationTarget : undefined;
|
|
135
|
+
resourceInputs["requestTimeoutSeconds"] = args ? args.requestTimeoutSeconds : undefined;
|
|
136
|
+
resourceInputs["ruleSetName"] = args ? args.ruleSetName : undefined;
|
|
137
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
138
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
139
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
140
|
+
resourceInputs["ruleSetArn"] = undefined /*out*/;
|
|
141
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
142
|
+
}
|
|
143
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
144
|
+
super(MatchmakingConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
exports.MatchmakingConfiguration = MatchmakingConfiguration;
|
|
148
|
+
/** @internal */
|
|
149
|
+
MatchmakingConfiguration.__pulumiType = 'aws:gamelift/matchmakingConfiguration:MatchmakingConfiguration';
|
|
150
|
+
//# sourceMappingURL=matchmakingConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"matchmakingConfiguration.js","sourceRoot":"","sources":["../../gamelift/matchmakingConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,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C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,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,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA1KL,4DA2KC;AA7JG,gBAAgB;AACO,qCAAY,GAAG,gEAAgE,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a GameLift Matchmaking Rule Set resources.
|
|
4
|
+
*
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* GameLift Matchmaking Rule Sets
|
|
8
|
+
*
|
|
9
|
+
* can be imported using the ID, e.g.,
|
|
10
|
+
*
|
|
11
|
+
* ```sh
|
|
12
|
+
* $ pulumi import aws:gamelift/matchmakingRuleSet:MatchmakingRuleSet example <ruleset-id>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class MatchmakingRuleSet extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing MatchmakingRuleSet resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param state Any extra arguments used during the lookup.
|
|
23
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
+
*/
|
|
25
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MatchmakingRuleSetState, opts?: pulumi.CustomResourceOptions): MatchmakingRuleSet;
|
|
26
|
+
/**
|
|
27
|
+
* Returns true if the given object is an instance of MatchmakingRuleSet. This is designed to work even
|
|
28
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
+
*/
|
|
30
|
+
static isInstance(obj: any): obj is MatchmakingRuleSet;
|
|
31
|
+
/**
|
|
32
|
+
* Rule Set ARN.
|
|
33
|
+
*/
|
|
34
|
+
readonly arn: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Name of the matchmaking rule set.
|
|
37
|
+
*/
|
|
38
|
+
readonly name: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* JSON encoded string containing rule set data.
|
|
41
|
+
*/
|
|
42
|
+
readonly ruleSetBody: pulumi.Output<string>;
|
|
43
|
+
readonly tags: pulumi.Output<{
|
|
44
|
+
[key: string]: string;
|
|
45
|
+
} | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
48
|
+
*/
|
|
49
|
+
readonly tagsAll: pulumi.Output<{
|
|
50
|
+
[key: string]: string;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Create a MatchmakingRuleSet resource with the given unique name, arguments, and options.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resource.
|
|
56
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
57
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
58
|
+
*/
|
|
59
|
+
constructor(name: string, args: MatchmakingRuleSetArgs, opts?: pulumi.CustomResourceOptions);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Input properties used for looking up and filtering MatchmakingRuleSet resources.
|
|
63
|
+
*/
|
|
64
|
+
export interface MatchmakingRuleSetState {
|
|
65
|
+
/**
|
|
66
|
+
* Rule Set ARN.
|
|
67
|
+
*/
|
|
68
|
+
arn?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Name of the matchmaking rule set.
|
|
71
|
+
*/
|
|
72
|
+
name?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* JSON encoded string containing rule set data.
|
|
75
|
+
*/
|
|
76
|
+
ruleSetBody?: pulumi.Input<string>;
|
|
77
|
+
tags?: pulumi.Input<{
|
|
78
|
+
[key: string]: pulumi.Input<string>;
|
|
79
|
+
}>;
|
|
80
|
+
/**
|
|
81
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
82
|
+
*/
|
|
83
|
+
tagsAll?: pulumi.Input<{
|
|
84
|
+
[key: string]: pulumi.Input<string>;
|
|
85
|
+
}>;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The set of arguments for constructing a MatchmakingRuleSet resource.
|
|
89
|
+
*/
|
|
90
|
+
export interface MatchmakingRuleSetArgs {
|
|
91
|
+
/**
|
|
92
|
+
* Name of the matchmaking rule set.
|
|
93
|
+
*/
|
|
94
|
+
name?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* JSON encoded string containing rule set data.
|
|
97
|
+
*/
|
|
98
|
+
ruleSetBody: pulumi.Input<string>;
|
|
99
|
+
tags?: pulumi.Input<{
|
|
100
|
+
[key: string]: pulumi.Input<string>;
|
|
101
|
+
}>;
|
|
102
|
+
}
|