@awboost/cfn-resource-types 0.1.385 → 0.1.387
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-Batch-ServiceEnvironment.d.ts +40 -0
- package/lib/AWS-Batch-ServiceEnvironment.js +12 -0
- package/lib/AWS-EC2-Volume.d.ts +10 -0
- package/lib/AWS-Lambda-Version.d.ts +1 -1
- package/lib/AWS-MediaPackageV2-OriginEndpointPolicy.d.ts +17 -0
- package/lib/AWS-QuickSight-Topic.d.ts +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
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::Batch::ServiceEnvironment
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-serviceenvironment.html}
|
|
6
|
+
*/
|
|
7
|
+
export type BatchServiceEnvironmentProperties = {
|
|
8
|
+
CapacityLimits: CapacityLimit[];
|
|
9
|
+
ServiceEnvironmentName?: string;
|
|
10
|
+
ServiceEnvironmentType: string;
|
|
11
|
+
State?: string;
|
|
12
|
+
/**
|
|
13
|
+
* A key-value pair to associate with a resource.
|
|
14
|
+
*/
|
|
15
|
+
Tags?: Record<string, string>;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Attribute type definition for `AWS::Batch::ServiceEnvironment`.
|
|
19
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-serviceenvironment.html#aws-resource-batch-serviceenvironment-return-values}
|
|
20
|
+
*/
|
|
21
|
+
export type BatchServiceEnvironmentAttributes = {
|
|
22
|
+
ServiceEnvironmentArn: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Type definition for `AWS::Batch::ServiceEnvironment.CapacityLimit`.
|
|
26
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-serviceenvironment-capacitylimit.html}
|
|
27
|
+
*/
|
|
28
|
+
export type CapacityLimit = {
|
|
29
|
+
CapacityUnit?: string;
|
|
30
|
+
MaxCapacity?: number;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Resource Type definition for AWS::Batch::ServiceEnvironment
|
|
34
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-serviceenvironment.html}
|
|
35
|
+
*/
|
|
36
|
+
export declare class BatchServiceEnvironment extends $Resource<"AWS::Batch::ServiceEnvironment", BatchServiceEnvironmentProperties, BatchServiceEnvironmentAttributes> {
|
|
37
|
+
static readonly Type = "AWS::Batch::ServiceEnvironment";
|
|
38
|
+
constructor(logicalId: string, properties: BatchServiceEnvironmentProperties, options?: $ResourceOptions);
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=AWS-Batch-ServiceEnvironment.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::Batch::ServiceEnvironment
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-serviceenvironment.html}
|
|
5
|
+
*/
|
|
6
|
+
export class BatchServiceEnvironment extends $Resource {
|
|
7
|
+
static Type = "AWS::Batch::ServiceEnvironment";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, BatchServiceEnvironment.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-Batch-ServiceEnvironment.js.map
|
package/lib/AWS-EC2-Volume.d.ts
CHANGED
|
@@ -83,6 +83,16 @@ export type EC2VolumeProperties = {
|
|
|
83
83
|
Valid Range: Minimum value of 125. Maximum value of 1000.
|
|
84
84
|
*/
|
|
85
85
|
Throughput?: number;
|
|
86
|
+
/**
|
|
87
|
+
* Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume. This is also known as *volume initialization*. Specifying a volume initialization rate ensures that the volume is initialized at a predictable and consistent rate after creation.
|
|
88
|
+
This parameter is supported only for volumes created from snapshots. Omit this parameter if:
|
|
89
|
+
+ You want to create the volume using fast snapshot restore. You must specify a snapshot that is enabled for fast snapshot restore. In this case, the volume is fully initialized at creation.
|
|
90
|
+
If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, the volume will be initialized at the specified rate instead of fast snapshot restore.
|
|
91
|
+
+ You want to create a volume that is initialized at the default rate.
|
|
92
|
+
|
|
93
|
+
For more information, see [Initialize Amazon EBS volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) in the *Amazon EC2 User Guide*.
|
|
94
|
+
Valid range: 100 - 300 MiB/s
|
|
95
|
+
*/
|
|
86
96
|
VolumeInitializationRate?: number;
|
|
87
97
|
/**
|
|
88
98
|
* The volume type. This parameter can be one of the following values:
|
|
@@ -38,7 +38,7 @@ export type LambdaVersionProperties = {
|
|
|
38
38
|
export type LambdaVersionAttributes = {
|
|
39
39
|
/**
|
|
40
40
|
* The ARN of the version.
|
|
41
|
-
* @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
|
|
41
|
+
* @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(\.PUBLISHED)?|[a-zA-Z0-9-_]+))?$`
|
|
42
42
|
*/
|
|
43
43
|
FunctionArn: string;
|
|
44
44
|
/**
|
|
@@ -6,6 +6,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
6
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html}
|
|
7
7
|
*/
|
|
8
8
|
export type MediaPackageV2OriginEndpointPolicyProperties = {
|
|
9
|
+
CdnAuthConfiguration?: CdnAuthConfiguration;
|
|
9
10
|
/**
|
|
10
11
|
* @minLength `1`
|
|
11
12
|
* @maxLength `256`
|
|
@@ -26,6 +27,22 @@ export type MediaPackageV2OriginEndpointPolicyProperties = {
|
|
|
26
27
|
OriginEndpointName: string;
|
|
27
28
|
Policy: Record<string, any> | string;
|
|
28
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* Type definition for `AWS::MediaPackageV2::OriginEndpointPolicy.CdnAuthConfiguration`.
|
|
32
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpointpolicy-cdnauthconfiguration.html}
|
|
33
|
+
*/
|
|
34
|
+
export type CdnAuthConfiguration = {
|
|
35
|
+
/**
|
|
36
|
+
* @minLength `1`
|
|
37
|
+
* @maxLength `100`
|
|
38
|
+
*/
|
|
39
|
+
CdnIdentifierSecretArns: string[];
|
|
40
|
+
/**
|
|
41
|
+
* @minLength `20`
|
|
42
|
+
* @maxLength `2048`
|
|
43
|
+
*/
|
|
44
|
+
SecretsRoleArn: string;
|
|
45
|
+
};
|
|
29
46
|
/**
|
|
30
47
|
* Resource type definition for `AWS::MediaPackageV2::OriginEndpointPolicy`.
|
|
31
48
|
* <p>Represents a resource policy that allows or denies access to an origin endpoint.</p>
|
|
@@ -15,6 +15,7 @@ export type QuickSightTopicProperties = {
|
|
|
15
15
|
* Model for configuration of a Topic
|
|
16
16
|
*/
|
|
17
17
|
ConfigOptions?: TopicConfigOptions;
|
|
18
|
+
CustomInstructions?: CustomInstructions;
|
|
18
19
|
DataSets?: DatasetMetadata[];
|
|
19
20
|
/**
|
|
20
21
|
* @minLength `0`
|
|
@@ -114,6 +115,17 @@ export type ComparativeOrder = {
|
|
|
114
115
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-topic-constanttype.html}
|
|
115
116
|
*/
|
|
116
117
|
export type ConstantType = "SINGULAR" | "RANGE" | "COLLECTIVE";
|
|
118
|
+
/**
|
|
119
|
+
* Type definition for `AWS::QuickSight::Topic.CustomInstructions`.
|
|
120
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-topic-custominstructions.html}
|
|
121
|
+
*/
|
|
122
|
+
export type CustomInstructions = {
|
|
123
|
+
/**
|
|
124
|
+
* @minLength `0`
|
|
125
|
+
* @maxLength `5000`
|
|
126
|
+
*/
|
|
127
|
+
CustomInstructionsString: string;
|
|
128
|
+
};
|
|
117
129
|
/**
|
|
118
130
|
* Type definition for `AWS::QuickSight::Topic.DataAggregation`.
|
|
119
131
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-topic-dataaggregation.html}
|