@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,172 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for managing an AWS Resilience Hub V2 User Journey.
|
|
4
|
+
*
|
|
5
|
+
* A user journey describes a critical end-user path or business capability within a system (e.g., "Path to purchase", "Order fulfillment"). User journeys reference services and can have resilience policies applied at the journey level.
|
|
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.V2System("example", {name: "example-system"});
|
|
16
|
+
* const exampleV2UserJourney = new aws.resiliencehub.V2UserJourney("example", {
|
|
17
|
+
* systemArn: example.arn,
|
|
18
|
+
* name: "example-user-journey",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ### With Policy
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as aws from "@pulumi/aws";
|
|
27
|
+
*
|
|
28
|
+
* const example = new aws.resiliencehub.V2System("example", {name: "example-system"});
|
|
29
|
+
* const exampleV2Policy = new aws.resiliencehub.V2Policy("example", {
|
|
30
|
+
* name: "example-policy",
|
|
31
|
+
* availabilitySlo: {
|
|
32
|
+
* target: 99.9,
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* const exampleV2UserJourney = new aws.resiliencehub.V2UserJourney("example", {
|
|
36
|
+
* systemArn: example.arn,
|
|
37
|
+
* name: "checkout-flow",
|
|
38
|
+
* description: "End-to-end checkout user journey",
|
|
39
|
+
* policyArn: exampleV2Policy.arn,
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* ## Import
|
|
44
|
+
*
|
|
45
|
+
* ### Identity Schema
|
|
46
|
+
*
|
|
47
|
+
* #### Required
|
|
48
|
+
*
|
|
49
|
+
* * `systemArn` (String) ARN of the system this user journey belongs to.
|
|
50
|
+
* * `userJourneyId` (String) Unique identifier of the user journey.
|
|
51
|
+
*
|
|
52
|
+
* #### Optional
|
|
53
|
+
*
|
|
54
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
55
|
+
* * `region` (String) Region where this resource is managed.
|
|
56
|
+
*
|
|
57
|
+
* Using `pulumi import`, import Resilience Hub V2 User Journey using the `systemArn` and `userJourneyId` separated by a comma (`,`). For example:
|
|
58
|
+
*
|
|
59
|
+
* ```sh
|
|
60
|
+
* $ pulumi import aws:resiliencehub/v2UserJourney:V2UserJourney example arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123,12345678-1234-1234-1234-123456789012
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare class V2UserJourney extends pulumi.CustomResource {
|
|
64
|
+
/**
|
|
65
|
+
* Get an existing V2UserJourney resource's state with the given name, ID, and optional extra
|
|
66
|
+
* properties used to qualify the lookup.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resulting resource.
|
|
69
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
70
|
+
* @param state Any extra arguments used during the lookup.
|
|
71
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
72
|
+
*/
|
|
73
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: V2UserJourneyState, opts?: pulumi.CustomResourceOptions): V2UserJourney;
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if the given object is an instance of V2UserJourney. This is designed to work even
|
|
76
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
77
|
+
*/
|
|
78
|
+
static isInstance(obj: any): obj is V2UserJourney;
|
|
79
|
+
/**
|
|
80
|
+
* Description of the user journey.
|
|
81
|
+
*/
|
|
82
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* Name of the user journey.
|
|
85
|
+
*/
|
|
86
|
+
readonly name: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* ARN of the resilience policy to associate with this user journey.
|
|
89
|
+
*/
|
|
90
|
+
readonly policyArn: pulumi.Output<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* 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.
|
|
93
|
+
*/
|
|
94
|
+
readonly region: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* ARN of the system this user journey belongs to. Changing this value requires creating a new resource.
|
|
97
|
+
*
|
|
98
|
+
* The following arguments are optional:
|
|
99
|
+
*/
|
|
100
|
+
readonly systemArn: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Unique identifier of the user journey.
|
|
103
|
+
*/
|
|
104
|
+
readonly userJourneyId: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Create a V2UserJourney resource with the given unique name, arguments, and options.
|
|
107
|
+
*
|
|
108
|
+
* @param name The _unique_ name of the resource.
|
|
109
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
110
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
111
|
+
*/
|
|
112
|
+
constructor(name: string, args: V2UserJourneyArgs, opts?: pulumi.CustomResourceOptions);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Input properties used for looking up and filtering V2UserJourney resources.
|
|
116
|
+
*/
|
|
117
|
+
export interface V2UserJourneyState {
|
|
118
|
+
/**
|
|
119
|
+
* Description of the user journey.
|
|
120
|
+
*/
|
|
121
|
+
description?: pulumi.Input<string | undefined>;
|
|
122
|
+
/**
|
|
123
|
+
* Name of the user journey.
|
|
124
|
+
*/
|
|
125
|
+
name?: pulumi.Input<string | undefined>;
|
|
126
|
+
/**
|
|
127
|
+
* ARN of the resilience policy to associate with this user journey.
|
|
128
|
+
*/
|
|
129
|
+
policyArn?: pulumi.Input<string | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* 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.
|
|
132
|
+
*/
|
|
133
|
+
region?: pulumi.Input<string | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* ARN of the system this user journey belongs to. Changing this value requires creating a new resource.
|
|
136
|
+
*
|
|
137
|
+
* The following arguments are optional:
|
|
138
|
+
*/
|
|
139
|
+
systemArn?: pulumi.Input<string | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* Unique identifier of the user journey.
|
|
142
|
+
*/
|
|
143
|
+
userJourneyId?: pulumi.Input<string | undefined>;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* The set of arguments for constructing a V2UserJourney resource.
|
|
147
|
+
*/
|
|
148
|
+
export interface V2UserJourneyArgs {
|
|
149
|
+
/**
|
|
150
|
+
* Description of the user journey.
|
|
151
|
+
*/
|
|
152
|
+
description?: pulumi.Input<string | undefined>;
|
|
153
|
+
/**
|
|
154
|
+
* Name of the user journey.
|
|
155
|
+
*/
|
|
156
|
+
name?: pulumi.Input<string | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* ARN of the resilience policy to associate with this user journey.
|
|
159
|
+
*/
|
|
160
|
+
policyArn?: pulumi.Input<string | undefined>;
|
|
161
|
+
/**
|
|
162
|
+
* 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.
|
|
163
|
+
*/
|
|
164
|
+
region?: pulumi.Input<string | undefined>;
|
|
165
|
+
/**
|
|
166
|
+
* ARN of the system this user journey belongs to. Changing this value requires creating a new resource.
|
|
167
|
+
*
|
|
168
|
+
* The following arguments are optional:
|
|
169
|
+
*/
|
|
170
|
+
systemArn: pulumi.Input<string>;
|
|
171
|
+
}
|
|
172
|
+
//# sourceMappingURL=v2userJourney.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2userJourney.d.ts","sourceRoot":"","sources":["../../resiliencehub/v2userJourney.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;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,qBAAqB,GAAG,aAAa;IAO5I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,aAAa;IAOxD;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,SAAwB,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C,CAAC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
|
|
@@ -0,0 +1,146 @@
|
|
|
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.V2UserJourney = 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 User Journey.
|
|
33
|
+
*
|
|
34
|
+
* A user journey describes a critical end-user path or business capability within a system (e.g., "Path to purchase", "Order fulfillment"). User journeys reference services and can have resilience policies applied at the journey level.
|
|
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.V2System("example", {name: "example-system"});
|
|
45
|
+
* const exampleV2UserJourney = new aws.resiliencehub.V2UserJourney("example", {
|
|
46
|
+
* systemArn: example.arn,
|
|
47
|
+
* name: "example-user-journey",
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* ### With Policy
|
|
52
|
+
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as aws from "@pulumi/aws";
|
|
56
|
+
*
|
|
57
|
+
* const example = new aws.resiliencehub.V2System("example", {name: "example-system"});
|
|
58
|
+
* const exampleV2Policy = new aws.resiliencehub.V2Policy("example", {
|
|
59
|
+
* name: "example-policy",
|
|
60
|
+
* availabilitySlo: {
|
|
61
|
+
* target: 99.9,
|
|
62
|
+
* },
|
|
63
|
+
* });
|
|
64
|
+
* const exampleV2UserJourney = new aws.resiliencehub.V2UserJourney("example", {
|
|
65
|
+
* systemArn: example.arn,
|
|
66
|
+
* name: "checkout-flow",
|
|
67
|
+
* description: "End-to-end checkout user journey",
|
|
68
|
+
* policyArn: exampleV2Policy.arn,
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* ## Import
|
|
73
|
+
*
|
|
74
|
+
* ### Identity Schema
|
|
75
|
+
*
|
|
76
|
+
* #### Required
|
|
77
|
+
*
|
|
78
|
+
* * `systemArn` (String) ARN of the system this user journey belongs to.
|
|
79
|
+
* * `userJourneyId` (String) Unique identifier of the user journey.
|
|
80
|
+
*
|
|
81
|
+
* #### Optional
|
|
82
|
+
*
|
|
83
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
84
|
+
* * `region` (String) Region where this resource is managed.
|
|
85
|
+
*
|
|
86
|
+
* Using `pulumi import`, import Resilience Hub V2 User Journey using the `systemArn` and `userJourneyId` separated by a comma (`,`). For example:
|
|
87
|
+
*
|
|
88
|
+
* ```sh
|
|
89
|
+
* $ pulumi import aws:resiliencehub/v2UserJourney:V2UserJourney example arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123,12345678-1234-1234-1234-123456789012
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
class V2UserJourney extends pulumi.CustomResource {
|
|
93
|
+
/**
|
|
94
|
+
* Get an existing V2UserJourney resource's state with the given name, ID, and optional extra
|
|
95
|
+
* properties used to qualify the lookup.
|
|
96
|
+
*
|
|
97
|
+
* @param name The _unique_ name of the resulting resource.
|
|
98
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
99
|
+
* @param state Any extra arguments used during the lookup.
|
|
100
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
101
|
+
*/
|
|
102
|
+
static get(name, id, state, opts) {
|
|
103
|
+
return new V2UserJourney(name, state, { ...opts, id: id });
|
|
104
|
+
}
|
|
105
|
+
/** @internal */
|
|
106
|
+
static __pulumiType = 'aws:resiliencehub/v2UserJourney:V2UserJourney';
|
|
107
|
+
/**
|
|
108
|
+
* Returns true if the given object is an instance of V2UserJourney. This is designed to work even
|
|
109
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
110
|
+
*/
|
|
111
|
+
static isInstance(obj) {
|
|
112
|
+
if (obj === undefined || obj === null) {
|
|
113
|
+
return false;
|
|
114
|
+
}
|
|
115
|
+
return obj['__pulumiType'] === V2UserJourney.__pulumiType;
|
|
116
|
+
}
|
|
117
|
+
constructor(name, argsOrState, opts) {
|
|
118
|
+
let resourceInputs = {};
|
|
119
|
+
opts = opts || {};
|
|
120
|
+
if (opts.id) {
|
|
121
|
+
const state = argsOrState;
|
|
122
|
+
resourceInputs["description"] = state?.description;
|
|
123
|
+
resourceInputs["name"] = state?.name;
|
|
124
|
+
resourceInputs["policyArn"] = state?.policyArn;
|
|
125
|
+
resourceInputs["region"] = state?.region;
|
|
126
|
+
resourceInputs["systemArn"] = state?.systemArn;
|
|
127
|
+
resourceInputs["userJourneyId"] = state?.userJourneyId;
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
const args = argsOrState;
|
|
131
|
+
if (args?.systemArn === undefined && !opts.urn) {
|
|
132
|
+
throw new Error("Missing required property 'systemArn'");
|
|
133
|
+
}
|
|
134
|
+
resourceInputs["description"] = args?.description;
|
|
135
|
+
resourceInputs["name"] = args?.name;
|
|
136
|
+
resourceInputs["policyArn"] = args?.policyArn;
|
|
137
|
+
resourceInputs["region"] = args?.region;
|
|
138
|
+
resourceInputs["systemArn"] = args?.systemArn;
|
|
139
|
+
resourceInputs["userJourneyId"] = undefined /*out*/;
|
|
140
|
+
}
|
|
141
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
142
|
+
super(V2UserJourney.__pulumiType, name, resourceInputs, opts);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
exports.V2UserJourney = V2UserJourney;
|
|
146
|
+
//# sourceMappingURL=v2userJourney.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2userJourney.js","sourceRoot":"","sources":["../../resiliencehub/v2userJourney.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;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AE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,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;;AAxFL,sCAyFC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an opt-in [Security Hub V2](https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html) feature, such as network scanning (NetScan), for the calling account in the current AWS Region.
|
|
4
|
+
*
|
|
5
|
+
* > **NOTE:** Security Hub V2 must be enabled (see `aws.securityhub.AccountV2`) before you can enable a feature. Use `dependsOn` to ensure the correct ordering.
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** Deleting this resource does not disable the feature, the resource in simply removed from state instead.
|
|
8
|
+
*
|
|
9
|
+
* > **NOTE:** You cannot enable a feature that is managed by an organization policy.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.securityhub.AccountV2("example", {});
|
|
20
|
+
* const exampleFeatureV2 = new aws.securityhub.FeatureV2("example", {
|
|
21
|
+
* featureName: "NETWORK_SCANNING",
|
|
22
|
+
* featureStatus: "ENABLED",
|
|
23
|
+
* }, {
|
|
24
|
+
* dependsOn: [example],
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* ### Identity Schema
|
|
31
|
+
*
|
|
32
|
+
* #### Required
|
|
33
|
+
*
|
|
34
|
+
* * `featureName` (String) Name of the opt-in Security Hub V2 feature.
|
|
35
|
+
*
|
|
36
|
+
* #### Optional
|
|
37
|
+
*
|
|
38
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
39
|
+
* * `region` (String) Region where this resource is managed.
|
|
40
|
+
*
|
|
41
|
+
* Using `pulumi import`, import Security Hub V2 features using `featureName`. For example:
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import aws:securityhub/featureV2:FeatureV2 example NETWORK_SCANNING
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare class FeatureV2 extends pulumi.CustomResource {
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing FeatureV2 resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FeatureV2State, opts?: pulumi.CustomResourceOptions): FeatureV2;
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of FeatureV2. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj: any): obj is FeatureV2;
|
|
63
|
+
/**
|
|
64
|
+
* Name of the opt-in feature to enable. Valid values: `NETWORK_SCANNING`. Changing this forces a new resource to be created.
|
|
65
|
+
*/
|
|
66
|
+
readonly featureName: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Current enablement status of the feature. Valid values: `ENABLED`, `DISABLED`.
|
|
69
|
+
*/
|
|
70
|
+
readonly featureStatus: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* 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.
|
|
73
|
+
*/
|
|
74
|
+
readonly region: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Create a FeatureV2 resource with the given unique name, arguments, and options.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resource.
|
|
79
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
80
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
81
|
+
*/
|
|
82
|
+
constructor(name: string, args: FeatureV2Args, opts?: pulumi.CustomResourceOptions);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Input properties used for looking up and filtering FeatureV2 resources.
|
|
86
|
+
*/
|
|
87
|
+
export interface FeatureV2State {
|
|
88
|
+
/**
|
|
89
|
+
* Name of the opt-in feature to enable. Valid values: `NETWORK_SCANNING`. Changing this forces a new resource to be created.
|
|
90
|
+
*/
|
|
91
|
+
featureName?: pulumi.Input<string | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Current enablement status of the feature. Valid values: `ENABLED`, `DISABLED`.
|
|
94
|
+
*/
|
|
95
|
+
featureStatus?: pulumi.Input<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* 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.
|
|
98
|
+
*/
|
|
99
|
+
region?: pulumi.Input<string | undefined>;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* The set of arguments for constructing a FeatureV2 resource.
|
|
103
|
+
*/
|
|
104
|
+
export interface FeatureV2Args {
|
|
105
|
+
/**
|
|
106
|
+
* Name of the opt-in feature to enable. Valid values: `NETWORK_SCANNING`. Changing this forces a new resource to be created.
|
|
107
|
+
*/
|
|
108
|
+
featureName: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Current enablement status of the feature. Valid values: `ENABLED`, `DISABLED`.
|
|
111
|
+
*/
|
|
112
|
+
featureStatus: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* 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.
|
|
115
|
+
*/
|
|
116
|
+
region?: pulumi.Input<string | undefined>;
|
|
117
|
+
}
|
|
118
|
+
//# sourceMappingURL=featureV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"featureV2.d.ts","sourceRoot":"","sources":["../../securityhub/featureV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,qBAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,SAAS;IAOpI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,SAAS;IAOpD;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEtD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAwBrF;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C"}
|
|
@@ -0,0 +1,127 @@
|
|
|
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.FeatureV2 = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages an opt-in [Security Hub V2](https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html) feature, such as network scanning (NetScan), for the calling account in the current AWS Region.
|
|
33
|
+
*
|
|
34
|
+
* > **NOTE:** Security Hub V2 must be enabled (see `aws.securityhub.AccountV2`) before you can enable a feature. Use `dependsOn` to ensure the correct ordering.
|
|
35
|
+
*
|
|
36
|
+
* > **NOTE:** Deleting this resource does not disable the feature, the resource in simply removed from state instead.
|
|
37
|
+
*
|
|
38
|
+
* > **NOTE:** You cannot enable a feature that is managed by an organization policy.
|
|
39
|
+
*
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ### Basic
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as aws from "@pulumi/aws";
|
|
47
|
+
*
|
|
48
|
+
* const example = new aws.securityhub.AccountV2("example", {});
|
|
49
|
+
* const exampleFeatureV2 = new aws.securityhub.FeatureV2("example", {
|
|
50
|
+
* featureName: "NETWORK_SCANNING",
|
|
51
|
+
* featureStatus: "ENABLED",
|
|
52
|
+
* }, {
|
|
53
|
+
* dependsOn: [example],
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* ## Import
|
|
58
|
+
*
|
|
59
|
+
* ### Identity Schema
|
|
60
|
+
*
|
|
61
|
+
* #### Required
|
|
62
|
+
*
|
|
63
|
+
* * `featureName` (String) Name of the opt-in Security Hub V2 feature.
|
|
64
|
+
*
|
|
65
|
+
* #### Optional
|
|
66
|
+
*
|
|
67
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
68
|
+
* * `region` (String) Region where this resource is managed.
|
|
69
|
+
*
|
|
70
|
+
* Using `pulumi import`, import Security Hub V2 features using `featureName`. For example:
|
|
71
|
+
*
|
|
72
|
+
* ```sh
|
|
73
|
+
* $ pulumi import aws:securityhub/featureV2:FeatureV2 example NETWORK_SCANNING
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
class FeatureV2 extends pulumi.CustomResource {
|
|
77
|
+
/**
|
|
78
|
+
* Get an existing FeatureV2 resource's state with the given name, ID, and optional extra
|
|
79
|
+
* properties used to qualify the lookup.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resulting resource.
|
|
82
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
83
|
+
* @param state Any extra arguments used during the lookup.
|
|
84
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
85
|
+
*/
|
|
86
|
+
static get(name, id, state, opts) {
|
|
87
|
+
return new FeatureV2(name, state, { ...opts, id: id });
|
|
88
|
+
}
|
|
89
|
+
/** @internal */
|
|
90
|
+
static __pulumiType = 'aws:securityhub/featureV2:FeatureV2';
|
|
91
|
+
/**
|
|
92
|
+
* Returns true if the given object is an instance of FeatureV2. This is designed to work even
|
|
93
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
94
|
+
*/
|
|
95
|
+
static isInstance(obj) {
|
|
96
|
+
if (obj === undefined || obj === null) {
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
return obj['__pulumiType'] === FeatureV2.__pulumiType;
|
|
100
|
+
}
|
|
101
|
+
constructor(name, argsOrState, opts) {
|
|
102
|
+
let resourceInputs = {};
|
|
103
|
+
opts = opts || {};
|
|
104
|
+
if (opts.id) {
|
|
105
|
+
const state = argsOrState;
|
|
106
|
+
resourceInputs["featureName"] = state?.featureName;
|
|
107
|
+
resourceInputs["featureStatus"] = state?.featureStatus;
|
|
108
|
+
resourceInputs["region"] = state?.region;
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
const args = argsOrState;
|
|
112
|
+
if (args?.featureName === undefined && !opts.urn) {
|
|
113
|
+
throw new Error("Missing required property 'featureName'");
|
|
114
|
+
}
|
|
115
|
+
if (args?.featureStatus === undefined && !opts.urn) {
|
|
116
|
+
throw new Error("Missing required property 'featureStatus'");
|
|
117
|
+
}
|
|
118
|
+
resourceInputs["featureName"] = args?.featureName;
|
|
119
|
+
resourceInputs["featureStatus"] = args?.featureStatus;
|
|
120
|
+
resourceInputs["region"] = args?.region;
|
|
121
|
+
}
|
|
122
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
123
|
+
super(FeatureV2.__pulumiType, name, resourceInputs, opts);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.FeatureV2 = FeatureV2;
|
|
127
|
+
//# sourceMappingURL=featureV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1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AK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,IAAI,EAAE,aAAa,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAvEL,8BAwEC"}
|
package/securityhub/index.d.ts
CHANGED
|
@@ -25,6 +25,9 @@ export declare const ConfigurationPolicyAssociation: typeof import("./configurat
|
|
|
25
25
|
export { ConnectorV2Args, ConnectorV2State } from "./connectorV2";
|
|
26
26
|
export type ConnectorV2 = import("./connectorV2").ConnectorV2;
|
|
27
27
|
export declare const ConnectorV2: typeof import("./connectorV2").ConnectorV2;
|
|
28
|
+
export { FeatureV2Args, FeatureV2State } from "./featureV2";
|
|
29
|
+
export type FeatureV2 = import("./featureV2").FeatureV2;
|
|
30
|
+
export declare const FeatureV2: typeof import("./featureV2").FeatureV2;
|
|
28
31
|
export { FindingAggregatorArgs, FindingAggregatorState } from "./findingAggregator";
|
|
29
32
|
export type FindingAggregator = import("./findingAggregator").FindingAggregator;
|
|
30
33
|
export declare const FindingAggregator: typeof import("./findingAggregator").FindingAggregator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../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AC7E,eAAO,MAAM,gBAAgB,EAAE,cAAc,oBAAoB,EAAE,gBAA8B,CAAC;AAGlG,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AAClH,MAAM,MAAM,2BAA2B,GAAG,OAAO,+BAA+B,EAAE,2BAA2B,CAAC;AAC9G,eAAO,MAAM,2BAA2B,EAAE,cAAc,+BAA+B,EAAE,2BAAyC,CAAC;AAGnI,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAChG,MAAM,MAAM,qBAAqB,GAAG,OAAO,yBAAyB,EAAE,qBAAqB,CAAC;AAC5F,eAAO,MAAM,qBAAqB,EAAE,cAAc,yBAAyB,EAAE,qBAAmC,CAAC"}
|
package/securityhub/index.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.StandardsSubscription = exports.StandardsControlAssociation = exports.StandardsControl = exports.ProductSubscription = exports.OrganizationConfiguration = exports.OrganizationAdminAccount = exports.Member = exports.InviteAccepter = exports.Insight = exports.getStandardsControlAssociationsOutput = exports.getStandardsControlAssociations = exports.getSecurityControlsOutput = exports.getSecurityControls = exports.getEnabledStandardsOutput = exports.getEnabledStandards = exports.FindingAggregator = exports.ConnectorV2 = exports.ConfigurationPolicyAssociation = exports.ConfigurationPolicy = exports.AutomationRuleV2 = exports.AutomationRule = exports.AggregatorV2 = exports.ActionTarget = exports.AccountV2 = exports.Account = void 0;
|
|
28
|
+
exports.StandardsSubscription = exports.StandardsControlAssociation = exports.StandardsControl = exports.ProductSubscription = exports.OrganizationConfiguration = exports.OrganizationAdminAccount = exports.Member = exports.InviteAccepter = exports.Insight = exports.getStandardsControlAssociationsOutput = exports.getStandardsControlAssociations = exports.getSecurityControlsOutput = exports.getSecurityControls = exports.getEnabledStandardsOutput = exports.getEnabledStandards = exports.FindingAggregator = exports.FeatureV2 = exports.ConnectorV2 = exports.ConfigurationPolicyAssociation = exports.ConfigurationPolicy = exports.AutomationRuleV2 = exports.AutomationRule = exports.AggregatorV2 = exports.ActionTarget = exports.AccountV2 = exports.Account = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../utilities"));
|
|
31
31
|
exports.Account = null;
|
|
@@ -46,6 +46,8 @@ exports.ConfigurationPolicyAssociation = null;
|
|
|
46
46
|
utilities.lazyLoad(exports, ["ConfigurationPolicyAssociation"], () => require("./configurationPolicyAssociation"));
|
|
47
47
|
exports.ConnectorV2 = null;
|
|
48
48
|
utilities.lazyLoad(exports, ["ConnectorV2"], () => require("./connectorV2"));
|
|
49
|
+
exports.FeatureV2 = null;
|
|
50
|
+
utilities.lazyLoad(exports, ["FeatureV2"], () => require("./featureV2"));
|
|
49
51
|
exports.FindingAggregator = null;
|
|
50
52
|
utilities.lazyLoad(exports, ["FindingAggregator"], () => require("./findingAggregator"));
|
|
51
53
|
exports.getEnabledStandards = null;
|
|
@@ -97,6 +99,8 @@ const _module = {
|
|
|
97
99
|
return new exports.ConfigurationPolicyAssociation(name, undefined, { urn });
|
|
98
100
|
case "aws:securityhub/connectorV2:ConnectorV2":
|
|
99
101
|
return new exports.ConnectorV2(name, undefined, { urn });
|
|
102
|
+
case "aws:securityhub/featureV2:FeatureV2":
|
|
103
|
+
return new exports.FeatureV2(name, undefined, { urn });
|
|
100
104
|
case "aws:securityhub/findingAggregator:FindingAggregator":
|
|
101
105
|
return new exports.FindingAggregator(name, undefined, { urn });
|
|
102
106
|
case "aws:securityhub/insight:Insight":
|
|
@@ -131,6 +135,7 @@ pulumi.runtime.registerResourceModule("aws", "securityhub/automationRuleV2", _mo
|
|
|
131
135
|
pulumi.runtime.registerResourceModule("aws", "securityhub/configurationPolicy", _module);
|
|
132
136
|
pulumi.runtime.registerResourceModule("aws", "securityhub/configurationPolicyAssociation", _module);
|
|
133
137
|
pulumi.runtime.registerResourceModule("aws", "securityhub/connectorV2", _module);
|
|
138
|
+
pulumi.runtime.registerResourceModule("aws", "securityhub/featureV2", _module);
|
|
134
139
|
pulumi.runtime.registerResourceModule("aws", "securityhub/findingAggregator", _module);
|
|
135
140
|
pulumi.runtime.registerResourceModule("aws", "securityhub/insight", _module);
|
|
136
141
|
pulumi.runtime.registerResourceModule("aws", "securityhub/inviteAccepter", _module);
|