@awboost/cfn-resource-types 0.1.163 → 0.1.165

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.
@@ -12,6 +12,7 @@ export type DMSReplicationInstanceProperties = {
12
12
  EngineVersion?: string;
13
13
  KmsKeyId?: string;
14
14
  MultiAZ?: boolean;
15
+ NetworkType?: string;
15
16
  PreferredMaintenanceWindow?: string;
16
17
  PubliclyAccessible?: boolean;
17
18
  ReplicationInstanceClass: string;
@@ -6,6 +6,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
6
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html}
7
7
  */
8
8
  export type ECSTaskSetProperties = {
9
+ CapacityProviderStrategy?: CapacityProviderStrategyItem[];
9
10
  /**
10
11
  * The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
11
12
  */
@@ -76,6 +77,15 @@ export type AwsVpcConfiguration = {
76
77
  */
77
78
  Subnets: string[];
78
79
  };
80
+ /**
81
+ * Type definition for `AWS::ECS::TaskSet.CapacityProviderStrategyItem`.
82
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-capacityproviderstrategyitem.html}
83
+ */
84
+ export type CapacityProviderStrategyItem = {
85
+ Base?: number;
86
+ CapacityProvider?: string;
87
+ Weight?: number;
88
+ };
79
89
  /**
80
90
  * Type definition for `AWS::ECS::TaskSet.LoadBalancer`.
81
91
  * A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.
@@ -0,0 +1,28 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Resource Type definition for AWS::Kinesis::ResourcePolicy
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-resourcepolicy.html}
6
+ */
7
+ export type KinesisResourcePolicyProperties = {
8
+ /**
9
+ * The ARN of the AWS Kinesis resource to which the policy applies.
10
+ * @minLength `1`
11
+ * @maxLength `2048`
12
+ * @pattern `arn:aws.*:kinesis:.*:\d{12}:stream/\S+`
13
+ */
14
+ ResourceArn: string;
15
+ /**
16
+ * A policy document containing permissions to add to the specified resource. In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM.
17
+ */
18
+ ResourcePolicy: Record<string, any>;
19
+ };
20
+ /**
21
+ * Resource Type definition for AWS::Kinesis::ResourcePolicy
22
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-resourcepolicy.html}
23
+ */
24
+ export declare class KinesisResourcePolicy extends $Resource<"AWS::Kinesis::ResourcePolicy", KinesisResourcePolicyProperties, Record<string, never>> {
25
+ static readonly Type = "AWS::Kinesis::ResourcePolicy";
26
+ constructor(logicalId: string, properties: KinesisResourcePolicyProperties, options?: $ResourceOptions);
27
+ }
28
+ //# sourceMappingURL=AWS-Kinesis-ResourcePolicy.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource Type definition for AWS::Kinesis::ResourcePolicy
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-resourcepolicy.html}
5
+ */
6
+ export class KinesisResourcePolicy extends $Resource {
7
+ static Type = "AWS::Kinesis::ResourcePolicy";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, KinesisResourcePolicy.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Kinesis-ResourcePolicy.js.map
@@ -128,6 +128,13 @@ export type RuleVariables = Record<string, IPSet>;
128
128
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-statefulengineoptions.html}
129
129
  */
130
130
  export type StatefulEngineOptions = {
131
+ FlowTimeouts?: {
132
+ /**
133
+ * @min `60`
134
+ * @max `600`
135
+ */
136
+ TcpIdleTimeoutSeconds?: number;
137
+ };
131
138
  RuleOrder?: RuleOrder;
132
139
  StreamExceptionPolicy?: StreamExceptionPolicy;
133
140
  };
@@ -67,11 +67,6 @@ export type SageMakerImageVersionProperties = {
67
67
  * The availability of the image version specified by the maintainer.
68
68
  */
69
69
  VendorGuidance?: VendorGuidance;
70
- /**
71
- * The version number of the image version.
72
- * @min `1`
73
- */
74
- Version?: number;
75
70
  };
76
71
  /**
77
72
  * Attribute type definition for `AWS::SageMaker::ImageVersion`.
@@ -99,6 +94,11 @@ export type SageMakerImageVersionAttributes = {
99
94
  * @pattern `^arn:aws(-[\w]+)*:sagemaker:[a-z0-9\-]*:[0-9]{12}:image-version\/[a-zA-Z0-9]([-.]?[a-zA-Z0-9])*\/[0-9]+$`
100
95
  */
101
96
  ImageVersionArn: string;
97
+ /**
98
+ * The version number of the image version.
99
+ * @min `1`
100
+ */
101
+ Version: number;
102
102
  };
103
103
  /**
104
104
  * Type definition for `AWS::SageMaker::ImageVersion.JobType`.
@@ -79,7 +79,7 @@ export type SecurityHubAutomationRuleAttributes = {
79
79
  export type arnOrId = string | string;
80
80
  /**
81
81
  * Type definition for `AWS::SecurityHub::AutomationRule.AutomationRulesAction`.
82
- * One or more actions to update finding fields if a finding matches the defined criteria of the rule.
82
+ * One or more actions that ASHlong takes when a finding matches the defined criteria of a rule.
83
83
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-automationrulesaction.html}
84
84
  */
85
85
  export type AutomationRulesAction = {
@@ -88,7 +88,7 @@ export type AutomationRulesAction = {
88
88
  */
89
89
  FindingFieldsUpdate: AutomationRulesFindingFieldsUpdate;
90
90
  /**
91
- * Specifies that the rule action should update the ``Types`` finding field. The ``Types`` finding field classifies findings in the format of namespace/category/classifier. For more information, see [Types taxonomy for ASFF](https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format-type-taxonomy.html) in the *User Guide*.
91
+ * Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.
92
92
  */
93
93
  Type: "FINDING_FIELDS_UPDATE";
94
94
  };
@@ -552,7 +552,7 @@ export type SeverityUpdate = {
552
552
  Label?: "INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
553
553
  /**
554
554
  * The normalized severity for the finding. This attribute is to be deprecated in favor of ``Label``.
555
- If you provide ``Normalized`` and do not provide ``Label``, ``Label`` is set automatically as follows.
555
+ If you provide ``Normalized`` and don't provide ``Label``, ``Label`` is set automatically as follows.
556
556
  + 0 - ``INFORMATIONAL``
557
557
  + 1–39 - ``LOW``
558
558
  + 40–69 - ``MEDIUM``
@@ -631,7 +631,7 @@ export type WorkflowUpdate = {
631
631
 
632
632
  + ``NOTIFIED`` - Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner.
633
633
  + ``RESOLVED`` - The finding was reviewed and remediated and is now considered resolved.
634
- + ``SUPPRESSED`` - Indicates that you reviewed the finding and do not believe that any action is needed. The finding is no longer updated.
634
+ + ``SUPPRESSED`` - Indicates that you reviewed the finding and don't believe that any action is needed. The finding is no longer updated.
635
635
  */
636
636
  Status: "NEW" | "NOTIFIED" | "RESOLVED" | "SUPPRESSED";
637
637
  };
@@ -18,8 +18,8 @@ export type SecurityHubFindingAggregatorProperties = {
18
18
  */
19
19
  RegionLinkingMode: "ALL_REGIONS" | "ALL_REGIONS_EXCEPT_SPECIFIED" | "SPECIFIED_REGIONS";
20
20
  /**
21
- * If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED``, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.
22
- If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS``, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.
21
+ * If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED``, then this is a space-separated list of Regions that don't replicate and send findings to the home Region.
22
+ If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS``, then this is a space-separated list of Regions that do replicate and send findings to the home Region.
23
23
  An ``InvalidInputException`` error results if you populate this field while ``RegionLinkingMode`` is ``NO_REGIONS``.
24
24
  * @minLength `1`
25
25
  * @maxLength `50`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.163",
3
+ "version": "0.1.165",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },