@ts-cloud/aws-types 0.7.56 → 0.7.57
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/dist/appsync.d.ts +8 -1
- package/dist/autoscaling.d.ts +11 -2
- package/dist/backup.d.ts +30 -7
- package/dist/cloudwatch.d.ts +2 -1
- package/dist/cognito.d.ts +15 -12
- package/dist/connect.d.ts +23 -2
- package/dist/index.d.ts +4 -1
- package/dist/kms.d.ts +9 -1
- package/dist/rds-proxy.d.ts +2 -1
- package/dist/rds.d.ts +12 -1
- package/dist/secrets-manager.d.ts +6 -1
- package/dist/ssm.d.ts +27 -2
- package/package.json +2 -2
package/dist/appsync.d.ts
CHANGED
|
@@ -65,7 +65,14 @@ export declare interface DataSource {
|
|
|
65
65
|
Properties: {
|
|
66
66
|
ApiId: string | { Ref: string }
|
|
67
67
|
Name: string
|
|
68
|
-
Type:
|
|
68
|
+
Type:
|
|
69
|
+
| 'AWS_LAMBDA'
|
|
70
|
+
| 'AMAZON_DYNAMODB'
|
|
71
|
+
| 'AMAZON_ELASTICSEARCH'
|
|
72
|
+
| 'AMAZON_OPENSEARCH_SERVICE'
|
|
73
|
+
| 'HTTP'
|
|
74
|
+
| 'RELATIONAL_DATABASE'
|
|
75
|
+
| 'NONE'
|
|
69
76
|
ServiceRoleArn?: string | { Ref: string }
|
|
70
77
|
LambdaConfig?: {
|
|
71
78
|
LambdaFunctionArn: string | { Ref: string }
|
package/dist/autoscaling.d.ts
CHANGED
|
@@ -22,7 +22,15 @@ export declare interface AutoScalingGroup {
|
|
|
22
22
|
VPCZoneIdentifier?: string[] | { Ref: string }
|
|
23
23
|
TargetGroupARNs?: Array<string | { Ref: string }>
|
|
24
24
|
LoadBalancerNames?: Array<string | { Ref: string }>
|
|
25
|
-
TerminationPolicies?: Array<
|
|
25
|
+
TerminationPolicies?: Array<
|
|
26
|
+
| 'OldestInstance'
|
|
27
|
+
| 'NewestInstance'
|
|
28
|
+
| 'OldestLaunchConfiguration'
|
|
29
|
+
| 'ClosestToNextInstanceHour'
|
|
30
|
+
| 'Default'
|
|
31
|
+
| 'OldestLaunchTemplate'
|
|
32
|
+
| 'AllocationStrategy'
|
|
33
|
+
>
|
|
26
34
|
NewInstancesProtectedFromScaleIn?: boolean
|
|
27
35
|
Tags?: Array<Tag & { PropagateAtLaunch: boolean }>
|
|
28
36
|
MetricsCollection?: Array<{
|
|
@@ -110,7 +118,8 @@ export declare interface AutoScalingScalingPolicy {
|
|
|
110
118
|
EstimatedInstanceWarmup?: number
|
|
111
119
|
TargetTrackingConfiguration?: {
|
|
112
120
|
PredefinedMetricSpecification?: {
|
|
113
|
-
PredefinedMetricType:
|
|
121
|
+
PredefinedMetricType:
|
|
122
|
+
'ASGAverageCPUUtilization' | 'ASGAverageNetworkIn' | 'ASGAverageNetworkOut' | 'ALBRequestCountPerTarget'
|
|
114
123
|
ResourceLabel?: string
|
|
115
124
|
}
|
|
116
125
|
CustomizedMetricSpecification?: {
|
package/dist/backup.d.ts
CHANGED
|
@@ -10,7 +10,25 @@ export declare interface BackupVault {
|
|
|
10
10
|
EncryptionKeyArn?: string
|
|
11
11
|
Notifications?: {
|
|
12
12
|
SNSTopicArn: string
|
|
13
|
-
BackupVaultEvents: Array<
|
|
13
|
+
BackupVaultEvents: Array<
|
|
14
|
+
| 'BACKUP_JOB_STARTED'
|
|
15
|
+
| 'BACKUP_JOB_COMPLETED'
|
|
16
|
+
| 'BACKUP_JOB_SUCCESSFUL'
|
|
17
|
+
| 'BACKUP_JOB_FAILED'
|
|
18
|
+
| 'BACKUP_JOB_EXPIRED'
|
|
19
|
+
| 'RESTORE_JOB_STARTED'
|
|
20
|
+
| 'RESTORE_JOB_COMPLETED'
|
|
21
|
+
| 'RESTORE_JOB_SUCCESSFUL'
|
|
22
|
+
| 'RESTORE_JOB_FAILED'
|
|
23
|
+
| 'COPY_JOB_STARTED'
|
|
24
|
+
| 'COPY_JOB_SUCCESSFUL'
|
|
25
|
+
| 'COPY_JOB_FAILED'
|
|
26
|
+
| 'RECOVERY_POINT_MODIFIED'
|
|
27
|
+
| 'BACKUP_PLAN_CREATED'
|
|
28
|
+
| 'BACKUP_PLAN_MODIFIED'
|
|
29
|
+
| 'S3_BACKUP_OBJECT_FAILED'
|
|
30
|
+
| 'S3_RESTORE_OBJECT_FAILED'
|
|
31
|
+
>
|
|
14
32
|
}
|
|
15
33
|
AccessPolicy?: {
|
|
16
34
|
Version: string
|
|
@@ -164,11 +182,16 @@ export declare interface BackupVaultNotifications {
|
|
|
164
182
|
Properties: {
|
|
165
183
|
BackupVaultName: string
|
|
166
184
|
SNSTopicArn: string
|
|
167
|
-
BackupVaultEvents: Array<
|
|
185
|
+
BackupVaultEvents: Array<
|
|
186
|
+
| 'BACKUP_JOB_STARTED'
|
|
187
|
+
| 'BACKUP_JOB_COMPLETED'
|
|
188
|
+
| 'RESTORE_JOB_STARTED'
|
|
189
|
+
| 'RESTORE_JOB_COMPLETED'
|
|
190
|
+
| 'COPY_JOB_STARTED'
|
|
191
|
+
| 'COPY_JOB_SUCCESSFUL'
|
|
192
|
+
| 'COPY_JOB_FAILED'
|
|
193
|
+
| 'RECOVERY_POINT_MODIFIED'
|
|
194
|
+
>
|
|
168
195
|
}
|
|
169
196
|
}
|
|
170
|
-
export type BackupResource = |
|
|
171
|
-
| BackupPlan
|
|
172
|
-
| BackupSelection
|
|
173
|
-
| BackupFramework
|
|
174
|
-
| BackupReportPlan;
|
|
197
|
+
export type BackupResource = BackupVault | BackupPlan | BackupSelection | BackupFramework | BackupReportPlan;
|
package/dist/cloudwatch.d.ts
CHANGED
|
@@ -10,7 +10,8 @@ export declare interface CloudWatchAlarm extends CloudFormationResource {
|
|
|
10
10
|
Period?: number
|
|
11
11
|
EvaluationPeriods: number
|
|
12
12
|
Threshold: number
|
|
13
|
-
ComparisonOperator:
|
|
13
|
+
ComparisonOperator:
|
|
14
|
+
'GreaterThanOrEqualToThreshold' | 'GreaterThanThreshold' | 'LessThanThreshold' | 'LessThanOrEqualToThreshold'
|
|
14
15
|
ActionsEnabled?: boolean
|
|
15
16
|
AlarmActions?: string[]
|
|
16
17
|
InsufficientDataActions?: string[]
|
package/dist/cognito.d.ts
CHANGED
|
@@ -153,19 +153,22 @@ export declare interface CognitoIdentityPoolRoleAttachment extends CloudFormatio
|
|
|
153
153
|
Properties: {
|
|
154
154
|
IdentityPoolId: string | { Ref: string }
|
|
155
155
|
Roles?: Record<string, string>
|
|
156
|
-
RoleMappings?: Record<
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
156
|
+
RoleMappings?: Record<
|
|
157
|
+
string,
|
|
158
|
+
{
|
|
159
|
+
Type?: 'Token' | 'Rules'
|
|
160
|
+
AmbiguousRoleResolution?: 'AuthenticatedRole' | 'Deny'
|
|
161
|
+
IdentityProvider?: string
|
|
162
|
+
RulesConfiguration?: {
|
|
163
|
+
Rules?: Array<{
|
|
164
|
+
Claim?: string
|
|
165
|
+
MatchType?: 'Equals' | 'Contains' | 'StartsWith' | 'NotEqual'
|
|
166
|
+
Value?: string
|
|
167
|
+
RoleARN?: string
|
|
168
|
+
}>
|
|
169
|
+
}
|
|
167
170
|
}
|
|
168
|
-
|
|
171
|
+
>
|
|
169
172
|
}
|
|
170
173
|
}
|
|
171
174
|
export declare interface CognitoUserPoolGroup extends CloudFormationResource {
|
package/dist/connect.d.ts
CHANGED
|
@@ -67,7 +67,16 @@ export declare interface ConnectContactFlow extends ResourceBase {
|
|
|
67
67
|
Properties: {
|
|
68
68
|
InstanceArn: string
|
|
69
69
|
Name: string
|
|
70
|
-
Type:
|
|
70
|
+
Type:
|
|
71
|
+
| 'CONTACT_FLOW'
|
|
72
|
+
| 'CUSTOMER_QUEUE'
|
|
73
|
+
| 'CUSTOMER_HOLD'
|
|
74
|
+
| 'CUSTOMER_WHISPER'
|
|
75
|
+
| 'AGENT_HOLD'
|
|
76
|
+
| 'AGENT_WHISPER'
|
|
77
|
+
| 'OUTBOUND_WHISPER'
|
|
78
|
+
| 'AGENT_TRANSFER'
|
|
79
|
+
| 'QUEUE_TRANSFER'
|
|
71
80
|
Content: string
|
|
72
81
|
Description?: string
|
|
73
82
|
State?: 'ACTIVE' | 'ARCHIVED'
|
|
@@ -206,7 +215,19 @@ export declare interface ConnectTaskTemplate extends ResourceBase {
|
|
|
206
215
|
Name: string
|
|
207
216
|
Fields?: Array<{
|
|
208
217
|
Id: { Name: string }
|
|
209
|
-
Type:
|
|
218
|
+
Type:
|
|
219
|
+
| 'NAME'
|
|
220
|
+
| 'DESCRIPTION'
|
|
221
|
+
| 'SCHEDULED_TIME'
|
|
222
|
+
| 'QUICK_CONNECT'
|
|
223
|
+
| 'URL'
|
|
224
|
+
| 'NUMBER'
|
|
225
|
+
| 'TEXT'
|
|
226
|
+
| 'TEXT_AREA'
|
|
227
|
+
| 'DATE_TIME'
|
|
228
|
+
| 'BOOLEAN'
|
|
229
|
+
| 'SINGLE_SELECT'
|
|
230
|
+
| 'EMAIL'
|
|
210
231
|
Description?: string
|
|
211
232
|
SingleSelectOptions?: string[]
|
|
212
233
|
}>
|
package/dist/index.d.ts
CHANGED
|
@@ -42,7 +42,10 @@ export declare interface CloudFormationOutput {
|
|
|
42
42
|
export declare interface IntrinsicFunctions {
|
|
43
43
|
Ref: (logicalName: string) => { Ref: string }
|
|
44
44
|
GetAtt: (logicalName: string, attributeName: string) => { 'Fn::GetAtt': [string, string] }
|
|
45
|
-
Sub: (
|
|
45
|
+
Sub: (
|
|
46
|
+
template: string,
|
|
47
|
+
variables?: Record<string, unknown>,
|
|
48
|
+
) => { 'Fn::Sub': string | [string, Record<string, unknown>] }
|
|
46
49
|
Join: (delimiter: string, values: unknown[]) => { 'Fn::Join': [string, unknown[]] }
|
|
47
50
|
Select: (index: number, list: unknown[]) => { 'Fn::Select': [number, unknown[]] }
|
|
48
51
|
Split: (delimiter: string, source: string) => { 'Fn::Split': [string, string] }
|
package/dist/kms.d.ts
CHANGED
|
@@ -15,7 +15,15 @@ export declare interface KMSKey extends CloudFormationResource {
|
|
|
15
15
|
Resource: string | string[]
|
|
16
16
|
}>
|
|
17
17
|
}
|
|
18
|
-
KeySpec?:
|
|
18
|
+
KeySpec?:
|
|
19
|
+
| 'SYMMETRIC_DEFAULT'
|
|
20
|
+
| 'RSA_2048'
|
|
21
|
+
| 'RSA_3072'
|
|
22
|
+
| 'RSA_4096'
|
|
23
|
+
| 'ECC_NIST_P256'
|
|
24
|
+
| 'ECC_NIST_P384'
|
|
25
|
+
| 'ECC_NIST_P521'
|
|
26
|
+
| 'ECC_SECG_P256K1'
|
|
19
27
|
KeyUsage?: 'ENCRYPT_DECRYPT' | 'SIGN_VERIFY'
|
|
20
28
|
MultiRegion?: boolean
|
|
21
29
|
Tags?: Array<{
|
package/dist/rds-proxy.d.ts
CHANGED
|
@@ -6,7 +6,8 @@ export declare interface DBProxy {
|
|
|
6
6
|
EngineFamily: 'MYSQL' | 'POSTGRESQL' | 'SQLSERVER'
|
|
7
7
|
Auth: Array<{
|
|
8
8
|
AuthScheme?: 'SECRETS'
|
|
9
|
-
ClientPasswordAuthType?:
|
|
9
|
+
ClientPasswordAuthType?:
|
|
10
|
+
'MYSQL_NATIVE_PASSWORD' | 'POSTGRES_SCRAM_SHA_256' | 'POSTGRES_MD5' | 'SQL_SERVER_AUTHENTICATION'
|
|
10
11
|
Description?: string
|
|
11
12
|
IAMAuth?: 'DISABLED' | 'REQUIRED' | 'ENABLED'
|
|
12
13
|
SecretArn?: string | { Ref: string }
|
package/dist/rds.d.ts
CHANGED
|
@@ -4,7 +4,18 @@ export declare interface RDSDBInstance extends CloudFormationResource {
|
|
|
4
4
|
Properties: {
|
|
5
5
|
DBInstanceIdentifier?: string
|
|
6
6
|
DBInstanceClass: string
|
|
7
|
-
Engine?:
|
|
7
|
+
Engine?:
|
|
8
|
+
| 'mysql'
|
|
9
|
+
| 'postgres'
|
|
10
|
+
| 'mariadb'
|
|
11
|
+
| 'oracle-ee'
|
|
12
|
+
| 'oracle-se2'
|
|
13
|
+
| 'oracle-se1'
|
|
14
|
+
| 'oracle-se'
|
|
15
|
+
| 'sqlserver-ee'
|
|
16
|
+
| 'sqlserver-se'
|
|
17
|
+
| 'sqlserver-ex'
|
|
18
|
+
| 'sqlserver-web'
|
|
8
19
|
SourceDBInstanceIdentifier?: string
|
|
9
20
|
EngineVersion?: string
|
|
10
21
|
MasterUsername?: string
|
|
@@ -38,7 +38,12 @@ export declare interface SecretsManagerSecretTargetAttachment {
|
|
|
38
38
|
Properties: {
|
|
39
39
|
SecretId: string | { Ref: string }
|
|
40
40
|
TargetId: string | { Ref: string }
|
|
41
|
-
TargetType:
|
|
41
|
+
TargetType:
|
|
42
|
+
| 'AWS::RDS::DBInstance'
|
|
43
|
+
| 'AWS::RDS::DBCluster'
|
|
44
|
+
| 'AWS::Redshift::Cluster'
|
|
45
|
+
| 'AWS::DocDB::DBInstance'
|
|
46
|
+
| 'AWS::DocDB::DBCluster'
|
|
42
47
|
}
|
|
43
48
|
}
|
|
44
49
|
/**
|
package/dist/ssm.d.ts
CHANGED
|
@@ -58,7 +58,22 @@ export declare interface SSMDocument {
|
|
|
58
58
|
Properties: {
|
|
59
59
|
Name?: string
|
|
60
60
|
Content: any
|
|
61
|
-
DocumentType?:
|
|
61
|
+
DocumentType?:
|
|
62
|
+
| 'Command'
|
|
63
|
+
| 'Policy'
|
|
64
|
+
| 'Automation'
|
|
65
|
+
| 'Session'
|
|
66
|
+
| 'Package'
|
|
67
|
+
| 'ApplicationConfiguration'
|
|
68
|
+
| 'ApplicationConfigurationSchema'
|
|
69
|
+
| 'DeploymentStrategy'
|
|
70
|
+
| 'ChangeCalendar'
|
|
71
|
+
| 'Automation.ChangeTemplate'
|
|
72
|
+
| 'ProblemAnalysis'
|
|
73
|
+
| 'ProblemAnalysisTemplate'
|
|
74
|
+
| 'CloudFormation'
|
|
75
|
+
| 'ConformancePackTemplate'
|
|
76
|
+
| 'QuickSetup'
|
|
62
77
|
DocumentFormat?: 'YAML' | 'JSON' | 'TEXT'
|
|
63
78
|
TargetType?: string
|
|
64
79
|
VersionName?: string
|
|
@@ -175,7 +190,17 @@ export declare interface SSMPatchBaseline {
|
|
|
175
190
|
Properties: {
|
|
176
191
|
Name: string
|
|
177
192
|
Description?: string
|
|
178
|
-
OperatingSystem?:
|
|
193
|
+
OperatingSystem?:
|
|
194
|
+
| 'WINDOWS'
|
|
195
|
+
| 'AMAZON_LINUX'
|
|
196
|
+
| 'AMAZON_LINUX_2'
|
|
197
|
+
| 'UBUNTU'
|
|
198
|
+
| 'REDHAT_ENTERPRISE_LINUX'
|
|
199
|
+
| 'SUSE'
|
|
200
|
+
| 'CENTOS'
|
|
201
|
+
| 'ORACLE_LINUX'
|
|
202
|
+
| 'DEBIAN'
|
|
203
|
+
| 'MACOS'
|
|
179
204
|
ApprovedPatches?: string[]
|
|
180
205
|
ApprovedPatchesComplianceLevel?: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW' | 'INFORMATIONAL' | 'UNSPECIFIED'
|
|
181
206
|
ApprovedPatchesEnableNonSecurity?: boolean
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-cloud/aws-types",
|
|
3
|
-
"version": "0.7.56",
|
|
4
3
|
"type": "module",
|
|
5
|
-
"
|
|
4
|
+
"version": "0.7.57",
|
|
6
5
|
"description": "AWS CloudFormation resource type definitions (without AWS SDK)",
|
|
7
6
|
"author": "Chris Breuer <chris@stacksjs.com>",
|
|
8
7
|
"license": "MIT",
|
|
@@ -14,6 +13,7 @@
|
|
|
14
13
|
"bugs": {
|
|
15
14
|
"url": "https://github.com/stacksjs/ts-cloud/issues"
|
|
16
15
|
},
|
|
16
|
+
"sideEffects": false,
|
|
17
17
|
"exports": {
|
|
18
18
|
".": {
|
|
19
19
|
"types": "./dist/index.d.ts",
|