@sapslaj/pulumi-infisical 0.19.9 → 0.19.20

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.
@@ -0,0 +1,151 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class Alert extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing Alert resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AlertState, opts?: pulumi.CustomResourceOptions): Alert;
15
+ /** @internal */
16
+ static readonly __pulumiType = "infisical:index/alert:Alert";
17
+ /**
18
+ * Returns true if the given object is an instance of Alert. 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 Alert;
22
+ /**
23
+ * The channels the alert is delivered to, keyed by a name of your choosing. The key is what identifies a channel to Terraform and is never sent to Infisical, so renaming a channel updates it in place and it keeps the deliveries it has already made. Changing a key, on the other hand, deletes the channel and creates a new one, so the new channel notifies about everything that is still expiring, even if the old one already did. Each channel carries exactly one configuration block, and that block is what gives the channel its type. At least one and at most 10 channels are allowed.
24
+ */
25
+ readonly channels: pulumi.Output<{
26
+ [key: string]: outputs.AlertChannels;
27
+ }>;
28
+ /**
29
+ * An optional description of the alert.
30
+ */
31
+ readonly description: pulumi.Output<string | undefined>;
32
+ /**
33
+ * Whether the alert is evaluated. Defaults to true.
34
+ */
35
+ readonly enabled: pulumi.Output<boolean>;
36
+ /**
37
+ * Fires before the watched resource expires. Only for alerts on these resource types: identity.authentication.
38
+ */
39
+ readonly expiry: pulumi.Output<outputs.AlertExpiry | undefined>;
40
+ /**
41
+ * The name of the alert.
42
+ */
43
+ readonly name: pulumi.Output<string>;
44
+ /**
45
+ * The ID of the organization the alert belongs to. Always set, whether the alert is scoped to the organization or to a project, so it is what tells you which organization a project level alert was created under.
46
+ */
47
+ readonly orgId: pulumi.Output<string>;
48
+ /**
49
+ * The ID of the project the resource belongs to. Required for project level resources, and must be omitted for organization level ones.
50
+ */
51
+ readonly projectId: pulumi.Output<string | undefined>;
52
+ /**
53
+ * The ID of the resource to watch. For the identity.authentication resource type this is a machine identity's ID.
54
+ */
55
+ readonly resourceId: pulumi.Output<string>;
56
+ /**
57
+ * The type of the resource to watch. Options: identity.authentication.
58
+ */
59
+ readonly resourceType: pulumi.Output<string>;
60
+ /**
61
+ * Create a Alert resource with the given unique name, arguments, and options.
62
+ *
63
+ * @param name The _unique_ name of the resource.
64
+ * @param args The arguments to use to populate this resource's properties.
65
+ * @param opts A bag of options that control this resource's behavior.
66
+ */
67
+ constructor(name: string, args: AlertArgs, opts?: pulumi.CustomResourceOptions);
68
+ }
69
+ /**
70
+ * Input properties used for looking up and filtering Alert resources.
71
+ */
72
+ export interface AlertState {
73
+ /**
74
+ * The channels the alert is delivered to, keyed by a name of your choosing. The key is what identifies a channel to Terraform and is never sent to Infisical, so renaming a channel updates it in place and it keeps the deliveries it has already made. Changing a key, on the other hand, deletes the channel and creates a new one, so the new channel notifies about everything that is still expiring, even if the old one already did. Each channel carries exactly one configuration block, and that block is what gives the channel its type. At least one and at most 10 channels are allowed.
75
+ */
76
+ channels?: pulumi.Input<{
77
+ [key: string]: pulumi.Input<inputs.AlertChannels>;
78
+ } | undefined>;
79
+ /**
80
+ * An optional description of the alert.
81
+ */
82
+ description?: pulumi.Input<string | undefined>;
83
+ /**
84
+ * Whether the alert is evaluated. Defaults to true.
85
+ */
86
+ enabled?: pulumi.Input<boolean | undefined>;
87
+ /**
88
+ * Fires before the watched resource expires. Only for alerts on these resource types: identity.authentication.
89
+ */
90
+ expiry?: pulumi.Input<inputs.AlertExpiry | undefined>;
91
+ /**
92
+ * The name of the alert.
93
+ */
94
+ name?: pulumi.Input<string | undefined>;
95
+ /**
96
+ * The ID of the organization the alert belongs to. Always set, whether the alert is scoped to the organization or to a project, so it is what tells you which organization a project level alert was created under.
97
+ */
98
+ orgId?: pulumi.Input<string | undefined>;
99
+ /**
100
+ * The ID of the project the resource belongs to. Required for project level resources, and must be omitted for organization level ones.
101
+ */
102
+ projectId?: pulumi.Input<string | undefined>;
103
+ /**
104
+ * The ID of the resource to watch. For the identity.authentication resource type this is a machine identity's ID.
105
+ */
106
+ resourceId?: pulumi.Input<string | undefined>;
107
+ /**
108
+ * The type of the resource to watch. Options: identity.authentication.
109
+ */
110
+ resourceType?: pulumi.Input<string | undefined>;
111
+ }
112
+ /**
113
+ * The set of arguments for constructing a Alert resource.
114
+ */
115
+ export interface AlertArgs {
116
+ /**
117
+ * The channels the alert is delivered to, keyed by a name of your choosing. The key is what identifies a channel to Terraform and is never sent to Infisical, so renaming a channel updates it in place and it keeps the deliveries it has already made. Changing a key, on the other hand, deletes the channel and creates a new one, so the new channel notifies about everything that is still expiring, even if the old one already did. Each channel carries exactly one configuration block, and that block is what gives the channel its type. At least one and at most 10 channels are allowed.
118
+ */
119
+ channels: pulumi.Input<{
120
+ [key: string]: pulumi.Input<inputs.AlertChannels>;
121
+ }>;
122
+ /**
123
+ * An optional description of the alert.
124
+ */
125
+ description?: pulumi.Input<string | undefined>;
126
+ /**
127
+ * Whether the alert is evaluated. Defaults to true.
128
+ */
129
+ enabled?: pulumi.Input<boolean | undefined>;
130
+ /**
131
+ * Fires before the watched resource expires. Only for alerts on these resource types: identity.authentication.
132
+ */
133
+ expiry?: pulumi.Input<inputs.AlertExpiry | undefined>;
134
+ /**
135
+ * The name of the alert.
136
+ */
137
+ name?: pulumi.Input<string | undefined>;
138
+ /**
139
+ * The ID of the project the resource belongs to. Required for project level resources, and must be omitted for organization level ones.
140
+ */
141
+ projectId?: pulumi.Input<string | undefined>;
142
+ /**
143
+ * The ID of the resource to watch. For the identity.authentication resource type this is a machine identity's ID.
144
+ */
145
+ resourceId: pulumi.Input<string>;
146
+ /**
147
+ * The type of the resource to watch. Options: identity.authentication.
148
+ */
149
+ resourceType: pulumi.Input<string>;
150
+ }
151
+ //# sourceMappingURL=alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../src/alert.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,KAAK;IAI5H,gBAAgB;IAChB,gBAAuB,YAAY,iCAAiC;IAEpE;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,KAAK;IAOhD;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAA;KAAC,CAAC,CAAC;IACxF;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACxD;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC/E;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAA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,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,CAAA;KAAC,CAAC,CAAC;IAC5E;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC"}
package/dist/alert.js ADDED
@@ -0,0 +1,97 @@
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.Alert = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class Alert extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Alert resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new Alert(name, state, { ...opts, id: id });
43
+ }
44
+ /**
45
+ * Returns true if the given object is an instance of Alert. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj) {
49
+ if (obj === undefined || obj === null) {
50
+ return false;
51
+ }
52
+ return obj['__pulumiType'] === Alert.__pulumiType;
53
+ }
54
+ constructor(name, argsOrState, opts) {
55
+ let resourceInputs = {};
56
+ opts = opts || {};
57
+ if (opts.id) {
58
+ const state = argsOrState;
59
+ resourceInputs["channels"] = state?.channels;
60
+ resourceInputs["description"] = state?.description;
61
+ resourceInputs["enabled"] = state?.enabled;
62
+ resourceInputs["expiry"] = state?.expiry;
63
+ resourceInputs["name"] = state?.name;
64
+ resourceInputs["orgId"] = state?.orgId;
65
+ resourceInputs["projectId"] = state?.projectId;
66
+ resourceInputs["resourceId"] = state?.resourceId;
67
+ resourceInputs["resourceType"] = state?.resourceType;
68
+ }
69
+ else {
70
+ const args = argsOrState;
71
+ if (args?.channels === undefined && !opts.urn) {
72
+ throw new Error("Missing required property 'channels'");
73
+ }
74
+ if (args?.resourceId === undefined && !opts.urn) {
75
+ throw new Error("Missing required property 'resourceId'");
76
+ }
77
+ if (args?.resourceType === undefined && !opts.urn) {
78
+ throw new Error("Missing required property 'resourceType'");
79
+ }
80
+ resourceInputs["channels"] = args?.channels;
81
+ resourceInputs["description"] = args?.description;
82
+ resourceInputs["enabled"] = args?.enabled;
83
+ resourceInputs["expiry"] = args?.expiry;
84
+ resourceInputs["name"] = args?.name;
85
+ resourceInputs["projectId"] = args?.projectId;
86
+ resourceInputs["resourceId"] = args?.resourceId;
87
+ resourceInputs["resourceType"] = args?.resourceType;
88
+ resourceInputs["orgId"] = undefined /*out*/;
89
+ }
90
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
91
+ super(Alert.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
92
+ }
93
+ }
94
+ exports.Alert = Alert;
95
+ /** @internal */
96
+ Alert.__pulumiType = 'infisical:index/alert:Alert';
97
+ //# sourceMappingURL=alert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.js","sourceRoot":"","sources":["../src/alert.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;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AAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
@@ -0,0 +1,125 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class CertificateSyncAwsCertificateManager extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing CertificateSyncAwsCertificateManager resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CertificateSyncAwsCertificateManagerState, opts?: pulumi.CustomResourceOptions): CertificateSyncAwsCertificateManager;
15
+ /** @internal */
16
+ static readonly __pulumiType = "infisical:index/certificateSyncAwsCertificateManager:CertificateSyncAwsCertificateManager";
17
+ /**
18
+ * Returns true if the given object is an instance of CertificateSyncAwsCertificateManager. 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 CertificateSyncAwsCertificateManager;
22
+ /**
23
+ * The ID of the Certificate Manager application to create the sync in.
24
+ */
25
+ readonly applicationId: pulumi.Output<string>;
26
+ /**
27
+ * Whether certificates should be automatically synced to the destination when they are added or renewed.
28
+ */
29
+ readonly autoSyncEnabled: pulumi.Output<boolean>;
30
+ /**
31
+ * The ID of the aws Connection to use for syncing.
32
+ */
33
+ readonly connectionId: pulumi.Output<string>;
34
+ /**
35
+ * An optional description for the AWS Certificate Manager sync.
36
+ */
37
+ readonly description: pulumi.Output<string | undefined>;
38
+ /**
39
+ * The destination configuration for the certificate sync.
40
+ */
41
+ readonly destinationConfig: pulumi.Output<outputs.CertificateSyncAwsCertificateManagerDestinationConfig>;
42
+ /**
43
+ * The name of the AWS Certificate Manager sync to create.
44
+ */
45
+ readonly name: pulumi.Output<string>;
46
+ /**
47
+ * Parameters to modify how certificates are synced.
48
+ */
49
+ readonly syncOptions: pulumi.Output<outputs.CertificateSyncAwsCertificateManagerSyncOptions>;
50
+ /**
51
+ * Create a CertificateSyncAwsCertificateManager resource with the given unique name, arguments, and options.
52
+ *
53
+ * @param name The _unique_ name of the resource.
54
+ * @param args The arguments to use to populate this resource's properties.
55
+ * @param opts A bag of options that control this resource's behavior.
56
+ */
57
+ constructor(name: string, args: CertificateSyncAwsCertificateManagerArgs, opts?: pulumi.CustomResourceOptions);
58
+ }
59
+ /**
60
+ * Input properties used for looking up and filtering CertificateSyncAwsCertificateManager resources.
61
+ */
62
+ export interface CertificateSyncAwsCertificateManagerState {
63
+ /**
64
+ * The ID of the Certificate Manager application to create the sync in.
65
+ */
66
+ applicationId?: pulumi.Input<string | undefined>;
67
+ /**
68
+ * Whether certificates should be automatically synced to the destination when they are added or renewed.
69
+ */
70
+ autoSyncEnabled?: pulumi.Input<boolean | undefined>;
71
+ /**
72
+ * The ID of the aws Connection to use for syncing.
73
+ */
74
+ connectionId?: pulumi.Input<string | undefined>;
75
+ /**
76
+ * An optional description for the AWS Certificate Manager sync.
77
+ */
78
+ description?: pulumi.Input<string | undefined>;
79
+ /**
80
+ * The destination configuration for the certificate sync.
81
+ */
82
+ destinationConfig?: pulumi.Input<inputs.CertificateSyncAwsCertificateManagerDestinationConfig | undefined>;
83
+ /**
84
+ * The name of the AWS Certificate Manager sync to create.
85
+ */
86
+ name?: pulumi.Input<string | undefined>;
87
+ /**
88
+ * Parameters to modify how certificates are synced.
89
+ */
90
+ syncOptions?: pulumi.Input<inputs.CertificateSyncAwsCertificateManagerSyncOptions | undefined>;
91
+ }
92
+ /**
93
+ * The set of arguments for constructing a CertificateSyncAwsCertificateManager resource.
94
+ */
95
+ export interface CertificateSyncAwsCertificateManagerArgs {
96
+ /**
97
+ * The ID of the Certificate Manager application to create the sync in.
98
+ */
99
+ applicationId: pulumi.Input<string>;
100
+ /**
101
+ * Whether certificates should be automatically synced to the destination when they are added or renewed.
102
+ */
103
+ autoSyncEnabled?: pulumi.Input<boolean | undefined>;
104
+ /**
105
+ * The ID of the aws Connection to use for syncing.
106
+ */
107
+ connectionId: pulumi.Input<string>;
108
+ /**
109
+ * An optional description for the AWS Certificate Manager sync.
110
+ */
111
+ description?: pulumi.Input<string | undefined>;
112
+ /**
113
+ * The destination configuration for the certificate sync.
114
+ */
115
+ destinationConfig: pulumi.Input<inputs.CertificateSyncAwsCertificateManagerDestinationConfig>;
116
+ /**
117
+ * The name of the AWS Certificate Manager sync to create.
118
+ */
119
+ name?: pulumi.Input<string | undefined>;
120
+ /**
121
+ * Parameters to modify how certificates are synced.
122
+ */
123
+ syncOptions: pulumi.Input<inputs.CertificateSyncAwsCertificateManagerSyncOptions>;
124
+ }
125
+ //# sourceMappingURL=certificateSyncAwsCertificateManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"certificateSyncAwsCertificateManager.d.ts","sourceRoot":"","sources":["../src/certificateSyncAwsCertificateManager.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,oCAAqC,SAAQ,MAAM,CAAC,cAAc;IAC3E;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,yCAAyC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,oCAAoC;IAI1L,gBAAgB;IAChB,gBAAuB,YAAY,+FAA+F;IAElI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,oCAAoC;IAO/E;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC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AAS,CAAC,CAAC;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,+CAA+C,GAAG,SAAS,CAAC,CAAC;CAClG;AAED;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,qDAAqD,CAAC,CAAC;IAC9F;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,+CAA+C,CAAC,CAAC;CACrF"}
@@ -0,0 +1,96 @@
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.CertificateSyncAwsCertificateManager = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class CertificateSyncAwsCertificateManager extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing CertificateSyncAwsCertificateManager resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new CertificateSyncAwsCertificateManager(name, state, { ...opts, id: id });
43
+ }
44
+ /**
45
+ * Returns true if the given object is an instance of CertificateSyncAwsCertificateManager. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj) {
49
+ if (obj === undefined || obj === null) {
50
+ return false;
51
+ }
52
+ return obj['__pulumiType'] === CertificateSyncAwsCertificateManager.__pulumiType;
53
+ }
54
+ constructor(name, argsOrState, opts) {
55
+ let resourceInputs = {};
56
+ opts = opts || {};
57
+ if (opts.id) {
58
+ const state = argsOrState;
59
+ resourceInputs["applicationId"] = state?.applicationId;
60
+ resourceInputs["autoSyncEnabled"] = state?.autoSyncEnabled;
61
+ resourceInputs["connectionId"] = state?.connectionId;
62
+ resourceInputs["description"] = state?.description;
63
+ resourceInputs["destinationConfig"] = state?.destinationConfig;
64
+ resourceInputs["name"] = state?.name;
65
+ resourceInputs["syncOptions"] = state?.syncOptions;
66
+ }
67
+ else {
68
+ const args = argsOrState;
69
+ if (args?.applicationId === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'applicationId'");
71
+ }
72
+ if (args?.connectionId === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'connectionId'");
74
+ }
75
+ if (args?.destinationConfig === undefined && !opts.urn) {
76
+ throw new Error("Missing required property 'destinationConfig'");
77
+ }
78
+ if (args?.syncOptions === undefined && !opts.urn) {
79
+ throw new Error("Missing required property 'syncOptions'");
80
+ }
81
+ resourceInputs["applicationId"] = args?.applicationId;
82
+ resourceInputs["autoSyncEnabled"] = args?.autoSyncEnabled;
83
+ resourceInputs["connectionId"] = args?.connectionId;
84
+ resourceInputs["description"] = args?.description;
85
+ resourceInputs["destinationConfig"] = args?.destinationConfig;
86
+ resourceInputs["name"] = args?.name;
87
+ resourceInputs["syncOptions"] = args?.syncOptions;
88
+ }
89
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
90
+ super(CertificateSyncAwsCertificateManager.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
91
+ }
92
+ }
93
+ exports.CertificateSyncAwsCertificateManager = CertificateSyncAwsCertificateManager;
94
+ /** @internal */
95
+ CertificateSyncAwsCertificateManager.__pulumiType = 'infisical:index/certificateSyncAwsCertificateManager:CertificateSyncAwsCertificateManager';
96
+ //# sourceMappingURL=certificateSyncAwsCertificateManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"certificateSyncAwsCertificateManager.js","sourceRoot":"","sources":["../src/certificateSyncAwsCertificateManager.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,oCAAqC,SAAQ,MAAM,CAAC,cAAc;IAC3E;;;;;;;;OAQG;IACI,MAAM,CAAC,G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Resource {
3
+ /**
4
+ * Get an existing CertificateSyncCertificate resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CertificateSyncCertificateState, opts?: pulumi.CustomResourceOptions): CertificateSyncCertificate;
13
+ /** @internal */
14
+ static readonly __pulumiType = "infisical:index/certificateSyncCertificate:CertificateSyncCertificate";
15
+ /**
16
+ * Returns true if the given object is an instance of CertificateSyncCertificate. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is CertificateSyncCertificate;
20
+ /**
21
+ * The ID of the certificate to associate with the certificate sync.
22
+ */
23
+ readonly certificateId: pulumi.Output<string>;
24
+ /**
25
+ * The ID of the certificate sync to associate the certificate with.
26
+ */
27
+ readonly certificateSyncId: pulumi.Output<string>;
28
+ /**
29
+ * Create a CertificateSyncCertificate resource with the given unique name, arguments, and options.
30
+ *
31
+ * @param name The _unique_ name of the resource.
32
+ * @param args The arguments to use to populate this resource's properties.
33
+ * @param opts A bag of options that control this resource's behavior.
34
+ */
35
+ constructor(name: string, args: CertificateSyncCertificateArgs, opts?: pulumi.CustomResourceOptions);
36
+ }
37
+ /**
38
+ * Input properties used for looking up and filtering CertificateSyncCertificate resources.
39
+ */
40
+ export interface CertificateSyncCertificateState {
41
+ /**
42
+ * The ID of the certificate to associate with the certificate sync.
43
+ */
44
+ certificateId?: pulumi.Input<string | undefined>;
45
+ /**
46
+ * The ID of the certificate sync to associate the certificate with.
47
+ */
48
+ certificateSyncId?: pulumi.Input<string | undefined>;
49
+ }
50
+ /**
51
+ * The set of arguments for constructing a CertificateSyncCertificate resource.
52
+ */
53
+ export interface CertificateSyncCertificateArgs {
54
+ /**
55
+ * The ID of the certificate to associate with the certificate sync.
56
+ */
57
+ certificateId: pulumi.Input<string>;
58
+ /**
59
+ * The ID of the certificate sync to associate the certificate with.
60
+ */
61
+ certificateSyncId: pulumi.Input<string>;
62
+ }
63
+ //# sourceMappingURL=certificateSyncCertificate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"certificateSyncCertificate.d.ts","sourceRoot":"","sources":["../src/certificateSyncCertificate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,0BAA0B;IAItK,gBAAgB;IAChB,gBAAuB,YAAY,2EAA2E;IAE9G;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,0BAA0B;IAOrE;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEjE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsBtG;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACxD;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3C"}
@@ -0,0 +1,80 @@
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.CertificateSyncCertificate = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class CertificateSyncCertificate extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing CertificateSyncCertificate resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new CertificateSyncCertificate(name, state, { ...opts, id: id });
43
+ }
44
+ /**
45
+ * Returns true if the given object is an instance of CertificateSyncCertificate. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj) {
49
+ if (obj === undefined || obj === null) {
50
+ return false;
51
+ }
52
+ return obj['__pulumiType'] === CertificateSyncCertificate.__pulumiType;
53
+ }
54
+ constructor(name, argsOrState, opts) {
55
+ let resourceInputs = {};
56
+ opts = opts || {};
57
+ if (opts.id) {
58
+ const state = argsOrState;
59
+ resourceInputs["certificateId"] = state?.certificateId;
60
+ resourceInputs["certificateSyncId"] = state?.certificateSyncId;
61
+ }
62
+ else {
63
+ const args = argsOrState;
64
+ if (args?.certificateId === undefined && !opts.urn) {
65
+ throw new Error("Missing required property 'certificateId'");
66
+ }
67
+ if (args?.certificateSyncId === undefined && !opts.urn) {
68
+ throw new Error("Missing required property 'certificateSyncId'");
69
+ }
70
+ resourceInputs["certificateId"] = args?.certificateId;
71
+ resourceInputs["certificateSyncId"] = args?.certificateSyncId;
72
+ }
73
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
74
+ super(CertificateSyncCertificate.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
75
+ }
76
+ }
77
+ exports.CertificateSyncCertificate = CertificateSyncCertificate;
78
+ /** @internal */
79
+ CertificateSyncCertificate.__pulumiType = 'infisical:index/certificateSyncCertificate:CertificateSyncCertificate';
80
+ //# sourceMappingURL=certificateSyncCertificate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"certificateSyncCertificate.js","sourceRoot":"","sources":["../src/certificateSyncCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;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