@pulumi/aws 7.43.0-alpha.1787044187 → 7.43.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/bedrock/agentcoreHarness.d.ts +15 -7
- package/bedrock/agentcoreHarness.d.ts.map +1 -1
- package/bedrock/agentcoreHarness.js +2 -0
- package/bedrock/agentcoreHarness.js.map +1 -1
- package/dsql/clusterPolicy.d.ts +228 -0
- package/dsql/clusterPolicy.d.ts.map +1 -0
- package/dsql/clusterPolicy.js +218 -0
- package/dsql/clusterPolicy.js.map +1 -0
- package/dsql/index.d.ts +3 -0
- package/dsql/index.d.ts.map +1 -1
- package/dsql/index.js +6 -1
- package/dsql/index.js.map +1 -1
- package/ec2/amiLaunchPermission.d.ts +15 -0
- package/ec2/amiLaunchPermission.d.ts.map +1 -1
- package/ec2/amiLaunchPermission.js +15 -0
- package/ec2/amiLaunchPermission.js.map +1 -1
- package/fsx/getOntapFileSystem.d.ts +4 -0
- package/fsx/getOntapFileSystem.d.ts.map +1 -1
- package/fsx/getOntapFileSystem.js.map +1 -1
- package/fsx/getWindowsFileSystem.d.ts +4 -0
- package/fsx/getWindowsFileSystem.d.ts.map +1 -1
- package/fsx/getWindowsFileSystem.js.map +1 -1
- package/fsx/ontapFileSystem.d.ts +12 -0
- package/fsx/ontapFileSystem.d.ts.map +1 -1
- package/fsx/ontapFileSystem.js +2 -0
- package/fsx/ontapFileSystem.js.map +1 -1
- package/fsx/openZfsFileSystem.d.ts +12 -0
- package/fsx/openZfsFileSystem.d.ts.map +1 -1
- package/fsx/openZfsFileSystem.js +2 -0
- package/fsx/openZfsFileSystem.js.map +1 -1
- package/fsx/windowsFileSystem.d.ts +12 -0
- package/fsx/windowsFileSystem.d.ts.map +1 -1
- package/fsx/windowsFileSystem.js +2 -0
- package/fsx/windowsFileSystem.js.map +1 -1
- package/lambda/coreNetworkConnector.d.ts +186 -0
- package/lambda/coreNetworkConnector.d.ts.map +1 -0
- package/lambda/coreNetworkConnector.js +170 -0
- package/lambda/coreNetworkConnector.js.map +1 -0
- package/lambda/index.d.ts +6 -0
- package/lambda/index.d.ts.map +1 -1
- package/lambda/index.js +11 -1
- package/lambda/index.js.map +1 -1
- package/lambda/microvmsImage.d.ts +340 -0
- package/lambda/microvmsImage.d.ts.map +1 -0
- package/lambda/microvmsImage.js +189 -0
- package/lambda/microvmsImage.js.map +1 -0
- package/mailmanager/index.d.ts +3 -0
- package/mailmanager/index.d.ts.map +1 -1
- package/mailmanager/index.js +6 -1
- package/mailmanager/index.js.map +1 -1
- package/mailmanager/relay.d.ts +223 -0
- package/mailmanager/relay.d.ts.map +1 -0
- package/mailmanager/relay.js +160 -0
- package/mailmanager/relay.js.map +1 -0
- package/medialive/channel.d.ts +11 -0
- package/medialive/channel.d.ts.map +1 -1
- package/medialive/channel.js +11 -0
- package/medialive/channel.js.map +1 -1
- package/medialive/input.d.ts +11 -0
- package/medialive/input.d.ts.map +1 -1
- package/medialive/input.js +11 -0
- package/medialive/input.js.map +1 -1
- package/medialive/inputSecurityGroup.d.ts +16 -5
- package/medialive/inputSecurityGroup.d.ts.map +1 -1
- package/medialive/inputSecurityGroup.js +13 -2
- package/medialive/inputSecurityGroup.js.map +1 -1
- package/medialive/multiplex.d.ts +11 -0
- package/medialive/multiplex.d.ts.map +1 -1
- package/medialive/multiplex.js +11 -0
- package/medialive/multiplex.js.map +1 -1
- package/medialive/multiplexProgram.d.ts +13 -1
- package/medialive/multiplexProgram.d.ts.map +1 -1
- package/medialive/multiplexProgram.js +13 -1
- package/medialive/multiplexProgram.js.map +1 -1
- package/odb/getIamRoleAssociation.d.ts +96 -0
- package/odb/getIamRoleAssociation.d.ts.map +1 -0
- package/odb/getIamRoleAssociation.js +83 -0
- package/odb/getIamRoleAssociation.js.map +1 -0
- package/odb/iamRoleAssociation.d.ts +140 -0
- package/odb/iamRoleAssociation.d.ts.map +1 -0
- package/odb/iamRoleAssociation.js +121 -0
- package/odb/iamRoleAssociation.js.map +1 -0
- package/odb/index.d.ts +6 -0
- package/odb/index.d.ts.map +1 -1
- package/odb/index.js +9 -1
- package/odb/index.js.map +1 -1
- package/package.json +2 -2
- package/pinpoint/smsvoicev2PhoneNumber.d.ts +20 -0
- package/pinpoint/smsvoicev2PhoneNumber.d.ts.map +1 -1
- package/pinpoint/smsvoicev2PhoneNumber.js +4 -0
- package/pinpoint/smsvoicev2PhoneNumber.js.map +1 -1
- package/resiliencehub/getV2Service.d.ts +4 -0
- package/resiliencehub/getV2Service.d.ts.map +1 -1
- package/resiliencehub/getV2Service.js.map +1 -1
- package/resiliencehub/index.d.ts +9 -0
- package/resiliencehub/index.d.ts.map +1 -1
- package/resiliencehub/index.js +16 -1
- package/resiliencehub/index.js.map +1 -1
- package/resiliencehub/v2assertion.d.ts +126 -0
- package/resiliencehub/v2assertion.d.ts.map +1 -0
- package/resiliencehub/v2assertion.js +123 -0
- package/resiliencehub/v2assertion.js.map +1 -0
- package/resiliencehub/v2inputSource.d.ts +0 -2
- package/resiliencehub/v2inputSource.d.ts.map +1 -1
- package/resiliencehub/v2inputSource.js +0 -2
- package/resiliencehub/v2inputSource.js.map +1 -1
- package/resiliencehub/v2service.d.ts +31 -0
- package/resiliencehub/v2service.d.ts.map +1 -1
- package/resiliencehub/v2service.js +21 -0
- package/resiliencehub/v2service.js.map +1 -1
- package/resiliencehub/v2serviceFunction.d.ts +165 -0
- package/resiliencehub/v2serviceFunction.d.ts.map +1 -0
- package/resiliencehub/v2serviceFunction.js +142 -0
- package/resiliencehub/v2serviceFunction.js.map +1 -0
- package/resiliencehub/v2userJourney.d.ts +172 -0
- package/resiliencehub/v2userJourney.d.ts.map +1 -0
- package/resiliencehub/v2userJourney.js +146 -0
- package/resiliencehub/v2userJourney.js.map +1 -0
- package/securityhub/featureV2.d.ts +118 -0
- package/securityhub/featureV2.d.ts.map +1 -0
- package/securityhub/featureV2.js +127 -0
- package/securityhub/featureV2.js.map +1 -0
- package/securityhub/index.d.ts +3 -0
- package/securityhub/index.d.ts.map +1 -1
- package/securityhub/index.js +6 -1
- package/securityhub/index.js.map +1 -1
- package/types/input.d.ts +295 -30
- package/types/input.d.ts.map +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +285 -19
- package/types/output.d.ts.map +1 -1
- package/types/output.js.map +1 -1
- package/vpclattice/getService.d.ts +4 -0
- package/vpclattice/getService.d.ts.map +1 -1
- package/vpclattice/getService.js.map +1 -1
- package/vpclattice/service.d.ts +12 -0
- package/vpclattice/service.d.ts.map +1 -1
- package/vpclattice/service.js +2 -0
- package/vpclattice/service.js.map +1 -1
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.V2Assertion = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Resource for managing an AWS Resilience Hub V2 Assertion.
|
|
33
|
+
*
|
|
34
|
+
* An assertion is a statement about your application that provides context for failure mode assessments. Assertions help the GenAI assessment engine understand aspects of your architecture that aren't visible from resource configuration alone (e.g., "Data loss is unacceptable", "Typical traffic is 1000 TPS spiking to 10000 TPS").
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ### Basic Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as aws from "@pulumi/aws";
|
|
43
|
+
*
|
|
44
|
+
* const example = new aws.resiliencehub.V2Assertion("example", {
|
|
45
|
+
* serviceArn: exampleAwsResiliencehubv2Service.arn,
|
|
46
|
+
* text: "The service must recover within 5 minutes of an AZ failure",
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* ## Import
|
|
51
|
+
*
|
|
52
|
+
* ### Identity Schema
|
|
53
|
+
*
|
|
54
|
+
* #### Required
|
|
55
|
+
*
|
|
56
|
+
* * `serviceArn` (String) ARN of the service this assertion belongs to.
|
|
57
|
+
* * `assertionId` (String) Unique identifier of the assertion.
|
|
58
|
+
*
|
|
59
|
+
* #### Optional
|
|
60
|
+
*
|
|
61
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
62
|
+
* * `region` (String) Region where this resource is managed.
|
|
63
|
+
*
|
|
64
|
+
* Using `pulumi import`, import Resilience Hub V2 Assertion using the `serviceArn` and `assertionId` separated by a comma (`,`). For example:
|
|
65
|
+
*
|
|
66
|
+
* ```sh
|
|
67
|
+
* $ pulumi import aws:resiliencehub/v2Assertion:V2Assertion example arn:aws:resiliencehub:us-west-2:123456789012:service/example-service:abc123,12345678-1234-1234-1234-123456789012
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
class V2Assertion extends pulumi.CustomResource {
|
|
71
|
+
/**
|
|
72
|
+
* Get an existing V2Assertion resource's state with the given name, ID, and optional extra
|
|
73
|
+
* properties used to qualify the lookup.
|
|
74
|
+
*
|
|
75
|
+
* @param name The _unique_ name of the resulting resource.
|
|
76
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
77
|
+
* @param state Any extra arguments used during the lookup.
|
|
78
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
79
|
+
*/
|
|
80
|
+
static get(name, id, state, opts) {
|
|
81
|
+
return new V2Assertion(name, state, { ...opts, id: id });
|
|
82
|
+
}
|
|
83
|
+
/** @internal */
|
|
84
|
+
static __pulumiType = 'aws:resiliencehub/v2Assertion:V2Assertion';
|
|
85
|
+
/**
|
|
86
|
+
* Returns true if the given object is an instance of V2Assertion. This is designed to work even
|
|
87
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
88
|
+
*/
|
|
89
|
+
static isInstance(obj) {
|
|
90
|
+
if (obj === undefined || obj === null) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
return obj['__pulumiType'] === V2Assertion.__pulumiType;
|
|
94
|
+
}
|
|
95
|
+
constructor(name, argsOrState, opts) {
|
|
96
|
+
let resourceInputs = {};
|
|
97
|
+
opts = opts || {};
|
|
98
|
+
if (opts.id) {
|
|
99
|
+
const state = argsOrState;
|
|
100
|
+
resourceInputs["assertionId"] = state?.assertionId;
|
|
101
|
+
resourceInputs["region"] = state?.region;
|
|
102
|
+
resourceInputs["serviceArn"] = state?.serviceArn;
|
|
103
|
+
resourceInputs["text"] = state?.text;
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
const args = argsOrState;
|
|
107
|
+
if (args?.serviceArn === undefined && !opts.urn) {
|
|
108
|
+
throw new Error("Missing required property 'serviceArn'");
|
|
109
|
+
}
|
|
110
|
+
if (args?.text === undefined && !opts.urn) {
|
|
111
|
+
throw new Error("Missing required property 'text'");
|
|
112
|
+
}
|
|
113
|
+
resourceInputs["region"] = args?.region;
|
|
114
|
+
resourceInputs["serviceArn"] = args?.serviceArn;
|
|
115
|
+
resourceInputs["text"] = args?.text;
|
|
116
|
+
resourceInputs["assertionId"] = undefined /*out*/;
|
|
117
|
+
}
|
|
118
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
119
|
+
super(V2Assertion.__pulumiType, name, resourceInputs, opts);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.V2Assertion = V2Assertion;
|
|
123
|
+
//# sourceMappingURL=v2assertion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2assertion.js","sourceRoot":"","sources":["../../resiliencehub/v2assertion.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,2CAA2C,CAAC;IAElF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK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K,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA/EL,kCAgFC"}
|
|
@@ -8,8 +8,6 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* > **Note:** This resource does not support in-place updates. Any change to the resource configuration will destroy and recreate the input source.
|
|
10
10
|
*
|
|
11
|
-
* > **Note:** The referenced resources (CloudFormation stacks, S3 state files, EKS clusters) must exist before creating the input source. Use `dependsOn` to ensure proper ordering.
|
|
12
|
-
*
|
|
13
11
|
* ## Example Usage
|
|
14
12
|
*
|
|
15
13
|
* ### CloudFormation Stack
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2inputSource.d.ts","sourceRoot":"","sources":["../../resiliencehub/v2inputSource.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C
|
|
1
|
+
{"version":3,"file":"v2inputSource.d.ts","sourceRoot":"","sources":["../../resiliencehub/v2inputSource.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,qBAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qB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AC;IAC7F;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -35,8 +35,6 @@ const utilities = __importStar(require("../utilities"));
|
|
|
35
35
|
*
|
|
36
36
|
* > **Note:** This resource does not support in-place updates. Any change to the resource configuration will destroy and recreate the input source.
|
|
37
37
|
*
|
|
38
|
-
* > **Note:** The referenced resources (CloudFormation stacks, S3 state files, EKS clusters) must exist before creating the input source. Use `dependsOn` to ensure proper ordering.
|
|
39
|
-
*
|
|
40
38
|
* ## Example Usage
|
|
41
39
|
*
|
|
42
40
|
* ### CloudFormation Stack
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2inputSource.js","sourceRoot":"","sources":["../../resiliencehub/v2inputSource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"v2inputSource.js","sourceRoot":"","sources":["../../resiliencehub/v2inputSource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,+CAA+C,CAAC;IAEtF;;;OAGG;IACI,M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,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA/EL,sCAgFC"}
|
|
@@ -52,6 +52,25 @@ import * as outputs from "../types/output";
|
|
|
52
52
|
* });
|
|
53
53
|
* ```
|
|
54
54
|
*
|
|
55
|
+
* ### With Associated Systems
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as aws from "@pulumi/aws";
|
|
60
|
+
*
|
|
61
|
+
* const example = new aws.resiliencehub.V2System("example", {name: "example-system"});
|
|
62
|
+
* const exampleV2Service = new aws.resiliencehub.V2Service("example", {
|
|
63
|
+
* name: "example-service",
|
|
64
|
+
* regions: ["us-west-2"],
|
|
65
|
+
* permissionModel: {
|
|
66
|
+
* invokerRoleName: "AWSResilienceHubAssessmentRole",
|
|
67
|
+
* },
|
|
68
|
+
* associatedSystems: [{
|
|
69
|
+
* systemArn: example.arn,
|
|
70
|
+
* }],
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
55
74
|
* ## Import
|
|
56
75
|
*
|
|
57
76
|
* ### Identity Schema
|
|
@@ -86,6 +105,10 @@ export declare class V2Service extends pulumi.CustomResource {
|
|
|
86
105
|
* ARN of the service.
|
|
87
106
|
*/
|
|
88
107
|
readonly arn: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Systems to associate with the service. See `associatedSystem` Block below.
|
|
110
|
+
*/
|
|
111
|
+
readonly associatedSystems: pulumi.Output<outputs.resiliencehub.V2ServiceAssociatedSystem[] | undefined>;
|
|
89
112
|
/**
|
|
90
113
|
* Dependency discovery. Valid values: `ENABLED`, `DISABLED`.
|
|
91
114
|
*/
|
|
@@ -149,6 +172,10 @@ export interface V2ServiceState {
|
|
|
149
172
|
* ARN of the service.
|
|
150
173
|
*/
|
|
151
174
|
arn?: pulumi.Input<string | undefined>;
|
|
175
|
+
/**
|
|
176
|
+
* Systems to associate with the service. See `associatedSystem` Block below.
|
|
177
|
+
*/
|
|
178
|
+
associatedSystems?: pulumi.Input<pulumi.Input<inputs.resiliencehub.V2ServiceAssociatedSystem>[] | undefined>;
|
|
152
179
|
/**
|
|
153
180
|
* Dependency discovery. Valid values: `ENABLED`, `DISABLED`.
|
|
154
181
|
*/
|
|
@@ -200,6 +227,10 @@ export interface V2ServiceState {
|
|
|
200
227
|
* The set of arguments for constructing a V2Service resource.
|
|
201
228
|
*/
|
|
202
229
|
export interface V2ServiceArgs {
|
|
230
|
+
/**
|
|
231
|
+
* Systems to associate with the service. See `associatedSystem` Block below.
|
|
232
|
+
*/
|
|
233
|
+
associatedSystems?: pulumi.Input<pulumi.Input<inputs.resiliencehub.V2ServiceAssociatedSystem>[] | undefined>;
|
|
203
234
|
/**
|
|
204
235
|
* Dependency discovery. Valid values: `ENABLED`, `DISABLED`.
|
|
205
236
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2service.d.ts","sourceRoot":"","sources":["../../resiliencehub/v2service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C
|
|
1
|
+
{"version":3,"file":"v2service.d.ts","sourceRoot":"","sources":["../../resiliencehub/v2service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC,aAAa,CAAC,wBAAwB,CAAC,CAAC;IAC7E;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC9C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;CAC1E"}
|
|
@@ -79,6 +79,25 @@ const utilities = __importStar(require("../utilities"));
|
|
|
79
79
|
* });
|
|
80
80
|
* ```
|
|
81
81
|
*
|
|
82
|
+
* ### With Associated Systems
|
|
83
|
+
*
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as aws from "@pulumi/aws";
|
|
87
|
+
*
|
|
88
|
+
* const example = new aws.resiliencehub.V2System("example", {name: "example-system"});
|
|
89
|
+
* const exampleV2Service = new aws.resiliencehub.V2Service("example", {
|
|
90
|
+
* name: "example-service",
|
|
91
|
+
* regions: ["us-west-2"],
|
|
92
|
+
* permissionModel: {
|
|
93
|
+
* invokerRoleName: "AWSResilienceHubAssessmentRole",
|
|
94
|
+
* },
|
|
95
|
+
* associatedSystems: [{
|
|
96
|
+
* systemArn: example.arn,
|
|
97
|
+
* }],
|
|
98
|
+
* });
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
82
101
|
* ## Import
|
|
83
102
|
*
|
|
84
103
|
* ### Identity Schema
|
|
@@ -124,6 +143,7 @@ class V2Service extends pulumi.CustomResource {
|
|
|
124
143
|
if (opts.id) {
|
|
125
144
|
const state = argsOrState;
|
|
126
145
|
resourceInputs["arn"] = state?.arn;
|
|
146
|
+
resourceInputs["associatedSystems"] = state?.associatedSystems;
|
|
127
147
|
resourceInputs["dependencyDiscovery"] = state?.dependencyDiscovery;
|
|
128
148
|
resourceInputs["description"] = state?.description;
|
|
129
149
|
resourceInputs["kmsKeyId"] = state?.kmsKeyId;
|
|
@@ -143,6 +163,7 @@ class V2Service extends pulumi.CustomResource {
|
|
|
143
163
|
if (args?.regions === undefined && !opts.urn) {
|
|
144
164
|
throw new Error("Missing required property 'regions'");
|
|
145
165
|
}
|
|
166
|
+
resourceInputs["associatedSystems"] = args?.associatedSystems;
|
|
146
167
|
resourceInputs["dependencyDiscovery"] = args?.dependencyDiscovery;
|
|
147
168
|
resourceInputs["description"] = args?.description;
|
|
148
169
|
resourceInputs["kmsKeyId"] = args?.kmsKeyId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2service.js","sourceRoot":"","sources":["../../resiliencehub/v2service.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"v2service.js","sourceRoot":"","sources":["../../resiliencehub/v2service.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG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,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA/HL,8BAgIC"}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for managing an AWS Resilience Hub V2 Service Function.
|
|
4
|
+
*
|
|
5
|
+
* A service function represents a technical subset of the service topology that represents a specific workflow within a service. For example, an authentication service might have separate service functions for "SSO sign-in" and "Registration".
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Basic Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const example = new aws.resiliencehub.V2ServiceFunction("example", {
|
|
16
|
+
* serviceArn: exampleAwsResiliencehubv2Service.arn,
|
|
17
|
+
* name: "example-function",
|
|
18
|
+
* criticality: "PRIMARY",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ### With Description
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as aws from "@pulumi/aws";
|
|
27
|
+
*
|
|
28
|
+
* const example = new aws.resiliencehub.V2ServiceFunction("example", {
|
|
29
|
+
* serviceArn: exampleAwsResiliencehubv2Service.arn,
|
|
30
|
+
* name: "payment-processing",
|
|
31
|
+
* description: "Handles payment transaction processing",
|
|
32
|
+
* criticality: "PRIMARY",
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* ### Identity Schema
|
|
39
|
+
*
|
|
40
|
+
* #### Required
|
|
41
|
+
*
|
|
42
|
+
* * `serviceArn` (String) ARN of the service this service function belongs to.
|
|
43
|
+
* * `serviceFunctionId` (String) Unique identifier of the service function.
|
|
44
|
+
*
|
|
45
|
+
* #### Optional
|
|
46
|
+
*
|
|
47
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
48
|
+
* * `region` (String) Region where this resource is managed.
|
|
49
|
+
*
|
|
50
|
+
* Using `pulumi import`, import Resilience Hub V2 Service Function using the `serviceArn` and `serviceFunctionId` separated by a comma (`,`). For example:
|
|
51
|
+
*
|
|
52
|
+
* ```sh
|
|
53
|
+
* $ pulumi import aws:resiliencehub/v2ServiceFunction:V2ServiceFunction example arn:aws:resiliencehub:us-west-2:123456789012:service/example-service:abc123,12345678-1234-1234-1234-123456789012
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare class V2ServiceFunction extends pulumi.CustomResource {
|
|
57
|
+
/**
|
|
58
|
+
* Get an existing V2ServiceFunction resource's state with the given name, ID, and optional extra
|
|
59
|
+
* properties used to qualify the lookup.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resulting resource.
|
|
62
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
63
|
+
* @param state Any extra arguments used during the lookup.
|
|
64
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
65
|
+
*/
|
|
66
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: V2ServiceFunctionState, opts?: pulumi.CustomResourceOptions): V2ServiceFunction;
|
|
67
|
+
/**
|
|
68
|
+
* Returns true if the given object is an instance of V2ServiceFunction. This is designed to work even
|
|
69
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
70
|
+
*/
|
|
71
|
+
static isInstance(obj: any): obj is V2ServiceFunction;
|
|
72
|
+
/**
|
|
73
|
+
* Criticality level of the service function. Valid values: `PRIMARY`, `SUPPLEMENTAL`.
|
|
74
|
+
*/
|
|
75
|
+
readonly criticality: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Description of the service function.
|
|
78
|
+
*/
|
|
79
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* Name of the service function.
|
|
82
|
+
*/
|
|
83
|
+
readonly name: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
86
|
+
*/
|
|
87
|
+
readonly region: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* ARN of the service this function belongs to. Changing this value requires creating a new resource.
|
|
90
|
+
*
|
|
91
|
+
* The following arguments are optional:
|
|
92
|
+
*/
|
|
93
|
+
readonly serviceArn: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Unique identifier of the service function.
|
|
96
|
+
*/
|
|
97
|
+
readonly serviceFunctionId: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Create a V2ServiceFunction resource with the given unique name, arguments, and options.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resource.
|
|
102
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
103
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
104
|
+
*/
|
|
105
|
+
constructor(name: string, args: V2ServiceFunctionArgs, opts?: pulumi.CustomResourceOptions);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Input properties used for looking up and filtering V2ServiceFunction resources.
|
|
109
|
+
*/
|
|
110
|
+
export interface V2ServiceFunctionState {
|
|
111
|
+
/**
|
|
112
|
+
* Criticality level of the service function. Valid values: `PRIMARY`, `SUPPLEMENTAL`.
|
|
113
|
+
*/
|
|
114
|
+
criticality?: pulumi.Input<string | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* Description of the service function.
|
|
117
|
+
*/
|
|
118
|
+
description?: pulumi.Input<string | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* Name of the service function.
|
|
121
|
+
*/
|
|
122
|
+
name?: pulumi.Input<string | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
125
|
+
*/
|
|
126
|
+
region?: pulumi.Input<string | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* ARN of the service this function belongs to. Changing this value requires creating a new resource.
|
|
129
|
+
*
|
|
130
|
+
* The following arguments are optional:
|
|
131
|
+
*/
|
|
132
|
+
serviceArn?: pulumi.Input<string | undefined>;
|
|
133
|
+
/**
|
|
134
|
+
* Unique identifier of the service function.
|
|
135
|
+
*/
|
|
136
|
+
serviceFunctionId?: pulumi.Input<string | undefined>;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The set of arguments for constructing a V2ServiceFunction resource.
|
|
140
|
+
*/
|
|
141
|
+
export interface V2ServiceFunctionArgs {
|
|
142
|
+
/**
|
|
143
|
+
* Criticality level of the service function. Valid values: `PRIMARY`, `SUPPLEMENTAL`.
|
|
144
|
+
*/
|
|
145
|
+
criticality: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Description of the service function.
|
|
148
|
+
*/
|
|
149
|
+
description?: pulumi.Input<string | undefined>;
|
|
150
|
+
/**
|
|
151
|
+
* Name of the service function.
|
|
152
|
+
*/
|
|
153
|
+
name?: pulumi.Input<string | undefined>;
|
|
154
|
+
/**
|
|
155
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
156
|
+
*/
|
|
157
|
+
region?: pulumi.Input<string | undefined>;
|
|
158
|
+
/**
|
|
159
|
+
* ARN of the service this function belongs to. Changing this value requires creating a new resource.
|
|
160
|
+
*
|
|
161
|
+
* The following arguments are optional:
|
|
162
|
+
*/
|
|
163
|
+
serviceArn: pulumi.Input<string>;
|
|
164
|
+
}
|
|
165
|
+
//# sourceMappingURL=v2serviceFunction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACxD;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.V2ServiceFunction = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Resource for managing an AWS Resilience Hub V2 Service Function.
|
|
33
|
+
*
|
|
34
|
+
* A service function represents a technical subset of the service topology that represents a specific workflow within a service. For example, an authentication service might have separate service functions for "SSO sign-in" and "Registration".
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ### Basic Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as aws from "@pulumi/aws";
|
|
43
|
+
*
|
|
44
|
+
* const example = new aws.resiliencehub.V2ServiceFunction("example", {
|
|
45
|
+
* serviceArn: exampleAwsResiliencehubv2Service.arn,
|
|
46
|
+
* name: "example-function",
|
|
47
|
+
* criticality: "PRIMARY",
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* ### With Description
|
|
52
|
+
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as aws from "@pulumi/aws";
|
|
56
|
+
*
|
|
57
|
+
* const example = new aws.resiliencehub.V2ServiceFunction("example", {
|
|
58
|
+
* serviceArn: exampleAwsResiliencehubv2Service.arn,
|
|
59
|
+
* name: "payment-processing",
|
|
60
|
+
* description: "Handles payment transaction processing",
|
|
61
|
+
* criticality: "PRIMARY",
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* ## Import
|
|
66
|
+
*
|
|
67
|
+
* ### Identity Schema
|
|
68
|
+
*
|
|
69
|
+
* #### Required
|
|
70
|
+
*
|
|
71
|
+
* * `serviceArn` (String) ARN of the service this service function belongs to.
|
|
72
|
+
* * `serviceFunctionId` (String) Unique identifier of the service function.
|
|
73
|
+
*
|
|
74
|
+
* #### Optional
|
|
75
|
+
*
|
|
76
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
77
|
+
* * `region` (String) Region where this resource is managed.
|
|
78
|
+
*
|
|
79
|
+
* Using `pulumi import`, import Resilience Hub V2 Service Function using the `serviceArn` and `serviceFunctionId` separated by a comma (`,`). For example:
|
|
80
|
+
*
|
|
81
|
+
* ```sh
|
|
82
|
+
* $ pulumi import aws:resiliencehub/v2ServiceFunction:V2ServiceFunction example arn:aws:resiliencehub:us-west-2:123456789012:service/example-service:abc123,12345678-1234-1234-1234-123456789012
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
class V2ServiceFunction extends pulumi.CustomResource {
|
|
86
|
+
/**
|
|
87
|
+
* Get an existing V2ServiceFunction resource's state with the given name, ID, and optional extra
|
|
88
|
+
* properties used to qualify the lookup.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resulting resource.
|
|
91
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
92
|
+
* @param state Any extra arguments used during the lookup.
|
|
93
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
94
|
+
*/
|
|
95
|
+
static get(name, id, state, opts) {
|
|
96
|
+
return new V2ServiceFunction(name, state, { ...opts, id: id });
|
|
97
|
+
}
|
|
98
|
+
/** @internal */
|
|
99
|
+
static __pulumiType = 'aws:resiliencehub/v2ServiceFunction:V2ServiceFunction';
|
|
100
|
+
/**
|
|
101
|
+
* Returns true if the given object is an instance of V2ServiceFunction. This is designed to work even
|
|
102
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
103
|
+
*/
|
|
104
|
+
static isInstance(obj) {
|
|
105
|
+
if (obj === undefined || obj === null) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
return obj['__pulumiType'] === V2ServiceFunction.__pulumiType;
|
|
109
|
+
}
|
|
110
|
+
constructor(name, argsOrState, opts) {
|
|
111
|
+
let resourceInputs = {};
|
|
112
|
+
opts = opts || {};
|
|
113
|
+
if (opts.id) {
|
|
114
|
+
const state = argsOrState;
|
|
115
|
+
resourceInputs["criticality"] = state?.criticality;
|
|
116
|
+
resourceInputs["description"] = state?.description;
|
|
117
|
+
resourceInputs["name"] = state?.name;
|
|
118
|
+
resourceInputs["region"] = state?.region;
|
|
119
|
+
resourceInputs["serviceArn"] = state?.serviceArn;
|
|
120
|
+
resourceInputs["serviceFunctionId"] = state?.serviceFunctionId;
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
const args = argsOrState;
|
|
124
|
+
if (args?.criticality === undefined && !opts.urn) {
|
|
125
|
+
throw new Error("Missing required property 'criticality'");
|
|
126
|
+
}
|
|
127
|
+
if (args?.serviceArn === undefined && !opts.urn) {
|
|
128
|
+
throw new Error("Missing required property 'serviceArn'");
|
|
129
|
+
}
|
|
130
|
+
resourceInputs["criticality"] = args?.criticality;
|
|
131
|
+
resourceInputs["description"] = args?.description;
|
|
132
|
+
resourceInputs["name"] = args?.name;
|
|
133
|
+
resourceInputs["region"] = args?.region;
|
|
134
|
+
resourceInputs["serviceArn"] = args?.serviceArn;
|
|
135
|
+
resourceInputs["serviceFunctionId"] = undefined /*out*/;
|
|
136
|
+
}
|
|
137
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
138
|
+
super(V2ServiceFunction.__pulumiType, name, resourceInputs, opts);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
exports.V2ServiceFunction = V2ServiceFunction;
|
|
142
|
+
//# sourceMappingURL=v2serviceFunction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2serviceFunction.js","sourceRoot":"","sources":["../../resiliencehub/v2serviceFunction.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,uDAAuD,CAAC;IAE9F;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SA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