@awboost/cfn-resource-types 0.1.8 → 0.1.9

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.
@@ -108,6 +108,7 @@ export type User = {
108
108
  ConsoleAccess?: boolean;
109
109
  Groups?: string[];
110
110
  Password: string;
111
+ ReplicationUser?: boolean;
111
112
  Username: string;
112
113
  };
113
114
  /**
@@ -65,6 +65,7 @@ export type CopyActionResourceType = {
65
65
  export type LifecycleResourceType = {
66
66
  DeleteAfterDays?: number;
67
67
  MoveToColdStorageAfterDays?: number;
68
+ OptInToArchiveForSupportedResources?: boolean;
68
69
  };
69
70
  /**
70
71
  * Resource Type definition for AWS::Backup::BackupPlan
@@ -84,13 +84,14 @@ export type CloudWatchLogsConfig = {
84
84
  */
85
85
  export type Environment = {
86
86
  Certificate?: string;
87
- ComputeType?: string;
87
+ ComputeType: string;
88
88
  EnvironmentVariables?: EnvironmentVariable[];
89
+ Fleet?: ProjectFleet;
89
90
  Image: string;
90
91
  ImagePullCredentialsType?: string;
91
92
  PrivilegedMode?: boolean;
92
93
  RegistryCredential?: RegistryCredential;
93
- Type?: string;
94
+ Type: string;
94
95
  };
95
96
  /**
96
97
  * Type definition for `AWS::CodeBuild::Project.EnvironmentVariable`.
@@ -152,6 +153,13 @@ export type ProjectFileSystemLocation = {
152
153
  MountPoint: string;
153
154
  Type: string;
154
155
  };
156
+ /**
157
+ * Type definition for `AWS::CodeBuild::Project.ProjectFleet`.
158
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfleet.html}
159
+ */
160
+ export type ProjectFleet = {
161
+ FleetArn?: string;
162
+ };
155
163
  /**
156
164
  * Type definition for `AWS::CodeBuild::Project.ProjectSourceVersion`.
157
165
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectsourceversion.html}
@@ -8,6 +8,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
8
8
  export type EKSPodIdentityAssociationProperties = {
9
9
  /**
10
10
  * The cluster that the pod identity association is created for.
11
+ * @minLength `1`
11
12
  */
12
13
  ClusterName: string;
13
14
  /**
@@ -38,6 +39,7 @@ export type EKSPodIdentityAssociationAttributes = {
38
39
  AssociationArn: string;
39
40
  /**
40
41
  * The ID of the pod identity association.
42
+ * @minLength `1`
41
43
  */
42
44
  AssociationId: string;
43
45
  };
@@ -5,20 +5,25 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html}
6
6
  */
7
7
  export type GuardDutyFilterProperties = {
8
- Action: string;
9
- Description: string;
10
- DetectorId: string;
8
+ Action?: string;
9
+ Description?: string;
10
+ /**
11
+ * @minLength `1`
12
+ * @maxLength `300`
13
+ */
14
+ DetectorId?: string;
11
15
  FindingCriteria: FindingCriteria;
12
- Name: string;
13
- Rank: number;
14
- Tags?: Tag[];
15
- };
16
- /**
17
- * Attribute type definition for `AWS::GuardDuty::Filter`.
18
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#aws-resource-guardduty-filter-return-values}
19
- */
20
- export type GuardDutyFilterAttributes = {
21
- Id: string;
16
+ /**
17
+ * @minLength `1`
18
+ * @maxLength `64`
19
+ */
20
+ Name?: string;
21
+ /**
22
+ * @min `1`
23
+ * @max `100`
24
+ */
25
+ Rank?: number;
26
+ Tags?: TagItem[];
22
27
  };
23
28
  /**
24
29
  * Type definition for `AWS::GuardDuty::Filter.Condition`.
@@ -43,22 +48,29 @@ export type Condition = {
43
48
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-findingcriteria.html}
44
49
  */
45
50
  export type FindingCriteria = {
46
- Criterion?: Record<string, any>;
47
- ItemType?: Condition;
51
+ Criterion?: Record<string, Condition>;
48
52
  };
49
53
  /**
50
- * Type definition for `AWS::GuardDuty::Filter.Tag`.
51
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-tag.html}
54
+ * Type definition for `AWS::GuardDuty::Filter.TagItem`.
55
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-tagitem.html}
52
56
  */
53
- export type Tag = {
57
+ export type TagItem = {
58
+ /**
59
+ * @minLength `1`
60
+ * @maxLength `128`
61
+ */
54
62
  Key: string;
63
+ /**
64
+ * @minLength `0`
65
+ * @maxLength `256`
66
+ */
55
67
  Value: string;
56
68
  };
57
69
  /**
58
70
  * Resource Type definition for AWS::GuardDuty::Filter
59
71
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html}
60
72
  */
61
- export declare class GuardDutyFilter extends $Resource<"AWS::GuardDuty::Filter", GuardDutyFilterProperties, GuardDutyFilterAttributes> {
73
+ export declare class GuardDutyFilter extends $Resource<"AWS::GuardDuty::Filter", GuardDutyFilterProperties, Record<string, never>> {
62
74
  static readonly Type = "AWS::GuardDuty::Filter";
63
75
  constructor(logicalId: string, properties: GuardDutyFilterProperties, options?: $ResourceOptions);
64
76
  }
@@ -55,12 +55,14 @@ export type IoTFleetMetricProperties = {
55
55
  export type IoTFleetMetricAttributes = {
56
56
  /**
57
57
  * The creation date of a fleet metric
58
+ * @pattern `^([0-2]\d{3})-(0[0-9]|1[0-2])-([0-2]\d|3[01])T([01]\d|2[0-4]):([0-5]\d):([0-6]\d)((\.\d{3})?)Z$`
58
59
  */
59
- CreationDate: number;
60
+ CreationDate: string;
60
61
  /**
61
62
  * The last modified date of a fleet metric
63
+ * @pattern `^([0-2]\d{3})-(0[0-9]|1[0-2])-([0-2]\d|3[01])T([01]\d|2[0-4]):([0-5]\d):([0-6]\d)((\.\d{3})?)Z$`
62
64
  */
63
- LastModifiedDate: number;
65
+ LastModifiedDate: string;
64
66
  /**
65
67
  * The Amazon Resource Number (ARN) of a fleet metric metric
66
68
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,6 +35,6 @@
35
35
  "@awboost/cfn-codegen": "^0.1.2"
36
36
  },
37
37
  "peerDependencies": {
38
- "@awboost/cfn-template-builder": "^0.3.0"
38
+ "@awboost/cfn-template-builder": "^0.3.1"
39
39
  }
40
40
  }