@awboost/cfn-resource-types 0.1.431 → 0.1.432

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.
@@ -61,11 +61,32 @@ export type CURReportDefinitionProperties = {
61
61
  * The region of the S3 bucket that AWS delivers the report into.
62
62
  */
63
63
  S3Region: string;
64
+ /**
65
+ * @minLength `0`
66
+ * @maxLength `100`
67
+ */
68
+ Tags?: Tag[];
64
69
  /**
65
70
  * The granularity of the line items in the report.
66
71
  */
67
72
  TimeUnit: "HOURLY" | "DAILY" | "MONTHLY";
68
73
  };
74
+ /**
75
+ * Type definition for `AWS::CUR::ReportDefinition.Tag`.
76
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cur-reportdefinition-tag.html}
77
+ */
78
+ export type Tag = {
79
+ /**
80
+ * @minLength `1`
81
+ * @maxLength `128`
82
+ */
83
+ Key: string;
84
+ /**
85
+ * @minLength `0`
86
+ * @maxLength `256`
87
+ */
88
+ Value: string;
89
+ };
69
90
  /**
70
91
  * The AWS::CUR::ReportDefinition resource creates a Cost & Usage Report with user-defined settings. You can use this resource to define settings like time granularity (hourly, daily, monthly), file format (Parquet, CSV), and S3 bucket for delivery of these reports.
71
92
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html}
@@ -1,7 +1,7 @@
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
- * Resource schema for AWS::DataSync::LocationSMB.
4
+ * Resource Type definition for AWS::DataSync::LocationSMB.
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html}
6
6
  */
7
7
  export type DataSyncLocationSMBProperties = {
@@ -15,6 +15,14 @@ export type DataSyncLocationSMBProperties = {
15
15
  * The authentication mode used to determine identity of user.
16
16
  */
17
17
  AuthenticationType?: "NTLM" | "KERBEROS";
18
+ /**
19
+ * Specifies configuration information for a DataSync-managed secret, such as a password or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.
20
+ */
21
+ CmkSecretConfig?: CmkSecretConfig;
22
+ /**
23
+ * Specifies configuration information for a customer-managed secret, such as a password or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.
24
+ */
25
+ CustomSecretConfig?: CustomSecretConfig;
18
26
  /**
19
27
  * Specifies the IPv4 addresses for the DNS servers that your SMB file server belongs to. This parameter applies only if AuthenticationType is set to KERBEROS. If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right SMB file server.
20
28
  * @maxLength `2`
@@ -82,6 +90,17 @@ export type DataSyncLocationSMBProperties = {
82
90
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html#aws-resource-datasync-locationsmb-return-values}
83
91
  */
84
92
  export type DataSyncLocationSMBAttributes = {
93
+ /**
94
+ * Specifies configuration information for a DataSync-managed secret, such as a password or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.
95
+ */
96
+ CmkSecretConfig: {
97
+ /**
98
+ * Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.
99
+ * @maxLength `2048`
100
+ * @pattern `^(arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):secretsmanager:[a-z-0-9]+:[0-9]{12}:secret:.*|)$`
101
+ */
102
+ SecretArn: string;
103
+ };
85
104
  /**
86
105
  * The Amazon Resource Name (ARN) of the SMB location that is created.
87
106
  * @maxLength `128`
@@ -94,6 +113,62 @@ export type DataSyncLocationSMBAttributes = {
94
113
  * @pattern `^(efs|nfs|s3|smb|fsxw)://[a-zA-Z0-9./\-]+$`
95
114
  */
96
115
  LocationUri: string;
116
+ /**
117
+ * Specifies configuration information for a DataSync-managed secret, such as a password or set of credentials that DataSync uses to access a specific transfer location. DataSync uses the default AWS-managed KMS key to encrypt this secret in AWS Secrets Manager.
118
+ */
119
+ ManagedSecretConfig: {
120
+ /**
121
+ * Specifies the ARN for an AWS Secrets Manager secret.
122
+ * @maxLength `2048`
123
+ * @pattern `^(arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):secretsmanager:[a-z-0-9]+:[0-9]{12}:secret:.*|)$`
124
+ */
125
+ SecretArn: string;
126
+ };
127
+ };
128
+ /**
129
+ * Type definition for `AWS::DataSync::LocationSMB.CmkSecretConfig`.
130
+ * Specifies configuration information for a DataSync-managed secret, such as a password or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.
131
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationsmb-cmksecretconfig.html}
132
+ */
133
+ export type CmkSecretConfig = {
134
+ /**
135
+ * Specifies the ARN for the customer-managed AWS KMS key used to encrypt the secret specified for SecretArn. DataSync provides this key to AWS Secrets Manager.
136
+ * @maxLength `2048`
137
+ * @pattern `^(arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):kms:[a-z-0-9]+:[0-9]{12}:key/.*|)$`
138
+ */
139
+ KmsKeyArn?: string;
140
+ };
141
+ /**
142
+ * Type definition for `AWS::DataSync::LocationSMB.CustomSecretConfig`.
143
+ * Specifies configuration information for a customer-managed secret, such as a password or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.
144
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationsmb-customsecretconfig.html}
145
+ */
146
+ export type CustomSecretConfig = {
147
+ /**
148
+ * Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
149
+ * @maxLength `2048`
150
+ * @pattern `^(arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*|)$`
151
+ */
152
+ SecretAccessRoleArn: string;
153
+ /**
154
+ * Specifies the ARN for a customer created AWS Secrets Manager secret.
155
+ * @maxLength `2048`
156
+ * @pattern `^(arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):secretsmanager:[a-z-0-9]+:[0-9]{12}:secret:.*|)$`
157
+ */
158
+ SecretArn: string;
159
+ };
160
+ /**
161
+ * Type definition for `AWS::DataSync::LocationSMB.ManagedSecretConfig`.
162
+ * Specifies configuration information for a DataSync-managed secret, such as a password or set of credentials that DataSync uses to access a specific transfer location. DataSync uses the default AWS-managed KMS key to encrypt this secret in AWS Secrets Manager.
163
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationsmb-managedsecretconfig.html}
164
+ */
165
+ export type ManagedSecretConfig = {
166
+ /**
167
+ * Specifies the ARN for an AWS Secrets Manager secret.
168
+ * @maxLength `2048`
169
+ * @pattern `^(arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):secretsmanager:[a-z-0-9]+:[0-9]{12}:secret:.*|)$`
170
+ */
171
+ SecretArn: string;
97
172
  };
98
173
  /**
99
174
  * Type definition for `AWS::DataSync::LocationSMB.MountOptions`.
@@ -128,7 +203,7 @@ export type Tag = {
128
203
  Value: string;
129
204
  };
130
205
  /**
131
- * Resource schema for AWS::DataSync::LocationSMB.
206
+ * Resource Type definition for AWS::DataSync::LocationSMB.
132
207
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html}
133
208
  */
134
209
  export declare class DataSyncLocationSMB extends $Resource<"AWS::DataSync::LocationSMB", DataSyncLocationSMBProperties, DataSyncLocationSMBAttributes> {
@@ -1,6 +1,6 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource schema for AWS::DataSync::LocationSMB.
3
+ * Resource Type definition for AWS::DataSync::LocationSMB.
4
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html}
5
5
  */
6
6
  export class DataSyncLocationSMB extends $Resource {
@@ -33,6 +33,9 @@ export type ECSServiceProperties = {
33
33
  /**
34
34
  * Indicates whether to use Availability Zone rebalancing for the service.
35
35
  For more information, see [Balancing an Amazon ECS service across Availability Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) in the *Amazon Elastic Container Service Developer Guide*.
36
+ The default behavior of ``AvailabilityZoneRebalancing`` differs between create and update requests:
37
+ + For create service requests, when no value is specified for ``AvailabilityZoneRebalancing``, Amazon ECS defaults the value to ``ENABLED``.
38
+ + For update service requests, when no value is specified for ``AvailabilityZoneRebalancing``, Amazon ECS defaults to the existing service’s ``AvailabilityZoneRebalancing`` value. If the service never had an ``AvailabilityZoneRebalancing`` value set, Amazon ECS treats this as ``DISABLED``.
36
39
  */
37
40
  AvailabilityZoneRebalancing?: "ENABLED" | "DISABLED";
38
41
  /**
@@ -74,8 +77,8 @@ export type ECSServiceProperties = {
74
77
  */
75
78
  ForceNewDeployment?: ForceNewDeployment;
76
79
  /**
77
- * The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you don't specify a health check grace period value, the default value of ``0`` is used. If you don't use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused.
78
- If your service's tasks take a while to start and respond to health checks, you can specify a health check grace period of up to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS service scheduler ignores health check status. This grace period can prevent the service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.
80
+ * The period of time, in seconds, that the Amazon Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you do not specify a health check grace period value, the default value of 0 is used. If you do not use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused.
81
+ If your service has more running tasks than desired, unhealthy tasks in the grace period might be stopped to reach the desired count.
79
82
  */
80
83
  HealthCheckGracePeriodSeconds?: number;
81
84
  /**
@@ -344,7 +347,7 @@ export type DeploymentConfiguration = {
344
347
  MaximumPercent?: number;
345
348
  /**
346
349
  * If a service is using the rolling update (``ECS``) deployment type, the ``minimumHealthyPercent`` represents a lower limit on the number of your service's tasks that must remain in the ``RUNNING`` state during a deployment, as a percentage of the ``desiredCount`` (rounded up to the nearest integer). This parameter enables you to deploy without using additional cluster capacity. For example, if your service has a ``desiredCount`` of four tasks and a ``minimumHealthyPercent`` of 50%, the service scheduler may stop two existing tasks to free up cluster capacity before starting two new tasks.
347
- If any tasks are unhealthy and if ``maximumPercent`` doesn't allow the Amazon ECS scheduler to start replacement tasks, the scheduler stops the unhealthy tasks one-by-one — using the ``minimumHealthyPercent`` as a constraint — to clear up capacity to launch replacement tasks. For more information about how the scheduler replaces unhealthy tasks, see [Amazon ECS services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html) .
350
+ If any tasks are unhealthy and if ``maximumPercent`` doesn't allow the Amazon ECS scheduler to start replacement tasks, the scheduler stops the unhealthy tasks one-by-one — using the ``minimumHealthyPercent`` as a constraint — to clear up capacity to launch replacement tasks. For more information about how the scheduler replaces unhealthy tasks, see [Amazon ECS services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html).
348
351
  For services that *do not* use a load balancer, the following should be noted:
349
352
  + A service is considered healthy if all essential containers within the tasks in the service pass their health checks.
350
353
  + If a task has no essential containers with a health check defined, the service scheduler will wait for 40 seconds after a task reaches a ``RUNNING`` state before the task is counted towards the minimum healthy percent total.
@@ -419,6 +422,10 @@ export type DeploymentController = {
419
422
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentlifecyclehook.html}
420
423
  */
421
424
  export type DeploymentLifecycleHook = {
425
+ /**
426
+ * Use this field to specify custom parameters that ECS passes to your hook target invocations (such as a Lambda function).
427
+ This field must be a JSON object as a string.
428
+ */
422
429
  HookDetails?: string | Record<string, any>;
423
430
  /**
424
431
  * The Amazon Resource Name (ARN) of the hook target. Currently, only Lambda function ARNs are supported.
@@ -125,6 +125,10 @@ export type ImageTestsConfiguration = {
125
125
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-schedule.html}
126
126
  */
127
127
  export type Schedule = {
128
+ /**
129
+ * The auto-disable policy for the image pipeline.
130
+ */
131
+ AutoDisablePolicy?: any;
128
132
  /**
129
133
  * The condition configures when the pipeline should trigger a new image build.
130
134
  */
@@ -41,9 +41,9 @@ export type PCSComputeNodeGroupProperties = {
41
41
  */
42
42
  Name?: string;
43
43
  /**
44
- * Specifies how EC2 instances are purchased on your behalf. AWS PCS supports On-Demand and Spot instances. For more information, see Instance purchasing options in the Amazon Elastic Compute Cloud User Guide. If you don't provide this option, it defaults to On-Demand.
44
+ * Specifies how EC2 instances are purchased on your behalf. AWS PCS supports On-Demand, Spot and Capacity Block instances. For more information, see Instance purchasing options in the Amazon Elastic Compute Cloud User Guide. If you don't provide this option, it defaults to On-Demand.
45
45
  */
46
- PurchaseOption?: "ONDEMAND" | "SPOT";
46
+ PurchaseOption?: "ONDEMAND" | "SPOT" | "CAPACITY_BLOCK";
47
47
  /**
48
48
  * Specifies the boundaries of the compute node group auto scaling.
49
49
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.431",
3
+ "version": "0.1.432",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },