aws-architect 6.7.93 → 6.7.96

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 (3) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/index.d.ts +17 -17
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -10,6 +10,7 @@ This is the changelog for [AWS Architect](readme.md).
10
10
  * Duplicate all .html files as cleaned files. `file.html` => `file` and `file/`, all three will work
11
11
  * Fix validateTemplate so that it actually uses S3 when available.
12
12
  * Add support for new status `CONFIGURATION_COMPLETE`
13
+ * Add missing `tags` properties to all interfaces.
13
14
 
14
15
  ## 6.6 ##
15
16
  * Add support to `deleteWebsiteVersion(version)`
package/index.d.ts CHANGED
@@ -1,68 +1,70 @@
1
- interface PackageMetadata {
1
+ export interface PackageMetadata {
2
2
  name: string;
3
3
  version: string;
4
4
  }
5
5
 
6
- interface ApiOptions {
6
+ export interface ApiOptions {
7
7
  regions: string[];
8
8
  deploymentBucket: string,
9
9
  sourceDirectory: string,
10
10
  description: string,
11
11
  }
12
12
 
13
- interface ContentOptions {
13
+ export interface ContentOptions {
14
14
  bucket: string;
15
15
  contentDirectory: string;
16
16
  }
17
17
 
18
- interface PublishLambdaOptions {
18
+ export interface PublishLambdaOptions {
19
19
  zipFileName: string;
20
20
  bucket: string;
21
21
  autoHandleCompileOfSourceDirectory: boolean;
22
22
  }
23
23
 
24
- interface PublishZipOptions {
24
+ export interface PublishZipOptions {
25
25
  zipFileName: string;
26
26
  sourceDirectory: string;
27
27
  }
28
28
 
29
- interface StackConfiguration {
29
+ export interface StackConfiguration {
30
30
  changeSetName: string;
31
31
  stackName: string;
32
- automaticallyProtectStack: boolean;
32
+ automaticallyProtectStack?: boolean;
33
+ tags?: Record<string, string>;
33
34
  }
34
35
 
35
- interface StackSetConfiguration {
36
+ export interface StackSetConfiguration {
36
37
  changeSetName: string;
37
38
  stackSetName: string;
38
39
  regions: string[];
40
+ tags?: Record<string, string>;
39
41
  }
40
42
 
41
- interface OrganizationalStackSetConfiguration {
43
+ export interface OrganizationalStackSetConfiguration {
42
44
  changeSetName: string;
43
45
  stackSetName: string;
46
+ tags?: Record<string, string>;
44
47
  }
45
48
 
46
-
47
- interface StageDeploymentOptions {
49
+ export interface StageDeploymentOptions {
48
50
  stage: string;
49
51
  functionName: string;
50
52
  deploymentBucketName: string;
51
53
  deploymentKeyName: string;
52
54
  }
53
55
 
54
- interface RegexOption {
56
+ export interface RegexOption {
55
57
  explicit?: string,
56
58
  regex?: RegExp,
57
59
  value: string | number
58
60
  }
59
61
 
60
- interface WebsiteDeploymentOptions {
62
+ export interface WebsiteDeploymentOptions {
61
63
  cacheControlRegexMap?: RegexOption[];
62
64
  contentTypeMappingOverride?: object;
63
65
  }
64
66
 
65
- declare class AwsArchitect {
67
+ export class AwsArchitect {
66
68
  constructor(packageMetadata: PackageMetadata, apiOptions: ApiOptions, contentOptions: ContentOptions);
67
69
 
68
70
  publishZipArchive(options: PublishZipOptions): Promise<object>;
@@ -99,6 +101,4 @@ declare class AwsArchitect {
99
101
  // Delete a version of the website from S3
100
102
  deleteWebsiteVersion(version: string): Promise<object>;
101
103
  /* ****** */
102
- }
103
-
104
- export = AwsArchitect;
104
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aws-architect",
3
- "version": "6.7.93",
3
+ "version": "6.7.96",
4
4
  "description": "AWS Architect is a node based tool to configure and deploy AWS-based microservices.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",