@pulumi/aws-native 0.84.1-alpha.1699420972 → 0.85.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/applicationautoscaling/getScalingPolicy.d.ts +35 -3
- package/applicationautoscaling/getScalingPolicy.js +2 -1
- package/applicationautoscaling/getScalingPolicy.js.map +1 -1
- package/applicationautoscaling/scalingPolicy.d.ts +68 -3
- package/applicationautoscaling/scalingPolicy.js +2 -5
- package/applicationautoscaling/scalingPolicy.js.map +1 -1
- package/appsync/getResolver.d.ts +41 -6
- package/appsync/getResolver.js +1 -1
- package/appsync/getResolver.js.map +1 -1
- package/appsync/resolver.d.ts +99 -0
- package/appsync/resolver.js.map +1 -1
- package/autoscaling/autoScalingGroup.d.ts +2 -0
- package/autoscaling/autoScalingGroup.js +2 -0
- package/autoscaling/autoScalingGroup.js.map +1 -1
- package/autoscaling/getAutoScalingGroup.d.ts +1 -0
- package/autoscaling/getAutoScalingGroup.js.map +1 -1
- package/backup/getRestoreTestingPlan.d.ts +24 -0
- package/backup/getRestoreTestingPlan.js +25 -0
- package/backup/getRestoreTestingPlan.js.map +1 -0
- package/backup/getRestoreTestingSelection.d.ts +25 -0
- package/backup/getRestoreTestingSelection.js +26 -0
- package/backup/getRestoreTestingSelection.js.map +1 -0
- package/backup/index.d.ts +13 -0
- package/backup/index.js +31 -1
- package/backup/index.js.map +1 -1
- package/backup/restoreTestingPlan.d.ts +48 -0
- package/backup/restoreTestingPlan.js +76 -0
- package/backup/restoreTestingPlan.js.map +1 -0
- package/backup/restoreTestingSelection.d.ts +51 -0
- package/backup/restoreTestingSelection.js +81 -0
- package/backup/restoreTestingSelection.js.map +1 -0
- package/cloudtrail/eventDataStore.d.ts +25 -1
- package/cloudtrail/eventDataStore.js +7 -1
- package/cloudtrail/eventDataStore.js.map +1 -1
- package/cloudtrail/getEventDataStore.d.ts +14 -2
- package/cloudtrail/getEventDataStore.js +2 -2
- package/cloudtrail/getEventDataStore.js.map +1 -1
- package/ecr/pullThroughCacheRule.d.ts +16 -0
- package/ecr/pullThroughCacheRule.js +5 -1
- package/ecr/pullThroughCacheRule.js.map +1 -1
- package/eks/cluster.d.ts +2 -0
- package/eks/cluster.js +3 -1
- package/eks/cluster.js.map +1 -1
- package/eks/getCluster.d.ts +1 -0
- package/eks/getCluster.js.map +1 -1
- package/emrserverless/application.d.ts +4 -0
- package/emrserverless/application.js +4 -0
- package/emrserverless/application.js.map +1 -1
- package/emrserverless/getApplication.d.ts +2 -0
- package/emrserverless/getApplication.js.map +1 -1
- package/fsx/dataRepositoryAssociation.d.ts +22 -19
- package/fsx/dataRepositoryAssociation.js +2 -1
- package/fsx/dataRepositoryAssociation.js.map +1 -1
- package/fsx/getDataRepositoryAssociation.d.ts +8 -16
- package/fsx/getDataRepositoryAssociation.js +4 -2
- package/fsx/getDataRepositoryAssociation.js.map +1 -1
- package/gamelift/fleet.d.ts +8 -0
- package/gamelift/fleet.js +2 -0
- package/gamelift/fleet.js.map +1 -1
- package/gamelift/gameSessionQueue.d.ts +58 -4
- package/gamelift/gameSessionQueue.js +1 -6
- package/gamelift/gameSessionQueue.js.map +1 -1
- package/gamelift/getFleet.d.ts +4 -0
- package/gamelift/getFleet.js.map +1 -1
- package/gamelift/getGameSessionQueue.d.ts +37 -5
- package/gamelift/getGameSessionQueue.js +3 -3
- package/gamelift/getGameSessionQueue.js.map +1 -1
- package/gamelift/getMatchmakingConfiguration.d.ts +66 -7
- package/gamelift/getMatchmakingConfiguration.js +3 -3
- package/gamelift/getMatchmakingConfiguration.js.map +1 -1
- package/gamelift/getMatchmakingRuleSet.d.ts +20 -5
- package/gamelift/getMatchmakingRuleSet.js +3 -3
- package/gamelift/getMatchmakingRuleSet.js.map +1 -1
- package/gamelift/getScript.d.ts +34 -2
- package/gamelift/getScript.js +2 -2
- package/gamelift/getScript.js.map +1 -1
- package/gamelift/matchmakingConfiguration.d.ts +115 -8
- package/gamelift/matchmakingConfiguration.js +5 -6
- package/gamelift/matchmakingConfiguration.js.map +1 -1
- package/gamelift/matchmakingRuleSet.d.ts +26 -4
- package/gamelift/matchmakingRuleSet.js +3 -6
- package/gamelift/matchmakingRuleSet.js.map +1 -1
- package/gamelift/script.d.ts +36 -4
- package/gamelift/script.js +5 -6
- package/gamelift/script.js.map +1 -1
- package/grafana/getWorkspace.d.ts +4 -0
- package/grafana/getWorkspace.js.map +1 -1
- package/grafana/workspace.d.ts +8 -0
- package/grafana/workspace.js +2 -0
- package/grafana/workspace.js.map +1 -1
- package/guardduty/getIpSet.d.ts +3 -2
- package/guardduty/getIpSet.js +1 -0
- package/guardduty/getIpSet.js.map +1 -1
- package/guardduty/getThreatIntelSet.d.ts +3 -2
- package/guardduty/getThreatIntelSet.js +1 -0
- package/guardduty/getThreatIntelSet.js.map +1 -1
- package/guardduty/ipSet.d.ts +7 -10
- package/guardduty/ipSet.js +0 -11
- package/guardduty/ipSet.js.map +1 -1
- package/guardduty/threatIntelSet.d.ts +7 -10
- package/guardduty/threatIntelSet.js +0 -11
- package/guardduty/threatIntelSet.js.map +1 -1
- package/imagebuilder/getLifecyclePolicy.d.ts +57 -0
- package/imagebuilder/getLifecyclePolicy.js +25 -0
- package/imagebuilder/getLifecyclePolicy.js.map +1 -0
- package/imagebuilder/index.d.ts +6 -0
- package/imagebuilder/index.js +8 -1
- package/imagebuilder/index.js.map +1 -1
- package/imagebuilder/lifecyclePolicy.d.ts +104 -0
- package/imagebuilder/lifecyclePolicy.js +86 -0
- package/imagebuilder/lifecyclePolicy.js.map +1 -0
- package/iot/getSecurityProfile.d.ts +4 -0
- package/iot/getSecurityProfile.js.map +1 -1
- package/iot/securityProfile.d.ts +8 -0
- package/iot/securityProfile.js +2 -0
- package/iot/securityProfile.js.map +1 -1
- package/lambda/function.d.ts +8 -0
- package/lambda/function.js +2 -0
- package/lambda/function.js.map +1 -1
- package/lambda/getFunction.d.ts +4 -0
- package/lambda/getFunction.js.map +1 -1
- package/managedblockchain/node.d.ts +2 -2
- package/managedblockchain/node.js +0 -3
- package/managedblockchain/node.js.map +1 -1
- package/medialive/getMultiplex.d.ts +58 -0
- package/medialive/getMultiplex.js +25 -0
- package/medialive/getMultiplex.js.map +1 -0
- package/medialive/getMultiplexprogram.d.ts +48 -0
- package/medialive/getMultiplexprogram.js +26 -0
- package/medialive/getMultiplexprogram.js.map +1 -0
- package/medialive/index.d.ts +13 -0
- package/medialive/index.js +31 -1
- package/medialive/index.js.map +1 -1
- package/medialive/multiplex.d.ts +89 -0
- package/medialive/multiplex.js +80 -0
- package/medialive/multiplex.js.map +1 -0
- package/medialive/multiplexprogram.d.ts +92 -0
- package/medialive/multiplexprogram.js +70 -0
- package/medialive/multiplexprogram.js.map +1 -0
- package/mediapackagev2/getOriginEndpoint.d.ts +2 -2
- package/mediapackagev2/getOriginEndpoint.js +2 -2
- package/mediapackagev2/originEndpoint.d.ts +1 -1
- package/mediapackagev2/originEndpoint.js +1 -1
- package/networkmanager/connectAttachment.d.ts +1 -1
- package/networkmanager/connectPeer.d.ts +8 -0
- package/networkmanager/connectPeer.js +3 -1
- package/networkmanager/connectPeer.js.map +1 -1
- package/networkmanager/getConnectAttachment.d.ts +1 -1
- package/opensearchserverless/getLifecyclePolicy.d.ts +34 -0
- package/opensearchserverless/getLifecyclePolicy.js +26 -0
- package/opensearchserverless/getLifecyclePolicy.js.map +1 -0
- package/opensearchserverless/index.d.ts +6 -0
- package/opensearchserverless/index.js +8 -1
- package/opensearchserverless/index.js.map +1 -1
- package/opensearchserverless/lifecyclePolicy.d.ts +60 -0
- package/opensearchserverless/lifecyclePolicy.js +70 -0
- package/opensearchserverless/lifecyclePolicy.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/pipes/getPipe.d.ts +1 -0
- package/pipes/getPipe.js.map +1 -1
- package/pipes/pipe.d.ts +2 -0
- package/pipes/pipe.js +2 -0
- package/pipes/pipe.js.map +1 -1
- package/quicksight/dashboard.d.ts +2 -0
- package/quicksight/dashboard.js +2 -0
- package/quicksight/dashboard.js.map +1 -1
- package/rds/dbCluster.d.ts +8 -0
- package/rds/dbCluster.js +2 -0
- package/rds/dbCluster.js.map +1 -1
- package/rds/dbInstance.d.ts +8 -0
- package/rds/dbInstance.js +2 -0
- package/rds/dbInstance.js.map +1 -1
- package/rds/getDbCluster.d.ts +4 -0
- package/rds/getDbCluster.js.map +1 -1
- package/rds/getDbInstance.d.ts +4 -0
- package/rds/getDbInstance.js.map +1 -1
- package/redshift/cluster.d.ts +10 -2
- package/redshift/cluster.js +2 -0
- package/redshift/cluster.js.map +1 -1
- package/redshift/getCluster.d.ts +5 -1
- package/redshift/getCluster.js.map +1 -1
- package/resourceexplorer2/getView.d.ts +1 -1
- package/resourceexplorer2/view.d.ts +4 -2
- package/resourceexplorer2/view.js +3 -1
- package/resourceexplorer2/view.js.map +1 -1
- package/s3/getStorageLensGroup.d.ts +27 -0
- package/s3/getStorageLensGroup.js +25 -0
- package/s3/getStorageLensGroup.js.map +1 -0
- package/s3/index.d.ts +6 -0
- package/s3/index.js +8 -1
- package/s3/index.js.map +1 -1
- package/s3/storageLensGroup.d.ts +51 -0
- package/s3/storageLensGroup.js +67 -0
- package/s3/storageLensGroup.js.map +1 -0
- package/types/enums/backup/index.d.ts +10 -0
- package/types/enums/backup/index.js +14 -0
- package/types/enums/backup/index.js.map +1 -0
- package/types/enums/ec2/index.d.ts +20 -12
- package/types/enums/ec2/index.js +20 -12
- package/types/enums/ec2/index.js.map +1 -1
- package/types/enums/eks/index.d.ts +9 -0
- package/types/enums/eks/index.js +6 -1
- package/types/enums/eks/index.js.map +1 -1
- package/types/enums/gamelift/index.d.ts +88 -0
- package/types/enums/gamelift/index.js +56 -1
- package/types/enums/gamelift/index.js.map +1 -1
- package/types/enums/imagebuilder/index.d.ts +43 -0
- package/types/enums/imagebuilder/index.js +24 -1
- package/types/enums/imagebuilder/index.js.map +1 -1
- package/types/enums/index.d.ts +3 -1
- package/types/enums/index.js +7 -3
- package/types/enums/index.js.map +1 -1
- package/types/enums/lambda/index.d.ts +29 -0
- package/types/enums/lambda/index.js +18 -1
- package/types/enums/lambda/index.js.map +1 -1
- package/types/enums/medialive/index.d.ts +25 -0
- package/types/enums/medialive/index.js +22 -0
- package/types/enums/medialive/index.js.map +1 -0
- package/types/enums/opensearchserverless/index.d.ts +7 -0
- package/types/enums/opensearchserverless/index.js +4 -1
- package/types/enums/opensearchserverless/index.js.map +1 -1
- package/types/enums/pipes/index.d.ts +21 -0
- package/types/enums/pipes/index.js +19 -1
- package/types/enums/pipes/index.js.map +1 -1
- package/types/enums/quicksight/index.d.ts +42 -0
- package/types/enums/quicksight/index.js +45 -8
- package/types/enums/quicksight/index.js.map +1 -1
- package/types/input.d.ts +910 -14
- package/types/output.d.ts +911 -14
|
@@ -5,19 +5,20 @@ import * as outputs from "../types/output";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare function getThreatIntelSet(args: GetThreatIntelSetArgs, opts?: pulumi.InvokeOptions): Promise<GetThreatIntelSetResult>;
|
|
7
7
|
export interface GetThreatIntelSetArgs {
|
|
8
|
+
detectorId: string;
|
|
8
9
|
id: string;
|
|
9
10
|
}
|
|
10
11
|
export interface GetThreatIntelSetResult {
|
|
11
|
-
readonly activate?: boolean;
|
|
12
12
|
readonly id?: string;
|
|
13
13
|
readonly location?: string;
|
|
14
14
|
readonly name?: string;
|
|
15
|
-
readonly tags?: outputs.guardduty.
|
|
15
|
+
readonly tags?: outputs.guardduty.ThreatIntelSetTagItem[];
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Resource Type definition for AWS::GuardDuty::ThreatIntelSet
|
|
19
19
|
*/
|
|
20
20
|
export declare function getThreatIntelSetOutput(args: GetThreatIntelSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetThreatIntelSetResult>;
|
|
21
21
|
export interface GetThreatIntelSetOutputArgs {
|
|
22
|
+
detectorId: pulumi.Input<string>;
|
|
22
23
|
id: pulumi.Input<string>;
|
|
23
24
|
}
|
|
@@ -11,6 +11,7 @@ const utilities = require("../utilities");
|
|
|
11
11
|
function getThreatIntelSet(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
13
|
return pulumi.runtime.invoke("aws-native:guardduty:getThreatIntelSet", {
|
|
14
|
+
"detectorId": args.detectorId,
|
|
14
15
|
"id": args.id,
|
|
15
16
|
}, opts);
|
|
16
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThreatIntelSet.js","sourceRoot":"","sources":["../../guardduty/getThreatIntelSet.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;
|
|
1
|
+
{"version":3,"file":"getThreatIntelSet.js","sourceRoot":"","sources":["../../guardduty/getThreatIntelSet.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAaD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
package/guardduty/ipSet.d.ts
CHANGED
|
@@ -3,8 +3,6 @@ import * as inputs from "../types/input";
|
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
5
|
* Resource Type definition for AWS::GuardDuty::IPSet
|
|
6
|
-
*
|
|
7
|
-
* @deprecated IpSet is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
8
6
|
*/
|
|
9
7
|
export declare class IpSet extends pulumi.CustomResource {
|
|
10
8
|
/**
|
|
@@ -21,12 +19,12 @@ export declare class IpSet extends pulumi.CustomResource {
|
|
|
21
19
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
22
20
|
*/
|
|
23
21
|
static isInstance(obj: any): obj is IpSet;
|
|
24
|
-
readonly activate: pulumi.Output<boolean>;
|
|
25
|
-
readonly detectorId: pulumi.Output<string>;
|
|
22
|
+
readonly activate: pulumi.Output<boolean | undefined>;
|
|
23
|
+
readonly detectorId: pulumi.Output<string | undefined>;
|
|
26
24
|
readonly format: pulumi.Output<string>;
|
|
27
25
|
readonly location: pulumi.Output<string>;
|
|
28
|
-
readonly name: pulumi.Output<string
|
|
29
|
-
readonly tags: pulumi.Output<outputs.guardduty.
|
|
26
|
+
readonly name: pulumi.Output<string>;
|
|
27
|
+
readonly tags: pulumi.Output<outputs.guardduty.IpSetTagItem[] | undefined>;
|
|
30
28
|
/**
|
|
31
29
|
* Create a IpSet resource with the given unique name, arguments, and options.
|
|
32
30
|
*
|
|
@@ -34,17 +32,16 @@ export declare class IpSet extends pulumi.CustomResource {
|
|
|
34
32
|
* @param args The arguments to use to populate this resource's properties.
|
|
35
33
|
* @param opts A bag of options that control this resource's behavior.
|
|
36
34
|
*/
|
|
37
|
-
/** @deprecated IpSet is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
38
35
|
constructor(name: string, args: IpSetArgs, opts?: pulumi.CustomResourceOptions);
|
|
39
36
|
}
|
|
40
37
|
/**
|
|
41
38
|
* The set of arguments for constructing a IpSet resource.
|
|
42
39
|
*/
|
|
43
40
|
export interface IpSetArgs {
|
|
44
|
-
activate
|
|
45
|
-
detectorId
|
|
41
|
+
activate?: pulumi.Input<boolean>;
|
|
42
|
+
detectorId?: pulumi.Input<string>;
|
|
46
43
|
format: pulumi.Input<string>;
|
|
47
44
|
location: pulumi.Input<string>;
|
|
48
45
|
name?: pulumi.Input<string>;
|
|
49
|
-
tags?: pulumi.Input<pulumi.Input<inputs.guardduty.
|
|
46
|
+
tags?: pulumi.Input<pulumi.Input<inputs.guardduty.IpSetTagItemArgs>[]>;
|
|
50
47
|
}
|
package/guardduty/ipSet.js
CHANGED
|
@@ -7,8 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Resource Type definition for AWS::GuardDuty::IPSet
|
|
10
|
-
*
|
|
11
|
-
* @deprecated IpSet is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
12
10
|
*/
|
|
13
11
|
class IpSet extends pulumi.CustomResource {
|
|
14
12
|
/**
|
|
@@ -20,7 +18,6 @@ class IpSet extends pulumi.CustomResource {
|
|
|
20
18
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
19
|
*/
|
|
22
20
|
static get(name, id, opts) {
|
|
23
|
-
pulumi.log.warn("IpSet is deprecated: IpSet is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
24
21
|
return new IpSet(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
25
22
|
}
|
|
26
23
|
/**
|
|
@@ -40,18 +37,10 @@ class IpSet extends pulumi.CustomResource {
|
|
|
40
37
|
* @param args The arguments to use to populate this resource's properties.
|
|
41
38
|
* @param opts A bag of options that control this resource's behavior.
|
|
42
39
|
*/
|
|
43
|
-
/** @deprecated IpSet is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
44
40
|
constructor(name, args, opts) {
|
|
45
|
-
pulumi.log.warn("IpSet is deprecated: IpSet is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
46
41
|
let resourceInputs = {};
|
|
47
42
|
opts = opts || {};
|
|
48
43
|
if (!opts.id) {
|
|
49
|
-
if ((!args || args.activate === undefined) && !opts.urn) {
|
|
50
|
-
throw new Error("Missing required property 'activate'");
|
|
51
|
-
}
|
|
52
|
-
if ((!args || args.detectorId === undefined) && !opts.urn) {
|
|
53
|
-
throw new Error("Missing required property 'detectorId'");
|
|
54
|
-
}
|
|
55
44
|
if ((!args || args.format === undefined) && !opts.urn) {
|
|
56
45
|
throw new Error("Missing required property 'format'");
|
|
57
46
|
}
|
package/guardduty/ipSet.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipSet.js","sourceRoot":"","sources":["../../guardduty/ipSet.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"ipSet.js","sourceRoot":"","sources":["../../guardduty/ipSet.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,KAAK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C,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;aAAM;YACH,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,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,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,YAAY,EAAE,QAAQ,CAAC,EAAE,CAAC;QACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AArEL,sBAsEC;AAzDG,gBAAgB;AACO,kBAAY,GAAG,4BAA4B,CAAC"}
|
|
@@ -3,8 +3,6 @@ import * as inputs from "../types/input";
|
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
5
|
* Resource Type definition for AWS::GuardDuty::ThreatIntelSet
|
|
6
|
-
*
|
|
7
|
-
* @deprecated ThreatIntelSet is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
8
6
|
*/
|
|
9
7
|
export declare class ThreatIntelSet extends pulumi.CustomResource {
|
|
10
8
|
/**
|
|
@@ -21,12 +19,12 @@ export declare class ThreatIntelSet extends pulumi.CustomResource {
|
|
|
21
19
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
22
20
|
*/
|
|
23
21
|
static isInstance(obj: any): obj is ThreatIntelSet;
|
|
24
|
-
readonly activate: pulumi.Output<boolean>;
|
|
25
|
-
readonly detectorId: pulumi.Output<string>;
|
|
22
|
+
readonly activate: pulumi.Output<boolean | undefined>;
|
|
23
|
+
readonly detectorId: pulumi.Output<string | undefined>;
|
|
26
24
|
readonly format: pulumi.Output<string>;
|
|
27
25
|
readonly location: pulumi.Output<string>;
|
|
28
|
-
readonly name: pulumi.Output<string
|
|
29
|
-
readonly tags: pulumi.Output<outputs.guardduty.
|
|
26
|
+
readonly name: pulumi.Output<string>;
|
|
27
|
+
readonly tags: pulumi.Output<outputs.guardduty.ThreatIntelSetTagItem[] | undefined>;
|
|
30
28
|
/**
|
|
31
29
|
* Create a ThreatIntelSet resource with the given unique name, arguments, and options.
|
|
32
30
|
*
|
|
@@ -34,17 +32,16 @@ export declare class ThreatIntelSet extends pulumi.CustomResource {
|
|
|
34
32
|
* @param args The arguments to use to populate this resource's properties.
|
|
35
33
|
* @param opts A bag of options that control this resource's behavior.
|
|
36
34
|
*/
|
|
37
|
-
/** @deprecated ThreatIntelSet is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
38
35
|
constructor(name: string, args: ThreatIntelSetArgs, opts?: pulumi.CustomResourceOptions);
|
|
39
36
|
}
|
|
40
37
|
/**
|
|
41
38
|
* The set of arguments for constructing a ThreatIntelSet resource.
|
|
42
39
|
*/
|
|
43
40
|
export interface ThreatIntelSetArgs {
|
|
44
|
-
activate
|
|
45
|
-
detectorId
|
|
41
|
+
activate?: pulumi.Input<boolean>;
|
|
42
|
+
detectorId?: pulumi.Input<string>;
|
|
46
43
|
format: pulumi.Input<string>;
|
|
47
44
|
location: pulumi.Input<string>;
|
|
48
45
|
name?: pulumi.Input<string>;
|
|
49
|
-
tags?: pulumi.Input<pulumi.Input<inputs.guardduty.
|
|
46
|
+
tags?: pulumi.Input<pulumi.Input<inputs.guardduty.ThreatIntelSetTagItemArgs>[]>;
|
|
50
47
|
}
|
|
@@ -7,8 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Resource Type definition for AWS::GuardDuty::ThreatIntelSet
|
|
10
|
-
*
|
|
11
|
-
* @deprecated ThreatIntelSet is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
12
10
|
*/
|
|
13
11
|
class ThreatIntelSet extends pulumi.CustomResource {
|
|
14
12
|
/**
|
|
@@ -20,7 +18,6 @@ class ThreatIntelSet extends pulumi.CustomResource {
|
|
|
20
18
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
19
|
*/
|
|
22
20
|
static get(name, id, opts) {
|
|
23
|
-
pulumi.log.warn("ThreatIntelSet is deprecated: ThreatIntelSet is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
24
21
|
return new ThreatIntelSet(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
25
22
|
}
|
|
26
23
|
/**
|
|
@@ -40,18 +37,10 @@ class ThreatIntelSet extends pulumi.CustomResource {
|
|
|
40
37
|
* @param args The arguments to use to populate this resource's properties.
|
|
41
38
|
* @param opts A bag of options that control this resource's behavior.
|
|
42
39
|
*/
|
|
43
|
-
/** @deprecated ThreatIntelSet is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
44
40
|
constructor(name, args, opts) {
|
|
45
|
-
pulumi.log.warn("ThreatIntelSet is deprecated: ThreatIntelSet is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
46
41
|
let resourceInputs = {};
|
|
47
42
|
opts = opts || {};
|
|
48
43
|
if (!opts.id) {
|
|
49
|
-
if ((!args || args.activate === undefined) && !opts.urn) {
|
|
50
|
-
throw new Error("Missing required property 'activate'");
|
|
51
|
-
}
|
|
52
|
-
if ((!args || args.detectorId === undefined) && !opts.urn) {
|
|
53
|
-
throw new Error("Missing required property 'detectorId'");
|
|
54
|
-
}
|
|
55
44
|
if ((!args || args.format === undefined) && !opts.urn) {
|
|
56
45
|
throw new Error("Missing required property 'format'");
|
|
57
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threatIntelSet.js","sourceRoot":"","sources":["../../guardduty/threatIntelSet.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"threatIntelSet.js","sourceRoot":"","sources":["../../guardduty/threatIntelSet.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IASD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAwB,EAAE,IAAmC;QACn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CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,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,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,YAAY,EAAE,QAAQ,CAAC,EAAE,CAAC;QACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AArEL,wCAsEC;AAzDG,gBAAgB;AACO,2BAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
import * as enums from "../types/enums";
|
|
4
|
+
/**
|
|
5
|
+
* Resource schema for AWS::ImageBuilder::LifecyclePolicy
|
|
6
|
+
*/
|
|
7
|
+
export declare function getLifecyclePolicy(args: GetLifecyclePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetLifecyclePolicyResult>;
|
|
8
|
+
export interface GetLifecyclePolicyArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The Amazon Resource Name (ARN) of the lifecycle policy.
|
|
11
|
+
*/
|
|
12
|
+
arn: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetLifecyclePolicyResult {
|
|
15
|
+
/**
|
|
16
|
+
* The Amazon Resource Name (ARN) of the lifecycle policy.
|
|
17
|
+
*/
|
|
18
|
+
readonly arn?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The description of the lifecycle policy.
|
|
21
|
+
*/
|
|
22
|
+
readonly description?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The execution role of the lifecycle policy.
|
|
25
|
+
*/
|
|
26
|
+
readonly executionRole?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The policy details of the lifecycle policy.
|
|
29
|
+
*/
|
|
30
|
+
readonly policyDetails?: outputs.imagebuilder.LifecyclePolicyPolicyDetail[];
|
|
31
|
+
/**
|
|
32
|
+
* The resource selection of the lifecycle policy.
|
|
33
|
+
*/
|
|
34
|
+
readonly resourceSelection?: outputs.imagebuilder.LifecyclePolicyResourceSelection;
|
|
35
|
+
/**
|
|
36
|
+
* The resource type of the lifecycle policy.
|
|
37
|
+
*/
|
|
38
|
+
readonly resourceType?: enums.imagebuilder.LifecyclePolicyResourceType;
|
|
39
|
+
/**
|
|
40
|
+
* The status of the lifecycle policy.
|
|
41
|
+
*/
|
|
42
|
+
readonly status?: enums.imagebuilder.LifecyclePolicyStatus;
|
|
43
|
+
/**
|
|
44
|
+
* The tags associated with the lifecycle policy.
|
|
45
|
+
*/
|
|
46
|
+
readonly tags?: any;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Resource schema for AWS::ImageBuilder::LifecyclePolicy
|
|
50
|
+
*/
|
|
51
|
+
export declare function getLifecyclePolicyOutput(args: GetLifecyclePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLifecyclePolicyResult>;
|
|
52
|
+
export interface GetLifecyclePolicyOutputArgs {
|
|
53
|
+
/**
|
|
54
|
+
* The Amazon Resource Name (ARN) of the lifecycle policy.
|
|
55
|
+
*/
|
|
56
|
+
arn: pulumi.Input<string>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.getLifecyclePolicyOutput = exports.getLifecyclePolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource schema for AWS::ImageBuilder::LifecyclePolicy
|
|
10
|
+
*/
|
|
11
|
+
function getLifecyclePolicy(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:imagebuilder:getLifecyclePolicy", {
|
|
14
|
+
"arn": args.arn,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getLifecyclePolicy = getLifecyclePolicy;
|
|
18
|
+
/**
|
|
19
|
+
* Resource schema for AWS::ImageBuilder::LifecyclePolicy
|
|
20
|
+
*/
|
|
21
|
+
function getLifecyclePolicyOutput(args, opts) {
|
|
22
|
+
return pulumi.output(args).apply((a) => getLifecyclePolicy(a, opts));
|
|
23
|
+
}
|
|
24
|
+
exports.getLifecyclePolicyOutput = getLifecyclePolicyOutput;
|
|
25
|
+
//# sourceMappingURL=getLifecyclePolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLifecyclePolicy.js","sourceRoot":"","sources":["../../imagebuilder/getLifecyclePolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AA2CD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
package/imagebuilder/index.d.ts
CHANGED
|
@@ -28,6 +28,9 @@ export declare const getImageRecipeOutput: typeof import("./getImageRecipe").get
|
|
|
28
28
|
export { GetInfrastructureConfigurationArgs, GetInfrastructureConfigurationResult, GetInfrastructureConfigurationOutputArgs } from "./getInfrastructureConfiguration";
|
|
29
29
|
export declare const getInfrastructureConfiguration: typeof import("./getInfrastructureConfiguration").getInfrastructureConfiguration;
|
|
30
30
|
export declare const getInfrastructureConfigurationOutput: typeof import("./getInfrastructureConfiguration").getInfrastructureConfigurationOutput;
|
|
31
|
+
export { GetLifecyclePolicyArgs, GetLifecyclePolicyResult, GetLifecyclePolicyOutputArgs } from "./getLifecyclePolicy";
|
|
32
|
+
export declare const getLifecyclePolicy: typeof import("./getLifecyclePolicy").getLifecyclePolicy;
|
|
33
|
+
export declare const getLifecyclePolicyOutput: typeof import("./getLifecyclePolicy").getLifecyclePolicyOutput;
|
|
31
34
|
export { ImageArgs } from "./image";
|
|
32
35
|
export type Image = import("./image").Image;
|
|
33
36
|
export declare const Image: typeof import("./image").Image;
|
|
@@ -40,4 +43,7 @@ export declare const ImageRecipe: typeof import("./imageRecipe").ImageRecipe;
|
|
|
40
43
|
export { InfrastructureConfigurationArgs } from "./infrastructureConfiguration";
|
|
41
44
|
export type InfrastructureConfiguration = import("./infrastructureConfiguration").InfrastructureConfiguration;
|
|
42
45
|
export declare const InfrastructureConfiguration: typeof import("./infrastructureConfiguration").InfrastructureConfiguration;
|
|
46
|
+
export { LifecyclePolicyArgs } from "./lifecyclePolicy";
|
|
47
|
+
export type LifecyclePolicy = import("./lifecyclePolicy").LifecyclePolicy;
|
|
48
|
+
export declare const LifecyclePolicy: typeof import("./lifecyclePolicy").LifecyclePolicy;
|
|
43
49
|
export * from "../types/enums/imagebuilder";
|
package/imagebuilder/index.js
CHANGED
|
@@ -16,7 +16,7 @@ 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.InfrastructureConfiguration = exports.ImageRecipe = exports.ImagePipeline = exports.Image = exports.getInfrastructureConfigurationOutput = exports.getInfrastructureConfiguration = exports.getImageRecipeOutput = exports.getImageRecipe = exports.getImagePipelineOutput = exports.getImagePipeline = exports.getImageOutput = exports.getImage = exports.getDistributionConfigurationOutput = exports.getDistributionConfiguration = exports.getContainerRecipeOutput = exports.getContainerRecipe = exports.getComponentOutput = exports.getComponent = exports.DistributionConfiguration = exports.ContainerRecipe = exports.Component = void 0;
|
|
19
|
+
exports.LifecyclePolicy = exports.InfrastructureConfiguration = exports.ImageRecipe = exports.ImagePipeline = exports.Image = exports.getLifecyclePolicyOutput = exports.getLifecyclePolicy = exports.getInfrastructureConfigurationOutput = exports.getInfrastructureConfiguration = exports.getImageRecipeOutput = exports.getImageRecipe = exports.getImagePipelineOutput = exports.getImagePipeline = exports.getImageOutput = exports.getImage = exports.getDistributionConfigurationOutput = exports.getDistributionConfiguration = exports.getContainerRecipeOutput = exports.getContainerRecipe = exports.getComponentOutput = exports.getComponent = exports.DistributionConfiguration = exports.ContainerRecipe = exports.Component = void 0;
|
|
20
20
|
const pulumi = require("@pulumi/pulumi");
|
|
21
21
|
const utilities = require("../utilities");
|
|
22
22
|
exports.Component = null;
|
|
@@ -46,6 +46,9 @@ utilities.lazyLoad(exports, ["getImageRecipe", "getImageRecipeOutput"], () => re
|
|
|
46
46
|
exports.getInfrastructureConfiguration = null;
|
|
47
47
|
exports.getInfrastructureConfigurationOutput = null;
|
|
48
48
|
utilities.lazyLoad(exports, ["getInfrastructureConfiguration", "getInfrastructureConfigurationOutput"], () => require("./getInfrastructureConfiguration"));
|
|
49
|
+
exports.getLifecyclePolicy = null;
|
|
50
|
+
exports.getLifecyclePolicyOutput = null;
|
|
51
|
+
utilities.lazyLoad(exports, ["getLifecyclePolicy", "getLifecyclePolicyOutput"], () => require("./getLifecyclePolicy"));
|
|
49
52
|
exports.Image = null;
|
|
50
53
|
utilities.lazyLoad(exports, ["Image"], () => require("./image"));
|
|
51
54
|
exports.ImagePipeline = null;
|
|
@@ -54,6 +57,8 @@ exports.ImageRecipe = null;
|
|
|
54
57
|
utilities.lazyLoad(exports, ["ImageRecipe"], () => require("./imageRecipe"));
|
|
55
58
|
exports.InfrastructureConfiguration = null;
|
|
56
59
|
utilities.lazyLoad(exports, ["InfrastructureConfiguration"], () => require("./infrastructureConfiguration"));
|
|
60
|
+
exports.LifecyclePolicy = null;
|
|
61
|
+
utilities.lazyLoad(exports, ["LifecyclePolicy"], () => require("./lifecyclePolicy"));
|
|
57
62
|
// Export enums:
|
|
58
63
|
__exportStar(require("../types/enums/imagebuilder"), exports);
|
|
59
64
|
const _module = {
|
|
@@ -74,6 +79,8 @@ const _module = {
|
|
|
74
79
|
return new exports.ImageRecipe(name, undefined, { urn });
|
|
75
80
|
case "aws-native:imagebuilder:InfrastructureConfiguration":
|
|
76
81
|
return new exports.InfrastructureConfiguration(name, undefined, { urn });
|
|
82
|
+
case "aws-native:imagebuilder:LifecyclePolicy":
|
|
83
|
+
return new exports.LifecyclePolicy(name, undefined, { urn });
|
|
77
84
|
default:
|
|
78
85
|
throw new Error(`unknown resource type ${type}`);
|
|
79
86
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../imagebuilder/index.ts"],"names":[],"mappings":";AAAA,wEAAw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CAAC,CAAA;YACzD,KAAK,qDAAqD;gBACtD,OAAO,IAAI,mCAA2B,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzE,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,uBAAe,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,104 @@
|
|
|
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::ImageBuilder::LifecyclePolicy
|
|
7
|
+
*/
|
|
8
|
+
export declare class LifecyclePolicy extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing LifecyclePolicy 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): LifecyclePolicy;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of LifecyclePolicy. 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 LifecyclePolicy;
|
|
23
|
+
/**
|
|
24
|
+
* The Amazon Resource Name (ARN) of the lifecycle policy.
|
|
25
|
+
*/
|
|
26
|
+
readonly arn: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The description of the lifecycle policy.
|
|
29
|
+
*/
|
|
30
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* The execution role of the lifecycle policy.
|
|
33
|
+
*/
|
|
34
|
+
readonly executionRole: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the lifecycle policy.
|
|
37
|
+
*/
|
|
38
|
+
readonly name: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* The policy details of the lifecycle policy.
|
|
41
|
+
*/
|
|
42
|
+
readonly policyDetails: pulumi.Output<outputs.imagebuilder.LifecyclePolicyPolicyDetail[]>;
|
|
43
|
+
/**
|
|
44
|
+
* The resource selection of the lifecycle policy.
|
|
45
|
+
*/
|
|
46
|
+
readonly resourceSelection: pulumi.Output<outputs.imagebuilder.LifecyclePolicyResourceSelection>;
|
|
47
|
+
/**
|
|
48
|
+
* The resource type of the lifecycle policy.
|
|
49
|
+
*/
|
|
50
|
+
readonly resourceType: pulumi.Output<enums.imagebuilder.LifecyclePolicyResourceType>;
|
|
51
|
+
/**
|
|
52
|
+
* The status of the lifecycle policy.
|
|
53
|
+
*/
|
|
54
|
+
readonly status: pulumi.Output<enums.imagebuilder.LifecyclePolicyStatus | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* The tags associated with the lifecycle policy.
|
|
57
|
+
*/
|
|
58
|
+
readonly tags: pulumi.Output<any | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a LifecyclePolicy resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args: LifecyclePolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* The set of arguments for constructing a LifecyclePolicy resource.
|
|
70
|
+
*/
|
|
71
|
+
export interface LifecyclePolicyArgs {
|
|
72
|
+
/**
|
|
73
|
+
* The description of the lifecycle policy.
|
|
74
|
+
*/
|
|
75
|
+
description?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The execution role of the lifecycle policy.
|
|
78
|
+
*/
|
|
79
|
+
executionRole: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The name of the lifecycle policy.
|
|
82
|
+
*/
|
|
83
|
+
name?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The policy details of the lifecycle policy.
|
|
86
|
+
*/
|
|
87
|
+
policyDetails: pulumi.Input<pulumi.Input<inputs.imagebuilder.LifecyclePolicyPolicyDetailArgs>[]>;
|
|
88
|
+
/**
|
|
89
|
+
* The resource selection of the lifecycle policy.
|
|
90
|
+
*/
|
|
91
|
+
resourceSelection: pulumi.Input<inputs.imagebuilder.LifecyclePolicyResourceSelectionArgs>;
|
|
92
|
+
/**
|
|
93
|
+
* The resource type of the lifecycle policy.
|
|
94
|
+
*/
|
|
95
|
+
resourceType: pulumi.Input<enums.imagebuilder.LifecyclePolicyResourceType>;
|
|
96
|
+
/**
|
|
97
|
+
* The status of the lifecycle policy.
|
|
98
|
+
*/
|
|
99
|
+
status?: pulumi.Input<enums.imagebuilder.LifecyclePolicyStatus>;
|
|
100
|
+
/**
|
|
101
|
+
* The tags associated with the lifecycle policy.
|
|
102
|
+
*/
|
|
103
|
+
tags?: any;
|
|
104
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.LifecyclePolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource schema for AWS::ImageBuilder::LifecyclePolicy
|
|
10
|
+
*/
|
|
11
|
+
class LifecyclePolicy extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing LifecyclePolicy 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 LifecyclePolicy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of LifecyclePolicy. 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'] === LifecyclePolicy.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a LifecyclePolicy 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.executionRole === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'executionRole'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.policyDetails === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'policyDetails'");
|
|
49
|
+
}
|
|
50
|
+
if ((!args || args.resourceSelection === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'resourceSelection'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.resourceType === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'resourceType'");
|
|
55
|
+
}
|
|
56
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
57
|
+
resourceInputs["executionRole"] = args ? args.executionRole : undefined;
|
|
58
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
59
|
+
resourceInputs["policyDetails"] = args ? args.policyDetails : undefined;
|
|
60
|
+
resourceInputs["resourceSelection"] = args ? args.resourceSelection : undefined;
|
|
61
|
+
resourceInputs["resourceType"] = args ? args.resourceType : undefined;
|
|
62
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
63
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
64
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["executionRole"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["policyDetails"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["resourceSelection"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["resourceType"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
const replaceOnChanges = { replaceOnChanges: ["name"] };
|
|
79
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
80
|
+
super(LifecyclePolicy.__pulumiType, name, resourceInputs, opts);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.LifecyclePolicy = LifecyclePolicy;
|
|
84
|
+
/** @internal */
|
|
85
|
+
LifecyclePolicy.__pulumiType = 'aws-native:imagebuilder:LifecyclePolicy';
|
|
86
|
+
//# sourceMappingURL=lifecyclePolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lifecyclePolicy.js","sourceRoot":"","sources":["../../imagebuilder/lifecyclePolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAuCD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAyB,EAAE,IAAmC;QACpF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,IAAI,CAAC,CAA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a device (thing), cause an alert.
|
|
24
24
|
*/
|
|
25
25
|
readonly behaviors?: outputs.iot.SecurityProfileBehavior[];
|
|
26
|
+
/**
|
|
27
|
+
* A structure containing the mqtt topic for metrics export.
|
|
28
|
+
*/
|
|
29
|
+
readonly metricsExportConfig?: outputs.iot.MetricsExportConfigProperties;
|
|
26
30
|
/**
|
|
27
31
|
* The ARN (Amazon resource name) of the created security profile.
|
|
28
32
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSecurityProfile.js","sourceRoot":"","sources":["../../iot/getSecurityProfile.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;
|
|
1
|
+
{"version":3,"file":"getSecurityProfile.js","sourceRoot":"","sources":["../../iot/getSecurityProfile.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AA2CD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|