@pulumi/aws-native 1.31.0-alpha.1750138530 → 1.31.0-alpha.1750422093
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/accessanalyzer/analyzer.d.ts +2 -2
- package/amplify/app.d.ts +8 -0
- package/amplify/app.js +2 -0
- package/amplify/app.js.map +1 -1
- package/amplify/getApp.d.ts +4 -0
- package/amplify/getApp.js.map +1 -1
- package/bedrock/getGuardrail.d.ts +1 -0
- package/bedrock/getGuardrail.js.map +1 -1
- package/bedrock/guardrail.d.ts +2 -0
- package/bedrock/guardrail.js +2 -0
- package/bedrock/guardrail.js.map +1 -1
- package/cleanrooms/collaboration.d.ts +4 -4
- package/cleanrooms/collaboration.js +0 -6
- package/cleanrooms/collaboration.js.map +1 -1
- package/connect/evaluationForm.d.ts +2 -0
- package/connect/evaluationForm.js +2 -0
- package/connect/evaluationForm.js.map +1 -1
- package/connect/getEvaluationForm.d.ts +1 -0
- package/connect/getEvaluationForm.js.map +1 -1
- package/customerprofiles/calculatedAttributeDefinition.d.ts +13 -0
- package/customerprofiles/calculatedAttributeDefinition.js +7 -1
- package/customerprofiles/calculatedAttributeDefinition.js.map +1 -1
- package/customerprofiles/getCalculatedAttributeDefinition.d.ts +5 -0
- package/customerprofiles/getCalculatedAttributeDefinition.js.map +1 -1
- package/customerprofiles/getObjectType.d.ts +8 -0
- package/customerprofiles/getObjectType.js.map +1 -1
- package/customerprofiles/objectType.d.ts +12 -0
- package/customerprofiles/objectType.js +4 -0
- package/customerprofiles/objectType.js.map +1 -1
- package/ec2/getTrafficMirrorFilter.d.ts +37 -0
- package/ec2/getTrafficMirrorFilter.js +28 -0
- package/ec2/getTrafficMirrorFilter.js.map +1 -0
- package/ec2/index.d.ts +6 -0
- package/ec2/index.js +11 -4
- package/ec2/index.js.map +1 -1
- package/ec2/trafficMirrorFilter.d.ts +64 -0
- package/ec2/trafficMirrorFilter.js +64 -0
- package/ec2/trafficMirrorFilter.js.map +1 -0
- package/inspectorv2/filter.d.ts +6 -0
- package/inspectorv2/filter.js +2 -0
- package/inspectorv2/filter.js.map +1 -1
- package/inspectorv2/getFilter.d.ts +3 -0
- package/inspectorv2/getFilter.js.map +1 -1
- package/mediatailor/getPlaybackConfiguration.d.ts +4 -0
- package/mediatailor/getPlaybackConfiguration.js.map +1 -1
- package/mediatailor/playbackConfiguration.d.ts +8 -0
- package/mediatailor/playbackConfiguration.js +2 -0
- package/mediatailor/playbackConfiguration.js.map +1 -1
- package/opsworkscm/server.d.ts +2 -2
- package/organizations/policy.d.ts +2 -2
- package/package.json +3 -3
- package/package.json.dev +2 -2
- package/rds/dbCluster.d.ts +4 -4
- package/rds/dbInstance.d.ts +2 -2
- package/rds/getDbCluster.d.ts +2 -2
- package/rds/getDbInstance.d.ts +1 -1
- package/redshiftserverless/getSnapshot.d.ts +36 -0
- package/redshiftserverless/getSnapshot.js +28 -0
- package/redshiftserverless/getSnapshot.js.map +1 -0
- package/redshiftserverless/index.d.ts +6 -0
- package/redshiftserverless/index.js +8 -1
- package/redshiftserverless/index.js.map +1 -1
- package/redshiftserverless/snapshot.d.ts +75 -0
- package/redshiftserverless/snapshot.js +68 -0
- package/redshiftserverless/snapshot.js.map +1 -0
- package/securityhub/aggregatorV2.d.ts +64 -0
- package/securityhub/aggregatorV2.js +70 -0
- package/securityhub/aggregatorV2.js.map +1 -0
- package/securityhub/automationRuleV2.d.ts +94 -0
- package/securityhub/automationRuleV2.js +91 -0
- package/securityhub/automationRuleV2.js.map +1 -0
- package/securityhub/getAggregatorV2.d.ts +43 -0
- package/securityhub/getAggregatorV2.js +28 -0
- package/securityhub/getAggregatorV2.js.map +1 -0
- package/securityhub/getAutomationRuleV2.d.ts +59 -0
- package/securityhub/getAutomationRuleV2.js +28 -0
- package/securityhub/getAutomationRuleV2.js.map +1 -0
- package/securityhub/getHubV2.d.ts +31 -0
- package/securityhub/getHubV2.js +28 -0
- package/securityhub/getHubV2.js.map +1 -0
- package/securityhub/hubV2.d.ts +44 -0
- package/securityhub/hubV2.js +60 -0
- package/securityhub/hubV2.js.map +1 -0
- package/securityhub/index.d.ts +18 -0
- package/securityhub/index.js +22 -1
- package/securityhub/index.js.map +1 -1
- package/types/enums/amplify/index.d.ts +21 -0
- package/types/enums/amplify/index.js +6 -1
- package/types/enums/amplify/index.js.map +1 -1
- package/types/enums/connect/index.d.ts +3 -0
- package/types/enums/connect/index.js +3 -0
- package/types/enums/connect/index.js.map +1 -1
- package/types/enums/connectcampaignsv2/index.d.ts +8 -0
- package/types/enums/connectcampaignsv2/index.js +5 -1
- package/types/enums/connectcampaignsv2/index.js.map +1 -1
- package/types/enums/customerprofiles/index.d.ts +26 -0
- package/types/enums/customerprofiles/index.js +15 -1
- package/types/enums/customerprofiles/index.js.map +1 -1
- package/types/enums/ec2/index.d.ts +7 -0
- package/types/enums/ec2/index.js +4 -1
- package/types/enums/ec2/index.js.map +1 -1
- package/types/enums/lambda/index.d.ts +0 -9
- package/types/enums/lambda/index.js.map +1 -1
- package/types/enums/organizations/index.d.ts +2 -1
- package/types/enums/organizations/index.js +1 -0
- package/types/enums/organizations/index.js.map +1 -1
- package/types/enums/redshiftserverless/index.d.ts +9 -0
- package/types/enums/redshiftserverless/index.js +9 -1
- package/types/enums/redshiftserverless/index.js.map +1 -1
- package/types/enums/securityhub/index.d.ts +136 -0
- package/types/enums/securityhub/index.js +89 -1
- package/types/enums/securityhub/index.js.map +1 -1
- package/types/enums/wafv2/index.d.ts +3 -0
- package/types/enums/wafv2/index.js.map +1 -1
- package/types/input.d.ts +469 -41
- package/types/output.d.ts +494 -41
- package/types/output.js.map +1 -1
package/rds/dbCluster.d.ts
CHANGED
|
@@ -215,8 +215,8 @@ export declare class DbCluster extends pulumi.CustomResource {
|
|
|
215
215
|
* The life cycle type for this DB cluster.
|
|
216
216
|
* By default, this value is set to ``open-source-rds-extended-support``, which enrolls your DB cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled``. In this case, creating the DB cluster will fail if the DB major version is past its end of standard support date.
|
|
217
217
|
* You can use this setting to enroll your DB cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB cluster past the end of standard support for that engine version. For more information, see the following sections:
|
|
218
|
-
* + Amazon Aurora - [
|
|
219
|
-
* + Amazon RDS - [
|
|
218
|
+
* + Amazon Aurora - [Amazon RDS Extended Support with Amazon Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) in the *Amazon Aurora User Guide*
|
|
219
|
+
* + Amazon RDS - [Amazon RDS Extended Support with Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) in the *Amazon RDS User Guide*
|
|
220
220
|
*
|
|
221
221
|
* Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
222
222
|
* Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled``
|
|
@@ -711,8 +711,8 @@ export interface DbClusterArgs {
|
|
|
711
711
|
* The life cycle type for this DB cluster.
|
|
712
712
|
* By default, this value is set to ``open-source-rds-extended-support``, which enrolls your DB cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled``. In this case, creating the DB cluster will fail if the DB major version is past its end of standard support date.
|
|
713
713
|
* You can use this setting to enroll your DB cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB cluster past the end of standard support for that engine version. For more information, see the following sections:
|
|
714
|
-
* + Amazon Aurora - [
|
|
715
|
-
* + Amazon RDS - [
|
|
714
|
+
* + Amazon Aurora - [Amazon RDS Extended Support with Amazon Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) in the *Amazon Aurora User Guide*
|
|
715
|
+
* + Amazon RDS - [Amazon RDS Extended Support with Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) in the *Amazon RDS User Guide*
|
|
716
716
|
*
|
|
717
717
|
* Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
718
718
|
* Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled``
|
package/rds/dbInstance.d.ts
CHANGED
|
@@ -450,7 +450,7 @@ export declare class DbInstance extends pulumi.CustomResource {
|
|
|
450
450
|
* The life cycle type for this DB instance.
|
|
451
451
|
* By default, this value is set to ``open-source-rds-extended-support``, which enrolls your DB instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled``. In this case, creating the DB instance will fail if the DB major version is past its end of standard support date.
|
|
452
452
|
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle type is managed by the DB cluster.
|
|
453
|
-
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB instance past the end of standard support for that engine version. For more information, see [
|
|
453
|
+
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB instance past the end of standard support for that engine version. For more information, see [Amazon RDS Extended Support with Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) in the *Amazon RDS User Guide*.
|
|
454
454
|
* Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled``
|
|
455
455
|
* Default: ``open-source-rds-extended-support``
|
|
456
456
|
*/
|
|
@@ -1227,7 +1227,7 @@ export interface DbInstanceArgs {
|
|
|
1227
1227
|
* The life cycle type for this DB instance.
|
|
1228
1228
|
* By default, this value is set to ``open-source-rds-extended-support``, which enrolls your DB instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled``. In this case, creating the DB instance will fail if the DB major version is past its end of standard support date.
|
|
1229
1229
|
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle type is managed by the DB cluster.
|
|
1230
|
-
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB instance past the end of standard support for that engine version. For more information, see [
|
|
1230
|
+
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB instance past the end of standard support for that engine version. For more information, see [Amazon RDS Extended Support with Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) in the *Amazon RDS User Guide*.
|
|
1231
1231
|
* Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled``
|
|
1232
1232
|
* Default: ``open-source-rds-extended-support``
|
|
1233
1233
|
*/
|
package/rds/getDbCluster.d.ts
CHANGED
|
@@ -169,8 +169,8 @@ export interface GetDbClusterResult {
|
|
|
169
169
|
* The life cycle type for this DB cluster.
|
|
170
170
|
* By default, this value is set to ``open-source-rds-extended-support``, which enrolls your DB cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled``. In this case, creating the DB cluster will fail if the DB major version is past its end of standard support date.
|
|
171
171
|
* You can use this setting to enroll your DB cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB cluster past the end of standard support for that engine version. For more information, see the following sections:
|
|
172
|
-
* + Amazon Aurora - [
|
|
173
|
-
* + Amazon RDS - [
|
|
172
|
+
* + Amazon Aurora - [Amazon RDS Extended Support with Amazon Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) in the *Amazon Aurora User Guide*
|
|
173
|
+
* + Amazon RDS - [Amazon RDS Extended Support with Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) in the *Amazon RDS User Guide*
|
|
174
174
|
*
|
|
175
175
|
* Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
176
176
|
* Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled``
|
package/rds/getDbInstance.d.ts
CHANGED
|
@@ -310,7 +310,7 @@ export interface GetDbInstanceResult {
|
|
|
310
310
|
* The life cycle type for this DB instance.
|
|
311
311
|
* By default, this value is set to ``open-source-rds-extended-support``, which enrolls your DB instance into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to ``open-source-rds-extended-support-disabled``. In this case, creating the DB instance will fail if the DB major version is past its end of standard support date.
|
|
312
312
|
* This setting applies only to RDS for MySQL and RDS for PostgreSQL. For Amazon Aurora DB instances, the life cycle type is managed by the DB cluster.
|
|
313
|
-
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB instance past the end of standard support for that engine version. For more information, see [
|
|
313
|
+
* You can use this setting to enroll your DB instance into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your DB instance past the end of standard support for that engine version. For more information, see [Amazon RDS Extended Support with Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) in the *Amazon RDS User Guide*.
|
|
314
314
|
* Valid Values: ``open-source-rds-extended-support | open-source-rds-extended-support-disabled``
|
|
315
315
|
* Default: ``open-source-rds-extended-support``
|
|
316
316
|
*/
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::RedshiftServerless::Snapshot Resource Type.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getSnapshot(args: GetSnapshotArgs, opts?: pulumi.InvokeOptions): Promise<GetSnapshotResult>;
|
|
7
|
+
export interface GetSnapshotArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The name of the snapshot.
|
|
10
|
+
*/
|
|
11
|
+
snapshotName: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetSnapshotResult {
|
|
14
|
+
/**
|
|
15
|
+
* The owner account of the snapshot.
|
|
16
|
+
*/
|
|
17
|
+
readonly ownerAccount?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The retention period of the snapshot.
|
|
20
|
+
*/
|
|
21
|
+
readonly retentionPeriod?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Definition for snapshot resource
|
|
24
|
+
*/
|
|
25
|
+
readonly snapshot?: outputs.redshiftserverless.Snapshot;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Resource Type definition for AWS::RedshiftServerless::Snapshot Resource Type.
|
|
29
|
+
*/
|
|
30
|
+
export declare function getSnapshotOutput(args: GetSnapshotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSnapshotResult>;
|
|
31
|
+
export interface GetSnapshotOutputArgs {
|
|
32
|
+
/**
|
|
33
|
+
* The name of the snapshot.
|
|
34
|
+
*/
|
|
35
|
+
snapshotName: pulumi.Input<string>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getSnapshotOutput = exports.getSnapshot = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::RedshiftServerless::Snapshot Resource Type.
|
|
10
|
+
*/
|
|
11
|
+
function getSnapshot(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:redshiftserverless:getSnapshot", {
|
|
14
|
+
"snapshotName": args.snapshotName,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getSnapshot = getSnapshot;
|
|
18
|
+
/**
|
|
19
|
+
* Resource Type definition for AWS::RedshiftServerless::Snapshot Resource Type.
|
|
20
|
+
*/
|
|
21
|
+
function getSnapshotOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("aws-native:redshiftserverless:getSnapshot", {
|
|
24
|
+
"snapshotName": args.snapshotName,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getSnapshotOutput = getSnapshotOutput;
|
|
28
|
+
//# sourceMappingURL=getSnapshot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSnapshot.js","sourceRoot":"","sources":["../../redshiftserverless/getSnapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAuBD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
export { GetNamespaceArgs, GetNamespaceResult, GetNamespaceOutputArgs } from "./getNamespace";
|
|
2
2
|
export declare const getNamespace: typeof import("./getNamespace").getNamespace;
|
|
3
3
|
export declare const getNamespaceOutput: typeof import("./getNamespace").getNamespaceOutput;
|
|
4
|
+
export { GetSnapshotArgs, GetSnapshotResult, GetSnapshotOutputArgs } from "./getSnapshot";
|
|
5
|
+
export declare const getSnapshot: typeof import("./getSnapshot").getSnapshot;
|
|
6
|
+
export declare const getSnapshotOutput: typeof import("./getSnapshot").getSnapshotOutput;
|
|
4
7
|
export { GetWorkgroupArgs, GetWorkgroupResult, GetWorkgroupOutputArgs } from "./getWorkgroup";
|
|
5
8
|
export declare const getWorkgroup: typeof import("./getWorkgroup").getWorkgroup;
|
|
6
9
|
export declare const getWorkgroupOutput: typeof import("./getWorkgroup").getWorkgroupOutput;
|
|
7
10
|
export { NamespaceArgs } from "./namespace";
|
|
8
11
|
export type Namespace = import("./namespace").Namespace;
|
|
9
12
|
export declare const Namespace: typeof import("./namespace").Namespace;
|
|
13
|
+
export { SnapshotArgs } from "./snapshot";
|
|
14
|
+
export type Snapshot = import("./snapshot").Snapshot;
|
|
15
|
+
export declare const Snapshot: typeof import("./snapshot").Snapshot;
|
|
10
16
|
export { WorkgroupArgs } from "./workgroup";
|
|
11
17
|
export type Workgroup = import("./workgroup").Workgroup;
|
|
12
18
|
export declare const Workgroup: typeof import("./workgroup").Workgroup;
|
|
@@ -16,17 +16,22 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.Workgroup = exports.Namespace = exports.getWorkgroupOutput = exports.getWorkgroup = exports.getNamespaceOutput = exports.getNamespace = void 0;
|
|
19
|
+
exports.Workgroup = exports.Snapshot = exports.Namespace = exports.getWorkgroupOutput = exports.getWorkgroup = exports.getSnapshotOutput = exports.getSnapshot = exports.getNamespaceOutput = exports.getNamespace = void 0;
|
|
20
20
|
const pulumi = require("@pulumi/pulumi");
|
|
21
21
|
const utilities = require("../utilities");
|
|
22
22
|
exports.getNamespace = null;
|
|
23
23
|
exports.getNamespaceOutput = null;
|
|
24
24
|
utilities.lazyLoad(exports, ["getNamespace", "getNamespaceOutput"], () => require("./getNamespace"));
|
|
25
|
+
exports.getSnapshot = null;
|
|
26
|
+
exports.getSnapshotOutput = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["getSnapshot", "getSnapshotOutput"], () => require("./getSnapshot"));
|
|
25
28
|
exports.getWorkgroup = null;
|
|
26
29
|
exports.getWorkgroupOutput = null;
|
|
27
30
|
utilities.lazyLoad(exports, ["getWorkgroup", "getWorkgroupOutput"], () => require("./getWorkgroup"));
|
|
28
31
|
exports.Namespace = null;
|
|
29
32
|
utilities.lazyLoad(exports, ["Namespace"], () => require("./namespace"));
|
|
33
|
+
exports.Snapshot = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["Snapshot"], () => require("./snapshot"));
|
|
30
35
|
exports.Workgroup = null;
|
|
31
36
|
utilities.lazyLoad(exports, ["Workgroup"], () => require("./workgroup"));
|
|
32
37
|
// Export enums:
|
|
@@ -37,6 +42,8 @@ const _module = {
|
|
|
37
42
|
switch (type) {
|
|
38
43
|
case "aws-native:redshiftserverless:Namespace":
|
|
39
44
|
return new exports.Namespace(name, undefined, { urn });
|
|
45
|
+
case "aws-native:redshiftserverless:Snapshot":
|
|
46
|
+
return new exports.Snapshot(name, undefined, { urn });
|
|
40
47
|
case "aws-native:redshiftserverless:Workgroup":
|
|
41
48
|
return new exports.Workgroup(name, undefined, { urn });
|
|
42
49
|
default:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../redshiftserverless/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAA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QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAGzE,gBAAgB;AAChB,oEAAkD;AAElD,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,wCAAwC;gBACzC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource Type definition for AWS::RedshiftServerless::Snapshot Resource Type.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Snapshot extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Snapshot resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Snapshot;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of Snapshot. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is Snapshot;
|
|
22
|
+
/**
|
|
23
|
+
* The namespace the snapshot is associated with.
|
|
24
|
+
*/
|
|
25
|
+
readonly namespaceName: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* The owner account of the snapshot.
|
|
28
|
+
*/
|
|
29
|
+
readonly ownerAccount: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The retention period of the snapshot.
|
|
32
|
+
*/
|
|
33
|
+
readonly retentionPeriod: pulumi.Output<number | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Definition for snapshot resource
|
|
36
|
+
*/
|
|
37
|
+
readonly snapshot: pulumi.Output<outputs.redshiftserverless.Snapshot>;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the snapshot.
|
|
40
|
+
*/
|
|
41
|
+
readonly snapshotName: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* An array of key-value pairs to apply to this resource.
|
|
44
|
+
*/
|
|
45
|
+
readonly tags: pulumi.Output<outputs.CreateOnlyTag[] | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Create a Snapshot resource with the given unique name, arguments, and options.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resource.
|
|
50
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
51
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
52
|
+
*/
|
|
53
|
+
constructor(name: string, args?: SnapshotArgs, opts?: pulumi.CustomResourceOptions);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The set of arguments for constructing a Snapshot resource.
|
|
57
|
+
*/
|
|
58
|
+
export interface SnapshotArgs {
|
|
59
|
+
/**
|
|
60
|
+
* The namespace the snapshot is associated with.
|
|
61
|
+
*/
|
|
62
|
+
namespaceName?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The retention period of the snapshot.
|
|
65
|
+
*/
|
|
66
|
+
retentionPeriod?: pulumi.Input<number>;
|
|
67
|
+
/**
|
|
68
|
+
* The name of the snapshot.
|
|
69
|
+
*/
|
|
70
|
+
snapshotName?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* An array of key-value pairs to apply to this resource.
|
|
73
|
+
*/
|
|
74
|
+
tags?: pulumi.Input<pulumi.Input<inputs.CreateOnlyTagArgs>[]>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Snapshot = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::RedshiftServerless::Snapshot Resource Type.
|
|
10
|
+
*/
|
|
11
|
+
class Snapshot extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Snapshot resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new Snapshot(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Snapshot. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === Snapshot.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a Snapshot resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
resourceInputs["namespaceName"] = args ? args.namespaceName : undefined;
|
|
45
|
+
resourceInputs["retentionPeriod"] = args ? args.retentionPeriod : undefined;
|
|
46
|
+
resourceInputs["snapshotName"] = args ? args.snapshotName : undefined;
|
|
47
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
48
|
+
resourceInputs["ownerAccount"] = undefined /*out*/;
|
|
49
|
+
resourceInputs["snapshot"] = undefined /*out*/;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
resourceInputs["namespaceName"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["ownerAccount"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["retentionPeriod"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["snapshot"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["snapshotName"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
58
|
+
}
|
|
59
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
60
|
+
const replaceOnChanges = { replaceOnChanges: ["namespaceName", "snapshotName", "tags[*]"] };
|
|
61
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
62
|
+
super(Snapshot.__pulumiType, name, resourceInputs, opts);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.Snapshot = Snapshot;
|
|
66
|
+
/** @internal */
|
|
67
|
+
Snapshot.__pulumiType = 'aws-native:redshiftserverless:Snapshot';
|
|
68
|
+
//# sourceMappingURL=snapshot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../redshiftserverless/snapshot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA2BD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAAmC;QAC9E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAA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wCAAwC,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as enums from "../types/enums";
|
|
3
|
+
/**
|
|
4
|
+
* The AWS::SecurityHub::AggregatorV2 resource represents the AWS Security Hub AggregatorV2 in your account. One aggregatorv2 resource is created for each account in non opt-in region in which you configure region linking mode.
|
|
5
|
+
*/
|
|
6
|
+
export declare class AggregatorV2 extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing AggregatorV2 resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AggregatorV2;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of AggregatorV2. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is AggregatorV2;
|
|
21
|
+
/**
|
|
22
|
+
* The aggregation Region of the AggregatorV2
|
|
23
|
+
*/
|
|
24
|
+
readonly aggregationRegion: pulumi.Output<string>;
|
|
25
|
+
/**
|
|
26
|
+
* The ARN of the AggregatorV2 being created and assigned as the unique identifier
|
|
27
|
+
*/
|
|
28
|
+
readonly aggregatorV2Arn: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* The list of included Regions
|
|
31
|
+
*/
|
|
32
|
+
readonly linkedRegions: pulumi.Output<string[]>;
|
|
33
|
+
/**
|
|
34
|
+
* Indicates to link a list of included Regions
|
|
35
|
+
*/
|
|
36
|
+
readonly regionLinkingMode: pulumi.Output<enums.securityhub.AggregatorV2RegionLinkingMode>;
|
|
37
|
+
readonly tags: pulumi.Output<{
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
} | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a AggregatorV2 resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args: AggregatorV2Args, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a AggregatorV2 resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface AggregatorV2Args {
|
|
53
|
+
/**
|
|
54
|
+
* The list of included Regions
|
|
55
|
+
*/
|
|
56
|
+
linkedRegions: pulumi.Input<pulumi.Input<string>[]>;
|
|
57
|
+
/**
|
|
58
|
+
* Indicates to link a list of included Regions
|
|
59
|
+
*/
|
|
60
|
+
regionLinkingMode: pulumi.Input<enums.securityhub.AggregatorV2RegionLinkingMode>;
|
|
61
|
+
tags?: pulumi.Input<{
|
|
62
|
+
[key: string]: pulumi.Input<string>;
|
|
63
|
+
}>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AggregatorV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The AWS::SecurityHub::AggregatorV2 resource represents the AWS Security Hub AggregatorV2 in your account. One aggregatorv2 resource is created for each account in non opt-in region in which you configure region linking mode.
|
|
10
|
+
*/
|
|
11
|
+
class AggregatorV2 extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing AggregatorV2 resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new AggregatorV2(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of AggregatorV2. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === AggregatorV2.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a AggregatorV2 resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.linkedRegions === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'linkedRegions'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.regionLinkingMode === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'regionLinkingMode'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["linkedRegions"] = args ? args.linkedRegions : undefined;
|
|
51
|
+
resourceInputs["regionLinkingMode"] = args ? args.regionLinkingMode : undefined;
|
|
52
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
53
|
+
resourceInputs["aggregationRegion"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["aggregatorV2Arn"] = undefined /*out*/;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
resourceInputs["aggregationRegion"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["aggregatorV2Arn"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["linkedRegions"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["regionLinkingMode"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
62
|
+
}
|
|
63
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
64
|
+
super(AggregatorV2.__pulumiType, name, resourceInputs, opts);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.AggregatorV2 = AggregatorV2;
|
|
68
|
+
/** @internal */
|
|
69
|
+
AggregatorV2.__pulumiType = 'aws-native:securityhub:AggregatorV2';
|
|
70
|
+
//# sourceMappingURL=aggregatorV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aggregatorV2.js","sourceRoot":"","sources":["../../securityhub/aggregatorV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,YAAY,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK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AG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA5EL,oCA6EC;AAhEG,gBAAgB;AACO,yBAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
import * as enums from "../types/enums";
|
|
5
|
+
/**
|
|
6
|
+
* Resource schema for AWS::SecurityHub::AutomationRuleV2
|
|
7
|
+
*/
|
|
8
|
+
export declare class AutomationRuleV2 extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing AutomationRuleV2 resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AutomationRuleV2;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of AutomationRuleV2. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is AutomationRuleV2;
|
|
23
|
+
/**
|
|
24
|
+
* A list of actions to be performed when the rule criteria is met
|
|
25
|
+
*/
|
|
26
|
+
readonly actions: pulumi.Output<outputs.securityhub.AutomationRuleV2AutomationRulesActionV2[]>;
|
|
27
|
+
readonly createdAt: pulumi.Output<string>;
|
|
28
|
+
readonly criteria: pulumi.Output<outputs.securityhub.AutomationRuleV2Criteria>;
|
|
29
|
+
/**
|
|
30
|
+
* A description of the automation rule
|
|
31
|
+
*/
|
|
32
|
+
readonly description: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* The ARN of the automation rule
|
|
35
|
+
*/
|
|
36
|
+
readonly ruleArn: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* The ID of the automation rule
|
|
39
|
+
*/
|
|
40
|
+
readonly ruleId: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* The name of the automation rule
|
|
43
|
+
*/
|
|
44
|
+
readonly ruleName: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The value for the rule priority
|
|
47
|
+
*/
|
|
48
|
+
readonly ruleOrder: pulumi.Output<number>;
|
|
49
|
+
/**
|
|
50
|
+
* The status of the automation rule
|
|
51
|
+
*/
|
|
52
|
+
readonly ruleStatus: pulumi.Output<enums.securityhub.AutomationRuleV2RuleStatus | undefined>;
|
|
53
|
+
readonly tags: pulumi.Output<{
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
} | undefined>;
|
|
56
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a AutomationRuleV2 resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args: AutomationRuleV2Args, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The set of arguments for constructing a AutomationRuleV2 resource.
|
|
68
|
+
*/
|
|
69
|
+
export interface AutomationRuleV2Args {
|
|
70
|
+
/**
|
|
71
|
+
* A list of actions to be performed when the rule criteria is met
|
|
72
|
+
*/
|
|
73
|
+
actions: pulumi.Input<pulumi.Input<inputs.securityhub.AutomationRuleV2AutomationRulesActionV2Args>[]>;
|
|
74
|
+
criteria: pulumi.Input<inputs.securityhub.AutomationRuleV2CriteriaArgs>;
|
|
75
|
+
/**
|
|
76
|
+
* A description of the automation rule
|
|
77
|
+
*/
|
|
78
|
+
description: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the automation rule
|
|
81
|
+
*/
|
|
82
|
+
ruleName: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The value for the rule priority
|
|
85
|
+
*/
|
|
86
|
+
ruleOrder: pulumi.Input<number>;
|
|
87
|
+
/**
|
|
88
|
+
* The status of the automation rule
|
|
89
|
+
*/
|
|
90
|
+
ruleStatus?: pulumi.Input<enums.securityhub.AutomationRuleV2RuleStatus>;
|
|
91
|
+
tags?: pulumi.Input<{
|
|
92
|
+
[key: string]: pulumi.Input<string>;
|
|
93
|
+
}>;
|
|
94
|
+
}
|