@awboost/cfn-resource-types 0.1.399 → 0.1.401
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-ACMPCA-Certificate.d.ts +1 -1
- package/lib/AWS-AppIntegrations-Application.d.ts +38 -0
- package/lib/AWS-Connect-User.d.ts +4 -0
- package/lib/AWS-DynamoDB-GlobalTable.d.ts +1 -0
- package/lib/AWS-DynamoDB-Table.d.ts +1 -0
- package/lib/AWS-EC2-IpPoolRouteTableAssociation.d.ts +35 -0
- package/lib/AWS-EC2-IpPoolRouteTableAssociation.js +12 -0
- package/lib/AWS-InspectorV2-CodeSecurityIntegration.d.ts +139 -0
- package/lib/AWS-InspectorV2-CodeSecurityIntegration.js +13 -0
- package/lib/AWS-InspectorV2-CodeSecurityScanConfiguration.d.ts +123 -0
- package/lib/AWS-InspectorV2-CodeSecurityScanConfiguration.js +13 -0
- package/lib/AWS-IoT-MitigationAction.d.ts +2 -2
- package/lib/AWS-Lambda-Permission.d.ts +2 -2
- package/package.json +1 -1
|
@@ -82,7 +82,7 @@ export type CustomAttribute = {
|
|
|
82
82
|
/**
|
|
83
83
|
* Type definition for `AWS::ACMPCA::Certificate.CustomExtension`.
|
|
84
84
|
* Specifies the X.509 extension information for a certificate.
|
|
85
|
-
Extensions present in ``CustomExtensions`` follow the ``ApiPassthrough``
|
|
85
|
+
Extensions present in ``CustomExtensions`` follow the ``ApiPassthrough``[template rules](https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html#template-order-of-operations).
|
|
86
86
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-customextension.html}
|
|
87
87
|
*/
|
|
88
88
|
export type CustomExtension = {
|
|
@@ -6,6 +6,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
6
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html}
|
|
7
7
|
*/
|
|
8
8
|
export type AppIntegrationsApplicationProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* The application configuration. Cannot be used when IsService is true.
|
|
11
|
+
*/
|
|
12
|
+
ApplicationConfig?: ApplicationConfig;
|
|
9
13
|
/**
|
|
10
14
|
* Application source config
|
|
11
15
|
*/
|
|
@@ -18,6 +22,18 @@ export type AppIntegrationsApplicationProperties = {
|
|
|
18
22
|
* @maxLength `1000`
|
|
19
23
|
*/
|
|
20
24
|
Description: string;
|
|
25
|
+
/**
|
|
26
|
+
* The iframe configuration
|
|
27
|
+
*/
|
|
28
|
+
IframeConfig?: IframeConfig;
|
|
29
|
+
/**
|
|
30
|
+
* The initialization timeout in milliseconds. Required when IsService is true.
|
|
31
|
+
*/
|
|
32
|
+
InitializationTimeout?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Indicates if the application is a service
|
|
35
|
+
*/
|
|
36
|
+
IsService?: boolean;
|
|
21
37
|
/**
|
|
22
38
|
* The name of the application.
|
|
23
39
|
* @minLength `1`
|
|
@@ -65,6 +81,20 @@ export type AppIntegrationsApplicationAttributes = {
|
|
|
65
81
|
*/
|
|
66
82
|
Id: string;
|
|
67
83
|
};
|
|
84
|
+
/**
|
|
85
|
+
* Type definition for `AWS::AppIntegrations::Application.ApplicationConfig`.
|
|
86
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-applicationconfig.html}
|
|
87
|
+
*/
|
|
88
|
+
export type ApplicationConfig = {
|
|
89
|
+
ContactHandling?: ContactHandling;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Type definition for `AWS::AppIntegrations::Application.ContactHandling`.
|
|
93
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-contacthandling.html}
|
|
94
|
+
*/
|
|
95
|
+
export type ContactHandling = {
|
|
96
|
+
Scope: "CROSS_CONTACTS" | "PER_CONTACT";
|
|
97
|
+
};
|
|
68
98
|
/**
|
|
69
99
|
* Type definition for `AWS::AppIntegrations::Application.ExternalUrlConfig`.
|
|
70
100
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-externalurlconfig.html}
|
|
@@ -82,6 +112,14 @@ export type ExternalUrlConfig = {
|
|
|
82
112
|
*/
|
|
83
113
|
ApprovedOrigins?: string[];
|
|
84
114
|
};
|
|
115
|
+
/**
|
|
116
|
+
* Type definition for `AWS::AppIntegrations::Application.IframeConfig`.
|
|
117
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-iframeconfig.html}
|
|
118
|
+
*/
|
|
119
|
+
export type IframeConfig = {
|
|
120
|
+
Allow?: string[];
|
|
121
|
+
Sandbox?: string[];
|
|
122
|
+
};
|
|
85
123
|
/**
|
|
86
124
|
* Type definition for `AWS::AppIntegrations::Application.Tag`.
|
|
87
125
|
* A label for tagging Application resources
|
|
@@ -144,6 +144,10 @@ export type UserPhoneConfig = {
|
|
|
144
144
|
* The phone number for the user's desk phone.
|
|
145
145
|
*/
|
|
146
146
|
DeskPhoneNumber?: string;
|
|
147
|
+
/**
|
|
148
|
+
* The Persistent Connection setting.
|
|
149
|
+
*/
|
|
150
|
+
PersistentConnection?: boolean;
|
|
147
151
|
/**
|
|
148
152
|
* The phone type.
|
|
149
153
|
*/
|
|
@@ -81,6 +81,7 @@ export type CapacityAutoScalingSettings = {
|
|
|
81
81
|
*/
|
|
82
82
|
export type ContributorInsightsSpecification = {
|
|
83
83
|
Enabled: boolean;
|
|
84
|
+
Mode?: "ACCESSED_AND_THROTTLED_KEYS" | "THROTTLED_KEYS";
|
|
84
85
|
};
|
|
85
86
|
/**
|
|
86
87
|
* Type definition for `AWS::DynamoDB::GlobalTable.GlobalSecondaryIndex`.
|
|
@@ -146,6 +146,7 @@ export type ContributorInsightsSpecification = {
|
|
|
146
146
|
* Indicates whether CloudWatch Contributor Insights are to be enabled (true) or disabled (false).
|
|
147
147
|
*/
|
|
148
148
|
Enabled: boolean;
|
|
149
|
+
Mode?: "ACCESSED_AND_THROTTLED_KEYS" | "THROTTLED_KEYS";
|
|
149
150
|
};
|
|
150
151
|
/**
|
|
151
152
|
* Type definition for `AWS::DynamoDB::Table.Csv`.
|
|
@@ -0,0 +1,35 @@
|
|
|
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::EC2::IpPoolRouteTableAssociation
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ippoolroutetableassociation.html}
|
|
6
|
+
*/
|
|
7
|
+
export type EC2IpPoolRouteTableAssociationProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The ID of the public IPv4 pool.
|
|
10
|
+
*/
|
|
11
|
+
PublicIpv4Pool: string;
|
|
12
|
+
/**
|
|
13
|
+
* The ID of the route table.
|
|
14
|
+
*/
|
|
15
|
+
RouteTableId: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Attribute type definition for `AWS::EC2::IpPoolRouteTableAssociation`.
|
|
19
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ippoolroutetableassociation.html#aws-resource-ec2-ippoolroutetableassociation-return-values}
|
|
20
|
+
*/
|
|
21
|
+
export type EC2IpPoolRouteTableAssociationAttributes = {
|
|
22
|
+
/**
|
|
23
|
+
* The route table association ID.
|
|
24
|
+
*/
|
|
25
|
+
AssociationId: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Resource Type definition for AWS::EC2::IpPoolRouteTableAssociation
|
|
29
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ippoolroutetableassociation.html}
|
|
30
|
+
*/
|
|
31
|
+
export declare class EC2IpPoolRouteTableAssociation extends $Resource<"AWS::EC2::IpPoolRouteTableAssociation", EC2IpPoolRouteTableAssociationProperties, EC2IpPoolRouteTableAssociationAttributes> {
|
|
32
|
+
static readonly Type = "AWS::EC2::IpPoolRouteTableAssociation";
|
|
33
|
+
constructor(logicalId: string, properties: EC2IpPoolRouteTableAssociationProperties, options?: $ResourceOptions);
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=AWS-EC2-IpPoolRouteTableAssociation.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::EC2::IpPoolRouteTableAssociation
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ippoolroutetableassociation.html}
|
|
5
|
+
*/
|
|
6
|
+
export class EC2IpPoolRouteTableAssociation extends $Resource {
|
|
7
|
+
static Type = "AWS::EC2::IpPoolRouteTableAssociation";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, EC2IpPoolRouteTableAssociation.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-EC2-IpPoolRouteTableAssociation.js.map
|
|
@@ -0,0 +1,139 @@
|
|
|
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::InspectorV2::CodeSecurityIntegration`.
|
|
5
|
+
* Inspector CodeSecurityIntegration resource schema
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html}
|
|
7
|
+
*/
|
|
8
|
+
export type InspectorV2CodeSecurityIntegrationProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* Create Integration Details
|
|
11
|
+
*/
|
|
12
|
+
CreateIntegrationDetails?: CreateDetails;
|
|
13
|
+
/**
|
|
14
|
+
* Code Security Integration name
|
|
15
|
+
* @minLength `1`
|
|
16
|
+
* @maxLength `60`
|
|
17
|
+
* @pattern `^[a-zA-Z0-9-_$:.]*$`
|
|
18
|
+
*/
|
|
19
|
+
Name?: string;
|
|
20
|
+
Tags?: TagMap;
|
|
21
|
+
/**
|
|
22
|
+
* Integration Type
|
|
23
|
+
*/
|
|
24
|
+
Type?: IntegrationType;
|
|
25
|
+
/**
|
|
26
|
+
* Update Integration Details
|
|
27
|
+
*/
|
|
28
|
+
UpdateIntegrationDetails?: UpdateDetails;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Attribute type definition for `AWS::InspectorV2::CodeSecurityIntegration`.
|
|
32
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html#aws-resource-inspectorv2-codesecurityintegration-return-values}
|
|
33
|
+
*/
|
|
34
|
+
export type InspectorV2CodeSecurityIntegrationAttributes = {
|
|
35
|
+
/**
|
|
36
|
+
* Code Security Integration ARN
|
|
37
|
+
* @pattern `^arn:(aws[a-zA-Z-]*)?:inspector2:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:codesecurity-integration/[a-f0-9-]{36}$`
|
|
38
|
+
*/
|
|
39
|
+
Arn: string;
|
|
40
|
+
/**
|
|
41
|
+
* Authorization URL for OAuth flow
|
|
42
|
+
* @pattern `^https://[-a-zA-Z0-9()@:%_+.~#?&//=]{1,1024}$`
|
|
43
|
+
*/
|
|
44
|
+
AuthorizationUrl: string;
|
|
45
|
+
/**
|
|
46
|
+
* Creation timestamp
|
|
47
|
+
*/
|
|
48
|
+
CreatedAt: string;
|
|
49
|
+
/**
|
|
50
|
+
* Last update timestamp
|
|
51
|
+
*/
|
|
52
|
+
LastUpdatedAt: string;
|
|
53
|
+
/**
|
|
54
|
+
* Integration Status
|
|
55
|
+
*/
|
|
56
|
+
Status: IntegrationStatus;
|
|
57
|
+
/**
|
|
58
|
+
* Reason for the current status
|
|
59
|
+
*/
|
|
60
|
+
StatusReason: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityIntegration.CreateDetails`.
|
|
64
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-createdetails.html}
|
|
65
|
+
*/
|
|
66
|
+
export type CreateDetails = {
|
|
67
|
+
gitlabSelfManaged: CreateGitLabSelfManagedIntegrationDetail;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityIntegration.CreateGitLabSelfManagedIntegrationDetail`.
|
|
71
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-creategitlabselfmanagedintegrationdetail.html}
|
|
72
|
+
*/
|
|
73
|
+
export type CreateGitLabSelfManagedIntegrationDetail = {
|
|
74
|
+
accessToken: string;
|
|
75
|
+
/**
|
|
76
|
+
* @pattern `^https://[-a-zA-Z0-9()@:%_+.~#?&//=]{1,1024}$`
|
|
77
|
+
*/
|
|
78
|
+
instanceUrl: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityIntegration.IntegrationStatus`.
|
|
82
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-integrationstatus.html}
|
|
83
|
+
*/
|
|
84
|
+
export type IntegrationStatus = "PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING";
|
|
85
|
+
/**
|
|
86
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityIntegration.IntegrationType`.
|
|
87
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-integrationtype.html}
|
|
88
|
+
*/
|
|
89
|
+
export type IntegrationType = "GITLAB_SELF_MANAGED" | "GITHUB";
|
|
90
|
+
/**
|
|
91
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityIntegration.TagMap`.
|
|
92
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-tagmap.html}
|
|
93
|
+
*/
|
|
94
|
+
export type TagMap = Record<string, string>;
|
|
95
|
+
/**
|
|
96
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityIntegration.UpdateDetails`.
|
|
97
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updatedetails.html}
|
|
98
|
+
*/
|
|
99
|
+
export type UpdateDetails = {
|
|
100
|
+
github?: UpdateGitHubIntegrationDetail;
|
|
101
|
+
gitlabSelfManaged?: UpdateGitLabSelfManagedIntegrationDetail;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityIntegration.UpdateGitHubIntegrationDetail`.
|
|
105
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategithubintegrationdetail.html}
|
|
106
|
+
*/
|
|
107
|
+
export type UpdateGitHubIntegrationDetail = {
|
|
108
|
+
/**
|
|
109
|
+
* @minLength `1`
|
|
110
|
+
* @maxLength `1024`
|
|
111
|
+
*/
|
|
112
|
+
code: string;
|
|
113
|
+
/**
|
|
114
|
+
* @minLength `1`
|
|
115
|
+
* @maxLength `1024`
|
|
116
|
+
*/
|
|
117
|
+
installationId: string;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityIntegration.UpdateGitLabSelfManagedIntegrationDetail`.
|
|
121
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityintegration-updategitlabselfmanagedintegrationdetail.html}
|
|
122
|
+
*/
|
|
123
|
+
export type UpdateGitLabSelfManagedIntegrationDetail = {
|
|
124
|
+
/**
|
|
125
|
+
* @minLength `1`
|
|
126
|
+
* @maxLength `1024`
|
|
127
|
+
*/
|
|
128
|
+
authCode: string;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Resource type definition for `AWS::InspectorV2::CodeSecurityIntegration`.
|
|
132
|
+
* Inspector CodeSecurityIntegration resource schema
|
|
133
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html}
|
|
134
|
+
*/
|
|
135
|
+
export declare class InspectorV2CodeSecurityIntegration extends $Resource<"AWS::InspectorV2::CodeSecurityIntegration", InspectorV2CodeSecurityIntegrationProperties, InspectorV2CodeSecurityIntegrationAttributes> {
|
|
136
|
+
static readonly Type = "AWS::InspectorV2::CodeSecurityIntegration";
|
|
137
|
+
constructor(logicalId: string, properties: InspectorV2CodeSecurityIntegrationProperties, options?: $ResourceOptions);
|
|
138
|
+
}
|
|
139
|
+
//# sourceMappingURL=AWS-InspectorV2-CodeSecurityIntegration.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for `AWS::InspectorV2::CodeSecurityIntegration`.
|
|
4
|
+
* Inspector CodeSecurityIntegration resource schema
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityintegration.html}
|
|
6
|
+
*/
|
|
7
|
+
export class InspectorV2CodeSecurityIntegration extends $Resource {
|
|
8
|
+
static Type = "AWS::InspectorV2::CodeSecurityIntegration";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, InspectorV2CodeSecurityIntegration.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-InspectorV2-CodeSecurityIntegration.js.map
|
|
@@ -0,0 +1,123 @@
|
|
|
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::InspectorV2::CodeSecurityScanConfiguration`.
|
|
5
|
+
* Inspector CodeSecurityScanConfiguration resource schema
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html}
|
|
7
|
+
*/
|
|
8
|
+
export type InspectorV2CodeSecurityScanConfigurationProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* Code Security Scan Configuration
|
|
11
|
+
*/
|
|
12
|
+
Configuration?: CodeSecurityScanConfiguration;
|
|
13
|
+
/**
|
|
14
|
+
* Configuration Level
|
|
15
|
+
*/
|
|
16
|
+
Level?: ConfigurationLevel;
|
|
17
|
+
/**
|
|
18
|
+
* Code Security Scan Configuration name
|
|
19
|
+
* @minLength `1`
|
|
20
|
+
* @maxLength `60`
|
|
21
|
+
* @pattern `^[a-zA-Z0-9-_$:.]*$`
|
|
22
|
+
*/
|
|
23
|
+
Name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Scope Settings
|
|
26
|
+
*/
|
|
27
|
+
ScopeSettings?: ScopeSettings;
|
|
28
|
+
Tags?: TagMap;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Attribute type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration`.
|
|
32
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html#aws-resource-inspectorv2-codesecurityscanconfiguration-return-values}
|
|
33
|
+
*/
|
|
34
|
+
export type InspectorV2CodeSecurityScanConfigurationAttributes = {
|
|
35
|
+
/**
|
|
36
|
+
* Code Security Scan Configuration ARN
|
|
37
|
+
* @pattern `^arn:(aws[a-zA-Z-]*)?:inspector2:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:owner/(\d{12}|o-[a-z0-9]{10,32})/codesecurity-configuration/[a-f0-9-]{36}$`
|
|
38
|
+
*/
|
|
39
|
+
Arn: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration.CodeSecurityScanConfiguration`.
|
|
43
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-codesecurityscanconfiguration.html}
|
|
44
|
+
*/
|
|
45
|
+
export type CodeSecurityScanConfiguration = {
|
|
46
|
+
continuousIntegrationScanConfiguration?: ContinuousIntegrationScanConfiguration;
|
|
47
|
+
periodicScanConfiguration?: PeriodicScanConfiguration;
|
|
48
|
+
/**
|
|
49
|
+
* @minLength `1`
|
|
50
|
+
* @maxLength `3`
|
|
51
|
+
*/
|
|
52
|
+
ruleSetCategories: RuleSetCategory[];
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration.ConfigurationLevel`.
|
|
56
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-configurationlevel.html}
|
|
57
|
+
*/
|
|
58
|
+
export type ConfigurationLevel = "ORGANIZATION" | "ACCOUNT";
|
|
59
|
+
/**
|
|
60
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration.ContinuousIntegrationScanConfiguration`.
|
|
61
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-continuousintegrationscanconfiguration.html}
|
|
62
|
+
*/
|
|
63
|
+
export type ContinuousIntegrationScanConfiguration = {
|
|
64
|
+
/**
|
|
65
|
+
* @minLength `1`
|
|
66
|
+
* @maxLength `2`
|
|
67
|
+
*/
|
|
68
|
+
supportedEvents: ContinuousIntegrationScanEvent[];
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration.ContinuousIntegrationScanEvent`.
|
|
72
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-continuousintegrationscanevent.html}
|
|
73
|
+
*/
|
|
74
|
+
export type ContinuousIntegrationScanEvent = "PULL_REQUEST" | "PUSH";
|
|
75
|
+
/**
|
|
76
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration.PeriodicScanConfiguration`.
|
|
77
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-periodicscanconfiguration.html}
|
|
78
|
+
*/
|
|
79
|
+
export type PeriodicScanConfiguration = {
|
|
80
|
+
frequency?: PeriodicScanFrequency;
|
|
81
|
+
/**
|
|
82
|
+
* @minLength `1`
|
|
83
|
+
* @maxLength `256`
|
|
84
|
+
*/
|
|
85
|
+
frequencyExpression?: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration.PeriodicScanFrequency`.
|
|
89
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-periodicscanfrequency.html}
|
|
90
|
+
*/
|
|
91
|
+
export type PeriodicScanFrequency = "WEEKLY" | "MONTHLY" | "NEVER";
|
|
92
|
+
/**
|
|
93
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration.ProjectSelectionScope`.
|
|
94
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-projectselectionscope.html}
|
|
95
|
+
*/
|
|
96
|
+
export type ProjectSelectionScope = "ALL";
|
|
97
|
+
/**
|
|
98
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration.RuleSetCategory`.
|
|
99
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-rulesetcategory.html}
|
|
100
|
+
*/
|
|
101
|
+
export type RuleSetCategory = "SAST" | "IAC" | "SCA";
|
|
102
|
+
/**
|
|
103
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration.ScopeSettings`.
|
|
104
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-scopesettings.html}
|
|
105
|
+
*/
|
|
106
|
+
export type ScopeSettings = {
|
|
107
|
+
projectSelectionScope?: ProjectSelectionScope;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration.TagMap`.
|
|
111
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-inspectorv2-codesecurityscanconfiguration-tagmap.html}
|
|
112
|
+
*/
|
|
113
|
+
export type TagMap = Record<string, string>;
|
|
114
|
+
/**
|
|
115
|
+
* Resource type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration`.
|
|
116
|
+
* Inspector CodeSecurityScanConfiguration resource schema
|
|
117
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html}
|
|
118
|
+
*/
|
|
119
|
+
export declare class InspectorV2CodeSecurityScanConfiguration extends $Resource<"AWS::InspectorV2::CodeSecurityScanConfiguration", InspectorV2CodeSecurityScanConfigurationProperties, InspectorV2CodeSecurityScanConfigurationAttributes> {
|
|
120
|
+
static readonly Type = "AWS::InspectorV2::CodeSecurityScanConfiguration";
|
|
121
|
+
constructor(logicalId: string, properties: InspectorV2CodeSecurityScanConfigurationProperties, options?: $ResourceOptions);
|
|
122
|
+
}
|
|
123
|
+
//# sourceMappingURL=AWS-InspectorV2-CodeSecurityScanConfiguration.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for `AWS::InspectorV2::CodeSecurityScanConfiguration`.
|
|
4
|
+
* Inspector CodeSecurityScanConfiguration resource schema
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-codesecurityscanconfiguration.html}
|
|
6
|
+
*/
|
|
7
|
+
export class InspectorV2CodeSecurityScanConfiguration extends $Resource {
|
|
8
|
+
static Type = "AWS::InspectorV2::CodeSecurityScanConfiguration";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, InspectorV2CodeSecurityScanConfiguration.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-InspectorV2-CodeSecurityScanConfiguration.js.map
|
|
@@ -92,7 +92,7 @@ export type EnableIoTLoggingParams = {
|
|
|
92
92
|
LogLevel: "DEBUG" | "INFO" | "ERROR" | "WARN" | "UNSET_VALUE";
|
|
93
93
|
/**
|
|
94
94
|
* The ARN of the IAM role used for logging.
|
|
95
|
-
* @minLength `
|
|
95
|
+
* @minLength `11`
|
|
96
96
|
* @maxLength `2048`
|
|
97
97
|
*/
|
|
98
98
|
RoleArnForLogging: string;
|
|
@@ -105,7 +105,7 @@ export type EnableIoTLoggingParams = {
|
|
|
105
105
|
export type PublishFindingToSnsParams = {
|
|
106
106
|
/**
|
|
107
107
|
* The ARN of the topic to which you want to publish the findings.
|
|
108
|
-
* @minLength `
|
|
108
|
+
* @minLength `11`
|
|
109
109
|
* @maxLength `2048`
|
|
110
110
|
*/
|
|
111
111
|
TopicArn: string;
|
|
@@ -32,7 +32,7 @@ export type LambdaPermissionProperties = {
|
|
|
32
32
|
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
33
33
|
* @minLength `1`
|
|
34
34
|
* @maxLength `140`
|
|
35
|
-
* @pattern `^(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?$`
|
|
35
|
+
* @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|[a-zA-Z0-9-_]+))?$`
|
|
36
36
|
*/
|
|
37
37
|
FunctionName: string;
|
|
38
38
|
/**
|
|
@@ -65,7 +65,7 @@ export type LambdaPermissionProperties = {
|
|
|
65
65
|
Note that Lambda configures the comparison using the ``StringLike`` operator.
|
|
66
66
|
* @minLength `12`
|
|
67
67
|
* @maxLength `1024`
|
|
68
|
-
* @pattern `^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1})?:(\d{12})?:(.*)$`
|
|
68
|
+
* @pattern `^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1})?:(\d{12})?:(.*)$`
|
|
69
69
|
*/
|
|
70
70
|
SourceArn?: string;
|
|
71
71
|
};
|