@awboost/cfn-resource-types 0.1.24 → 0.1.26
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-ApiGateway-Authorizer.d.ts +1 -1
- package/lib/AWS-ApiGateway-Method.d.ts +2 -2
- package/lib/AWS-CloudFront-Distribution.d.ts +568 -2
- package/lib/AWS-CloudFront-Distribution.js +2 -1
- package/lib/AWS-Config-ConfigRule.d.ts +61 -43
- package/lib/AWS-Config-ConfigRule.js +4 -1
- package/lib/AWS-Connect-Prompt.d.ts +1 -1
- package/lib/AWS-ControlTower-EnabledControl.d.ts +25 -0
- package/lib/AWS-DynamoDB-Table.d.ts +245 -11
- package/lib/AWS-DynamoDB-Table.js +5 -1
- package/lib/AWS-EC2-ClientVpnEndpoint.d.ts +0 -8
- package/lib/AWS-EC2-EC2Fleet.d.ts +1 -0
- package/lib/AWS-EC2-EIP.d.ts +31 -19
- package/lib/AWS-EC2-EIP.js +4 -1
- package/lib/AWS-EC2-LaunchTemplate.d.ts +422 -205
- package/lib/AWS-EC2-LaunchTemplate.js +8 -1
- package/lib/AWS-EC2-SecurityGroupEgress.d.ts +34 -19
- package/lib/AWS-EC2-SecurityGroupEgress.js +6 -1
- package/lib/AWS-EC2-SpotFleet.d.ts +1 -0
- package/lib/AWS-EC2-Volume.d.ts +68 -20
- package/lib/AWS-EC2-Volume.js +9 -1
- package/lib/AWS-ElastiCache-ParameterGroup.d.ts +1 -0
- package/lib/AWS-GameLift-Fleet.d.ts +1 -1
- package/lib/AWS-Glue-DataCatalogEncryptionSettings.d.ts +1 -0
- package/lib/AWS-Glue-TableOptimizer.d.ts +2 -2
- package/lib/AWS-GuardDuty-Member.d.ts +3 -9
- package/lib/AWS-IAM-GroupPolicy.d.ts +19 -8
- package/lib/AWS-IAM-GroupPolicy.js +3 -1
- package/lib/AWS-Lambda-Function.d.ts +78 -62
- package/lib/AWS-Lambda-Function.js +3 -1
- package/lib/AWS-Lambda-Permission.d.ts +29 -19
- package/lib/AWS-Lambda-Permission.js +3 -1
- package/lib/AWS-MediaPackageV2-Channel.d.ts +32 -4
- package/lib/AWS-MediaPackageV2-Channel.js +2 -1
- package/lib/AWS-MediaPackageV2-ChannelGroup.d.ts +18 -3
- package/lib/AWS-MediaPackageV2-ChannelGroup.js +2 -1
- package/lib/AWS-MediaPackageV2-ChannelPolicy.d.ts +6 -4
- package/lib/AWS-MediaPackageV2-ChannelPolicy.js +2 -1
- package/lib/AWS-MediaPackageV2-OriginEndpoint.d.ts +4 -4
- package/lib/AWS-MediaPackageV2-OriginEndpointPolicy.d.ts +7 -5
- package/lib/AWS-MediaPackageV2-OriginEndpointPolicy.js +2 -1
- package/lib/AWS-RDS-DBCluster.d.ts +0 -4
- package/lib/AWS-RDS-DBInstance.d.ts +491 -181
- package/lib/AWS-RDS-DBInstance.js +5 -1
- package/lib/AWS-RDS-DBParameterGroup.d.ts +41 -15
- package/lib/AWS-RDS-DBParameterGroup.js +5 -1
- package/lib/AWS-RDS-DBSubnetGroup.d.ts +20 -8
- package/lib/AWS-RDS-DBSubnetGroup.js +2 -1
- package/lib/AWS-SageMaker-FeatureGroup.d.ts +25 -0
- package/lib/AWS-SecretsManager-Secret.d.ts +51 -32
- package/lib/AWS-SecretsManager-Secret.js +6 -1
- package/package.json +1 -1
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* The ``AWS::Lambda::Function`` resource creates a Lambda function. To create a function, you need a [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) and an [execution role](https://docs.aws.amazon.com/lambda/latest/dg/lambda-intro-execution-role.html). The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing.
|
|
5
|
+
You set the package type to ``Image`` if the deployment package is a [container image](https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html). For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.
|
|
6
|
+
You set the package type to ``Zip`` if the deployment package is a [.zip file archive](https://docs.aws.amazon.com/lam
|
|
5
7
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html}
|
|
6
8
|
*/
|
|
7
9
|
export type LambdaFunctionProperties = {
|
|
8
10
|
/**
|
|
11
|
+
* The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is ``x86_64``.
|
|
9
12
|
* @minLength `1`
|
|
10
13
|
* @maxLength `1`
|
|
11
14
|
*/
|
|
@@ -15,12 +18,12 @@ export type LambdaFunctionProperties = {
|
|
|
15
18
|
*/
|
|
16
19
|
Code: Code;
|
|
17
20
|
/**
|
|
18
|
-
* A
|
|
21
|
+
* To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
|
|
19
22
|
* @pattern `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1}:\d{12}:code-signing-config:csc-[a-z0-9]{17}`
|
|
20
23
|
*/
|
|
21
24
|
CodeSigningConfigArn?: string;
|
|
22
25
|
/**
|
|
23
|
-
* A dead
|
|
26
|
+
* A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see [Dead-letter queues](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq).
|
|
24
27
|
*/
|
|
25
28
|
DeadLetterConfig?: DeadLetterConfig;
|
|
26
29
|
/**
|
|
@@ -33,48 +36,50 @@ export type LambdaFunctionProperties = {
|
|
|
33
36
|
*/
|
|
34
37
|
Environment?: Environment;
|
|
35
38
|
/**
|
|
36
|
-
*
|
|
39
|
+
* The size of the function's ``/tmp`` directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.
|
|
37
40
|
*/
|
|
38
41
|
EphemeralStorage?: EphemeralStorage;
|
|
39
42
|
/**
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
* Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an [AWS::EFS::MountTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html) resource, you must also specify a ``DependsOn`` attribute to ensure that the mount target is created or updated before the function.
|
|
44
|
+
For more information about using the ``DependsOn`` attribute, see [DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html).
|
|
45
|
+
* @maxLength `1`
|
|
46
|
+
*/
|
|
43
47
|
FileSystemConfigs?: FileSystemConfig[];
|
|
44
48
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
49
|
+
* The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one.
|
|
50
|
+
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
51
|
+
* @minLength `1`
|
|
52
|
+
*/
|
|
48
53
|
FunctionName?: string;
|
|
49
54
|
/**
|
|
50
|
-
* The name of the method within your code that Lambda calls to
|
|
55
|
+
* The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see [Lambda programming model](https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html).
|
|
51
56
|
* @maxLength `128`
|
|
52
57
|
* @pattern `^[^\s]+$`
|
|
53
58
|
*/
|
|
54
59
|
Handler?: string;
|
|
55
60
|
/**
|
|
56
|
-
*
|
|
61
|
+
* Configuration values that override the container image Dockerfile settings. For more information, see [Container image settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms).
|
|
57
62
|
*/
|
|
58
63
|
ImageConfig?: ImageConfig;
|
|
59
64
|
/**
|
|
60
|
-
* The ARN of the
|
|
65
|
+
* The ARN of the KMSlong (KMS) customer managed key that's used to encrypt your function's [environment variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). When [Lambda SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) is activated, Lambda also uses this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service key.
|
|
61
66
|
* @pattern `^(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()$`
|
|
62
67
|
*/
|
|
63
68
|
KmsKeyArn?: string;
|
|
64
69
|
/**
|
|
65
|
-
* A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.
|
|
70
|
+
* A list of [function layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) to add to the function's execution environment. Specify each layer by its ARN, including the version.
|
|
66
71
|
*/
|
|
67
72
|
Layers?: string[];
|
|
68
73
|
/**
|
|
69
|
-
* The
|
|
74
|
+
* The function's Amazon CloudWatch Logs configuration settings.
|
|
70
75
|
*/
|
|
71
76
|
LoggingConfig?: LoggingConfig;
|
|
72
77
|
/**
|
|
73
|
-
* The amount of memory
|
|
78
|
+
* The amount of [memory available to the function](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console) at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. Note that new AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage. You can also request a quota increase.
|
|
74
79
|
*/
|
|
75
80
|
MemorySize?: number;
|
|
76
81
|
/**
|
|
77
|
-
*
|
|
82
|
+
* The type of deployment package. Set to ``Image`` for container image and set ``Zip`` for .zip file archive.
|
|
78
83
|
*/
|
|
79
84
|
PackageType?: "Image" | "Zip";
|
|
80
85
|
/**
|
|
@@ -88,32 +93,33 @@ export type LambdaFunctionProperties = {
|
|
|
88
93
|
*/
|
|
89
94
|
Role: string;
|
|
90
95
|
/**
|
|
91
|
-
|
|
92
|
-
|
|
96
|
+
* The identifier of the function's [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). Runtime is required if the deployment package is a .zip file archive.
|
|
97
|
+
The following list includes deprecated runtimes. For more information, see [Runtime deprecation policy](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy).
|
|
98
|
+
*/
|
|
93
99
|
Runtime?: string;
|
|
94
100
|
/**
|
|
95
|
-
*
|
|
101
|
+
* Sets the runtime management configuration for a function's version. For more information, see [Runtime updates](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html).
|
|
96
102
|
*/
|
|
97
103
|
RuntimeManagementConfig?: RuntimeManagementConfig;
|
|
98
104
|
/**
|
|
99
|
-
* The SnapStart setting
|
|
105
|
+
* The function's [SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting.
|
|
100
106
|
*/
|
|
101
107
|
SnapStart?: SnapStart;
|
|
102
108
|
/**
|
|
103
|
-
* A list of tags to apply to the function.
|
|
109
|
+
* A list of [tags](https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to apply to the function.
|
|
104
110
|
*/
|
|
105
111
|
Tags?: Tag[];
|
|
106
112
|
/**
|
|
107
|
-
* The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds.
|
|
113
|
+
* The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see [Lambda execution environment](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html).
|
|
108
114
|
* @min `1`
|
|
109
115
|
*/
|
|
110
116
|
Timeout?: number;
|
|
111
117
|
/**
|
|
112
|
-
* Set Mode to Active to sample and trace a subset of incoming requests with
|
|
118
|
+
* Set ``Mode`` to ``Active`` to sample and trace a subset of incoming requests with [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html).
|
|
113
119
|
*/
|
|
114
120
|
TracingConfig?: TracingConfig;
|
|
115
121
|
/**
|
|
116
|
-
* For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC.
|
|
122
|
+
* For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see [Configuring a Lambda function to access resources in a VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html).
|
|
117
123
|
*/
|
|
118
124
|
VpcConfig?: VpcConfig;
|
|
119
125
|
};
|
|
@@ -122,35 +128,34 @@ export type LambdaFunctionProperties = {
|
|
|
122
128
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#aws-resource-lambda-function-return-values}
|
|
123
129
|
*/
|
|
124
130
|
export type LambdaFunctionAttributes = {
|
|
125
|
-
/**
|
|
126
|
-
* Unique identifier for function resources
|
|
127
|
-
*/
|
|
128
131
|
Arn: string;
|
|
129
132
|
/**
|
|
130
|
-
* The SnapStart
|
|
133
|
+
* The function's [SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting.
|
|
131
134
|
*/
|
|
132
135
|
SnapStartResponse: {
|
|
133
136
|
/**
|
|
134
|
-
*
|
|
137
|
+
* When set to ``PublishedVersions``, Lambda creates a snapshot of the execution environment when you publish a function version.
|
|
135
138
|
*/
|
|
136
139
|
ApplyOn: "PublishedVersions" | "None";
|
|
137
140
|
/**
|
|
138
|
-
*
|
|
141
|
+
* When you provide a [qualified Amazon Resource Name (ARN)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using), this response element indicates whether SnapStart is activated for the specified function version.
|
|
139
142
|
*/
|
|
140
143
|
OptimizationStatus: "On" | "Off";
|
|
141
144
|
};
|
|
142
145
|
};
|
|
143
146
|
/**
|
|
144
147
|
* Type definition for `AWS::Lambda::Function.Code`.
|
|
148
|
+
* The [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template.
|
|
149
|
+
Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
|
|
145
150
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html}
|
|
146
151
|
*/
|
|
147
152
|
export type Code = {
|
|
148
153
|
/**
|
|
149
|
-
*
|
|
154
|
+
* URI of a [container image](https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html) in the Amazon ECR registry.
|
|
150
155
|
*/
|
|
151
156
|
ImageUri?: string;
|
|
152
157
|
/**
|
|
153
|
-
* An Amazon S3 bucket in the same AWS
|
|
158
|
+
* An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
|
|
154
159
|
* @minLength `3`
|
|
155
160
|
* @maxLength `63`
|
|
156
161
|
* @pattern `^[0-9A-Za-z\.\-_]*(?<!\.)$`
|
|
@@ -169,13 +174,15 @@ export type Code = {
|
|
|
169
174
|
*/
|
|
170
175
|
S3ObjectVersion?: string;
|
|
171
176
|
/**
|
|
172
|
-
|
|
173
|
-
|
|
177
|
+
* (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named ``index`` and zips it to create a [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html). This zip file cannot exceed 4MB. For the ``Handler`` property, the first part of the handler identifier must be ``index``. For example, ``index.handler``.
|
|
178
|
+
For JSON, you must escape quotes and special characters such as newline (``\n``) with a backslash.
|
|
179
|
+
If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module ([cfn-response](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-lambda-function-code-cfnresponsemodule.html)) that simplifies sending responses. See [Using Lambda with CloudFormation](https://docs
|
|
180
|
+
*/
|
|
174
181
|
ZipFile?: string;
|
|
175
182
|
};
|
|
176
183
|
/**
|
|
177
184
|
* Type definition for `AWS::Lambda::Function.DeadLetterConfig`.
|
|
178
|
-
* The dead-letter queue for failed asynchronous invocations.
|
|
185
|
+
* The [dead-letter queue](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq) for failed asynchronous invocations.
|
|
179
186
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-deadletterconfig.html}
|
|
180
187
|
*/
|
|
181
188
|
export type DeadLetterConfig = {
|
|
@@ -187,23 +194,23 @@ export type DeadLetterConfig = {
|
|
|
187
194
|
};
|
|
188
195
|
/**
|
|
189
196
|
* Type definition for `AWS::Lambda::Function.Environment`.
|
|
190
|
-
* A function's environment variable settings.
|
|
197
|
+
* A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
|
|
191
198
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-environment.html}
|
|
192
199
|
*/
|
|
193
200
|
export type Environment = {
|
|
194
201
|
/**
|
|
195
|
-
* Environment variable key-value pairs.
|
|
202
|
+
* Environment variable key-value pairs. For more information, see [Using Lambda environment variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html).
|
|
196
203
|
*/
|
|
197
204
|
Variables?: Record<string, string>;
|
|
198
205
|
};
|
|
199
206
|
/**
|
|
200
207
|
* Type definition for `AWS::Lambda::Function.EphemeralStorage`.
|
|
201
|
-
*
|
|
208
|
+
* The size of the function's ``/tmp`` directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.
|
|
202
209
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-ephemeralstorage.html}
|
|
203
210
|
*/
|
|
204
211
|
export type EphemeralStorage = {
|
|
205
212
|
/**
|
|
206
|
-
* The
|
|
213
|
+
* The size of the function's ``/tmp`` directory.
|
|
207
214
|
* @min `512`
|
|
208
215
|
* @max `10240`
|
|
209
216
|
*/
|
|
@@ -211,6 +218,7 @@ export type EphemeralStorage = {
|
|
|
211
218
|
};
|
|
212
219
|
/**
|
|
213
220
|
* Type definition for `AWS::Lambda::Function.FileSystemConfig`.
|
|
221
|
+
* Details about the connection between a Lambda function and an [Amazon EFS file system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html).
|
|
214
222
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-filesystemconfig.html}
|
|
215
223
|
*/
|
|
216
224
|
export type FileSystemConfig = {
|
|
@@ -221,7 +229,7 @@ export type FileSystemConfig = {
|
|
|
221
229
|
*/
|
|
222
230
|
Arn: string;
|
|
223
231
|
/**
|
|
224
|
-
* The path where the function can access the file system, starting with
|
|
232
|
+
* The path where the function can access the file system, starting with ``/mnt/``.
|
|
225
233
|
* @maxLength `160`
|
|
226
234
|
* @pattern `^/mnt/[a-zA-Z0-9-_.]+$`
|
|
227
235
|
*/
|
|
@@ -229,72 +237,78 @@ export type FileSystemConfig = {
|
|
|
229
237
|
};
|
|
230
238
|
/**
|
|
231
239
|
* Type definition for `AWS::Lambda::Function.ImageConfig`.
|
|
240
|
+
* Configuration values that override the container image Dockerfile settings. For more information, see [Container image settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms).
|
|
232
241
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-imageconfig.html}
|
|
233
242
|
*/
|
|
234
243
|
export type ImageConfig = {
|
|
235
244
|
/**
|
|
236
|
-
*
|
|
245
|
+
* Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
|
|
237
246
|
* @maxLength `1500`
|
|
238
247
|
*/
|
|
239
248
|
Command?: string[];
|
|
240
249
|
/**
|
|
241
|
-
*
|
|
250
|
+
* Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
|
|
242
251
|
* @maxLength `1500`
|
|
243
252
|
*/
|
|
244
253
|
EntryPoint?: string[];
|
|
245
254
|
/**
|
|
246
|
-
*
|
|
255
|
+
* Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
|
|
247
256
|
*/
|
|
248
257
|
WorkingDirectory?: string;
|
|
249
258
|
};
|
|
250
259
|
/**
|
|
251
260
|
* Type definition for `AWS::Lambda::Function.LoggingConfig`.
|
|
252
|
-
* The function's
|
|
261
|
+
* The function's Amazon CloudWatch Logs configuration settings.
|
|
253
262
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-loggingconfig.html}
|
|
254
263
|
*/
|
|
255
264
|
export type LoggingConfig = {
|
|
256
265
|
/**
|
|
257
|
-
*
|
|
266
|
+
* Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where ``TRACE`` is the highest level and ``FATAL`` is the lowest.
|
|
258
267
|
*/
|
|
259
268
|
ApplicationLogLevel?: "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "FATAL";
|
|
260
269
|
/**
|
|
261
|
-
*
|
|
270
|
+
* The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
|
|
262
271
|
*/
|
|
263
272
|
LogFormat?: "Text" | "JSON";
|
|
264
273
|
/**
|
|
265
|
-
* The log group name.
|
|
274
|
+
* The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named ``/aws/lambda/<function name>``. To use a different log group, enter an existing log group or enter a new log group name.
|
|
266
275
|
* @minLength `1`
|
|
267
276
|
* @maxLength `512`
|
|
268
277
|
* @pattern `[\.\-_/#A-Za-z0-9]+`
|
|
269
278
|
*/
|
|
270
279
|
LogGroup?: string;
|
|
271
280
|
/**
|
|
272
|
-
*
|
|
281
|
+
* Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where ``DEBUG`` is the highest level and ``WARN`` is the lowest.
|
|
273
282
|
*/
|
|
274
283
|
SystemLogLevel?: "DEBUG" | "INFO" | "WARN";
|
|
275
284
|
};
|
|
276
285
|
/**
|
|
277
286
|
* Type definition for `AWS::Lambda::Function.RuntimeManagementConfig`.
|
|
287
|
+
* Sets the runtime management configuration for a function's version. For more information, see [Runtime updates](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html).
|
|
278
288
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-runtimemanagementconfig.html}
|
|
279
289
|
*/
|
|
280
290
|
export type RuntimeManagementConfig = {
|
|
281
291
|
/**
|
|
282
|
-
|
|
283
|
-
|
|
292
|
+
* The ARN of the runtime version you want the function to use.
|
|
293
|
+
This is only required if you're using the *Manual* runtime update mode.
|
|
294
|
+
*/
|
|
284
295
|
RuntimeVersionArn?: string;
|
|
285
296
|
/**
|
|
286
|
-
|
|
287
|
-
|
|
297
|
+
* Specify the runtime update mode.
|
|
298
|
+
+ *Auto (default)* - Automatically update to the most recent and secure runtime version using a [Two-phase runtime version rollout](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-two-phase). This is the best choice for most customers to ensure they always benefit from runtime updates.
|
|
299
|
+
+ *FunctionUpdate* - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date.
|
|
300
|
+
+ *Manual* - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incomp
|
|
301
|
+
*/
|
|
288
302
|
UpdateRuntimeOn: "Auto" | "FunctionUpdate" | "Manual";
|
|
289
303
|
};
|
|
290
304
|
/**
|
|
291
305
|
* Type definition for `AWS::Lambda::Function.SnapStart`.
|
|
292
|
-
* The function's SnapStart setting.
|
|
306
|
+
* The function's [SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting.
|
|
293
307
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-snapstart.html}
|
|
294
308
|
*/
|
|
295
309
|
export type SnapStart = {
|
|
296
310
|
/**
|
|
297
|
-
*
|
|
311
|
+
* Set ``ApplyOn`` to ``PublishedVersions`` to create a snapshot of the initialized execution environment when you publish a function version.
|
|
298
312
|
*/
|
|
299
313
|
ApplyOn: "PublishedVersions" | "None";
|
|
300
314
|
};
|
|
@@ -304,13 +318,11 @@ export type SnapStart = {
|
|
|
304
318
|
*/
|
|
305
319
|
export type Tag = {
|
|
306
320
|
/**
|
|
307
|
-
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
308
321
|
* @minLength `1`
|
|
309
322
|
* @maxLength `128`
|
|
310
323
|
*/
|
|
311
324
|
Key: string;
|
|
312
325
|
/**
|
|
313
|
-
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
314
326
|
* @minLength `0`
|
|
315
327
|
* @maxLength `256`
|
|
316
328
|
*/
|
|
@@ -318,7 +330,7 @@ export type Tag = {
|
|
|
318
330
|
};
|
|
319
331
|
/**
|
|
320
332
|
* Type definition for `AWS::Lambda::Function.TracingConfig`.
|
|
321
|
-
* The function's
|
|
333
|
+
* The function's [](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) tracing configuration. To sample and record incoming requests, set ``Mode`` to ``Active``.
|
|
322
334
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-tracingconfig.html}
|
|
323
335
|
*/
|
|
324
336
|
export type TracingConfig = {
|
|
@@ -329,16 +341,18 @@ export type TracingConfig = {
|
|
|
329
341
|
};
|
|
330
342
|
/**
|
|
331
343
|
* Type definition for `AWS::Lambda::Function.VpcConfig`.
|
|
332
|
-
* The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC.
|
|
344
|
+
* The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see [VPC Settings](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html).
|
|
345
|
+
When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources.
|
|
346
|
+
To monitor network interfaces, CFN needs the ``ec2:DescribeNetworkInterfaces`` permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted.
|
|
333
347
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html}
|
|
334
348
|
*/
|
|
335
349
|
export type VpcConfig = {
|
|
336
350
|
/**
|
|
337
|
-
*
|
|
351
|
+
* Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
|
|
338
352
|
*/
|
|
339
353
|
Ipv6AllowedForDualStack?: boolean;
|
|
340
354
|
/**
|
|
341
|
-
* A list of VPC security
|
|
355
|
+
* A list of VPC security group IDs.
|
|
342
356
|
* @maxLength `5`
|
|
343
357
|
*/
|
|
344
358
|
SecurityGroupIds?: string[];
|
|
@@ -349,7 +363,9 @@ export type VpcConfig = {
|
|
|
349
363
|
SubnetIds?: string[];
|
|
350
364
|
};
|
|
351
365
|
/**
|
|
352
|
-
*
|
|
366
|
+
* The ``AWS::Lambda::Function`` resource creates a Lambda function. To create a function, you need a [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) and an [execution role](https://docs.aws.amazon.com/lambda/latest/dg/lambda-intro-execution-role.html). The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing.
|
|
367
|
+
You set the package type to ``Image`` if the deployment package is a [container image](https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html). For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.
|
|
368
|
+
You set the package type to ``Zip`` if the deployment package is a [.zip file archive](https://docs.aws.amazon.com/lam
|
|
353
369
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html}
|
|
354
370
|
*/
|
|
355
371
|
export declare class LambdaFunction extends $Resource<"AWS::Lambda::Function", LambdaFunctionProperties, LambdaFunctionAttributes> {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::Lambda::Function`` resource creates a Lambda function. To create a function, you need a [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) and an [execution role](https://docs.aws.amazon.com/lambda/latest/dg/lambda-intro-execution-role.html). The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing.
|
|
4
|
+
You set the package type to ``Image`` if the deployment package is a [container image](https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html). For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.
|
|
5
|
+
You set the package type to ``Zip`` if the deployment package is a [.zip file archive](https://docs.aws.amazon.com/lam
|
|
4
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html}
|
|
5
7
|
*/
|
|
6
8
|
export class LambdaFunction extends $Resource {
|
|
@@ -1,62 +1,71 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* The ``AWS::Lambda::Permission`` resource grants an AWS service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.
|
|
5
|
+
To grant permission to another account, specify the account ID as the ``Principal``. To grant permission to an organization defined in AOlong, specify the organization ID as the ``PrincipalOrgID``. For AWS services, the principal is a domain-style identifier defined by the service, like ``s3.amazonaws.com`` or ``sns.amazonaws.com``. For AWS services, you can also specify the ARN of the associated resource as the ``SourceArn``. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.
|
|
6
|
+
If your function has a fu
|
|
5
7
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html}
|
|
6
8
|
*/
|
|
7
9
|
export type LambdaPermissionProperties = {
|
|
8
10
|
/**
|
|
9
|
-
* The action that the principal can use on the function.
|
|
11
|
+
* The action that the principal can use on the function. For example, ``lambda:InvokeFunction`` or ``lambda:GetFunction``.
|
|
10
12
|
* @minLength `1`
|
|
11
13
|
* @maxLength `256`
|
|
12
14
|
* @pattern `^(lambda:[*]|lambda:[a-zA-Z]+|[*])$`
|
|
13
15
|
*/
|
|
14
16
|
Action: string;
|
|
15
17
|
/**
|
|
16
|
-
* For Alexa Smart Home functions, a token that
|
|
18
|
+
* For Alexa Smart Home functions, a token that the invoker must supply.
|
|
17
19
|
* @minLength `1`
|
|
18
20
|
* @maxLength `256`
|
|
19
21
|
* @pattern `^[a-zA-Z0-9._\-]+$`
|
|
20
22
|
*/
|
|
21
23
|
EventSourceToken?: string;
|
|
22
24
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
* The name of the Lambda function, version, or alias.
|
|
26
|
+
**Name formats**
|
|
27
|
+
+ *Function name* – ``my-function`` (name-only), ``my-function:v1`` (with alias).
|
|
28
|
+
+ *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:my-function``.
|
|
29
|
+
+ *Partial ARN* – ``123456789012:function:my-function``.
|
|
30
|
+
|
|
31
|
+
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
32
|
+
* @minLength `1`
|
|
33
|
+
* @maxLength `140`
|
|
34
|
+
* @pattern `^(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?$`
|
|
35
|
+
*/
|
|
28
36
|
FunctionName: string;
|
|
29
37
|
/**
|
|
30
|
-
* The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint.
|
|
38
|
+
* The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see [Security and auth model for Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html).
|
|
31
39
|
*/
|
|
32
40
|
FunctionUrlAuthType?: "AWS_IAM" | "NONE";
|
|
33
41
|
/**
|
|
34
|
-
* The AWS
|
|
42
|
+
* The AWS-service or AWS-account that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
|
|
35
43
|
* @minLength `1`
|
|
36
44
|
* @maxLength `256`
|
|
37
45
|
* @pattern `^.*$`
|
|
38
46
|
*/
|
|
39
47
|
Principal: string;
|
|
40
48
|
/**
|
|
41
|
-
* The identifier for your organization in
|
|
49
|
+
* The identifier for your organization in AOlong. Use this to grant permissions to all the AWS-accounts under this organization.
|
|
42
50
|
* @minLength `12`
|
|
43
51
|
* @maxLength `34`
|
|
44
52
|
* @pattern `^o-[a-z0-9]{10,32}$`
|
|
45
53
|
*/
|
|
46
54
|
PrincipalOrgID?: string;
|
|
47
55
|
/**
|
|
48
|
-
* For
|
|
56
|
+
* For AWS-service, the ID of the AWS-account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
|
|
49
57
|
* @minLength `12`
|
|
50
58
|
* @maxLength `12`
|
|
51
59
|
* @pattern `^\d{12}$`
|
|
52
60
|
*/
|
|
53
61
|
SourceAccount?: string;
|
|
54
62
|
/**
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
63
|
+
* For AWS-services, the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.
|
|
64
|
+
Note that Lambda configures the comparison using the ``StringLike`` operator.
|
|
65
|
+
* @minLength `12`
|
|
66
|
+
* @maxLength `1024`
|
|
67
|
+
* @pattern `^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1})?:(\d{12})?:(.*)$`
|
|
68
|
+
*/
|
|
60
69
|
SourceArn?: string;
|
|
61
70
|
};
|
|
62
71
|
/**
|
|
@@ -65,7 +74,6 @@ export type LambdaPermissionProperties = {
|
|
|
65
74
|
*/
|
|
66
75
|
export type LambdaPermissionAttributes = {
|
|
67
76
|
/**
|
|
68
|
-
* A statement identifier that differentiates the statement from others in the same policy.
|
|
69
77
|
* @minLength `1`
|
|
70
78
|
* @maxLength `256`
|
|
71
79
|
* @pattern `^.*$`
|
|
@@ -73,7 +81,9 @@ export type LambdaPermissionAttributes = {
|
|
|
73
81
|
Id: string;
|
|
74
82
|
};
|
|
75
83
|
/**
|
|
76
|
-
*
|
|
84
|
+
* The ``AWS::Lambda::Permission`` resource grants an AWS service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.
|
|
85
|
+
To grant permission to another account, specify the account ID as the ``Principal``. To grant permission to an organization defined in AOlong, specify the organization ID as the ``PrincipalOrgID``. For AWS services, the principal is a domain-style identifier defined by the service, like ``s3.amazonaws.com`` or ``sns.amazonaws.com``. For AWS services, you can also specify the ARN of the associated resource as the ``SourceArn``. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.
|
|
86
|
+
If your function has a fu
|
|
77
87
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html}
|
|
78
88
|
*/
|
|
79
89
|
export declare class LambdaPermission extends $Resource<"AWS::Lambda::Permission", LambdaPermissionProperties, LambdaPermissionAttributes> {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::Lambda::Permission`` resource grants an AWS service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.
|
|
4
|
+
To grant permission to another account, specify the account ID as the ``Principal``. To grant permission to an organization defined in AOlong, specify the organization ID as the ``PrincipalOrgID``. For AWS services, the principal is a domain-style identifier defined by the service, like ``s3.amazonaws.com`` or ``sns.amazonaws.com``. For AWS services, you can also specify the ARN of the associated resource as the ``SourceArn``. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.
|
|
5
|
+
If your function has a fu
|
|
4
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html}
|
|
5
7
|
*/
|
|
6
8
|
export class LambdaPermission extends $Resource {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Resource type definition for `AWS::MediaPackageV2::Channel`.
|
|
5
|
+
* <p>Represents an entry point into AWS Elemental MediaPackage for an ABR video content stream sent from an upstream encoder such as AWS Elemental MediaLive. The channel continuously analyzes the content that it receives and prepares it to be distributed to consumers via one or more origin endpoints.</p>
|
|
5
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html}
|
|
6
7
|
*/
|
|
7
8
|
export type MediaPackageV2ChannelProperties = {
|
|
@@ -10,14 +11,15 @@ export type MediaPackageV2ChannelProperties = {
|
|
|
10
11
|
* @maxLength `256`
|
|
11
12
|
* @pattern `^[a-zA-Z0-9_-]+$`
|
|
12
13
|
*/
|
|
13
|
-
ChannelGroupName
|
|
14
|
+
ChannelGroupName: string;
|
|
14
15
|
/**
|
|
15
16
|
* @minLength `1`
|
|
16
17
|
* @maxLength `256`
|
|
17
18
|
* @pattern `^[a-zA-Z0-9_-]+$`
|
|
18
19
|
*/
|
|
19
|
-
ChannelName
|
|
20
|
+
ChannelName: string;
|
|
20
21
|
/**
|
|
22
|
+
* <p>Enter any descriptive text that helps you to identify the channel.</p>
|
|
21
23
|
* @minLength `0`
|
|
22
24
|
* @maxLength `1024`
|
|
23
25
|
*/
|
|
@@ -29,20 +31,45 @@ export type MediaPackageV2ChannelProperties = {
|
|
|
29
31
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#aws-resource-mediapackagev2-channel-return-values}
|
|
30
32
|
*/
|
|
31
33
|
export type MediaPackageV2ChannelAttributes = {
|
|
34
|
+
/**
|
|
35
|
+
* <p>The Amazon Resource Name (ARN) associated with the resource.</p>
|
|
36
|
+
*/
|
|
32
37
|
Arn: string;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The date and time the channel was created.</p>
|
|
40
|
+
*/
|
|
33
41
|
CreatedAt: string;
|
|
42
|
+
/**
|
|
43
|
+
* <p>The list of ingest endpoints.</p>
|
|
44
|
+
*/
|
|
34
45
|
IngestEndpoints: {
|
|
46
|
+
/**
|
|
47
|
+
* <p>The system-generated unique identifier for the IngestEndpoint.</p>
|
|
48
|
+
*/
|
|
35
49
|
Id: string;
|
|
50
|
+
/**
|
|
51
|
+
* <p>The ingest domain URL where the source stream should be sent.</p>
|
|
52
|
+
*/
|
|
36
53
|
Url: string;
|
|
37
54
|
}[];
|
|
55
|
+
/**
|
|
56
|
+
* <p>The date and time the channel was modified.</p>
|
|
57
|
+
*/
|
|
38
58
|
ModifiedAt: string;
|
|
39
59
|
};
|
|
40
60
|
/**
|
|
41
61
|
* Type definition for `AWS::MediaPackageV2::Channel.IngestEndpoint`.
|
|
62
|
+
* <p>The ingest domain URL where the source stream should be sent.</p>
|
|
42
63
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-ingestendpoint.html}
|
|
43
64
|
*/
|
|
44
65
|
export type IngestEndpoint = {
|
|
66
|
+
/**
|
|
67
|
+
* <p>The system-generated unique identifier for the IngestEndpoint.</p>
|
|
68
|
+
*/
|
|
45
69
|
Id?: string;
|
|
70
|
+
/**
|
|
71
|
+
* <p>The ingest domain URL where the source stream should be sent.</p>
|
|
72
|
+
*/
|
|
46
73
|
Url?: string;
|
|
47
74
|
};
|
|
48
75
|
/**
|
|
@@ -54,7 +81,8 @@ export type Tag = {
|
|
|
54
81
|
Value?: string;
|
|
55
82
|
};
|
|
56
83
|
/**
|
|
57
|
-
*
|
|
84
|
+
* Resource type definition for `AWS::MediaPackageV2::Channel`.
|
|
85
|
+
* <p>Represents an entry point into AWS Elemental MediaPackage for an ABR video content stream sent from an upstream encoder such as AWS Elemental MediaLive. The channel continuously analyzes the content that it receives and prepares it to be distributed to consumers via one or more origin endpoints.</p>
|
|
58
86
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html}
|
|
59
87
|
*/
|
|
60
88
|
export declare class MediaPackageV2Channel extends $Resource<"AWS::MediaPackageV2::Channel", MediaPackageV2ChannelProperties, MediaPackageV2ChannelAttributes> {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Resource type definition for `AWS::MediaPackageV2::Channel`.
|
|
4
|
+
* <p>Represents an entry point into AWS Elemental MediaPackage for an ABR video content stream sent from an upstream encoder such as AWS Elemental MediaLive. The channel continuously analyzes the content that it receives and prepares it to be distributed to consumers via one or more origin endpoints.</p>
|
|
4
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html}
|
|
5
6
|
*/
|
|
6
7
|
export class MediaPackageV2Channel extends $Resource {
|