@awboost/cfn-resource-types 0.1.138 → 0.1.139
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-Amplify-App.d.ts +8 -0
- package/lib/AWS-ECS-TaskDefinition.d.ts +53 -32
- package/lib/AWS-MediaConnect-Flow.d.ts +15 -0
- package/lib/AWS-MediaLive-ChannelPlacementGroup.d.ts +70 -0
- package/lib/AWS-MediaLive-ChannelPlacementGroup.js +12 -0
- package/lib/AWS-MediaLive-CloudWatchAlarmTemplate.d.ts +139 -0
- package/lib/AWS-MediaLive-CloudWatchAlarmTemplate.js +12 -0
- package/lib/AWS-MediaLive-CloudWatchAlarmTemplateGroup.d.ts +61 -0
- package/lib/AWS-MediaLive-CloudWatchAlarmTemplateGroup.js +12 -0
- package/lib/AWS-MediaLive-Cluster.d.ts +112 -0
- package/lib/AWS-MediaLive-Cluster.js +12 -0
- package/lib/AWS-MediaLive-EventBridgeRuleTemplate.d.ts +110 -0
- package/lib/AWS-MediaLive-EventBridgeRuleTemplate.js +12 -0
- package/lib/AWS-MediaLive-EventBridgeRuleTemplateGroup.d.ts +61 -0
- package/lib/AWS-MediaLive-EventBridgeRuleTemplateGroup.js +12 -0
- package/lib/AWS-MediaLive-Network.d.ts +91 -0
- package/lib/AWS-MediaLive-Network.js +12 -0
- package/lib/AWS-MediaLive-SdiSource.d.ts +82 -0
- package/lib/AWS-MediaLive-SdiSource.js +12 -0
- package/lib/AWS-MediaLive-SignalMap.d.ts +307 -0
- package/lib/AWS-MediaLive-SignalMap.js +12 -0
- package/lib/AWS-QuickSight-Analysis.d.ts +13 -0
- package/lib/AWS-QuickSight-Template.d.ts +13 -0
- package/lib/AWS-SNS-Subscription.d.ts +41 -5
- package/lib/AWS-SageMaker-Cluster.d.ts +241 -0
- package/lib/AWS-SageMaker-Cluster.js +12 -0
- package/package.json +1 -1
package/lib/AWS-Amplify-App.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export type AmplifyAppProperties = {
|
|
|
18
18
|
* @pattern `(?s).+`
|
|
19
19
|
*/
|
|
20
20
|
BuildSpec?: string;
|
|
21
|
+
CacheConfig?: CacheConfig;
|
|
21
22
|
/**
|
|
22
23
|
* @minLength `0`
|
|
23
24
|
* @maxLength `25000`
|
|
@@ -130,6 +131,13 @@ export type BasicAuthConfig = {
|
|
|
130
131
|
*/
|
|
131
132
|
Username?: string;
|
|
132
133
|
};
|
|
134
|
+
/**
|
|
135
|
+
* Type definition for `AWS::Amplify::App.CacheConfig`.
|
|
136
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-cacheconfig.html}
|
|
137
|
+
*/
|
|
138
|
+
export type CacheConfig = {
|
|
139
|
+
Type?: "AMPLIFY_MANAGED" | "AMPLIFY_MANAGED_NO_COOKIES";
|
|
140
|
+
};
|
|
133
141
|
/**
|
|
134
142
|
* Type definition for `AWS::Amplify::App.CustomRule`.
|
|
135
143
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html}
|
|
@@ -162,11 +162,11 @@ export type AuthorizationConfig = {
|
|
|
162
162
|
*/
|
|
163
163
|
export type ContainerDefinition = {
|
|
164
164
|
/**
|
|
165
|
-
* The command that's passed to the container. This parameter maps to ``Cmd`` in the docker
|
|
165
|
+
* The command that's passed to the container. This parameter maps to ``Cmd`` in the docker container create command and the ``COMMAND`` parameter to docker run. If there are multiple arguments, each argument is a separated string in the array.
|
|
166
166
|
*/
|
|
167
167
|
Command?: string[];
|
|
168
168
|
/**
|
|
169
|
-
* The number of ``cpu`` units reserved for the container. This parameter maps to ``CpuShares`` in the docker
|
|
169
|
+
* The number of ``cpu`` units reserved for the container. This parameter maps to ``CpuShares`` in the docker container create commandand the ``--cpu-shares`` option to docker run.
|
|
170
170
|
This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level ``cpu`` value.
|
|
171
171
|
You can determine the number of CPU units that are available per EC2 instance type by multiplying the vCPUs listed for that instance type on the [Amazon EC2 Instances](https://docs.aws.amazon.com/ec2/instance-types/) detail page by 1,024.
|
|
172
172
|
Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that's the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task is guaranteed a minimum of 512 CPU units when needed. Moreover, each container could float to higher CPU usage if the other container was not using it. If both tasks were 100% active all of the time, they would be limited to 512 CPU units.
|
|
@@ -197,40 +197,40 @@ export type ContainerDefinition = {
|
|
|
197
197
|
*/
|
|
198
198
|
DependsOn?: ContainerDependency[];
|
|
199
199
|
/**
|
|
200
|
-
* When this parameter is true, networking is off within the container. This parameter maps to ``NetworkDisabled`` in the docker
|
|
200
|
+
* When this parameter is true, networking is off within the container. This parameter maps to ``NetworkDisabled`` in the docker container create command.
|
|
201
201
|
This parameter is not supported for Windows containers.
|
|
202
202
|
*/
|
|
203
203
|
DisableNetworking?: boolean;
|
|
204
204
|
/**
|
|
205
|
-
* A list of DNS search domains that are presented to the container. This parameter maps to ``DnsSearch`` in the docker
|
|
205
|
+
* A list of DNS search domains that are presented to the container. This parameter maps to ``DnsSearch`` in the docker container create command and the ``--dns-search`` option to docker run.
|
|
206
206
|
This parameter is not supported for Windows containers.
|
|
207
207
|
*/
|
|
208
208
|
DnsSearchDomains?: string[];
|
|
209
209
|
/**
|
|
210
|
-
* A list of DNS servers that are presented to the container. This parameter maps to ``Dns`` in the
|
|
210
|
+
* A list of DNS servers that are presented to the container. This parameter maps to ``Dns`` in the docker container create command and the ``--dns`` option to docker run.
|
|
211
211
|
This parameter is not supported for Windows containers.
|
|
212
212
|
*/
|
|
213
213
|
DnsServers?: string[];
|
|
214
214
|
/**
|
|
215
|
-
* A key/value map of labels to add to the container. This parameter maps to ``Labels`` in the docker
|
|
215
|
+
* A key/value map of labels to add to the container. This parameter maps to ``Labels`` in the docker container create command and the ``--label`` option to docker run. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'``
|
|
216
216
|
*/
|
|
217
217
|
DockerLabels?: Record<string, string>;
|
|
218
218
|
/**
|
|
219
219
|
* A list of strings to provide custom configuration for multiple security systems. This field isn't valid for containers in tasks using the Fargate launch type.
|
|
220
220
|
For Linux tasks on EC2, this parameter can be used to reference custom labels for SELinux and AppArmor multi-level security systems.
|
|
221
221
|
For any tasks on EC2, this parameter can be used to reference a credential spec file that configures a container for Active Directory authentication. For more information, see [Using gMSAs for Windows Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html) and [Using gMSAs for Linux Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
222
|
-
This parameter maps to ``SecurityOpt`` in the docker
|
|
222
|
+
This parameter maps to ``SecurityOpt`` in the docker container create command and the ``--security-opt`` option to docker run.
|
|
223
223
|
The Amazon ECS container agent running on a container instance must register with the ``ECS_SELINUX_CAPABLE=true`` or ``ECS_APPARMOR_CAPABLE=true`` environment variables before containers placed on that instance can use these security options. For more information, see [Amazon ECS Container Agent Configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
224
224
|
Valid values: "no-new-privileges" | "apparmor:PROFILE" | "label:value" | "credentialspec:CredentialSpecFilePath"
|
|
225
225
|
*/
|
|
226
226
|
DockerSecurityOptions?: string[];
|
|
227
227
|
/**
|
|
228
228
|
* Early versions of the Amazon ECS container agent don't properly handle ``entryPoint`` parameters. If you have problems using ``entryPoint``, update your container agent or enter your commands and arguments as ``command`` array items instead.
|
|
229
|
-
The entry point that's passed to the container. This parameter maps to ``Entrypoint`` in tthe docker
|
|
229
|
+
The entry point that's passed to the container. This parameter maps to ``Entrypoint`` in tthe docker container create command and the ``--entrypoint`` option to docker run.
|
|
230
230
|
*/
|
|
231
231
|
EntryPoint?: string[];
|
|
232
232
|
/**
|
|
233
|
-
* The environment variables to pass to a container. This parameter maps to ``Env`` in the docker
|
|
233
|
+
* The environment variables to pass to a container. This parameter maps to ``Env`` in the docker container create command and the ``--env`` option to docker run.
|
|
234
234
|
We don't recommend that you use plaintext environment variables for sensitive information, such as credential data.
|
|
235
235
|
*/
|
|
236
236
|
Environment?: KeyValuePair[];
|
|
@@ -246,7 +246,7 @@ export type ContainerDefinition = {
|
|
|
246
246
|
*/
|
|
247
247
|
Essential?: boolean;
|
|
248
248
|
/**
|
|
249
|
-
* A list of hostnames and IP address mappings to append to the ``/etc/hosts`` file on the container. This parameter maps to ``ExtraHosts`` in the docker
|
|
249
|
+
* A list of hostnames and IP address mappings to append to the ``/etc/hosts`` file on the container. This parameter maps to ``ExtraHosts`` in the docker container create command and the ``--add-host`` option to docker run.
|
|
250
250
|
This parameter isn't supported for Windows containers or tasks that use the ``awsvpc`` network mode.
|
|
251
251
|
*/
|
|
252
252
|
ExtraHosts?: HostEntry[];
|
|
@@ -255,16 +255,16 @@ export type ContainerDefinition = {
|
|
|
255
255
|
*/
|
|
256
256
|
FirelensConfiguration?: FirelensConfiguration;
|
|
257
257
|
/**
|
|
258
|
-
* The container health check command and associated configuration parameters for the container. This parameter maps to ``HealthCheck`` in the docker
|
|
258
|
+
* The container health check command and associated configuration parameters for the container. This parameter maps to ``HealthCheck`` in the docker container create command and the ``HEALTHCHECK`` parameter of docker run.
|
|
259
259
|
*/
|
|
260
260
|
HealthCheck?: HealthCheck;
|
|
261
261
|
/**
|
|
262
|
-
* The hostname to use for your container. This parameter maps to ``Hostname`` in thethe docker
|
|
262
|
+
* The hostname to use for your container. This parameter maps to ``Hostname`` in thethe docker container create command and the ``--hostname`` option to docker run.
|
|
263
263
|
The ``hostname`` parameter is not supported if you're using the ``awsvpc`` network mode.
|
|
264
264
|
*/
|
|
265
265
|
Hostname?: string;
|
|
266
266
|
/**
|
|
267
|
-
* The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either ``repository-url/image:tag`` or ``repository-url/image@digest``. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to ``Image`` in the docker
|
|
267
|
+
* The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either ``repository-url/image:tag`` or ``repository-url/image@digest``. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to ``Image`` in the docker container create command and the ``IMAGE`` parameter of docker run.
|
|
268
268
|
+ When a new task starts, the Amazon ECS container agent pulls the latest version of the specified image and tag for the container to use. However, subsequent updates to a repository image aren't propagated to already running tasks.
|
|
269
269
|
+ Images in Amazon ECR repositories can be specified by either using the full ``registry/repository:tag`` or ``registry/repository@digest``. For example, ``012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>:latest`` or ``012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE``.
|
|
270
270
|
+ Images in official repositories on Docker Hub use a single name (for example, ``ubuntu`` or ``mongo``).
|
|
@@ -273,11 +273,11 @@ export type ContainerDefinition = {
|
|
|
273
273
|
*/
|
|
274
274
|
Image: string;
|
|
275
275
|
/**
|
|
276
|
-
* When this parameter is ``true``, you can deploy containerized applications that require ``stdin`` or a ``tty`` to be allocated. This parameter maps to ``OpenStdin`` in the docker
|
|
276
|
+
* When this parameter is ``true``, you can deploy containerized applications that require ``stdin`` or a ``tty`` to be allocated. This parameter maps to ``OpenStdin`` in the docker container create command and the ``--interactive`` option to docker run.
|
|
277
277
|
*/
|
|
278
278
|
Interactive?: boolean;
|
|
279
279
|
/**
|
|
280
|
-
* The ``links`` parameter allows containers to communicate with each other without the need for port mappings. This parameter is only supported if the network mode of a task definition is ``bridge``. The ``name:internalName`` construct is analogous to ``name:alias`` in Docker links. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.. This parameter maps to ``Links`` in the docker
|
|
280
|
+
* The ``links`` parameter allows containers to communicate with each other without the need for port mappings. This parameter is only supported if the network mode of a task definition is ``bridge``. The ``name:internalName`` construct is analogous to ``name:alias`` in Docker links. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.. This parameter maps to ``Links`` in the docker container create command and the ``--link`` option to docker run.
|
|
281
281
|
This parameter is not supported for Windows containers.
|
|
282
282
|
Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings.
|
|
283
283
|
*/
|
|
@@ -304,7 +304,7 @@ export type ContainerDefinition = {
|
|
|
304
304
|
*/
|
|
305
305
|
Memory?: number;
|
|
306
306
|
/**
|
|
307
|
-
* The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the ``memory`` parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to ``MemoryReservation`` in the
|
|
307
|
+
* The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the ``memory`` parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to ``MemoryReservation`` in the docker container create command and the ``--memory-reservation`` option to docker run.
|
|
308
308
|
If a task-level memory value is not specified, you must specify a non-zero integer for one or both of ``memory`` or ``memoryReservation`` in a container definition. If you specify both, ``memory`` must be greater than ``memoryReservation``. If you specify ``memoryReservation``, then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of ``memory`` is used.
|
|
309
309
|
For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a ``memoryReservation`` of 128 MiB, and a ``memory`` hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed.
|
|
310
310
|
The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container. So, don't specify less than 6 MiB of memory for your containers.
|
|
@@ -313,12 +313,12 @@ export type ContainerDefinition = {
|
|
|
313
313
|
MemoryReservation?: number;
|
|
314
314
|
/**
|
|
315
315
|
* The mount points for data volumes in your container.
|
|
316
|
-
This parameter maps to ``Volumes`` in the
|
|
316
|
+
This parameter maps to ``Volumes`` in the docker container create command and the ``--volume`` option to docker run.
|
|
317
317
|
Windows containers can mount whole directories on the same drive as ``$env:ProgramData``. Windows containers can't mount directories on a different drive, and mount point can't be across drives.
|
|
318
318
|
*/
|
|
319
319
|
MountPoints?: MountPoint[];
|
|
320
320
|
/**
|
|
321
|
-
* The name of a container. If you're linking multiple containers together in a task definition, the ``name`` of one container can be entered in the ``links`` of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to ``name`` in tthe docker
|
|
321
|
+
* The name of a container. If you're linking multiple containers together in a task definition, the ``name`` of one container can be entered in the ``links`` of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to ``name`` in tthe docker container create command and the ``--name`` option to docker run.
|
|
322
322
|
*/
|
|
323
323
|
Name: string;
|
|
324
324
|
/**
|
|
@@ -330,16 +330,16 @@ export type ContainerDefinition = {
|
|
|
330
330
|
*/
|
|
331
331
|
PortMappings?: PortMapping[];
|
|
332
332
|
/**
|
|
333
|
-
* When this parameter is true, the container is given elevated privileges on the host container instance (similar to the ``root`` user). This parameter maps to ``Privileged`` in the
|
|
333
|
+
* When this parameter is true, the container is given elevated privileges on the host container instance (similar to the ``root`` user). This parameter maps to ``Privileged`` in the docker container create command and the ``--privileged`` option to docker run
|
|
334
334
|
This parameter is not supported for Windows containers or tasks run on FARGATElong.
|
|
335
335
|
*/
|
|
336
336
|
Privileged?: boolean;
|
|
337
337
|
/**
|
|
338
|
-
* When this parameter is ``true``, a TTY is allocated. This parameter maps to ``Tty`` in tthe docker
|
|
338
|
+
* When this parameter is ``true``, a TTY is allocated. This parameter maps to ``Tty`` in tthe docker container create command and the ``--tty`` option to docker run.
|
|
339
339
|
*/
|
|
340
340
|
PseudoTerminal?: boolean;
|
|
341
341
|
/**
|
|
342
|
-
* When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ``ReadonlyRootfs`` in the docker
|
|
342
|
+
* When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ``ReadonlyRootfs`` in the docker container create command and the ``--read-only`` option to docker run.
|
|
343
343
|
This parameter is not supported for Windows containers.
|
|
344
344
|
*/
|
|
345
345
|
ReadonlyRootFilesystem?: boolean;
|
|
@@ -351,6 +351,9 @@ export type ContainerDefinition = {
|
|
|
351
351
|
* The type and amount of a resource to assign to a container. The only supported resource is a GPU.
|
|
352
352
|
*/
|
|
353
353
|
ResourceRequirements?: ResourceRequirement[];
|
|
354
|
+
/**
|
|
355
|
+
* The restart policy for a container. When you set up a restart policy, Amazon ECS can restart the container without needing to replace the task. For more information, see [Restart individual containers in Amazon ECS tasks with container restart policies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
356
|
+
*/
|
|
354
357
|
RestartPolicy?: RestartPolicy;
|
|
355
358
|
/**
|
|
356
359
|
* The secrets to pass to the container. For more information, see [Specifying Sensitive Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
@@ -379,7 +382,7 @@ export type ContainerDefinition = {
|
|
|
379
382
|
*/
|
|
380
383
|
StopTimeout?: number;
|
|
381
384
|
/**
|
|
382
|
-
* A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in tthe docker
|
|
385
|
+
* A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in tthe docker container create command and the ``--sysctl`` option to docker run. For example, you can configure ``net.ipv4.tcp_keepalive_time`` setting to maintain longer lived connections.
|
|
383
386
|
*/
|
|
384
387
|
SystemControls?: SystemControl[];
|
|
385
388
|
/**
|
|
@@ -388,7 +391,7 @@ export type ContainerDefinition = {
|
|
|
388
391
|
*/
|
|
389
392
|
Ulimits?: Ulimit[];
|
|
390
393
|
/**
|
|
391
|
-
* The user to use inside the container. This parameter maps to ``User`` in the docker
|
|
394
|
+
* The user to use inside the container. This parameter maps to ``User`` in the docker container create command and the ``--user`` option to docker run.
|
|
392
395
|
When running tasks using the ``host`` network mode, don't run containers using the root user (UID 0). We recommend using a non-root user for better security.
|
|
393
396
|
You can specify the ``user`` using the following formats. If specifying a UID or GID, you must specify it as a positive integer.
|
|
394
397
|
+ ``user``
|
|
@@ -402,11 +405,11 @@ export type ContainerDefinition = {
|
|
|
402
405
|
*/
|
|
403
406
|
User?: string;
|
|
404
407
|
/**
|
|
405
|
-
* Data volumes to mount from another container. This parameter maps to ``VolumesFrom`` in tthe docker
|
|
408
|
+
* Data volumes to mount from another container. This parameter maps to ``VolumesFrom`` in tthe docker container create command and the ``--volumes-from`` option to docker run.
|
|
406
409
|
*/
|
|
407
410
|
VolumesFrom?: VolumeFrom[];
|
|
408
411
|
/**
|
|
409
|
-
* The working directory to run commands inside the container in. This parameter maps to ``WorkingDir`` in the docker
|
|
412
|
+
* The working directory to run commands inside the container in. This parameter maps to ``WorkingDir`` in the docker container create command and the ``--workdir`` option to docker run.
|
|
410
413
|
*/
|
|
411
414
|
WorkingDirectory?: string;
|
|
412
415
|
};
|
|
@@ -462,7 +465,7 @@ export type DockerVolumeConfiguration = {
|
|
|
462
465
|
*/
|
|
463
466
|
Autoprovision?: boolean;
|
|
464
467
|
/**
|
|
465
|
-
* The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement. If the driver was installed using the Docker plugin CLI, use ``docker plugin ls`` to retrieve the driver name from your container instance. If the driver was installed using another method, use Docker plugin discovery to retrieve the driver name. This parameter maps to ``Driver`` in the docker
|
|
468
|
+
* The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement. If the driver was installed using the Docker plugin CLI, use ``docker plugin ls`` to retrieve the driver name from your container instance. If the driver was installed using another method, use Docker plugin discovery to retrieve the driver name. This parameter maps to ``Driver`` in the docker container create command and the ``xxdriver`` option to docker volume create.
|
|
466
469
|
*/
|
|
467
470
|
Driver?: string;
|
|
468
471
|
/**
|
|
@@ -470,7 +473,7 @@ export type DockerVolumeConfiguration = {
|
|
|
470
473
|
*/
|
|
471
474
|
DriverOpts?: Record<string, string>;
|
|
472
475
|
/**
|
|
473
|
-
* Custom metadata to add to your Docker volume. This parameter maps to ``Labels`` in the docker
|
|
476
|
+
* Custom metadata to add to your Docker volume. This parameter maps to ``Labels`` in the docker container create command and the ``xxlabel`` option to docker volume create.
|
|
474
477
|
*/
|
|
475
478
|
Labels?: Record<string, string>;
|
|
476
479
|
/**
|
|
@@ -566,10 +569,18 @@ export type FirelensConfiguration = {
|
|
|
566
569
|
};
|
|
567
570
|
/**
|
|
568
571
|
* Type definition for `AWS::ECS::TaskDefinition.FSxAuthorizationConfig`.
|
|
572
|
+
* The authorization configuration details for Amazon FSx for Windows File Server file system. See [FSxWindowsFileServerVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FSxWindowsFileServerVolumeConfiguration.html) in the *Amazon ECS API Reference*.
|
|
573
|
+
For more information and the input format, see [Amazon FSx for Windows File Server Volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
569
574
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-fsxauthorizationconfig.html}
|
|
570
575
|
*/
|
|
571
576
|
export type FSxAuthorizationConfig = {
|
|
577
|
+
/**
|
|
578
|
+
* The authorization credential option to use. The authorization credential options can be provided using either the Amazon Resource Name (ARN) of an ASMlong secret or SSM Parameter Store parameter. The ARN refers to the stored credentials.
|
|
579
|
+
*/
|
|
572
580
|
CredentialsParameter: string;
|
|
581
|
+
/**
|
|
582
|
+
* A fully qualified domain name hosted by an [](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html) Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.
|
|
583
|
+
*/
|
|
573
584
|
Domain: string;
|
|
574
585
|
};
|
|
575
586
|
/**
|
|
@@ -610,7 +621,7 @@ export type HealthCheck = {
|
|
|
610
621
|
``[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]``
|
|
611
622
|
You don't include the double quotes and brackets when you use the AWS Management Console.
|
|
612
623
|
``CMD-SHELL, curl -f http://localhost/ || exit 1``
|
|
613
|
-
An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in tthe docker
|
|
624
|
+
An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in tthe docker container create command
|
|
614
625
|
*/
|
|
615
626
|
Command?: string[];
|
|
616
627
|
/**
|
|
@@ -680,13 +691,13 @@ export type InferenceAccelerator = {
|
|
|
680
691
|
*/
|
|
681
692
|
export type KernelCapabilities = {
|
|
682
693
|
/**
|
|
683
|
-
* The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to ``CapAdd`` in the docker
|
|
694
|
+
* The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to ``CapAdd`` in the docker container create command and the ``--cap-add`` option to docker run.
|
|
684
695
|
Tasks launched on FARGATElong only support adding the ``SYS_PTRACE`` kernel capability.
|
|
685
696
|
Valid values: ``"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"``
|
|
686
697
|
*/
|
|
687
698
|
Add?: string[];
|
|
688
699
|
/**
|
|
689
|
-
* The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to ``CapDrop`` in the docker
|
|
700
|
+
* The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to ``CapDrop`` in the docker container create command and the ``--cap-drop`` option to docker run.
|
|
690
701
|
Valid values: ``"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"``
|
|
691
702
|
*/
|
|
692
703
|
Drop?: string[];
|
|
@@ -718,7 +729,7 @@ export type LinuxParameters = {
|
|
|
718
729
|
*/
|
|
719
730
|
Capabilities?: KernelCapabilities;
|
|
720
731
|
/**
|
|
721
|
-
* Any host devices to expose to the container. This parameter maps to ``Devices`` in tthe docker
|
|
732
|
+
* Any host devices to expose to the container. This parameter maps to ``Devices`` in tthe docker container create command and the ``--device`` option to docker run.
|
|
722
733
|
If you're using tasks that use the Fargate launch type, the ``devices`` parameter isn't supported.
|
|
723
734
|
*/
|
|
724
735
|
Devices?: Device[];
|
|
@@ -917,11 +928,21 @@ export type ResourceRequirement = {
|
|
|
917
928
|
};
|
|
918
929
|
/**
|
|
919
930
|
* Type definition for `AWS::ECS::TaskDefinition.RestartPolicy`.
|
|
931
|
+
* You can enable a restart policy for each container defined in your task definition, to overcome transient failures faster and maintain task availability. When you enable a restart policy for a container, Amazon ECS can restart the container if it exits, without needing to replace the task. For more information, see [Restart individual containers in Amazon ECS tasks with container restart policies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
920
932
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-restartpolicy.html}
|
|
921
933
|
*/
|
|
922
934
|
export type RestartPolicy = {
|
|
935
|
+
/**
|
|
936
|
+
* Specifies whether a restart policy is enabled for the container.
|
|
937
|
+
*/
|
|
923
938
|
Enabled?: boolean;
|
|
939
|
+
/**
|
|
940
|
+
* A list of exit codes that Amazon ECS will ignore and not attempt a restart on. You can specify a maximum of 50 container exit codes. By default, Amazon ECS does not ignore any exit codes.
|
|
941
|
+
*/
|
|
924
942
|
IgnoredExitCodes?: number[];
|
|
943
|
+
/**
|
|
944
|
+
* A period of time (in seconds) that the container must run for before a restart can be attempted. A container can be restarted only once every ``restartAttemptPeriod`` seconds. If a container isn't able to run for this time period and exits early, it will not be restarted. You can set a minimum ``restartAttemptPeriod`` of 60 seconds and a maximum ``restartAttemptPeriod`` of 1800 seconds. By default, a container must run for 300 seconds before it can be restarted.
|
|
945
|
+
*/
|
|
925
946
|
RestartAttemptPeriod?: number;
|
|
926
947
|
};
|
|
927
948
|
/**
|
|
@@ -964,7 +985,7 @@ export type Secret = {
|
|
|
964
985
|
};
|
|
965
986
|
/**
|
|
966
987
|
* Type definition for `AWS::ECS::TaskDefinition.SystemControl`.
|
|
967
|
-
* A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in tthe docker
|
|
988
|
+
* A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in tthe docker container create command and the ``--sysctl`` option to docker run. For example, you can configure ``net.ipv4.tcp_keepalive_time`` setting to maintain longer lived connections.
|
|
968
989
|
We don't recommend that you specify network-related ``systemControls`` parameters for multiple containers in a single task that also uses either the ``awsvpc`` or ``host`` network mode. Doing this has the following disadvantages:
|
|
969
990
|
+ For tasks that use the ``awsvpc`` network mode including Fargate, if you set ``systemControls`` for any container, it applies to all containers in the task. If you set different ``systemControls`` for multiple containers in a single task, the container that's started last determines which ``systemControls`` take effect.
|
|
970
991
|
+ For tasks that use the ``host`` network mode, the network namespace ``systemControls`` aren't supported.
|
|
@@ -29,6 +29,10 @@ export type MediaConnectFlowProperties = {
|
|
|
29
29
|
* The source failover config of the flow.
|
|
30
30
|
*/
|
|
31
31
|
SourceFailoverConfig?: FailoverConfig;
|
|
32
|
+
/**
|
|
33
|
+
* The source monitoring config of the flow.
|
|
34
|
+
*/
|
|
35
|
+
SourceMonitoringConfig?: SourceMonitoringConfig;
|
|
32
36
|
/**
|
|
33
37
|
* The VPC interfaces that you added to this flow.
|
|
34
38
|
*/
|
|
@@ -398,6 +402,17 @@ export type Source = {
|
|
|
398
402
|
*/
|
|
399
403
|
WhitelistCidr?: string;
|
|
400
404
|
};
|
|
405
|
+
/**
|
|
406
|
+
* Type definition for `AWS::MediaConnect::Flow.SourceMonitoringConfig`.
|
|
407
|
+
* The settings for source monitoring.
|
|
408
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-sourcemonitoringconfig.html}
|
|
409
|
+
*/
|
|
410
|
+
export type SourceMonitoringConfig = {
|
|
411
|
+
/**
|
|
412
|
+
* The state of thumbnail monitoring.
|
|
413
|
+
*/
|
|
414
|
+
ThumbnailState: "ENABLED" | "DISABLED";
|
|
415
|
+
};
|
|
401
416
|
/**
|
|
402
417
|
* Type definition for `AWS::MediaConnect::Flow.VpcInterface`.
|
|
403
418
|
* The details of a VPC interface.
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
* Definition of AWS::MediaLive::ChannelPlacementGroup Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channelplacementgroup.html}
|
|
6
|
+
*/
|
|
7
|
+
export type MediaLiveChannelPlacementGroupProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The ID of the cluster the node is on.
|
|
10
|
+
*/
|
|
11
|
+
ClusterId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The name of the channel placement group.
|
|
14
|
+
*/
|
|
15
|
+
Name?: string;
|
|
16
|
+
/**
|
|
17
|
+
* List of nodes added to the channel placement group
|
|
18
|
+
*/
|
|
19
|
+
Nodes?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* A collection of key-value pairs.
|
|
22
|
+
*/
|
|
23
|
+
Tags?: Tags[];
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Attribute type definition for `AWS::MediaLive::ChannelPlacementGroup`.
|
|
27
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channelplacementgroup.html#aws-resource-medialive-channelplacementgroup-return-values}
|
|
28
|
+
*/
|
|
29
|
+
export type MediaLiveChannelPlacementGroupAttributes = {
|
|
30
|
+
/**
|
|
31
|
+
* The ARN of the channel placement group.
|
|
32
|
+
*/
|
|
33
|
+
Arn: string;
|
|
34
|
+
/**
|
|
35
|
+
* List of channel IDs added to the channel placement group.
|
|
36
|
+
*/
|
|
37
|
+
Channels: string[];
|
|
38
|
+
/**
|
|
39
|
+
* Unique internal identifier.
|
|
40
|
+
*/
|
|
41
|
+
Id: string;
|
|
42
|
+
/**
|
|
43
|
+
* The current state of the ChannelPlacementGroupState
|
|
44
|
+
*/
|
|
45
|
+
State: ChannelPlacementGroupState;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Type definition for `AWS::MediaLive::ChannelPlacementGroup.ChannelPlacementGroupState`.
|
|
49
|
+
* The current state of the ChannelPlacementGroupState
|
|
50
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channelplacementgroup-channelplacementgroupstate.html}
|
|
51
|
+
*/
|
|
52
|
+
export type ChannelPlacementGroupState = "UNASSIGNED" | "ASSIGNING" | "ASSIGNED" | "DELETING" | "DELETED" | "UNASSIGNING";
|
|
53
|
+
/**
|
|
54
|
+
* Type definition for `AWS::MediaLive::ChannelPlacementGroup.Tags`.
|
|
55
|
+
* A key-value pair to associate with a resource.
|
|
56
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channelplacementgroup-tags.html}
|
|
57
|
+
*/
|
|
58
|
+
export type Tags = {
|
|
59
|
+
Key?: string;
|
|
60
|
+
Value?: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Definition of AWS::MediaLive::ChannelPlacementGroup Resource Type
|
|
64
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channelplacementgroup.html}
|
|
65
|
+
*/
|
|
66
|
+
export declare class MediaLiveChannelPlacementGroup extends $Resource<"AWS::MediaLive::ChannelPlacementGroup", MediaLiveChannelPlacementGroupProperties, MediaLiveChannelPlacementGroupAttributes> {
|
|
67
|
+
static readonly Type = "AWS::MediaLive::ChannelPlacementGroup";
|
|
68
|
+
constructor(logicalId: string, properties: MediaLiveChannelPlacementGroupProperties, options?: $ResourceOptions);
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=AWS-MediaLive-ChannelPlacementGroup.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Definition of AWS::MediaLive::ChannelPlacementGroup Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channelplacementgroup.html}
|
|
5
|
+
*/
|
|
6
|
+
export class MediaLiveChannelPlacementGroup extends $Resource {
|
|
7
|
+
static Type = "AWS::MediaLive::ChannelPlacementGroup";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, MediaLiveChannelPlacementGroup.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-MediaLive-ChannelPlacementGroup.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
|
+
* Definition of AWS::MediaLive::CloudWatchAlarmTemplate Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html}
|
|
6
|
+
*/
|
|
7
|
+
export type MediaLiveCloudWatchAlarmTemplateProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The comparison operator used to compare the specified statistic and the threshold.
|
|
10
|
+
*/
|
|
11
|
+
ComparisonOperator: CloudWatchAlarmTemplateComparisonOperator;
|
|
12
|
+
/**
|
|
13
|
+
* The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
|
|
14
|
+
* @min `1`
|
|
15
|
+
*/
|
|
16
|
+
DatapointsToAlarm?: number;
|
|
17
|
+
/**
|
|
18
|
+
* A resource's optional description.
|
|
19
|
+
* @minLength `0`
|
|
20
|
+
* @maxLength `1024`
|
|
21
|
+
*/
|
|
22
|
+
Description?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The number of periods over which data is compared to the specified threshold.
|
|
25
|
+
* @min `1`
|
|
26
|
+
*/
|
|
27
|
+
EvaluationPeriods: number;
|
|
28
|
+
/**
|
|
29
|
+
* A cloudwatch alarm template group's identifier. Can be either be its id or current name.
|
|
30
|
+
* @pattern `^[^\s]+$`
|
|
31
|
+
*/
|
|
32
|
+
GroupIdentifier: string;
|
|
33
|
+
/**
|
|
34
|
+
* The name of the metric associated with the alarm. Must be compatible with targetResourceType.
|
|
35
|
+
* @minLength `0`
|
|
36
|
+
* @maxLength `64`
|
|
37
|
+
*/
|
|
38
|
+
MetricName: string;
|
|
39
|
+
/**
|
|
40
|
+
* A resource's name. Names must be unique within the scope of a resource type in a specific region.
|
|
41
|
+
* @minLength `1`
|
|
42
|
+
* @maxLength `255`
|
|
43
|
+
* @pattern `^[^\s]+$`
|
|
44
|
+
*/
|
|
45
|
+
Name: string;
|
|
46
|
+
/**
|
|
47
|
+
* The period, in seconds, over which the specified statistic is applied.
|
|
48
|
+
* @min `10`
|
|
49
|
+
* @max `86400`
|
|
50
|
+
*/
|
|
51
|
+
Period: number;
|
|
52
|
+
/**
|
|
53
|
+
* The statistic to apply to the alarm's metric data.
|
|
54
|
+
*/
|
|
55
|
+
Statistic: CloudWatchAlarmTemplateStatistic;
|
|
56
|
+
/**
|
|
57
|
+
* Represents the tags associated with a resource.
|
|
58
|
+
*/
|
|
59
|
+
Tags?: TagMap;
|
|
60
|
+
/**
|
|
61
|
+
* The resource type this template should dynamically generate cloudwatch metric alarms for.
|
|
62
|
+
*/
|
|
63
|
+
TargetResourceType: CloudWatchAlarmTemplateTargetResourceType;
|
|
64
|
+
/**
|
|
65
|
+
* The threshold value to compare with the specified statistic.
|
|
66
|
+
*/
|
|
67
|
+
Threshold: number;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies how missing data points are treated when evaluating the alarm's condition.
|
|
70
|
+
*/
|
|
71
|
+
TreatMissingData: CloudWatchAlarmTemplateTreatMissingData;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Attribute type definition for `AWS::MediaLive::CloudWatchAlarmTemplate`.
|
|
75
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html#aws-resource-medialive-cloudwatchalarmtemplate-return-values}
|
|
76
|
+
*/
|
|
77
|
+
export type MediaLiveCloudWatchAlarmTemplateAttributes = {
|
|
78
|
+
/**
|
|
79
|
+
* A cloudwatch alarm template's ARN (Amazon Resource Name)
|
|
80
|
+
* @pattern `^arn:.+:medialive:.+:cloudwatch-alarm-template:.+$`
|
|
81
|
+
*/
|
|
82
|
+
Arn: string;
|
|
83
|
+
CreatedAt: string;
|
|
84
|
+
/**
|
|
85
|
+
* A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`
|
|
86
|
+
* @minLength `7`
|
|
87
|
+
* @maxLength `11`
|
|
88
|
+
* @pattern `^(aws-)?[0-9]{7}$`
|
|
89
|
+
*/
|
|
90
|
+
GroupId: string;
|
|
91
|
+
/**
|
|
92
|
+
* A cloudwatch alarm template's id. AWS provided templates have ids that start with `aws-`
|
|
93
|
+
* @minLength `7`
|
|
94
|
+
* @maxLength `11`
|
|
95
|
+
* @pattern `^(aws-)?[0-9]{7}$`
|
|
96
|
+
*/
|
|
97
|
+
Id: string;
|
|
98
|
+
Identifier: string;
|
|
99
|
+
ModifiedAt: string;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Type definition for `AWS::MediaLive::CloudWatchAlarmTemplate.CloudWatchAlarmTemplateComparisonOperator`.
|
|
103
|
+
* The comparison operator used to compare the specified statistic and the threshold.
|
|
104
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-cloudwatchalarmtemplate-cloudwatchalarmtemplatecomparisonoperator.html}
|
|
105
|
+
*/
|
|
106
|
+
export type CloudWatchAlarmTemplateComparisonOperator = "GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold";
|
|
107
|
+
/**
|
|
108
|
+
* Type definition for `AWS::MediaLive::CloudWatchAlarmTemplate.CloudWatchAlarmTemplateStatistic`.
|
|
109
|
+
* The statistic to apply to the alarm's metric data.
|
|
110
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-cloudwatchalarmtemplate-cloudwatchalarmtemplatestatistic.html}
|
|
111
|
+
*/
|
|
112
|
+
export type CloudWatchAlarmTemplateStatistic = "SampleCount" | "Average" | "Sum" | "Minimum" | "Maximum";
|
|
113
|
+
/**
|
|
114
|
+
* Type definition for `AWS::MediaLive::CloudWatchAlarmTemplate.CloudWatchAlarmTemplateTargetResourceType`.
|
|
115
|
+
* The resource type this template should dynamically generate cloudwatch metric alarms for.
|
|
116
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-cloudwatchalarmtemplate-cloudwatchalarmtemplatetargetresourcetype.html}
|
|
117
|
+
*/
|
|
118
|
+
export type CloudWatchAlarmTemplateTargetResourceType = "CLOUDFRONT_DISTRIBUTION" | "MEDIALIVE_MULTIPLEX" | "MEDIALIVE_CHANNEL" | "MEDIALIVE_INPUT_DEVICE" | "MEDIAPACKAGE_CHANNEL" | "MEDIAPACKAGE_ORIGIN_ENDPOINT" | "MEDIACONNECT_FLOW" | "S3_BUCKET";
|
|
119
|
+
/**
|
|
120
|
+
* Type definition for `AWS::MediaLive::CloudWatchAlarmTemplate.CloudWatchAlarmTemplateTreatMissingData`.
|
|
121
|
+
* Specifies how missing data points are treated when evaluating the alarm's condition.
|
|
122
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-cloudwatchalarmtemplate-cloudwatchalarmtemplatetreatmissingdata.html}
|
|
123
|
+
*/
|
|
124
|
+
export type CloudWatchAlarmTemplateTreatMissingData = "notBreaching" | "breaching" | "ignore" | "missing";
|
|
125
|
+
/**
|
|
126
|
+
* Type definition for `AWS::MediaLive::CloudWatchAlarmTemplate.TagMap`.
|
|
127
|
+
* Represents the tags associated with a resource.
|
|
128
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-cloudwatchalarmtemplate-tagmap.html}
|
|
129
|
+
*/
|
|
130
|
+
export type TagMap = Record<string, string>;
|
|
131
|
+
/**
|
|
132
|
+
* Definition of AWS::MediaLive::CloudWatchAlarmTemplate Resource Type
|
|
133
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html}
|
|
134
|
+
*/
|
|
135
|
+
export declare class MediaLiveCloudWatchAlarmTemplate extends $Resource<"AWS::MediaLive::CloudWatchAlarmTemplate", MediaLiveCloudWatchAlarmTemplateProperties, MediaLiveCloudWatchAlarmTemplateAttributes> {
|
|
136
|
+
static readonly Type = "AWS::MediaLive::CloudWatchAlarmTemplate";
|
|
137
|
+
constructor(logicalId: string, properties: MediaLiveCloudWatchAlarmTemplateProperties, options?: $ResourceOptions);
|
|
138
|
+
}
|
|
139
|
+
//# sourceMappingURL=AWS-MediaLive-CloudWatchAlarmTemplate.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Definition of AWS::MediaLive::CloudWatchAlarmTemplate Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cloudwatchalarmtemplate.html}
|
|
5
|
+
*/
|
|
6
|
+
export class MediaLiveCloudWatchAlarmTemplate extends $Resource {
|
|
7
|
+
static Type = "AWS::MediaLive::CloudWatchAlarmTemplate";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, MediaLiveCloudWatchAlarmTemplate.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-MediaLive-CloudWatchAlarmTemplate.js.map
|