@awboost/cfn-resource-types 0.1.50 → 0.1.51
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.
|
@@ -0,0 +1,36 @@
|
|
|
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::SecurityLake::AwsLogSource
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-awslogsource.html}
|
|
6
|
+
*/
|
|
7
|
+
export type SecurityLakeAwsLogSourceProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* AWS account where you want to collect logs from.
|
|
10
|
+
*/
|
|
11
|
+
Accounts?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* The ARN for the data lake.
|
|
14
|
+
* @minLength `1`
|
|
15
|
+
* @maxLength `256`
|
|
16
|
+
*/
|
|
17
|
+
DataLakeArn: string;
|
|
18
|
+
/**
|
|
19
|
+
* The name for a AWS source. This must be a Regionally unique value.
|
|
20
|
+
*/
|
|
21
|
+
SourceName: string;
|
|
22
|
+
/**
|
|
23
|
+
* The version for a AWS source. This must be a Regionally unique value.
|
|
24
|
+
* @pattern `^(latest|[0-9]\.[0-9])$`
|
|
25
|
+
*/
|
|
26
|
+
SourceVersion: string;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Resource Type definition for AWS::SecurityLake::AwsLogSource
|
|
30
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-awslogsource.html}
|
|
31
|
+
*/
|
|
32
|
+
export declare class SecurityLakeAwsLogSource extends $Resource<"AWS::SecurityLake::AwsLogSource", SecurityLakeAwsLogSourceProperties, Record<string, never>> {
|
|
33
|
+
static readonly Type = "AWS::SecurityLake::AwsLogSource";
|
|
34
|
+
constructor(logicalId: string, properties: SecurityLakeAwsLogSourceProperties, options?: $ResourceOptions);
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=AWS-SecurityLake-AwsLogSource.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::SecurityLake::AwsLogSource
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-awslogsource.html}
|
|
5
|
+
*/
|
|
6
|
+
export class SecurityLakeAwsLogSource extends $Resource {
|
|
7
|
+
static Type = "AWS::SecurityLake::AwsLogSource";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, SecurityLakeAwsLogSource.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-SecurityLake-AwsLogSource.js.map
|
|
@@ -0,0 +1,141 @@
|
|
|
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::SecurityLake::Subscriber
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html}
|
|
6
|
+
*/
|
|
7
|
+
export type SecurityLakeSubscriberProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The Amazon S3 or AWS Lake Formation access type.
|
|
10
|
+
* @minLength `1`
|
|
11
|
+
*/
|
|
12
|
+
AccessTypes: ("LAKEFORMATION" | "S3")[];
|
|
13
|
+
/**
|
|
14
|
+
* The ARN for the data lake.
|
|
15
|
+
* @minLength `1`
|
|
16
|
+
* @maxLength `256`
|
|
17
|
+
*/
|
|
18
|
+
DataLakeArn: string;
|
|
19
|
+
/**
|
|
20
|
+
* The supported AWS services from which logs and events are collected.
|
|
21
|
+
*/
|
|
22
|
+
Sources: Source[];
|
|
23
|
+
/**
|
|
24
|
+
* The description for your subscriber account in Security Lake.
|
|
25
|
+
*/
|
|
26
|
+
SubscriberDescription?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The AWS identity used to access your data.
|
|
29
|
+
*/
|
|
30
|
+
SubscriberIdentity: {
|
|
31
|
+
/**
|
|
32
|
+
* The external ID used to establish trust relationship with the AWS identity.
|
|
33
|
+
* @minLength `2`
|
|
34
|
+
* @maxLength `1224`
|
|
35
|
+
* @pattern `^[\w+=,.@:/-]*$`
|
|
36
|
+
*/
|
|
37
|
+
ExternalId: string;
|
|
38
|
+
/**
|
|
39
|
+
* The AWS identity principal.
|
|
40
|
+
* @pattern `^([0-9]{12}|[a-z0-9\.\-]*\.(amazonaws|amazon)\.com)$`
|
|
41
|
+
*/
|
|
42
|
+
Principal: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* The name of your Security Lake subscriber account.
|
|
46
|
+
* @minLength `1`
|
|
47
|
+
* @maxLength `64`
|
|
48
|
+
* @pattern `^[\\\w\s\-_:/,.@=+]*$`
|
|
49
|
+
*/
|
|
50
|
+
SubscriberName: string;
|
|
51
|
+
/**
|
|
52
|
+
* An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.
|
|
53
|
+
*/
|
|
54
|
+
Tags?: Tag[];
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Attribute type definition for `AWS::SecurityLake::Subscriber`.
|
|
58
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html#aws-resource-securitylake-subscriber-return-values}
|
|
59
|
+
*/
|
|
60
|
+
export type SecurityLakeSubscriberAttributes = {
|
|
61
|
+
ResourceShareArn: string;
|
|
62
|
+
ResourceShareName: string;
|
|
63
|
+
S3BucketArn: string;
|
|
64
|
+
SubscriberArn: string;
|
|
65
|
+
SubscriberRoleArn: string;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Type definition for `AWS::SecurityLake::Subscriber.AwsLogSource`.
|
|
69
|
+
* Amazon Security Lake supports log and event collection for natively supported AWS services.
|
|
70
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-awslogsource.html}
|
|
71
|
+
*/
|
|
72
|
+
export type AwsLogSource = {
|
|
73
|
+
/**
|
|
74
|
+
* The name for a AWS source. This must be a Regionally unique value.
|
|
75
|
+
*/
|
|
76
|
+
SourceName?: string;
|
|
77
|
+
/**
|
|
78
|
+
* The version for a AWS source. This must be a Regionally unique value.
|
|
79
|
+
* @pattern `^(latest|[0-9]\.[0-9])$`
|
|
80
|
+
*/
|
|
81
|
+
SourceVersion?: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Type definition for `AWS::SecurityLake::Subscriber.CustomLogSource`.
|
|
85
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-customlogsource.html}
|
|
86
|
+
*/
|
|
87
|
+
export type CustomLogSource = {
|
|
88
|
+
/**
|
|
89
|
+
* The name for a third-party custom source. This must be a Regionally unique value.
|
|
90
|
+
* @minLength `1`
|
|
91
|
+
* @maxLength `64`
|
|
92
|
+
* @pattern `^[\\\w\-_:/.]*$`
|
|
93
|
+
*/
|
|
94
|
+
SourceName?: string;
|
|
95
|
+
/**
|
|
96
|
+
* The version for a third-party custom source. This must be a Regionally unique value.
|
|
97
|
+
* @minLength `1`
|
|
98
|
+
* @maxLength `32`
|
|
99
|
+
* @pattern `^[A-Za-z0-9\-\.\_]*$`
|
|
100
|
+
*/
|
|
101
|
+
SourceVersion?: string;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Type definition for `AWS::SecurityLake::Subscriber.Source`.
|
|
105
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-source.html}
|
|
106
|
+
*/
|
|
107
|
+
export type Source = {
|
|
108
|
+
/**
|
|
109
|
+
* Amazon Security Lake supports log and event collection for natively supported AWS services.
|
|
110
|
+
*/
|
|
111
|
+
AwsLogSource: AwsLogSource;
|
|
112
|
+
} | {
|
|
113
|
+
CustomLogSource: CustomLogSource;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Type definition for `AWS::SecurityLake::Subscriber.Tag`.
|
|
117
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-tag.html}
|
|
118
|
+
*/
|
|
119
|
+
export type Tag = {
|
|
120
|
+
/**
|
|
121
|
+
* The name of the tag. This is a general label that acts as a category for a more specific tag value (value).
|
|
122
|
+
* @minLength `1`
|
|
123
|
+
* @maxLength `128`
|
|
124
|
+
*/
|
|
125
|
+
Key: string;
|
|
126
|
+
/**
|
|
127
|
+
* The value that is associated with the specified tag key (key). This value acts as a descriptor for the tag key. A tag value cannot be null, but it can be an empty string.
|
|
128
|
+
* @minLength `0`
|
|
129
|
+
* @maxLength `256`
|
|
130
|
+
*/
|
|
131
|
+
Value: string;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Resource Type definition for AWS::SecurityLake::Subscriber
|
|
135
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html}
|
|
136
|
+
*/
|
|
137
|
+
export declare class SecurityLakeSubscriber extends $Resource<"AWS::SecurityLake::Subscriber", SecurityLakeSubscriberProperties, SecurityLakeSubscriberAttributes> {
|
|
138
|
+
static readonly Type = "AWS::SecurityLake::Subscriber";
|
|
139
|
+
constructor(logicalId: string, properties: SecurityLakeSubscriberProperties, options?: $ResourceOptions);
|
|
140
|
+
}
|
|
141
|
+
//# sourceMappingURL=AWS-SecurityLake-Subscriber.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::SecurityLake::Subscriber
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html}
|
|
5
|
+
*/
|
|
6
|
+
export class SecurityLakeSubscriber extends $Resource {
|
|
7
|
+
static Type = "AWS::SecurityLake::Subscriber";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, SecurityLakeSubscriber.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-SecurityLake-Subscriber.js.map
|