@pulumi/aws-native 0.102.0 → 0.102.1-alpha.1713443400

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 (61) hide show
  1. package/appintegrations/application.d.ts +8 -0
  2. package/appintegrations/application.js +2 -0
  3. package/appintegrations/application.js.map +1 -1
  4. package/appintegrations/getApplication.d.ts +4 -0
  5. package/appintegrations/getApplication.js.map +1 -1
  6. package/ecr/getRepositoryCreationTemplate.d.ts +58 -0
  7. package/ecr/getRepositoryCreationTemplate.js +25 -0
  8. package/ecr/getRepositoryCreationTemplate.js.map +1 -0
  9. package/ecr/index.d.ts +6 -0
  10. package/ecr/index.js +8 -1
  11. package/ecr/index.js.map +1 -1
  12. package/ecr/repositoryCreationTemplate.d.ts +102 -0
  13. package/ecr/repositoryCreationTemplate.js +82 -0
  14. package/ecr/repositoryCreationTemplate.js.map +1 -0
  15. package/lambda/alias.d.ts +87 -0
  16. package/lambda/alias.js +76 -0
  17. package/lambda/alias.js.map +1 -0
  18. package/lambda/function.d.ts +82 -0
  19. package/lambda/function.js +82 -0
  20. package/lambda/function.js.map +1 -1
  21. package/lambda/getAlias.d.ts +44 -0
  22. package/lambda/getAlias.js +25 -0
  23. package/lambda/getAlias.js.map +1 -0
  24. package/lambda/index.d.ts +6 -0
  25. package/lambda/index.js +8 -1
  26. package/lambda/index.js.map +1 -1
  27. package/package.json +2 -2
  28. package/package.json.dev +1 -1
  29. package/s3/bucket.d.ts +0 -15
  30. package/s3/bucket.js +1 -1
  31. package/s3/bucket.js.map +1 -1
  32. package/s3/bucketPolicy.d.ts +2 -1
  33. package/s3/bucketPolicy.js +2 -1
  34. package/s3/bucketPolicy.js.map +1 -1
  35. package/s3/getBucket.d.ts +4 -15
  36. package/s3/getBucket.js.map +1 -1
  37. package/s3/getBucketPolicy.d.ts +4 -2
  38. package/s3/getBucketPolicy.js +4 -2
  39. package/s3/getBucketPolicy.js.map +1 -1
  40. package/timestream/getInfluxDbInstance.d.ts +65 -0
  41. package/timestream/getInfluxDbInstance.js +25 -0
  42. package/timestream/getInfluxDbInstance.js.map +1 -0
  43. package/timestream/index.d.ts +6 -0
  44. package/timestream/index.js +8 -1
  45. package/timestream/index.js.map +1 -1
  46. package/timestream/influxDbInstance.d.ts +184 -0
  47. package/timestream/influxDbInstance.js +100 -0
  48. package/timestream/influxDbInstance.js.map +1 -0
  49. package/types/enums/ecr/index.d.ts +24 -0
  50. package/types/enums/ecr/index.js +13 -1
  51. package/types/enums/ecr/index.js.map +1 -1
  52. package/types/enums/s3/index.d.ts +2 -2
  53. package/types/enums/timestream/index.d.ts +44 -0
  54. package/types/enums/timestream/index.js +29 -1
  55. package/types/enums/timestream/index.js.map +1 -1
  56. package/types/input.d.ts +78 -3
  57. package/types/output.d.ts +78 -3
  58. package/verifiedpermissions/getPolicyStore.d.ts +2 -2
  59. package/verifiedpermissions/getPolicyStore.js +2 -2
  60. package/verifiedpermissions/policyStore.d.ts +1 -1
  61. package/verifiedpermissions/policyStore.js +1 -1
@@ -43,6 +43,10 @@ export declare class Application extends pulumi.CustomResource {
43
43
  * The namespace of the application.
44
44
  */
45
45
  readonly namespace: pulumi.Output<string | undefined>;
46
+ /**
47
+ * The configuration of events or requests that the application has access to.
48
+ */
49
+ readonly permissions: pulumi.Output<string[] | undefined>;
46
50
  /**
47
51
  * The tags (keys and values) associated with the application.
48
52
  */
@@ -76,6 +80,10 @@ export interface ApplicationArgs {
76
80
  * The namespace of the application.
77
81
  */
78
82
  namespace?: pulumi.Input<string>;
83
+ /**
84
+ * The configuration of events or requests that the application has access to.
85
+ */
86
+ permissions?: pulumi.Input<pulumi.Input<string>[]>;
79
87
  /**
80
88
  * The tags (keys and values) associated with the application.
81
89
  */
@@ -51,6 +51,7 @@ class Application extends pulumi.CustomResource {
51
51
  resourceInputs["description"] = args ? args.description : undefined;
52
52
  resourceInputs["name"] = args ? args.name : undefined;
53
53
  resourceInputs["namespace"] = args ? args.namespace : undefined;
54
+ resourceInputs["permissions"] = args ? args.permissions : undefined;
54
55
  resourceInputs["tags"] = args ? args.tags : undefined;
55
56
  resourceInputs["applicationArn"] = undefined /*out*/;
56
57
  resourceInputs["awsId"] = undefined /*out*/;
@@ -62,6 +63,7 @@ class Application extends pulumi.CustomResource {
62
63
  resourceInputs["description"] = undefined /*out*/;
63
64
  resourceInputs["name"] = undefined /*out*/;
64
65
  resourceInputs["namespace"] = undefined /*out*/;
66
+ resourceInputs["permissions"] = undefined /*out*/;
65
67
  resourceInputs["tags"] = undefined /*out*/;
66
68
  }
67
69
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"application.js","sourceRoot":"","sources":["../../appintegrations/application.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA+BD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAqB,EAAE,IAAmC;QAChF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI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AC;YAC9D,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAjGL,kCAkGC;AArFG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
@@ -35,6 +35,10 @@ export interface GetApplicationResult {
35
35
  * The namespace of the application.
36
36
  */
37
37
  readonly namespace?: string;
38
+ /**
39
+ * The configuration of events or requests that the application has access to.
40
+ */
41
+ readonly permissions?: string[];
38
42
  /**
39
43
  * The tags (keys and values) associated with the application.
40
44
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getApplication.js","sourceRoot":"","sources":["../../appintegrations/getApplication.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAuCD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
1
+ {"version":3,"file":"getApplication.js","sourceRoot":"","sources":["../../appintegrations/getApplication.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AA2CD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
@@ -0,0 +1,58 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ import * as enums from "../types/enums";
4
+ /**
5
+ * AWS::ECR::RepositoryCreationTemplate is used to create repository with configuration from a pre-defined template.
6
+ */
7
+ export declare function getRepositoryCreationTemplate(args: GetRepositoryCreationTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryCreationTemplateResult>;
8
+ export interface GetRepositoryCreationTemplateArgs {
9
+ /**
10
+ * The prefix use to match the repository name and apply the template.
11
+ */
12
+ prefix: string;
13
+ }
14
+ export interface GetRepositoryCreationTemplateResult {
15
+ /**
16
+ * A list of enumerable Strings representing the repository creation scenarios that the template will apply towards.
17
+ */
18
+ readonly appliedFor?: enums.ecr.RepositoryCreationTemplateAppliedForItem[];
19
+ /**
20
+ * Create timestamp of the template.
21
+ */
22
+ readonly createdAt?: string;
23
+ /**
24
+ * The description of the template.
25
+ */
26
+ readonly description?: string;
27
+ readonly encryptionConfiguration?: outputs.ecr.RepositoryCreationTemplateEncryptionConfiguration;
28
+ /**
29
+ * The image tag mutability setting for the repository.
30
+ */
31
+ readonly imageTagMutability?: enums.ecr.RepositoryCreationTemplateImageTagMutability;
32
+ /**
33
+ * The JSON lifecycle policy text to apply to the repository. For information about lifecycle policy syntax, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html
34
+ */
35
+ readonly lifecyclePolicy?: string;
36
+ /**
37
+ * The JSON repository policy text to apply to the repository. For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicyExamples.html
38
+ */
39
+ readonly repositoryPolicy?: string;
40
+ /**
41
+ * An array of key-value pairs to apply to this resource.
42
+ */
43
+ readonly resourceTags?: outputs.ecr.RepositoryCreationTemplateTag[];
44
+ /**
45
+ * Update timestamp of the template.
46
+ */
47
+ readonly updatedAt?: string;
48
+ }
49
+ /**
50
+ * AWS::ECR::RepositoryCreationTemplate is used to create repository with configuration from a pre-defined template.
51
+ */
52
+ export declare function getRepositoryCreationTemplateOutput(args: GetRepositoryCreationTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryCreationTemplateResult>;
53
+ export interface GetRepositoryCreationTemplateOutputArgs {
54
+ /**
55
+ * The prefix use to match the repository name and apply the template.
56
+ */
57
+ prefix: pulumi.Input<string>;
58
+ }
@@ -0,0 +1,25 @@
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.getRepositoryCreationTemplateOutput = exports.getRepositoryCreationTemplate = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * AWS::ECR::RepositoryCreationTemplate is used to create repository with configuration from a pre-defined template.
10
+ */
11
+ function getRepositoryCreationTemplate(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:ecr:getRepositoryCreationTemplate", {
14
+ "prefix": args.prefix,
15
+ }, opts);
16
+ }
17
+ exports.getRepositoryCreationTemplate = getRepositoryCreationTemplate;
18
+ /**
19
+ * AWS::ECR::RepositoryCreationTemplate is used to create repository with configuration from a pre-defined template.
20
+ */
21
+ function getRepositoryCreationTemplateOutput(args, opts) {
22
+ return pulumi.output(args).apply((a) => getRepositoryCreationTemplate(a, opts));
23
+ }
24
+ exports.getRepositoryCreationTemplateOutput = getRepositoryCreationTemplateOutput;
25
+ //# sourceMappingURL=getRepositoryCreationTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRepositoryCreationTemplate.js","sourceRoot":"","sources":["../../ecr/getRepositoryCreationTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAE9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC;AA4CD;;GAEG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,6BAA6B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxF,CAAC;AAFD,kFAEC"}
package/ecr/index.d.ts CHANGED
@@ -7,6 +7,9 @@ export declare const getReplicationConfigurationOutput: typeof import("./getRepl
7
7
  export { GetRepositoryArgs, GetRepositoryResult, GetRepositoryOutputArgs } from "./getRepository";
8
8
  export declare const getRepository: typeof import("./getRepository").getRepository;
9
9
  export declare const getRepositoryOutput: typeof import("./getRepository").getRepositoryOutput;
10
+ export { GetRepositoryCreationTemplateArgs, GetRepositoryCreationTemplateResult, GetRepositoryCreationTemplateOutputArgs } from "./getRepositoryCreationTemplate";
11
+ export declare const getRepositoryCreationTemplate: typeof import("./getRepositoryCreationTemplate").getRepositoryCreationTemplate;
12
+ export declare const getRepositoryCreationTemplateOutput: typeof import("./getRepositoryCreationTemplate").getRepositoryCreationTemplateOutput;
10
13
  export { PullThroughCacheRuleArgs } from "./pullThroughCacheRule";
11
14
  export type PullThroughCacheRule = import("./pullThroughCacheRule").PullThroughCacheRule;
12
15
  export declare const PullThroughCacheRule: typeof import("./pullThroughCacheRule").PullThroughCacheRule;
@@ -19,4 +22,7 @@ export declare const ReplicationConfiguration: typeof import("./replicationConfi
19
22
  export { RepositoryArgs } from "./repository";
20
23
  export type Repository = import("./repository").Repository;
21
24
  export declare const Repository: typeof import("./repository").Repository;
25
+ export { RepositoryCreationTemplateArgs } from "./repositoryCreationTemplate";
26
+ export type RepositoryCreationTemplate = import("./repositoryCreationTemplate").RepositoryCreationTemplate;
27
+ export declare const RepositoryCreationTemplate: typeof import("./repositoryCreationTemplate").RepositoryCreationTemplate;
22
28
  export * from "../types/enums/ecr";
package/ecr/index.js CHANGED
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.Repository = exports.ReplicationConfiguration = exports.RegistryPolicy = exports.PullThroughCacheRule = exports.getRepositoryOutput = exports.getRepository = exports.getReplicationConfigurationOutput = exports.getReplicationConfiguration = exports.getRegistryPolicyOutput = exports.getRegistryPolicy = void 0;
19
+ exports.RepositoryCreationTemplate = exports.Repository = exports.ReplicationConfiguration = exports.RegistryPolicy = exports.PullThroughCacheRule = exports.getRepositoryCreationTemplateOutput = exports.getRepositoryCreationTemplate = exports.getRepositoryOutput = exports.getRepository = exports.getReplicationConfigurationOutput = exports.getReplicationConfiguration = exports.getRegistryPolicyOutput = exports.getRegistryPolicy = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("../utilities");
22
22
  exports.getRegistryPolicy = null;
@@ -28,6 +28,9 @@ utilities.lazyLoad(exports, ["getReplicationConfiguration", "getReplicationConfi
28
28
  exports.getRepository = null;
29
29
  exports.getRepositoryOutput = null;
30
30
  utilities.lazyLoad(exports, ["getRepository", "getRepositoryOutput"], () => require("./getRepository"));
31
+ exports.getRepositoryCreationTemplate = null;
32
+ exports.getRepositoryCreationTemplateOutput = null;
33
+ utilities.lazyLoad(exports, ["getRepositoryCreationTemplate", "getRepositoryCreationTemplateOutput"], () => require("./getRepositoryCreationTemplate"));
31
34
  exports.PullThroughCacheRule = null;
32
35
  utilities.lazyLoad(exports, ["PullThroughCacheRule"], () => require("./pullThroughCacheRule"));
33
36
  exports.RegistryPolicy = null;
@@ -36,6 +39,8 @@ exports.ReplicationConfiguration = null;
36
39
  utilities.lazyLoad(exports, ["ReplicationConfiguration"], () => require("./replicationConfiguration"));
37
40
  exports.Repository = null;
38
41
  utilities.lazyLoad(exports, ["Repository"], () => require("./repository"));
42
+ exports.RepositoryCreationTemplate = null;
43
+ utilities.lazyLoad(exports, ["RepositoryCreationTemplate"], () => require("./repositoryCreationTemplate"));
39
44
  // Export enums:
40
45
  __exportStar(require("../types/enums/ecr"), exports);
41
46
  const _module = {
@@ -50,6 +55,8 @@ const _module = {
50
55
  return new exports.ReplicationConfiguration(name, undefined, { urn });
51
56
  case "aws-native:ecr:Repository":
52
57
  return new exports.Repository(name, undefined, { urn });
58
+ case "aws-native:ecr:RepositoryCreationTemplate":
59
+ return new exports.RepositoryCreationTemplate(name, undefined, { urn });
53
60
  default:
54
61
  throw new Error(`unknown resource type ${type}`);
55
62
  }
package/ecr/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../ecr/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,2BAA2B,GAA+E,IAAW,CAAC;AACtH,QAAA,iCAAiC,GAAqF,IAAW,CAAC;AAC/I,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,6BAA6B,EAAC,mCAAmC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,+BAA+B,CAAC,CAAC,CAAC;AAGpI,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAI1F,QAAA,oB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AAG,EAAE,CAAC,CAAA;YAC5D,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,gCAAwB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtE,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,2CAA2C;gBAC5C,OAAO,IAAI,kCAA0B,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,KAAK,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,102 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ import * as enums from "../types/enums";
5
+ /**
6
+ * AWS::ECR::RepositoryCreationTemplate is used to create repository with configuration from a pre-defined template.
7
+ */
8
+ export declare class RepositoryCreationTemplate extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing RepositoryCreationTemplate resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RepositoryCreationTemplate;
18
+ /**
19
+ * Returns true if the given object is an instance of RepositoryCreationTemplate. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is RepositoryCreationTemplate;
23
+ /**
24
+ * A list of enumerable Strings representing the repository creation scenarios that the template will apply towards.
25
+ */
26
+ readonly appliedFor: pulumi.Output<enums.ecr.RepositoryCreationTemplateAppliedForItem[]>;
27
+ /**
28
+ * Create timestamp of the template.
29
+ */
30
+ readonly createdAt: pulumi.Output<string>;
31
+ /**
32
+ * The description of the template.
33
+ */
34
+ readonly description: pulumi.Output<string | undefined>;
35
+ readonly encryptionConfiguration: pulumi.Output<outputs.ecr.RepositoryCreationTemplateEncryptionConfiguration | undefined>;
36
+ /**
37
+ * The image tag mutability setting for the repository.
38
+ */
39
+ readonly imageTagMutability: pulumi.Output<enums.ecr.RepositoryCreationTemplateImageTagMutability | undefined>;
40
+ /**
41
+ * The JSON lifecycle policy text to apply to the repository. For information about lifecycle policy syntax, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html
42
+ */
43
+ readonly lifecyclePolicy: pulumi.Output<string | undefined>;
44
+ /**
45
+ * The prefix use to match the repository name and apply the template.
46
+ */
47
+ readonly prefix: pulumi.Output<string>;
48
+ /**
49
+ * The JSON repository policy text to apply to the repository. For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicyExamples.html
50
+ */
51
+ readonly repositoryPolicy: pulumi.Output<string | undefined>;
52
+ /**
53
+ * An array of key-value pairs to apply to this resource.
54
+ */
55
+ readonly resourceTags: pulumi.Output<outputs.ecr.RepositoryCreationTemplateTag[] | undefined>;
56
+ /**
57
+ * Update timestamp of the template.
58
+ */
59
+ readonly updatedAt: pulumi.Output<string>;
60
+ /**
61
+ * Create a RepositoryCreationTemplate 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: RepositoryCreationTemplateArgs, opts?: pulumi.CustomResourceOptions);
68
+ }
69
+ /**
70
+ * The set of arguments for constructing a RepositoryCreationTemplate resource.
71
+ */
72
+ export interface RepositoryCreationTemplateArgs {
73
+ /**
74
+ * A list of enumerable Strings representing the repository creation scenarios that the template will apply towards.
75
+ */
76
+ appliedFor: pulumi.Input<pulumi.Input<enums.ecr.RepositoryCreationTemplateAppliedForItem>[]>;
77
+ /**
78
+ * The description of the template.
79
+ */
80
+ description?: pulumi.Input<string>;
81
+ encryptionConfiguration?: pulumi.Input<inputs.ecr.RepositoryCreationTemplateEncryptionConfigurationArgs>;
82
+ /**
83
+ * The image tag mutability setting for the repository.
84
+ */
85
+ imageTagMutability?: pulumi.Input<enums.ecr.RepositoryCreationTemplateImageTagMutability>;
86
+ /**
87
+ * The JSON lifecycle policy text to apply to the repository. For information about lifecycle policy syntax, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html
88
+ */
89
+ lifecyclePolicy?: pulumi.Input<string>;
90
+ /**
91
+ * The prefix use to match the repository name and apply the template.
92
+ */
93
+ prefix: pulumi.Input<string>;
94
+ /**
95
+ * The JSON repository policy text to apply to the repository. For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicyExamples.html
96
+ */
97
+ repositoryPolicy?: pulumi.Input<string>;
98
+ /**
99
+ * An array of key-value pairs to apply to this resource.
100
+ */
101
+ resourceTags?: pulumi.Input<pulumi.Input<inputs.ecr.RepositoryCreationTemplateTagArgs>[]>;
102
+ }
@@ -0,0 +1,82 @@
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.RepositoryCreationTemplate = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * AWS::ECR::RepositoryCreationTemplate is used to create repository with configuration from a pre-defined template.
10
+ */
11
+ class RepositoryCreationTemplate extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing RepositoryCreationTemplate resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new RepositoryCreationTemplate(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of RepositoryCreationTemplate. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === RepositoryCreationTemplate.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a RepositoryCreationTemplate resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if ((!args || args.appliedFor === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'appliedFor'");
46
+ }
47
+ if ((!args || args.prefix === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'prefix'");
49
+ }
50
+ resourceInputs["appliedFor"] = args ? args.appliedFor : undefined;
51
+ resourceInputs["description"] = args ? args.description : undefined;
52
+ resourceInputs["encryptionConfiguration"] = args ? args.encryptionConfiguration : undefined;
53
+ resourceInputs["imageTagMutability"] = args ? args.imageTagMutability : undefined;
54
+ resourceInputs["lifecyclePolicy"] = args ? args.lifecyclePolicy : undefined;
55
+ resourceInputs["prefix"] = args ? args.prefix : undefined;
56
+ resourceInputs["repositoryPolicy"] = args ? args.repositoryPolicy : undefined;
57
+ resourceInputs["resourceTags"] = args ? args.resourceTags : undefined;
58
+ resourceInputs["createdAt"] = undefined /*out*/;
59
+ resourceInputs["updatedAt"] = undefined /*out*/;
60
+ }
61
+ else {
62
+ resourceInputs["appliedFor"] = undefined /*out*/;
63
+ resourceInputs["createdAt"] = undefined /*out*/;
64
+ resourceInputs["description"] = undefined /*out*/;
65
+ resourceInputs["encryptionConfiguration"] = undefined /*out*/;
66
+ resourceInputs["imageTagMutability"] = undefined /*out*/;
67
+ resourceInputs["lifecyclePolicy"] = undefined /*out*/;
68
+ resourceInputs["prefix"] = undefined /*out*/;
69
+ resourceInputs["repositoryPolicy"] = undefined /*out*/;
70
+ resourceInputs["resourceTags"] = undefined /*out*/;
71
+ resourceInputs["updatedAt"] = undefined /*out*/;
72
+ }
73
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
74
+ const replaceOnChanges = { replaceOnChanges: ["prefix"] };
75
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
76
+ super(RepositoryCreationTemplate.__pulumiType, name, resourceInputs, opts);
77
+ }
78
+ }
79
+ exports.RepositoryCreationTemplate = RepositoryCreationTemplate;
80
+ /** @internal */
81
+ RepositoryCreationTemplate.__pulumiType = 'aws-native:ecr:RepositoryCreationTemplate';
82
+ //# sourceMappingURL=repositoryCreationTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repositoryCreationTemplate.js","sourceRoot":"","sources":["../../ecr/repositoryCreationTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvF,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,c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KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AA5GL,gEA6GC;AAhGG,gBAAgB;AACO,uCAAY,GAAG,2CAA2C,CAAC"}
@@ -0,0 +1,87 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource Type definition for AWS::Lambda::Alias
6
+ */
7
+ export declare class Alias extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing Alias resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Alias;
17
+ /**
18
+ * Returns true if the given object is an instance of Alias. 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 Alias;
22
+ /**
23
+ * Lambda Alias ARN generated by the service.
24
+ */
25
+ readonly aliasArn: pulumi.Output<string>;
26
+ /**
27
+ * A description of the alias.
28
+ */
29
+ readonly description: pulumi.Output<string | undefined>;
30
+ /**
31
+ * The name of the Lambda function.
32
+ */
33
+ readonly functionName: pulumi.Output<string>;
34
+ /**
35
+ * The function version that the alias invokes.
36
+ */
37
+ readonly functionVersion: pulumi.Output<string>;
38
+ /**
39
+ * The name of the alias.
40
+ */
41
+ readonly name: pulumi.Output<string>;
42
+ /**
43
+ * Specifies a provisioned concurrency configuration for a function's alias.
44
+ */
45
+ readonly provisionedConcurrencyConfig: pulumi.Output<outputs.lambda.AliasProvisionedConcurrencyConfiguration | undefined>;
46
+ /**
47
+ * The routing configuration of the alias.
48
+ */
49
+ readonly routingConfig: pulumi.Output<outputs.lambda.AliasRoutingConfiguration | undefined>;
50
+ /**
51
+ * Create a Alias 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: AliasArgs, opts?: pulumi.CustomResourceOptions);
58
+ }
59
+ /**
60
+ * The set of arguments for constructing a Alias resource.
61
+ */
62
+ export interface AliasArgs {
63
+ /**
64
+ * A description of the alias.
65
+ */
66
+ description?: pulumi.Input<string>;
67
+ /**
68
+ * The name of the Lambda function.
69
+ */
70
+ functionName: pulumi.Input<string>;
71
+ /**
72
+ * The function version that the alias invokes.
73
+ */
74
+ functionVersion: pulumi.Input<string>;
75
+ /**
76
+ * The name of the alias.
77
+ */
78
+ name?: pulumi.Input<string>;
79
+ /**
80
+ * Specifies a provisioned concurrency configuration for a function's alias.
81
+ */
82
+ provisionedConcurrencyConfig?: pulumi.Input<inputs.lambda.AliasProvisionedConcurrencyConfigurationArgs>;
83
+ /**
84
+ * The routing configuration of the alias.
85
+ */
86
+ routingConfig?: pulumi.Input<inputs.lambda.AliasRoutingConfigurationArgs>;
87
+ }
@@ -0,0 +1,76 @@
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.Alias = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::Lambda::Alias
10
+ */
11
+ class Alias extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing Alias resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new Alias(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of Alias. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === Alias.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a Alias resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if ((!args || args.functionName === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'functionName'");
46
+ }
47
+ if ((!args || args.functionVersion === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'functionVersion'");
49
+ }
50
+ resourceInputs["description"] = args ? args.description : undefined;
51
+ resourceInputs["functionName"] = args ? args.functionName : undefined;
52
+ resourceInputs["functionVersion"] = args ? args.functionVersion : undefined;
53
+ resourceInputs["name"] = args ? args.name : undefined;
54
+ resourceInputs["provisionedConcurrencyConfig"] = args ? args.provisionedConcurrencyConfig : undefined;
55
+ resourceInputs["routingConfig"] = args ? args.routingConfig : undefined;
56
+ resourceInputs["aliasArn"] = undefined /*out*/;
57
+ }
58
+ else {
59
+ resourceInputs["aliasArn"] = undefined /*out*/;
60
+ resourceInputs["description"] = undefined /*out*/;
61
+ resourceInputs["functionName"] = undefined /*out*/;
62
+ resourceInputs["functionVersion"] = undefined /*out*/;
63
+ resourceInputs["name"] = undefined /*out*/;
64
+ resourceInputs["provisionedConcurrencyConfig"] = undefined /*out*/;
65
+ resourceInputs["routingConfig"] = undefined /*out*/;
66
+ }
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
68
+ const replaceOnChanges = { replaceOnChanges: ["functionName", "name"] };
69
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
70
+ super(Alias.__pulumiType, name, resourceInputs, opts);
71
+ }
72
+ }
73
+ exports.Alias = Alias;
74
+ /** @internal */
75
+ Alias.__pulumiType = 'aws-native:lambda:Alias';
76
+ //# sourceMappingURL=alias.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alias.js","sourceRoot":"","sources":["../../lambda/alias.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IA+BD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAe,EAAE,IAAmC;QAC1E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,eAAe,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;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