@awboost/cfn-resource-types 0.1.198 → 0.1.199

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.
@@ -70,6 +70,7 @@ export type CustomizedMetricSpecification = {
70
70
  MetricName?: string;
71
71
  Metrics?: TargetTrackingMetricDataQuery[];
72
72
  Namespace?: string;
73
+ Period?: number;
73
74
  Statistic?: string;
74
75
  Unit?: string;
75
76
  };
@@ -215,6 +216,7 @@ export type TargetTrackingMetricDataQuery = {
215
216
  Id: string;
216
217
  Label?: string;
217
218
  MetricStat?: TargetTrackingMetricStat;
219
+ Period?: number;
218
220
  ReturnData?: boolean;
219
221
  };
220
222
  /**
@@ -223,6 +225,7 @@ export type TargetTrackingMetricDataQuery = {
223
225
  */
224
226
  export type TargetTrackingMetricStat = {
225
227
  Metric: Metric;
228
+ Period?: number;
226
229
  Stat: string;
227
230
  Unit?: string;
228
231
  };
@@ -0,0 +1,122 @@
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::Chatbot::CustomAction Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html}
6
+ */
7
+ export type ChatbotCustomActionProperties = {
8
+ /**
9
+ * @minLength `1`
10
+ * @maxLength `64`
11
+ * @pattern `^[a-zA-Z0-9_-]{1,64}$`
12
+ */
13
+ ActionName: string;
14
+ /**
15
+ * @minLength `1`
16
+ * @maxLength `30`
17
+ * @pattern `^[A-Za-z0-9-_]+$`
18
+ */
19
+ AliasName?: string;
20
+ Attachments?: CustomActionAttachment[];
21
+ Definition: CustomActionDefinition;
22
+ /**
23
+ * @minLength `0`
24
+ * @maxLength `200`
25
+ */
26
+ Tags?: Tag[];
27
+ };
28
+ /**
29
+ * Attribute type definition for `AWS::Chatbot::CustomAction`.
30
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html#aws-resource-chatbot-customaction-return-values}
31
+ */
32
+ export type ChatbotCustomActionAttributes = {
33
+ /**
34
+ * @minLength `1`
35
+ * @maxLength `1011`
36
+ * @pattern `^arn:(aws[a-zA-Z-]*)?:chatbot:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:custom-action/[a-zA-Z0-9_-]{1,64}$`
37
+ */
38
+ CustomActionArn: string;
39
+ };
40
+ /**
41
+ * Type definition for `AWS::Chatbot::CustomAction.CustomActionAttachment`.
42
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachment.html}
43
+ */
44
+ export type CustomActionAttachment = {
45
+ /**
46
+ * @minLength `1`
47
+ * @maxLength `50`
48
+ * @pattern `^[\S\s]+$`
49
+ */
50
+ ButtonText?: string;
51
+ /**
52
+ * @minLength `1`
53
+ * @maxLength `5`
54
+ */
55
+ Criteria?: CustomActionAttachmentCriteria[];
56
+ /**
57
+ * @minLength `1`
58
+ * @maxLength `100`
59
+ * @pattern `^[a-zA-Z0-9-]+$`
60
+ */
61
+ NotificationType?: string;
62
+ Variables?: CustomActionAttachmentVariables;
63
+ };
64
+ /**
65
+ * Type definition for `AWS::Chatbot::CustomAction.CustomActionAttachmentCriteria`.
66
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachmentcriteria.html}
67
+ */
68
+ export type CustomActionAttachmentCriteria = {
69
+ Operator: CustomActionAttachmentCriteriaOperator;
70
+ /**
71
+ * @minLength `0`
72
+ * @maxLength `50`
73
+ */
74
+ Value?: string;
75
+ VariableName: string;
76
+ };
77
+ /**
78
+ * Type definition for `AWS::Chatbot::CustomAction.CustomActionAttachmentCriteriaOperator`.
79
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachmentcriteriaoperator.html}
80
+ */
81
+ export type CustomActionAttachmentCriteriaOperator = "HAS_VALUE" | "EQUALS";
82
+ /**
83
+ * Type definition for `AWS::Chatbot::CustomAction.CustomActionAttachmentVariables`.
84
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachmentvariables.html}
85
+ */
86
+ export type CustomActionAttachmentVariables = Record<string, string>;
87
+ /**
88
+ * Type definition for `AWS::Chatbot::CustomAction.CustomActionDefinition`.
89
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactiondefinition.html}
90
+ */
91
+ export type CustomActionDefinition = {
92
+ /**
93
+ * @minLength `1`
94
+ * @maxLength `100`
95
+ */
96
+ CommandText: string;
97
+ };
98
+ /**
99
+ * Type definition for `AWS::Chatbot::CustomAction.Tag`.
100
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-tag.html}
101
+ */
102
+ export type Tag = {
103
+ /**
104
+ * @minLength `1`
105
+ * @maxLength `128`
106
+ */
107
+ Key: string;
108
+ /**
109
+ * @minLength `0`
110
+ * @maxLength `256`
111
+ */
112
+ Value: string;
113
+ };
114
+ /**
115
+ * Definition of AWS::Chatbot::CustomAction Resource Type
116
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html}
117
+ */
118
+ export declare class ChatbotCustomAction extends $Resource<"AWS::Chatbot::CustomAction", ChatbotCustomActionProperties, ChatbotCustomActionAttributes> {
119
+ static readonly Type = "AWS::Chatbot::CustomAction";
120
+ constructor(logicalId: string, properties: ChatbotCustomActionProperties, options?: $ResourceOptions);
121
+ }
122
+ //# sourceMappingURL=AWS-Chatbot-CustomAction.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of AWS::Chatbot::CustomAction Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html}
5
+ */
6
+ export class ChatbotCustomAction extends $Resource {
7
+ static Type = "AWS::Chatbot::CustomAction";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, ChatbotCustomAction.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Chatbot-CustomAction.js.map
@@ -12,6 +12,10 @@ export type ChatbotMicrosoftTeamsChannelConfigurationProperties = {
12
12
  * @pattern `^[A-Za-z0-9-_]+$`
13
13
  */
14
14
  ConfigurationName: string;
15
+ /**
16
+ * ARNs of Custom Actions to associate with notifications in the provided chat channel.
17
+ */
18
+ CustomizationResourceArns?: string[];
15
19
  /**
16
20
  * The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
17
21
  */
@@ -12,6 +12,10 @@ export type ChatbotSlackChannelConfigurationProperties = {
12
12
  * @pattern `^[A-Za-z0-9-_]+$`
13
13
  */
14
14
  ConfigurationName: string;
15
+ /**
16
+ * ARNs of Custom Actions to associate with notifications in the provided chat channel.
17
+ */
18
+ CustomizationResourceArns?: string[];
15
19
  /**
16
20
  * The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
17
21
  */
@@ -0,0 +1,62 @@
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
+ * Resource Type definition for AWS::EC2::VPCBlockPublicAccessExclusion.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html}
6
+ */
7
+ export type EC2VPCBlockPublicAccessExclusionProperties = {
8
+ /**
9
+ * The desired Block Public Access Exclusion Mode for a specific VPC/Subnet.
10
+ */
11
+ InternetGatewayExclusionMode: "allow-bidirectional" | "allow-egress";
12
+ /**
13
+ * The ID of the subnet. Required only if you don't specify VpcId
14
+ */
15
+ SubnetId?: string;
16
+ /**
17
+ * An array of key-value pairs to apply to this resource.
18
+ */
19
+ Tags?: Tag[];
20
+ /**
21
+ * The ID of the vpc. Required only if you don't specify SubnetId.
22
+ */
23
+ VpcId?: string;
24
+ };
25
+ /**
26
+ * Attribute type definition for `AWS::EC2::VPCBlockPublicAccessExclusion`.
27
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html#aws-resource-ec2-vpcblockpublicaccessexclusion-return-values}
28
+ */
29
+ export type EC2VPCBlockPublicAccessExclusionAttributes = {
30
+ /**
31
+ * The ID of the exclusion
32
+ */
33
+ ExclusionId: string;
34
+ };
35
+ /**
36
+ * Type definition for `AWS::EC2::VPCBlockPublicAccessExclusion.Tag`.
37
+ * A key-value pair to associate with a resource.
38
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpcblockpublicaccessexclusion-tag.html}
39
+ */
40
+ export type Tag = {
41
+ /**
42
+ * 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 -.
43
+ * @minLength `1`
44
+ * @maxLength `128`
45
+ */
46
+ Key: string;
47
+ /**
48
+ * 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 -.
49
+ * @minLength `0`
50
+ * @maxLength `256`
51
+ */
52
+ Value: string;
53
+ };
54
+ /**
55
+ * Resource Type definition for AWS::EC2::VPCBlockPublicAccessExclusion.
56
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html}
57
+ */
58
+ export declare class EC2VPCBlockPublicAccessExclusion extends $Resource<"AWS::EC2::VPCBlockPublicAccessExclusion", EC2VPCBlockPublicAccessExclusionProperties, EC2VPCBlockPublicAccessExclusionAttributes> {
59
+ static readonly Type = "AWS::EC2::VPCBlockPublicAccessExclusion";
60
+ constructor(logicalId: string, properties: EC2VPCBlockPublicAccessExclusionProperties, options?: $ResourceOptions);
61
+ }
62
+ //# sourceMappingURL=AWS-EC2-VPCBlockPublicAccessExclusion.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource Type definition for AWS::EC2::VPCBlockPublicAccessExclusion.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html}
5
+ */
6
+ export class EC2VPCBlockPublicAccessExclusion extends $Resource {
7
+ static Type = "AWS::EC2::VPCBlockPublicAccessExclusion";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, EC2VPCBlockPublicAccessExclusion.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-EC2-VPCBlockPublicAccessExclusion.js.map
@@ -0,0 +1,31 @@
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
+ * Resource Type definition for AWS::EC2::VPCBlockPublicAccessOptions
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessoptions.html}
6
+ */
7
+ export type EC2VPCBlockPublicAccessOptionsProperties = {
8
+ /**
9
+ * The desired Block Public Access mode for Internet Gateways in your account. We do not allow to create in a off mode as this is the default value
10
+ */
11
+ InternetGatewayBlockMode: "block-bidirectional" | "block-ingress";
12
+ };
13
+ /**
14
+ * Attribute type definition for `AWS::EC2::VPCBlockPublicAccessOptions`.
15
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessoptions.html#aws-resource-ec2-vpcblockpublicaccessoptions-return-values}
16
+ */
17
+ export type EC2VPCBlockPublicAccessOptionsAttributes = {
18
+ /**
19
+ * The identifier for the specified AWS account.
20
+ */
21
+ AccountId: string;
22
+ };
23
+ /**
24
+ * Resource Type definition for AWS::EC2::VPCBlockPublicAccessOptions
25
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessoptions.html}
26
+ */
27
+ export declare class EC2VPCBlockPublicAccessOptions extends $Resource<"AWS::EC2::VPCBlockPublicAccessOptions", EC2VPCBlockPublicAccessOptionsProperties, EC2VPCBlockPublicAccessOptionsAttributes> {
28
+ static readonly Type = "AWS::EC2::VPCBlockPublicAccessOptions";
29
+ constructor(logicalId: string, properties: EC2VPCBlockPublicAccessOptionsProperties, options?: $ResourceOptions);
30
+ }
31
+ //# sourceMappingURL=AWS-EC2-VPCBlockPublicAccessOptions.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource Type definition for AWS::EC2::VPCBlockPublicAccessOptions
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessoptions.html}
5
+ */
6
+ export class EC2VPCBlockPublicAccessOptions extends $Resource {
7
+ static Type = "AWS::EC2::VPCBlockPublicAccessOptions";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, EC2VPCBlockPublicAccessOptions.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-EC2-VPCBlockPublicAccessOptions.js.map
@@ -33,11 +33,11 @@ export type ElasticLoadBalancingV2ListenerProperties = {
33
33
  */
34
34
  MutualAuthentication?: MutualAuthentication;
35
35
  /**
36
- * The port on which the load balancer is listening. You cannot specify a port for a Gateway Load Balancer.
36
+ * The port on which the load balancer is listening. You can't specify a port for a Gateway Load Balancer.
37
37
  */
38
38
  Port?: number;
39
39
  /**
40
- * The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
40
+ * The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load Balancer.
41
41
  */
42
42
  Protocol?: string;
43
43
  /**
@@ -305,7 +305,7 @@ export type RedirectConfig = {
305
305
  */
306
306
  Port?: string;
307
307
  /**
308
- * The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.
308
+ * The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.
309
309
  */
310
310
  Protocol?: string;
311
311
  /**
@@ -322,7 +322,7 @@ export type RedirectConfig = {
322
322
  */
323
323
  Port?: string;
324
324
  /**
325
- * The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.
325
+ * The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.
326
326
  */
327
327
  Protocol?: string;
328
328
  /**
@@ -26,7 +26,7 @@ export type SageMakerInferenceComponentProperties = {
26
26
  /**
27
27
  * The runtime config for the inference component
28
28
  */
29
- RuntimeConfig: InferenceComponentRuntimeConfig;
29
+ RuntimeConfig?: InferenceComponentRuntimeConfig;
30
30
  /**
31
31
  * The specification for the inference component
32
32
  */
@@ -41,7 +41,7 @@ export type SageMakerInferenceComponentProperties = {
41
41
  * @maxLength `63`
42
42
  * @pattern `^[a-zA-Z0-9](-*[a-zA-Z0-9])*$`
43
43
  */
44
- VariantName: string;
44
+ VariantName?: string;
45
45
  };
46
46
  /**
47
47
  * Attribute type definition for `AWS::SageMaker::InferenceComponent`.
@@ -186,7 +186,13 @@ export type InferenceComponentRuntimeConfig = {
186
186
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentspecification.html}
187
187
  */
188
188
  export type InferenceComponentSpecification = {
189
- ComputeResourceRequirements: InferenceComponentComputeResourceRequirements;
189
+ /**
190
+ * The name of the base inference component
191
+ * @maxLength `63`
192
+ * @pattern `^[a-zA-Z0-9](-*[a-zA-Z0-9])*$`
193
+ */
194
+ BaseInferenceComponentName?: string;
195
+ ComputeResourceRequirements?: InferenceComponentComputeResourceRequirements;
190
196
  Container?: InferenceComponentContainerSpecification;
191
197
  /**
192
198
  * The name of the model to use with the inference component
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.198",
3
+ "version": "0.1.199",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },