@awboost/cfn-resource-types 0.1.437 → 0.1.439
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-AmazonMQ-Broker.d.ts +77 -5
- package/lib/AWS-AmazonMQ-Broker.js +1 -1
- package/lib/AWS-Bedrock-DataAutomationProject.d.ts +30 -0
- package/lib/AWS-CloudFront-CachePolicy.d.ts +2 -1
- package/lib/AWS-CloudFront-Distribution.d.ts +15 -4
- package/lib/AWS-ECS-CapacityProvider.d.ts +144 -0
- package/lib/AWS-ServiceCatalog-PortfolioPrincipalAssociation.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,30 +1,59 @@
|
|
|
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
|
|
4
|
+
* Resource type definition for AWS::AmazonMQ::Broker
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html}
|
|
6
6
|
*/
|
|
7
7
|
export type AmazonMQBrokerProperties = {
|
|
8
8
|
AuthenticationStrategy?: string;
|
|
9
9
|
AutoMinorVersionUpgrade?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* @pattern `^[0-9A-Za-z_-]{1,50}$`
|
|
12
|
+
*/
|
|
10
13
|
BrokerName: string;
|
|
14
|
+
/**
|
|
15
|
+
* The intended configuration (ID and revision) to be set when creating or updating.
|
|
16
|
+
This property is write-only so that applications of a ConfigurationAssociation do not cause drift.
|
|
17
|
+
|
|
18
|
+
*/
|
|
11
19
|
Configuration?: ConfigurationId;
|
|
12
20
|
DataReplicationMode?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The ARN of the primary broker that is used to replicate data from in a data replication pair when creating a replica.
|
|
23
|
+
This field is only used at creation-time. Changes to it subsequently are ignored by CloudFormation.
|
|
24
|
+
Information on the current primary is available on the DataReplicationMetadata object returned by the API.
|
|
25
|
+
|
|
26
|
+
* @pattern `^arn:.*`
|
|
27
|
+
*/
|
|
13
28
|
DataReplicationPrimaryBrokerArn?: string;
|
|
14
29
|
DeploymentMode: string;
|
|
15
30
|
EncryptionOptions?: EncryptionOptions;
|
|
16
31
|
EngineType: string;
|
|
32
|
+
/**
|
|
33
|
+
* The version specified to use. See also EngineVersionCurrent.
|
|
34
|
+
*/
|
|
17
35
|
EngineVersion?: string;
|
|
18
36
|
HostInstanceType: string;
|
|
19
37
|
LdapServerMetadata?: LdapServerMetadata;
|
|
20
38
|
Logs?: LogList;
|
|
21
39
|
MaintenanceWindowStartTime?: MaintenanceWindow;
|
|
22
40
|
PubliclyAccessible: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @minLength `1`
|
|
43
|
+
* @maxLength `5`
|
|
44
|
+
*/
|
|
23
45
|
SecurityGroups?: string[];
|
|
24
46
|
StorageType?: string;
|
|
25
47
|
SubnetIds?: string[];
|
|
26
48
|
Tags?: TagsEntry[];
|
|
27
|
-
|
|
49
|
+
/**
|
|
50
|
+
* Users to configure on the broker.
|
|
51
|
+
For RabbitMQ, this should be one user, created when the broker is created, and changes thereafter are ignored.
|
|
52
|
+
For ActiveMQ, changes to anything but Password are detected and will trigger an update,
|
|
53
|
+
but changes to Password cannot be detected so updates to Password may not take effect unless there is some other change.
|
|
54
|
+
|
|
55
|
+
*/
|
|
56
|
+
Users?: User[];
|
|
28
57
|
};
|
|
29
58
|
/**
|
|
30
59
|
* Attribute type definition for `AWS::AmazonMQ::Broker`.
|
|
@@ -32,10 +61,23 @@ export type AmazonMQBrokerProperties = {
|
|
|
32
61
|
*/
|
|
33
62
|
export type AmazonMQBrokerAttributes = {
|
|
34
63
|
AmqpEndpoints: string[];
|
|
64
|
+
/**
|
|
65
|
+
* @pattern `^arn:.*`
|
|
66
|
+
*/
|
|
35
67
|
Arn: string;
|
|
68
|
+
/**
|
|
69
|
+
* The ID of the current actual configuration.
|
|
70
|
+
*/
|
|
36
71
|
ConfigurationId: string;
|
|
37
|
-
|
|
72
|
+
/**
|
|
73
|
+
* The revision of the current actual configuration.
|
|
74
|
+
*/
|
|
75
|
+
ConfigurationRevision: string;
|
|
38
76
|
ConsoleURLs: string[];
|
|
77
|
+
/**
|
|
78
|
+
* The version in use. This may have more precision than the specified EngineVersion.
|
|
79
|
+
*/
|
|
80
|
+
EngineVersionCurrent: string;
|
|
39
81
|
Id: string;
|
|
40
82
|
IpAddresses: string[];
|
|
41
83
|
MqttEndpoints: string[];
|
|
@@ -56,6 +98,13 @@ export type ConfigurationId = {
|
|
|
56
98
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-encryptionoptions.html}
|
|
57
99
|
*/
|
|
58
100
|
export type EncryptionOptions = {
|
|
101
|
+
/**
|
|
102
|
+
* The customer master key (CMK) to use for the A KMS (KMS).
|
|
103
|
+
This key is used to encrypt your data at rest. If not provided, Amazon MQ will use a default CMK to encrypt your data.
|
|
104
|
+
The Key ARN is recommended so that drift can be detected,
|
|
105
|
+
but a key ID or key alias will also be accepted for API compatibility reasons.
|
|
106
|
+
|
|
107
|
+
*/
|
|
59
108
|
KmsKeyId?: string;
|
|
60
109
|
UseAwsOwnedKey: boolean;
|
|
61
110
|
};
|
|
@@ -69,7 +118,7 @@ export type LdapServerMetadata = {
|
|
|
69
118
|
RoleName?: string;
|
|
70
119
|
RoleSearchMatching: string;
|
|
71
120
|
RoleSearchSubtree?: boolean;
|
|
72
|
-
ServiceAccountPassword
|
|
121
|
+
ServiceAccountPassword?: string;
|
|
73
122
|
ServiceAccountUsername: string;
|
|
74
123
|
UserBase: string;
|
|
75
124
|
UserRoleName?: string;
|
|
@@ -89,8 +138,21 @@ export type LogList = {
|
|
|
89
138
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html}
|
|
90
139
|
*/
|
|
91
140
|
export type MaintenanceWindow = {
|
|
141
|
+
/**
|
|
142
|
+
* _Allowed Values_: <code>MONDAY</code> | <code>TUESDAY</code> | <code>WEDNESDAY</code> | <code>THURSDAY</code> | <code>FRIDAY</code> | <code>SATURDAY</code> | <code>SUNDAY</code>
|
|
143
|
+
|
|
144
|
+
*/
|
|
92
145
|
DayOfWeek: string;
|
|
146
|
+
/**
|
|
147
|
+
* The time, in 24-hour format, and use only numbers separated by a colon, HH:MM or HH:MM:SS. Example: 13:05.
|
|
148
|
+
When writing YAML this may need to be quoted to prevent a timestamp being read and converted to a number of minutes or seconds.
|
|
149
|
+
|
|
150
|
+
* @pattern `^[0-9]{1,2}:[0-9]{2}(:[0-9]{2})?$`
|
|
151
|
+
*/
|
|
93
152
|
TimeOfDay: string;
|
|
153
|
+
/**
|
|
154
|
+
* The time zone, UTC by default, in either the Country/City format, or the UTC offset format.
|
|
155
|
+
*/
|
|
94
156
|
TimeZone: string;
|
|
95
157
|
};
|
|
96
158
|
/**
|
|
@@ -107,13 +169,23 @@ export type TagsEntry = {
|
|
|
107
169
|
*/
|
|
108
170
|
export type User = {
|
|
109
171
|
ConsoleAccess?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* @maxLength `20`
|
|
174
|
+
*/
|
|
110
175
|
Groups?: string[];
|
|
176
|
+
/**
|
|
177
|
+
* @minLength `12`
|
|
178
|
+
* @pattern `^[^,:=]+$`
|
|
179
|
+
*/
|
|
111
180
|
Password: string;
|
|
112
181
|
ReplicationUser?: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* @pattern `^[A-Za-z0-9_.~-]{2,100}$`
|
|
184
|
+
*/
|
|
113
185
|
Username: string;
|
|
114
186
|
};
|
|
115
187
|
/**
|
|
116
|
-
* Resource
|
|
188
|
+
* Resource type definition for AWS::AmazonMQ::Broker
|
|
117
189
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html}
|
|
118
190
|
*/
|
|
119
191
|
export declare class AmazonMQBroker extends $Resource<"AWS::AmazonMQ::Broker", AmazonMQBrokerProperties, AmazonMQBrokerAttributes> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
* Resource
|
|
3
|
+
* Resource type definition for AWS::AmazonMQ::Broker
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html}
|
|
5
5
|
*/
|
|
6
6
|
export class AmazonMQBroker extends $Resource {
|
|
@@ -76,6 +76,7 @@ export type BedrockDataAutomationProjectAttributes = {
|
|
|
76
76
|
*/
|
|
77
77
|
export type AudioExtractionCategory = {
|
|
78
78
|
State: State;
|
|
79
|
+
TypeConfiguration?: AudioExtractionCategoryTypeConfiguration;
|
|
79
80
|
Types?: AudioExtractionCategoryType[];
|
|
80
81
|
};
|
|
81
82
|
/**
|
|
@@ -83,6 +84,13 @@ export type AudioExtractionCategory = {
|
|
|
83
84
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audioextractioncategorytype.html}
|
|
84
85
|
*/
|
|
85
86
|
export type AudioExtractionCategoryType = "AUDIO_CONTENT_MODERATION" | "TRANSCRIPT" | "TOPIC_CONTENT_MODERATION";
|
|
87
|
+
/**
|
|
88
|
+
* Type definition for `AWS::Bedrock::DataAutomationProject.AudioExtractionCategoryTypeConfiguration`.
|
|
89
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audioextractioncategorytypeconfiguration.html}
|
|
90
|
+
*/
|
|
91
|
+
export type AudioExtractionCategoryTypeConfiguration = {
|
|
92
|
+
Transcript?: TranscriptConfiguration;
|
|
93
|
+
};
|
|
86
94
|
/**
|
|
87
95
|
* Type definition for `AWS::Bedrock::DataAutomationProject.AudioOverrideConfiguration`.
|
|
88
96
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audiooverrideconfiguration.html}
|
|
@@ -147,6 +155,13 @@ export type BlueprintItem = {
|
|
|
147
155
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-blueprintstage.html}
|
|
148
156
|
*/
|
|
149
157
|
export type BlueprintStage = "DEVELOPMENT" | "LIVE";
|
|
158
|
+
/**
|
|
159
|
+
* Type definition for `AWS::Bedrock::DataAutomationProject.ChannelLabelingConfiguration`.
|
|
160
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-channellabelingconfiguration.html}
|
|
161
|
+
*/
|
|
162
|
+
export type ChannelLabelingConfiguration = {
|
|
163
|
+
State: State;
|
|
164
|
+
};
|
|
150
165
|
/**
|
|
151
166
|
* Type definition for `AWS::Bedrock::DataAutomationProject.CustomOutputConfiguration`.
|
|
152
167
|
* Custom output configuration
|
|
@@ -338,6 +353,13 @@ export type OverrideConfiguration = {
|
|
|
338
353
|
ModalityRouting?: ModalityRoutingConfiguration;
|
|
339
354
|
Video?: VideoOverrideConfiguration;
|
|
340
355
|
};
|
|
356
|
+
/**
|
|
357
|
+
* Type definition for `AWS::Bedrock::DataAutomationProject.SpeakerLabelingConfiguration`.
|
|
358
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-speakerlabelingconfiguration.html}
|
|
359
|
+
*/
|
|
360
|
+
export type SpeakerLabelingConfiguration = {
|
|
361
|
+
State: State;
|
|
362
|
+
};
|
|
341
363
|
/**
|
|
342
364
|
* Type definition for `AWS::Bedrock::DataAutomationProject.SplitterConfiguration`.
|
|
343
365
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-splitterconfiguration.html}
|
|
@@ -382,6 +404,14 @@ export type Tag = {
|
|
|
382
404
|
*/
|
|
383
405
|
Value: string;
|
|
384
406
|
};
|
|
407
|
+
/**
|
|
408
|
+
* Type definition for `AWS::Bedrock::DataAutomationProject.TranscriptConfiguration`.
|
|
409
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-transcriptconfiguration.html}
|
|
410
|
+
*/
|
|
411
|
+
export type TranscriptConfiguration = {
|
|
412
|
+
ChannelLabeling?: ChannelLabelingConfiguration;
|
|
413
|
+
SpeakerLabeling?: SpeakerLabelingConfiguration;
|
|
414
|
+
};
|
|
385
415
|
/**
|
|
386
416
|
* Type definition for `AWS::Bedrock::DataAutomationProject.VideoBoundingBox`.
|
|
387
417
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-videoboundingbox.html}
|
|
@@ -30,7 +30,8 @@ export type CloudFrontCachePolicyAttributes = {
|
|
|
30
30
|
This configuration determines the following:
|
|
31
31
|
+ The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
|
|
32
32
|
+ The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.
|
|
33
|
-
|
|
33
|
+
If your minimum TTL is greater than 0, CloudFront will cache content for at least the duration specified in the cache policy's minimum TTL, even if the ``Cache-Control: no-cache``, ``no-store``, or ``private`` directives are present in the origin headers.
|
|
34
|
+
|
|
34
35
|
The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but *not* include them in the cache key, use ``OriginRequestPolicy``.
|
|
35
36
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html}
|
|
36
37
|
*/
|
|
@@ -31,7 +31,8 @@ export type CloudFrontDistributionAttributes = {
|
|
|
31
31
|
If you don't want to specify any cache behaviors, include only an empty ``CacheBehaviors`` element. Don't specify an empty individual ``CacheBehavior`` element, because this is invalid. For more information, see [CacheBehaviors](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CacheBehaviors.html).
|
|
32
32
|
To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty ``CacheBehaviors`` element.
|
|
33
33
|
To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.
|
|
34
|
-
|
|
34
|
+
If your minimum TTL is greater than 0, CloudFront will cache content for at least the duration specified in the cache policy's minimum TTL, even if the ``Cache-Control: no-cache``, ``no-store``, or ``private`` directives are present in the origin headers.
|
|
35
|
+
For more information about cache behaviors, see [Cache Behavior Settings](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesCacheBehavior) in the *Amazon CloudFront Developer Guide*.
|
|
35
36
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html}
|
|
36
37
|
*/
|
|
37
38
|
export type CacheBehavior = {
|
|
@@ -254,7 +255,7 @@ export type CustomOriginConfig = {
|
|
|
254
255
|
OriginProtocolPolicy: string;
|
|
255
256
|
/**
|
|
256
257
|
* Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the *origin response timeout*. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.
|
|
257
|
-
For more information, see [Response timeout
|
|
258
|
+
For more information, see [Response timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout) in the *Amazon CloudFront Developer Guide*.
|
|
258
259
|
*/
|
|
259
260
|
OriginReadTimeout?: number;
|
|
260
261
|
/**
|
|
@@ -266,6 +267,7 @@ export type CustomOriginConfig = {
|
|
|
266
267
|
/**
|
|
267
268
|
* Type definition for `AWS::CloudFront::Distribution.DefaultCacheBehavior`.
|
|
268
269
|
* A complex type that describes the default cache behavior if you don't specify a ``CacheBehavior`` element or if request URLs don't match any of the values of ``PathPattern`` in ``CacheBehavior`` elements. You must create exactly one default cache behavior.
|
|
270
|
+
If your minimum TTL is greater than 0, CloudFront will cache content for at least the duration specified in the cache policy's minimum TTL, even if the ``Cache-Control: no-cache``, ``no-store``, or ``private`` directives are present in the origin headers.
|
|
269
271
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html}
|
|
270
272
|
*/
|
|
271
273
|
export type DefaultCacheBehavior = {
|
|
@@ -412,7 +414,7 @@ export type DistributionConfig = {
|
|
|
412
414
|
*/
|
|
413
415
|
Comment?: string;
|
|
414
416
|
/**
|
|
415
|
-
* This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants(tenant-only).
|
|
417
|
+
* This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).
|
|
416
418
|
*/
|
|
417
419
|
ConnectionMode?: ConnectionMode;
|
|
418
420
|
/**
|
|
@@ -767,6 +769,11 @@ export type Origin = {
|
|
|
767
769
|
For more information, see [Using Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) in the *Amazon CloudFront Developer Guide*.
|
|
768
770
|
*/
|
|
769
771
|
OriginShield?: OriginShield;
|
|
772
|
+
/**
|
|
773
|
+
* The time (in seconds) that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection.
|
|
774
|
+
The value for ``ResponseCompletionTimeout`` must be equal to or greater than the value for ``OriginReadTimeout``. If you don't set a value for ``ResponseCompletionTimeout``, CloudFront doesn't enforce a maximum value.
|
|
775
|
+
For more information, see [Response completion timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout) in the *Amazon CloudFront Developer Guide*.
|
|
776
|
+
*/
|
|
770
777
|
ResponseCompletionTimeout?: number;
|
|
771
778
|
/**
|
|
772
779
|
* Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead.
|
|
@@ -941,6 +948,10 @@ export type S3OriginConfig = {
|
|
|
941
948
|
For more information about the origin access identity, see [Serving Private Content through CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*.
|
|
942
949
|
*/
|
|
943
950
|
OriginAccessIdentity?: string;
|
|
951
|
+
/**
|
|
952
|
+
* Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the *origin response timeout*. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.
|
|
953
|
+
For more information, see [Response timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout) in the *Amazon CloudFront Developer Guide*.
|
|
954
|
+
*/
|
|
944
955
|
OriginReadTimeout?: number;
|
|
945
956
|
};
|
|
946
957
|
/**
|
|
@@ -1051,7 +1062,7 @@ export type VpcOriginConfig = {
|
|
|
1051
1062
|
OriginKeepaliveTimeout?: number;
|
|
1052
1063
|
/**
|
|
1053
1064
|
* Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the *origin response timeout*. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.
|
|
1054
|
-
For more information, see [Response timeout
|
|
1065
|
+
For more information, see [Response timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout) in the *Amazon CloudFront Developer Guide*.
|
|
1055
1066
|
*/
|
|
1056
1067
|
OriginReadTimeout?: number;
|
|
1057
1068
|
/**
|
|
@@ -6,9 +6,27 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
6
6
|
*/
|
|
7
7
|
export type ECSCapacityProviderProperties = {
|
|
8
8
|
AutoScalingGroupProvider?: AutoScalingGroupProvider;
|
|
9
|
+
ClusterName?: string;
|
|
10
|
+
ManagedInstancesProvider?: ManagedInstancesProvider;
|
|
9
11
|
Name?: string;
|
|
10
12
|
Tags?: Tag[];
|
|
11
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* Type definition for `AWS::ECS::CapacityProvider.AcceleratorCountRequest`.
|
|
16
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-acceleratorcountrequest.html}
|
|
17
|
+
*/
|
|
18
|
+
export type AcceleratorCountRequest = {
|
|
19
|
+
Max?: number;
|
|
20
|
+
Min?: number;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Type definition for `AWS::ECS::CapacityProvider.AcceleratorTotalMemoryMiBRequest`.
|
|
24
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-acceleratortotalmemorymibrequest.html}
|
|
25
|
+
*/
|
|
26
|
+
export type AcceleratorTotalMemoryMiBRequest = {
|
|
27
|
+
Max?: number;
|
|
28
|
+
Min?: number;
|
|
29
|
+
};
|
|
12
30
|
/**
|
|
13
31
|
* Type definition for `AWS::ECS::CapacityProvider.AutoScalingGroupProvider`.
|
|
14
32
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-autoscalinggroupprovider.html}
|
|
@@ -22,6 +40,84 @@ export type AutoScalingGroupProvider = {
|
|
|
22
40
|
ManagedScaling?: ManagedScaling;
|
|
23
41
|
ManagedTerminationProtection?: "DISABLED" | "ENABLED";
|
|
24
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* Type definition for `AWS::ECS::CapacityProvider.BaselineEbsBandwidthMbpsRequest`.
|
|
45
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-baselineebsbandwidthmbpsrequest.html}
|
|
46
|
+
*/
|
|
47
|
+
export type BaselineEbsBandwidthMbpsRequest = {
|
|
48
|
+
Max?: number;
|
|
49
|
+
Min?: number;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Type definition for `AWS::ECS::CapacityProvider.InstanceLaunchTemplate`.
|
|
53
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-instancelaunchtemplate.html}
|
|
54
|
+
*/
|
|
55
|
+
export type InstanceLaunchTemplate = {
|
|
56
|
+
Ec2InstanceProfileArn: string;
|
|
57
|
+
InstanceRequirements?: InstanceRequirementsRequest;
|
|
58
|
+
Monitoring?: ManagedInstancesMonitoringOptions;
|
|
59
|
+
NetworkConfiguration: ManagedInstancesNetworkConfiguration;
|
|
60
|
+
StorageConfiguration?: ManagedInstancesStorageConfiguration;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Type definition for `AWS::ECS::CapacityProvider.InstanceRequirementsRequest`.
|
|
64
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-instancerequirementsrequest.html}
|
|
65
|
+
*/
|
|
66
|
+
export type InstanceRequirementsRequest = {
|
|
67
|
+
AcceleratorCount?: AcceleratorCountRequest;
|
|
68
|
+
AcceleratorManufacturers?: ("amazon-web-services" | "amd" | "habana" | "nvidia" | "xilinx")[];
|
|
69
|
+
AcceleratorNames?: ("a10g" | "a100" | "h100" | "inferentia" | "k520" | "k80" | "m60" | "radeon-pro-v520" | "t4" | "t4g" | "vu9p" | "v100")[];
|
|
70
|
+
AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest;
|
|
71
|
+
AcceleratorTypes?: ("gpu" | "fpga" | "inference")[];
|
|
72
|
+
AllowedInstanceTypes?: string[];
|
|
73
|
+
BareMetal?: "included" | "required" | "excluded";
|
|
74
|
+
BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest;
|
|
75
|
+
BurstablePerformance?: "included" | "required" | "excluded";
|
|
76
|
+
CpuManufacturers?: ("intel" | "amd" | "amazon-web-services")[];
|
|
77
|
+
ExcludedInstanceTypes?: string[];
|
|
78
|
+
InstanceGenerations?: ("current" | "previous")[];
|
|
79
|
+
LocalStorage?: "included" | "required" | "excluded";
|
|
80
|
+
LocalStorageTypes?: ("hdd" | "ssd")[];
|
|
81
|
+
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number;
|
|
82
|
+
MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
|
|
83
|
+
MemoryMiB: MemoryMiBRequest;
|
|
84
|
+
NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
|
|
85
|
+
NetworkInterfaceCount?: NetworkInterfaceCountRequest;
|
|
86
|
+
OnDemandMaxPricePercentageOverLowestPrice?: number;
|
|
87
|
+
RequireHibernateSupport?: boolean;
|
|
88
|
+
SpotMaxPricePercentageOverLowestPrice?: number;
|
|
89
|
+
TotalLocalStorageGB?: TotalLocalStorageGBRequest;
|
|
90
|
+
VCpuCount: VCpuCountRangeRequest;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Type definition for `AWS::ECS::CapacityProvider.ManagedInstancesMonitoringOptions`.
|
|
94
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesmonitoringoptions.html}
|
|
95
|
+
*/
|
|
96
|
+
export type ManagedInstancesMonitoringOptions = "BASIC" | "DETAILED";
|
|
97
|
+
/**
|
|
98
|
+
* Type definition for `AWS::ECS::CapacityProvider.ManagedInstancesNetworkConfiguration`.
|
|
99
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesnetworkconfiguration.html}
|
|
100
|
+
*/
|
|
101
|
+
export type ManagedInstancesNetworkConfiguration = {
|
|
102
|
+
SecurityGroups?: string[];
|
|
103
|
+
Subnets: string[];
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Type definition for `AWS::ECS::CapacityProvider.ManagedInstancesProvider`.
|
|
107
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesprovider.html}
|
|
108
|
+
*/
|
|
109
|
+
export type ManagedInstancesProvider = {
|
|
110
|
+
InfrastructureRoleArn: string;
|
|
111
|
+
InstanceLaunchTemplate: InstanceLaunchTemplate;
|
|
112
|
+
PropagateTags?: "CAPACITY_PROVIDER" | "NONE";
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Type definition for `AWS::ECS::CapacityProvider.ManagedInstancesStorageConfiguration`.
|
|
116
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesstorageconfiguration.html}
|
|
117
|
+
*/
|
|
118
|
+
export type ManagedInstancesStorageConfiguration = {
|
|
119
|
+
StorageSizeGiB: number;
|
|
120
|
+
};
|
|
25
121
|
/**
|
|
26
122
|
* Type definition for `AWS::ECS::CapacityProvider.ManagedScaling`.
|
|
27
123
|
* The managed scaling settings for the Auto Scaling group capacity provider.
|
|
@@ -34,6 +130,38 @@ export type ManagedScaling = {
|
|
|
34
130
|
Status?: "DISABLED" | "ENABLED";
|
|
35
131
|
TargetCapacity?: number;
|
|
36
132
|
};
|
|
133
|
+
/**
|
|
134
|
+
* Type definition for `AWS::ECS::CapacityProvider.MemoryGiBPerVCpuRequest`.
|
|
135
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-memorygibpervcpurequest.html}
|
|
136
|
+
*/
|
|
137
|
+
export type MemoryGiBPerVCpuRequest = {
|
|
138
|
+
Max?: number;
|
|
139
|
+
Min?: number;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Type definition for `AWS::ECS::CapacityProvider.MemoryMiBRequest`.
|
|
143
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-memorymibrequest.html}
|
|
144
|
+
*/
|
|
145
|
+
export type MemoryMiBRequest = {
|
|
146
|
+
Max?: number;
|
|
147
|
+
Min: number;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* Type definition for `AWS::ECS::CapacityProvider.NetworkBandwidthGbpsRequest`.
|
|
151
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-networkbandwidthgbpsrequest.html}
|
|
152
|
+
*/
|
|
153
|
+
export type NetworkBandwidthGbpsRequest = {
|
|
154
|
+
Max?: number;
|
|
155
|
+
Min?: number;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Type definition for `AWS::ECS::CapacityProvider.NetworkInterfaceCountRequest`.
|
|
159
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-networkinterfacecountrequest.html}
|
|
160
|
+
*/
|
|
161
|
+
export type NetworkInterfaceCountRequest = {
|
|
162
|
+
Max?: number;
|
|
163
|
+
Min?: number;
|
|
164
|
+
};
|
|
37
165
|
/**
|
|
38
166
|
* Type definition for `AWS::ECS::CapacityProvider.Tag`.
|
|
39
167
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-tag.html}
|
|
@@ -48,6 +176,22 @@ export type Tag = {
|
|
|
48
176
|
*/
|
|
49
177
|
Value?: string;
|
|
50
178
|
};
|
|
179
|
+
/**
|
|
180
|
+
* Type definition for `AWS::ECS::CapacityProvider.TotalLocalStorageGBRequest`.
|
|
181
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-totallocalstoragegbrequest.html}
|
|
182
|
+
*/
|
|
183
|
+
export type TotalLocalStorageGBRequest = {
|
|
184
|
+
Max?: number;
|
|
185
|
+
Min?: number;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Type definition for `AWS::ECS::CapacityProvider.VCpuCountRangeRequest`.
|
|
189
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-vcpucountrangerequest.html}
|
|
190
|
+
*/
|
|
191
|
+
export type VCpuCountRangeRequest = {
|
|
192
|
+
Max?: number;
|
|
193
|
+
Min: number;
|
|
194
|
+
};
|
|
51
195
|
/**
|
|
52
196
|
* Resource Type definition for AWS::ECS::CapacityProvider.
|
|
53
197
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html}
|
|
@@ -6,8 +6,8 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
6
6
|
*/
|
|
7
7
|
export type ServiceCatalogPortfolioPrincipalAssociationProperties = {
|
|
8
8
|
AcceptLanguage?: string;
|
|
9
|
-
PortfolioId
|
|
10
|
-
PrincipalARN
|
|
9
|
+
PortfolioId: string;
|
|
10
|
+
PrincipalARN: string;
|
|
11
11
|
PrincipalType: string;
|
|
12
12
|
};
|
|
13
13
|
/**
|