@propulsionworks/cloudformation 0.1.19 → 0.1.20
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/out/exports/resources.generated/aws-arcregionswitch-plan.d.ts +716 -0
- package/out/exports/resources.generated/aws-batch-jobqueue.d.ts +72 -1
- package/out/exports/resources.generated/aws-batch-serviceenvironment.d.ts +66 -0
- package/out/exports/resources.generated/aws-cassandra-table.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudfront-distribution.d.ts +10 -2
- package/out/exports/resources.generated/aws-cognito-managedloginbranding.d.ts +7 -0
- package/out/exports/resources.generated/aws-datazone-environmentblueprintconfiguration.d.ts +4 -0
- package/out/exports/resources.generated/aws-datazone-project.d.ts +9 -2
- package/out/exports/resources.generated/aws-datazone-projectprofile.d.ts +26 -2
- package/out/exports/resources.generated/aws-ec2-ec2fleet.d.ts +0 -4
- package/out/exports/resources.generated/aws-ec2-ipam.d.ts +6 -1
- package/out/exports/resources.generated/aws-ec2-transitgatewayconnectpeer.d.ts +73 -0
- package/out/exports/resources.generated/aws-ecr-repository.d.ts +25 -1
- package/out/exports/resources.generated/aws-ecr-repositorycreationtemplate.d.ts +23 -1
- package/out/exports/resources.generated/aws-entityresolution-idmappingworkflow.d.ts +12 -8
- package/out/exports/resources.generated/aws-entityresolution-idnamespace.d.ts +8 -8
- package/out/exports/resources.generated/aws-entityresolution-matchingworkflow.d.ts +45 -15
- package/out/exports/resources.generated/aws-glue-job.d.ts +1 -1
- package/out/exports/resources.generated/aws-iotsitewise-computationmodel.d.ts +158 -0
- package/out/exports/resources.generated/aws-iotsitewise-gateway.d.ts +1 -1
- package/out/exports/resources.generated/aws-lambda-version.d.ts +1 -1
- package/out/exports/resources.generated/aws-lightsail-domain.d.ts +26 -11
- package/out/exports/resources.generated/aws-logs-destination.d.ts +6 -1
- package/out/exports/resources.generated/aws-logs-loggroup.d.ts +4 -0
- package/out/exports/resources.generated/aws-medialive-channel.d.ts +3 -0
- package/out/exports/resources.generated/aws-mediapackagev2-channel.d.ts +7 -0
- package/out/exports/resources.generated/aws-mediapackagev2-originendpointpolicy.d.ts +23 -0
- package/out/exports/resources.generated/aws-opensearchserverless-securityconfig.d.ts +1 -1
- package/out/exports/resources.generated/aws-opsworkscm-server.d.ts +0 -2
- package/out/exports/resources.generated/aws-quicksight-topic.d.ts +15 -0
- package/out/exports/resources.generated/aws-rds-dbinstance.d.ts +45 -0
- package/out/exports/resources.generated/aws-s3-accesspoint.d.ts +6 -1
- package/out/exports/resources.generated/aws-s3express-accesspoint.d.ts +5 -1
- package/out/exports/resources.generated/aws-sagemaker-cluster.d.ts +107 -1
- package/out/exports/resources.generated/aws-sagemaker-domain.d.ts +5 -1
- package/out/exports/resources.generated/aws-sagemaker-processingjob.d.ts +608 -0
- package/out/exports/resources.generated/aws-sagemaker-space.d.ts +3 -0
- package/out/exports/resources.generated/aws-sagemaker-userprofile.d.ts +4 -0
- package/out/exports/resources.generated/aws-ses-configurationset.d.ts +1 -1
- package/out/exports/resources.generated/aws-ses-dedicatedippool.d.ts +1 -1
- package/out/exports/resources.generated/aws-ses-emailidentity.d.ts +1 -1
- package/out/exports/resources.generated/aws-ssm-patchbaseline.d.ts +5 -1
- package/out/exports/resources.generated/aws-wisdom-messagetemplate.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,716 @@
|
|
|
1
|
+
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
|
+
/**
|
|
3
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html}
|
|
4
|
+
*/
|
|
5
|
+
export type ARCRegionSwitchPlan = ResourceDefinitionWithAttributes<"AWS::ARCRegionSwitch::Plan", ARCRegionSwitchPlanProps, ARCRegionSwitchPlanAttribs>;
|
|
6
|
+
/**
|
|
7
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html}
|
|
8
|
+
*/
|
|
9
|
+
export type ARCRegionSwitchPlanProps = {
|
|
10
|
+
/**
|
|
11
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-associatedalarms}
|
|
12
|
+
*/
|
|
13
|
+
AssociatedAlarms?: Record<string, AssociatedAlarm> | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-description}
|
|
16
|
+
*/
|
|
17
|
+
Description?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* @pattern ^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$
|
|
20
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-executionrole}
|
|
21
|
+
*/
|
|
22
|
+
ExecutionRole: string;
|
|
23
|
+
/**
|
|
24
|
+
* @minLength 1
|
|
25
|
+
* @maxLength 32
|
|
26
|
+
* @pattern ^[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,30}[a-zA-Z0-9])?$
|
|
27
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-name}
|
|
28
|
+
*/
|
|
29
|
+
Name: string;
|
|
30
|
+
/**
|
|
31
|
+
* @pattern ^[a-z]{2}-[a-z-]+-\d+$
|
|
32
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-primaryregion}
|
|
33
|
+
*/
|
|
34
|
+
PrimaryRegion?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-recoveryapproach}
|
|
37
|
+
*/
|
|
38
|
+
RecoveryApproach: RecoveryApproach;
|
|
39
|
+
/**
|
|
40
|
+
* @min 1
|
|
41
|
+
* @max 10080
|
|
42
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-recoverytimeobjectiveminutes}
|
|
43
|
+
*/
|
|
44
|
+
RecoveryTimeObjectiveMinutes?: number | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-regions}
|
|
47
|
+
*/
|
|
48
|
+
Regions: string[];
|
|
49
|
+
/**
|
|
50
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-tags}
|
|
51
|
+
*/
|
|
52
|
+
Tags?: Record<string, string> | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-triggers}
|
|
55
|
+
*/
|
|
56
|
+
Triggers?: Trigger[] | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-workflows}
|
|
59
|
+
*/
|
|
60
|
+
Workflows: Workflow[];
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#aws-resource-arcregionswitch-plan-return-values}
|
|
64
|
+
*/
|
|
65
|
+
export type ARCRegionSwitchPlanAttribs = {
|
|
66
|
+
/**
|
|
67
|
+
* @pattern ^arn:aws[a-zA-Z-]*:arc-region-switch::[0-9]{12}:plan/([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,30}[a-zA-Z0-9])?):([a-z0-9]{6})$
|
|
68
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-arn}
|
|
69
|
+
*/
|
|
70
|
+
Arn: string;
|
|
71
|
+
/**
|
|
72
|
+
* @pattern ^\d{12}$
|
|
73
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-owner}
|
|
74
|
+
*/
|
|
75
|
+
Owner: string;
|
|
76
|
+
/**
|
|
77
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arcregionswitch-plan.html#cfn-arcregionswitch-plan-version}
|
|
78
|
+
*/
|
|
79
|
+
Version: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-alarmcondition.html}
|
|
83
|
+
*/
|
|
84
|
+
export type AlarmCondition = "red" | "green";
|
|
85
|
+
/**
|
|
86
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-alarmtype.html}
|
|
87
|
+
*/
|
|
88
|
+
export type AlarmType = "applicationHealth" | "trigger";
|
|
89
|
+
/**
|
|
90
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-arcroutingcontrolconfiguration.html}
|
|
91
|
+
*/
|
|
92
|
+
export type ArcRoutingControlConfiguration = {
|
|
93
|
+
/**
|
|
94
|
+
* @pattern ^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$
|
|
95
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-arcroutingcontrolconfiguration.html#cfn-arcregionswitch-plan-arcroutingcontrolconfiguration-crossaccountrole}
|
|
96
|
+
*/
|
|
97
|
+
CrossAccountRole?: string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-arcroutingcontrolconfiguration.html#cfn-arcregionswitch-plan-arcroutingcontrolconfiguration-externalid}
|
|
100
|
+
*/
|
|
101
|
+
ExternalId?: string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-arcroutingcontrolconfiguration.html#cfn-arcregionswitch-plan-arcroutingcontrolconfiguration-regionandroutingcontrols}
|
|
104
|
+
*/
|
|
105
|
+
RegionAndRoutingControls: Record<string, ArcRoutingControlState[]>;
|
|
106
|
+
/**
|
|
107
|
+
* @min 1
|
|
108
|
+
* @default 60
|
|
109
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-arcroutingcontrolconfiguration.html#cfn-arcregionswitch-plan-arcroutingcontrolconfiguration-timeoutminutes}
|
|
110
|
+
*/
|
|
111
|
+
TimeoutMinutes?: number | undefined;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-arcroutingcontrolstate.html}
|
|
115
|
+
*/
|
|
116
|
+
export type ArcRoutingControlState = {
|
|
117
|
+
/**
|
|
118
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-arcroutingcontrolstate.html#cfn-arcregionswitch-plan-arcroutingcontrolstate-routingcontrolarn}
|
|
119
|
+
*/
|
|
120
|
+
RoutingControlArn: string;
|
|
121
|
+
/**
|
|
122
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-arcroutingcontrolstate.html#cfn-arcregionswitch-plan-arcroutingcontrolstate-state}
|
|
123
|
+
*/
|
|
124
|
+
State: RoutingControlStateChange;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-asg.html}
|
|
128
|
+
*/
|
|
129
|
+
export type Asg = {
|
|
130
|
+
/**
|
|
131
|
+
* @pattern ^arn:aws:autoscaling:[a-z0-9-]+:\d{12}:autoScalingGroup:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}:autoScalingGroupName/[\S\s]{1,255}$
|
|
132
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-asg.html#cfn-arcregionswitch-plan-asg-arn}
|
|
133
|
+
*/
|
|
134
|
+
Arn?: string | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* @pattern ^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$
|
|
137
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-asg.html#cfn-arcregionswitch-plan-asg-crossaccountrole}
|
|
138
|
+
*/
|
|
139
|
+
CrossAccountRole?: string | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-asg.html#cfn-arcregionswitch-plan-asg-externalid}
|
|
142
|
+
*/
|
|
143
|
+
ExternalId?: string | undefined;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-associatedalarm.html}
|
|
147
|
+
*/
|
|
148
|
+
export type AssociatedAlarm = {
|
|
149
|
+
/**
|
|
150
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-associatedalarm.html#cfn-arcregionswitch-plan-associatedalarm-alarmtype}
|
|
151
|
+
*/
|
|
152
|
+
AlarmType: AlarmType;
|
|
153
|
+
/**
|
|
154
|
+
* @pattern ^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$
|
|
155
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-associatedalarm.html#cfn-arcregionswitch-plan-associatedalarm-crossaccountrole}
|
|
156
|
+
*/
|
|
157
|
+
CrossAccountRole?: string | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-associatedalarm.html#cfn-arcregionswitch-plan-associatedalarm-externalid}
|
|
160
|
+
*/
|
|
161
|
+
ExternalId?: string | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-associatedalarm.html#cfn-arcregionswitch-plan-associatedalarm-resourceidentifier}
|
|
164
|
+
*/
|
|
165
|
+
ResourceIdentifier: string;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-customactionlambdaconfiguration.html}
|
|
169
|
+
*/
|
|
170
|
+
export type CustomActionLambdaConfiguration = {
|
|
171
|
+
/**
|
|
172
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-customactionlambdaconfiguration.html#cfn-arcregionswitch-plan-customactionlambdaconfiguration-lambdas}
|
|
173
|
+
*/
|
|
174
|
+
Lambdas: Lambdas[];
|
|
175
|
+
/**
|
|
176
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-customactionlambdaconfiguration.html#cfn-arcregionswitch-plan-customactionlambdaconfiguration-regiontorun}
|
|
177
|
+
*/
|
|
178
|
+
RegionToRun: RegionToRunIn;
|
|
179
|
+
/**
|
|
180
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-customactionlambdaconfiguration.html#cfn-arcregionswitch-plan-customactionlambdaconfiguration-retryintervalminutes}
|
|
181
|
+
*/
|
|
182
|
+
RetryIntervalMinutes: number;
|
|
183
|
+
/**
|
|
184
|
+
* @min 1
|
|
185
|
+
* @default 60
|
|
186
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-customactionlambdaconfiguration.html#cfn-arcregionswitch-plan-customactionlambdaconfiguration-timeoutminutes}
|
|
187
|
+
*/
|
|
188
|
+
TimeoutMinutes?: number | undefined;
|
|
189
|
+
/**
|
|
190
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-customactionlambdaconfiguration.html#cfn-arcregionswitch-plan-customactionlambdaconfiguration-ungraceful}
|
|
191
|
+
*/
|
|
192
|
+
Ungraceful?: LambdaUngraceful | undefined;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ec2asgcapacityincreaseconfiguration.html}
|
|
196
|
+
*/
|
|
197
|
+
export type Ec2AsgCapacityIncreaseConfiguration = {
|
|
198
|
+
/**
|
|
199
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ec2asgcapacityincreaseconfiguration.html#cfn-arcregionswitch-plan-ec2asgcapacityincreaseconfiguration-asgs}
|
|
200
|
+
*/
|
|
201
|
+
Asgs: Asg[];
|
|
202
|
+
/**
|
|
203
|
+
* @default "sampledMaxInLast24Hours"
|
|
204
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ec2asgcapacityincreaseconfiguration.html#cfn-arcregionswitch-plan-ec2asgcapacityincreaseconfiguration-capacitymonitoringapproach}
|
|
205
|
+
*/
|
|
206
|
+
CapacityMonitoringApproach?: Ec2AsgCapacityMonitoringApproach | undefined;
|
|
207
|
+
/**
|
|
208
|
+
* @default 100
|
|
209
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ec2asgcapacityincreaseconfiguration.html#cfn-arcregionswitch-plan-ec2asgcapacityincreaseconfiguration-targetpercent}
|
|
210
|
+
*/
|
|
211
|
+
TargetPercent?: number | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* @min 1
|
|
214
|
+
* @default 60
|
|
215
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ec2asgcapacityincreaseconfiguration.html#cfn-arcregionswitch-plan-ec2asgcapacityincreaseconfiguration-timeoutminutes}
|
|
216
|
+
*/
|
|
217
|
+
TimeoutMinutes?: number | undefined;
|
|
218
|
+
/**
|
|
219
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ec2asgcapacityincreaseconfiguration.html#cfn-arcregionswitch-plan-ec2asgcapacityincreaseconfiguration-ungraceful}
|
|
220
|
+
*/
|
|
221
|
+
Ungraceful?: Ec2Ungraceful | undefined;
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ec2asgcapacitymonitoringapproach.html}
|
|
225
|
+
*/
|
|
226
|
+
export type Ec2AsgCapacityMonitoringApproach = "sampledMaxInLast24Hours" | "autoscalingMaxInLast24Hours";
|
|
227
|
+
/**
|
|
228
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ec2ungraceful.html}
|
|
229
|
+
*/
|
|
230
|
+
export type Ec2Ungraceful = {
|
|
231
|
+
/**
|
|
232
|
+
* @min 0
|
|
233
|
+
* @max 99
|
|
234
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ec2ungraceful.html#cfn-arcregionswitch-plan-ec2ungraceful-minimumsuccesspercentage}
|
|
235
|
+
*/
|
|
236
|
+
MinimumSuccessPercentage: number;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ecscapacityincreaseconfiguration.html}
|
|
240
|
+
*/
|
|
241
|
+
export type EcsCapacityIncreaseConfiguration = {
|
|
242
|
+
/**
|
|
243
|
+
* @default "sampledMaxInLast24Hours"
|
|
244
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ecscapacityincreaseconfiguration.html#cfn-arcregionswitch-plan-ecscapacityincreaseconfiguration-capacitymonitoringapproach}
|
|
245
|
+
*/
|
|
246
|
+
CapacityMonitoringApproach?: EcsCapacityMonitoringApproach | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ecscapacityincreaseconfiguration.html#cfn-arcregionswitch-plan-ecscapacityincreaseconfiguration-services}
|
|
249
|
+
*/
|
|
250
|
+
Services: Service[];
|
|
251
|
+
/**
|
|
252
|
+
* @default 100
|
|
253
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ecscapacityincreaseconfiguration.html#cfn-arcregionswitch-plan-ecscapacityincreaseconfiguration-targetpercent}
|
|
254
|
+
*/
|
|
255
|
+
TargetPercent?: number | undefined;
|
|
256
|
+
/**
|
|
257
|
+
* @min 1
|
|
258
|
+
* @default 60
|
|
259
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ecscapacityincreaseconfiguration.html#cfn-arcregionswitch-plan-ecscapacityincreaseconfiguration-timeoutminutes}
|
|
260
|
+
*/
|
|
261
|
+
TimeoutMinutes?: number | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ecscapacityincreaseconfiguration.html#cfn-arcregionswitch-plan-ecscapacityincreaseconfiguration-ungraceful}
|
|
264
|
+
*/
|
|
265
|
+
Ungraceful?: EcsUngraceful | undefined;
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ecscapacitymonitoringapproach.html}
|
|
269
|
+
*/
|
|
270
|
+
export type EcsCapacityMonitoringApproach = "sampledMaxInLast24Hours" | "containerInsightsMaxInLast24Hours";
|
|
271
|
+
/**
|
|
272
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ecsungraceful.html}
|
|
273
|
+
*/
|
|
274
|
+
export type EcsUngraceful = {
|
|
275
|
+
/**
|
|
276
|
+
* @min 0
|
|
277
|
+
* @max 99
|
|
278
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ecsungraceful.html#cfn-arcregionswitch-plan-ecsungraceful-minimumsuccesspercentage}
|
|
279
|
+
*/
|
|
280
|
+
MinimumSuccessPercentage: number;
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ekscapacitymonitoringapproach.html}
|
|
284
|
+
*/
|
|
285
|
+
export type EksCapacityMonitoringApproach = "sampledMaxInLast24Hours";
|
|
286
|
+
/**
|
|
287
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ekscluster.html}
|
|
288
|
+
*/
|
|
289
|
+
export type EksCluster = {
|
|
290
|
+
/**
|
|
291
|
+
* @pattern ^arn:aws[a-zA-Z-]*:eks:[a-z0-9-]+:\d{12}:cluster/[a-zA-Z0-9][a-zA-Z0-9-_]{0,99}$
|
|
292
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ekscluster.html#cfn-arcregionswitch-plan-ekscluster-clusterarn}
|
|
293
|
+
*/
|
|
294
|
+
ClusterArn: string;
|
|
295
|
+
/**
|
|
296
|
+
* @pattern ^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$
|
|
297
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ekscluster.html#cfn-arcregionswitch-plan-ekscluster-crossaccountrole}
|
|
298
|
+
*/
|
|
299
|
+
CrossAccountRole?: string | undefined;
|
|
300
|
+
/**
|
|
301
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-ekscluster.html#cfn-arcregionswitch-plan-ekscluster-externalid}
|
|
302
|
+
*/
|
|
303
|
+
ExternalId?: string | undefined;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-eksresourcescalingconfiguration.html}
|
|
307
|
+
*/
|
|
308
|
+
export type EksResourceScalingConfiguration = {
|
|
309
|
+
/**
|
|
310
|
+
* @default "sampledMaxInLast24Hours"
|
|
311
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-eksresourcescalingconfiguration.html#cfn-arcregionswitch-plan-eksresourcescalingconfiguration-capacitymonitoringapproach}
|
|
312
|
+
*/
|
|
313
|
+
CapacityMonitoringApproach?: EksCapacityMonitoringApproach | undefined;
|
|
314
|
+
/**
|
|
315
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-eksresourcescalingconfiguration.html#cfn-arcregionswitch-plan-eksresourcescalingconfiguration-eksclusters}
|
|
316
|
+
*/
|
|
317
|
+
EksClusters?: EksCluster[] | undefined;
|
|
318
|
+
/**
|
|
319
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-eksresourcescalingconfiguration.html#cfn-arcregionswitch-plan-eksresourcescalingconfiguration-kubernetesresourcetype}
|
|
320
|
+
*/
|
|
321
|
+
KubernetesResourceType: KubernetesResourceType;
|
|
322
|
+
/**
|
|
323
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-eksresourcescalingconfiguration.html#cfn-arcregionswitch-plan-eksresourcescalingconfiguration-scalingresources}
|
|
324
|
+
*/
|
|
325
|
+
ScalingResources?: Record<string, Record<string, KubernetesScalingResource>>[] | undefined;
|
|
326
|
+
/**
|
|
327
|
+
* @min 1
|
|
328
|
+
* @default 100
|
|
329
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-eksresourcescalingconfiguration.html#cfn-arcregionswitch-plan-eksresourcescalingconfiguration-targetpercent}
|
|
330
|
+
*/
|
|
331
|
+
TargetPercent?: number | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* @min 1
|
|
334
|
+
* @default 60
|
|
335
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-eksresourcescalingconfiguration.html#cfn-arcregionswitch-plan-eksresourcescalingconfiguration-timeoutminutes}
|
|
336
|
+
*/
|
|
337
|
+
TimeoutMinutes?: number | undefined;
|
|
338
|
+
/**
|
|
339
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-eksresourcescalingconfiguration.html#cfn-arcregionswitch-plan-eksresourcescalingconfiguration-ungraceful}
|
|
340
|
+
*/
|
|
341
|
+
Ungraceful?: EksResourceScalingUngraceful | undefined;
|
|
342
|
+
};
|
|
343
|
+
/**
|
|
344
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-eksresourcescalingungraceful.html}
|
|
345
|
+
*/
|
|
346
|
+
export type EksResourceScalingUngraceful = {
|
|
347
|
+
/**
|
|
348
|
+
* @min 0
|
|
349
|
+
* @max 99
|
|
350
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-eksresourcescalingungraceful.html#cfn-arcregionswitch-plan-eksresourcescalingungraceful-minimumsuccesspercentage}
|
|
351
|
+
*/
|
|
352
|
+
MinimumSuccessPercentage: number;
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-executionapprovalconfiguration.html}
|
|
356
|
+
*/
|
|
357
|
+
export type ExecutionApprovalConfiguration = {
|
|
358
|
+
/**
|
|
359
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-executionapprovalconfiguration.html#cfn-arcregionswitch-plan-executionapprovalconfiguration-approvalrole}
|
|
360
|
+
*/
|
|
361
|
+
ApprovalRole: string;
|
|
362
|
+
/**
|
|
363
|
+
* @min 1
|
|
364
|
+
* @default 60
|
|
365
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-executionapprovalconfiguration.html#cfn-arcregionswitch-plan-executionapprovalconfiguration-timeoutminutes}
|
|
366
|
+
*/
|
|
367
|
+
TimeoutMinutes?: number | undefined;
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-executionblockconfiguration.html}
|
|
371
|
+
*/
|
|
372
|
+
export type ExecutionBlockConfiguration = {
|
|
373
|
+
CustomActionLambdaConfig: CustomActionLambdaConfiguration;
|
|
374
|
+
} | {
|
|
375
|
+
Ec2AsgCapacityIncreaseConfig: Ec2AsgCapacityIncreaseConfiguration;
|
|
376
|
+
} | {
|
|
377
|
+
ExecutionApprovalConfig: ExecutionApprovalConfiguration;
|
|
378
|
+
} | {
|
|
379
|
+
ArcRoutingControlConfig: ArcRoutingControlConfiguration;
|
|
380
|
+
} | {
|
|
381
|
+
GlobalAuroraConfig: GlobalAuroraConfiguration;
|
|
382
|
+
} | {
|
|
383
|
+
ParallelConfig: ParallelExecutionBlockConfiguration;
|
|
384
|
+
} | {
|
|
385
|
+
RegionSwitchPlanConfig: RegionSwitchPlanConfiguration;
|
|
386
|
+
} | {
|
|
387
|
+
EcsCapacityIncreaseConfig: EcsCapacityIncreaseConfiguration;
|
|
388
|
+
} | {
|
|
389
|
+
EksResourceScalingConfig: EksResourceScalingConfiguration;
|
|
390
|
+
} | {
|
|
391
|
+
Route53HealthCheckConfig: Route53HealthCheckConfiguration;
|
|
392
|
+
};
|
|
393
|
+
/**
|
|
394
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-executionblocktype.html}
|
|
395
|
+
*/
|
|
396
|
+
export type ExecutionBlockType = "CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck";
|
|
397
|
+
/**
|
|
398
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroraconfiguration.html}
|
|
399
|
+
*/
|
|
400
|
+
export type GlobalAuroraConfiguration = {
|
|
401
|
+
/**
|
|
402
|
+
* @default "switchoverOnly"
|
|
403
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroraconfiguration.html#cfn-arcregionswitch-plan-globalauroraconfiguration-behavior}
|
|
404
|
+
*/
|
|
405
|
+
Behavior: GlobalAuroraDefaultBehavior;
|
|
406
|
+
/**
|
|
407
|
+
* @pattern ^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$
|
|
408
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroraconfiguration.html#cfn-arcregionswitch-plan-globalauroraconfiguration-crossaccountrole}
|
|
409
|
+
*/
|
|
410
|
+
CrossAccountRole?: string | undefined;
|
|
411
|
+
/**
|
|
412
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroraconfiguration.html#cfn-arcregionswitch-plan-globalauroraconfiguration-databaseclusterarns}
|
|
413
|
+
*/
|
|
414
|
+
DatabaseClusterArns: string[];
|
|
415
|
+
/**
|
|
416
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroraconfiguration.html#cfn-arcregionswitch-plan-globalauroraconfiguration-externalid}
|
|
417
|
+
*/
|
|
418
|
+
ExternalId?: string | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroraconfiguration.html#cfn-arcregionswitch-plan-globalauroraconfiguration-globalclusteridentifier}
|
|
421
|
+
*/
|
|
422
|
+
GlobalClusterIdentifier: string;
|
|
423
|
+
/**
|
|
424
|
+
* @min 1
|
|
425
|
+
* @default 60
|
|
426
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroraconfiguration.html#cfn-arcregionswitch-plan-globalauroraconfiguration-timeoutminutes}
|
|
427
|
+
*/
|
|
428
|
+
TimeoutMinutes?: number | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroraconfiguration.html#cfn-arcregionswitch-plan-globalauroraconfiguration-ungraceful}
|
|
431
|
+
*/
|
|
432
|
+
Ungraceful?: GlobalAuroraUngraceful | undefined;
|
|
433
|
+
};
|
|
434
|
+
/**
|
|
435
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroradefaultbehavior.html}
|
|
436
|
+
*/
|
|
437
|
+
export type GlobalAuroraDefaultBehavior = "switchoverOnly" | "failover";
|
|
438
|
+
/**
|
|
439
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroraungraceful.html}
|
|
440
|
+
*/
|
|
441
|
+
export type GlobalAuroraUngraceful = {
|
|
442
|
+
/**
|
|
443
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroraungraceful.html#cfn-arcregionswitch-plan-globalauroraungraceful-ungraceful}
|
|
444
|
+
*/
|
|
445
|
+
Ungraceful?: GlobalAuroraUngracefulBehavior | undefined;
|
|
446
|
+
};
|
|
447
|
+
/**
|
|
448
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-globalauroraungracefulbehavior.html}
|
|
449
|
+
*/
|
|
450
|
+
export type GlobalAuroraUngracefulBehavior = "failover";
|
|
451
|
+
/**
|
|
452
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-kubernetesresourcetype.html}
|
|
453
|
+
*/
|
|
454
|
+
export type KubernetesResourceType = {
|
|
455
|
+
/**
|
|
456
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-kubernetesresourcetype.html#cfn-arcregionswitch-plan-kubernetesresourcetype-apiversion}
|
|
457
|
+
*/
|
|
458
|
+
ApiVersion: string;
|
|
459
|
+
/**
|
|
460
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-kubernetesresourcetype.html#cfn-arcregionswitch-plan-kubernetesresourcetype-kind}
|
|
461
|
+
*/
|
|
462
|
+
Kind: string;
|
|
463
|
+
};
|
|
464
|
+
/**
|
|
465
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-kubernetesscalingresource.html}
|
|
466
|
+
*/
|
|
467
|
+
export type KubernetesScalingResource = {
|
|
468
|
+
/**
|
|
469
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-kubernetesscalingresource.html#cfn-arcregionswitch-plan-kubernetesscalingresource-hpaname}
|
|
470
|
+
*/
|
|
471
|
+
HpaName?: string | undefined;
|
|
472
|
+
/**
|
|
473
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-kubernetesscalingresource.html#cfn-arcregionswitch-plan-kubernetesscalingresource-name}
|
|
474
|
+
*/
|
|
475
|
+
Name: string;
|
|
476
|
+
/**
|
|
477
|
+
* @pattern ^[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
|
|
478
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-kubernetesscalingresource.html#cfn-arcregionswitch-plan-kubernetesscalingresource-namespace}
|
|
479
|
+
*/
|
|
480
|
+
Namespace: string;
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-lambdaungraceful.html}
|
|
484
|
+
*/
|
|
485
|
+
export type LambdaUngraceful = {
|
|
486
|
+
/**
|
|
487
|
+
* @default "skip"
|
|
488
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-lambdaungraceful.html#cfn-arcregionswitch-plan-lambdaungraceful-behavior}
|
|
489
|
+
*/
|
|
490
|
+
Behavior?: LambdaUngracefulBehavior | undefined;
|
|
491
|
+
};
|
|
492
|
+
/**
|
|
493
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-lambdaungracefulbehavior.html}
|
|
494
|
+
*/
|
|
495
|
+
export type LambdaUngracefulBehavior = "skip";
|
|
496
|
+
/**
|
|
497
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-lambdas.html}
|
|
498
|
+
*/
|
|
499
|
+
export type Lambdas = {
|
|
500
|
+
/**
|
|
501
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-lambdas.html#cfn-arcregionswitch-plan-lambdas-arn}
|
|
502
|
+
*/
|
|
503
|
+
Arn?: string | undefined;
|
|
504
|
+
/**
|
|
505
|
+
* @pattern ^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$
|
|
506
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-lambdas.html#cfn-arcregionswitch-plan-lambdas-crossaccountrole}
|
|
507
|
+
*/
|
|
508
|
+
CrossAccountRole?: string | undefined;
|
|
509
|
+
/**
|
|
510
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-lambdas.html#cfn-arcregionswitch-plan-lambdas-externalid}
|
|
511
|
+
*/
|
|
512
|
+
ExternalId?: string | undefined;
|
|
513
|
+
};
|
|
514
|
+
/**
|
|
515
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-parallelexecutionblockconfiguration.html}
|
|
516
|
+
*/
|
|
517
|
+
export type ParallelExecutionBlockConfiguration = {
|
|
518
|
+
/**
|
|
519
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-parallelexecutionblockconfiguration.html#cfn-arcregionswitch-plan-parallelexecutionblockconfiguration-steps}
|
|
520
|
+
*/
|
|
521
|
+
Steps: Step[];
|
|
522
|
+
};
|
|
523
|
+
/**
|
|
524
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-recoveryapproach.html}
|
|
525
|
+
*/
|
|
526
|
+
export type RecoveryApproach = "activeActive" | "activePassive";
|
|
527
|
+
/**
|
|
528
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-regionswitchplanconfiguration.html}
|
|
529
|
+
*/
|
|
530
|
+
export type RegionSwitchPlanConfiguration = {
|
|
531
|
+
/**
|
|
532
|
+
* @pattern ^arn:aws[a-zA-Z-]*:arc-region-switch::[0-9]{12}:plan/([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,30}[a-zA-Z0-9])?):([a-z0-9]{6})$
|
|
533
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-regionswitchplanconfiguration.html#cfn-arcregionswitch-plan-regionswitchplanconfiguration-arn}
|
|
534
|
+
*/
|
|
535
|
+
Arn: string;
|
|
536
|
+
/**
|
|
537
|
+
* @pattern ^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$
|
|
538
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-regionswitchplanconfiguration.html#cfn-arcregionswitch-plan-regionswitchplanconfiguration-crossaccountrole}
|
|
539
|
+
*/
|
|
540
|
+
CrossAccountRole?: string | undefined;
|
|
541
|
+
/**
|
|
542
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-regionswitchplanconfiguration.html#cfn-arcregionswitch-plan-regionswitchplanconfiguration-externalid}
|
|
543
|
+
*/
|
|
544
|
+
ExternalId?: string | undefined;
|
|
545
|
+
};
|
|
546
|
+
/**
|
|
547
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-regiontorunin.html}
|
|
548
|
+
*/
|
|
549
|
+
export type RegionToRunIn = "activatingRegion" | "deactivatingRegion";
|
|
550
|
+
/**
|
|
551
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-route53healthcheckconfiguration.html}
|
|
552
|
+
*/
|
|
553
|
+
export type Route53HealthCheckConfiguration = {
|
|
554
|
+
/**
|
|
555
|
+
* @pattern ^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$
|
|
556
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-route53healthcheckconfiguration.html#cfn-arcregionswitch-plan-route53healthcheckconfiguration-crossaccountrole}
|
|
557
|
+
*/
|
|
558
|
+
CrossAccountRole?: string | undefined;
|
|
559
|
+
/**
|
|
560
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-route53healthcheckconfiguration.html#cfn-arcregionswitch-plan-route53healthcheckconfiguration-externalid}
|
|
561
|
+
*/
|
|
562
|
+
ExternalId?: string | undefined;
|
|
563
|
+
/**
|
|
564
|
+
* @minLength 1
|
|
565
|
+
* @maxLength 32
|
|
566
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-route53healthcheckconfiguration.html#cfn-arcregionswitch-plan-route53healthcheckconfiguration-hostedzoneid}
|
|
567
|
+
*/
|
|
568
|
+
HostedZoneId: string;
|
|
569
|
+
/**
|
|
570
|
+
* @minLength 1
|
|
571
|
+
* @maxLength 1024
|
|
572
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-route53healthcheckconfiguration.html#cfn-arcregionswitch-plan-route53healthcheckconfiguration-recordname}
|
|
573
|
+
*/
|
|
574
|
+
RecordName: string;
|
|
575
|
+
/**
|
|
576
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-route53healthcheckconfiguration.html#cfn-arcregionswitch-plan-route53healthcheckconfiguration-recordsets}
|
|
577
|
+
*/
|
|
578
|
+
RecordSets?: Route53ResourceRecordSet[] | undefined;
|
|
579
|
+
/**
|
|
580
|
+
* @min 1
|
|
581
|
+
* @default 60
|
|
582
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-route53healthcheckconfiguration.html#cfn-arcregionswitch-plan-route53healthcheckconfiguration-timeoutminutes}
|
|
583
|
+
*/
|
|
584
|
+
TimeoutMinutes?: number | undefined;
|
|
585
|
+
};
|
|
586
|
+
/**
|
|
587
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-route53resourcerecordset.html}
|
|
588
|
+
*/
|
|
589
|
+
export type Route53ResourceRecordSet = {
|
|
590
|
+
/**
|
|
591
|
+
* @minLength 1
|
|
592
|
+
* @maxLength 1024
|
|
593
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-route53resourcerecordset.html#cfn-arcregionswitch-plan-route53resourcerecordset-recordsetidentifier}
|
|
594
|
+
*/
|
|
595
|
+
RecordSetIdentifier?: string | undefined;
|
|
596
|
+
/**
|
|
597
|
+
* @pattern ^[a-z]{2}-[a-z-]+-\d+$
|
|
598
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-route53resourcerecordset.html#cfn-arcregionswitch-plan-route53resourcerecordset-region}
|
|
599
|
+
*/
|
|
600
|
+
Region?: string | undefined;
|
|
601
|
+
};
|
|
602
|
+
/**
|
|
603
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-routingcontrolstatechange.html}
|
|
604
|
+
*/
|
|
605
|
+
export type RoutingControlStateChange = "On" | "Off";
|
|
606
|
+
/**
|
|
607
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-service.html}
|
|
608
|
+
*/
|
|
609
|
+
export type Service = {
|
|
610
|
+
/**
|
|
611
|
+
* @pattern ^arn:aws:ecs:[a-z0-9-]+:\d{12}:cluster/[a-zA-Z0-9_-]{1,255}$
|
|
612
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-service.html#cfn-arcregionswitch-plan-service-clusterarn}
|
|
613
|
+
*/
|
|
614
|
+
ClusterArn?: string | undefined;
|
|
615
|
+
/**
|
|
616
|
+
* @pattern ^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$
|
|
617
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-service.html#cfn-arcregionswitch-plan-service-crossaccountrole}
|
|
618
|
+
*/
|
|
619
|
+
CrossAccountRole?: string | undefined;
|
|
620
|
+
/**
|
|
621
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-service.html#cfn-arcregionswitch-plan-service-externalid}
|
|
622
|
+
*/
|
|
623
|
+
ExternalId?: string | undefined;
|
|
624
|
+
/**
|
|
625
|
+
* @pattern ^arn:aws:ecs:[a-z0-9-]+:\d{12}:service/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]{1,255}$
|
|
626
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-service.html#cfn-arcregionswitch-plan-service-servicearn}
|
|
627
|
+
*/
|
|
628
|
+
ServiceArn?: string | undefined;
|
|
629
|
+
};
|
|
630
|
+
/**
|
|
631
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-step.html}
|
|
632
|
+
*/
|
|
633
|
+
export type Step = {
|
|
634
|
+
/**
|
|
635
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-step.html#cfn-arcregionswitch-plan-step-description}
|
|
636
|
+
*/
|
|
637
|
+
Description?: string | undefined;
|
|
638
|
+
/**
|
|
639
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-step.html#cfn-arcregionswitch-plan-step-executionblockconfiguration}
|
|
640
|
+
*/
|
|
641
|
+
ExecutionBlockConfiguration: ExecutionBlockConfiguration;
|
|
642
|
+
/**
|
|
643
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-step.html#cfn-arcregionswitch-plan-step-executionblocktype}
|
|
644
|
+
*/
|
|
645
|
+
ExecutionBlockType: ExecutionBlockType;
|
|
646
|
+
/**
|
|
647
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-step.html#cfn-arcregionswitch-plan-step-name}
|
|
648
|
+
*/
|
|
649
|
+
Name: string;
|
|
650
|
+
};
|
|
651
|
+
/**
|
|
652
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-trigger.html}
|
|
653
|
+
*/
|
|
654
|
+
export type Trigger = {
|
|
655
|
+
/**
|
|
656
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-trigger.html#cfn-arcregionswitch-plan-trigger-action}
|
|
657
|
+
*/
|
|
658
|
+
Action: WorkflowTargetAction;
|
|
659
|
+
/**
|
|
660
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-trigger.html#cfn-arcregionswitch-plan-trigger-conditions}
|
|
661
|
+
*/
|
|
662
|
+
Conditions: TriggerCondition[];
|
|
663
|
+
/**
|
|
664
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-trigger.html#cfn-arcregionswitch-plan-trigger-description}
|
|
665
|
+
*/
|
|
666
|
+
Description?: string | undefined;
|
|
667
|
+
/**
|
|
668
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-trigger.html#cfn-arcregionswitch-plan-trigger-mindelayminutesbetweenexecutions}
|
|
669
|
+
*/
|
|
670
|
+
MinDelayMinutesBetweenExecutions: number;
|
|
671
|
+
/**
|
|
672
|
+
* @pattern ^[a-z]{2}-[a-z-]+-\d+$
|
|
673
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-trigger.html#cfn-arcregionswitch-plan-trigger-targetregion}
|
|
674
|
+
*/
|
|
675
|
+
TargetRegion: string;
|
|
676
|
+
};
|
|
677
|
+
/**
|
|
678
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-triggercondition.html}
|
|
679
|
+
*/
|
|
680
|
+
export type TriggerCondition = {
|
|
681
|
+
/**
|
|
682
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-triggercondition.html#cfn-arcregionswitch-plan-triggercondition-associatedalarmname}
|
|
683
|
+
*/
|
|
684
|
+
AssociatedAlarmName: string;
|
|
685
|
+
/**
|
|
686
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-triggercondition.html#cfn-arcregionswitch-plan-triggercondition-condition}
|
|
687
|
+
*/
|
|
688
|
+
Condition: AlarmCondition;
|
|
689
|
+
};
|
|
690
|
+
/**
|
|
691
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-workflow.html}
|
|
692
|
+
*/
|
|
693
|
+
export type Workflow = {
|
|
694
|
+
/**
|
|
695
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-workflow.html#cfn-arcregionswitch-plan-workflow-steps}
|
|
696
|
+
*/
|
|
697
|
+
Steps?: Step[] | undefined;
|
|
698
|
+
/**
|
|
699
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-workflow.html#cfn-arcregionswitch-plan-workflow-workflowdescription}
|
|
700
|
+
*/
|
|
701
|
+
WorkflowDescription?: string | undefined;
|
|
702
|
+
/**
|
|
703
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-workflow.html#cfn-arcregionswitch-plan-workflow-workflowtargetaction}
|
|
704
|
+
*/
|
|
705
|
+
WorkflowTargetAction: WorkflowTargetAction;
|
|
706
|
+
/**
|
|
707
|
+
* @pattern ^[a-z]{2}-[a-z-]+-\d+$
|
|
708
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-workflow.html#cfn-arcregionswitch-plan-workflow-workflowtargetregion}
|
|
709
|
+
*/
|
|
710
|
+
WorkflowTargetRegion?: string | undefined;
|
|
711
|
+
};
|
|
712
|
+
/**
|
|
713
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arcregionswitch-plan-workflowtargetaction.html}
|
|
714
|
+
*/
|
|
715
|
+
export type WorkflowTargetAction = "activate" | "deactivate";
|
|
716
|
+
//# sourceMappingURL=aws-arcregionswitch-plan.d.ts.map
|