@pulumi/mailgun 3.4.0 → 3.4.1

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/domain.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, output as outputs } from "./types";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
3
4
  /**
4
5
  * Provides a Mailgun App resource. This can be used to
5
6
  * create and manage applications on Mailgun.
@@ -13,7 +14,7 @@ import { input as inputs, output as outputs } from "./types";
13
14
  * import * as mailgun from "@pulumi/mailgun";
14
15
  *
15
16
  * // Create a new Mailgun domain
16
- * const defaultDomain = new mailgun.Domain("default", {
17
+ * const _default = new mailgun.Domain("default", {
17
18
  * dkimKeySize: 1024,
18
19
  * region: "us",
19
20
  * smtpPassword: "supersecretpassword1234",
@@ -55,22 +56,42 @@ export declare class Domain extends pulumi.CustomResource {
55
56
  * The name of your DKIM selector if you want to specify it whereas MailGun will make it's own choice.
56
57
  */
57
58
  readonly dkimSelector: pulumi.Output<string | undefined>;
59
+ /**
60
+ * If set to true, the domain will be the DKIM authority for itself even if the root domain is registered on the same mailgun account. If set to false, the domain will have the same DKIM authority as the root domain registered on the same mailgun account. The default is `false`.
61
+ */
62
+ readonly forceDkimAuthority: pulumi.Output<boolean | undefined>;
58
63
  /**
59
64
  * The domain to add to Mailgun
60
65
  */
61
66
  readonly name: pulumi.Output<string>;
62
67
  /**
63
- * A list of DNS records for receiving validation.
68
+ * (Enum: `yes` or `no`) The open tracking settings for the domain. Default: `no`
69
+ */
70
+ readonly openTracking: pulumi.Output<boolean | undefined>;
71
+ /**
72
+ * A list of DNS records for receiving validation. **Deprecated** Use `receivingRecordsSet` instead.
73
+ *
74
+ * @deprecated Use `receiving_records_set` instead.
64
75
  */
65
76
  readonly receivingRecords: pulumi.Output<outputs.DomainReceivingRecord[]>;
77
+ /**
78
+ * A set of DNS records for receiving validation.
79
+ */
80
+ readonly receivingRecordsSets: pulumi.Output<outputs.DomainReceivingRecordsSet[]>;
66
81
  /**
67
82
  * The region where domain will be created. Default value is `us`.
68
83
  */
69
84
  readonly region: pulumi.Output<string | undefined>;
70
85
  /**
71
- * A list of DNS records for sending validation.
86
+ * A list of DNS records for sending validation. **Deprecated** Use `sendingRecordsSet` instead.
87
+ *
88
+ * @deprecated Use `sending_records_set` instead.
72
89
  */
73
90
  readonly sendingRecords: pulumi.Output<outputs.DomainSendingRecord[]>;
91
+ /**
92
+ * A set of DNS records for sending validation.
93
+ */
94
+ readonly sendingRecordsSets: pulumi.Output<outputs.DomainSendingRecordsSet[]>;
74
95
  /**
75
96
  * The login email for the SMTP server.
76
97
  */
@@ -78,7 +99,7 @@ export declare class Domain extends pulumi.CustomResource {
78
99
  /**
79
100
  * Password for SMTP authentication
80
101
  */
81
- readonly smtpPassword: pulumi.Output<string>;
102
+ readonly smtpPassword: pulumi.Output<string | undefined>;
82
103
  /**
83
104
  * `disabled` or `tag` Disable, no spam
84
105
  * filtering will occur for inbound messages. Tag, messages
@@ -111,22 +132,42 @@ export interface DomainState {
111
132
  * The name of your DKIM selector if you want to specify it whereas MailGun will make it's own choice.
112
133
  */
113
134
  dkimSelector?: pulumi.Input<string>;
135
+ /**
136
+ * If set to true, the domain will be the DKIM authority for itself even if the root domain is registered on the same mailgun account. If set to false, the domain will have the same DKIM authority as the root domain registered on the same mailgun account. The default is `false`.
137
+ */
138
+ forceDkimAuthority?: pulumi.Input<boolean>;
114
139
  /**
115
140
  * The domain to add to Mailgun
116
141
  */
117
142
  name?: pulumi.Input<string>;
118
143
  /**
119
- * A list of DNS records for receiving validation.
144
+ * (Enum: `yes` or `no`) The open tracking settings for the domain. Default: `no`
145
+ */
146
+ openTracking?: pulumi.Input<boolean>;
147
+ /**
148
+ * A list of DNS records for receiving validation. **Deprecated** Use `receivingRecordsSet` instead.
149
+ *
150
+ * @deprecated Use `receiving_records_set` instead.
120
151
  */
121
152
  receivingRecords?: pulumi.Input<pulumi.Input<inputs.DomainReceivingRecord>[]>;
153
+ /**
154
+ * A set of DNS records for receiving validation.
155
+ */
156
+ receivingRecordsSets?: pulumi.Input<pulumi.Input<inputs.DomainReceivingRecordsSet>[]>;
122
157
  /**
123
158
  * The region where domain will be created. Default value is `us`.
124
159
  */
125
160
  region?: pulumi.Input<string>;
126
161
  /**
127
- * A list of DNS records for sending validation.
162
+ * A list of DNS records for sending validation. **Deprecated** Use `sendingRecordsSet` instead.
163
+ *
164
+ * @deprecated Use `sending_records_set` instead.
128
165
  */
129
166
  sendingRecords?: pulumi.Input<pulumi.Input<inputs.DomainSendingRecord>[]>;
167
+ /**
168
+ * A set of DNS records for sending validation.
169
+ */
170
+ sendingRecordsSets?: pulumi.Input<pulumi.Input<inputs.DomainSendingRecordsSet>[]>;
130
171
  /**
131
172
  * The login email for the SMTP server.
132
173
  */
@@ -159,10 +200,18 @@ export interface DomainArgs {
159
200
  * The name of your DKIM selector if you want to specify it whereas MailGun will make it's own choice.
160
201
  */
161
202
  dkimSelector?: pulumi.Input<string>;
203
+ /**
204
+ * If set to true, the domain will be the DKIM authority for itself even if the root domain is registered on the same mailgun account. If set to false, the domain will have the same DKIM authority as the root domain registered on the same mailgun account. The default is `false`.
205
+ */
206
+ forceDkimAuthority?: pulumi.Input<boolean>;
162
207
  /**
163
208
  * The domain to add to Mailgun
164
209
  */
165
210
  name?: pulumi.Input<string>;
211
+ /**
212
+ * (Enum: `yes` or `no`) The open tracking settings for the domain. Default: `no`
213
+ */
214
+ openTracking?: pulumi.Input<boolean>;
166
215
  /**
167
216
  * The region where domain will be created. Default value is `us`.
168
217
  */
package/domain.js CHANGED
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
18
18
  * import * as mailgun from "@pulumi/mailgun";
19
19
  *
20
20
  * // Create a new Mailgun domain
21
- * const defaultDomain = new mailgun.Domain("default", {
21
+ * const _default = new mailgun.Domain("default", {
22
22
  * dkimKeySize: 1024,
23
23
  * region: "us",
24
24
  * smtpPassword: "supersecretpassword1234",
@@ -37,6 +37,28 @@ const utilities = require("./utilities");
37
37
  * ```
38
38
  */
39
39
  class Domain extends pulumi.CustomResource {
40
+ /**
41
+ * Get an existing Domain resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name, id, state, opts) {
50
+ return new Domain(name, state, Object.assign(Object.assign({}, opts), { id: id }));
51
+ }
52
+ /**
53
+ * Returns true if the given object is an instance of Domain. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj) {
57
+ if (obj === undefined || obj === null) {
58
+ return false;
59
+ }
60
+ return obj['__pulumiType'] === Domain.__pulumiType;
61
+ }
40
62
  constructor(name, argsOrState, opts) {
41
63
  let resourceInputs = {};
42
64
  opts = opts || {};
@@ -44,10 +66,14 @@ class Domain extends pulumi.CustomResource {
44
66
  const state = argsOrState;
45
67
  resourceInputs["dkimKeySize"] = state ? state.dkimKeySize : undefined;
46
68
  resourceInputs["dkimSelector"] = state ? state.dkimSelector : undefined;
69
+ resourceInputs["forceDkimAuthority"] = state ? state.forceDkimAuthority : undefined;
47
70
  resourceInputs["name"] = state ? state.name : undefined;
71
+ resourceInputs["openTracking"] = state ? state.openTracking : undefined;
48
72
  resourceInputs["receivingRecords"] = state ? state.receivingRecords : undefined;
73
+ resourceInputs["receivingRecordsSets"] = state ? state.receivingRecordsSets : undefined;
49
74
  resourceInputs["region"] = state ? state.region : undefined;
50
75
  resourceInputs["sendingRecords"] = state ? state.sendingRecords : undefined;
76
+ resourceInputs["sendingRecordsSets"] = state ? state.sendingRecordsSets : undefined;
51
77
  resourceInputs["smtpLogin"] = state ? state.smtpLogin : undefined;
52
78
  resourceInputs["smtpPassword"] = state ? state.smtpPassword : undefined;
53
79
  resourceInputs["spamAction"] = state ? state.spamAction : undefined;
@@ -57,40 +83,24 @@ class Domain extends pulumi.CustomResource {
57
83
  const args = argsOrState;
58
84
  resourceInputs["dkimKeySize"] = args ? args.dkimKeySize : undefined;
59
85
  resourceInputs["dkimSelector"] = args ? args.dkimSelector : undefined;
86
+ resourceInputs["forceDkimAuthority"] = args ? args.forceDkimAuthority : undefined;
60
87
  resourceInputs["name"] = args ? args.name : undefined;
88
+ resourceInputs["openTracking"] = args ? args.openTracking : undefined;
61
89
  resourceInputs["region"] = args ? args.region : undefined;
62
- resourceInputs["smtpPassword"] = args ? args.smtpPassword : undefined;
90
+ resourceInputs["smtpPassword"] = (args === null || args === void 0 ? void 0 : args.smtpPassword) ? pulumi.secret(args.smtpPassword) : undefined;
63
91
  resourceInputs["spamAction"] = args ? args.spamAction : undefined;
64
92
  resourceInputs["wildcard"] = args ? args.wildcard : undefined;
65
93
  resourceInputs["receivingRecords"] = undefined /*out*/;
94
+ resourceInputs["receivingRecordsSets"] = undefined /*out*/;
66
95
  resourceInputs["sendingRecords"] = undefined /*out*/;
96
+ resourceInputs["sendingRecordsSets"] = undefined /*out*/;
67
97
  resourceInputs["smtpLogin"] = undefined /*out*/;
68
98
  }
69
99
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
+ const secretOpts = { additionalSecretOutputs: ["smtpPassword"] };
101
+ opts = pulumi.mergeOptions(opts, secretOpts);
70
102
  super(Domain.__pulumiType, name, resourceInputs, opts);
71
103
  }
72
- /**
73
- * Get an existing Domain resource's state with the given name, ID, and optional extra
74
- * properties used to qualify the lookup.
75
- *
76
- * @param name The _unique_ name of the resulting resource.
77
- * @param id The _unique_ provider ID of the resource to lookup.
78
- * @param state Any extra arguments used during the lookup.
79
- * @param opts Optional settings to control the behavior of the CustomResource.
80
- */
81
- static get(name, id, state, opts) {
82
- return new Domain(name, state, Object.assign(Object.assign({}, opts), { id: id }));
83
- }
84
- /**
85
- * Returns true if the given object is an instance of Domain. This is designed to work even
86
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
87
- */
88
- static isInstance(obj) {
89
- if (obj === undefined || obj === null) {
90
- return false;
91
- }
92
- return obj['__pulumiType'] === Domain.__pulumiType;
93
- }
94
104
  }
95
105
  exports.Domain = Domain;
96
106
  /** @internal */
package/domain.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"domain.js","sourceRoot":"","sources":["../domain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAgF7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAA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;QACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA5IL,wBA6IC;AA/HG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
@@ -4,21 +4,6 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * > **Note:** Please note that starting of v0.6.1 due to using new Mailgun Client API (v4), there is no possibility to retrieve previously created secrets via API. In order get it worked, it's recommended to mark `password` as ignored under `lifecycle` block. See below.
6
6
  *
7
- * ## Example Usage
8
- *
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as mailgun from "@pulumi/mailgun";
12
- *
13
- * // Create a new Mailgun credential
14
- * const foobar = new mailgun.DomainCredential("foobar", {
15
- * domain: "toto.com",
16
- * login: "test",
17
- * password: "supersecretpassword1234",
18
- * region: "us",
19
- * }, { ignoreChanges: ["password"] });
20
- * ```
21
- *
22
7
  * ## Import
23
8
  *
24
9
  * Domain credential can be imported using `region:email` via `import` command. Region has to be chosen from `eu` or `us` (when no selection `us` is applied).
@@ -10,21 +10,6 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * > **Note:** Please note that starting of v0.6.1 due to using new Mailgun Client API (v4), there is no possibility to retrieve previously created secrets via API. In order get it worked, it's recommended to mark `password` as ignored under `lifecycle` block. See below.
12
12
  *
13
- * ## Example Usage
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as mailgun from "@pulumi/mailgun";
18
- *
19
- * // Create a new Mailgun credential
20
- * const foobar = new mailgun.DomainCredential("foobar", {
21
- * domain: "toto.com",
22
- * login: "test",
23
- * password: "supersecretpassword1234",
24
- * region: "us",
25
- * }, { ignoreChanges: ["password"] });
26
- * ```
27
- *
28
13
  * ## Import
29
14
  *
30
15
  * Domain credential can be imported using `region:email` via `import` command. Region has to be chosen from `eu` or `us` (when no selection `us` is applied).
@@ -36,6 +21,28 @@ const utilities = require("./utilities");
36
21
  * ```
37
22
  */
38
23
  class DomainCredential extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing DomainCredential resource's state with the given name, ID, and optional extra
26
+ * properties used to qualify the lookup.
27
+ *
28
+ * @param name The _unique_ name of the resulting resource.
29
+ * @param id The _unique_ provider ID of the resource to lookup.
30
+ * @param state Any extra arguments used during the lookup.
31
+ * @param opts Optional settings to control the behavior of the CustomResource.
32
+ */
33
+ static get(name, id, state, opts) {
34
+ return new DomainCredential(name, state, Object.assign(Object.assign({}, opts), { id: id }));
35
+ }
36
+ /**
37
+ * Returns true if the given object is an instance of DomainCredential. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ static isInstance(obj) {
41
+ if (obj === undefined || obj === null) {
42
+ return false;
43
+ }
44
+ return obj['__pulumiType'] === DomainCredential.__pulumiType;
45
+ }
39
46
  constructor(name, argsOrState, opts) {
40
47
  let resourceInputs = {};
41
48
  opts = opts || {};
@@ -59,34 +66,14 @@ class DomainCredential extends pulumi.CustomResource {
59
66
  }
60
67
  resourceInputs["domain"] = args ? args.domain : undefined;
61
68
  resourceInputs["login"] = args ? args.login : undefined;
62
- resourceInputs["password"] = args ? args.password : undefined;
69
+ resourceInputs["password"] = (args === null || args === void 0 ? void 0 : args.password) ? pulumi.secret(args.password) : undefined;
63
70
  resourceInputs["region"] = args ? args.region : undefined;
64
71
  }
65
72
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
73
+ const secretOpts = { additionalSecretOutputs: ["password"] };
74
+ opts = pulumi.mergeOptions(opts, secretOpts);
66
75
  super(DomainCredential.__pulumiType, name, resourceInputs, opts);
67
76
  }
68
- /**
69
- * Get an existing DomainCredential resource's state with the given name, ID, and optional extra
70
- * properties used to qualify the lookup.
71
- *
72
- * @param name The _unique_ name of the resulting resource.
73
- * @param id The _unique_ provider ID of the resource to lookup.
74
- * @param state Any extra arguments used during the lookup.
75
- * @param opts Optional settings to control the behavior of the CustomResource.
76
- */
77
- static get(name, id, state, opts) {
78
- return new DomainCredential(name, state, Object.assign(Object.assign({}, opts), { id: id }));
79
- }
80
- /**
81
- * Returns true if the given object is an instance of DomainCredential. This is designed to work even
82
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
83
- */
84
- static isInstance(obj) {
85
- if (obj === undefined || obj === null) {
86
- return false;
87
- }
88
- return obj['__pulumiType'] === DomainCredential.__pulumiType;
89
- }
90
77
  }
91
78
  exports.DomainCredential = DomainCredential;
92
79
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"domainCredential.js","sourceRoot":"","sources":["../domainCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAqDvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CA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C,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACvF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAlFL,4CAmFC;AArEG,gBAAgB;AACO,6BAAY,GAAG,iDAAiD,CAAC"}
package/getDomain.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { output as outputs } from "./types";
2
+ import * as outputs from "./types/output";
3
3
  /**
4
4
  * `mailgun.Domain` provides details about a Mailgun domain.
5
5
  *
@@ -10,18 +10,18 @@ import { output as outputs } from "./types";
10
10
  * import * as aws from "@pulumi/aws";
11
11
  * import * as mailgun from "@pulumi/mailgun";
12
12
  *
13
- * const domain = pulumi.output(mailgun.getDomain({
13
+ * const domain = mailgun.getDomain({
14
14
  * name: "test.example.com",
15
- * }));
15
+ * });
16
16
  * const mailgun_mx = new aws.route53.Record("mailgun-mx", {
17
- * name: mailgun_domain.name,
17
+ * name: data.mailgun.domain.name,
18
18
  * records: [
19
- * pulumi.interpolate`${domain.receivingRecords[0].priority} ${domain.receivingRecords[0].value}.`,
20
- * pulumi.interpolate`${domain.receivingRecords[1].priority} ${domain.receivingRecords[1].value}.`,
19
+ * Promise.all([domain, domain]).then(([domain, domain1]) => `${domain.receivingRecords?.[0]?.priority} ${domain1.receivingRecords?.[0]?.value}.`),
20
+ * Promise.all([domain, domain]).then(([domain, domain1]) => `${domain.receivingRecords?.[1]?.priority} ${domain1.receivingRecords?.[1]?.value}.`),
21
21
  * ],
22
22
  * ttl: 3600,
23
23
  * type: "MX",
24
- * zoneId: var_zone_id,
24
+ * zoneId: _var.zone_id,
25
25
  * });
26
26
  * ```
27
27
  */
@@ -32,10 +32,15 @@ export declare function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptio
32
32
  export interface GetDomainArgs {
33
33
  dkimKeySize?: number;
34
34
  dkimSelector?: string;
35
+ forceDkimAuthority?: boolean;
35
36
  /**
36
37
  * The name of the domain.
37
38
  */
38
39
  name: string;
40
+ openTracking?: boolean;
41
+ /**
42
+ * The region where domain will be created. Default value is `us`.
43
+ */
39
44
  region?: string;
40
45
  /**
41
46
  * The password to the SMTP server.
@@ -56,6 +61,7 @@ export interface GetDomainArgs {
56
61
  export interface GetDomainResult {
57
62
  readonly dkimKeySize?: number;
58
63
  readonly dkimSelector?: string;
64
+ readonly forceDkimAuthority?: boolean;
59
65
  /**
60
66
  * The provider-assigned unique ID for this managed resource.
61
67
  */
@@ -64,15 +70,22 @@ export interface GetDomainResult {
64
70
  * The name of the record.
65
71
  */
66
72
  readonly name: string;
73
+ readonly openTracking?: boolean;
67
74
  /**
68
75
  * A list of DNS records for receiving validation.
76
+ *
77
+ * @deprecated Use `receiving_records_set` instead.
69
78
  */
70
79
  readonly receivingRecords: outputs.GetDomainReceivingRecord[];
80
+ readonly receivingRecordsSets: outputs.GetDomainReceivingRecordsSet[];
71
81
  readonly region?: string;
72
82
  /**
73
83
  * A list of DNS records for sending validation.
84
+ *
85
+ * @deprecated Use `sending_records_set` instead.
74
86
  */
75
87
  readonly sendingRecords: outputs.GetDomainSendingRecord[];
88
+ readonly sendingRecordsSets: outputs.GetDomainSendingRecordsSet[];
76
89
  /**
77
90
  * The login email for the SMTP server.
78
91
  */
@@ -80,7 +93,7 @@ export interface GetDomainResult {
80
93
  /**
81
94
  * The password to the SMTP server.
82
95
  */
83
- readonly smtpPassword: string;
96
+ readonly smtpPassword?: string;
84
97
  /**
85
98
  * The spam filtering setting.
86
99
  */
@@ -90,6 +103,31 @@ export interface GetDomainResult {
90
103
  */
91
104
  readonly wildcard?: boolean;
92
105
  }
106
+ /**
107
+ * `mailgun.Domain` provides details about a Mailgun domain.
108
+ *
109
+ * ## Example Usage
110
+ *
111
+ * ```typescript
112
+ * import * as pulumi from "@pulumi/pulumi";
113
+ * import * as aws from "@pulumi/aws";
114
+ * import * as mailgun from "@pulumi/mailgun";
115
+ *
116
+ * const domain = mailgun.getDomain({
117
+ * name: "test.example.com",
118
+ * });
119
+ * const mailgun_mx = new aws.route53.Record("mailgun-mx", {
120
+ * name: data.mailgun.domain.name,
121
+ * records: [
122
+ * Promise.all([domain, domain]).then(([domain, domain1]) => `${domain.receivingRecords?.[0]?.priority} ${domain1.receivingRecords?.[0]?.value}.`),
123
+ * Promise.all([domain, domain]).then(([domain, domain1]) => `${domain.receivingRecords?.[1]?.priority} ${domain1.receivingRecords?.[1]?.value}.`),
124
+ * ],
125
+ * ttl: 3600,
126
+ * type: "MX",
127
+ * zoneId: _var.zone_id,
128
+ * });
129
+ * ```
130
+ */
93
131
  export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDomainResult>;
94
132
  /**
95
133
  * A collection of arguments for invoking getDomain.
@@ -97,10 +135,15 @@ export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi
97
135
  export interface GetDomainOutputArgs {
98
136
  dkimKeySize?: pulumi.Input<number>;
99
137
  dkimSelector?: pulumi.Input<string>;
138
+ forceDkimAuthority?: pulumi.Input<boolean>;
100
139
  /**
101
140
  * The name of the domain.
102
141
  */
103
142
  name: pulumi.Input<string>;
143
+ openTracking?: pulumi.Input<boolean>;
144
+ /**
145
+ * The region where domain will be created. Default value is `us`.
146
+ */
104
147
  region?: pulumi.Input<string>;
105
148
  /**
106
149
  * The password to the SMTP server.
package/getDomain.js CHANGED
@@ -15,30 +15,29 @@ const utilities = require("./utilities");
15
15
  * import * as aws from "@pulumi/aws";
16
16
  * import * as mailgun from "@pulumi/mailgun";
17
17
  *
18
- * const domain = pulumi.output(mailgun.getDomain({
18
+ * const domain = mailgun.getDomain({
19
19
  * name: "test.example.com",
20
- * }));
20
+ * });
21
21
  * const mailgun_mx = new aws.route53.Record("mailgun-mx", {
22
- * name: mailgun_domain.name,
22
+ * name: data.mailgun.domain.name,
23
23
  * records: [
24
- * pulumi.interpolate`${domain.receivingRecords[0].priority} ${domain.receivingRecords[0].value}.`,
25
- * pulumi.interpolate`${domain.receivingRecords[1].priority} ${domain.receivingRecords[1].value}.`,
24
+ * Promise.all([domain, domain]).then(([domain, domain1]) => `${domain.receivingRecords?.[0]?.priority} ${domain1.receivingRecords?.[0]?.value}.`),
25
+ * Promise.all([domain, domain]).then(([domain, domain1]) => `${domain.receivingRecords?.[1]?.priority} ${domain1.receivingRecords?.[1]?.value}.`),
26
26
  * ],
27
27
  * ttl: 3600,
28
28
  * type: "MX",
29
- * zoneId: var_zone_id,
29
+ * zoneId: _var.zone_id,
30
30
  * });
31
31
  * ```
32
32
  */
33
33
  function getDomain(args, opts) {
34
- if (!opts) {
35
- opts = {};
36
- }
37
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
34
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
38
35
  return pulumi.runtime.invoke("mailgun:index/getDomain:getDomain", {
39
36
  "dkimKeySize": args.dkimKeySize,
40
37
  "dkimSelector": args.dkimSelector,
38
+ "forceDkimAuthority": args.forceDkimAuthority,
41
39
  "name": args.name,
40
+ "openTracking": args.openTracking,
42
41
  "region": args.region,
43
42
  "smtpPassword": args.smtpPassword,
44
43
  "spamAction": args.spamAction,
@@ -46,8 +45,33 @@ function getDomain(args, opts) {
46
45
  }, opts);
47
46
  }
48
47
  exports.getDomain = getDomain;
48
+ /**
49
+ * `mailgun.Domain` provides details about a Mailgun domain.
50
+ *
51
+ * ## Example Usage
52
+ *
53
+ * ```typescript
54
+ * import * as pulumi from "@pulumi/pulumi";
55
+ * import * as aws from "@pulumi/aws";
56
+ * import * as mailgun from "@pulumi/mailgun";
57
+ *
58
+ * const domain = mailgun.getDomain({
59
+ * name: "test.example.com",
60
+ * });
61
+ * const mailgun_mx = new aws.route53.Record("mailgun-mx", {
62
+ * name: data.mailgun.domain.name,
63
+ * records: [
64
+ * Promise.all([domain, domain]).then(([domain, domain1]) => `${domain.receivingRecords?.[0]?.priority} ${domain1.receivingRecords?.[0]?.value}.`),
65
+ * Promise.all([domain, domain]).then(([domain, domain1]) => `${domain.receivingRecords?.[1]?.priority} ${domain1.receivingRecords?.[1]?.value}.`),
66
+ * ],
67
+ * ttl: 3600,
68
+ * type: "MX",
69
+ * zoneId: _var.zone_id,
70
+ * });
71
+ * ```
72
+ */
49
73
  function getDomainOutput(args, opts) {
50
- return pulumi.output(args).apply(a => getDomain(a, opts));
74
+ return pulumi.output(args).apply((a) => getDomain(a, opts));
51
75
  }
52
76
  exports.getDomainOutput = getDomainOutput;
53
77
  //# sourceMappingURL=getDomain.js.map
package/getDomain.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../getDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ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AAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,8BAcC;AAgFD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
package/index.d.ts CHANGED
@@ -1,9 +1,21 @@
1
- export * from "./domain";
2
- export * from "./domainCredential";
3
- export * from "./getDomain";
4
- export * from "./provider";
5
- export * from "./route";
6
- export * from "./webhook";
1
+ export { DomainArgs, DomainState } from "./domain";
2
+ export type Domain = import("./domain").Domain;
3
+ export declare const Domain: typeof import("./domain").Domain;
4
+ export { DomainCredentialArgs, DomainCredentialState } from "./domainCredential";
5
+ export type DomainCredential = import("./domainCredential").DomainCredential;
6
+ export declare const DomainCredential: typeof import("./domainCredential").DomainCredential;
7
+ export { GetDomainArgs, GetDomainResult, GetDomainOutputArgs } from "./getDomain";
8
+ export declare const getDomain: typeof import("./getDomain").getDomain;
9
+ export declare const getDomainOutput: typeof import("./getDomain").getDomainOutput;
10
+ export { ProviderArgs } from "./provider";
11
+ export type Provider = import("./provider").Provider;
12
+ export declare const Provider: typeof import("./provider").Provider;
13
+ export { RouteArgs, RouteState } from "./route";
14
+ export type Route = import("./route").Route;
15
+ export declare const Route: typeof import("./route").Route;
16
+ export { WebhookArgs, WebhookState } from "./webhook";
17
+ export type Webhook = import("./webhook").Webhook;
18
+ export declare const Webhook: typeof import("./webhook").Webhook;
7
19
  import * as config from "./config";
8
20
  import * as types from "./types";
9
21
  export { config, types, };
package/index.js CHANGED
@@ -1,53 +1,40 @@
1
1
  "use strict";
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
16
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
- };
18
4
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.types = exports.config = void 0;
5
+ exports.types = exports.config = exports.Webhook = exports.Route = exports.Provider = exports.getDomainOutput = exports.getDomain = exports.DomainCredential = exports.Domain = void 0;
20
6
  const pulumi = require("@pulumi/pulumi");
21
7
  const utilities = require("./utilities");
22
- // Export members:
23
- __exportStar(require("./domain"), exports);
24
- __exportStar(require("./domainCredential"), exports);
25
- __exportStar(require("./getDomain"), exports);
26
- __exportStar(require("./provider"), exports);
27
- __exportStar(require("./route"), exports);
28
- __exportStar(require("./webhook"), exports);
8
+ exports.Domain = null;
9
+ utilities.lazyLoad(exports, ["Domain"], () => require("./domain"));
10
+ exports.DomainCredential = null;
11
+ utilities.lazyLoad(exports, ["DomainCredential"], () => require("./domainCredential"));
12
+ exports.getDomain = null;
13
+ exports.getDomainOutput = null;
14
+ utilities.lazyLoad(exports, ["getDomain", "getDomainOutput"], () => require("./getDomain"));
15
+ exports.Provider = null;
16
+ utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
17
+ exports.Route = null;
18
+ utilities.lazyLoad(exports, ["Route"], () => require("./route"));
19
+ exports.Webhook = null;
20
+ utilities.lazyLoad(exports, ["Webhook"], () => require("./webhook"));
29
21
  // Export sub-modules:
30
22
  const config = require("./config");
31
23
  exports.config = config;
32
24
  const types = require("./types");
33
25
  exports.types = types;
34
- // Import resources to register:
35
- const domain_1 = require("./domain");
36
- const domainCredential_1 = require("./domainCredential");
37
- const route_1 = require("./route");
38
- const webhook_1 = require("./webhook");
39
26
  const _module = {
40
27
  version: utilities.getVersion(),
41
28
  construct: (name, type, urn) => {
42
29
  switch (type) {
43
30
  case "mailgun:index/domain:Domain":
44
- return new domain_1.Domain(name, undefined, { urn });
31
+ return new exports.Domain(name, undefined, { urn });
45
32
  case "mailgun:index/domainCredential:DomainCredential":
46
- return new domainCredential_1.DomainCredential(name, undefined, { urn });
33
+ return new exports.DomainCredential(name, undefined, { urn });
47
34
  case "mailgun:index/route:Route":
48
- return new route_1.Route(name, undefined, { urn });
35
+ return new exports.Route(name, undefined, { urn });
49
36
  case "mailgun:index/webhook:Webhook":
50
- return new webhook_1.Webhook(name, undefined, { urn });
37
+ return new exports.Webhook(name, undefined, { urn });
51
38
  default:
52
39
  throw new Error(`unknown resource type ${type}`);
53
40
  }
@@ -57,14 +44,13 @@ pulumi.runtime.registerResourceModule("mailgun", "index/domain", _module);
57
44
  pulumi.runtime.registerResourceModule("mailgun", "index/domainCredential", _module);
58
45
  pulumi.runtime.registerResourceModule("mailgun", "index/route", _module);
59
46
  pulumi.runtime.registerResourceModule("mailgun", "index/webhook", _module);
60
- const provider_1 = require("./provider");
61
47
  pulumi.runtime.registerResourcePackage("mailgun", {
62
48
  version: utilities.getVersion(),
63
49
  constructProvider: (name, type, urn) => {
64
50
  if (type !== "pulumi:providers:mailgun") {
65
51
  throw new Error(`unknown provider type ${type}`);
66
52
  }
67
- return new provider_1.Provider(name, undefined, { urn });
53
+ return new exports.Provider(name, undefined, { urn });
68
54
  },
69
55
  });
70
56
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,2CAAyB;AACzB,qDAAmC;AACnC,8CAA4B;AAC5B,6CAA2B;AAC3B,0CAAwB;AACxB,4CAA0B;AAE1B,sBAAsB;AACtB,mCAAmC;AAI/B,wBAAM;AAHV,iCAAiC;AAI7B,sBAAK;AAGT,gCAAgC;AAChC,qCAAkC;AAClC,yDAAsD;AACtD,mCAAgC;AAChC,uCAAoC;AAEpC,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,6BAA6B;gBAC9B,OAAO,IAAI,eAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,iDAAiD;gBAClD,OAAO,IAAI,mCAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,+BAA+B;gBAChC,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAA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BACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,SAAS,EAAE;IAC9C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,0BAA0B,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/mailgun",
3
- "version": "v3.4.0",
3
+ "version": "v3.4.1",
4
4
  "description": "A Pulumi package for creating and managing Mailgun resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource mailgun v3.4.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource mailgun v3.4.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
@@ -22,6 +22,7 @@
22
22
  "typescript": "^4.3.5"
23
23
  },
24
24
  "pulumi": {
25
- "resource": true
25
+ "resource": true,
26
+ "name": "mailgun"
26
27
  }
27
28
  }
package/package.json.bak CHANGED
@@ -22,6 +22,7 @@
22
22
  "typescript": "^4.3.5"
23
23
  },
24
24
  "pulumi": {
25
- "resource": true
25
+ "resource": true,
26
+ "name": "mailgun"
26
27
  }
27
28
  }
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/mailgun",
3
- "version": "v3.4.0",
3
+ "version": "v3.4.1",
4
4
  "description": "A Pulumi package for creating and managing Mailgun resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource mailgun v3.4.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource mailgun v3.4.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
@@ -22,6 +22,7 @@
22
22
  "typescript": "^4.3.5"
23
23
  },
24
24
  "pulumi": {
25
- "resource": true
25
+ "resource": true,
26
+ "name": "mailgun"
26
27
  }
27
28
  }
package/provider.js CHANGED
@@ -12,6 +12,16 @@ const utilities = require("./utilities");
12
12
  * [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
13
13
  */
14
14
  class Provider extends pulumi.ProviderResource {
15
+ /**
16
+ * Returns true if the given object is an instance of Provider. 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) {
20
+ if (obj === undefined || obj === null) {
21
+ return false;
22
+ }
23
+ return obj['__pulumiType'] === Provider.__pulumiType;
24
+ }
15
25
  /**
16
26
  * Create a Provider resource with the given unique name, arguments, and options.
17
27
  *
@@ -31,16 +41,6 @@ class Provider extends pulumi.ProviderResource {
31
41
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
32
42
  super(Provider.__pulumiType, name, resourceInputs, opts);
33
43
  }
34
- /**
35
- * Returns true if the given object is an instance of Provider. This is designed to work even
36
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
37
- */
38
- static isInstance(obj) {
39
- if (obj === undefined || obj === null) {
40
- return false;
41
- }
42
- return obj['__pulumiType'] === Provider.__pulumiType;
43
- }
44
44
  }
45
45
  exports.Provider = Provider;
46
46
  /** @internal */
package/provider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAiBjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAA6B;QACvE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IA/BD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE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,qBAAY,GAAG,SAAS,CAAC"}
package/route.d.ts CHANGED
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as mailgun from "@pulumi/mailgun";
10
10
  *
11
11
  * // Create a new Mailgun route
12
- * const defaultRoute = new mailgun.Route("default", {
12
+ * const _default = new mailgun.Route("default", {
13
13
  * actions: [
14
14
  * "forward('http://example.com/api/v1/foos/')",
15
15
  * "stop()",
package/route.js CHANGED
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
15
15
  * import * as mailgun from "@pulumi/mailgun";
16
16
  *
17
17
  * // Create a new Mailgun route
18
- * const defaultRoute = new mailgun.Route("default", {
18
+ * const _default = new mailgun.Route("default", {
19
19
  * actions: [
20
20
  * "forward('http://example.com/api/v1/foos/')",
21
21
  * "stop()",
@@ -37,6 +37,28 @@ const utilities = require("./utilities");
37
37
  * ```
38
38
  */
39
39
  class Route extends pulumi.CustomResource {
40
+ /**
41
+ * Get an existing Route resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name, id, state, opts) {
50
+ return new Route(name, state, Object.assign(Object.assign({}, opts), { id: id }));
51
+ }
52
+ /**
53
+ * Returns true if the given object is an instance of Route. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj) {
57
+ if (obj === undefined || obj === null) {
58
+ return false;
59
+ }
60
+ return obj['__pulumiType'] === Route.__pulumiType;
61
+ }
40
62
  constructor(name, argsOrState, opts) {
41
63
  let resourceInputs = {};
42
64
  opts = opts || {};
@@ -68,28 +90,6 @@ class Route extends pulumi.CustomResource {
68
90
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
69
91
  super(Route.__pulumiType, name, resourceInputs, opts);
70
92
  }
71
- /**
72
- * Get an existing Route resource's state with the given name, ID, and optional extra
73
- * properties used to qualify the lookup.
74
- *
75
- * @param name The _unique_ name of the resulting resource.
76
- * @param id The _unique_ provider ID of the resource to lookup.
77
- * @param state Any extra arguments used during the lookup.
78
- * @param opts Optional settings to control the behavior of the CustomResource.
79
- */
80
- static get(name, id, state, opts) {
81
- return new Route(name, state, Object.assign(Object.assign({}, opts), { id: id }));
82
- }
83
- /**
84
- * Returns true if the given object is an instance of Route. This is designed to work even
85
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
86
- */
87
- static isInstance(obj) {
88
- if (obj === undefined || obj === null) {
89
- return false;
90
- }
91
- return obj['__pulumiType'] === Route.__pulumiType;
92
- }
93
93
  }
94
94
  exports.Route = Route;
95
95
  /** @internal */
package/route.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"route.js","sourceRoot":"","sources":["../route.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAmD5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC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AAmC;AAI/B,wBAAM"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAIjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}
package/types/input.d.ts CHANGED
@@ -1,5 +1,25 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  export interface DomainReceivingRecord {
3
+ id?: pulumi.Input<string>;
4
+ /**
5
+ * The priority of the record.
6
+ */
7
+ priority?: pulumi.Input<string>;
8
+ /**
9
+ * The record type.
10
+ */
11
+ recordType?: pulumi.Input<string>;
12
+ /**
13
+ * `"valid"` if the record is valid.
14
+ */
15
+ valid?: pulumi.Input<string>;
16
+ /**
17
+ * The value of the record.
18
+ */
19
+ value?: pulumi.Input<string>;
20
+ }
21
+ export interface DomainReceivingRecordsSet {
22
+ id?: pulumi.Input<string>;
3
23
  /**
4
24
  * The priority of the record.
5
25
  */
@@ -18,6 +38,26 @@ export interface DomainReceivingRecord {
18
38
  value?: pulumi.Input<string>;
19
39
  }
20
40
  export interface DomainSendingRecord {
41
+ id?: pulumi.Input<string>;
42
+ /**
43
+ * The domain to add to Mailgun
44
+ */
45
+ name?: pulumi.Input<string>;
46
+ /**
47
+ * The record type.
48
+ */
49
+ recordType?: pulumi.Input<string>;
50
+ /**
51
+ * `"valid"` if the record is valid.
52
+ */
53
+ valid?: pulumi.Input<string>;
54
+ /**
55
+ * The value of the record.
56
+ */
57
+ value?: pulumi.Input<string>;
58
+ }
59
+ export interface DomainSendingRecordsSet {
60
+ id?: pulumi.Input<string>;
21
61
  /**
22
62
  * The domain to add to Mailgun
23
63
  */
package/types/output.d.ts CHANGED
@@ -1,4 +1,24 @@
1
1
  export interface DomainReceivingRecord {
2
+ id: string;
3
+ /**
4
+ * The priority of the record.
5
+ */
6
+ priority: string;
7
+ /**
8
+ * The record type.
9
+ */
10
+ recordType: string;
11
+ /**
12
+ * `"valid"` if the record is valid.
13
+ */
14
+ valid: string;
15
+ /**
16
+ * The value of the record.
17
+ */
18
+ value: string;
19
+ }
20
+ export interface DomainReceivingRecordsSet {
21
+ id: string;
2
22
  /**
3
23
  * The priority of the record.
4
24
  */
@@ -17,6 +37,26 @@ export interface DomainReceivingRecord {
17
37
  value: string;
18
38
  }
19
39
  export interface DomainSendingRecord {
40
+ id: string;
41
+ /**
42
+ * The domain to add to Mailgun
43
+ */
44
+ name: string;
45
+ /**
46
+ * The record type.
47
+ */
48
+ recordType: string;
49
+ /**
50
+ * `"valid"` if the record is valid.
51
+ */
52
+ valid: string;
53
+ /**
54
+ * The value of the record.
55
+ */
56
+ value: string;
57
+ }
58
+ export interface DomainSendingRecordsSet {
59
+ id: string;
20
60
  /**
21
61
  * The domain to add to Mailgun
22
62
  */
@@ -35,6 +75,26 @@ export interface DomainSendingRecord {
35
75
  value: string;
36
76
  }
37
77
  export interface GetDomainReceivingRecord {
78
+ id: string;
79
+ /**
80
+ * The priority of the record.
81
+ */
82
+ priority: string;
83
+ /**
84
+ * The record type.
85
+ */
86
+ recordType: string;
87
+ /**
88
+ * `"valid"` if the record is valid.
89
+ */
90
+ valid: string;
91
+ /**
92
+ * The value of the record.
93
+ */
94
+ value: string;
95
+ }
96
+ export interface GetDomainReceivingRecordsSet {
97
+ id: string;
38
98
  /**
39
99
  * The priority of the record.
40
100
  */
@@ -53,6 +113,26 @@ export interface GetDomainReceivingRecord {
53
113
  value: string;
54
114
  }
55
115
  export interface GetDomainSendingRecord {
116
+ id: string;
117
+ /**
118
+ * The name of the domain.
119
+ */
120
+ name: string;
121
+ /**
122
+ * The record type.
123
+ */
124
+ recordType: string;
125
+ /**
126
+ * `"valid"` if the record is valid.
127
+ */
128
+ valid: string;
129
+ /**
130
+ * The value of the record.
131
+ */
132
+ value: string;
133
+ }
134
+ export interface GetDomainSendingRecordsSet {
135
+ id: string;
56
136
  /**
57
137
  * The name of the domain.
58
138
  */
package/utilities.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
5
+ exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
6
6
  function getEnv(...vars) {
7
7
  for (const v of vars) {
8
8
  const value = process.env[v];
@@ -54,4 +54,16 @@ function resourceOptsDefaults() {
54
54
  return { version: getVersion() };
55
55
  }
56
56
  exports.resourceOptsDefaults = resourceOptsDefaults;
57
+ /** @internal */
58
+ function lazyLoad(exports, props, loadModule) {
59
+ for (let property of props) {
60
+ Object.defineProperty(exports, property, {
61
+ enumerable: true,
62
+ get: function () {
63
+ return loadModule()[property];
64
+ },
65
+ });
66
+ }
67
+ }
68
+ exports.lazyLoad = lazyLoad;
57
69
  //# sourceMappingURL=utilities.js.map
package/utilities.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGjF,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACzD,IAAI,C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;AATD,oCASC;AAED,SAAgB,UAAU;IACtB,IAAI,OAAO,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC,OAAO,CAAC;IAChD,6EAA6E;IAC7E,iCAAiC;IACjC,IAAI,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;QAC5B,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KAC9B;IACD,OAAO,OAAO,CAAC;AACnB,CAAC;AARD,gCAQC;AAED,gBAAgB;AAChB,SAAgB,oBAAoB;IAChC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,CAAC;AACrC,CAAC;AAFD,oDAEC;AAED,gBAAgB;AAChB,SAAgB,QAAQ,CAAC,OAAY,EAAE,KAAe,EAAE,UAAe;IACnE,KAAK,IAAI,QAAQ,IAAI,KAAK,EAAE;QACxB,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;YACrC,UAAU,EAAE,IAAI;YAChB,GAAG,EAAE;gBACD,OAAO,UAAU,EAAE,CAAC,QAAQ,CAAC,CAAC;YAClC,CAAC;SACJ,CAAC,CAAC;KACN;AACL,CAAC;AATD,4BASC"}
package/webhook.d.ts CHANGED
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as mailgun from "@pulumi/mailgun";
11
11
  *
12
12
  * // Create a new Mailgun webhook
13
- * const defaultWebhook = new mailgun.Webhook("default", {
13
+ * const _default = new mailgun.Webhook("default", {
14
14
  * domain: "test.example.com",
15
15
  * kind: "delivered",
16
16
  * region: "us",
package/webhook.js CHANGED
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
16
16
  * import * as mailgun from "@pulumi/mailgun";
17
17
  *
18
18
  * // Create a new Mailgun webhook
19
- * const defaultWebhook = new mailgun.Webhook("default", {
19
+ * const _default = new mailgun.Webhook("default", {
20
20
  * domain: "test.example.com",
21
21
  * kind: "delivered",
22
22
  * region: "us",
@@ -25,6 +25,28 @@ const utilities = require("./utilities");
25
25
  * ```
26
26
  */
27
27
  class Webhook extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing Webhook resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name, id, state, opts) {
38
+ return new Webhook(name, state, Object.assign(Object.assign({}, opts), { id: id }));
39
+ }
40
+ /**
41
+ * Returns true if the given object is an instance of Webhook. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj) {
45
+ if (obj === undefined || obj === null) {
46
+ return false;
47
+ }
48
+ return obj['__pulumiType'] === Webhook.__pulumiType;
49
+ }
28
50
  constructor(name, argsOrState, opts) {
29
51
  let resourceInputs = {};
30
52
  opts = opts || {};
@@ -54,28 +76,6 @@ class Webhook extends pulumi.CustomResource {
54
76
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
55
77
  super(Webhook.__pulumiType, name, resourceInputs, opts);
56
78
  }
57
- /**
58
- * Get an existing Webhook resource's state with the given name, ID, and optional extra
59
- * properties used to qualify the lookup.
60
- *
61
- * @param name The _unique_ name of the resulting resource.
62
- * @param id The _unique_ provider ID of the resource to lookup.
63
- * @param state Any extra arguments used during the lookup.
64
- * @param opts Optional settings to control the behavior of the CustomResource.
65
- */
66
- static get(name, id, state, opts) {
67
- return new Webhook(name, state, Object.assign(Object.assign({}, opts), { id: id }));
68
- }
69
- /**
70
- * Returns true if the given object is an instance of Webhook. This is designed to work even
71
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
72
- */
73
- static isInstance(obj) {
74
- if (obj === undefined || obj === null) {
75
- return false;
76
- }
77
- return obj['__pulumiType'] === Webhook.__pulumiType;
78
- }
79
79
  }
80
80
  exports.Webhook = Webhook;
81
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