@stacksjs/ts-cloud-aws-types 0.1.3 → 0.1.4
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/README.md +98 -13
- package/package.json +2 -1
- package/src/acm.ts +0 -20
- package/src/alb.ts +0 -73
- package/src/apigateway.ts +0 -85
- package/src/appsync.ts +0 -246
- package/src/athena.ts +0 -102
- package/src/autoscaling.ts +0 -201
- package/src/backup.ts +0 -187
- package/src/cloudwatch.ts +0 -98
- package/src/codedeploy.ts +0 -132
- package/src/cognito.ts +0 -216
- package/src/common.ts +0 -20
- package/src/connect.ts +0 -243
- package/src/dynamodb.ts +0 -64
- package/src/ec2.ts +0 -171
- package/src/ecr.ts +0 -129
- package/src/ecs.ts +0 -129
- package/src/efs.ts +0 -57
- package/src/elasticache.ts +0 -92
- package/src/eventbridge.ts +0 -140
- package/src/globalaccelerator.ts +0 -57
- package/src/glue.ts +0 -241
- package/src/iam.ts +0 -142
- package/src/index.ts +0 -328
- package/src/kinesis.ts +0 -261
- package/src/kms.ts +0 -35
- package/src/lambda.ts +0 -42
- package/src/opensearch.ts +0 -147
- package/src/pinpoint.ts +0 -438
- package/src/rds-proxy.ts +0 -67
- package/src/rds.ts +0 -61
- package/src/route53.ts +0 -32
- package/src/secrets-manager.ts +0 -110
- package/src/ses.ts +0 -66
- package/src/sns.ts +0 -45
- package/src/sqs.ts +0 -54
- package/src/ssm.ts +0 -268
- package/src/waf.ts +0 -81
- package/tsconfig.json +0 -12
package/src/codedeploy.ts
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AWS CodeDeploy Types
|
|
3
|
-
* CloudFormation resource types for AWS CodeDeploy
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { CloudFormationResource } from './index'
|
|
7
|
-
|
|
8
|
-
export interface CodeDeployApplication extends CloudFormationResource {
|
|
9
|
-
Type: 'AWS::CodeDeploy::Application'
|
|
10
|
-
Properties?: {
|
|
11
|
-
ApplicationName?: string
|
|
12
|
-
ComputePlatform?: 'Server' | 'Lambda' | 'ECS'
|
|
13
|
-
Tags?: Array<{
|
|
14
|
-
Key: string
|
|
15
|
-
Value: string
|
|
16
|
-
}>
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface CodeDeployDeploymentGroup extends CloudFormationResource {
|
|
21
|
-
Type: 'AWS::CodeDeploy::DeploymentGroup'
|
|
22
|
-
Properties: {
|
|
23
|
-
ApplicationName: string | { Ref: string }
|
|
24
|
-
DeploymentGroupName?: string
|
|
25
|
-
ServiceRoleArn: string | { Ref: string } | { 'Fn::GetAtt': [string, string] }
|
|
26
|
-
AutoScalingGroups?: string[]
|
|
27
|
-
Ec2TagFilters?: Array<{
|
|
28
|
-
Key?: string
|
|
29
|
-
Value?: string
|
|
30
|
-
Type?: 'KEY_ONLY' | 'VALUE_ONLY' | 'KEY_AND_VALUE'
|
|
31
|
-
}>
|
|
32
|
-
Ec2TagSet?: {
|
|
33
|
-
Ec2TagSetList?: Array<{
|
|
34
|
-
Ec2TagGroup?: Array<{
|
|
35
|
-
Key?: string
|
|
36
|
-
Value?: string
|
|
37
|
-
Type?: 'KEY_ONLY' | 'VALUE_ONLY' | 'KEY_AND_VALUE'
|
|
38
|
-
}>
|
|
39
|
-
}>
|
|
40
|
-
}
|
|
41
|
-
OnPremisesInstanceTagFilters?: Array<{
|
|
42
|
-
Key?: string
|
|
43
|
-
Value?: string
|
|
44
|
-
Type?: 'KEY_ONLY' | 'VALUE_ONLY' | 'KEY_AND_VALUE'
|
|
45
|
-
}>
|
|
46
|
-
DeploymentConfigName?: string | { Ref: string }
|
|
47
|
-
DeploymentStyle?: {
|
|
48
|
-
DeploymentType?: 'IN_PLACE' | 'BLUE_GREEN'
|
|
49
|
-
DeploymentOption?: 'WITH_TRAFFIC_CONTROL' | 'WITHOUT_TRAFFIC_CONTROL'
|
|
50
|
-
}
|
|
51
|
-
AutoRollbackConfiguration?: {
|
|
52
|
-
Enabled?: boolean
|
|
53
|
-
Events?: ('DEPLOYMENT_FAILURE' | 'DEPLOYMENT_STOP_ON_ALARM' | 'DEPLOYMENT_STOP_ON_REQUEST')[]
|
|
54
|
-
}
|
|
55
|
-
AlarmConfiguration?: {
|
|
56
|
-
Enabled?: boolean
|
|
57
|
-
Alarms?: Array<{
|
|
58
|
-
Name?: string
|
|
59
|
-
}>
|
|
60
|
-
IgnorePollAlarmFailure?: boolean
|
|
61
|
-
}
|
|
62
|
-
LoadBalancerInfo?: {
|
|
63
|
-
TargetGroupInfoList?: Array<{
|
|
64
|
-
Name?: string
|
|
65
|
-
}>
|
|
66
|
-
ElbInfoList?: Array<{
|
|
67
|
-
Name?: string
|
|
68
|
-
}>
|
|
69
|
-
TargetGroupPairInfoList?: Array<{
|
|
70
|
-
TargetGroups?: Array<{
|
|
71
|
-
Name?: string
|
|
72
|
-
}>
|
|
73
|
-
ProdTrafficRoute?: {
|
|
74
|
-
ListenerArns?: string[]
|
|
75
|
-
}
|
|
76
|
-
TestTrafficRoute?: {
|
|
77
|
-
ListenerArns?: string[]
|
|
78
|
-
}
|
|
79
|
-
}>
|
|
80
|
-
}
|
|
81
|
-
BlueGreenDeploymentConfiguration?: {
|
|
82
|
-
TerminateBlueInstancesOnDeploymentSuccess?: {
|
|
83
|
-
Action?: 'TERMINATE' | 'KEEP_ALIVE'
|
|
84
|
-
TerminationWaitTimeInMinutes?: number
|
|
85
|
-
}
|
|
86
|
-
DeploymentReadyOption?: {
|
|
87
|
-
ActionOnTimeout?: 'CONTINUE_DEPLOYMENT' | 'STOP_DEPLOYMENT'
|
|
88
|
-
WaitTimeInMinutes?: number
|
|
89
|
-
}
|
|
90
|
-
GreenFleetProvisioningOption?: {
|
|
91
|
-
Action?: 'DISCOVER_EXISTING' | 'COPY_AUTO_SCALING_GROUP'
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
TriggerConfigurations?: Array<{
|
|
95
|
-
TriggerName?: string
|
|
96
|
-
TriggerTargetArn?: string
|
|
97
|
-
TriggerEvents?: string[]
|
|
98
|
-
}>
|
|
99
|
-
ECSServices?: Array<{
|
|
100
|
-
ClusterName: string
|
|
101
|
-
ServiceName: string
|
|
102
|
-
}>
|
|
103
|
-
OutdatedInstancesStrategy?: 'UPDATE' | 'IGNORE'
|
|
104
|
-
Tags?: Array<{
|
|
105
|
-
Key: string
|
|
106
|
-
Value: string
|
|
107
|
-
}>
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export interface CodeDeployDeploymentConfig extends CloudFormationResource {
|
|
112
|
-
Type: 'AWS::CodeDeploy::DeploymentConfig'
|
|
113
|
-
Properties?: {
|
|
114
|
-
DeploymentConfigName?: string
|
|
115
|
-
ComputePlatform?: 'Server' | 'Lambda' | 'ECS'
|
|
116
|
-
MinimumHealthyHosts?: {
|
|
117
|
-
Type: 'HOST_COUNT' | 'FLEET_PERCENT'
|
|
118
|
-
Value: number
|
|
119
|
-
}
|
|
120
|
-
TrafficRoutingConfig?: {
|
|
121
|
-
Type: 'TimeBasedCanary' | 'TimeBasedLinear' | 'AllAtOnce'
|
|
122
|
-
TimeBasedCanary?: {
|
|
123
|
-
CanaryPercentage: number
|
|
124
|
-
CanaryInterval: number
|
|
125
|
-
}
|
|
126
|
-
TimeBasedLinear?: {
|
|
127
|
-
LinearPercentage: number
|
|
128
|
-
LinearInterval: number
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
package/src/cognito.ts
DELETED
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AWS Cognito Types
|
|
3
|
-
* CloudFormation resource types for Amazon Cognito
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { CloudFormationResource } from './index'
|
|
7
|
-
|
|
8
|
-
export interface CognitoUserPool extends CloudFormationResource {
|
|
9
|
-
Type: 'AWS::Cognito::UserPool'
|
|
10
|
-
Properties?: {
|
|
11
|
-
UserPoolName?: string
|
|
12
|
-
Policies?: {
|
|
13
|
-
PasswordPolicy?: {
|
|
14
|
-
MinimumLength?: number
|
|
15
|
-
RequireLowercase?: boolean
|
|
16
|
-
RequireUppercase?: boolean
|
|
17
|
-
RequireNumbers?: boolean
|
|
18
|
-
RequireSymbols?: boolean
|
|
19
|
-
TemporaryPasswordValidityDays?: number
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
MfaConfiguration?: 'OFF' | 'ON' | 'OPTIONAL'
|
|
23
|
-
UsernameAttributes?: ('email' | 'phone_number')[]
|
|
24
|
-
AutoVerifiedAttributes?: ('email' | 'phone_number')[]
|
|
25
|
-
Schema?: Array<{
|
|
26
|
-
Name: string
|
|
27
|
-
AttributeDataType?: 'String' | 'Number' | 'DateTime' | 'Boolean'
|
|
28
|
-
Required?: boolean
|
|
29
|
-
Mutable?: boolean
|
|
30
|
-
StringAttributeConstraints?: {
|
|
31
|
-
MinLength?: string
|
|
32
|
-
MaxLength?: string
|
|
33
|
-
}
|
|
34
|
-
NumberAttributeConstraints?: {
|
|
35
|
-
MinValue?: string
|
|
36
|
-
MaxValue?: string
|
|
37
|
-
}
|
|
38
|
-
}>
|
|
39
|
-
EmailConfiguration?: {
|
|
40
|
-
EmailSendingAccount?: 'COGNITO_DEFAULT' | 'DEVELOPER'
|
|
41
|
-
From?: string
|
|
42
|
-
ReplyToEmailAddress?: string
|
|
43
|
-
SourceArn?: string
|
|
44
|
-
ConfigurationSet?: string
|
|
45
|
-
}
|
|
46
|
-
SmsConfiguration?: {
|
|
47
|
-
ExternalId?: string
|
|
48
|
-
SnsCallerArn?: string
|
|
49
|
-
}
|
|
50
|
-
LambdaConfig?: {
|
|
51
|
-
PreSignUp?: string
|
|
52
|
-
PostConfirmation?: string
|
|
53
|
-
PreAuthentication?: string
|
|
54
|
-
PostAuthentication?: string
|
|
55
|
-
CustomMessage?: string
|
|
56
|
-
DefineAuthChallenge?: string
|
|
57
|
-
CreateAuthChallenge?: string
|
|
58
|
-
VerifyAuthChallengeResponse?: string
|
|
59
|
-
PreTokenGeneration?: string
|
|
60
|
-
UserMigration?: string
|
|
61
|
-
}
|
|
62
|
-
UserPoolAddOns?: {
|
|
63
|
-
AdvancedSecurityMode?: 'OFF' | 'AUDIT' | 'ENFORCED'
|
|
64
|
-
}
|
|
65
|
-
AccountRecoverySetting?: {
|
|
66
|
-
RecoveryMechanisms?: Array<{
|
|
67
|
-
Name?: 'verified_email' | 'verified_phone_number' | 'admin_only'
|
|
68
|
-
Priority?: number
|
|
69
|
-
}>
|
|
70
|
-
}
|
|
71
|
-
AdminCreateUserConfig?: {
|
|
72
|
-
AllowAdminCreateUserOnly?: boolean
|
|
73
|
-
InviteMessageTemplate?: {
|
|
74
|
-
EmailMessage?: string
|
|
75
|
-
EmailSubject?: string
|
|
76
|
-
SMSMessage?: string
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
Tags?: Array<{
|
|
80
|
-
Key: string
|
|
81
|
-
Value: string
|
|
82
|
-
}>
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export interface CognitoUserPoolClient extends CloudFormationResource {
|
|
87
|
-
Type: 'AWS::Cognito::UserPoolClient'
|
|
88
|
-
Properties: {
|
|
89
|
-
ClientName?: string
|
|
90
|
-
UserPoolId: string | { Ref: string }
|
|
91
|
-
GenerateSecret?: boolean
|
|
92
|
-
RefreshTokenValidity?: number
|
|
93
|
-
AccessTokenValidity?: number
|
|
94
|
-
IdTokenValidity?: number
|
|
95
|
-
TokenValidityUnits?: {
|
|
96
|
-
RefreshToken?: 'seconds' | 'minutes' | 'hours' | 'days'
|
|
97
|
-
AccessToken?: 'seconds' | 'minutes' | 'hours' | 'days'
|
|
98
|
-
IdToken?: 'seconds' | 'minutes' | 'hours' | 'days'
|
|
99
|
-
}
|
|
100
|
-
ReadAttributes?: string[]
|
|
101
|
-
WriteAttributes?: string[]
|
|
102
|
-
ExplicitAuthFlows?: string[]
|
|
103
|
-
PreventUserExistenceErrors?: 'ENABLED' | 'LEGACY'
|
|
104
|
-
EnableTokenRevocation?: boolean
|
|
105
|
-
CallbackURLs?: string[]
|
|
106
|
-
LogoutURLs?: string[]
|
|
107
|
-
AllowedOAuthFlows?: ('code' | 'implicit' | 'client_credentials')[]
|
|
108
|
-
AllowedOAuthScopes?: string[]
|
|
109
|
-
AllowedOAuthFlowsUserPoolClient?: boolean
|
|
110
|
-
SupportedIdentityProviders?: string[]
|
|
111
|
-
DefaultRedirectURI?: string
|
|
112
|
-
AnalyticsConfiguration?: {
|
|
113
|
-
ApplicationArn?: string
|
|
114
|
-
ApplicationId?: string
|
|
115
|
-
ExternalId?: string
|
|
116
|
-
RoleArn?: string
|
|
117
|
-
UserDataShared?: boolean
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export interface CognitoUserPoolDomain extends CloudFormationResource {
|
|
123
|
-
Type: 'AWS::Cognito::UserPoolDomain'
|
|
124
|
-
Properties: {
|
|
125
|
-
Domain: string
|
|
126
|
-
UserPoolId: string | { Ref: string }
|
|
127
|
-
CustomDomainConfig?: {
|
|
128
|
-
CertificateArn?: string
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export interface CognitoIdentityPool extends CloudFormationResource {
|
|
134
|
-
Type: 'AWS::Cognito::IdentityPool'
|
|
135
|
-
Properties: {
|
|
136
|
-
IdentityPoolName?: string
|
|
137
|
-
AllowUnauthenticatedIdentities: boolean
|
|
138
|
-
CognitoIdentityProviders?: Array<{
|
|
139
|
-
ClientId?: string
|
|
140
|
-
ProviderName?: string
|
|
141
|
-
ServerSideTokenCheck?: boolean
|
|
142
|
-
}>
|
|
143
|
-
SupportedLoginProviders?: Record<string, string>
|
|
144
|
-
SamlProviderARNs?: string[]
|
|
145
|
-
OpenIdConnectProviderARNs?: string[]
|
|
146
|
-
CognitoStreams?: {
|
|
147
|
-
StreamingStatus?: 'ENABLED' | 'DISABLED'
|
|
148
|
-
StreamName?: string
|
|
149
|
-
RoleArn?: string
|
|
150
|
-
}
|
|
151
|
-
PushSync?: {
|
|
152
|
-
ApplicationArns?: string[]
|
|
153
|
-
RoleArn?: string
|
|
154
|
-
}
|
|
155
|
-
CognitoEvents?: Record<string, string>
|
|
156
|
-
DeveloperProviderName?: string
|
|
157
|
-
AllowClassicFlow?: boolean
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export interface CognitoIdentityPoolRoleAttachment extends CloudFormationResource {
|
|
162
|
-
Type: 'AWS::Cognito::IdentityPoolRoleAttachment'
|
|
163
|
-
Properties: {
|
|
164
|
-
IdentityPoolId: string | { Ref: string }
|
|
165
|
-
Roles?: Record<string, string>
|
|
166
|
-
RoleMappings?: Record<string, {
|
|
167
|
-
Type?: 'Token' | 'Rules'
|
|
168
|
-
AmbiguousRoleResolution?: 'AuthenticatedRole' | 'Deny'
|
|
169
|
-
IdentityProvider?: string
|
|
170
|
-
RulesConfiguration?: {
|
|
171
|
-
Rules?: Array<{
|
|
172
|
-
Claim?: string
|
|
173
|
-
MatchType?: 'Equals' | 'Contains' | 'StartsWith' | 'NotEqual'
|
|
174
|
-
Value?: string
|
|
175
|
-
RoleARN?: string
|
|
176
|
-
}>
|
|
177
|
-
}
|
|
178
|
-
}>
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export interface CognitoUserPoolGroup extends CloudFormationResource {
|
|
183
|
-
Type: 'AWS::Cognito::UserPoolGroup'
|
|
184
|
-
Properties: {
|
|
185
|
-
GroupName: string
|
|
186
|
-
UserPoolId: string | { Ref: string }
|
|
187
|
-
Description?: string
|
|
188
|
-
Precedence?: number
|
|
189
|
-
RoleArn?: string
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
export interface CognitoUserPoolResourceServer extends CloudFormationResource {
|
|
194
|
-
Type: 'AWS::Cognito::UserPoolResourceServer'
|
|
195
|
-
Properties: {
|
|
196
|
-
Identifier: string
|
|
197
|
-
Name: string
|
|
198
|
-
UserPoolId: string | { Ref: string }
|
|
199
|
-
Scopes?: Array<{
|
|
200
|
-
ScopeName: string
|
|
201
|
-
ScopeDescription: string
|
|
202
|
-
}>
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
export interface CognitoUserPoolIdentityProvider extends CloudFormationResource {
|
|
207
|
-
Type: 'AWS::Cognito::UserPoolIdentityProvider'
|
|
208
|
-
Properties: {
|
|
209
|
-
ProviderName: string
|
|
210
|
-
ProviderType: 'SAML' | 'Facebook' | 'Google' | 'LoginWithAmazon' | 'SignInWithApple' | 'OIDC'
|
|
211
|
-
UserPoolId: string | { Ref: string }
|
|
212
|
-
AttributeMapping?: Record<string, string>
|
|
213
|
-
ProviderDetails?: Record<string, string>
|
|
214
|
-
IdpIdentifiers?: string[]
|
|
215
|
-
}
|
|
216
|
-
}
|
package/src/common.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Common AWS Types
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export interface Tag {
|
|
6
|
-
Key: string
|
|
7
|
-
Value: string
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export type Tags = Tag[]
|
|
11
|
-
|
|
12
|
-
export interface ResourceBase {
|
|
13
|
-
Type: string
|
|
14
|
-
Properties: Record<string, any>
|
|
15
|
-
DependsOn?: string | string[]
|
|
16
|
-
Condition?: string
|
|
17
|
-
DeletionPolicy?: 'Delete' | 'Retain' | 'Snapshot'
|
|
18
|
-
UpdateReplacePolicy?: 'Delete' | 'Retain' | 'Snapshot'
|
|
19
|
-
Metadata?: Record<string, any>
|
|
20
|
-
}
|
package/src/connect.ts
DELETED
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AWS Amazon Connect CloudFormation Types
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import type { ResourceBase, Tags } from './common'
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Amazon Connect Instance
|
|
9
|
-
*/
|
|
10
|
-
export interface ConnectInstance extends ResourceBase {
|
|
11
|
-
Type: 'AWS::Connect::Instance'
|
|
12
|
-
Properties: {
|
|
13
|
-
InstanceAlias: string
|
|
14
|
-
IdentityManagementType: 'SAML' | 'CONNECT_MANAGED' | 'EXISTING_DIRECTORY'
|
|
15
|
-
Attributes: {
|
|
16
|
-
InboundCalls: boolean
|
|
17
|
-
OutboundCalls: boolean
|
|
18
|
-
ContactflowLogs?: boolean
|
|
19
|
-
ContactLens?: boolean
|
|
20
|
-
AutoResolveBestVoices?: boolean
|
|
21
|
-
UseCustomTTSVoices?: boolean
|
|
22
|
-
EarlyMedia?: boolean
|
|
23
|
-
}
|
|
24
|
-
DirectoryId?: string
|
|
25
|
-
Tags?: Tags
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Amazon Connect Hours of Operation
|
|
31
|
-
*/
|
|
32
|
-
export interface ConnectHoursOfOperation extends ResourceBase {
|
|
33
|
-
Type: 'AWS::Connect::HoursOfOperation'
|
|
34
|
-
Properties: {
|
|
35
|
-
InstanceArn: string
|
|
36
|
-
Name: string
|
|
37
|
-
TimeZone: string
|
|
38
|
-
Config: Array<{
|
|
39
|
-
Day: 'SUNDAY' | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY'
|
|
40
|
-
StartTime: { Hours: number; Minutes: number }
|
|
41
|
-
EndTime: { Hours: number; Minutes: number }
|
|
42
|
-
}>
|
|
43
|
-
Description?: string
|
|
44
|
-
Tags?: Tags
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Amazon Connect Queue
|
|
50
|
-
*/
|
|
51
|
-
export interface ConnectQueue extends ResourceBase {
|
|
52
|
-
Type: 'AWS::Connect::Queue'
|
|
53
|
-
Properties: {
|
|
54
|
-
InstanceArn: string
|
|
55
|
-
Name: string
|
|
56
|
-
HoursOfOperationArn: string
|
|
57
|
-
Description?: string
|
|
58
|
-
MaxContacts?: number
|
|
59
|
-
OutboundCallerConfig?: {
|
|
60
|
-
OutboundCallerIdName?: string
|
|
61
|
-
OutboundCallerIdNumberId?: string
|
|
62
|
-
OutboundFlowId?: string
|
|
63
|
-
}
|
|
64
|
-
QuickConnectArns?: string[]
|
|
65
|
-
Status?: 'ENABLED' | 'DISABLED'
|
|
66
|
-
Tags?: Tags
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Amazon Connect Contact Flow
|
|
72
|
-
*/
|
|
73
|
-
export interface ConnectContactFlow extends ResourceBase {
|
|
74
|
-
Type: 'AWS::Connect::ContactFlow'
|
|
75
|
-
Properties: {
|
|
76
|
-
InstanceArn: string
|
|
77
|
-
Name: string
|
|
78
|
-
Type: 'CONTACT_FLOW' | 'CUSTOMER_QUEUE' | 'CUSTOMER_HOLD' | 'CUSTOMER_WHISPER' | 'AGENT_HOLD' | 'AGENT_WHISPER' | 'OUTBOUND_WHISPER' | 'AGENT_TRANSFER' | 'QUEUE_TRANSFER'
|
|
79
|
-
Content: string
|
|
80
|
-
Description?: string
|
|
81
|
-
State?: 'ACTIVE' | 'ARCHIVED'
|
|
82
|
-
Tags?: Tags
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Amazon Connect Contact Flow Module
|
|
88
|
-
*/
|
|
89
|
-
export interface ConnectContactFlowModule extends ResourceBase {
|
|
90
|
-
Type: 'AWS::Connect::ContactFlowModule'
|
|
91
|
-
Properties: {
|
|
92
|
-
InstanceArn: string
|
|
93
|
-
Name: string
|
|
94
|
-
Content: string
|
|
95
|
-
Description?: string
|
|
96
|
-
State?: 'ACTIVE' | 'ARCHIVED'
|
|
97
|
-
Tags?: Tags
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Amazon Connect Phone Number
|
|
103
|
-
*/
|
|
104
|
-
export interface ConnectPhoneNumber extends ResourceBase {
|
|
105
|
-
Type: 'AWS::Connect::PhoneNumber'
|
|
106
|
-
Properties: {
|
|
107
|
-
TargetArn: string
|
|
108
|
-
Type: 'TOLL_FREE' | 'DID' | 'UIFN' | 'SHARED' | 'THIRD_PARTY_TF' | 'THIRD_PARTY_DID'
|
|
109
|
-
CountryCode: string
|
|
110
|
-
Description?: string
|
|
111
|
-
Prefix?: string
|
|
112
|
-
Tags?: Tags
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Amazon Connect Routing Profile
|
|
118
|
-
*/
|
|
119
|
-
export interface ConnectRoutingProfile extends ResourceBase {
|
|
120
|
-
Type: 'AWS::Connect::RoutingProfile'
|
|
121
|
-
Properties: {
|
|
122
|
-
InstanceArn: string
|
|
123
|
-
Name: string
|
|
124
|
-
DefaultOutboundQueueArn: string
|
|
125
|
-
MediaConcurrencies: Array<{
|
|
126
|
-
Channel: 'VOICE' | 'CHAT' | 'TASK'
|
|
127
|
-
Concurrency: number
|
|
128
|
-
CrossChannelBehavior?: {
|
|
129
|
-
BehaviorType: 'ROUTE_CURRENT_CHANNEL_ONLY' | 'ROUTE_ANY_CHANNEL'
|
|
130
|
-
}
|
|
131
|
-
}>
|
|
132
|
-
Description?: string
|
|
133
|
-
QueueConfigs?: Array<{
|
|
134
|
-
QueueReference: {
|
|
135
|
-
QueueArn: string
|
|
136
|
-
Channel: 'VOICE' | 'CHAT' | 'TASK'
|
|
137
|
-
}
|
|
138
|
-
Priority: number
|
|
139
|
-
Delay: number
|
|
140
|
-
}>
|
|
141
|
-
Tags?: Tags
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Amazon Connect User
|
|
147
|
-
*/
|
|
148
|
-
export interface ConnectUser extends ResourceBase {
|
|
149
|
-
Type: 'AWS::Connect::User'
|
|
150
|
-
Properties: {
|
|
151
|
-
InstanceArn: string
|
|
152
|
-
Username: string
|
|
153
|
-
PhoneConfig: {
|
|
154
|
-
PhoneType: 'SOFT_PHONE' | 'DESK_PHONE'
|
|
155
|
-
AutoAccept?: boolean
|
|
156
|
-
AfterContactWorkTimeLimit?: number
|
|
157
|
-
DeskPhoneNumber?: string
|
|
158
|
-
}
|
|
159
|
-
RoutingProfileArn: string
|
|
160
|
-
SecurityProfileArns: string[]
|
|
161
|
-
DirectoryUserId?: string
|
|
162
|
-
HierarchyGroupArn?: string
|
|
163
|
-
IdentityInfo?: {
|
|
164
|
-
Email?: string
|
|
165
|
-
FirstName?: string
|
|
166
|
-
LastName?: string
|
|
167
|
-
Mobile?: string
|
|
168
|
-
SecondaryEmail?: string
|
|
169
|
-
}
|
|
170
|
-
Password?: string
|
|
171
|
-
Tags?: Tags
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* Amazon Connect Quick Connect
|
|
177
|
-
*/
|
|
178
|
-
export interface ConnectQuickConnect extends ResourceBase {
|
|
179
|
-
Type: 'AWS::Connect::QuickConnect'
|
|
180
|
-
Properties: {
|
|
181
|
-
InstanceArn: string
|
|
182
|
-
Name: string
|
|
183
|
-
QuickConnectConfig: {
|
|
184
|
-
QuickConnectType: 'USER' | 'QUEUE' | 'PHONE_NUMBER'
|
|
185
|
-
UserConfig?: {
|
|
186
|
-
ContactFlowArn: string
|
|
187
|
-
UserArn: string
|
|
188
|
-
}
|
|
189
|
-
QueueConfig?: {
|
|
190
|
-
ContactFlowArn: string
|
|
191
|
-
QueueArn: string
|
|
192
|
-
}
|
|
193
|
-
PhoneConfig?: {
|
|
194
|
-
PhoneNumber: string
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
Description?: string
|
|
198
|
-
Tags?: Tags
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Amazon Connect Integration Association
|
|
204
|
-
*/
|
|
205
|
-
export interface ConnectIntegrationAssociation extends ResourceBase {
|
|
206
|
-
Type: 'AWS::Connect::IntegrationAssociation'
|
|
207
|
-
Properties: {
|
|
208
|
-
InstanceId: string
|
|
209
|
-
IntegrationArn: string
|
|
210
|
-
IntegrationType: 'LEX_BOT' | 'LAMBDA_FUNCTION' | 'APPLICATION'
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Amazon Connect Task Template
|
|
216
|
-
*/
|
|
217
|
-
export interface ConnectTaskTemplate extends ResourceBase {
|
|
218
|
-
Type: 'AWS::Connect::TaskTemplate'
|
|
219
|
-
Properties: {
|
|
220
|
-
InstanceArn: string
|
|
221
|
-
Name: string
|
|
222
|
-
Fields?: Array<{
|
|
223
|
-
Id: { Name: string }
|
|
224
|
-
Type: 'NAME' | 'DESCRIPTION' | 'SCHEDULED_TIME' | 'QUICK_CONNECT' | 'URL' | 'NUMBER' | 'TEXT' | 'TEXT_AREA' | 'DATE_TIME' | 'BOOLEAN' | 'SINGLE_SELECT' | 'EMAIL'
|
|
225
|
-
Description?: string
|
|
226
|
-
SingleSelectOptions?: string[]
|
|
227
|
-
}>
|
|
228
|
-
Constraints?: {
|
|
229
|
-
RequiredFields?: Array<{ Id: { Name: string } }>
|
|
230
|
-
ReadOnlyFields?: Array<{ Id: { Name: string } }>
|
|
231
|
-
InvisibleFields?: Array<{ Id: { Name: string } }>
|
|
232
|
-
}
|
|
233
|
-
Defaults?: Array<{
|
|
234
|
-
Id: { Name: string }
|
|
235
|
-
DefaultValue: string
|
|
236
|
-
}>
|
|
237
|
-
Description?: string
|
|
238
|
-
ContactFlowArn?: string
|
|
239
|
-
Status?: 'ACTIVE' | 'INACTIVE'
|
|
240
|
-
ClientToken?: string
|
|
241
|
-
Tags?: Tags
|
|
242
|
-
}
|
|
243
|
-
}
|
package/src/dynamodb.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { CloudFormationResource } from './index'
|
|
2
|
-
|
|
3
|
-
export interface DynamoDBKeySchemaElement {
|
|
4
|
-
AttributeName: string
|
|
5
|
-
KeyType: 'HASH' | 'RANGE'
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface DynamoDBProjection {
|
|
9
|
-
ProjectionType: 'ALL' | 'KEYS_ONLY' | 'INCLUDE'
|
|
10
|
-
NonKeyAttributes?: string[]
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface DynamoDBProvisionedThroughput {
|
|
14
|
-
ReadCapacityUnits: number
|
|
15
|
-
WriteCapacityUnits: number
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface DynamoDBGlobalSecondaryIndex {
|
|
19
|
-
IndexName: string
|
|
20
|
-
KeySchema: DynamoDBKeySchemaElement[]
|
|
21
|
-
Projection: DynamoDBProjection
|
|
22
|
-
ProvisionedThroughput?: DynamoDBProvisionedThroughput
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface DynamoDBLocalSecondaryIndex {
|
|
26
|
-
IndexName: string
|
|
27
|
-
KeySchema: DynamoDBKeySchemaElement[]
|
|
28
|
-
Projection: DynamoDBProjection
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface DynamoDBTable extends CloudFormationResource {
|
|
32
|
-
Type: 'AWS::DynamoDB::Table'
|
|
33
|
-
Properties: {
|
|
34
|
-
TableName?: string
|
|
35
|
-
BillingMode?: 'PROVISIONED' | 'PAY_PER_REQUEST'
|
|
36
|
-
AttributeDefinitions: Array<{
|
|
37
|
-
AttributeName: string
|
|
38
|
-
AttributeType: 'S' | 'N' | 'B'
|
|
39
|
-
}>
|
|
40
|
-
KeySchema: DynamoDBKeySchemaElement[]
|
|
41
|
-
ProvisionedThroughput?: DynamoDBProvisionedThroughput
|
|
42
|
-
GlobalSecondaryIndexes?: DynamoDBGlobalSecondaryIndex[]
|
|
43
|
-
LocalSecondaryIndexes?: DynamoDBLocalSecondaryIndex[]
|
|
44
|
-
StreamSpecification?: {
|
|
45
|
-
StreamViewType: 'NEW_IMAGE' | 'OLD_IMAGE' | 'NEW_AND_OLD_IMAGES' | 'KEYS_ONLY'
|
|
46
|
-
}
|
|
47
|
-
SSESpecification?: {
|
|
48
|
-
SSEEnabled: boolean
|
|
49
|
-
SSEType?: 'AES256' | 'KMS'
|
|
50
|
-
KMSMasterKeyId?: string
|
|
51
|
-
}
|
|
52
|
-
PointInTimeRecoverySpecification?: {
|
|
53
|
-
PointInTimeRecoveryEnabled: boolean
|
|
54
|
-
}
|
|
55
|
-
TimeToLiveSpecification?: {
|
|
56
|
-
AttributeName: string
|
|
57
|
-
Enabled: boolean
|
|
58
|
-
}
|
|
59
|
-
Tags?: Array<{
|
|
60
|
-
Key: string
|
|
61
|
-
Value: string
|
|
62
|
-
}>
|
|
63
|
-
}
|
|
64
|
-
}
|