@pulumi/aws 7.16.0-alpha.1767399337 → 7.16.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.
Files changed (189) hide show
  1. package/alb/listener.d.ts +3 -3
  2. package/alb/targetGroup.d.ts +3 -3
  3. package/alb/targetGroupAttachment.d.ts +32 -0
  4. package/alb/targetGroupAttachment.js +22 -0
  5. package/alb/targetGroupAttachment.js.map +1 -1
  6. package/apigateway/domainName.d.ts +32 -3
  7. package/apigateway/domainName.js +19 -0
  8. package/apigateway/domainName.js.map +1 -1
  9. package/apigateway/getDomainName.d.ts +4 -0
  10. package/apigateway/getDomainName.js.map +1 -1
  11. package/apigateway/integration.d.ts +25 -4
  12. package/apigateway/integration.js +25 -4
  13. package/apigateway/integration.js.map +1 -1
  14. package/backup/globalSettings.d.ts +7 -3
  15. package/backup/globalSettings.js +4 -0
  16. package/backup/globalSettings.js.map +1 -1
  17. package/bedrock/agentcoreMemoryStrategy.d.ts +6 -0
  18. package/bedrock/agentcoreMemoryStrategy.js.map +1 -1
  19. package/cleanrooms/collaboration.d.ts +13 -3
  20. package/cleanrooms/collaboration.js +13 -3
  21. package/cleanrooms/collaboration.js.map +1 -1
  22. package/cloudfront/connectionFunction.d.ts +243 -0
  23. package/cloudfront/connectionFunction.js +159 -0
  24. package/cloudfront/connectionFunction.js.map +1 -0
  25. package/cloudfront/connectionGroup.d.ts +196 -0
  26. package/cloudfront/connectionGroup.js +101 -0
  27. package/cloudfront/connectionGroup.js.map +1 -0
  28. package/cloudfront/distribution.d.ts +49 -0
  29. package/cloudfront/distribution.js +29 -0
  30. package/cloudfront/distribution.js.map +1 -1
  31. package/cloudfront/distributionTenant.d.ts +275 -0
  32. package/cloudfront/distributionTenant.js +152 -0
  33. package/cloudfront/distributionTenant.js.map +1 -0
  34. package/cloudfront/getConnectionGroup.d.ts +103 -0
  35. package/cloudfront/getConnectionGroup.js +54 -0
  36. package/cloudfront/getConnectionGroup.js.map +1 -0
  37. package/cloudfront/getDistributionTenant.d.ts +113 -0
  38. package/cloudfront/getDistributionTenant.js +58 -0
  39. package/cloudfront/getDistributionTenant.js.map +1 -0
  40. package/cloudfront/index.d.ts +18 -0
  41. package/cloudfront/index.js +27 -1
  42. package/cloudfront/index.js.map +1 -1
  43. package/cloudfront/multitenantDistribution.d.ts +347 -0
  44. package/cloudfront/multitenantDistribution.js +147 -0
  45. package/cloudfront/multitenantDistribution.js.map +1 -0
  46. package/cloudwatch/logSubscriptionFilter.d.ts +42 -18
  47. package/cloudwatch/logSubscriptionFilter.js +4 -0
  48. package/cloudwatch/logSubscriptionFilter.js.map +1 -1
  49. package/directconnect/gateway.d.ts +30 -0
  50. package/directconnect/gateway.js +4 -0
  51. package/directconnect/gateway.js.map +1 -1
  52. package/directconnect/getGateway.d.ts +18 -0
  53. package/directconnect/getGateway.js +2 -0
  54. package/directconnect/getGateway.js.map +1 -1
  55. package/dynamodb/globalSecondaryIndex.d.ts +202 -0
  56. package/dynamodb/globalSecondaryIndex.js +94 -0
  57. package/dynamodb/globalSecondaryIndex.js.map +1 -0
  58. package/dynamodb/index.d.ts +3 -0
  59. package/dynamodb/index.js +6 -1
  60. package/dynamodb/index.js.map +1 -1
  61. package/dynamodb/table.d.ts +5 -1
  62. package/dynamodb/table.js +4 -0
  63. package/dynamodb/table.js.map +1 -1
  64. package/ec2/getVpcEndpoint.d.ts +17 -3
  65. package/ec2/getVpcEndpoint.js +4 -0
  66. package/ec2/getVpcEndpoint.js.map +1 -1
  67. package/ecr/getRepositoryCreationTemplate.d.ts +1 -1
  68. package/ecr/index.d.ts +3 -0
  69. package/ecr/index.js +6 -1
  70. package/ecr/index.js.map +1 -1
  71. package/ecr/lifecyclePolicy.d.ts +77 -32
  72. package/ecr/lifecyclePolicy.js +77 -32
  73. package/ecr/lifecyclePolicy.js.map +1 -1
  74. package/ecr/pullTimeUpdateExclusion.d.ts +145 -0
  75. package/ecr/pullTimeUpdateExclusion.js +133 -0
  76. package/ecr/pullTimeUpdateExclusion.js.map +1 -0
  77. package/ecr/repositoryCreationTemplate.d.ts +3 -3
  78. package/ecs/taskDefinition.d.ts +12 -12
  79. package/elasticache/replicationGroup.d.ts +3 -3
  80. package/fsx/ontapFileSystem.d.ts +6 -0
  81. package/fsx/ontapFileSystem.js.map +1 -1
  82. package/glue/resourcePolicy.d.ts +2 -2
  83. package/glue/resourcePolicy.js +2 -2
  84. package/iam/getSamlProvider.d.ts +4 -0
  85. package/iam/getSamlProvider.js.map +1 -1
  86. package/iam/outboundWebIdentityFederation.d.ts +0 -2
  87. package/iam/outboundWebIdentityFederation.js +0 -2
  88. package/iam/outboundWebIdentityFederation.js.map +1 -1
  89. package/iam/policy.d.ts +12 -0
  90. package/iam/policy.js +2 -0
  91. package/iam/policy.js.map +1 -1
  92. package/iam/samlProvider.d.ts +8 -0
  93. package/iam/samlProvider.js +2 -0
  94. package/iam/samlProvider.js.map +1 -1
  95. package/iam/virtualMfaDevice.d.ts +26 -18
  96. package/iam/virtualMfaDevice.js +2 -0
  97. package/iam/virtualMfaDevice.js.map +1 -1
  98. package/imagebuilder/image.d.ts +12 -0
  99. package/imagebuilder/image.js +2 -0
  100. package/imagebuilder/image.js.map +1 -1
  101. package/imagebuilder/imagePipeline.d.ts +12 -0
  102. package/imagebuilder/imagePipeline.js +2 -0
  103. package/imagebuilder/imagePipeline.js.map +1 -1
  104. package/kms/grant.d.ts +8 -8
  105. package/lambda/eventSourceMapping.d.ts +1 -0
  106. package/lambda/eventSourceMapping.js +1 -0
  107. package/lambda/eventSourceMapping.js.map +1 -1
  108. package/lambda/function.d.ts +8 -0
  109. package/lambda/function.js +2 -0
  110. package/lambda/function.js.map +1 -1
  111. package/lambda/functionUrl.d.ts +2 -0
  112. package/lambda/functionUrl.js +2 -0
  113. package/lambda/functionUrl.js.map +1 -1
  114. package/lambda/getFunction.d.ts +4 -0
  115. package/lambda/getFunction.js.map +1 -1
  116. package/lambda/permission.d.ts +12 -0
  117. package/lambda/permission.js +2 -0
  118. package/lambda/permission.js.map +1 -1
  119. package/lb/listener.d.ts +3 -3
  120. package/lb/targetGroup.d.ts +3 -3
  121. package/lb/targetGroupAttachment.d.ts +32 -0
  122. package/lb/targetGroupAttachment.js +22 -0
  123. package/lb/targetGroupAttachment.js.map +1 -1
  124. package/networkfirewall/vpcEndpointAssociation.d.ts +1 -1
  125. package/networkfirewall/vpcEndpointAssociation.js +1 -1
  126. package/networkmanager/vpcAttachment.d.ts +3 -3
  127. package/opensearchingest/pipeline.d.ts +12 -0
  128. package/opensearchingest/pipeline.js +2 -0
  129. package/opensearchingest/pipeline.js.map +1 -1
  130. package/organizations/index.d.ts +3 -0
  131. package/organizations/index.js +6 -1
  132. package/organizations/index.js.map +1 -1
  133. package/organizations/tag.d.ts +99 -0
  134. package/organizations/tag.js +89 -0
  135. package/organizations/tag.js.map +1 -0
  136. package/package.json +2 -2
  137. package/rds/cluster.d.ts +9 -9
  138. package/rds/getProxy.d.ts +8 -0
  139. package/rds/getProxy.js.map +1 -1
  140. package/rds/proxy.d.ts +24 -0
  141. package/rds/proxy.js +4 -0
  142. package/rds/proxy.js.map +1 -1
  143. package/rds/proxyDefaultTargetGroup.d.ts +0 -40
  144. package/rds/proxyDefaultTargetGroup.js +0 -40
  145. package/rds/proxyDefaultTargetGroup.js.map +1 -1
  146. package/rds/proxyTarget.d.ts +0 -43
  147. package/rds/proxyTarget.js +0 -43
  148. package/rds/proxyTarget.js.map +1 -1
  149. package/redshift/idcApplication.d.ts +203 -0
  150. package/redshift/idcApplication.js +111 -0
  151. package/redshift/idcApplication.js.map +1 -0
  152. package/redshift/index.d.ts +3 -0
  153. package/redshift/index.js +6 -1
  154. package/redshift/index.js.map +1 -1
  155. package/route53/getResolverFirewallRules.d.ts +9 -0
  156. package/route53/getResolverFirewallRules.js.map +1 -1
  157. package/route53/getResolverRule.d.ts +5 -0
  158. package/route53/getResolverRule.js.map +1 -1
  159. package/route53/resolverFirewallRule.d.ts +66 -9
  160. package/route53/resolverFirewallRule.js +32 -4
  161. package/route53/resolverFirewallRule.js.map +1 -1
  162. package/secretsmanager/index.d.ts +3 -0
  163. package/secretsmanager/index.js +6 -1
  164. package/secretsmanager/index.js.map +1 -1
  165. package/secretsmanager/tag.d.ts +107 -0
  166. package/secretsmanager/tag.js +87 -0
  167. package/secretsmanager/tag.js.map +1 -0
  168. package/sesv2/index.d.ts +3 -0
  169. package/sesv2/index.js +6 -1
  170. package/sesv2/index.js.map +1 -1
  171. package/sesv2/tenant.d.ts +147 -0
  172. package/sesv2/tenant.js +91 -0
  173. package/sesv2/tenant.js.map +1 -0
  174. package/sfn/activity.d.ts +0 -2
  175. package/sfn/activity.js +0 -2
  176. package/sfn/activity.js.map +1 -1
  177. package/sfn/alias.d.ts +0 -2
  178. package/sfn/alias.js +0 -2
  179. package/sfn/alias.js.map +1 -1
  180. package/transfer/webApp.d.ts +15 -3
  181. package/transfer/webApp.js +2 -0
  182. package/transfer/webApp.js.map +1 -1
  183. package/types/input.d.ts +890 -19
  184. package/types/input.js.map +1 -1
  185. package/types/output.d.ts +966 -12
  186. package/types/output.js.map +1 -1
  187. package/vpclattice/serviceNetworkResourceAssociation.d.ts +12 -0
  188. package/vpclattice/serviceNetworkResourceAssociation.js +2 -0
  189. package/vpclattice/serviceNetworkResourceAssociation.js.map +1 -1
@@ -10,6 +10,8 @@ const utilities = require("../utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
+ * ### Domain List Rule
14
+ *
13
15
  * ```typescript
14
16
  * import * as pulumi from "@pulumi/pulumi";
15
17
  * import * as aws from "@pulumi/aws";
@@ -36,9 +38,32 @@ const utilities = require("../utilities");
36
38
  * });
37
39
  * ```
38
40
  *
41
+ * ### DNS Firewall Advanced Rule
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as aws from "@pulumi/aws";
46
+ *
47
+ * const example = new aws.route53.ResolverFirewallRuleGroup("example", {
48
+ * name: "example",
49
+ * tags: {},
50
+ * });
51
+ * const exampleResolverFirewallRule = new aws.route53.ResolverFirewallRule("example", {
52
+ * name: "block-dga",
53
+ * action: "BLOCK",
54
+ * blockResponse: "NODATA",
55
+ * firewallRuleGroupId: example.id,
56
+ * dnsThreatProtection: "DGA",
57
+ * confidenceThreshold: "HIGH",
58
+ * priority: 100,
59
+ * });
60
+ * ```
61
+ *
39
62
  * ## Import
40
63
  *
41
- * Using `pulumi import`, import Route 53 Resolver DNS Firewall rules using the Route 53 Resolver DNS Firewall rule group ID and domain list ID separated by ':'. For example:
64
+ * DNS Firewall Advanced rule:
65
+ *
66
+ * Using `pulumi import`, import Route 53 Resolver DNS Firewall rules using the Route 53 Resolver DNS Firewall rule group ID and domain list ID (for standard rules) or threat protection ID (for advanced rules) separated by ':'. For example:
42
67
  *
43
68
  * ```sh
44
69
  * $ pulumi import aws:route53/resolverFirewallRule:ResolverFirewallRule example rslvr-frg-0123456789abcdef:rslvr-fdl-0123456789abcdef
@@ -77,9 +102,12 @@ class ResolverFirewallRule extends pulumi.CustomResource {
77
102
  resourceInputs["blockOverrideDomain"] = state?.blockOverrideDomain;
78
103
  resourceInputs["blockOverrideTtl"] = state?.blockOverrideTtl;
79
104
  resourceInputs["blockResponse"] = state?.blockResponse;
105
+ resourceInputs["confidenceThreshold"] = state?.confidenceThreshold;
106
+ resourceInputs["dnsThreatProtection"] = state?.dnsThreatProtection;
80
107
  resourceInputs["firewallDomainListId"] = state?.firewallDomainListId;
81
108
  resourceInputs["firewallDomainRedirectionAction"] = state?.firewallDomainRedirectionAction;
82
109
  resourceInputs["firewallRuleGroupId"] = state?.firewallRuleGroupId;
110
+ resourceInputs["firewallThreatProtectionId"] = state?.firewallThreatProtectionId;
83
111
  resourceInputs["name"] = state?.name;
84
112
  resourceInputs["priority"] = state?.priority;
85
113
  resourceInputs["qType"] = state?.qType;
@@ -90,9 +118,6 @@ class ResolverFirewallRule extends pulumi.CustomResource {
90
118
  if (args?.action === undefined && !opts.urn) {
91
119
  throw new Error("Missing required property 'action'");
92
120
  }
93
- if (args?.firewallDomainListId === undefined && !opts.urn) {
94
- throw new Error("Missing required property 'firewallDomainListId'");
95
- }
96
121
  if (args?.firewallRuleGroupId === undefined && !opts.urn) {
97
122
  throw new Error("Missing required property 'firewallRuleGroupId'");
98
123
  }
@@ -104,6 +129,8 @@ class ResolverFirewallRule extends pulumi.CustomResource {
104
129
  resourceInputs["blockOverrideDomain"] = args?.blockOverrideDomain;
105
130
  resourceInputs["blockOverrideTtl"] = args?.blockOverrideTtl;
106
131
  resourceInputs["blockResponse"] = args?.blockResponse;
132
+ resourceInputs["confidenceThreshold"] = args?.confidenceThreshold;
133
+ resourceInputs["dnsThreatProtection"] = args?.dnsThreatProtection;
107
134
  resourceInputs["firewallDomainListId"] = args?.firewallDomainListId;
108
135
  resourceInputs["firewallDomainRedirectionAction"] = args?.firewallDomainRedirectionAction;
109
136
  resourceInputs["firewallRuleGroupId"] = args?.firewallRuleGroupId;
@@ -111,6 +138,7 @@ class ResolverFirewallRule extends pulumi.CustomResource {
111
138
  resourceInputs["priority"] = args?.priority;
112
139
  resourceInputs["qType"] = args?.qType;
113
140
  resourceInputs["region"] = args?.region;
141
+ resourceInputs["firewallThreatProtectionId"] = undefined /*out*/;
114
142
  }
115
143
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
116
144
  super(ResolverFirewallRule.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"resolverFirewallRule.js","sourceRoot":"","sources":["../../route53/resolverFirewallRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QA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c,CAAC,4BAA4B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAlJL,oDAmJC;AArIG,gBAAgB;AACO,iCAAY,GAAG,uDAAuD,CAAC"}
@@ -28,3 +28,6 @@ export declare const SecretRotation: typeof import("./secretRotation").SecretRot
28
28
  export { SecretVersionArgs, SecretVersionState } from "./secretVersion";
29
29
  export type SecretVersion = import("./secretVersion").SecretVersion;
30
30
  export declare const SecretVersion: typeof import("./secretVersion").SecretVersion;
31
+ export { TagArgs, TagState } from "./tag";
32
+ export type Tag = import("./tag").Tag;
33
+ export declare const Tag: typeof import("./tag").Tag;
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.SecretVersion = exports.SecretRotation = exports.SecretPolicy = exports.Secret = exports.getSecretsOutput = exports.getSecrets = exports.getSecretVersionsOutput = exports.getSecretVersions = exports.getSecretVersionOutput = exports.getSecretVersion = exports.getSecretRotationOutput = exports.getSecretRotation = exports.getSecretOutput = exports.getSecret = exports.getRandomPasswordOutput = exports.getRandomPassword = void 0;
5
+ exports.Tag = exports.SecretVersion = exports.SecretRotation = exports.SecretPolicy = exports.Secret = exports.getSecretsOutput = exports.getSecrets = exports.getSecretVersionsOutput = exports.getSecretVersions = exports.getSecretVersionOutput = exports.getSecretVersion = exports.getSecretRotationOutput = exports.getSecretRotation = exports.getSecretOutput = exports.getSecret = exports.getRandomPasswordOutput = exports.getRandomPassword = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.getRandomPassword = null;
@@ -31,6 +31,8 @@ exports.SecretRotation = null;
31
31
  utilities.lazyLoad(exports, ["SecretRotation"], () => require("./secretRotation"));
32
32
  exports.SecretVersion = null;
33
33
  utilities.lazyLoad(exports, ["SecretVersion"], () => require("./secretVersion"));
34
+ exports.Tag = null;
35
+ utilities.lazyLoad(exports, ["Tag"], () => require("./tag"));
34
36
  const _module = {
35
37
  version: utilities.getVersion(),
36
38
  construct: (name, type, urn) => {
@@ -43,6 +45,8 @@ const _module = {
43
45
  return new exports.SecretRotation(name, undefined, { urn });
44
46
  case "aws:secretsmanager/secretVersion:SecretVersion":
45
47
  return new exports.SecretVersion(name, undefined, { urn });
48
+ case "aws:secretsmanager/tag:Tag":
49
+ return new exports.Tag(name, undefined, { urn });
46
50
  default:
47
51
  throw new Error(`unknown resource type ${type}`);
48
52
  }
@@ -52,4 +56,5 @@ pulumi.runtime.registerResourceModule("aws", "secretsmanager/secret", _module);
52
56
  pulumi.runtime.registerResourceModule("aws", "secretsmanager/secretPolicy", _module);
53
57
  pulumi.runtime.registerResourceModule("aws", "secretsmanager/secretRotation", _module);
54
58
  pulumi.runtime.registerResourceModule("aws", "secretsmanager/secretVersion", _module);
59
+ pulumi.runtime.registerResourceModule("aws", "secretsmanager/tag", _module);
55
60
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../secretsmanager/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACxF,QAAA,uBAAuB,GAAiE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,EAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAGtG,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA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CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,107 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as aws from "@pulumi/aws";
8
+ *
9
+ * const test = new aws.secretsmanager.Secret("test", {name: "example-secret"});
10
+ * const testTag = new aws.secretsmanager.Tag("test", {
11
+ * secretId: test.id,
12
+ * key: "ExampleKey",
13
+ * value: "ExampleValue",
14
+ * });
15
+ * ```
16
+ *
17
+ * ## Import
18
+ *
19
+ * Using `pulumi import`, import `aws_secretsmanager_tag` using the AWS Secrets Manager secret identifier and key, separated by a comma (`,`). For example:
20
+ *
21
+ * ```sh
22
+ * $ pulumi import aws:secretsmanager/tag:Tag example arn:aws:secretsmanager:us-east-1:123456789012:example-secret,ExampleKey
23
+ * ```
24
+ */
25
+ export declare class Tag extends pulumi.CustomResource {
26
+ /**
27
+ * Get an existing Tag resource's state with the given name, ID, and optional extra
28
+ * properties used to qualify the lookup.
29
+ *
30
+ * @param name The _unique_ name of the resulting resource.
31
+ * @param id The _unique_ provider ID of the resource to lookup.
32
+ * @param state Any extra arguments used during the lookup.
33
+ * @param opts Optional settings to control the behavior of the CustomResource.
34
+ */
35
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TagState, opts?: pulumi.CustomResourceOptions): Tag;
36
+ /**
37
+ * Returns true if the given object is an instance of Tag. 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: any): obj is Tag;
41
+ /**
42
+ * Tag name.
43
+ */
44
+ readonly key: pulumi.Output<string>;
45
+ /**
46
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
47
+ */
48
+ readonly region: pulumi.Output<string>;
49
+ /**
50
+ * ID of the AWS Secrets Manager secret to tag.
51
+ */
52
+ readonly secretId: pulumi.Output<string>;
53
+ /**
54
+ * Tag value.
55
+ */
56
+ readonly value: pulumi.Output<string>;
57
+ /**
58
+ * Create a Tag resource with the given unique name, arguments, and options.
59
+ *
60
+ * @param name The _unique_ name of the resource.
61
+ * @param args The arguments to use to populate this resource's properties.
62
+ * @param opts A bag of options that control this resource's behavior.
63
+ */
64
+ constructor(name: string, args: TagArgs, opts?: pulumi.CustomResourceOptions);
65
+ }
66
+ /**
67
+ * Input properties used for looking up and filtering Tag resources.
68
+ */
69
+ export interface TagState {
70
+ /**
71
+ * Tag name.
72
+ */
73
+ key?: pulumi.Input<string>;
74
+ /**
75
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
76
+ */
77
+ region?: pulumi.Input<string>;
78
+ /**
79
+ * ID of the AWS Secrets Manager secret to tag.
80
+ */
81
+ secretId?: pulumi.Input<string>;
82
+ /**
83
+ * Tag value.
84
+ */
85
+ value?: pulumi.Input<string>;
86
+ }
87
+ /**
88
+ * The set of arguments for constructing a Tag resource.
89
+ */
90
+ export interface TagArgs {
91
+ /**
92
+ * Tag name.
93
+ */
94
+ key: pulumi.Input<string>;
95
+ /**
96
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
97
+ */
98
+ region?: pulumi.Input<string>;
99
+ /**
100
+ * ID of the AWS Secrets Manager secret to tag.
101
+ */
102
+ secretId: pulumi.Input<string>;
103
+ /**
104
+ * Tag value.
105
+ */
106
+ value: pulumi.Input<string>;
107
+ }
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Tag = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ *
15
+ * const test = new aws.secretsmanager.Secret("test", {name: "example-secret"});
16
+ * const testTag = new aws.secretsmanager.Tag("test", {
17
+ * secretId: test.id,
18
+ * key: "ExampleKey",
19
+ * value: "ExampleValue",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * Using `pulumi import`, import `aws_secretsmanager_tag` using the AWS Secrets Manager secret identifier and key, separated by a comma (`,`). For example:
26
+ *
27
+ * ```sh
28
+ * $ pulumi import aws:secretsmanager/tag:Tag example arn:aws:secretsmanager:us-east-1:123456789012:example-secret,ExampleKey
29
+ * ```
30
+ */
31
+ class Tag extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Tag 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 Tag(name, state, { ...opts, id: id });
43
+ }
44
+ /**
45
+ * Returns true if the given object is an instance of Tag. 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'] === Tag.__pulumiType;
53
+ }
54
+ constructor(name, argsOrState, opts) {
55
+ let resourceInputs = {};
56
+ opts = opts || {};
57
+ if (opts.id) {
58
+ const state = argsOrState;
59
+ resourceInputs["key"] = state?.key;
60
+ resourceInputs["region"] = state?.region;
61
+ resourceInputs["secretId"] = state?.secretId;
62
+ resourceInputs["value"] = state?.value;
63
+ }
64
+ else {
65
+ const args = argsOrState;
66
+ if (args?.key === undefined && !opts.urn) {
67
+ throw new Error("Missing required property 'key'");
68
+ }
69
+ if (args?.secretId === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'secretId'");
71
+ }
72
+ if (args?.value === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'value'");
74
+ }
75
+ resourceInputs["key"] = args?.key;
76
+ resourceInputs["region"] = args?.region;
77
+ resourceInputs["secretId"] = args?.secretId;
78
+ resourceInputs["value"] = args?.value;
79
+ }
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
+ super(Tag.__pulumiType, name, resourceInputs, opts);
82
+ }
83
+ }
84
+ exports.Tag = Tag;
85
+ /** @internal */
86
+ Tag.__pulumiType = 'aws:secretsmanager/tag:Tag';
87
+ //# sourceMappingURL=tag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.js","sourceRoot":"","sources":["../../secretsmanager/tag.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1D,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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE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AAI,CAAC,CAAC;IACxD,CAAC;;AAhFL,kBAiFC;AAnEG,gBAAgB;AACO,gBAAY,GAAG,4BAA4B,CAAC"}
package/sesv2/index.d.ts CHANGED
@@ -43,3 +43,6 @@ export declare const getEmailIdentityOutput: typeof import("./getEmailIdentity")
43
43
  export { GetEmailIdentityMailFromAttributesArgs, GetEmailIdentityMailFromAttributesResult, GetEmailIdentityMailFromAttributesOutputArgs } from "./getEmailIdentityMailFromAttributes";
44
44
  export declare const getEmailIdentityMailFromAttributes: typeof import("./getEmailIdentityMailFromAttributes").getEmailIdentityMailFromAttributes;
45
45
  export declare const getEmailIdentityMailFromAttributesOutput: typeof import("./getEmailIdentityMailFromAttributes").getEmailIdentityMailFromAttributesOutput;
46
+ export { TenantArgs, TenantState } from "./tenant";
47
+ export type Tenant = import("./tenant").Tenant;
48
+ export declare const Tenant: typeof import("./tenant").Tenant;
package/sesv2/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.getEmailIdentityMailFromAttributesOutput = exports.getEmailIdentityMailFromAttributes = exports.getEmailIdentityOutput = exports.getEmailIdentity = exports.getDedicatedIpPoolOutput = exports.getDedicatedIpPool = exports.getConfigurationSetOutput = exports.getConfigurationSet = exports.EmailIdentityPolicy = exports.EmailIdentityMailFromAttributes = exports.EmailIdentityFeedbackAttributes = exports.EmailIdentity = exports.DedicatedIpPool = exports.DedicatedIpAssignment = exports.ContactList = exports.ConfigurationSetEventDestination = exports.ConfigurationSet = exports.AccountVdmAttributes = exports.AccountSuppressionAttributes = void 0;
5
+ exports.Tenant = exports.getEmailIdentityMailFromAttributesOutput = exports.getEmailIdentityMailFromAttributes = exports.getEmailIdentityOutput = exports.getEmailIdentity = exports.getDedicatedIpPoolOutput = exports.getDedicatedIpPool = exports.getConfigurationSetOutput = exports.getConfigurationSet = exports.EmailIdentityPolicy = exports.EmailIdentityMailFromAttributes = exports.EmailIdentityFeedbackAttributes = exports.EmailIdentity = exports.DedicatedIpPool = exports.DedicatedIpAssignment = exports.ContactList = exports.ConfigurationSetEventDestination = exports.ConfigurationSet = exports.AccountVdmAttributes = exports.AccountSuppressionAttributes = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.AccountSuppressionAttributes = null;
@@ -39,6 +39,8 @@ utilities.lazyLoad(exports, ["getEmailIdentity", "getEmailIdentityOutput"], () =
39
39
  exports.getEmailIdentityMailFromAttributes = null;
40
40
  exports.getEmailIdentityMailFromAttributesOutput = null;
41
41
  utilities.lazyLoad(exports, ["getEmailIdentityMailFromAttributes", "getEmailIdentityMailFromAttributesOutput"], () => require("./getEmailIdentityMailFromAttributes"));
42
+ exports.Tenant = null;
43
+ utilities.lazyLoad(exports, ["Tenant"], () => require("./tenant"));
42
44
  const _module = {
43
45
  version: utilities.getVersion(),
44
46
  construct: (name, type, urn) => {
@@ -65,6 +67,8 @@ const _module = {
65
67
  return new exports.EmailIdentityMailFromAttributes(name, undefined, { urn });
66
68
  case "aws:sesv2/emailIdentityPolicy:EmailIdentityPolicy":
67
69
  return new exports.EmailIdentityPolicy(name, undefined, { urn });
70
+ case "aws:sesv2/tenant:Tenant":
71
+ return new exports.Tenant(name, undefined, { urn });
68
72
  default:
69
73
  throw new Error(`unknown resource type ${type}`);
70
74
  }
@@ -81,4 +85,5 @@ pulumi.runtime.registerResourceModule("aws", "sesv2/emailIdentity", _module);
81
85
  pulumi.runtime.registerResourceModule("aws", "sesv2/emailIdentityFeedbackAttributes", _module);
82
86
  pulumi.runtime.registerResourceModule("aws", "sesv2/emailIdentityMailFromAttributes", _module);
83
87
  pulumi.runtime.registerResourceModule("aws", "sesv2/emailIdentityPolicy", _module);
88
+ pulumi.runtime.registerResourceModule("aws", "sesv2/tenant", _module);
84
89
  //# sourceMappingURL=index.js.map
@@ -1 +1 @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* ### Basic Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const example = new aws.sesv2.Tenant("example", {
14
+ * tenantName: "example-tenant",
15
+ * tags: {
16
+ * Environment: "test",
17
+ * },
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * Using `pulumi import`, import an SESv2 Tenant using the `tenant_name`. For example:
24
+ *
25
+ * ```sh
26
+ * $ pulumi import aws:sesv2/tenant:Tenant example example-tenant
27
+ * ```
28
+ */
29
+ export declare class Tenant extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing Tenant resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TenantState, opts?: pulumi.CustomResourceOptions): Tenant;
40
+ /**
41
+ * Returns true if the given object is an instance of Tenant. 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: any): obj is Tenant;
45
+ /**
46
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
47
+ */
48
+ readonly region: pulumi.Output<string>;
49
+ /**
50
+ * Current sending status of the tenant.
51
+ */
52
+ readonly sendingStatus: pulumi.Output<string>;
53
+ /**
54
+ * Map of tags to assign to the tenant.
55
+ */
56
+ readonly tags: pulumi.Output<{
57
+ [key: string]: string;
58
+ } | undefined>;
59
+ /**
60
+ * Map of tags assigned to the tenant, including provider default tags.
61
+ */
62
+ readonly tagsAll: pulumi.Output<{
63
+ [key: string]: string;
64
+ }>;
65
+ /**
66
+ * ARN of the Tenant.
67
+ */
68
+ readonly tenantArn: pulumi.Output<string>;
69
+ /**
70
+ * ID of the Tenant.
71
+ */
72
+ readonly tenantId: pulumi.Output<string>;
73
+ /**
74
+ * Name of the SESV2 tenant. The name must be unique within the AWS account and Region. Changing the tenant name forces creation of a new tenant.
75
+ *
76
+ * The following arguments are optional:
77
+ */
78
+ readonly tenantName: pulumi.Output<string>;
79
+ /**
80
+ * Create a Tenant resource with the given unique name, arguments, and options.
81
+ *
82
+ * @param name The _unique_ name of the resource.
83
+ * @param args The arguments to use to populate this resource's properties.
84
+ * @param opts A bag of options that control this resource's behavior.
85
+ */
86
+ constructor(name: string, args: TenantArgs, opts?: pulumi.CustomResourceOptions);
87
+ }
88
+ /**
89
+ * Input properties used for looking up and filtering Tenant resources.
90
+ */
91
+ export interface TenantState {
92
+ /**
93
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
94
+ */
95
+ region?: pulumi.Input<string>;
96
+ /**
97
+ * Current sending status of the tenant.
98
+ */
99
+ sendingStatus?: pulumi.Input<string>;
100
+ /**
101
+ * Map of tags to assign to the tenant.
102
+ */
103
+ tags?: pulumi.Input<{
104
+ [key: string]: pulumi.Input<string>;
105
+ }>;
106
+ /**
107
+ * Map of tags assigned to the tenant, including provider default tags.
108
+ */
109
+ tagsAll?: pulumi.Input<{
110
+ [key: string]: pulumi.Input<string>;
111
+ }>;
112
+ /**
113
+ * ARN of the Tenant.
114
+ */
115
+ tenantArn?: pulumi.Input<string>;
116
+ /**
117
+ * ID of the Tenant.
118
+ */
119
+ tenantId?: pulumi.Input<string>;
120
+ /**
121
+ * Name of the SESV2 tenant. The name must be unique within the AWS account and Region. Changing the tenant name forces creation of a new tenant.
122
+ *
123
+ * The following arguments are optional:
124
+ */
125
+ tenantName?: pulumi.Input<string>;
126
+ }
127
+ /**
128
+ * The set of arguments for constructing a Tenant resource.
129
+ */
130
+ export interface TenantArgs {
131
+ /**
132
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
133
+ */
134
+ region?: pulumi.Input<string>;
135
+ /**
136
+ * Map of tags to assign to the tenant.
137
+ */
138
+ tags?: pulumi.Input<{
139
+ [key: string]: pulumi.Input<string>;
140
+ }>;
141
+ /**
142
+ * Name of the SESV2 tenant. The name must be unique within the AWS account and Region. Changing the tenant name forces creation of a new tenant.
143
+ *
144
+ * The following arguments are optional:
145
+ */
146
+ tenantName: pulumi.Input<string>;
147
+ }