@awboost/cfn-resource-types 0.1.157 → 0.1.159
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-EC2-NatGateway.d.ts +1 -1
- package/lib/AWS-ElasticLoadBalancingV2-Listener.d.ts +12 -0
- package/lib/AWS-Glue-Job.d.ts +93 -9
- package/lib/AWS-LakeFormation-PrincipalPermissions.d.ts +1 -1
- package/lib/AWS-LakeFormation-Tag.d.ts +1 -1
- package/lib/AWS-QuickSight-Folder.d.ts +130 -0
- package/lib/AWS-QuickSight-Folder.js +12 -0
- package/lib/AWS-S3Express-DirectoryBucket.d.ts +42 -1
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ export type EC2NatGatewayProperties = {
|
|
|
26
26
|
*/
|
|
27
27
|
PrivateIpAddress?: string;
|
|
28
28
|
/**
|
|
29
|
-
* Secondary EIP allocation IDs. For more information, see [Create a NAT gateway](https://docs.aws.amazon.com/vpc/latest/userguide/
|
|
29
|
+
* Secondary EIP allocation IDs. For more information, see [Create a NAT gateway](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html) in the *Amazon VPC User Guide*.
|
|
30
30
|
*/
|
|
31
31
|
SecondaryAllocationIds?: string[];
|
|
32
32
|
/**
|
|
@@ -20,6 +20,9 @@ export type ElasticLoadBalancingV2ListenerProperties = {
|
|
|
20
20
|
To create additional rules for an Application Load Balancer, use [AWS::ElasticLoadBalancingV2::ListenerRule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html).
|
|
21
21
|
*/
|
|
22
22
|
DefaultActions: Action[];
|
|
23
|
+
/**
|
|
24
|
+
* The listener attributes.
|
|
25
|
+
*/
|
|
23
26
|
ListenerAttributes?: ListenerAttribute[];
|
|
24
27
|
/**
|
|
25
28
|
* The Amazon Resource Name (ARN) of the load balancer.
|
|
@@ -240,10 +243,19 @@ export type ForwardConfig = {
|
|
|
240
243
|
};
|
|
241
244
|
/**
|
|
242
245
|
* Type definition for `AWS::ElasticLoadBalancingV2::Listener.ListenerAttribute`.
|
|
246
|
+
* Information about a listener attribute.
|
|
243
247
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-listenerattribute.html}
|
|
244
248
|
*/
|
|
245
249
|
export type ListenerAttribute = {
|
|
250
|
+
/**
|
|
251
|
+
* The name of the attribute.
|
|
252
|
+
The following attribute is supported by Network Load Balancers, and Gateway Load Balancers.
|
|
253
|
+
+ ``tcp.idle_timeout.seconds`` - The tcp idle timeout value, in seconds. The valid range is 60-6000 seconds. The default is 350 seconds.
|
|
254
|
+
*/
|
|
246
255
|
Key?: string;
|
|
256
|
+
/**
|
|
257
|
+
* The value of the attribute.
|
|
258
|
+
*/
|
|
247
259
|
Value?: string;
|
|
248
260
|
};
|
|
249
261
|
/**
|
package/lib/AWS-Glue-Job.d.ts
CHANGED
|
@@ -5,41 +5,107 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html}
|
|
6
6
|
*/
|
|
7
7
|
export type GlueJobProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The number of capacity units that are allocated to this job.
|
|
10
|
+
*/
|
|
8
11
|
AllocatedCapacity?: number;
|
|
12
|
+
/**
|
|
13
|
+
* The code that executes a job.
|
|
14
|
+
*/
|
|
9
15
|
Command: JobCommand;
|
|
16
|
+
/**
|
|
17
|
+
* Specifies the connections used by a job
|
|
18
|
+
*/
|
|
10
19
|
Connections?: ConnectionsList;
|
|
20
|
+
/**
|
|
21
|
+
* The default arguments for this job, specified as name-value pairs.
|
|
22
|
+
*/
|
|
11
23
|
DefaultArguments?: Record<string, any>;
|
|
24
|
+
/**
|
|
25
|
+
* A description of the job.
|
|
26
|
+
*/
|
|
12
27
|
Description?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Indicates whether the job is run with a standard or flexible execution class.
|
|
30
|
+
*/
|
|
13
31
|
ExecutionClass?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The maximum number of concurrent runs that are allowed for this job.
|
|
34
|
+
*/
|
|
14
35
|
ExecutionProperty?: ExecutionProperty;
|
|
36
|
+
/**
|
|
37
|
+
* Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
|
|
38
|
+
*/
|
|
15
39
|
GlueVersion?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Property description not available.
|
|
42
|
+
*/
|
|
16
43
|
JobMode?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Property description not available.
|
|
46
|
+
*/
|
|
47
|
+
JobRunQueuingEnabled?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* This field is reserved for future use.
|
|
50
|
+
*/
|
|
17
51
|
LogUri?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Property description not available.
|
|
54
|
+
*/
|
|
18
55
|
MaintenanceWindow?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
|
|
58
|
+
*/
|
|
19
59
|
MaxCapacity?: number;
|
|
60
|
+
/**
|
|
61
|
+
* The maximum number of times to retry this job after a JobRun fails
|
|
62
|
+
*/
|
|
20
63
|
MaxRetries?: number;
|
|
64
|
+
/**
|
|
65
|
+
* The name you assign to the job definition
|
|
66
|
+
*/
|
|
21
67
|
Name?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Non-overridable arguments for this job, specified as name-value pairs.
|
|
70
|
+
*/
|
|
22
71
|
NonOverridableArguments?: Record<string, any>;
|
|
72
|
+
/**
|
|
73
|
+
* Specifies configuration properties of a notification.
|
|
74
|
+
*/
|
|
23
75
|
NotificationProperty?: NotificationProperty;
|
|
76
|
+
/**
|
|
77
|
+
* The number of workers of a defined workerType that are allocated when a job runs.
|
|
78
|
+
*/
|
|
24
79
|
NumberOfWorkers?: number;
|
|
80
|
+
/**
|
|
81
|
+
* The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
|
|
82
|
+
*/
|
|
25
83
|
Role: string;
|
|
84
|
+
/**
|
|
85
|
+
* The name of the SecurityConfiguration structure to be used with this job.
|
|
86
|
+
*/
|
|
26
87
|
SecurityConfiguration?: string;
|
|
88
|
+
/**
|
|
89
|
+
* The tags to use with this job.
|
|
90
|
+
*/
|
|
27
91
|
Tags?: Record<string, any>;
|
|
92
|
+
/**
|
|
93
|
+
* The maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status.
|
|
94
|
+
*/
|
|
28
95
|
Timeout?: number;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#aws-resource-glue-job-return-values}
|
|
34
|
-
*/
|
|
35
|
-
export type GlueJobAttributes = {
|
|
36
|
-
Id: string;
|
|
96
|
+
/**
|
|
97
|
+
* TThe type of predefined worker that is allocated when a job runs.
|
|
98
|
+
*/
|
|
99
|
+
WorkerType?: "Standard" | "G.1X" | "G.2X" | "G.025X" | "G.4X" | "G.8X" | "Z.2X";
|
|
37
100
|
};
|
|
38
101
|
/**
|
|
39
102
|
* Type definition for `AWS::Glue::Job.ConnectionsList`.
|
|
40
103
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-connectionslist.html}
|
|
41
104
|
*/
|
|
42
105
|
export type ConnectionsList = {
|
|
106
|
+
/**
|
|
107
|
+
* A list of connections used by the job.
|
|
108
|
+
*/
|
|
43
109
|
Connections?: string[];
|
|
44
110
|
};
|
|
45
111
|
/**
|
|
@@ -47,6 +113,9 @@ export type ConnectionsList = {
|
|
|
47
113
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-executionproperty.html}
|
|
48
114
|
*/
|
|
49
115
|
export type ExecutionProperty = {
|
|
116
|
+
/**
|
|
117
|
+
* The maximum number of concurrent runs allowed for the job.
|
|
118
|
+
*/
|
|
50
119
|
MaxConcurrentRuns?: number;
|
|
51
120
|
};
|
|
52
121
|
/**
|
|
@@ -54,9 +123,21 @@ export type ExecutionProperty = {
|
|
|
54
123
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html}
|
|
55
124
|
*/
|
|
56
125
|
export type JobCommand = {
|
|
126
|
+
/**
|
|
127
|
+
* The name of the job command
|
|
128
|
+
*/
|
|
57
129
|
Name?: string;
|
|
130
|
+
/**
|
|
131
|
+
* The Python version being used to execute a Python shell job.
|
|
132
|
+
*/
|
|
58
133
|
PythonVersion?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment
|
|
136
|
+
*/
|
|
59
137
|
Runtime?: string;
|
|
138
|
+
/**
|
|
139
|
+
* Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job
|
|
140
|
+
*/
|
|
60
141
|
ScriptLocation?: string;
|
|
61
142
|
};
|
|
62
143
|
/**
|
|
@@ -64,13 +145,16 @@ export type JobCommand = {
|
|
|
64
145
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-notificationproperty.html}
|
|
65
146
|
*/
|
|
66
147
|
export type NotificationProperty = {
|
|
148
|
+
/**
|
|
149
|
+
* It is the number of minutes to wait before sending a job run delay notification after a job run starts
|
|
150
|
+
*/
|
|
67
151
|
NotifyDelayAfter?: number;
|
|
68
152
|
};
|
|
69
153
|
/**
|
|
70
154
|
* Resource Type definition for AWS::Glue::Job
|
|
71
155
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html}
|
|
72
156
|
*/
|
|
73
|
-
export declare class GlueJob extends $Resource<"AWS::Glue::Job", GlueJobProperties,
|
|
157
|
+
export declare class GlueJob extends $Resource<"AWS::Glue::Job", GlueJobProperties, Record<string, never>> {
|
|
74
158
|
static readonly Type = "AWS::Glue::Job";
|
|
75
159
|
constructor(logicalId: string, properties: GlueJobProperties, options?: $ResourceOptions);
|
|
76
160
|
}
|
|
@@ -204,7 +204,7 @@ export type LFTagPolicyResource = {
|
|
|
204
204
|
* Type definition for `AWS::LakeFormation::PrincipalPermissions.Permission`.
|
|
205
205
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-principalpermissions-permission.html}
|
|
206
206
|
*/
|
|
207
|
-
export type Permission = "ALL" | "SELECT" | "ALTER" | "DROP" | "DELETE" | "INSERT" | "DESCRIBE" | "CREATE_DATABASE" | "CREATE_TABLE" | "DATA_LOCATION_ACCESS" | "
|
|
207
|
+
export type Permission = "ALL" | "SELECT" | "ALTER" | "DROP" | "DELETE" | "INSERT" | "DESCRIBE" | "CREATE_DATABASE" | "CREATE_TABLE" | "DATA_LOCATION_ACCESS" | "CREATE_LF_TAG" | "ASSOCIATE" | "GRANT_WITH_LF_TAG_EXPRESSION";
|
|
208
208
|
/**
|
|
209
209
|
* Type definition for `AWS::LakeFormation::PrincipalPermissions.Resource`.
|
|
210
210
|
* A structure for the resource.
|
|
@@ -0,0 +1,130 @@
|
|
|
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 the AWS::QuickSight::Folder Resource Type.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-folder.html}
|
|
6
|
+
*/
|
|
7
|
+
export type QuickSightFolderProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* @minLength `12`
|
|
10
|
+
* @maxLength `12`
|
|
11
|
+
* @pattern `^[0-9]{12}$`
|
|
12
|
+
*/
|
|
13
|
+
AwsAccountId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @minLength `1`
|
|
16
|
+
* @maxLength `2048`
|
|
17
|
+
* @pattern `^[\w\-]+$`
|
|
18
|
+
*/
|
|
19
|
+
FolderId?: string;
|
|
20
|
+
FolderType?: FolderType;
|
|
21
|
+
/**
|
|
22
|
+
* @minLength `1`
|
|
23
|
+
* @maxLength `200`
|
|
24
|
+
*/
|
|
25
|
+
Name?: string;
|
|
26
|
+
ParentFolderArn?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @minLength `1`
|
|
29
|
+
* @maxLength `64`
|
|
30
|
+
*/
|
|
31
|
+
Permissions?: ResourcePermission[];
|
|
32
|
+
SharingModel?: SharingModel;
|
|
33
|
+
/**
|
|
34
|
+
* @minLength `1`
|
|
35
|
+
* @maxLength `200`
|
|
36
|
+
*/
|
|
37
|
+
Tags?: Tag[];
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Attribute type definition for `AWS::QuickSight::Folder`.
|
|
41
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-folder.html#aws-resource-quicksight-folder-return-values}
|
|
42
|
+
*/
|
|
43
|
+
export type QuickSightFolderAttributes = {
|
|
44
|
+
/**
|
|
45
|
+
* <p>The Amazon Resource Name (ARN) for the folder.</p>
|
|
46
|
+
* @pattern `^arn:.*`
|
|
47
|
+
*/
|
|
48
|
+
Arn: string;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The time that the folder was created.</p>
|
|
51
|
+
*/
|
|
52
|
+
CreatedTime: string;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The time that the folder was last updated.</p>
|
|
55
|
+
*/
|
|
56
|
+
LastUpdatedTime: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Type definition for `AWS::QuickSight::Folder.FolderType`.
|
|
60
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-folder-foldertype.html}
|
|
61
|
+
*/
|
|
62
|
+
export type FolderType = "SHARED" | "RESTRICTED";
|
|
63
|
+
/**
|
|
64
|
+
* Type definition for `AWS::QuickSight::Folder.ResourcePermission`.
|
|
65
|
+
* <p>Permission for the resource.</p>
|
|
66
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-folder-resourcepermission.html}
|
|
67
|
+
*/
|
|
68
|
+
export type ResourcePermission = {
|
|
69
|
+
/**
|
|
70
|
+
* <p>The IAM action to grant or revoke permissions on.</p>
|
|
71
|
+
* @minLength `1`
|
|
72
|
+
* @maxLength `20`
|
|
73
|
+
*/
|
|
74
|
+
Actions: string[];
|
|
75
|
+
/**
|
|
76
|
+
* <p>The Amazon Resource Name (ARN) of the principal. This can be one of the
|
|
77
|
+
following:</p>
|
|
78
|
+
<ul>
|
|
79
|
+
<li>
|
|
80
|
+
<p>The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)</p>
|
|
81
|
+
</li>
|
|
82
|
+
<li>
|
|
83
|
+
<p>The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)</p>
|
|
84
|
+
</li>
|
|
85
|
+
<li>
|
|
86
|
+
<p>The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight
|
|
87
|
+
ARN. Use this option only to share resources (templates) across Amazon Web Services accounts.
|
|
88
|
+
(This is less common.) </p>
|
|
89
|
+
</li>
|
|
90
|
+
</ul>
|
|
91
|
+
* @minLength `1`
|
|
92
|
+
* @maxLength `256`
|
|
93
|
+
* @pattern `^arn:.*`
|
|
94
|
+
*/
|
|
95
|
+
Principal: string;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Type definition for `AWS::QuickSight::Folder.SharingModel`.
|
|
99
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-folder-sharingmodel.html}
|
|
100
|
+
*/
|
|
101
|
+
export type SharingModel = "ACCOUNT" | "NAMESPACE";
|
|
102
|
+
/**
|
|
103
|
+
* Type definition for `AWS::QuickSight::Folder.Tag`.
|
|
104
|
+
* <p>The key or keys of the key-value pairs for the resource tag or tags assigned to the
|
|
105
|
+
resource.</p>
|
|
106
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-folder-tag.html}
|
|
107
|
+
*/
|
|
108
|
+
export type Tag = {
|
|
109
|
+
/**
|
|
110
|
+
* <p>Tag key.</p>
|
|
111
|
+
* @minLength `1`
|
|
112
|
+
* @maxLength `128`
|
|
113
|
+
*/
|
|
114
|
+
Key: string;
|
|
115
|
+
/**
|
|
116
|
+
* <p>Tag value.</p>
|
|
117
|
+
* @minLength `1`
|
|
118
|
+
* @maxLength `256`
|
|
119
|
+
*/
|
|
120
|
+
Value: string;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Definition of the AWS::QuickSight::Folder Resource Type.
|
|
124
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-folder.html}
|
|
125
|
+
*/
|
|
126
|
+
export declare class QuickSightFolder extends $Resource<"AWS::QuickSight::Folder", QuickSightFolderProperties, QuickSightFolderAttributes> {
|
|
127
|
+
static readonly Type = "AWS::QuickSight::Folder";
|
|
128
|
+
constructor(logicalId: string, properties: QuickSightFolderProperties, options?: $ResourceOptions);
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=AWS-QuickSight-Folder.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Definition of the AWS::QuickSight::Folder Resource Type.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-folder.html}
|
|
5
|
+
*/
|
|
6
|
+
export class QuickSightFolder extends $Resource {
|
|
7
|
+
static Type = "AWS::QuickSight::Folder";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, QuickSightFolder.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-QuickSight-Folder.js.map
|
|
@@ -5,7 +5,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-directorybucket.html}
|
|
6
6
|
*/
|
|
7
7
|
export type S3ExpressDirectoryBucketProperties = {
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS).
|
|
10
|
+
*/
|
|
11
|
+
BucketEncryption?: BucketEncryption;
|
|
9
12
|
/**
|
|
10
13
|
* Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
|
|
11
14
|
* @maxLength `63`
|
|
@@ -35,6 +38,44 @@ export type S3ExpressDirectoryBucketAttributes = {
|
|
|
35
38
|
*/
|
|
36
39
|
AvailabilityZoneName: string;
|
|
37
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* Type definition for `AWS::S3Express::DirectoryBucket.BucketEncryption`.
|
|
43
|
+
* Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS).
|
|
44
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-directorybucket-bucketencryption.html}
|
|
45
|
+
*/
|
|
46
|
+
export type BucketEncryption = {
|
|
47
|
+
/**
|
|
48
|
+
* Specifies the default server-side-encryption configuration.
|
|
49
|
+
*/
|
|
50
|
+
ServerSideEncryptionConfiguration: ServerSideEncryptionRule[];
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Type definition for `AWS::S3Express::DirectoryBucket.ServerSideEncryptionByDefault`.
|
|
54
|
+
* Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
|
|
55
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-directorybucket-serversideencryptionbydefault.html}
|
|
56
|
+
*/
|
|
57
|
+
export type ServerSideEncryptionByDefault = {
|
|
58
|
+
/**
|
|
59
|
+
* AWS Key Management Service (KMS) customer managed key ID to use for the default encryption. This parameter is allowed only if SSEAlgorithm is set to aws:kms. You can specify this parameter with the key ID or the Amazon Resource Name (ARN) of the KMS key
|
|
60
|
+
*/
|
|
61
|
+
KMSMasterKeyID?: string;
|
|
62
|
+
SSEAlgorithm: "aws:kms" | "AES256";
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Type definition for `AWS::S3Express::DirectoryBucket.ServerSideEncryptionRule`.
|
|
66
|
+
* Specifies the default server-side encryption configuration.
|
|
67
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-directorybucket-serversideencryptionrule.html}
|
|
68
|
+
*/
|
|
69
|
+
export type ServerSideEncryptionRule = {
|
|
70
|
+
/**
|
|
71
|
+
* Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Amazon S3 Express One Zone uses an S3 Bucket Key with SSE-KMS and S3 Bucket Key cannot be disabled. It's only allowed to set the BucketKeyEnabled element to true.
|
|
72
|
+
*/
|
|
73
|
+
BucketKeyEnabled?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
|
|
76
|
+
*/
|
|
77
|
+
ServerSideEncryptionByDefault?: ServerSideEncryptionByDefault;
|
|
78
|
+
};
|
|
38
79
|
/**
|
|
39
80
|
* Resource Type definition for AWS::S3Express::DirectoryBucket.
|
|
40
81
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-directorybucket.html}
|