@awboost/cfn-resource-types 0.1.212 → 0.1.213
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-Connect-Queue.d.ts +16 -0
- package/lib/AWS-EC2-LaunchTemplate.d.ts +15 -24
- package/lib/AWS-ECS-TaskDefinition.d.ts +3 -4
- package/lib/AWS-S3Tables-TableBucket.d.ts +60 -0
- package/lib/AWS-S3Tables-TableBucket.js +13 -0
- package/lib/AWS-S3Tables-TableBucketPolicy.d.ts +33 -0
- package/lib/AWS-S3Tables-TableBucketPolicy.js +13 -0
- package/package.json +1 -1
|
@@ -36,6 +36,10 @@ export type ConnectQueueProperties = {
|
|
|
36
36
|
* The outbound caller ID name, number, and outbound whisper flow.
|
|
37
37
|
*/
|
|
38
38
|
OutboundCallerConfig?: OutboundCallerConfig;
|
|
39
|
+
/**
|
|
40
|
+
* The outbound email address ID.
|
|
41
|
+
*/
|
|
42
|
+
OutboundEmailConfig?: OutboundEmailConfig;
|
|
39
43
|
/**
|
|
40
44
|
* The quick connects available to agents who are working the queue.
|
|
41
45
|
* @minLength `1`
|
|
@@ -92,6 +96,18 @@ export type OutboundCallerConfig = {
|
|
|
92
96
|
*/
|
|
93
97
|
OutboundFlowArn?: string;
|
|
94
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* Type definition for `AWS::Connect::Queue.OutboundEmailConfig`.
|
|
101
|
+
* The outbound email address ID.
|
|
102
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-queue-outboundemailconfig.html}
|
|
103
|
+
*/
|
|
104
|
+
export type OutboundEmailConfig = {
|
|
105
|
+
/**
|
|
106
|
+
* The email address connect resource ID.
|
|
107
|
+
* @pattern `^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]/*email-address/[-a-zA-Z0-9]*$`
|
|
108
|
+
*/
|
|
109
|
+
OutboundEmailAddressId?: string;
|
|
110
|
+
};
|
|
95
111
|
/**
|
|
96
112
|
* Type definition for `AWS::Connect::Queue.Tag`.
|
|
97
113
|
* A key-value pair to associate with a resource.
|
|
@@ -22,7 +22,7 @@ export type EC2LaunchTemplateProperties = {
|
|
|
22
22
|
LaunchTemplateName?: string;
|
|
23
23
|
/**
|
|
24
24
|
* The tags to apply to the launch template on creation. To tag the launch template, the resource type must be ``launch-template``.
|
|
25
|
-
To specify the tags for resources that are created
|
|
25
|
+
To specify the tags for the resources that are created when an instance is launched, you must use [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications).
|
|
26
26
|
*/
|
|
27
27
|
TagSpecifications?: LaunchTemplateTagSpecification[];
|
|
28
28
|
/**
|
|
@@ -86,14 +86,9 @@ export type BaselineEbsBandwidthMbps = {
|
|
|
86
86
|
};
|
|
87
87
|
/**
|
|
88
88
|
* Type definition for `AWS::EC2::LaunchTemplate.BaselinePerformanceFactors`.
|
|
89
|
-
* The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application.
|
|
90
|
-
Currently, this parameter only supports CPU performance as a baseline performance factor. For example, specifying ``c6i`` would use the CPU performance of the ``c6i`` family as the baseline reference.
|
|
91
89
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-baselineperformancefactors.html}
|
|
92
90
|
*/
|
|
93
91
|
export type BaselinePerformanceFactors = {
|
|
94
|
-
/**
|
|
95
|
-
* The CPU performance to consider, using an instance family as the baseline reference.
|
|
96
|
-
*/
|
|
97
92
|
Cpu?: Cpu;
|
|
98
93
|
};
|
|
99
94
|
/**
|
|
@@ -129,8 +124,7 @@ export type BlockDeviceMapping = {
|
|
|
129
124
|
export type CapacityReservationSpecification = {
|
|
130
125
|
/**
|
|
131
126
|
* Indicates the instance's Capacity Reservation preferences. Possible preferences include:
|
|
132
|
-
+ ``
|
|
133
|
-
+ ``open`` - The instance can run in any ``open`` Capacity Reservation that has matching attributes (instance type, platform, Availability Zone, tenancy).
|
|
127
|
+
+ ``open`` - The instance can run in any ``open`` Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).
|
|
134
128
|
+ ``none`` - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
|
|
135
129
|
*/
|
|
136
130
|
CapacityReservationPreference?: string;
|
|
@@ -244,7 +238,7 @@ export type Ebs = {
|
|
|
244
238
|
*/
|
|
245
239
|
Iops?: number;
|
|
246
240
|
/**
|
|
247
|
-
*
|
|
241
|
+
* The ARN of the symmetric KMSlong (KMS) CMK used for encryption.
|
|
248
242
|
*/
|
|
249
243
|
KmsKeyId?: string;
|
|
250
244
|
/**
|
|
@@ -378,7 +372,7 @@ export type InstanceMarketOptions = {
|
|
|
378
372
|
|
|
379
373
|
If you specify ``InstanceRequirements``, you can't specify ``InstanceType``.
|
|
380
374
|
Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the [launch instance wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), or with the [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) API or [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) AWS CloudFormation resource, you can't specify ``InstanceRequirements``.
|
|
381
|
-
For more information, see [
|
|
375
|
+
For more information, see [Attribute-based instance type selection for EC2 Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), [Attribute-based instance type selection for Spot Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), and [Spot placement score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) in the *Amazon EC2 User Guide*.
|
|
382
376
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html}
|
|
383
377
|
*/
|
|
384
378
|
export type InstanceRequirements = {
|
|
@@ -426,6 +420,7 @@ export type InstanceRequirements = {
|
|
|
426
420
|
* The accelerator types that must be on the instance type.
|
|
427
421
|
+ For instance types with GPU accelerators, specify ``gpu``.
|
|
428
422
|
+ For instance types with FPGA accelerators, specify ``fpga``.
|
|
423
|
+
+ For instance types with inference accelerators, specify ``inference``.
|
|
429
424
|
|
|
430
425
|
Default: Any accelerator type
|
|
431
426
|
*/
|
|
@@ -452,9 +447,6 @@ export type InstanceRequirements = {
|
|
|
452
447
|
Default: No minimum or maximum limits
|
|
453
448
|
*/
|
|
454
449
|
BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbps;
|
|
455
|
-
/**
|
|
456
|
-
* The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see [Performance protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection) in the *Amazon EC2 User Guide*.
|
|
457
|
-
*/
|
|
458
450
|
BaselinePerformanceFactors?: BaselinePerformanceFactors;
|
|
459
451
|
/**
|
|
460
452
|
* Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see [Burstable performance instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html).
|
|
@@ -470,7 +462,6 @@ export type InstanceRequirements = {
|
|
|
470
462
|
+ For instance types with Intel CPUs, specify ``intel``.
|
|
471
463
|
+ For instance types with AMD CPUs, specify ``amd``.
|
|
472
464
|
+ For instance types with AWS CPUs, specify ``amazon-web-services``.
|
|
473
|
-
+ For instance types with Apple CPUs, specify ``apple``.
|
|
474
465
|
|
|
475
466
|
Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
|
|
476
467
|
Default: Any manufacturer
|
|
@@ -645,8 +636,7 @@ export type LaunchTemplateData = {
|
|
|
645
636
|
*/
|
|
646
637
|
ElasticGpuSpecifications?: ElasticGpuSpecification[];
|
|
647
638
|
/**
|
|
648
|
-
*
|
|
649
|
-
An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.
|
|
639
|
+
* An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.
|
|
650
640
|
You cannot specify accelerators from different generations in the same request.
|
|
651
641
|
Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
|
|
652
642
|
*/
|
|
@@ -694,7 +684,7 @@ export type LaunchTemplateData = {
|
|
|
694
684
|
|
|
695
685
|
If you specify ``InstanceRequirements``, you can't specify ``InstanceType``.
|
|
696
686
|
Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the [launch instance wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), or with the [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) API or [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) AWS CloudFormation resource, you can't specify ``InstanceRequirements``.
|
|
697
|
-
For more information, see [
|
|
687
|
+
For more information, see [Attribute-based instance type selection for EC2 Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), [Attribute-based instance type selection for Spot Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), and [Spot placement score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) in the *Amazon EC2 User Guide*.
|
|
698
688
|
*/
|
|
699
689
|
InstanceRequirements?: InstanceRequirements;
|
|
700
690
|
/**
|
|
@@ -732,7 +722,6 @@ export type LaunchTemplateData = {
|
|
|
732
722
|
* The network interfaces for the instance.
|
|
733
723
|
*/
|
|
734
724
|
NetworkInterfaces?: NetworkInterface[];
|
|
735
|
-
NetworkPerformanceOptions?: unknown;
|
|
736
725
|
/**
|
|
737
726
|
* The placement for the instance.
|
|
738
727
|
*/
|
|
@@ -757,7 +746,8 @@ export type LaunchTemplateData = {
|
|
|
757
746
|
*/
|
|
758
747
|
SecurityGroups?: string[];
|
|
759
748
|
/**
|
|
760
|
-
* The tags to apply to resources that are created during instance launch.
|
|
749
|
+
* The tags to apply to the resources that are created during instance launch.
|
|
750
|
+
To tag a resource after it has been created, see [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html).
|
|
761
751
|
To tag the launch template itself, use [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-tagspecifications).
|
|
762
752
|
*/
|
|
763
753
|
TagSpecifications?: TagSpecification[];
|
|
@@ -787,7 +777,6 @@ export type LaunchTemplateElasticInferenceAccelerator = {
|
|
|
787
777
|
/**
|
|
788
778
|
* Type definition for `AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification`.
|
|
789
779
|
* Specifies the tags to apply to the launch template during creation.
|
|
790
|
-
To specify the tags for the resources that are created during instance launch, use [AWS::EC2::LaunchTemplate TagSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-tagspecification.html).
|
|
791
780
|
``LaunchTemplateTagSpecification`` is a property of [AWS::EC2::LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html).
|
|
792
781
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatetagspecification.html}
|
|
793
782
|
*/
|
|
@@ -961,10 +950,9 @@ export type NetworkInterface = {
|
|
|
961
950
|
*/
|
|
962
951
|
Groups?: string[];
|
|
963
952
|
/**
|
|
964
|
-
* The type of network interface. To create an Elastic Fabric Adapter (EFA), specify ``efa
|
|
953
|
+
* The type of network interface. To create an Elastic Fabric Adapter (EFA), specify ``efa``. For more information, see [Elastic Fabric Adapter](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html) in the *Amazon EC2 User Guide*.
|
|
965
954
|
If you are not creating an EFA, specify ``interface`` or omit this parameter.
|
|
966
|
-
|
|
967
|
-
Valid values: ``interface`` | ``efa`` | ``efa-only``
|
|
955
|
+
Valid values: ``interface`` | ``efa``
|
|
968
956
|
*/
|
|
969
957
|
InterfaceType?: string;
|
|
970
958
|
/**
|
|
@@ -1119,6 +1107,9 @@ export type PrivateIpAdd = {
|
|
|
1119
1107
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-reference.html}
|
|
1120
1108
|
*/
|
|
1121
1109
|
export type Reference = {
|
|
1110
|
+
/**
|
|
1111
|
+
* The instance family to refer. Ensure that you specify the correct family name. For example, C6i and C6g are valid values, but C6 is not.
|
|
1112
|
+
*/
|
|
1122
1113
|
InstanceFamily?: string;
|
|
1123
1114
|
};
|
|
1124
1115
|
/**
|
|
@@ -1172,7 +1163,7 @@ export type Tag = {
|
|
|
1172
1163
|
};
|
|
1173
1164
|
/**
|
|
1174
1165
|
* Type definition for `AWS::EC2::LaunchTemplate.TagSpecification`.
|
|
1175
|
-
* Specifies the tags to apply to
|
|
1166
|
+
* Specifies the tags to apply to a resource when the resource is created for the launch template.
|
|
1176
1167
|
``TagSpecification`` is a property type of [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications). [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications) is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html).
|
|
1177
1168
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-tagspecification.html}
|
|
1178
1169
|
*/
|
|
@@ -622,7 +622,7 @@ export type HealthCheck = {
|
|
|
622
622
|
``[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]``
|
|
623
623
|
You don't include the double quotes and brackets when you use the AWS Management Console.
|
|
624
624
|
``CMD-SHELL, curl -f http://localhost/ || exit 1``
|
|
625
|
-
An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in the docker container create command
|
|
625
|
+
An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in the docker container create command.
|
|
626
626
|
*/
|
|
627
627
|
Command?: string[];
|
|
628
628
|
/**
|
|
@@ -871,9 +871,8 @@ export type PortMapping = {
|
|
|
871
871
|
*/
|
|
872
872
|
HostPort?: number;
|
|
873
873
|
/**
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
*/
|
|
874
|
+
* The name that's used for the port mapping. This parameter is the name that you use in the ``serviceConnectConfiguration`` and the ``vpcLatticeConfigurations`` of a service. The name can include up to 64 characters. The characters can include lowercase letters, numbers, underscores (_), and hyphens (-). The name can't start with a hyphen.
|
|
875
|
+
*/
|
|
877
876
|
Name?: string;
|
|
878
877
|
/**
|
|
879
878
|
* The protocol used for the port mapping. Valid values are ``tcp`` and ``udp``. The default is ``tcp``. ``protocol`` is immutable in a Service Connect service. Updating this field requires a service deletion and redeployment.
|
|
@@ -0,0 +1,60 @@
|
|
|
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::S3Tables::TableBucket`.
|
|
5
|
+
* Creates an Amazon S3 Tables table bucket in the same AWS Region where you create the AWS CloudFormation stack.
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html}
|
|
7
|
+
*/
|
|
8
|
+
export type S3TablesTableBucketProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* A name for the table bucket.
|
|
11
|
+
* @minLength `3`
|
|
12
|
+
* @maxLength `63`
|
|
13
|
+
*/
|
|
14
|
+
TableBucketName: string;
|
|
15
|
+
/**
|
|
16
|
+
* Settings governing the Unreferenced File Removal maintenance action. Unreferenced file removal identifies and deletes all objects that are not referenced by any table snapshots.
|
|
17
|
+
*/
|
|
18
|
+
UnreferencedFileRemoval?: UnreferencedFileRemoval;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Attribute type definition for `AWS::S3Tables::TableBucket`.
|
|
22
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html#aws-resource-s3tables-tablebucket-return-values}
|
|
23
|
+
*/
|
|
24
|
+
export type S3TablesTableBucketAttributes = {
|
|
25
|
+
/**
|
|
26
|
+
* The Amazon Resource Name (ARN) of the specified table bucket.
|
|
27
|
+
*/
|
|
28
|
+
TableBucketARN: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Type definition for `AWS::S3Tables::TableBucket.UnreferencedFileRemoval`.
|
|
32
|
+
* Settings governing the Unreferenced File Removal maintenance action. Unreferenced file removal identifies and deletes all objects that are not referenced by any table snapshots.
|
|
33
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-tablebucket-unreferencedfileremoval.html}
|
|
34
|
+
*/
|
|
35
|
+
export type UnreferencedFileRemoval = {
|
|
36
|
+
/**
|
|
37
|
+
* S3 permanently deletes noncurrent objects after the number of days specified by the NoncurrentDays property.
|
|
38
|
+
* @min `1`
|
|
39
|
+
*/
|
|
40
|
+
NoncurrentDays?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Indicates whether the Unreferenced File Removal maintenance action is enabled.
|
|
43
|
+
*/
|
|
44
|
+
Status?: "Enabled" | "Disabled";
|
|
45
|
+
/**
|
|
46
|
+
* For any object not referenced by your table and older than the UnreferencedDays property, S3 creates a delete marker and marks the object version as noncurrent.
|
|
47
|
+
* @min `1`
|
|
48
|
+
*/
|
|
49
|
+
UnreferencedDays?: number;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Resource type definition for `AWS::S3Tables::TableBucket`.
|
|
53
|
+
* Creates an Amazon S3 Tables table bucket in the same AWS Region where you create the AWS CloudFormation stack.
|
|
54
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html}
|
|
55
|
+
*/
|
|
56
|
+
export declare class S3TablesTableBucket extends $Resource<"AWS::S3Tables::TableBucket", S3TablesTableBucketProperties, S3TablesTableBucketAttributes> {
|
|
57
|
+
static readonly Type = "AWS::S3Tables::TableBucket";
|
|
58
|
+
constructor(logicalId: string, properties: S3TablesTableBucketProperties, options?: $ResourceOptions);
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=AWS-S3Tables-TableBucket.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for `AWS::S3Tables::TableBucket`.
|
|
4
|
+
* Creates an Amazon S3 Tables table bucket in the same AWS Region where you create the AWS CloudFormation stack.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html}
|
|
6
|
+
*/
|
|
7
|
+
export class S3TablesTableBucket extends $Resource {
|
|
8
|
+
static Type = "AWS::S3Tables::TableBucket";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, S3TablesTableBucket.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-S3Tables-TableBucket.js.map
|
|
@@ -0,0 +1,33 @@
|
|
|
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::S3Tables::TableBucketPolicy`.
|
|
5
|
+
* Applies an IAM resource policy to a table bucket.
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucketpolicy.html}
|
|
7
|
+
*/
|
|
8
|
+
export type S3TablesTableBucketPolicyProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* A policy document containing permissions to add to the specified table bucket. In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM.
|
|
11
|
+
*/
|
|
12
|
+
ResourcePolicy: ResourcePolicy;
|
|
13
|
+
/**
|
|
14
|
+
* The Amazon Resource Name (ARN) of the table bucket to which the policy applies.
|
|
15
|
+
*/
|
|
16
|
+
TableBucketARN: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Type definition for `AWS::S3Tables::TableBucketPolicy.ResourcePolicy`.
|
|
20
|
+
* A policy document containing permissions to add to the specified table bucket. In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM.
|
|
21
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-tablebucketpolicy-resourcepolicy.html}
|
|
22
|
+
*/
|
|
23
|
+
export type ResourcePolicy = Record<string, any> | string;
|
|
24
|
+
/**
|
|
25
|
+
* Resource type definition for `AWS::S3Tables::TableBucketPolicy`.
|
|
26
|
+
* Applies an IAM resource policy to a table bucket.
|
|
27
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucketpolicy.html}
|
|
28
|
+
*/
|
|
29
|
+
export declare class S3TablesTableBucketPolicy extends $Resource<"AWS::S3Tables::TableBucketPolicy", S3TablesTableBucketPolicyProperties, Record<string, never>> {
|
|
30
|
+
static readonly Type = "AWS::S3Tables::TableBucketPolicy";
|
|
31
|
+
constructor(logicalId: string, properties: S3TablesTableBucketPolicyProperties, options?: $ResourceOptions);
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=AWS-S3Tables-TableBucketPolicy.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for `AWS::S3Tables::TableBucketPolicy`.
|
|
4
|
+
* Applies an IAM resource policy to a table bucket.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucketpolicy.html}
|
|
6
|
+
*/
|
|
7
|
+
export class S3TablesTableBucketPolicy extends $Resource {
|
|
8
|
+
static Type = "AWS::S3Tables::TableBucketPolicy";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, S3TablesTableBucketPolicy.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-S3Tables-TableBucketPolicy.js.map
|