@awboost/cfn-resource-types 0.1.22 → 0.1.24

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 (35) hide show
  1. package/lib/AWS-ACMPCA-Certificate.d.ts +106 -18
  2. package/lib/AWS-AppSync-ApiCache.d.ts +1 -0
  3. package/lib/AWS-AppSync-DataSource.d.ts +1 -0
  4. package/lib/AWS-AppSync-GraphQLApi.d.ts +10 -0
  5. package/lib/AWS-AppSync-Resolver.d.ts +1 -0
  6. package/lib/AWS-Batch-JobDefinition.d.ts +8 -0
  7. package/lib/AWS-ControlTower-EnabledBaseline.d.ts +80 -0
  8. package/lib/AWS-ControlTower-EnabledBaseline.js +12 -0
  9. package/lib/AWS-DMS-DataProvider.d.ts +1 -1
  10. package/lib/AWS-DynamoDB-Table.d.ts +9 -0
  11. package/lib/AWS-EC2-InstanceConnectEndpoint.d.ts +1 -1
  12. package/lib/AWS-EC2-NatGateway.d.ts +46 -4
  13. package/lib/AWS-EC2-NatGateway.js +5 -1
  14. package/lib/AWS-EC2-VPC.d.ts +30 -31
  15. package/lib/AWS-EC2-VPC.js +4 -1
  16. package/lib/AWS-ECS-TaskDefinition.d.ts +641 -25
  17. package/lib/AWS-ECS-TaskDefinition.js +3 -1
  18. package/lib/AWS-EFS-FileSystem.d.ts +106 -3
  19. package/lib/AWS-EFS-FileSystem.js +1 -1
  20. package/lib/AWS-EMR-Cluster.d.ts +1 -0
  21. package/lib/AWS-GuardDuty-Master.d.ts +14 -9
  22. package/lib/AWS-GuardDuty-Master.js +2 -1
  23. package/lib/AWS-IAM-User.d.ts +43 -25
  24. package/lib/AWS-IAM-User.js +3 -1
  25. package/lib/AWS-IoTWireless-WirelessDevice.d.ts +34 -0
  26. package/lib/AWS-KMS-Alias.d.ts +25 -11
  27. package/lib/AWS-KMS-Alias.js +3 -1
  28. package/lib/AWS-KMS-Key.d.ts +62 -28
  29. package/lib/AWS-KMS-Key.js +3 -1
  30. package/lib/AWS-S3-Bucket.d.ts +381 -139
  31. package/lib/AWS-S3-Bucket.js +3 -1
  32. package/lib/AWS-SageMaker-AppImageConfig.d.ts +1 -1
  33. package/lib/AWS-WAFv2-LoggingConfiguration.d.ts +0 -27
  34. package/lib/AWS-WAFv2-RuleGroup.d.ts +1 -1
  35. package/package.json +1 -1
@@ -1,6 +1,8 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource Type definition for AWS::S3::Bucket
3
+ * The ``AWS::S3::Bucket`` resource creates an Amazon S3 bucket in the same AWS Region where you create the AWS CloudFormation stack.
4
+ To control how AWS CloudFormation handles the bucket when the stack is deleted, you can set a deletion policy for your bucket. You can choose to *retain* the bucket or to *delete* the bucket. For more information, see [DeletionPolicy Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html).
5
+ You can only delete empty buckets. Deletion fails for buckets that have contents.
4
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html}
5
7
  */
6
8
  export class S3Bucket extends $Resource {
@@ -111,7 +111,7 @@ export type FileSystemConfig = {
111
111
  };
112
112
  /**
113
113
  * Type definition for `AWS::SageMaker::AppImageConfig.JupyterLabAppImageConfig`.
114
- * The configuration for the file system and kernels in a SageMaker image running as a JupyterLab app.
114
+ * The configuration for the kernels in a SageMaker image running as a JupyterLab app.
115
115
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-jupyterlabappimageconfig.html}
116
116
  */
117
117
  export type JupyterLabAppImageConfig = {
@@ -73,33 +73,6 @@ export type Condition = {
73
73
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-fieldtomatch.html}
74
74
  */
75
75
  export type FieldToMatch = {
76
- /**
77
- * Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.
78
- */
79
- JsonBody?: {
80
- /**
81
- * What AWS WAF should do if it fails to completely parse the JSON body.
82
- */
83
- InvalidFallbackBehavior?: "MATCH" | "NO_MATCH" | "EVALUATE_AS_STRING";
84
- /**
85
- * The patterns to look for in the JSON body. AWS WAF inspects the results of these pattern matches against the rule inspection criteria.
86
- */
87
- MatchPattern: {
88
- /**
89
- * Match all of the elements. See also MatchScope in JsonBody. You must specify either this setting or the IncludedPaths setting, but not both.
90
- */
91
- All?: Record<string, any>;
92
- /**
93
- * Match only the specified include paths. See also MatchScope in JsonBody.
94
- * @minLength `1`
95
- */
96
- IncludedPaths?: string[];
97
- };
98
- /**
99
- * The parts of the JSON to match against using the MatchPattern. If you specify All, AWS WAF matches against keys and values.
100
- */
101
- MatchScope: "ALL" | "KEY" | "VALUE";
102
- };
103
76
  /**
104
77
  * Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.
105
78
  */
@@ -568,7 +568,7 @@ export type PositionalConstraint = "EXACTLY" | "STARTS_WITH" | "ENDS_WITH" | "CO
568
568
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatement.html}
569
569
  */
570
570
  export type RateBasedStatement = {
571
- AggregateKeyType: "CONSTANT" | "IP" | "FORWARDED_IP" | "CUSTOM_KEYS";
571
+ AggregateKeyType: "IP" | "FORWARDED_IP" | "CONSTANT" | "CUSTOM_KEYS";
572
572
  /**
573
573
  * Specifies the aggregate keys to use in a rate-base rule.
574
574
  * @maxLength `5`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },