@awboost/cfn-resource-types 0.1.78 → 0.1.80

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.
@@ -5,9 +5,21 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-parametergroup.html}
6
6
  */
7
7
  export type ElastiCacheParameterGroupProperties = {
8
+ /**
9
+ * The name of the cache parameter group family that this cache parameter group is compatible with.
10
+ */
8
11
  CacheParameterGroupFamily: string;
12
+ /**
13
+ * The description for this cache parameter group.
14
+ */
9
15
  Description: string;
16
+ /**
17
+ * A comma-delimited list of parameter name/value pairs. For more information see ModifyCacheParameterGroup in the Amazon ElastiCache API Reference Guide.
18
+ */
10
19
  Properties?: Record<string, string>;
20
+ /**
21
+ * Tags are composed of a Key/Value pair. You can use tags to categorize and track each parameter group. The tag value null is permitted.
22
+ */
11
23
  Tags?: Tag[];
12
24
  };
13
25
  /**
@@ -15,7 +27,10 @@ export type ElastiCacheParameterGroupProperties = {
15
27
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-parametergroup.html#aws-resource-elasticache-parametergroup-return-values}
16
28
  */
17
29
  export type ElastiCacheParameterGroupAttributes = {
18
- Id: string;
30
+ /**
31
+ * The name of the Cache Parameter Group.
32
+ */
33
+ CacheParameterGroupName: string;
19
34
  };
20
35
  /**
21
36
  * Type definition for `AWS::ElastiCache::ParameterGroup.Tag`.
@@ -5,10 +5,24 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html}
6
6
  */
7
7
  export type EventsEventBusProperties = {
8
+ /**
9
+ * Dead Letter Queue for the event bus.
10
+ */
11
+ DeadLetterConfig?: {
12
+ Arn?: string;
13
+ };
14
+ /**
15
+ * The description of the event bus.
16
+ */
17
+ Description?: string;
8
18
  /**
9
19
  * If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
10
20
  */
11
21
  EventSourceName?: string;
22
+ /**
23
+ * Kms Key Identifier used to encrypt events at rest in the event bus.
24
+ */
25
+ KmsKeyIdentifier?: string;
12
26
  /**
13
27
  * The name of the event bus.
14
28
  */
@@ -3,7 +3,8 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-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
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
6
+ If your function has a function URL, you can specify the ``FunctionUrlAuthType`` parameter. This adds a condition to your permission that only applies when your function URL's ``AuthType`` matches the specified ``FunctionUrlAuthType``. For more information about the ``AuthType`` parameter, see [Security and auth model for function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html).
7
+ This resource adds a statement to a resource-based permission policy for the function. For more information about function policies, see [Lambda Function Policies](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html).
7
8
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html}
8
9
  */
9
10
  export type LambdaPermissionProperties = {
@@ -22,7 +23,7 @@ export type LambdaPermissionProperties = {
22
23
  */
23
24
  EventSourceToken?: string;
24
25
  /**
25
- * The name of the Lambda function, version, or alias.
26
+ * The name or ARN of the Lambda function, version, or alias.
26
27
  **Name formats**
27
28
  + *Function name* – ``my-function`` (name-only), ``my-function:v1`` (with alias).
28
29
  + *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:my-function``.
@@ -83,7 +84,8 @@ export type LambdaPermissionAttributes = {
83
84
  /**
84
85
  * 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
86
  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
87
+ If your function has a function URL, you can specify the ``FunctionUrlAuthType`` parameter. This adds a condition to your permission that only applies when your function URL's ``AuthType`` matches the specified ``FunctionUrlAuthType``. For more information about the ``AuthType`` parameter, see [Security and auth model for function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html).
88
+ This resource adds a statement to a resource-based permission policy for the function. For more information about function policies, see [Lambda Function Policies](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html).
87
89
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html}
88
90
  */
89
91
  export declare class LambdaPermission extends $Resource<"AWS::Lambda::Permission", LambdaPermissionProperties, LambdaPermissionAttributes> {
@@ -2,7 +2,8 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
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
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
5
+ If your function has a function URL, you can specify the ``FunctionUrlAuthType`` parameter. This adds a condition to your permission that only applies when your function URL's ``AuthType`` matches the specified ``FunctionUrlAuthType``. For more information about the ``AuthType`` parameter, see [Security and auth model for function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html).
6
+ This resource adds a statement to a resource-based permission policy for the function. For more information about function policies, see [Lambda Function Policies](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html).
6
7
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html}
7
8
  */
8
9
  export class LambdaPermission extends $Resource {
@@ -19,9 +19,13 @@ export type LambdaVersionProperties = {
19
19
  * The name of the Lambda function.
20
20
  * @minLength `1`
21
21
  * @maxLength `140`
22
- * @pattern `^(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?$`
22
+ * @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-_]+))?$`
23
23
  */
24
24
  FunctionName: string;
25
+ /**
26
+ * The resource policy of your function
27
+ */
28
+ Policy?: Record<string, any>;
25
29
  /**
26
30
  * Specifies a provisioned concurrency configuration for a function's version. Updates are not supported for this property.
27
31
  */
@@ -38,6 +42,7 @@ export type LambdaVersionProperties = {
38
42
  export type LambdaVersionAttributes = {
39
43
  /**
40
44
  * The ARN of the version.
45
+ * @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-_]+))?$`
41
46
  */
42
47
  FunctionArn: string;
43
48
  /**
@@ -66,7 +71,7 @@ export type RuntimePolicy = {
66
71
  * The ARN of the runtime the function is configured to use. If the runtime update mode is manual, the ARN is returned, otherwise null is returned.
67
72
  * @minLength `26`
68
73
  * @maxLength `2048`
69
- * @pattern `^arn:(aws[a-zA-Z-]*):lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1}::runtime:.+$`
74
+ * @pattern `^arn:(aws[a-zA-Z-]*):lambda:[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}::runtime:.+$`
70
75
  */
71
76
  RuntimeVersionArn?: string;
72
77
  /**
@@ -74,6 +74,10 @@ export type LightsailInstanceAttributes = {
74
74
  RamSizeInGb: number;
75
75
  };
76
76
  InstanceArn: string;
77
+ /**
78
+ * IPv6 addresses of the instance
79
+ */
80
+ Ipv6Addresses: string[];
77
81
  /**
78
82
  * Is the IP Address of the Instance is the static IP
79
83
  */
@@ -211,6 +211,15 @@ export type DefaultEbsStorageSettings = {
211
211
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacesettings.html}
212
212
  */
213
213
  export type DefaultSpaceSettings = {
214
+ /**
215
+ * @minLength `0`
216
+ * @maxLength `2`
217
+ */
218
+ CustomFileSystemConfigs?: CustomFileSystemConfig[];
219
+ /**
220
+ * The Jupyter lab's custom posix user configurations.
221
+ */
222
+ CustomPosixUserConfig?: CustomPosixUserConfig;
214
223
  /**
215
224
  * The execution role for the space.
216
225
  * @minLength `20`
@@ -218,6 +227,10 @@ export type DefaultSpaceSettings = {
218
227
  * @pattern `^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$`
219
228
  */
220
229
  ExecutionRole: string;
230
+ /**
231
+ * The Jupyter lab's app settings.
232
+ */
233
+ JupyterLabAppSettings?: JupyterLabAppSettings;
221
234
  /**
222
235
  * The Jupyter server's app settings.
223
236
  */
@@ -232,6 +245,10 @@ export type DefaultSpaceSettings = {
232
245
  * @maxLength `5`
233
246
  */
234
247
  SecurityGroups?: string[];
248
+ /**
249
+ * The Jupyter lab's space storage settings.
250
+ */
251
+ SpaceStorageSettings?: DefaultSpaceStorageSettings;
235
252
  };
236
253
  /**
237
254
  * Type definition for `AWS::SageMaker::Domain.DefaultSpaceStorageSettings`.
@@ -0,0 +1,13 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource type definition for `AWS::SecurityHub::SecurityControl`.
4
+ * A security control in Security Hub describes a security best practice related to a specific resource.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-securitycontrol.html}
6
+ */
7
+ export class SecurityHubSecurityControl extends $Resource {
8
+ static Type = "AWS::SecurityHub::SecurityControl";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, SecurityHubSecurityControl.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-SecurityHub-SecurityControl.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.78",
3
+ "version": "0.1.80",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },