@awboost/cfn-resource-types 0.1.485 → 0.1.487
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.
- package/lib/AWS-CustomerProfiles-SegmentDefinition.d.ts +12 -2
- package/lib/AWS-Lambda-EventInvokeConfig.d.ts +2 -2
- package/lib/AWS-Lambda-EventSourceMapping.d.ts +1 -1
- package/lib/AWS-RTBFabric-OutboundExternalLink.d.ts +138 -0
- package/lib/AWS-RTBFabric-OutboundExternalLink.js +12 -0
- package/lib/AWS-SecurityHub-AutomationRuleV2.d.ts +2 -2
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ export type CustomerProfilesSegmentDefinitionProperties = {
|
|
|
9
9
|
/**
|
|
10
10
|
* The description of the segment definition.
|
|
11
11
|
* @minLength `1`
|
|
12
|
-
* @maxLength `
|
|
12
|
+
* @maxLength `4000`
|
|
13
13
|
*/
|
|
14
14
|
Description?: string;
|
|
15
15
|
/**
|
|
@@ -35,7 +35,13 @@ export type CustomerProfilesSegmentDefinitionProperties = {
|
|
|
35
35
|
/**
|
|
36
36
|
* An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
|
|
37
37
|
*/
|
|
38
|
-
SegmentGroups
|
|
38
|
+
SegmentGroups?: SegmentGroup;
|
|
39
|
+
/**
|
|
40
|
+
* The SQL query that defines the segment criteria.
|
|
41
|
+
* @minLength `1`
|
|
42
|
+
* @maxLength `50000`
|
|
43
|
+
*/
|
|
44
|
+
SegmentSqlQuery?: string;
|
|
39
45
|
/**
|
|
40
46
|
* The tags used to organize, track, or control access for this resource.
|
|
41
47
|
* @minLength `0`
|
|
@@ -58,6 +64,10 @@ export type CustomerProfilesSegmentDefinitionAttributes = {
|
|
|
58
64
|
* @maxLength `255`
|
|
59
65
|
*/
|
|
60
66
|
SegmentDefinitionArn: string;
|
|
67
|
+
/**
|
|
68
|
+
* The SQL query that defines the segment criteria.
|
|
69
|
+
*/
|
|
70
|
+
SegmentType: "CLASSIC" | "ENHANCED";
|
|
61
71
|
};
|
|
62
72
|
/**
|
|
63
73
|
* Type definition for `AWS::CustomerProfiles::SegmentDefinition.AddressDimension`.
|
|
@@ -11,7 +11,7 @@ export type LambdaEventInvokeConfigProperties = {
|
|
|
11
11
|
DestinationConfig?: DestinationConfig;
|
|
12
12
|
/**
|
|
13
13
|
* The name of the Lambda function.
|
|
14
|
-
* @pattern `^(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]+(-[a-z]+)+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST
|
|
14
|
+
* @pattern `^(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]+(-[a-z]+)+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST(\.PUBLISHED)?|[a-zA-Z0-9-_]+))?$`
|
|
15
15
|
*/
|
|
16
16
|
FunctionName: string;
|
|
17
17
|
/**
|
|
@@ -28,7 +28,7 @@ export type LambdaEventInvokeConfigProperties = {
|
|
|
28
28
|
MaximumRetryAttempts?: number;
|
|
29
29
|
/**
|
|
30
30
|
* The identifier of a version or alias.
|
|
31
|
-
* @pattern
|
|
31
|
+
* @pattern `^\$(LATEST(\.PUBLISHED)?)|[a-zA-Z0-9$_-]{1,129}$`
|
|
32
32
|
*/
|
|
33
33
|
Qualifier: string;
|
|
34
34
|
};
|
|
@@ -76,7 +76,7 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
76
76
|
The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
|
|
77
77
|
* @minLength `1`
|
|
78
78
|
* @maxLength `140`
|
|
79
|
-
* @pattern `(arn:(aws[a-zA-Z-]*)?:lambda:)?((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST
|
|
79
|
+
* @pattern `(arn:(aws[a-zA-Z-]*)?:lambda:)?((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST(\.PUBLISHED)?|[a-zA-Z0-9-_]+))?`
|
|
80
80
|
*/
|
|
81
81
|
FunctionName: string;
|
|
82
82
|
/**
|
|
@@ -0,0 +1,138 @@
|
|
|
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::RTBFabric::OutboundExternalLink Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rtbfabric-outboundexternallink.html}
|
|
6
|
+
*/
|
|
7
|
+
export type RTBFabricOutboundExternalLinkProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* @pattern `^rtb-gw-[a-z0-9-]{1,25}$`
|
|
10
|
+
*/
|
|
11
|
+
GatewayId: string;
|
|
12
|
+
LinkAttributes?: LinkAttributes;
|
|
13
|
+
LinkLogSettings: LinkLogSettings;
|
|
14
|
+
/**
|
|
15
|
+
* @minLength `0`
|
|
16
|
+
* @maxLength `255`
|
|
17
|
+
* @pattern `^(https|http)://.+$`
|
|
18
|
+
*/
|
|
19
|
+
PublicEndpoint: string;
|
|
20
|
+
/**
|
|
21
|
+
* Tags to assign to the Link.
|
|
22
|
+
* @minLength `0`
|
|
23
|
+
* @maxLength `50`
|
|
24
|
+
*/
|
|
25
|
+
Tags?: Tag[];
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Attribute type definition for `AWS::RTBFabric::OutboundExternalLink`.
|
|
29
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rtbfabric-outboundexternallink.html#aws-resource-rtbfabric-outboundexternallink-return-values}
|
|
30
|
+
*/
|
|
31
|
+
export type RTBFabricOutboundExternalLinkAttributes = {
|
|
32
|
+
/**
|
|
33
|
+
* @minLength `20`
|
|
34
|
+
* @maxLength `2048`
|
|
35
|
+
* @pattern `^arn:aws:rtbfabric:[a-zA-Z0-9_-]+:[0-9]{12}:gateway/[a-zA-Z0-9-]+/link/[a-zA-Z0-9-]+$`
|
|
36
|
+
*/
|
|
37
|
+
Arn: string;
|
|
38
|
+
CreatedTimestamp: string;
|
|
39
|
+
/**
|
|
40
|
+
* @pattern `^link-[a-z0-9-]{1,25}$`
|
|
41
|
+
*/
|
|
42
|
+
LinkId: string;
|
|
43
|
+
LinkStatus: LinkStatus;
|
|
44
|
+
UpdatedTimestamp: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Type definition for `AWS::RTBFabric::OutboundExternalLink.LinkAttributes`.
|
|
48
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rtbfabric-outboundexternallink-linkattributes.html}
|
|
49
|
+
*/
|
|
50
|
+
export type LinkAttributes = {
|
|
51
|
+
CustomerProvidedId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @minLength `1`
|
|
54
|
+
* @maxLength `200`
|
|
55
|
+
*/
|
|
56
|
+
ResponderErrorMasking?: ResponderErrorMaskingForHttpCode[];
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Type definition for `AWS::RTBFabric::OutboundExternalLink.LinkLogSettings`.
|
|
60
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rtbfabric-outboundexternallink-linklogsettings.html}
|
|
61
|
+
*/
|
|
62
|
+
export type LinkLogSettings = {
|
|
63
|
+
ApplicationLogs: {
|
|
64
|
+
LinkApplicationLogSampling: {
|
|
65
|
+
/**
|
|
66
|
+
* @min `0`
|
|
67
|
+
* @max `100`
|
|
68
|
+
*/
|
|
69
|
+
ErrorLog: number;
|
|
70
|
+
/**
|
|
71
|
+
* @min `0`
|
|
72
|
+
* @max `100`
|
|
73
|
+
*/
|
|
74
|
+
FilterLog: number;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Type definition for `AWS::RTBFabric::OutboundExternalLink.LinkStatus`.
|
|
80
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rtbfabric-outboundexternallink-linkstatus.html}
|
|
81
|
+
*/
|
|
82
|
+
export type LinkStatus = "PENDING_CREATION" | "PENDING_REQUEST" | "REQUESTED" | "ACCEPTED" | "ACTIVE" | "REJECTED" | "FAILED" | "PENDING_DELETION" | "DELETED" | "PENDING_UPDATE" | "PENDING_ISOLATION" | "ISOLATED" | "PENDING_RESTORATION" | "UNKNOWN_TO_SDK_VERSION";
|
|
83
|
+
/**
|
|
84
|
+
* Type definition for `AWS::RTBFabric::OutboundExternalLink.ResponderErrorMaskingForHttpCode`.
|
|
85
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rtbfabric-outboundexternallink-respondererrormaskingforhttpcode.html}
|
|
86
|
+
*/
|
|
87
|
+
export type ResponderErrorMaskingForHttpCode = {
|
|
88
|
+
Action: "NO_BID" | "PASSTHROUGH";
|
|
89
|
+
/**
|
|
90
|
+
* @minLength `3`
|
|
91
|
+
* @maxLength `7`
|
|
92
|
+
* @pattern `^DEFAULT|4XX|5XX|\d{3}$`
|
|
93
|
+
*/
|
|
94
|
+
HttpCode: string;
|
|
95
|
+
/**
|
|
96
|
+
* @minLength `1`
|
|
97
|
+
* @maxLength `2`
|
|
98
|
+
*/
|
|
99
|
+
LoggingTypes: ResponderErrorMaskingLoggingType[];
|
|
100
|
+
/**
|
|
101
|
+
* @min `0`
|
|
102
|
+
* @max `100`
|
|
103
|
+
*/
|
|
104
|
+
ResponseLoggingPercentage?: number;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Type definition for `AWS::RTBFabric::OutboundExternalLink.ResponderErrorMaskingLoggingType`.
|
|
108
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rtbfabric-outboundexternallink-respondererrormaskingloggingtype.html}
|
|
109
|
+
*/
|
|
110
|
+
export type ResponderErrorMaskingLoggingType = "NONE" | "METRIC" | "RESPONSE";
|
|
111
|
+
/**
|
|
112
|
+
* Type definition for `AWS::RTBFabric::OutboundExternalLink.Tag`.
|
|
113
|
+
* A key-value pair to associate with a resource.
|
|
114
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rtbfabric-outboundexternallink-tag.html}
|
|
115
|
+
*/
|
|
116
|
+
export type Tag = {
|
|
117
|
+
/**
|
|
118
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
119
|
+
* @minLength `1`
|
|
120
|
+
* @maxLength `128`
|
|
121
|
+
*/
|
|
122
|
+
Key: string;
|
|
123
|
+
/**
|
|
124
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
125
|
+
* @minLength `0`
|
|
126
|
+
* @maxLength `256`
|
|
127
|
+
*/
|
|
128
|
+
Value?: string;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Resource Type definition for AWS::RTBFabric::OutboundExternalLink Resource Type
|
|
132
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rtbfabric-outboundexternallink.html}
|
|
133
|
+
*/
|
|
134
|
+
export declare class RTBFabricOutboundExternalLink extends $Resource<"AWS::RTBFabric::OutboundExternalLink", RTBFabricOutboundExternalLinkProperties, RTBFabricOutboundExternalLinkAttributes> {
|
|
135
|
+
static readonly Type = "AWS::RTBFabric::OutboundExternalLink";
|
|
136
|
+
constructor(logicalId: string, properties: RTBFabricOutboundExternalLinkProperties, options?: $ResourceOptions);
|
|
137
|
+
}
|
|
138
|
+
//# sourceMappingURL=AWS-RTBFabric-OutboundExternalLink.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::RTBFabric::OutboundExternalLink Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rtbfabric-outboundexternallink.html}
|
|
5
|
+
*/
|
|
6
|
+
export class RTBFabricOutboundExternalLink extends $Resource {
|
|
7
|
+
static Type = "AWS::RTBFabric::OutboundExternalLink";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, RTBFabricOutboundExternalLink.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-RTBFabric-OutboundExternalLink.js.map
|
|
@@ -337,7 +337,7 @@ export type OcsfNumberFilter = {
|
|
|
337
337
|
/**
|
|
338
338
|
* The name of the field
|
|
339
339
|
*/
|
|
340
|
-
FieldName: "activity_id" | "compliance.status_id" | "confidence_score" | "
|
|
340
|
+
FieldName: "activity_id" | "compliance.status_id" | "confidence_score" | "finding_info.related_events_count" | "vendor_attributes.severity_id";
|
|
341
341
|
/**
|
|
342
342
|
* A number filter for querying findings
|
|
343
343
|
*/
|
|
@@ -348,7 +348,7 @@ export type OcsfNumberFilter = {
|
|
|
348
348
|
* The name of the field
|
|
349
349
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfstringfield.html}
|
|
350
350
|
*/
|
|
351
|
-
export type OcsfStringField = "
|
|
351
|
+
export type OcsfStringField = "activity_name" | "cloud.account.name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.category" | "compliance.assessments.name" | "compliance.control" | "compliance.status" | "compliance.standards" | "finding_info.desc" | "finding_info.src_url" | "finding_info.title" | "finding_info.types" | "finding_info.uid" | "finding_info.related_events.uid" | "finding_info.related_events.product.uid" | "finding_info.related_events.title" | "metadata.product.feature.uid" | "metadata.product.name" | "metadata.product.uid" | "metadata.product.vendor_name" | "remediation.desc" | "remediation.references" | "resources.cloud_partition" | "resources.name" | "resources.region" | "resources.type" | "resources.uid" | "vulnerabilities.fix_coverage" | "class_name" | "vendor_attributes.severity";
|
|
352
352
|
/**
|
|
353
353
|
* Type definition for `AWS::SecurityHub::AutomationRuleV2.OcsfStringFilter`.
|
|
354
354
|
* Enables filtering of security findings based on string field values in OCSF
|