@awboost/cfn-resource-types 0.1.347 → 0.1.348

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.
@@ -19,6 +19,7 @@ export type ApiGatewayDomainNameProperties = {
19
19
  */
20
20
  OwnershipVerificationCertificateArn?: string;
21
21
  RegionalCertificateArn?: string;
22
+ RoutingMode?: "BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING" | "ROUTING_RULE_ONLY";
22
23
  SecurityPolicy?: string;
23
24
  Tags?: Tag[];
24
25
  };
@@ -9,6 +9,10 @@ export type ApiGatewayDomainNameV2Properties = {
9
9
  DomainName?: string;
10
10
  EndpointConfiguration?: EndpointConfiguration;
11
11
  Policy?: Record<string, any> | string;
12
+ /**
13
+ * The valid routing modes are [BASE_PATH_MAPPING_ONLY], [ROUTING_RULE_THEN_BASE_PATH_MAPPING] and [ROUTING_RULE_ONLY]. All other inputs are invalid.
14
+ */
15
+ RoutingMode?: "BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING" | "ROUTING_RULE_ONLY";
12
16
  SecurityPolicy?: string;
13
17
  Tags?: Tag[];
14
18
  };
@@ -18,6 +18,7 @@ export type ApiGatewayV2DomainNameProperties = {
18
18
  * The mutual TLS authentication configuration for a custom domain name.
19
19
  */
20
20
  MutualTlsAuthentication?: MutualTlsAuthentication;
21
+ RoutingMode?: "API_MAPPING_ONLY" | "ROUTING_RULE_THEN_API_MAPPING" | "ROUTING_RULE_ONLY";
21
22
  /**
22
23
  * The collection of tags associated with a domain name.
23
24
  */
@@ -0,0 +1,84 @@
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
+ * Schema for AWS::ApiGatewayV2::RoutingRule
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html}
6
+ */
7
+ export type ApiGatewayV2RoutingRuleProperties = {
8
+ Actions: Action[];
9
+ Conditions: Condition[];
10
+ /**
11
+ * The amazon resource name (ARN) of the domain name resource.
12
+ */
13
+ DomainNameArn: string;
14
+ Priority: number;
15
+ };
16
+ /**
17
+ * Attribute type definition for `AWS::ApiGatewayV2::RoutingRule`.
18
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html#aws-resource-apigatewayv2-routingrule-return-values}
19
+ */
20
+ export type ApiGatewayV2RoutingRuleAttributes = {
21
+ /**
22
+ * Amazon Resource Name (ARN) of the resource.
23
+ */
24
+ RoutingRuleArn: string;
25
+ /**
26
+ * RoutingRule Id generated by service
27
+ */
28
+ RoutingRuleId: string;
29
+ };
30
+ /**
31
+ * Type definition for `AWS::ApiGatewayV2::RoutingRule.Action`.
32
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-action.html}
33
+ */
34
+ export type Action = {
35
+ InvokeApi: ActionInvokeApi;
36
+ };
37
+ /**
38
+ * Type definition for `AWS::ApiGatewayV2::RoutingRule.ActionInvokeApi`.
39
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-actioninvokeapi.html}
40
+ */
41
+ export type ActionInvokeApi = {
42
+ ApiId: string;
43
+ Stage: string;
44
+ StripBasePath?: boolean;
45
+ };
46
+ /**
47
+ * Type definition for `AWS::ApiGatewayV2::RoutingRule.Condition`.
48
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-condition.html}
49
+ */
50
+ export type Condition = {
51
+ MatchBasePaths?: MatchBasePaths;
52
+ MatchHeaders?: MatchHeaders;
53
+ };
54
+ /**
55
+ * Type definition for `AWS::ApiGatewayV2::RoutingRule.MatchBasePaths`.
56
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchbasepaths.html}
57
+ */
58
+ export type MatchBasePaths = {
59
+ AnyOf: string[];
60
+ };
61
+ /**
62
+ * Type definition for `AWS::ApiGatewayV2::RoutingRule.MatchHeaders`.
63
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchheaders.html}
64
+ */
65
+ export type MatchHeaders = {
66
+ AnyOf: MatchHeaderValue[];
67
+ };
68
+ /**
69
+ * Type definition for `AWS::ApiGatewayV2::RoutingRule.MatchHeaderValue`.
70
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routingrule-matchheadervalue.html}
71
+ */
72
+ export type MatchHeaderValue = {
73
+ Header: string;
74
+ ValueGlob: string;
75
+ };
76
+ /**
77
+ * Schema for AWS::ApiGatewayV2::RoutingRule
78
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html}
79
+ */
80
+ export declare class ApiGatewayV2RoutingRule extends $Resource<"AWS::ApiGatewayV2::RoutingRule", ApiGatewayV2RoutingRuleProperties, ApiGatewayV2RoutingRuleAttributes> {
81
+ static readonly Type = "AWS::ApiGatewayV2::RoutingRule";
82
+ constructor(logicalId: string, properties: ApiGatewayV2RoutingRuleProperties, options?: $ResourceOptions);
83
+ }
84
+ //# sourceMappingURL=AWS-ApiGatewayV2-RoutingRule.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Schema for AWS::ApiGatewayV2::RoutingRule
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routingrule.html}
5
+ */
6
+ export class ApiGatewayV2RoutingRule extends $Resource {
7
+ static Type = "AWS::ApiGatewayV2::RoutingRule";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, ApiGatewayV2RoutingRule.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-ApiGatewayV2-RoutingRule.js.map
@@ -14,6 +14,11 @@ export type CloudTrailEventDataStoreProperties = {
14
14
  * The mode that the event data store will use to charge for event storage.
15
15
  */
16
16
  BillingMode?: string;
17
+ /**
18
+ * An array that enriches event records in an existing event data store by including additional information specified in individual ContexKeySelector entries. If you add ContextKeySelectors, you must set MaxEventSize to Large.
19
+ * @maxLength `2`
20
+ */
21
+ ContextKeySelectors?: ContextKeySelector[];
17
22
  /**
18
23
  * Indicates whether federation is enabled on an event data store.
19
24
  */
@@ -38,6 +43,10 @@ export type CloudTrailEventDataStoreProperties = {
38
43
  * Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
39
44
  */
40
45
  KmsKeyId?: string;
46
+ /**
47
+ * Specifies the maximum size allowed for the event. Valid values are Standard and Large. If you add ContextKeySelectors, this value must be set to Large.
48
+ */
49
+ MaxEventSize?: "Standard" | "Large";
41
50
  /**
42
51
  * Indicates whether the event data store includes events from all regions, or only from the region in which it was created.
43
52
  */
@@ -144,6 +153,23 @@ export type AdvancedFieldSelector = {
144
153
  */
145
154
  StartsWith?: string[];
146
155
  };
156
+ /**
157
+ * Type definition for `AWS::CloudTrail::EventDataStore.ContextKeySelector`.
158
+ * An object that contains information types to be included in CloudTrail enriched events.
159
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-eventdatastore-contextkeyselector.html}
160
+ */
161
+ export type ContextKeySelector = {
162
+ /**
163
+ * An operator that includes events that match the exact value of the event record field specified in Type.
164
+ * @minLength `1`
165
+ * @maxLength `50`
166
+ */
167
+ Equals: string[];
168
+ /**
169
+ * Specifies the type of the event record field in ContextKeySelector. Valid values include RequestContext, TagContext.
170
+ */
171
+ Type: "RequestContext" | "TagContext";
172
+ };
147
173
  /**
148
174
  * Type definition for `AWS::CloudTrail::EventDataStore.InsightSelector`.
149
175
  * A string that contains Insights types that are logged on an event data store.
@@ -9,6 +9,16 @@ export type DSQLClusterProperties = {
9
9
  * Whether deletion protection is enabled in this cluster.
10
10
  */
11
11
  DeletionProtectionEnabled?: boolean;
12
+ /**
13
+ * The Multi-region properties associated to this cluster.
14
+ */
15
+ MultiRegionProperties?: {
16
+ Clusters?: string[];
17
+ /**
18
+ * The witness region in a multi-region cluster.
19
+ */
20
+ WitnessRegion?: string;
21
+ };
12
22
  Tags?: Tag[];
13
23
  };
14
24
  /**
@@ -50,7 +50,7 @@ export type EFSFileSystemProperties = {
50
50
  + When to move files in the file system from primary storage or IA storage to Archive storage.
51
51
  + When to move files that are in IA or Archive storage to primary storage.
52
52
 
53
- EFS requires that each ``LifecyclePolicy`` object have only a single transition. This means that in a request body, ``LifecyclePolicies`` needs to be structured as an array of ``LifecyclePolicy`` objects, one object for each transition, ``TransitionToIA``, ``TransitionToArchive`` ``TransitionToPrimaryStorageClass``. See the example requests in the following section for more information.
53
+ EFS requires that each ``LifecyclePolicy`` object have only a single transition. This means that in a request body, ``LifecyclePolicies`` needs to be structured as an array of ``LifecyclePolicy`` objects, one object for each transition, ``TransitionToIA``, ``TransitionToArchive````TransitionToPrimaryStorageClass``. See the example requests in the following section for more information.
54
54
  */
55
55
  LifecyclePolicies?: LifecyclePolicy[];
56
56
  /**
@@ -109,8 +109,8 @@ export type EFSFileSystemAttributes = {
109
109
  export type BackupPolicy = {
110
110
  /**
111
111
  * Set the backup policy status for the file system.
112
- + *ENABLED* - Turns automatic backups on for the file system.
113
- + *DISABLED* - Turns automatic backups off for the file system.
112
+ + *ENABLED* - Turns automatic backups on for the file system.
113
+ + *DISABLED* - Turns automatic backups off for the file system.
114
114
  */
115
115
  Status: "DISABLED" | "ENABLED";
116
116
  };
@@ -137,9 +137,9 @@ export type ElasticFileSystemTag = {
137
137
  export type FileSystemProtection = {
138
138
  /**
139
139
  * The status of the file system's replication overwrite protection.
140
- + ``ENABLED`` – The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ``ENABLED`` by default.
141
- + ``DISABLED`` – The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.
142
- + ``REPLICATING`` – The file system is being used as the destination file system in a replication configuration. The file system is read-only and is modified only by EFS replication.
140
+ + ``ENABLED`` – The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ``ENABLED`` by default.
141
+ + ``DISABLED`` – The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.
142
+ + ``REPLICATING`` – The file system is being used as the destination file system in a replication configuration. The file system is read-only and is modified only by EFS replication.
143
143
 
144
144
  If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.
145
145
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.347",
3
+ "version": "0.1.348",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },