@pulumi/aws 5.39.0 → 5.40.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 (145) hide show
  1. package/apigateway/apiKey.d.ts +6 -6
  2. package/apigateway/getAuthorizer.d.ts +106 -0
  3. package/apigateway/getAuthorizer.js +50 -0
  4. package/apigateway/getAuthorizer.js.map +1 -0
  5. package/apigateway/getAuthorizers.d.ts +63 -0
  6. package/apigateway/getAuthorizers.js +47 -0
  7. package/apigateway/getAuthorizers.js.map +1 -0
  8. package/apigateway/index.d.ts +6 -0
  9. package/apigateway/index.js +7 -1
  10. package/apigateway/index.js.map +1 -1
  11. package/appstream/stack.d.ts +15 -0
  12. package/appstream/stack.js +2 -0
  13. package/appstream/stack.js.map +1 -1
  14. package/cfg/index.d.ts +3 -0
  15. package/cfg/index.js +6 -1
  16. package/cfg/index.js.map +1 -1
  17. package/cfg/organizationCustomPolicyRule.d.ts +241 -0
  18. package/cfg/organizationCustomPolicyRule.js +125 -0
  19. package/cfg/organizationCustomPolicyRule.js.map +1 -0
  20. package/chime/voiceConnectorStreaming.d.ts +61 -0
  21. package/chime/voiceConnectorStreaming.js +49 -0
  22. package/chime/voiceConnectorStreaming.js.map +1 -1
  23. package/cloudwatch/index.d.ts +3 -0
  24. package/cloudwatch/index.js +6 -1
  25. package/cloudwatch/index.js.map +1 -1
  26. package/cloudwatch/internetMonitor.d.ts +174 -0
  27. package/cloudwatch/internetMonitor.js +88 -0
  28. package/cloudwatch/internetMonitor.js.map +1 -0
  29. package/codestarconnections/connection.d.ts +1 -1
  30. package/codestarconnections/connection.js +1 -1
  31. package/directconnect/connection.d.ts +1 -0
  32. package/directconnect/connection.js +1 -0
  33. package/directconnect/connection.js.map +1 -1
  34. package/directoryservice/radiusSettings.d.ts +1 -0
  35. package/directoryservice/radiusSettings.js +1 -0
  36. package/directoryservice/radiusSettings.js.map +1 -1
  37. package/dms/getReplicationSubnetGroup.d.ts +84 -0
  38. package/dms/getReplicationSubnetGroup.js +50 -0
  39. package/dms/getReplicationSubnetGroup.js.map +1 -0
  40. package/dms/getReplicationTask.d.ts +114 -0
  41. package/dms/getReplicationTask.js +50 -0
  42. package/dms/getReplicationTask.js.map +1 -0
  43. package/dms/index.d.ts +6 -0
  44. package/dms/index.js +7 -1
  45. package/dms/index.js.map +1 -1
  46. package/dms/s3endpoint.d.ts +3 -3
  47. package/docdb/cluster.d.ts +15 -15
  48. package/docdb/cluster.js +3 -3
  49. package/docdb/clusterInstance.d.ts +21 -18
  50. package/docdb/clusterInstance.js +6 -6
  51. package/docdb/clusterInstance.js.map +1 -1
  52. package/docdb/clusterParameterGroup.d.ts +14 -14
  53. package/docdb/clusterSnapshot.d.ts +20 -20
  54. package/docdb/clusterSnapshot.js +1 -1
  55. package/docdb/eventSubscription.d.ts +12 -12
  56. package/docdb/eventSubscription.js +2 -2
  57. package/dynamodb/getTableItem.d.ts +1 -1
  58. package/ec2/getAmiIds.d.ts +13 -0
  59. package/ec2/getAmiIds.js +1 -0
  60. package/ec2/getAmiIds.js.map +1 -1
  61. package/ec2/getLaunchConfiguration.d.ts +4 -0
  62. package/ec2/getLaunchConfiguration.js.map +1 -1
  63. package/elasticache/getCluster.d.ts +2 -0
  64. package/elasticache/getCluster.js.map +1 -1
  65. package/elasticsearch/domain.d.ts +1 -1
  66. package/elasticsearch/domain.js +1 -1
  67. package/fsx/fileCache.d.ts +1 -0
  68. package/fsx/fileCache.js +1 -0
  69. package/fsx/fileCache.js.map +1 -1
  70. package/gamelift/gameSessionQueue.d.ts +12 -0
  71. package/gamelift/gameSessionQueue.js +2 -0
  72. package/gamelift/gameSessionQueue.js.map +1 -1
  73. package/getAmiIds.d.ts +13 -0
  74. package/getAmiIds.js +1 -0
  75. package/getAmiIds.js.map +1 -1
  76. package/guardduty/detector.d.ts +2 -0
  77. package/guardduty/detector.js +2 -0
  78. package/guardduty/detector.js.map +1 -1
  79. package/index.d.ts +2 -1
  80. package/index.js +3 -1
  81. package/index.js.map +1 -1
  82. package/kinesis/firehoseDeliveryStream.d.ts +1 -0
  83. package/kinesis/firehoseDeliveryStream.js +1 -0
  84. package/kinesis/firehoseDeliveryStream.js.map +1 -1
  85. package/kms/key.d.ts +1 -0
  86. package/kms/key.js +1 -0
  87. package/kms/key.js.map +1 -1
  88. package/package.json +2 -2
  89. package/package.json.dev +2 -2
  90. package/rds/getInstance.d.ts +2 -0
  91. package/rds/getInstance.js.map +1 -1
  92. package/rds/subnetGroup.d.ts +8 -0
  93. package/rds/subnetGroup.js +2 -0
  94. package/rds/subnetGroup.js.map +1 -1
  95. package/redshift/getCluster.d.ts +2 -0
  96. package/redshift/getCluster.js.map +1 -1
  97. package/s3/getObject.d.ts +2 -2
  98. package/s3/getObject.js +2 -2
  99. package/s3outposts/endpoint.d.ts +24 -0
  100. package/s3outposts/endpoint.js +4 -0
  101. package/s3outposts/endpoint.js.map +1 -1
  102. package/ssmcontacts/contact.d.ts +162 -0
  103. package/ssmcontacts/contact.js +108 -0
  104. package/ssmcontacts/contact.js.map +1 -0
  105. package/ssmcontacts/contactChannel.d.ts +147 -0
  106. package/ssmcontacts/contactChannel.js +113 -0
  107. package/ssmcontacts/contactChannel.js.map +1 -0
  108. package/ssmcontacts/getContact.d.ts +91 -0
  109. package/ssmcontacts/getContact.js +50 -0
  110. package/ssmcontacts/getContact.js.map +1 -0
  111. package/ssmcontacts/getContactChannel.d.ts +82 -0
  112. package/ssmcontacts/getContactChannel.js +49 -0
  113. package/ssmcontacts/getContactChannel.js.map +1 -0
  114. package/ssmcontacts/getPlan.d.ts +66 -0
  115. package/ssmcontacts/getPlan.js +49 -0
  116. package/ssmcontacts/getPlan.js.map +1 -0
  117. package/ssmcontacts/index.d.ts +18 -0
  118. package/ssmcontacts/index.js +41 -0
  119. package/ssmcontacts/index.js.map +1 -0
  120. package/ssmcontacts/plan.d.ts +144 -0
  121. package/ssmcontacts/plan.js +139 -0
  122. package/ssmcontacts/plan.js.map +1 -0
  123. package/ssmincidents/getResponsePlan.d.ts +85 -0
  124. package/ssmincidents/getResponsePlan.js +30 -0
  125. package/ssmincidents/getResponsePlan.js.map +1 -0
  126. package/ssmincidents/index.d.ts +6 -0
  127. package/ssmincidents/index.js +9 -1
  128. package/ssmincidents/index.js.map +1 -1
  129. package/ssmincidents/responsePlan.d.ts +254 -0
  130. package/ssmincidents/responsePlan.js +167 -0
  131. package/ssmincidents/responsePlan.js.map +1 -0
  132. package/synthetics/group.d.ts +121 -0
  133. package/synthetics/group.js +78 -0
  134. package/synthetics/group.js.map +1 -0
  135. package/synthetics/groupAssociation.d.ts +94 -0
  136. package/synthetics/groupAssociation.js +85 -0
  137. package/synthetics/groupAssociation.js.map +1 -0
  138. package/synthetics/index.d.ts +6 -0
  139. package/synthetics/index.js +11 -1
  140. package/synthetics/index.js.map +1 -1
  141. package/types/input.d.ts +186 -9
  142. package/types/output.d.ts +333 -10
  143. package/wafv2/webAcl.d.ts +13 -0
  144. package/wafv2/webAcl.js +3 -0
  145. package/wafv2/webAcl.js.map +1 -1
@@ -0,0 +1,254 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides a TODO resource to manage response plans in AWS Systems Manager Incident Manager.
6
+ *
7
+ * ## Example Usage
8
+ * ### Basic Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as aws from "@pulumi/aws";
13
+ *
14
+ * const example = new aws.ssmincidents.ResponsePlan("example", {
15
+ * incidentTemplate: {
16
+ * title: "title",
17
+ * impact: 3,
18
+ * },
19
+ * tags: {
20
+ * key: "value",
21
+ * },
22
+ * }, {
23
+ * dependsOn: [aws_ssmincidents_replication_set.example],
24
+ * });
25
+ * ```
26
+ * ### Usage With All Fields
27
+ *
28
+ * ```typescript
29
+ * import * as pulumi from "@pulumi/pulumi";
30
+ * import * as aws from "@pulumi/aws";
31
+ *
32
+ * const example = new aws.ssmincidents.ResponsePlan("example", {
33
+ * incidentTemplate: {
34
+ * title: "title",
35
+ * impact: 3,
36
+ * dedupeString: "dedupe",
37
+ * incidentTags: {
38
+ * key: "value",
39
+ * },
40
+ * notificationTargets: [
41
+ * {
42
+ * snsTopicArn: aws_sns_topic.example1.arn,
43
+ * },
44
+ * {
45
+ * snsTopicArn: aws_sns_topic.example2.arn,
46
+ * },
47
+ * ],
48
+ * summary: "summary",
49
+ * },
50
+ * displayName: "display name",
51
+ * chatChannels: [aws_sns_topic.topic.arn],
52
+ * engagements: ["arn:aws:ssm-contacts:us-east-2:111122223333:contact/test1"],
53
+ * action: {
54
+ * ssmAutomations: [{
55
+ * documentName: aws_ssm_document.document1.name,
56
+ * roleArn: aws_iam_role.role1.arn,
57
+ * documentVersion: "version1",
58
+ * targetAccount: "RESPONSE_PLAN_OWNER_ACCOUNT",
59
+ * parameters: [
60
+ * {
61
+ * name: "key",
62
+ * values: [
63
+ * "value1",
64
+ * "value2",
65
+ * ],
66
+ * },
67
+ * {
68
+ * name: "foo",
69
+ * values: ["bar"],
70
+ * },
71
+ * ],
72
+ * dynamicParameters: {
73
+ * someKey: "INVOLVED_RESOURCES",
74
+ * anotherKey: "INCIDENT_RECORD_ARN",
75
+ * },
76
+ * }],
77
+ * },
78
+ * integration: {
79
+ * pagerduties: [{
80
+ * name: "pagerdutyIntergration",
81
+ * serviceId: "example",
82
+ * secretId: "example",
83
+ * }],
84
+ * },
85
+ * tags: {
86
+ * key: "value",
87
+ * },
88
+ * }, {
89
+ * dependsOn: [aws_ssmincidents_replication_set.example],
90
+ * });
91
+ * ```
92
+ *
93
+ * ## Import
94
+ *
95
+ * To import an Incident Manager response plan, specify the response plan ARN. You can find the response plan ARN in the AWS Management Console. Use the following command to run the import operation
96
+ *
97
+ * ```sh
98
+ * $ pulumi import aws:ssmincidents/responsePlan:ResponsePlan responsePlanName ARNValue
99
+ * ```
100
+ */
101
+ export declare class ResponsePlan extends pulumi.CustomResource {
102
+ /**
103
+ * Get an existing ResponsePlan resource's state with the given name, ID, and optional extra
104
+ * properties used to qualify the lookup.
105
+ *
106
+ * @param name The _unique_ name of the resulting resource.
107
+ * @param id The _unique_ provider ID of the resource to lookup.
108
+ * @param state Any extra arguments used during the lookup.
109
+ * @param opts Optional settings to control the behavior of the CustomResource.
110
+ */
111
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResponsePlanState, opts?: pulumi.CustomResourceOptions): ResponsePlan;
112
+ /**
113
+ * Returns true if the given object is an instance of ResponsePlan. This is designed to work even
114
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
115
+ */
116
+ static isInstance(obj: any): obj is ResponsePlan;
117
+ /**
118
+ * The actions that the response plan starts at the beginning of an incident.
119
+ */
120
+ readonly action: pulumi.Output<outputs.ssmincidents.ResponsePlanAction | undefined>;
121
+ /**
122
+ * The ARN of the response plan.
123
+ */
124
+ readonly arn: pulumi.Output<string>;
125
+ /**
126
+ * The Chatbot chat channel used for collaboration during an incident.
127
+ */
128
+ readonly chatChannels: pulumi.Output<string[] | undefined>;
129
+ /**
130
+ * The long format of the response plan name. This field can contain spaces.
131
+ */
132
+ readonly displayName: pulumi.Output<string | undefined>;
133
+ /**
134
+ * The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
135
+ */
136
+ readonly engagements: pulumi.Output<string[] | undefined>;
137
+ readonly incidentTemplate: pulumi.Output<outputs.ssmincidents.ResponsePlanIncidentTemplate>;
138
+ /**
139
+ * Information about third-party services integrated into the response plan. The following values are supported:
140
+ */
141
+ readonly integration: pulumi.Output<outputs.ssmincidents.ResponsePlanIntegration | undefined>;
142
+ /**
143
+ * The name of the response plan.
144
+ */
145
+ readonly name: pulumi.Output<string>;
146
+ /**
147
+ * The tags applied to the response plan.
148
+ */
149
+ readonly tags: pulumi.Output<{
150
+ [key: string]: string;
151
+ } | undefined>;
152
+ /**
153
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
154
+ */
155
+ readonly tagsAll: pulumi.Output<{
156
+ [key: string]: string;
157
+ }>;
158
+ /**
159
+ * Create a ResponsePlan resource with the given unique name, arguments, and options.
160
+ *
161
+ * @param name The _unique_ name of the resource.
162
+ * @param args The arguments to use to populate this resource's properties.
163
+ * @param opts A bag of options that control this resource's behavior.
164
+ */
165
+ constructor(name: string, args: ResponsePlanArgs, opts?: pulumi.CustomResourceOptions);
166
+ }
167
+ /**
168
+ * Input properties used for looking up and filtering ResponsePlan resources.
169
+ */
170
+ export interface ResponsePlanState {
171
+ /**
172
+ * The actions that the response plan starts at the beginning of an incident.
173
+ */
174
+ action?: pulumi.Input<inputs.ssmincidents.ResponsePlanAction>;
175
+ /**
176
+ * The ARN of the response plan.
177
+ */
178
+ arn?: pulumi.Input<string>;
179
+ /**
180
+ * The Chatbot chat channel used for collaboration during an incident.
181
+ */
182
+ chatChannels?: pulumi.Input<pulumi.Input<string>[]>;
183
+ /**
184
+ * The long format of the response plan name. This field can contain spaces.
185
+ */
186
+ displayName?: pulumi.Input<string>;
187
+ /**
188
+ * The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
189
+ */
190
+ engagements?: pulumi.Input<pulumi.Input<string>[]>;
191
+ incidentTemplate?: pulumi.Input<inputs.ssmincidents.ResponsePlanIncidentTemplate>;
192
+ /**
193
+ * Information about third-party services integrated into the response plan. The following values are supported:
194
+ */
195
+ integration?: pulumi.Input<inputs.ssmincidents.ResponsePlanIntegration>;
196
+ /**
197
+ * The name of the response plan.
198
+ */
199
+ name?: pulumi.Input<string>;
200
+ /**
201
+ * The tags applied to the response plan.
202
+ */
203
+ tags?: pulumi.Input<{
204
+ [key: string]: pulumi.Input<string>;
205
+ }>;
206
+ /**
207
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
208
+ */
209
+ tagsAll?: pulumi.Input<{
210
+ [key: string]: pulumi.Input<string>;
211
+ }>;
212
+ }
213
+ /**
214
+ * The set of arguments for constructing a ResponsePlan resource.
215
+ */
216
+ export interface ResponsePlanArgs {
217
+ /**
218
+ * The actions that the response plan starts at the beginning of an incident.
219
+ */
220
+ action?: pulumi.Input<inputs.ssmincidents.ResponsePlanAction>;
221
+ /**
222
+ * The Chatbot chat channel used for collaboration during an incident.
223
+ */
224
+ chatChannels?: pulumi.Input<pulumi.Input<string>[]>;
225
+ /**
226
+ * The long format of the response plan name. This field can contain spaces.
227
+ */
228
+ displayName?: pulumi.Input<string>;
229
+ /**
230
+ * The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
231
+ */
232
+ engagements?: pulumi.Input<pulumi.Input<string>[]>;
233
+ incidentTemplate: pulumi.Input<inputs.ssmincidents.ResponsePlanIncidentTemplate>;
234
+ /**
235
+ * Information about third-party services integrated into the response plan. The following values are supported:
236
+ */
237
+ integration?: pulumi.Input<inputs.ssmincidents.ResponsePlanIntegration>;
238
+ /**
239
+ * The name of the response plan.
240
+ */
241
+ name?: pulumi.Input<string>;
242
+ /**
243
+ * The tags applied to the response plan.
244
+ */
245
+ tags?: pulumi.Input<{
246
+ [key: string]: pulumi.Input<string>;
247
+ }>;
248
+ /**
249
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
250
+ */
251
+ tagsAll?: pulumi.Input<{
252
+ [key: string]: pulumi.Input<string>;
253
+ }>;
254
+ }
@@ -0,0 +1,167 @@
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.ResponsePlan = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a TODO resource to manage response plans in AWS Systems Manager Incident Manager.
10
+ *
11
+ * ## Example Usage
12
+ * ### Basic Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const example = new aws.ssmincidents.ResponsePlan("example", {
19
+ * incidentTemplate: {
20
+ * title: "title",
21
+ * impact: 3,
22
+ * },
23
+ * tags: {
24
+ * key: "value",
25
+ * },
26
+ * }, {
27
+ * dependsOn: [aws_ssmincidents_replication_set.example],
28
+ * });
29
+ * ```
30
+ * ### Usage With All Fields
31
+ *
32
+ * ```typescript
33
+ * import * as pulumi from "@pulumi/pulumi";
34
+ * import * as aws from "@pulumi/aws";
35
+ *
36
+ * const example = new aws.ssmincidents.ResponsePlan("example", {
37
+ * incidentTemplate: {
38
+ * title: "title",
39
+ * impact: 3,
40
+ * dedupeString: "dedupe",
41
+ * incidentTags: {
42
+ * key: "value",
43
+ * },
44
+ * notificationTargets: [
45
+ * {
46
+ * snsTopicArn: aws_sns_topic.example1.arn,
47
+ * },
48
+ * {
49
+ * snsTopicArn: aws_sns_topic.example2.arn,
50
+ * },
51
+ * ],
52
+ * summary: "summary",
53
+ * },
54
+ * displayName: "display name",
55
+ * chatChannels: [aws_sns_topic.topic.arn],
56
+ * engagements: ["arn:aws:ssm-contacts:us-east-2:111122223333:contact/test1"],
57
+ * action: {
58
+ * ssmAutomations: [{
59
+ * documentName: aws_ssm_document.document1.name,
60
+ * roleArn: aws_iam_role.role1.arn,
61
+ * documentVersion: "version1",
62
+ * targetAccount: "RESPONSE_PLAN_OWNER_ACCOUNT",
63
+ * parameters: [
64
+ * {
65
+ * name: "key",
66
+ * values: [
67
+ * "value1",
68
+ * "value2",
69
+ * ],
70
+ * },
71
+ * {
72
+ * name: "foo",
73
+ * values: ["bar"],
74
+ * },
75
+ * ],
76
+ * dynamicParameters: {
77
+ * someKey: "INVOLVED_RESOURCES",
78
+ * anotherKey: "INCIDENT_RECORD_ARN",
79
+ * },
80
+ * }],
81
+ * },
82
+ * integration: {
83
+ * pagerduties: [{
84
+ * name: "pagerdutyIntergration",
85
+ * serviceId: "example",
86
+ * secretId: "example",
87
+ * }],
88
+ * },
89
+ * tags: {
90
+ * key: "value",
91
+ * },
92
+ * }, {
93
+ * dependsOn: [aws_ssmincidents_replication_set.example],
94
+ * });
95
+ * ```
96
+ *
97
+ * ## Import
98
+ *
99
+ * To import an Incident Manager response plan, specify the response plan ARN. You can find the response plan ARN in the AWS Management Console. Use the following command to run the import operation
100
+ *
101
+ * ```sh
102
+ * $ pulumi import aws:ssmincidents/responsePlan:ResponsePlan responsePlanName ARNValue
103
+ * ```
104
+ */
105
+ class ResponsePlan extends pulumi.CustomResource {
106
+ /**
107
+ * Get an existing ResponsePlan resource's state with the given name, ID, and optional extra
108
+ * properties used to qualify the lookup.
109
+ *
110
+ * @param name The _unique_ name of the resulting resource.
111
+ * @param id The _unique_ provider ID of the resource to lookup.
112
+ * @param state Any extra arguments used during the lookup.
113
+ * @param opts Optional settings to control the behavior of the CustomResource.
114
+ */
115
+ static get(name, id, state, opts) {
116
+ return new ResponsePlan(name, state, Object.assign(Object.assign({}, opts), { id: id }));
117
+ }
118
+ /**
119
+ * Returns true if the given object is an instance of ResponsePlan. This is designed to work even
120
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
121
+ */
122
+ static isInstance(obj) {
123
+ if (obj === undefined || obj === null) {
124
+ return false;
125
+ }
126
+ return obj['__pulumiType'] === ResponsePlan.__pulumiType;
127
+ }
128
+ constructor(name, argsOrState, opts) {
129
+ let resourceInputs = {};
130
+ opts = opts || {};
131
+ if (opts.id) {
132
+ const state = argsOrState;
133
+ resourceInputs["action"] = state ? state.action : undefined;
134
+ resourceInputs["arn"] = state ? state.arn : undefined;
135
+ resourceInputs["chatChannels"] = state ? state.chatChannels : undefined;
136
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
137
+ resourceInputs["engagements"] = state ? state.engagements : undefined;
138
+ resourceInputs["incidentTemplate"] = state ? state.incidentTemplate : undefined;
139
+ resourceInputs["integration"] = state ? state.integration : undefined;
140
+ resourceInputs["name"] = state ? state.name : undefined;
141
+ resourceInputs["tags"] = state ? state.tags : undefined;
142
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
143
+ }
144
+ else {
145
+ const args = argsOrState;
146
+ if ((!args || args.incidentTemplate === undefined) && !opts.urn) {
147
+ throw new Error("Missing required property 'incidentTemplate'");
148
+ }
149
+ resourceInputs["action"] = args ? args.action : undefined;
150
+ resourceInputs["chatChannels"] = args ? args.chatChannels : undefined;
151
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
152
+ resourceInputs["engagements"] = args ? args.engagements : undefined;
153
+ resourceInputs["incidentTemplate"] = args ? args.incidentTemplate : undefined;
154
+ resourceInputs["integration"] = args ? args.integration : undefined;
155
+ resourceInputs["name"] = args ? args.name : undefined;
156
+ resourceInputs["tags"] = args ? args.tags : undefined;
157
+ resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
158
+ resourceInputs["arn"] = undefined /*out*/;
159
+ }
160
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
161
+ super(ResponsePlan.__pulumiType, name, resourceInputs, opts);
162
+ }
163
+ }
164
+ exports.ResponsePlan = ResponsePlan;
165
+ /** @internal */
166
+ ResponsePlan.__pulumiType = 'aws:ssmincidents/responsePlan:ResponsePlan';
167
+ //# sourceMappingURL=responsePlan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responsePlan.js","sourceRoot":"","sources":["../../ssmincidents/responsePlan.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAA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,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,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,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA3GL,oCA4GC;AA9FG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
@@ -0,0 +1,121 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Synthetics Group resource.
4
+ *
5
+ * ## Example Usage
6
+ * ### Basic Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ *
12
+ * const example = new aws.synthetics.Group("example", {});
13
+ * ```
14
+ *
15
+ * ## Import
16
+ *
17
+ * CloudWatch Synthetics Group can be imported using the `name`, e.g.,
18
+ *
19
+ * ```sh
20
+ * $ pulumi import aws:synthetics/group:Group example example
21
+ * ```
22
+ */
23
+ export declare class Group extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing Group resource's state with the given name, ID, and optional extra
26
+ * properties used to qualify the lookup.
27
+ *
28
+ * @param name The _unique_ name of the resulting resource.
29
+ * @param id The _unique_ provider ID of the resource to lookup.
30
+ * @param state Any extra arguments used during the lookup.
31
+ * @param opts Optional settings to control the behavior of the CustomResource.
32
+ */
33
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
34
+ /**
35
+ * Returns true if the given object is an instance of Group. This is designed to work even
36
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
37
+ */
38
+ static isInstance(obj: any): obj is Group;
39
+ /**
40
+ * ARN of the Group.
41
+ */
42
+ readonly arn: pulumi.Output<string>;
43
+ /**
44
+ * ID of the Group.
45
+ */
46
+ readonly groupId: pulumi.Output<string>;
47
+ /**
48
+ * Name of the group.
49
+ */
50
+ readonly name: pulumi.Output<string>;
51
+ /**
52
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
53
+ */
54
+ readonly tags: pulumi.Output<{
55
+ [key: string]: string;
56
+ } | undefined>;
57
+ /**
58
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
59
+ */
60
+ readonly tagsAll: pulumi.Output<{
61
+ [key: string]: string;
62
+ }>;
63
+ /**
64
+ * Create a Group resource with the given unique name, arguments, and options.
65
+ *
66
+ * @param name The _unique_ name of the resource.
67
+ * @param args The arguments to use to populate this resource's properties.
68
+ * @param opts A bag of options that control this resource's behavior.
69
+ */
70
+ constructor(name: string, args?: GroupArgs, opts?: pulumi.CustomResourceOptions);
71
+ }
72
+ /**
73
+ * Input properties used for looking up and filtering Group resources.
74
+ */
75
+ export interface GroupState {
76
+ /**
77
+ * ARN of the Group.
78
+ */
79
+ arn?: pulumi.Input<string>;
80
+ /**
81
+ * ID of the Group.
82
+ */
83
+ groupId?: pulumi.Input<string>;
84
+ /**
85
+ * Name of the group.
86
+ */
87
+ name?: pulumi.Input<string>;
88
+ /**
89
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
90
+ */
91
+ tags?: pulumi.Input<{
92
+ [key: string]: pulumi.Input<string>;
93
+ }>;
94
+ /**
95
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
96
+ */
97
+ tagsAll?: pulumi.Input<{
98
+ [key: string]: pulumi.Input<string>;
99
+ }>;
100
+ }
101
+ /**
102
+ * The set of arguments for constructing a Group resource.
103
+ */
104
+ export interface GroupArgs {
105
+ /**
106
+ * Name of the group.
107
+ */
108
+ name?: pulumi.Input<string>;
109
+ /**
110
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
111
+ */
112
+ tags?: pulumi.Input<{
113
+ [key: string]: pulumi.Input<string>;
114
+ }>;
115
+ /**
116
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
117
+ */
118
+ tagsAll?: pulumi.Input<{
119
+ [key: string]: pulumi.Input<string>;
120
+ }>;
121
+ }
@@ -0,0 +1,78 @@
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.Group = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a Synthetics Group resource.
10
+ *
11
+ * ## Example Usage
12
+ * ### Basic Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const example = new aws.synthetics.Group("example", {});
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * CloudWatch Synthetics Group can be imported using the `name`, e.g.,
24
+ *
25
+ * ```sh
26
+ * $ pulumi import aws:synthetics/group:Group example example
27
+ * ```
28
+ */
29
+ class Group extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing Group 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 Group(name, state, Object.assign(Object.assign({}, opts), { id: id }));
41
+ }
42
+ /**
43
+ * Returns true if the given object is an instance of Group. 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'] === Group.__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 ? state.arn : undefined;
58
+ resourceInputs["groupId"] = state ? state.groupId : undefined;
59
+ resourceInputs["name"] = state ? state.name : undefined;
60
+ resourceInputs["tags"] = state ? state.tags : undefined;
61
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
62
+ }
63
+ else {
64
+ const args = argsOrState;
65
+ resourceInputs["name"] = args ? args.name : undefined;
66
+ resourceInputs["tags"] = args ? args.tags : undefined;
67
+ resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
68
+ resourceInputs["arn"] = undefined /*out*/;
69
+ resourceInputs["groupId"] = undefined /*out*/;
70
+ }
71
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
72
+ super(Group.__pulumiType, name, resourceInputs, opts);
73
+ }
74
+ }
75
+ exports.Group = Group;
76
+ /** @internal */
77
+ Group.__pulumiType = 'aws:synthetics/group:Group';
78
+ //# sourceMappingURL=group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.js","sourceRoot":"","sources":["../../synthetics/group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAA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