@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.
- package/apigateway/apiKey.d.ts +6 -6
- package/apigateway/getAuthorizer.d.ts +106 -0
- package/apigateway/getAuthorizer.js +50 -0
- package/apigateway/getAuthorizer.js.map +1 -0
- package/apigateway/getAuthorizers.d.ts +63 -0
- package/apigateway/getAuthorizers.js +47 -0
- package/apigateway/getAuthorizers.js.map +1 -0
- package/apigateway/index.d.ts +6 -0
- package/apigateway/index.js +7 -1
- package/apigateway/index.js.map +1 -1
- package/appstream/stack.d.ts +15 -0
- package/appstream/stack.js +2 -0
- package/appstream/stack.js.map +1 -1
- package/cfg/index.d.ts +3 -0
- package/cfg/index.js +6 -1
- package/cfg/index.js.map +1 -1
- package/cfg/organizationCustomPolicyRule.d.ts +241 -0
- package/cfg/organizationCustomPolicyRule.js +125 -0
- package/cfg/organizationCustomPolicyRule.js.map +1 -0
- package/chime/voiceConnectorStreaming.d.ts +61 -0
- package/chime/voiceConnectorStreaming.js +49 -0
- package/chime/voiceConnectorStreaming.js.map +1 -1
- package/cloudwatch/index.d.ts +3 -0
- package/cloudwatch/index.js +6 -1
- package/cloudwatch/index.js.map +1 -1
- package/cloudwatch/internetMonitor.d.ts +174 -0
- package/cloudwatch/internetMonitor.js +88 -0
- package/cloudwatch/internetMonitor.js.map +1 -0
- package/codestarconnections/connection.d.ts +1 -1
- package/codestarconnections/connection.js +1 -1
- package/directconnect/connection.d.ts +1 -0
- package/directconnect/connection.js +1 -0
- package/directconnect/connection.js.map +1 -1
- package/directoryservice/radiusSettings.d.ts +1 -0
- package/directoryservice/radiusSettings.js +1 -0
- package/directoryservice/radiusSettings.js.map +1 -1
- package/dms/getReplicationSubnetGroup.d.ts +84 -0
- package/dms/getReplicationSubnetGroup.js +50 -0
- package/dms/getReplicationSubnetGroup.js.map +1 -0
- package/dms/getReplicationTask.d.ts +114 -0
- package/dms/getReplicationTask.js +50 -0
- package/dms/getReplicationTask.js.map +1 -0
- package/dms/index.d.ts +6 -0
- package/dms/index.js +7 -1
- package/dms/index.js.map +1 -1
- package/dms/s3endpoint.d.ts +3 -3
- package/docdb/cluster.d.ts +15 -15
- package/docdb/cluster.js +3 -3
- package/docdb/clusterInstance.d.ts +21 -18
- package/docdb/clusterInstance.js +6 -6
- package/docdb/clusterInstance.js.map +1 -1
- package/docdb/clusterParameterGroup.d.ts +14 -14
- package/docdb/clusterSnapshot.d.ts +20 -20
- package/docdb/clusterSnapshot.js +1 -1
- package/docdb/eventSubscription.d.ts +12 -12
- package/docdb/eventSubscription.js +2 -2
- package/dynamodb/getTableItem.d.ts +1 -1
- package/ec2/getAmiIds.d.ts +13 -0
- package/ec2/getAmiIds.js +1 -0
- package/ec2/getAmiIds.js.map +1 -1
- package/ec2/getLaunchConfiguration.d.ts +4 -0
- package/ec2/getLaunchConfiguration.js.map +1 -1
- package/elasticache/getCluster.d.ts +2 -0
- package/elasticache/getCluster.js.map +1 -1
- package/elasticsearch/domain.d.ts +1 -1
- package/elasticsearch/domain.js +1 -1
- package/fsx/fileCache.d.ts +1 -0
- package/fsx/fileCache.js +1 -0
- package/fsx/fileCache.js.map +1 -1
- package/gamelift/gameSessionQueue.d.ts +12 -0
- package/gamelift/gameSessionQueue.js +2 -0
- package/gamelift/gameSessionQueue.js.map +1 -1
- package/getAmiIds.d.ts +13 -0
- package/getAmiIds.js +1 -0
- package/getAmiIds.js.map +1 -1
- package/guardduty/detector.d.ts +2 -0
- package/guardduty/detector.js +2 -0
- package/guardduty/detector.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +1 -0
- package/kinesis/firehoseDeliveryStream.js +1 -0
- package/kinesis/firehoseDeliveryStream.js.map +1 -1
- package/kms/key.d.ts +1 -0
- package/kms/key.js +1 -0
- package/kms/key.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/rds/getInstance.d.ts +2 -0
- package/rds/getInstance.js.map +1 -1
- package/rds/subnetGroup.d.ts +8 -0
- package/rds/subnetGroup.js +2 -0
- package/rds/subnetGroup.js.map +1 -1
- package/redshift/getCluster.d.ts +2 -0
- package/redshift/getCluster.js.map +1 -1
- package/s3/getObject.d.ts +2 -2
- package/s3/getObject.js +2 -2
- package/s3outposts/endpoint.d.ts +24 -0
- package/s3outposts/endpoint.js +4 -0
- package/s3outposts/endpoint.js.map +1 -1
- package/ssmcontacts/contact.d.ts +162 -0
- package/ssmcontacts/contact.js +108 -0
- package/ssmcontacts/contact.js.map +1 -0
- package/ssmcontacts/contactChannel.d.ts +147 -0
- package/ssmcontacts/contactChannel.js +113 -0
- package/ssmcontacts/contactChannel.js.map +1 -0
- package/ssmcontacts/getContact.d.ts +91 -0
- package/ssmcontacts/getContact.js +50 -0
- package/ssmcontacts/getContact.js.map +1 -0
- package/ssmcontacts/getContactChannel.d.ts +82 -0
- package/ssmcontacts/getContactChannel.js +49 -0
- package/ssmcontacts/getContactChannel.js.map +1 -0
- package/ssmcontacts/getPlan.d.ts +66 -0
- package/ssmcontacts/getPlan.js +49 -0
- package/ssmcontacts/getPlan.js.map +1 -0
- package/ssmcontacts/index.d.ts +18 -0
- package/ssmcontacts/index.js +41 -0
- package/ssmcontacts/index.js.map +1 -0
- package/ssmcontacts/plan.d.ts +144 -0
- package/ssmcontacts/plan.js +139 -0
- package/ssmcontacts/plan.js.map +1 -0
- package/ssmincidents/getResponsePlan.d.ts +85 -0
- package/ssmincidents/getResponsePlan.js +30 -0
- package/ssmincidents/getResponsePlan.js.map +1 -0
- package/ssmincidents/index.d.ts +6 -0
- package/ssmincidents/index.js +9 -1
- package/ssmincidents/index.js.map +1 -1
- package/ssmincidents/responsePlan.d.ts +254 -0
- package/ssmincidents/responsePlan.js +167 -0
- package/ssmincidents/responsePlan.js.map +1 -0
- package/synthetics/group.d.ts +121 -0
- package/synthetics/group.js +78 -0
- package/synthetics/group.js.map +1 -0
- package/synthetics/groupAssociation.d.ts +94 -0
- package/synthetics/groupAssociation.js +85 -0
- package/synthetics/groupAssociation.js.map +1 -0
- package/synthetics/index.d.ts +6 -0
- package/synthetics/index.js +11 -1
- package/synthetics/index.js.map +1 -1
- package/types/input.d.ts +186 -9
- package/types/output.d.ts +333 -10
- package/wafv2/webAcl.d.ts +13 -0
- package/wafv2/webAcl.js +3 -0
- package/wafv2/webAcl.js.map +1 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* TODO data source for managing a Plan of an AWS SSM Contact.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
* ### Basic Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const test = aws.ssmcontacts.getPlan({
|
|
14
|
+
* contactId: "arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getPlan(args: GetPlanArgs, opts?: pulumi.InvokeOptions): Promise<GetPlanResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getPlan.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPlanArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The Amazon Resource Name (ARN) of the contact or escalation plan.
|
|
25
|
+
*/
|
|
26
|
+
contactId: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A collection of values returned by getPlan.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetPlanResult {
|
|
32
|
+
readonly contactId: string;
|
|
33
|
+
/**
|
|
34
|
+
* The provider-assigned unique ID for this managed resource.
|
|
35
|
+
*/
|
|
36
|
+
readonly id: string;
|
|
37
|
+
/**
|
|
38
|
+
* List of stages. A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
|
|
39
|
+
*/
|
|
40
|
+
readonly stages: outputs.ssmcontacts.GetPlanStage[];
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* TODO data source for managing a Plan of an AWS SSM Contact.
|
|
44
|
+
*
|
|
45
|
+
* ## Example Usage
|
|
46
|
+
* ### Basic Usage
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as aws from "@pulumi/aws";
|
|
51
|
+
*
|
|
52
|
+
* const test = aws.ssmcontacts.getPlan({
|
|
53
|
+
* contactId: "arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias",
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare function getPlanOutput(args: GetPlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPlanResult>;
|
|
58
|
+
/**
|
|
59
|
+
* A collection of arguments for invoking getPlan.
|
|
60
|
+
*/
|
|
61
|
+
export interface GetPlanOutputArgs {
|
|
62
|
+
/**
|
|
63
|
+
* The Amazon Resource Name (ARN) of the contact or escalation plan.
|
|
64
|
+
*/
|
|
65
|
+
contactId: pulumi.Input<string>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.getPlanOutput = exports.getPlan = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* TODO data source for managing a Plan of an AWS SSM Contact.
|
|
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 test = aws.ssmcontacts.getPlan({
|
|
19
|
+
* contactId: "arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getPlan(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("aws:ssmcontacts/getPlan:getPlan", {
|
|
26
|
+
"contactId": args.contactId,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getPlan = getPlan;
|
|
30
|
+
/**
|
|
31
|
+
* TODO data source for managing a Plan of an AWS SSM Contact.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
* ### Basic Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as aws from "@pulumi/aws";
|
|
39
|
+
*
|
|
40
|
+
* const test = aws.ssmcontacts.getPlan({
|
|
41
|
+
* contactId: "arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getPlanOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply((a) => getPlan(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getPlanOutput = getPlanOutput;
|
|
49
|
+
//# sourceMappingURL=getPlan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPlan.js","sourceRoot":"","sources":["../../ssmcontacts/getPlan.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AA0BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { ContactArgs, ContactState } from "./contact";
|
|
2
|
+
export type Contact = import("./contact").Contact;
|
|
3
|
+
export declare const Contact: typeof import("./contact").Contact;
|
|
4
|
+
export { ContactChannelArgs, ContactChannelState } from "./contactChannel";
|
|
5
|
+
export type ContactChannel = import("./contactChannel").ContactChannel;
|
|
6
|
+
export declare const ContactChannel: typeof import("./contactChannel").ContactChannel;
|
|
7
|
+
export { GetContactArgs, GetContactResult, GetContactOutputArgs } from "./getContact";
|
|
8
|
+
export declare const getContact: typeof import("./getContact").getContact;
|
|
9
|
+
export declare const getContactOutput: typeof import("./getContact").getContactOutput;
|
|
10
|
+
export { GetContactChannelArgs, GetContactChannelResult, GetContactChannelOutputArgs } from "./getContactChannel";
|
|
11
|
+
export declare const getContactChannel: typeof import("./getContactChannel").getContactChannel;
|
|
12
|
+
export declare const getContactChannelOutput: typeof import("./getContactChannel").getContactChannelOutput;
|
|
13
|
+
export { GetPlanArgs, GetPlanResult, GetPlanOutputArgs } from "./getPlan";
|
|
14
|
+
export declare const getPlan: typeof import("./getPlan").getPlan;
|
|
15
|
+
export declare const getPlanOutput: typeof import("./getPlan").getPlanOutput;
|
|
16
|
+
export { PlanArgs, PlanState } from "./plan";
|
|
17
|
+
export type Plan = import("./plan").Plan;
|
|
18
|
+
export declare const Plan: typeof import("./plan").Plan;
|
|
@@ -0,0 +1,41 @@
|
|
|
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.Plan = exports.getPlanOutput = exports.getPlan = exports.getContactChannelOutput = exports.getContactChannel = exports.getContactOutput = exports.getContact = exports.ContactChannel = exports.Contact = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.Contact = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Contact"], () => require("./contact"));
|
|
10
|
+
exports.ContactChannel = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["ContactChannel"], () => require("./contactChannel"));
|
|
12
|
+
exports.getContact = null;
|
|
13
|
+
exports.getContactOutput = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["getContact", "getContactOutput"], () => require("./getContact"));
|
|
15
|
+
exports.getContactChannel = null;
|
|
16
|
+
exports.getContactChannelOutput = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["getContactChannel", "getContactChannelOutput"], () => require("./getContactChannel"));
|
|
18
|
+
exports.getPlan = null;
|
|
19
|
+
exports.getPlanOutput = null;
|
|
20
|
+
utilities.lazyLoad(exports, ["getPlan", "getPlanOutput"], () => require("./getPlan"));
|
|
21
|
+
exports.Plan = null;
|
|
22
|
+
utilities.lazyLoad(exports, ["Plan"], () => require("./plan"));
|
|
23
|
+
const _module = {
|
|
24
|
+
version: utilities.getVersion(),
|
|
25
|
+
construct: (name, type, urn) => {
|
|
26
|
+
switch (type) {
|
|
27
|
+
case "aws:ssmcontacts/contact:Contact":
|
|
28
|
+
return new exports.Contact(name, undefined, { urn });
|
|
29
|
+
case "aws:ssmcontacts/contactChannel:ContactChannel":
|
|
30
|
+
return new exports.ContactChannel(name, undefined, { urn });
|
|
31
|
+
case "aws:ssmcontacts/plan:Plan":
|
|
32
|
+
return new exports.Plan(name, undefined, { urn });
|
|
33
|
+
default:
|
|
34
|
+
throw new Error(`unknown resource type ${type}`);
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
pulumi.runtime.registerResourceModule("aws", "ssmcontacts/contact", _module);
|
|
39
|
+
pulumi.runtime.registerResourceModule("aws", "ssmcontacts/contactChannel", _module);
|
|
40
|
+
pulumi.runtime.registerResourceModule("aws", "ssmcontacts/plan", _module);
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ssmcontacts/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAGtE,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kB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;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* TODO resource for managing an AWS SSM Contact Plan.
|
|
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.ssmcontacts.Plan("example", {
|
|
15
|
+
* contactId: "arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias",
|
|
16
|
+
* stages: [{
|
|
17
|
+
* durationInMinutes: 1,
|
|
18
|
+
* }],
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
* ### Usage with SSM Contact
|
|
22
|
+
*
|
|
23
|
+
* ```typescript
|
|
24
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
25
|
+
* import * as aws from "@pulumi/aws";
|
|
26
|
+
*
|
|
27
|
+
* const contact = new aws.ssmcontacts.Contact("contact", {
|
|
28
|
+
* alias: "alias",
|
|
29
|
+
* type: "PERSONAL",
|
|
30
|
+
* });
|
|
31
|
+
* const plan = new aws.ssmcontacts.Plan("plan", {
|
|
32
|
+
* contactId: contact.arn,
|
|
33
|
+
* stages: [{
|
|
34
|
+
* durationInMinutes: 1,
|
|
35
|
+
* }],
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
* ### Usage With All Fields
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as aws from "@pulumi/aws";
|
|
43
|
+
*
|
|
44
|
+
* const escalationPlan = new aws.ssmcontacts.Contact("escalationPlan", {
|
|
45
|
+
* alias: "escalation-plan-alias",
|
|
46
|
+
* type: "ESCALATION",
|
|
47
|
+
* });
|
|
48
|
+
* const contactOne = new aws.ssmcontacts.Contact("contactOne", {
|
|
49
|
+
* alias: "alias",
|
|
50
|
+
* type: "PERSONAL",
|
|
51
|
+
* });
|
|
52
|
+
* const contactTwo = new aws.ssmcontacts.Contact("contactTwo", {
|
|
53
|
+
* alias: "alias",
|
|
54
|
+
* type: "PERSONAL",
|
|
55
|
+
* });
|
|
56
|
+
* const test = new aws.ssmcontacts.Plan("test", {
|
|
57
|
+
* contactId: escalationPlan.arn,
|
|
58
|
+
* stages: [{
|
|
59
|
+
* durationInMinutes: 0,
|
|
60
|
+
* targets: [
|
|
61
|
+
* {
|
|
62
|
+
* contactTargetInfo: {
|
|
63
|
+
* isEssential: false,
|
|
64
|
+
* contactId: contactOne.arn,
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* {
|
|
68
|
+
* contactTargetInfo: {
|
|
69
|
+
* isEssential: true,
|
|
70
|
+
* contactId: contactTwo.arn,
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* }],
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* ## Import
|
|
79
|
+
*
|
|
80
|
+
* Import SSM Contact Plan using the Contact ARN. For example
|
|
81
|
+
*
|
|
82
|
+
* ```sh
|
|
83
|
+
* $ pulumi import aws:ssmcontacts/plan:Plan example {ARNValue}
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
export declare class Plan extends pulumi.CustomResource {
|
|
87
|
+
/**
|
|
88
|
+
* Get an existing Plan resource's state with the given name, ID, and optional extra
|
|
89
|
+
* properties used to qualify the lookup.
|
|
90
|
+
*
|
|
91
|
+
* @param name The _unique_ name of the resulting resource.
|
|
92
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
93
|
+
* @param state Any extra arguments used during the lookup.
|
|
94
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
95
|
+
*/
|
|
96
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PlanState, opts?: pulumi.CustomResourceOptions): Plan;
|
|
97
|
+
/**
|
|
98
|
+
* Returns true if the given object is an instance of Plan. This is designed to work even
|
|
99
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
100
|
+
*/
|
|
101
|
+
static isInstance(obj: any): obj is Plan;
|
|
102
|
+
/**
|
|
103
|
+
* The Amazon Resource Name (ARN) of the contact or escalation plan.
|
|
104
|
+
*/
|
|
105
|
+
readonly contactId: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* List of stages. A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
|
|
108
|
+
*/
|
|
109
|
+
readonly stages: pulumi.Output<outputs.ssmcontacts.PlanStage[]>;
|
|
110
|
+
/**
|
|
111
|
+
* Create a Plan resource with the given unique name, arguments, and options.
|
|
112
|
+
*
|
|
113
|
+
* @param name The _unique_ name of the resource.
|
|
114
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
115
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
116
|
+
*/
|
|
117
|
+
constructor(name: string, args: PlanArgs, opts?: pulumi.CustomResourceOptions);
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Input properties used for looking up and filtering Plan resources.
|
|
121
|
+
*/
|
|
122
|
+
export interface PlanState {
|
|
123
|
+
/**
|
|
124
|
+
* The Amazon Resource Name (ARN) of the contact or escalation plan.
|
|
125
|
+
*/
|
|
126
|
+
contactId?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* List of stages. A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
|
|
129
|
+
*/
|
|
130
|
+
stages?: pulumi.Input<pulumi.Input<inputs.ssmcontacts.PlanStage>[]>;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* The set of arguments for constructing a Plan resource.
|
|
134
|
+
*/
|
|
135
|
+
export interface PlanArgs {
|
|
136
|
+
/**
|
|
137
|
+
* The Amazon Resource Name (ARN) of the contact or escalation plan.
|
|
138
|
+
*/
|
|
139
|
+
contactId: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* List of stages. A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
|
|
142
|
+
*/
|
|
143
|
+
stages: pulumi.Input<pulumi.Input<inputs.ssmcontacts.PlanStage>[]>;
|
|
144
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
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.Plan = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* TODO resource for managing an AWS SSM Contact Plan.
|
|
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.ssmcontacts.Plan("example", {
|
|
19
|
+
* contactId: "arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias",
|
|
20
|
+
* stages: [{
|
|
21
|
+
* durationInMinutes: 1,
|
|
22
|
+
* }],
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
* ### Usage with SSM Contact
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as aws from "@pulumi/aws";
|
|
30
|
+
*
|
|
31
|
+
* const contact = new aws.ssmcontacts.Contact("contact", {
|
|
32
|
+
* alias: "alias",
|
|
33
|
+
* type: "PERSONAL",
|
|
34
|
+
* });
|
|
35
|
+
* const plan = new aws.ssmcontacts.Plan("plan", {
|
|
36
|
+
* contactId: contact.arn,
|
|
37
|
+
* stages: [{
|
|
38
|
+
* durationInMinutes: 1,
|
|
39
|
+
* }],
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
* ### Usage With All Fields
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as aws from "@pulumi/aws";
|
|
47
|
+
*
|
|
48
|
+
* const escalationPlan = new aws.ssmcontacts.Contact("escalationPlan", {
|
|
49
|
+
* alias: "escalation-plan-alias",
|
|
50
|
+
* type: "ESCALATION",
|
|
51
|
+
* });
|
|
52
|
+
* const contactOne = new aws.ssmcontacts.Contact("contactOne", {
|
|
53
|
+
* alias: "alias",
|
|
54
|
+
* type: "PERSONAL",
|
|
55
|
+
* });
|
|
56
|
+
* const contactTwo = new aws.ssmcontacts.Contact("contactTwo", {
|
|
57
|
+
* alias: "alias",
|
|
58
|
+
* type: "PERSONAL",
|
|
59
|
+
* });
|
|
60
|
+
* const test = new aws.ssmcontacts.Plan("test", {
|
|
61
|
+
* contactId: escalationPlan.arn,
|
|
62
|
+
* stages: [{
|
|
63
|
+
* durationInMinutes: 0,
|
|
64
|
+
* targets: [
|
|
65
|
+
* {
|
|
66
|
+
* contactTargetInfo: {
|
|
67
|
+
* isEssential: false,
|
|
68
|
+
* contactId: contactOne.arn,
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* {
|
|
72
|
+
* contactTargetInfo: {
|
|
73
|
+
* isEssential: true,
|
|
74
|
+
* contactId: contactTwo.arn,
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* }],
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* ## Import
|
|
83
|
+
*
|
|
84
|
+
* Import SSM Contact Plan using the Contact ARN. For example
|
|
85
|
+
*
|
|
86
|
+
* ```sh
|
|
87
|
+
* $ pulumi import aws:ssmcontacts/plan:Plan example {ARNValue}
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
class Plan extends pulumi.CustomResource {
|
|
91
|
+
/**
|
|
92
|
+
* Get an existing Plan resource's state with the given name, ID, and optional extra
|
|
93
|
+
* properties used to qualify the lookup.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resulting resource.
|
|
96
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
97
|
+
* @param state Any extra arguments used during the lookup.
|
|
98
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
99
|
+
*/
|
|
100
|
+
static get(name, id, state, opts) {
|
|
101
|
+
return new Plan(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Returns true if the given object is an instance of Plan. This is designed to work even
|
|
105
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
106
|
+
*/
|
|
107
|
+
static isInstance(obj) {
|
|
108
|
+
if (obj === undefined || obj === null) {
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
return obj['__pulumiType'] === Plan.__pulumiType;
|
|
112
|
+
}
|
|
113
|
+
constructor(name, argsOrState, opts) {
|
|
114
|
+
let resourceInputs = {};
|
|
115
|
+
opts = opts || {};
|
|
116
|
+
if (opts.id) {
|
|
117
|
+
const state = argsOrState;
|
|
118
|
+
resourceInputs["contactId"] = state ? state.contactId : undefined;
|
|
119
|
+
resourceInputs["stages"] = state ? state.stages : undefined;
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
const args = argsOrState;
|
|
123
|
+
if ((!args || args.contactId === undefined) && !opts.urn) {
|
|
124
|
+
throw new Error("Missing required property 'contactId'");
|
|
125
|
+
}
|
|
126
|
+
if ((!args || args.stages === undefined) && !opts.urn) {
|
|
127
|
+
throw new Error("Missing required property 'stages'");
|
|
128
|
+
}
|
|
129
|
+
resourceInputs["contactId"] = args ? args.contactId : undefined;
|
|
130
|
+
resourceInputs["stages"] = args ? args.stages : undefined;
|
|
131
|
+
}
|
|
132
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
133
|
+
super(Plan.__pulumiType, name, resourceInputs, opts);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.Plan = Plan;
|
|
137
|
+
/** @internal */
|
|
138
|
+
Plan.__pulumiType = 'aws:ssmcontacts/plan:Plan';
|
|
139
|
+
//# sourceMappingURL=plan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan.js","sourceRoot":"","sources":["../../ssmcontacts/plan.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,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MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAjEL,oBAkEC;AApDG,gBAAgB;AACO,iBAAY,GAAG,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this TODO data source to manage a response plan in AWS Systems Manager Incident Manager.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*/
|
|
8
|
+
export declare function getResponsePlan(args: GetResponsePlanArgs, opts?: pulumi.InvokeOptions): Promise<GetResponsePlanResult>;
|
|
9
|
+
/**
|
|
10
|
+
* A collection of arguments for invoking getResponsePlan.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetResponsePlanArgs {
|
|
13
|
+
/**
|
|
14
|
+
* The Amazon Resource Name (ARN) of the response plan.
|
|
15
|
+
*/
|
|
16
|
+
arn: string;
|
|
17
|
+
/**
|
|
18
|
+
* The tags applied to the response plan.
|
|
19
|
+
*/
|
|
20
|
+
tags?: {
|
|
21
|
+
[key: string]: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A collection of values returned by getResponsePlan.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetResponsePlanResult {
|
|
28
|
+
/**
|
|
29
|
+
* (Optional) The actions that the response plan starts at the beginning of an incident.
|
|
30
|
+
*/
|
|
31
|
+
readonly actions: outputs.ssmincidents.GetResponsePlanAction[];
|
|
32
|
+
readonly arn: string;
|
|
33
|
+
/**
|
|
34
|
+
* The Chatbot chat channel used for collaboration during an incident.
|
|
35
|
+
*/
|
|
36
|
+
readonly chatChannels: string[];
|
|
37
|
+
/**
|
|
38
|
+
* The long format of the response plan name. This field can contain spaces.
|
|
39
|
+
*/
|
|
40
|
+
readonly displayName: string;
|
|
41
|
+
/**
|
|
42
|
+
* The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
|
|
43
|
+
*/
|
|
44
|
+
readonly engagements: string[];
|
|
45
|
+
/**
|
|
46
|
+
* The provider-assigned unique ID for this managed resource.
|
|
47
|
+
*/
|
|
48
|
+
readonly id: string;
|
|
49
|
+
readonly incidentTemplates: outputs.ssmincidents.GetResponsePlanIncidentTemplate[];
|
|
50
|
+
/**
|
|
51
|
+
* Information about third-party services integrated into the response plan. The following values are supported:
|
|
52
|
+
*/
|
|
53
|
+
readonly integrations: outputs.ssmincidents.GetResponsePlanIntegration[];
|
|
54
|
+
/**
|
|
55
|
+
* The name of the PagerDuty configuration.
|
|
56
|
+
*/
|
|
57
|
+
readonly name: string;
|
|
58
|
+
/**
|
|
59
|
+
* The tags applied to the response plan.
|
|
60
|
+
*/
|
|
61
|
+
readonly tags: {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Use this TODO data source to manage a response plan in AWS Systems Manager Incident Manager.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*/
|
|
70
|
+
export declare function getResponsePlanOutput(args: GetResponsePlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetResponsePlanResult>;
|
|
71
|
+
/**
|
|
72
|
+
* A collection of arguments for invoking getResponsePlan.
|
|
73
|
+
*/
|
|
74
|
+
export interface GetResponsePlanOutputArgs {
|
|
75
|
+
/**
|
|
76
|
+
* The Amazon Resource Name (ARN) of the response plan.
|
|
77
|
+
*/
|
|
78
|
+
arn: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The tags applied to the response plan.
|
|
81
|
+
*/
|
|
82
|
+
tags?: pulumi.Input<{
|
|
83
|
+
[key: string]: pulumi.Input<string>;
|
|
84
|
+
}>;
|
|
85
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.getResponsePlanOutput = exports.getResponsePlan = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this TODO data source to manage a response plan in AWS Systems Manager Incident Manager.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*/
|
|
13
|
+
function getResponsePlan(args, opts) {
|
|
14
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
|
+
return pulumi.runtime.invoke("aws:ssmincidents/getResponsePlan:getResponsePlan", {
|
|
16
|
+
"arn": args.arn,
|
|
17
|
+
"tags": args.tags,
|
|
18
|
+
}, opts);
|
|
19
|
+
}
|
|
20
|
+
exports.getResponsePlan = getResponsePlan;
|
|
21
|
+
/**
|
|
22
|
+
* Use this TODO data source to manage a response plan in AWS Systems Manager Incident Manager.
|
|
23
|
+
*
|
|
24
|
+
* ## Example Usage
|
|
25
|
+
*/
|
|
26
|
+
function getResponsePlanOutput(args, opts) {
|
|
27
|
+
return pulumi.output(args).apply((a) => getResponsePlan(a, opts));
|
|
28
|
+
}
|
|
29
|
+
exports.getResponsePlanOutput = getResponsePlanOutput;
|
|
30
|
+
//# sourceMappingURL=getResponsePlan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getResponsePlan.js","sourceRoot":"","sources":["../../ssmincidents/getResponsePlan.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;GAIG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AAuDD;;;;GAIG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
package/ssmincidents/index.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
export { GetReplicationSetArgs, GetReplicationSetResult, GetReplicationSetOutputArgs } from "./getReplicationSet";
|
|
2
2
|
export declare const getReplicationSet: typeof import("./getReplicationSet").getReplicationSet;
|
|
3
3
|
export declare const getReplicationSetOutput: typeof import("./getReplicationSet").getReplicationSetOutput;
|
|
4
|
+
export { GetResponsePlanArgs, GetResponsePlanResult, GetResponsePlanOutputArgs } from "./getResponsePlan";
|
|
5
|
+
export declare const getResponsePlan: typeof import("./getResponsePlan").getResponsePlan;
|
|
6
|
+
export declare const getResponsePlanOutput: typeof import("./getResponsePlan").getResponsePlanOutput;
|
|
4
7
|
export { ReplicationSetArgs, ReplicationSetState } from "./replicationSet";
|
|
5
8
|
export type ReplicationSet = import("./replicationSet").ReplicationSet;
|
|
6
9
|
export declare const ReplicationSet: typeof import("./replicationSet").ReplicationSet;
|
|
10
|
+
export { ResponsePlanArgs, ResponsePlanState } from "./responsePlan";
|
|
11
|
+
export type ResponsePlan = import("./responsePlan").ResponsePlan;
|
|
12
|
+
export declare const ResponsePlan: typeof import("./responsePlan").ResponsePlan;
|
package/ssmincidents/index.js
CHANGED
|
@@ -2,24 +2,32 @@
|
|
|
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.ReplicationSet = exports.getReplicationSetOutput = exports.getReplicationSet = void 0;
|
|
5
|
+
exports.ResponsePlan = exports.ReplicationSet = exports.getResponsePlanOutput = exports.getResponsePlan = exports.getReplicationSetOutput = exports.getReplicationSet = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.getReplicationSet = null;
|
|
9
9
|
exports.getReplicationSetOutput = null;
|
|
10
10
|
utilities.lazyLoad(exports, ["getReplicationSet", "getReplicationSetOutput"], () => require("./getReplicationSet"));
|
|
11
|
+
exports.getResponsePlan = null;
|
|
12
|
+
exports.getResponsePlanOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["getResponsePlan", "getResponsePlanOutput"], () => require("./getResponsePlan"));
|
|
11
14
|
exports.ReplicationSet = null;
|
|
12
15
|
utilities.lazyLoad(exports, ["ReplicationSet"], () => require("./replicationSet"));
|
|
16
|
+
exports.ResponsePlan = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["ResponsePlan"], () => require("./responsePlan"));
|
|
13
18
|
const _module = {
|
|
14
19
|
version: utilities.getVersion(),
|
|
15
20
|
construct: (name, type, urn) => {
|
|
16
21
|
switch (type) {
|
|
17
22
|
case "aws:ssmincidents/replicationSet:ReplicationSet":
|
|
18
23
|
return new exports.ReplicationSet(name, undefined, { urn });
|
|
24
|
+
case "aws:ssmincidents/responsePlan:ResponsePlan":
|
|
25
|
+
return new exports.ResponsePlan(name, undefined, { urn });
|
|
19
26
|
default:
|
|
20
27
|
throw new Error(`unknown resource type ${type}`);
|
|
21
28
|
}
|
|
22
29
|
},
|
|
23
30
|
};
|
|
24
31
|
pulumi.runtime.registerResourceModule("aws", "ssmincidents/replicationSet", _module);
|
|
32
|
+
pulumi.runtime.registerResourceModule("aws", "ssmincidents/responsePlan", _module);
|
|
25
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ssmincidents/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACxF,QAAA,uBAAuB,GAAiE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,EAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ssmincidents/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACxF,QAAA,uBAAuB,GAAiE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,EAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAGtG,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,EAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAIhG,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAA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