aws-cdk-lib 2.137.0__py3-none-any.whl → 2.138.0__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +8 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.137.0.jsii.tgz → aws-cdk-lib@2.138.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +29 -113
- aws_cdk/aws_appconfig/__init__.py +26 -33
- aws_cdk/aws_apprunner/__init__.py +5 -2
- aws_cdk/aws_appsync/__init__.py +400 -13
- aws_cdk/aws_aps/__init__.py +64 -47
- aws_cdk/aws_b2bi/__init__.py +2 -6
- aws_cdk/aws_backup/__init__.py +27 -23
- aws_cdk/aws_batch/__init__.py +103 -0
- aws_cdk/aws_bcmdataexports/__init__.py +1114 -0
- aws_cdk/aws_chatbot/__init__.py +6 -4
- aws_cdk/aws_cleanrooms/__init__.py +526 -3
- aws_cdk/aws_cleanroomsml/__init__.py +960 -0
- aws_cdk/aws_cloudtrail/__init__.py +10 -10
- aws_cdk/aws_cloudwatch/__init__.py +124 -8
- aws_cdk/aws_codebuild/__init__.py +27 -22
- aws_cdk/aws_codeconnections/__init__.py +435 -0
- aws_cdk/aws_cognito/__init__.py +175 -79
- aws_cdk/aws_deadline/__init__.py +5394 -0
- aws_cdk/aws_ec2/__init__.py +279 -163
- aws_cdk/aws_ecs/__init__.py +240 -1
- aws_cdk/aws_efs/__init__.py +2 -2
- aws_cdk/aws_elasticache/__init__.py +86 -32
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +52 -2
- aws_cdk/aws_emr/__init__.py +2 -2
- aws_cdk/aws_entityresolution/__init__.py +1982 -773
- aws_cdk/aws_globalaccelerator/__init__.py +443 -0
- aws_cdk/aws_iam/__init__.py +1 -2
- aws_cdk/aws_internetmonitor/__init__.py +14 -6
- aws_cdk/aws_ivs/__init__.py +1273 -71
- aws_cdk/aws_mediatailor/__init__.py +41 -0
- aws_cdk/aws_personalize/__init__.py +8 -6
- aws_cdk/aws_pinpoint/__init__.py +5 -3
- aws_cdk/aws_pipes/__init__.py +5 -1
- aws_cdk/aws_quicksight/__init__.py +12 -6
- aws_cdk/aws_rds/__init__.py +355 -85
- aws_cdk/aws_route53/__init__.py +587 -14
- aws_cdk/aws_sagemaker/__init__.py +233 -2
- aws_cdk/aws_securityhub/__init__.py +4940 -102
- aws_cdk/aws_securitylake/__init__.py +1237 -55
- aws_cdk/aws_sns/__init__.py +61 -4
- aws_cdk/aws_ssmcontacts/__init__.py +11 -4
- aws_cdk/aws_stepfunctions/__init__.py +8 -16
- aws_cdk/aws_stepfunctions_tasks/__init__.py +676 -1
- aws_cdk/aws_transfer/__init__.py +4 -4
- aws_cdk/aws_verifiedpermissions/__init__.py +114 -37
- aws_cdk/aws_workspacesthinclient/__init__.py +8 -8
- aws_cdk/custom_resources/__init__.py +248 -26
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/RECORD +56 -52
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/top_level.txt +0 -0
|
@@ -64,6 +64,266 @@ from .. import (
|
|
|
64
64
|
)
|
|
65
65
|
|
|
66
66
|
|
|
67
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
68
|
+
class CfnAwsLogSource(
|
|
69
|
+
_CfnResource_9df397a6,
|
|
70
|
+
metaclass=jsii.JSIIMeta,
|
|
71
|
+
jsii_type="aws-cdk-lib.aws_securitylake.CfnAwsLogSource",
|
|
72
|
+
):
|
|
73
|
+
'''Resource Type definition for AWS::SecurityLake::AwsLogSource.
|
|
74
|
+
|
|
75
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-awslogsource.html
|
|
76
|
+
:cloudformationResource: AWS::SecurityLake::AwsLogSource
|
|
77
|
+
:exampleMetadata: fixture=_generated
|
|
78
|
+
|
|
79
|
+
Example::
|
|
80
|
+
|
|
81
|
+
# The code below shows an example of how to instantiate this type.
|
|
82
|
+
# The values are placeholders you should change.
|
|
83
|
+
from aws_cdk import aws_securitylake as securitylake
|
|
84
|
+
|
|
85
|
+
cfn_aws_log_source = securitylake.CfnAwsLogSource(self, "MyCfnAwsLogSource",
|
|
86
|
+
data_lake_arn="dataLakeArn",
|
|
87
|
+
source_name="sourceName",
|
|
88
|
+
source_version="sourceVersion",
|
|
89
|
+
|
|
90
|
+
# the properties below are optional
|
|
91
|
+
accounts=["accounts"]
|
|
92
|
+
)
|
|
93
|
+
'''
|
|
94
|
+
|
|
95
|
+
def __init__(
|
|
96
|
+
self,
|
|
97
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
98
|
+
id: builtins.str,
|
|
99
|
+
*,
|
|
100
|
+
data_lake_arn: builtins.str,
|
|
101
|
+
source_name: builtins.str,
|
|
102
|
+
source_version: builtins.str,
|
|
103
|
+
accounts: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
104
|
+
) -> None:
|
|
105
|
+
'''
|
|
106
|
+
:param scope: Scope in which this resource is defined.
|
|
107
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
108
|
+
:param data_lake_arn: The ARN for the data lake.
|
|
109
|
+
:param source_name: The name for a AWS source. This must be a Regionally unique value.
|
|
110
|
+
:param source_version: The version for a AWS source. This must be a Regionally unique value.
|
|
111
|
+
:param accounts: AWS account where you want to collect logs from.
|
|
112
|
+
'''
|
|
113
|
+
if __debug__:
|
|
114
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c67fc1d68d61ef9dead7d443499c1a142da192386efc06474b3758994937de6b)
|
|
115
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
116
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
117
|
+
props = CfnAwsLogSourceProps(
|
|
118
|
+
data_lake_arn=data_lake_arn,
|
|
119
|
+
source_name=source_name,
|
|
120
|
+
source_version=source_version,
|
|
121
|
+
accounts=accounts,
|
|
122
|
+
)
|
|
123
|
+
|
|
124
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
125
|
+
|
|
126
|
+
@jsii.member(jsii_name="inspect")
|
|
127
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
128
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
129
|
+
|
|
130
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
131
|
+
'''
|
|
132
|
+
if __debug__:
|
|
133
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2f493097d98865e82cabeeb80dd31577169140709170903a313d3bc579da5bcb)
|
|
134
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
135
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
136
|
+
|
|
137
|
+
@jsii.member(jsii_name="renderProperties")
|
|
138
|
+
def _render_properties(
|
|
139
|
+
self,
|
|
140
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
141
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
142
|
+
'''
|
|
143
|
+
:param props: -
|
|
144
|
+
'''
|
|
145
|
+
if __debug__:
|
|
146
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d4b08275c623e99b1c0cca9f7d97a78cf719804d590ae90e5af151255c42753a)
|
|
147
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
148
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
149
|
+
|
|
150
|
+
@jsii.python.classproperty
|
|
151
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
152
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
153
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
154
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
155
|
+
|
|
156
|
+
@builtins.property
|
|
157
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
158
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
159
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
160
|
+
|
|
161
|
+
@builtins.property
|
|
162
|
+
@jsii.member(jsii_name="dataLakeArn")
|
|
163
|
+
def data_lake_arn(self) -> builtins.str:
|
|
164
|
+
'''The ARN for the data lake.'''
|
|
165
|
+
return typing.cast(builtins.str, jsii.get(self, "dataLakeArn"))
|
|
166
|
+
|
|
167
|
+
@data_lake_arn.setter
|
|
168
|
+
def data_lake_arn(self, value: builtins.str) -> None:
|
|
169
|
+
if __debug__:
|
|
170
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ed09f296c9b906f7011ea796fce3b42122e1c0490eb544e941f5953a5b0f8403)
|
|
171
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
172
|
+
jsii.set(self, "dataLakeArn", value)
|
|
173
|
+
|
|
174
|
+
@builtins.property
|
|
175
|
+
@jsii.member(jsii_name="sourceName")
|
|
176
|
+
def source_name(self) -> builtins.str:
|
|
177
|
+
'''The name for a AWS source.'''
|
|
178
|
+
return typing.cast(builtins.str, jsii.get(self, "sourceName"))
|
|
179
|
+
|
|
180
|
+
@source_name.setter
|
|
181
|
+
def source_name(self, value: builtins.str) -> None:
|
|
182
|
+
if __debug__:
|
|
183
|
+
type_hints = typing.get_type_hints(_typecheckingstub__786699bc5ed670115ad16fc2d5cab658ddb4c20d9afccc0010adb67c796143ba)
|
|
184
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
185
|
+
jsii.set(self, "sourceName", value)
|
|
186
|
+
|
|
187
|
+
@builtins.property
|
|
188
|
+
@jsii.member(jsii_name="sourceVersion")
|
|
189
|
+
def source_version(self) -> builtins.str:
|
|
190
|
+
'''The version for a AWS source.'''
|
|
191
|
+
return typing.cast(builtins.str, jsii.get(self, "sourceVersion"))
|
|
192
|
+
|
|
193
|
+
@source_version.setter
|
|
194
|
+
def source_version(self, value: builtins.str) -> None:
|
|
195
|
+
if __debug__:
|
|
196
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2369f0ca541c99625731d8a7db77fa2a9f1346eab63190644c2695d471ddda46)
|
|
197
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
198
|
+
jsii.set(self, "sourceVersion", value)
|
|
199
|
+
|
|
200
|
+
@builtins.property
|
|
201
|
+
@jsii.member(jsii_name="accounts")
|
|
202
|
+
def accounts(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
203
|
+
'''AWS account where you want to collect logs from.'''
|
|
204
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "accounts"))
|
|
205
|
+
|
|
206
|
+
@accounts.setter
|
|
207
|
+
def accounts(self, value: typing.Optional[typing.List[builtins.str]]) -> None:
|
|
208
|
+
if __debug__:
|
|
209
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a1f564a49d096390f47538b02cc909d2927202e7d6b998b761aaf21810dcf11c)
|
|
210
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
211
|
+
jsii.set(self, "accounts", value)
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
@jsii.data_type(
|
|
215
|
+
jsii_type="aws-cdk-lib.aws_securitylake.CfnAwsLogSourceProps",
|
|
216
|
+
jsii_struct_bases=[],
|
|
217
|
+
name_mapping={
|
|
218
|
+
"data_lake_arn": "dataLakeArn",
|
|
219
|
+
"source_name": "sourceName",
|
|
220
|
+
"source_version": "sourceVersion",
|
|
221
|
+
"accounts": "accounts",
|
|
222
|
+
},
|
|
223
|
+
)
|
|
224
|
+
class CfnAwsLogSourceProps:
|
|
225
|
+
def __init__(
|
|
226
|
+
self,
|
|
227
|
+
*,
|
|
228
|
+
data_lake_arn: builtins.str,
|
|
229
|
+
source_name: builtins.str,
|
|
230
|
+
source_version: builtins.str,
|
|
231
|
+
accounts: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
232
|
+
) -> None:
|
|
233
|
+
'''Properties for defining a ``CfnAwsLogSource``.
|
|
234
|
+
|
|
235
|
+
:param data_lake_arn: The ARN for the data lake.
|
|
236
|
+
:param source_name: The name for a AWS source. This must be a Regionally unique value.
|
|
237
|
+
:param source_version: The version for a AWS source. This must be a Regionally unique value.
|
|
238
|
+
:param accounts: AWS account where you want to collect logs from.
|
|
239
|
+
|
|
240
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-awslogsource.html
|
|
241
|
+
:exampleMetadata: fixture=_generated
|
|
242
|
+
|
|
243
|
+
Example::
|
|
244
|
+
|
|
245
|
+
# The code below shows an example of how to instantiate this type.
|
|
246
|
+
# The values are placeholders you should change.
|
|
247
|
+
from aws_cdk import aws_securitylake as securitylake
|
|
248
|
+
|
|
249
|
+
cfn_aws_log_source_props = securitylake.CfnAwsLogSourceProps(
|
|
250
|
+
data_lake_arn="dataLakeArn",
|
|
251
|
+
source_name="sourceName",
|
|
252
|
+
source_version="sourceVersion",
|
|
253
|
+
|
|
254
|
+
# the properties below are optional
|
|
255
|
+
accounts=["accounts"]
|
|
256
|
+
)
|
|
257
|
+
'''
|
|
258
|
+
if __debug__:
|
|
259
|
+
type_hints = typing.get_type_hints(_typecheckingstub__56ae11383caeefb7587043503a4fd999d42e30184765bd5e736dcae60c5b3b94)
|
|
260
|
+
check_type(argname="argument data_lake_arn", value=data_lake_arn, expected_type=type_hints["data_lake_arn"])
|
|
261
|
+
check_type(argname="argument source_name", value=source_name, expected_type=type_hints["source_name"])
|
|
262
|
+
check_type(argname="argument source_version", value=source_version, expected_type=type_hints["source_version"])
|
|
263
|
+
check_type(argname="argument accounts", value=accounts, expected_type=type_hints["accounts"])
|
|
264
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
265
|
+
"data_lake_arn": data_lake_arn,
|
|
266
|
+
"source_name": source_name,
|
|
267
|
+
"source_version": source_version,
|
|
268
|
+
}
|
|
269
|
+
if accounts is not None:
|
|
270
|
+
self._values["accounts"] = accounts
|
|
271
|
+
|
|
272
|
+
@builtins.property
|
|
273
|
+
def data_lake_arn(self) -> builtins.str:
|
|
274
|
+
'''The ARN for the data lake.
|
|
275
|
+
|
|
276
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-awslogsource.html#cfn-securitylake-awslogsource-datalakearn
|
|
277
|
+
'''
|
|
278
|
+
result = self._values.get("data_lake_arn")
|
|
279
|
+
assert result is not None, "Required property 'data_lake_arn' is missing"
|
|
280
|
+
return typing.cast(builtins.str, result)
|
|
281
|
+
|
|
282
|
+
@builtins.property
|
|
283
|
+
def source_name(self) -> builtins.str:
|
|
284
|
+
'''The name for a AWS source.
|
|
285
|
+
|
|
286
|
+
This must be a Regionally unique value.
|
|
287
|
+
|
|
288
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-awslogsource.html#cfn-securitylake-awslogsource-sourcename
|
|
289
|
+
'''
|
|
290
|
+
result = self._values.get("source_name")
|
|
291
|
+
assert result is not None, "Required property 'source_name' is missing"
|
|
292
|
+
return typing.cast(builtins.str, result)
|
|
293
|
+
|
|
294
|
+
@builtins.property
|
|
295
|
+
def source_version(self) -> builtins.str:
|
|
296
|
+
'''The version for a AWS source.
|
|
297
|
+
|
|
298
|
+
This must be a Regionally unique value.
|
|
299
|
+
|
|
300
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-awslogsource.html#cfn-securitylake-awslogsource-sourceversion
|
|
301
|
+
'''
|
|
302
|
+
result = self._values.get("source_version")
|
|
303
|
+
assert result is not None, "Required property 'source_version' is missing"
|
|
304
|
+
return typing.cast(builtins.str, result)
|
|
305
|
+
|
|
306
|
+
@builtins.property
|
|
307
|
+
def accounts(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
308
|
+
'''AWS account where you want to collect logs from.
|
|
309
|
+
|
|
310
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-awslogsource.html#cfn-securitylake-awslogsource-accounts
|
|
311
|
+
'''
|
|
312
|
+
result = self._values.get("accounts")
|
|
313
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
314
|
+
|
|
315
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
316
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
317
|
+
|
|
318
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
319
|
+
return not (rhs == self)
|
|
320
|
+
|
|
321
|
+
def __repr__(self) -> str:
|
|
322
|
+
return "CfnAwsLogSourceProps(%s)" % ", ".join(
|
|
323
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
324
|
+
)
|
|
325
|
+
|
|
326
|
+
|
|
67
327
|
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
68
328
|
class CfnDataLake(
|
|
69
329
|
_CfnResource_9df397a6,
|
|
@@ -747,71 +1007,879 @@ class CfnDataLakeProps:
|
|
|
747
1007
|
)
|
|
748
1008
|
|
|
749
1009
|
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
1010
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
1011
|
+
class CfnSubscriber(
|
|
1012
|
+
_CfnResource_9df397a6,
|
|
1013
|
+
metaclass=jsii.JSIIMeta,
|
|
1014
|
+
jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriber",
|
|
1015
|
+
):
|
|
1016
|
+
'''Resource Type definition for AWS::SecurityLake::Subscriber.
|
|
754
1017
|
|
|
755
|
-
|
|
1018
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html
|
|
1019
|
+
:cloudformationResource: AWS::SecurityLake::Subscriber
|
|
1020
|
+
:exampleMetadata: fixture=_generated
|
|
756
1021
|
|
|
757
|
-
|
|
758
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
759
|
-
id: builtins.str,
|
|
760
|
-
*,
|
|
761
|
-
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataLake.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
762
|
-
lifecycle_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataLake.LifecycleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
763
|
-
meta_store_manager_role_arn: typing.Optional[builtins.str] = None,
|
|
764
|
-
replication_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataLake.ReplicationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
765
|
-
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
766
|
-
) -> None:
|
|
767
|
-
"""Type checking stubs"""
|
|
768
|
-
pass
|
|
1022
|
+
Example::
|
|
769
1023
|
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
1024
|
+
# The code below shows an example of how to instantiate this type.
|
|
1025
|
+
# The values are placeholders you should change.
|
|
1026
|
+
from aws_cdk import aws_securitylake as securitylake
|
|
1027
|
+
|
|
1028
|
+
cfn_subscriber = securitylake.CfnSubscriber(self, "MyCfnSubscriber",
|
|
1029
|
+
access_types=["accessTypes"],
|
|
1030
|
+
data_lake_arn="dataLakeArn",
|
|
1031
|
+
sources=[securitylake.CfnSubscriber.SourceProperty(
|
|
1032
|
+
aws_log_source=securitylake.CfnSubscriber.AwsLogSourceProperty(
|
|
1033
|
+
source_name="sourceName",
|
|
1034
|
+
source_version="sourceVersion"
|
|
1035
|
+
),
|
|
1036
|
+
custom_log_source=securitylake.CfnSubscriber.CustomLogSourceProperty(
|
|
1037
|
+
source_name="sourceName",
|
|
1038
|
+
source_version="sourceVersion"
|
|
1039
|
+
)
|
|
1040
|
+
)],
|
|
1041
|
+
subscriber_identity=securitylake.CfnSubscriber.SubscriberIdentityProperty(
|
|
1042
|
+
external_id="externalId",
|
|
1043
|
+
principal="principal"
|
|
1044
|
+
),
|
|
1045
|
+
subscriber_name="subscriberName",
|
|
1046
|
+
|
|
1047
|
+
# the properties below are optional
|
|
1048
|
+
subscriber_description="subscriberDescription",
|
|
1049
|
+
tags=[CfnTag(
|
|
1050
|
+
key="key",
|
|
1051
|
+
value="value"
|
|
1052
|
+
)]
|
|
1053
|
+
)
|
|
1054
|
+
'''
|
|
775
1055
|
|
|
776
|
-
def
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
1056
|
+
def __init__(
|
|
1057
|
+
self,
|
|
1058
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1059
|
+
id: builtins.str,
|
|
1060
|
+
*,
|
|
1061
|
+
access_types: typing.Sequence[builtins.str],
|
|
1062
|
+
data_lake_arn: builtins.str,
|
|
1063
|
+
sources: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriber.SourceProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
1064
|
+
subscriber_identity: typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriber.SubscriberIdentityProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1065
|
+
subscriber_name: builtins.str,
|
|
1066
|
+
subscriber_description: typing.Optional[builtins.str] = None,
|
|
1067
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1068
|
+
) -> None:
|
|
1069
|
+
'''
|
|
1070
|
+
:param scope: Scope in which this resource is defined.
|
|
1071
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1072
|
+
:param access_types: The Amazon S3 or AWS Lake Formation access type.
|
|
1073
|
+
:param data_lake_arn: The ARN for the data lake.
|
|
1074
|
+
:param sources: The supported AWS services from which logs and events are collected.
|
|
1075
|
+
:param subscriber_identity: The AWS identity used to access your data.
|
|
1076
|
+
:param subscriber_name: The name of your Security Lake subscriber account.
|
|
1077
|
+
:param subscriber_description: The description for your subscriber account in Security Lake.
|
|
1078
|
+
:param tags: 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.
|
|
1079
|
+
'''
|
|
1080
|
+
if __debug__:
|
|
1081
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7cfdc1f6a6f3c553e914b6e8b917c7abd1db0a1142db24f189c29526acaaea39)
|
|
1082
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1083
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1084
|
+
props = CfnSubscriberProps(
|
|
1085
|
+
access_types=access_types,
|
|
1086
|
+
data_lake_arn=data_lake_arn,
|
|
1087
|
+
sources=sources,
|
|
1088
|
+
subscriber_identity=subscriber_identity,
|
|
1089
|
+
subscriber_name=subscriber_name,
|
|
1090
|
+
subscriber_description=subscriber_description,
|
|
1091
|
+
tags=tags,
|
|
1092
|
+
)
|
|
781
1093
|
|
|
782
|
-
|
|
783
|
-
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataLake.EncryptionConfigurationProperty]],
|
|
784
|
-
) -> None:
|
|
785
|
-
"""Type checking stubs"""
|
|
786
|
-
pass
|
|
1094
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
787
1095
|
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
"""Type checking stubs"""
|
|
792
|
-
pass
|
|
1096
|
+
@jsii.member(jsii_name="inspect")
|
|
1097
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1098
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
793
1099
|
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
1100
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1101
|
+
'''
|
|
1102
|
+
if __debug__:
|
|
1103
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a8615499628b1f4753ef250f307567474c9df890e5c028af197e02c5372c550c)
|
|
1104
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1105
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
799
1106
|
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
1107
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1108
|
+
def _render_properties(
|
|
1109
|
+
self,
|
|
1110
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1111
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1112
|
+
'''
|
|
1113
|
+
:param props: -
|
|
1114
|
+
'''
|
|
1115
|
+
if __debug__:
|
|
1116
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3790e1b87c269e951008aa5f293e263e93c06977e1eeed2a69dfca58c409514a)
|
|
1117
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1118
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
805
1119
|
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
) ->
|
|
809
|
-
|
|
810
|
-
|
|
1120
|
+
@jsii.python.classproperty
|
|
1121
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1122
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1123
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1124
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
811
1125
|
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
1126
|
+
@builtins.property
|
|
1127
|
+
@jsii.member(jsii_name="attrResourceShareArn")
|
|
1128
|
+
def attr_resource_share_arn(self) -> builtins.str:
|
|
1129
|
+
'''
|
|
1130
|
+
:cloudformationAttribute: ResourceShareArn
|
|
1131
|
+
'''
|
|
1132
|
+
return typing.cast(builtins.str, jsii.get(self, "attrResourceShareArn"))
|
|
1133
|
+
|
|
1134
|
+
@builtins.property
|
|
1135
|
+
@jsii.member(jsii_name="attrResourceShareName")
|
|
1136
|
+
def attr_resource_share_name(self) -> builtins.str:
|
|
1137
|
+
'''
|
|
1138
|
+
:cloudformationAttribute: ResourceShareName
|
|
1139
|
+
'''
|
|
1140
|
+
return typing.cast(builtins.str, jsii.get(self, "attrResourceShareName"))
|
|
1141
|
+
|
|
1142
|
+
@builtins.property
|
|
1143
|
+
@jsii.member(jsii_name="attrS3BucketArn")
|
|
1144
|
+
def attr_s3_bucket_arn(self) -> builtins.str:
|
|
1145
|
+
'''
|
|
1146
|
+
:cloudformationAttribute: S3BucketArn
|
|
1147
|
+
'''
|
|
1148
|
+
return typing.cast(builtins.str, jsii.get(self, "attrS3BucketArn"))
|
|
1149
|
+
|
|
1150
|
+
@builtins.property
|
|
1151
|
+
@jsii.member(jsii_name="attrSubscriberArn")
|
|
1152
|
+
def attr_subscriber_arn(self) -> builtins.str:
|
|
1153
|
+
'''
|
|
1154
|
+
:cloudformationAttribute: SubscriberArn
|
|
1155
|
+
'''
|
|
1156
|
+
return typing.cast(builtins.str, jsii.get(self, "attrSubscriberArn"))
|
|
1157
|
+
|
|
1158
|
+
@builtins.property
|
|
1159
|
+
@jsii.member(jsii_name="attrSubscriberRoleArn")
|
|
1160
|
+
def attr_subscriber_role_arn(self) -> builtins.str:
|
|
1161
|
+
'''
|
|
1162
|
+
:cloudformationAttribute: SubscriberRoleArn
|
|
1163
|
+
'''
|
|
1164
|
+
return typing.cast(builtins.str, jsii.get(self, "attrSubscriberRoleArn"))
|
|
1165
|
+
|
|
1166
|
+
@builtins.property
|
|
1167
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
1168
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
1169
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
1170
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
1171
|
+
|
|
1172
|
+
@builtins.property
|
|
1173
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1174
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1175
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1176
|
+
|
|
1177
|
+
@builtins.property
|
|
1178
|
+
@jsii.member(jsii_name="accessTypes")
|
|
1179
|
+
def access_types(self) -> typing.List[builtins.str]:
|
|
1180
|
+
'''The Amazon S3 or AWS Lake Formation access type.'''
|
|
1181
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "accessTypes"))
|
|
1182
|
+
|
|
1183
|
+
@access_types.setter
|
|
1184
|
+
def access_types(self, value: typing.List[builtins.str]) -> None:
|
|
1185
|
+
if __debug__:
|
|
1186
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3f5e7268ca27d6f9f4f7235ed5dc11031e3dcfecbb97acb334a181ffa62b0550)
|
|
1187
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1188
|
+
jsii.set(self, "accessTypes", value)
|
|
1189
|
+
|
|
1190
|
+
@builtins.property
|
|
1191
|
+
@jsii.member(jsii_name="dataLakeArn")
|
|
1192
|
+
def data_lake_arn(self) -> builtins.str:
|
|
1193
|
+
'''The ARN for the data lake.'''
|
|
1194
|
+
return typing.cast(builtins.str, jsii.get(self, "dataLakeArn"))
|
|
1195
|
+
|
|
1196
|
+
@data_lake_arn.setter
|
|
1197
|
+
def data_lake_arn(self, value: builtins.str) -> None:
|
|
1198
|
+
if __debug__:
|
|
1199
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6b6df05258f367a78b9fe1e83d93bbb4170db63eebfcfcaf47743e3795fdea19)
|
|
1200
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1201
|
+
jsii.set(self, "dataLakeArn", value)
|
|
1202
|
+
|
|
1203
|
+
@builtins.property
|
|
1204
|
+
@jsii.member(jsii_name="sources")
|
|
1205
|
+
def sources(
|
|
1206
|
+
self,
|
|
1207
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SourceProperty"]]]:
|
|
1208
|
+
'''The supported AWS services from which logs and events are collected.'''
|
|
1209
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SourceProperty"]]], jsii.get(self, "sources"))
|
|
1210
|
+
|
|
1211
|
+
@sources.setter
|
|
1212
|
+
def sources(
|
|
1213
|
+
self,
|
|
1214
|
+
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SourceProperty"]]],
|
|
1215
|
+
) -> None:
|
|
1216
|
+
if __debug__:
|
|
1217
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bc932de85d8e0823efeb32cd9962639ee0df5d9caf72a0cc1bd8a74abd3853f1)
|
|
1218
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1219
|
+
jsii.set(self, "sources", value)
|
|
1220
|
+
|
|
1221
|
+
@builtins.property
|
|
1222
|
+
@jsii.member(jsii_name="subscriberIdentity")
|
|
1223
|
+
def subscriber_identity(
|
|
1224
|
+
self,
|
|
1225
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SubscriberIdentityProperty"]:
|
|
1226
|
+
'''The AWS identity used to access your data.'''
|
|
1227
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SubscriberIdentityProperty"], jsii.get(self, "subscriberIdentity"))
|
|
1228
|
+
|
|
1229
|
+
@subscriber_identity.setter
|
|
1230
|
+
def subscriber_identity(
|
|
1231
|
+
self,
|
|
1232
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnSubscriber.SubscriberIdentityProperty"],
|
|
1233
|
+
) -> None:
|
|
1234
|
+
if __debug__:
|
|
1235
|
+
type_hints = typing.get_type_hints(_typecheckingstub__844ac1bd9005c05fc49f39ac053da7c40f778e558a2e4cf96983161b114d88a7)
|
|
1236
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1237
|
+
jsii.set(self, "subscriberIdentity", value)
|
|
1238
|
+
|
|
1239
|
+
@builtins.property
|
|
1240
|
+
@jsii.member(jsii_name="subscriberName")
|
|
1241
|
+
def subscriber_name(self) -> builtins.str:
|
|
1242
|
+
'''The name of your Security Lake subscriber account.'''
|
|
1243
|
+
return typing.cast(builtins.str, jsii.get(self, "subscriberName"))
|
|
1244
|
+
|
|
1245
|
+
@subscriber_name.setter
|
|
1246
|
+
def subscriber_name(self, value: builtins.str) -> None:
|
|
1247
|
+
if __debug__:
|
|
1248
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cd9beb9187d8345c4ae00d2ee6483cd5f3841d1801dffe9de561ed1934ddd965)
|
|
1249
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1250
|
+
jsii.set(self, "subscriberName", value)
|
|
1251
|
+
|
|
1252
|
+
@builtins.property
|
|
1253
|
+
@jsii.member(jsii_name="subscriberDescription")
|
|
1254
|
+
def subscriber_description(self) -> typing.Optional[builtins.str]:
|
|
1255
|
+
'''The description for your subscriber account in Security Lake.'''
|
|
1256
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "subscriberDescription"))
|
|
1257
|
+
|
|
1258
|
+
@subscriber_description.setter
|
|
1259
|
+
def subscriber_description(self, value: typing.Optional[builtins.str]) -> None:
|
|
1260
|
+
if __debug__:
|
|
1261
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3147cb4779ff5832faddc8bdeac62a5ff6db17ddc1eddee78b4f5ca463a0ed76)
|
|
1262
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1263
|
+
jsii.set(self, "subscriberDescription", value)
|
|
1264
|
+
|
|
1265
|
+
@builtins.property
|
|
1266
|
+
@jsii.member(jsii_name="tags")
|
|
1267
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1268
|
+
'''An array of objects, one for each tag to associate with the subscriber.'''
|
|
1269
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
1270
|
+
|
|
1271
|
+
@tags.setter
|
|
1272
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
1273
|
+
if __debug__:
|
|
1274
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b8f06145c3b30c94dc03a8f547df3132c6f47f465dc815eb5282aab9542906c1)
|
|
1275
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1276
|
+
jsii.set(self, "tags", value)
|
|
1277
|
+
|
|
1278
|
+
@jsii.data_type(
|
|
1279
|
+
jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriber.AwsLogSourceProperty",
|
|
1280
|
+
jsii_struct_bases=[],
|
|
1281
|
+
name_mapping={"source_name": "sourceName", "source_version": "sourceVersion"},
|
|
1282
|
+
)
|
|
1283
|
+
class AwsLogSourceProperty:
|
|
1284
|
+
def __init__(
|
|
1285
|
+
self,
|
|
1286
|
+
*,
|
|
1287
|
+
source_name: typing.Optional[builtins.str] = None,
|
|
1288
|
+
source_version: typing.Optional[builtins.str] = None,
|
|
1289
|
+
) -> None:
|
|
1290
|
+
'''Amazon Security Lake supports log and event collection for natively supported AWS services.
|
|
1291
|
+
|
|
1292
|
+
:param source_name: The name for a AWS source. This must be a Regionally unique value.
|
|
1293
|
+
:param source_version: The version for a AWS source. This must be a Regionally unique value.
|
|
1294
|
+
|
|
1295
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-awslogsource.html
|
|
1296
|
+
:exampleMetadata: fixture=_generated
|
|
1297
|
+
|
|
1298
|
+
Example::
|
|
1299
|
+
|
|
1300
|
+
# The code below shows an example of how to instantiate this type.
|
|
1301
|
+
# The values are placeholders you should change.
|
|
1302
|
+
from aws_cdk import aws_securitylake as securitylake
|
|
1303
|
+
|
|
1304
|
+
aws_log_source_property = securitylake.CfnSubscriber.AwsLogSourceProperty(
|
|
1305
|
+
source_name="sourceName",
|
|
1306
|
+
source_version="sourceVersion"
|
|
1307
|
+
)
|
|
1308
|
+
'''
|
|
1309
|
+
if __debug__:
|
|
1310
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f7b68bdff72d0a83be28cc208139e37398a7b328722b97984e752440b8b9b167)
|
|
1311
|
+
check_type(argname="argument source_name", value=source_name, expected_type=type_hints["source_name"])
|
|
1312
|
+
check_type(argname="argument source_version", value=source_version, expected_type=type_hints["source_version"])
|
|
1313
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1314
|
+
if source_name is not None:
|
|
1315
|
+
self._values["source_name"] = source_name
|
|
1316
|
+
if source_version is not None:
|
|
1317
|
+
self._values["source_version"] = source_version
|
|
1318
|
+
|
|
1319
|
+
@builtins.property
|
|
1320
|
+
def source_name(self) -> typing.Optional[builtins.str]:
|
|
1321
|
+
'''The name for a AWS source.
|
|
1322
|
+
|
|
1323
|
+
This must be a Regionally unique value.
|
|
1324
|
+
|
|
1325
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-awslogsource.html#cfn-securitylake-subscriber-awslogsource-sourcename
|
|
1326
|
+
'''
|
|
1327
|
+
result = self._values.get("source_name")
|
|
1328
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1329
|
+
|
|
1330
|
+
@builtins.property
|
|
1331
|
+
def source_version(self) -> typing.Optional[builtins.str]:
|
|
1332
|
+
'''The version for a AWS source.
|
|
1333
|
+
|
|
1334
|
+
This must be a Regionally unique value.
|
|
1335
|
+
|
|
1336
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-awslogsource.html#cfn-securitylake-subscriber-awslogsource-sourceversion
|
|
1337
|
+
'''
|
|
1338
|
+
result = self._values.get("source_version")
|
|
1339
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1340
|
+
|
|
1341
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1342
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1343
|
+
|
|
1344
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1345
|
+
return not (rhs == self)
|
|
1346
|
+
|
|
1347
|
+
def __repr__(self) -> str:
|
|
1348
|
+
return "AwsLogSourceProperty(%s)" % ", ".join(
|
|
1349
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1350
|
+
)
|
|
1351
|
+
|
|
1352
|
+
@jsii.data_type(
|
|
1353
|
+
jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriber.CustomLogSourceProperty",
|
|
1354
|
+
jsii_struct_bases=[],
|
|
1355
|
+
name_mapping={"source_name": "sourceName", "source_version": "sourceVersion"},
|
|
1356
|
+
)
|
|
1357
|
+
class CustomLogSourceProperty:
|
|
1358
|
+
def __init__(
|
|
1359
|
+
self,
|
|
1360
|
+
*,
|
|
1361
|
+
source_name: typing.Optional[builtins.str] = None,
|
|
1362
|
+
source_version: typing.Optional[builtins.str] = None,
|
|
1363
|
+
) -> None:
|
|
1364
|
+
'''
|
|
1365
|
+
:param source_name: The name for a third-party custom source. This must be a Regionally unique value.
|
|
1366
|
+
:param source_version: The version for a third-party custom source. This must be a Regionally unique value.
|
|
1367
|
+
|
|
1368
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-customlogsource.html
|
|
1369
|
+
:exampleMetadata: fixture=_generated
|
|
1370
|
+
|
|
1371
|
+
Example::
|
|
1372
|
+
|
|
1373
|
+
# The code below shows an example of how to instantiate this type.
|
|
1374
|
+
# The values are placeholders you should change.
|
|
1375
|
+
from aws_cdk import aws_securitylake as securitylake
|
|
1376
|
+
|
|
1377
|
+
custom_log_source_property = securitylake.CfnSubscriber.CustomLogSourceProperty(
|
|
1378
|
+
source_name="sourceName",
|
|
1379
|
+
source_version="sourceVersion"
|
|
1380
|
+
)
|
|
1381
|
+
'''
|
|
1382
|
+
if __debug__:
|
|
1383
|
+
type_hints = typing.get_type_hints(_typecheckingstub__be7ff1808e2250d74fc3f0286676c85a2ac63ab562fb09265ceb5138256bdb3a)
|
|
1384
|
+
check_type(argname="argument source_name", value=source_name, expected_type=type_hints["source_name"])
|
|
1385
|
+
check_type(argname="argument source_version", value=source_version, expected_type=type_hints["source_version"])
|
|
1386
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1387
|
+
if source_name is not None:
|
|
1388
|
+
self._values["source_name"] = source_name
|
|
1389
|
+
if source_version is not None:
|
|
1390
|
+
self._values["source_version"] = source_version
|
|
1391
|
+
|
|
1392
|
+
@builtins.property
|
|
1393
|
+
def source_name(self) -> typing.Optional[builtins.str]:
|
|
1394
|
+
'''The name for a third-party custom source.
|
|
1395
|
+
|
|
1396
|
+
This must be a Regionally unique value.
|
|
1397
|
+
|
|
1398
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-customlogsource.html#cfn-securitylake-subscriber-customlogsource-sourcename
|
|
1399
|
+
'''
|
|
1400
|
+
result = self._values.get("source_name")
|
|
1401
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1402
|
+
|
|
1403
|
+
@builtins.property
|
|
1404
|
+
def source_version(self) -> typing.Optional[builtins.str]:
|
|
1405
|
+
'''The version for a third-party custom source.
|
|
1406
|
+
|
|
1407
|
+
This must be a Regionally unique value.
|
|
1408
|
+
|
|
1409
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-customlogsource.html#cfn-securitylake-subscriber-customlogsource-sourceversion
|
|
1410
|
+
'''
|
|
1411
|
+
result = self._values.get("source_version")
|
|
1412
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1413
|
+
|
|
1414
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1415
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1416
|
+
|
|
1417
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1418
|
+
return not (rhs == self)
|
|
1419
|
+
|
|
1420
|
+
def __repr__(self) -> str:
|
|
1421
|
+
return "CustomLogSourceProperty(%s)" % ", ".join(
|
|
1422
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1423
|
+
)
|
|
1424
|
+
|
|
1425
|
+
@jsii.data_type(
|
|
1426
|
+
jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriber.SourceProperty",
|
|
1427
|
+
jsii_struct_bases=[],
|
|
1428
|
+
name_mapping={
|
|
1429
|
+
"aws_log_source": "awsLogSource",
|
|
1430
|
+
"custom_log_source": "customLogSource",
|
|
1431
|
+
},
|
|
1432
|
+
)
|
|
1433
|
+
class SourceProperty:
|
|
1434
|
+
def __init__(
|
|
1435
|
+
self,
|
|
1436
|
+
*,
|
|
1437
|
+
aws_log_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriber.AwsLogSourceProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1438
|
+
custom_log_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSubscriber.CustomLogSourceProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1439
|
+
) -> None:
|
|
1440
|
+
'''
|
|
1441
|
+
:param aws_log_source: Amazon Security Lake supports log and event collection for natively supported AWS services.
|
|
1442
|
+
:param custom_log_source:
|
|
1443
|
+
|
|
1444
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-source.html
|
|
1445
|
+
:exampleMetadata: fixture=_generated
|
|
1446
|
+
|
|
1447
|
+
Example::
|
|
1448
|
+
|
|
1449
|
+
# The code below shows an example of how to instantiate this type.
|
|
1450
|
+
# The values are placeholders you should change.
|
|
1451
|
+
from aws_cdk import aws_securitylake as securitylake
|
|
1452
|
+
|
|
1453
|
+
source_property = securitylake.CfnSubscriber.SourceProperty(
|
|
1454
|
+
aws_log_source=securitylake.CfnSubscriber.AwsLogSourceProperty(
|
|
1455
|
+
source_name="sourceName",
|
|
1456
|
+
source_version="sourceVersion"
|
|
1457
|
+
),
|
|
1458
|
+
custom_log_source=securitylake.CfnSubscriber.CustomLogSourceProperty(
|
|
1459
|
+
source_name="sourceName",
|
|
1460
|
+
source_version="sourceVersion"
|
|
1461
|
+
)
|
|
1462
|
+
)
|
|
1463
|
+
'''
|
|
1464
|
+
if __debug__:
|
|
1465
|
+
type_hints = typing.get_type_hints(_typecheckingstub__09624bc0a82e7efd60186ff6e6eeff97f2daca3d7d705b8e7e3451a7add8d126)
|
|
1466
|
+
check_type(argname="argument aws_log_source", value=aws_log_source, expected_type=type_hints["aws_log_source"])
|
|
1467
|
+
check_type(argname="argument custom_log_source", value=custom_log_source, expected_type=type_hints["custom_log_source"])
|
|
1468
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1469
|
+
if aws_log_source is not None:
|
|
1470
|
+
self._values["aws_log_source"] = aws_log_source
|
|
1471
|
+
if custom_log_source is not None:
|
|
1472
|
+
self._values["custom_log_source"] = custom_log_source
|
|
1473
|
+
|
|
1474
|
+
@builtins.property
|
|
1475
|
+
def aws_log_source(
|
|
1476
|
+
self,
|
|
1477
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.AwsLogSourceProperty"]]:
|
|
1478
|
+
'''Amazon Security Lake supports log and event collection for natively supported AWS services.
|
|
1479
|
+
|
|
1480
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-source.html#cfn-securitylake-subscriber-source-awslogsource
|
|
1481
|
+
'''
|
|
1482
|
+
result = self._values.get("aws_log_source")
|
|
1483
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.AwsLogSourceProperty"]], result)
|
|
1484
|
+
|
|
1485
|
+
@builtins.property
|
|
1486
|
+
def custom_log_source(
|
|
1487
|
+
self,
|
|
1488
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.CustomLogSourceProperty"]]:
|
|
1489
|
+
'''
|
|
1490
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-source.html#cfn-securitylake-subscriber-source-customlogsource
|
|
1491
|
+
'''
|
|
1492
|
+
result = self._values.get("custom_log_source")
|
|
1493
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSubscriber.CustomLogSourceProperty"]], result)
|
|
1494
|
+
|
|
1495
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1496
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1497
|
+
|
|
1498
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1499
|
+
return not (rhs == self)
|
|
1500
|
+
|
|
1501
|
+
def __repr__(self) -> str:
|
|
1502
|
+
return "SourceProperty(%s)" % ", ".join(
|
|
1503
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1504
|
+
)
|
|
1505
|
+
|
|
1506
|
+
@jsii.data_type(
|
|
1507
|
+
jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriber.SubscriberIdentityProperty",
|
|
1508
|
+
jsii_struct_bases=[],
|
|
1509
|
+
name_mapping={"external_id": "externalId", "principal": "principal"},
|
|
1510
|
+
)
|
|
1511
|
+
class SubscriberIdentityProperty:
|
|
1512
|
+
def __init__(
|
|
1513
|
+
self,
|
|
1514
|
+
*,
|
|
1515
|
+
external_id: builtins.str,
|
|
1516
|
+
principal: builtins.str,
|
|
1517
|
+
) -> None:
|
|
1518
|
+
'''The AWS identity used to access your data.
|
|
1519
|
+
|
|
1520
|
+
:param external_id: The external ID used to establish trust relationship with the AWS identity.
|
|
1521
|
+
:param principal: The AWS identity principal.
|
|
1522
|
+
|
|
1523
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-subscriberidentity.html
|
|
1524
|
+
:exampleMetadata: fixture=_generated
|
|
1525
|
+
|
|
1526
|
+
Example::
|
|
1527
|
+
|
|
1528
|
+
# The code below shows an example of how to instantiate this type.
|
|
1529
|
+
# The values are placeholders you should change.
|
|
1530
|
+
from aws_cdk import aws_securitylake as securitylake
|
|
1531
|
+
|
|
1532
|
+
subscriber_identity_property = securitylake.CfnSubscriber.SubscriberIdentityProperty(
|
|
1533
|
+
external_id="externalId",
|
|
1534
|
+
principal="principal"
|
|
1535
|
+
)
|
|
1536
|
+
'''
|
|
1537
|
+
if __debug__:
|
|
1538
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a2dd3305d7b56ebd933e9b9e7b243865a7a5c734ed08bef308334f82a70d692e)
|
|
1539
|
+
check_type(argname="argument external_id", value=external_id, expected_type=type_hints["external_id"])
|
|
1540
|
+
check_type(argname="argument principal", value=principal, expected_type=type_hints["principal"])
|
|
1541
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1542
|
+
"external_id": external_id,
|
|
1543
|
+
"principal": principal,
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
@builtins.property
|
|
1547
|
+
def external_id(self) -> builtins.str:
|
|
1548
|
+
'''The external ID used to establish trust relationship with the AWS identity.
|
|
1549
|
+
|
|
1550
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-subscriberidentity.html#cfn-securitylake-subscriber-subscriberidentity-externalid
|
|
1551
|
+
'''
|
|
1552
|
+
result = self._values.get("external_id")
|
|
1553
|
+
assert result is not None, "Required property 'external_id' is missing"
|
|
1554
|
+
return typing.cast(builtins.str, result)
|
|
1555
|
+
|
|
1556
|
+
@builtins.property
|
|
1557
|
+
def principal(self) -> builtins.str:
|
|
1558
|
+
'''The AWS identity principal.
|
|
1559
|
+
|
|
1560
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-subscriber-subscriberidentity.html#cfn-securitylake-subscriber-subscriberidentity-principal
|
|
1561
|
+
'''
|
|
1562
|
+
result = self._values.get("principal")
|
|
1563
|
+
assert result is not None, "Required property 'principal' is missing"
|
|
1564
|
+
return typing.cast(builtins.str, result)
|
|
1565
|
+
|
|
1566
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1567
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1568
|
+
|
|
1569
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1570
|
+
return not (rhs == self)
|
|
1571
|
+
|
|
1572
|
+
def __repr__(self) -> str:
|
|
1573
|
+
return "SubscriberIdentityProperty(%s)" % ", ".join(
|
|
1574
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1575
|
+
)
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
@jsii.data_type(
|
|
1579
|
+
jsii_type="aws-cdk-lib.aws_securitylake.CfnSubscriberProps",
|
|
1580
|
+
jsii_struct_bases=[],
|
|
1581
|
+
name_mapping={
|
|
1582
|
+
"access_types": "accessTypes",
|
|
1583
|
+
"data_lake_arn": "dataLakeArn",
|
|
1584
|
+
"sources": "sources",
|
|
1585
|
+
"subscriber_identity": "subscriberIdentity",
|
|
1586
|
+
"subscriber_name": "subscriberName",
|
|
1587
|
+
"subscriber_description": "subscriberDescription",
|
|
1588
|
+
"tags": "tags",
|
|
1589
|
+
},
|
|
1590
|
+
)
|
|
1591
|
+
class CfnSubscriberProps:
|
|
1592
|
+
def __init__(
|
|
1593
|
+
self,
|
|
1594
|
+
*,
|
|
1595
|
+
access_types: typing.Sequence[builtins.str],
|
|
1596
|
+
data_lake_arn: builtins.str,
|
|
1597
|
+
sources: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1598
|
+
subscriber_identity: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SubscriberIdentityProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1599
|
+
subscriber_name: builtins.str,
|
|
1600
|
+
subscriber_description: typing.Optional[builtins.str] = None,
|
|
1601
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1602
|
+
) -> None:
|
|
1603
|
+
'''Properties for defining a ``CfnSubscriber``.
|
|
1604
|
+
|
|
1605
|
+
:param access_types: The Amazon S3 or AWS Lake Formation access type.
|
|
1606
|
+
:param data_lake_arn: The ARN for the data lake.
|
|
1607
|
+
:param sources: The supported AWS services from which logs and events are collected.
|
|
1608
|
+
:param subscriber_identity: The AWS identity used to access your data.
|
|
1609
|
+
:param subscriber_name: The name of your Security Lake subscriber account.
|
|
1610
|
+
:param subscriber_description: The description for your subscriber account in Security Lake.
|
|
1611
|
+
:param tags: 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.
|
|
1612
|
+
|
|
1613
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html
|
|
1614
|
+
:exampleMetadata: fixture=_generated
|
|
1615
|
+
|
|
1616
|
+
Example::
|
|
1617
|
+
|
|
1618
|
+
# The code below shows an example of how to instantiate this type.
|
|
1619
|
+
# The values are placeholders you should change.
|
|
1620
|
+
from aws_cdk import aws_securitylake as securitylake
|
|
1621
|
+
|
|
1622
|
+
cfn_subscriber_props = securitylake.CfnSubscriberProps(
|
|
1623
|
+
access_types=["accessTypes"],
|
|
1624
|
+
data_lake_arn="dataLakeArn",
|
|
1625
|
+
sources=[securitylake.CfnSubscriber.SourceProperty(
|
|
1626
|
+
aws_log_source=securitylake.CfnSubscriber.AwsLogSourceProperty(
|
|
1627
|
+
source_name="sourceName",
|
|
1628
|
+
source_version="sourceVersion"
|
|
1629
|
+
),
|
|
1630
|
+
custom_log_source=securitylake.CfnSubscriber.CustomLogSourceProperty(
|
|
1631
|
+
source_name="sourceName",
|
|
1632
|
+
source_version="sourceVersion"
|
|
1633
|
+
)
|
|
1634
|
+
)],
|
|
1635
|
+
subscriber_identity=securitylake.CfnSubscriber.SubscriberIdentityProperty(
|
|
1636
|
+
external_id="externalId",
|
|
1637
|
+
principal="principal"
|
|
1638
|
+
),
|
|
1639
|
+
subscriber_name="subscriberName",
|
|
1640
|
+
|
|
1641
|
+
# the properties below are optional
|
|
1642
|
+
subscriber_description="subscriberDescription",
|
|
1643
|
+
tags=[CfnTag(
|
|
1644
|
+
key="key",
|
|
1645
|
+
value="value"
|
|
1646
|
+
)]
|
|
1647
|
+
)
|
|
1648
|
+
'''
|
|
1649
|
+
if __debug__:
|
|
1650
|
+
type_hints = typing.get_type_hints(_typecheckingstub__48b4dffc39d9aeba296ada6ed3b12f7273758033f731faa94da735c639fb2f10)
|
|
1651
|
+
check_type(argname="argument access_types", value=access_types, expected_type=type_hints["access_types"])
|
|
1652
|
+
check_type(argname="argument data_lake_arn", value=data_lake_arn, expected_type=type_hints["data_lake_arn"])
|
|
1653
|
+
check_type(argname="argument sources", value=sources, expected_type=type_hints["sources"])
|
|
1654
|
+
check_type(argname="argument subscriber_identity", value=subscriber_identity, expected_type=type_hints["subscriber_identity"])
|
|
1655
|
+
check_type(argname="argument subscriber_name", value=subscriber_name, expected_type=type_hints["subscriber_name"])
|
|
1656
|
+
check_type(argname="argument subscriber_description", value=subscriber_description, expected_type=type_hints["subscriber_description"])
|
|
1657
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1658
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1659
|
+
"access_types": access_types,
|
|
1660
|
+
"data_lake_arn": data_lake_arn,
|
|
1661
|
+
"sources": sources,
|
|
1662
|
+
"subscriber_identity": subscriber_identity,
|
|
1663
|
+
"subscriber_name": subscriber_name,
|
|
1664
|
+
}
|
|
1665
|
+
if subscriber_description is not None:
|
|
1666
|
+
self._values["subscriber_description"] = subscriber_description
|
|
1667
|
+
if tags is not None:
|
|
1668
|
+
self._values["tags"] = tags
|
|
1669
|
+
|
|
1670
|
+
@builtins.property
|
|
1671
|
+
def access_types(self) -> typing.List[builtins.str]:
|
|
1672
|
+
'''The Amazon S3 or AWS Lake Formation access type.
|
|
1673
|
+
|
|
1674
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html#cfn-securitylake-subscriber-accesstypes
|
|
1675
|
+
'''
|
|
1676
|
+
result = self._values.get("access_types")
|
|
1677
|
+
assert result is not None, "Required property 'access_types' is missing"
|
|
1678
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
1679
|
+
|
|
1680
|
+
@builtins.property
|
|
1681
|
+
def data_lake_arn(self) -> builtins.str:
|
|
1682
|
+
'''The ARN for the data lake.
|
|
1683
|
+
|
|
1684
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html#cfn-securitylake-subscriber-datalakearn
|
|
1685
|
+
'''
|
|
1686
|
+
result = self._values.get("data_lake_arn")
|
|
1687
|
+
assert result is not None, "Required property 'data_lake_arn' is missing"
|
|
1688
|
+
return typing.cast(builtins.str, result)
|
|
1689
|
+
|
|
1690
|
+
@builtins.property
|
|
1691
|
+
def sources(
|
|
1692
|
+
self,
|
|
1693
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSubscriber.SourceProperty]]]:
|
|
1694
|
+
'''The supported AWS services from which logs and events are collected.
|
|
1695
|
+
|
|
1696
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html#cfn-securitylake-subscriber-sources
|
|
1697
|
+
'''
|
|
1698
|
+
result = self._values.get("sources")
|
|
1699
|
+
assert result is not None, "Required property 'sources' is missing"
|
|
1700
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSubscriber.SourceProperty]]], result)
|
|
1701
|
+
|
|
1702
|
+
@builtins.property
|
|
1703
|
+
def subscriber_identity(
|
|
1704
|
+
self,
|
|
1705
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnSubscriber.SubscriberIdentityProperty]:
|
|
1706
|
+
'''The AWS identity used to access your data.
|
|
1707
|
+
|
|
1708
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html#cfn-securitylake-subscriber-subscriberidentity
|
|
1709
|
+
'''
|
|
1710
|
+
result = self._values.get("subscriber_identity")
|
|
1711
|
+
assert result is not None, "Required property 'subscriber_identity' is missing"
|
|
1712
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnSubscriber.SubscriberIdentityProperty], result)
|
|
1713
|
+
|
|
1714
|
+
@builtins.property
|
|
1715
|
+
def subscriber_name(self) -> builtins.str:
|
|
1716
|
+
'''The name of your Security Lake subscriber account.
|
|
1717
|
+
|
|
1718
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html#cfn-securitylake-subscriber-subscribername
|
|
1719
|
+
'''
|
|
1720
|
+
result = self._values.get("subscriber_name")
|
|
1721
|
+
assert result is not None, "Required property 'subscriber_name' is missing"
|
|
1722
|
+
return typing.cast(builtins.str, result)
|
|
1723
|
+
|
|
1724
|
+
@builtins.property
|
|
1725
|
+
def subscriber_description(self) -> typing.Optional[builtins.str]:
|
|
1726
|
+
'''The description for your subscriber account in Security Lake.
|
|
1727
|
+
|
|
1728
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html#cfn-securitylake-subscriber-subscriberdescription
|
|
1729
|
+
'''
|
|
1730
|
+
result = self._values.get("subscriber_description")
|
|
1731
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1732
|
+
|
|
1733
|
+
@builtins.property
|
|
1734
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1735
|
+
'''An array of objects, one for each tag to associate with the subscriber.
|
|
1736
|
+
|
|
1737
|
+
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.
|
|
1738
|
+
|
|
1739
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-subscriber.html#cfn-securitylake-subscriber-tags
|
|
1740
|
+
'''
|
|
1741
|
+
result = self._values.get("tags")
|
|
1742
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
1743
|
+
|
|
1744
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1745
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1746
|
+
|
|
1747
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1748
|
+
return not (rhs == self)
|
|
1749
|
+
|
|
1750
|
+
def __repr__(self) -> str:
|
|
1751
|
+
return "CfnSubscriberProps(%s)" % ", ".join(
|
|
1752
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1753
|
+
)
|
|
1754
|
+
|
|
1755
|
+
|
|
1756
|
+
__all__ = [
|
|
1757
|
+
"CfnAwsLogSource",
|
|
1758
|
+
"CfnAwsLogSourceProps",
|
|
1759
|
+
"CfnDataLake",
|
|
1760
|
+
"CfnDataLakeProps",
|
|
1761
|
+
"CfnSubscriber",
|
|
1762
|
+
"CfnSubscriberProps",
|
|
1763
|
+
]
|
|
1764
|
+
|
|
1765
|
+
publication.publish()
|
|
1766
|
+
|
|
1767
|
+
def _typecheckingstub__c67fc1d68d61ef9dead7d443499c1a142da192386efc06474b3758994937de6b(
|
|
1768
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1769
|
+
id: builtins.str,
|
|
1770
|
+
*,
|
|
1771
|
+
data_lake_arn: builtins.str,
|
|
1772
|
+
source_name: builtins.str,
|
|
1773
|
+
source_version: builtins.str,
|
|
1774
|
+
accounts: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1775
|
+
) -> None:
|
|
1776
|
+
"""Type checking stubs"""
|
|
1777
|
+
pass
|
|
1778
|
+
|
|
1779
|
+
def _typecheckingstub__2f493097d98865e82cabeeb80dd31577169140709170903a313d3bc579da5bcb(
|
|
1780
|
+
inspector: _TreeInspector_488e0dd5,
|
|
1781
|
+
) -> None:
|
|
1782
|
+
"""Type checking stubs"""
|
|
1783
|
+
pass
|
|
1784
|
+
|
|
1785
|
+
def _typecheckingstub__d4b08275c623e99b1c0cca9f7d97a78cf719804d590ae90e5af151255c42753a(
|
|
1786
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1787
|
+
) -> None:
|
|
1788
|
+
"""Type checking stubs"""
|
|
1789
|
+
pass
|
|
1790
|
+
|
|
1791
|
+
def _typecheckingstub__ed09f296c9b906f7011ea796fce3b42122e1c0490eb544e941f5953a5b0f8403(
|
|
1792
|
+
value: builtins.str,
|
|
1793
|
+
) -> None:
|
|
1794
|
+
"""Type checking stubs"""
|
|
1795
|
+
pass
|
|
1796
|
+
|
|
1797
|
+
def _typecheckingstub__786699bc5ed670115ad16fc2d5cab658ddb4c20d9afccc0010adb67c796143ba(
|
|
1798
|
+
value: builtins.str,
|
|
1799
|
+
) -> None:
|
|
1800
|
+
"""Type checking stubs"""
|
|
1801
|
+
pass
|
|
1802
|
+
|
|
1803
|
+
def _typecheckingstub__2369f0ca541c99625731d8a7db77fa2a9f1346eab63190644c2695d471ddda46(
|
|
1804
|
+
value: builtins.str,
|
|
1805
|
+
) -> None:
|
|
1806
|
+
"""Type checking stubs"""
|
|
1807
|
+
pass
|
|
1808
|
+
|
|
1809
|
+
def _typecheckingstub__a1f564a49d096390f47538b02cc909d2927202e7d6b998b761aaf21810dcf11c(
|
|
1810
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
1811
|
+
) -> None:
|
|
1812
|
+
"""Type checking stubs"""
|
|
1813
|
+
pass
|
|
1814
|
+
|
|
1815
|
+
def _typecheckingstub__56ae11383caeefb7587043503a4fd999d42e30184765bd5e736dcae60c5b3b94(
|
|
1816
|
+
*,
|
|
1817
|
+
data_lake_arn: builtins.str,
|
|
1818
|
+
source_name: builtins.str,
|
|
1819
|
+
source_version: builtins.str,
|
|
1820
|
+
accounts: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1821
|
+
) -> None:
|
|
1822
|
+
"""Type checking stubs"""
|
|
1823
|
+
pass
|
|
1824
|
+
|
|
1825
|
+
def _typecheckingstub__ff487a50882ee11f396717fb970b445f3274af88108d1c1d390543dfb1fdf534(
|
|
1826
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1827
|
+
id: builtins.str,
|
|
1828
|
+
*,
|
|
1829
|
+
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataLake.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1830
|
+
lifecycle_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataLake.LifecycleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1831
|
+
meta_store_manager_role_arn: typing.Optional[builtins.str] = None,
|
|
1832
|
+
replication_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataLake.ReplicationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1833
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1834
|
+
) -> None:
|
|
1835
|
+
"""Type checking stubs"""
|
|
1836
|
+
pass
|
|
1837
|
+
|
|
1838
|
+
def _typecheckingstub__0d7a1c25528114b19a22f7fe9e5b4213f46c37e16f22245bc3dc38ad34fc7ef6(
|
|
1839
|
+
inspector: _TreeInspector_488e0dd5,
|
|
1840
|
+
) -> None:
|
|
1841
|
+
"""Type checking stubs"""
|
|
1842
|
+
pass
|
|
1843
|
+
|
|
1844
|
+
def _typecheckingstub__eb852df583c773c6f5d30c27afae6f598c8606ae40f25dd1885d8fbf5013661b(
|
|
1845
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1846
|
+
) -> None:
|
|
1847
|
+
"""Type checking stubs"""
|
|
1848
|
+
pass
|
|
1849
|
+
|
|
1850
|
+
def _typecheckingstub__12edf08ab82b633325fe7034b3424955ea7bff566dfa00928107723a5d0f6a72(
|
|
1851
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataLake.EncryptionConfigurationProperty]],
|
|
1852
|
+
) -> None:
|
|
1853
|
+
"""Type checking stubs"""
|
|
1854
|
+
pass
|
|
1855
|
+
|
|
1856
|
+
def _typecheckingstub__916659d1bcdf1d6d40de689f3b334b766e1a8fb681a493926742e61ce5ba40b7(
|
|
1857
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataLake.LifecycleConfigurationProperty]],
|
|
1858
|
+
) -> None:
|
|
1859
|
+
"""Type checking stubs"""
|
|
1860
|
+
pass
|
|
1861
|
+
|
|
1862
|
+
def _typecheckingstub__23cd82335763114e4ff9c52f4ff2b4db4b4be68cc8f5b468e1325fa0e0e79558(
|
|
1863
|
+
value: typing.Optional[builtins.str],
|
|
1864
|
+
) -> None:
|
|
1865
|
+
"""Type checking stubs"""
|
|
1866
|
+
pass
|
|
1867
|
+
|
|
1868
|
+
def _typecheckingstub__647257bd68002b29a89b3128d4883d0c748e98d2c70a5b154446993271225230(
|
|
1869
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataLake.ReplicationConfigurationProperty]],
|
|
1870
|
+
) -> None:
|
|
1871
|
+
"""Type checking stubs"""
|
|
1872
|
+
pass
|
|
1873
|
+
|
|
1874
|
+
def _typecheckingstub__6654ce3b2fa02feedc8f03797f96ae7270d4bd79ef3c3791b522e8277fa3798c(
|
|
1875
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
1876
|
+
) -> None:
|
|
1877
|
+
"""Type checking stubs"""
|
|
1878
|
+
pass
|
|
1879
|
+
|
|
1880
|
+
def _typecheckingstub__c697088167e83d968076432c9f71877137655465afc625784270e3ba40d3f57b(
|
|
1881
|
+
*,
|
|
1882
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
815
1883
|
) -> None:
|
|
816
1884
|
"""Type checking stubs"""
|
|
817
1885
|
pass
|
|
@@ -857,3 +1925,117 @@ def _typecheckingstub__f98044af937b493e98dc654fc28cbeccbd1ee2f339cd00c1cc5905684
|
|
|
857
1925
|
) -> None:
|
|
858
1926
|
"""Type checking stubs"""
|
|
859
1927
|
pass
|
|
1928
|
+
|
|
1929
|
+
def _typecheckingstub__7cfdc1f6a6f3c553e914b6e8b917c7abd1db0a1142db24f189c29526acaaea39(
|
|
1930
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1931
|
+
id: builtins.str,
|
|
1932
|
+
*,
|
|
1933
|
+
access_types: typing.Sequence[builtins.str],
|
|
1934
|
+
data_lake_arn: builtins.str,
|
|
1935
|
+
sources: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1936
|
+
subscriber_identity: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SubscriberIdentityProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1937
|
+
subscriber_name: builtins.str,
|
|
1938
|
+
subscriber_description: typing.Optional[builtins.str] = None,
|
|
1939
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1940
|
+
) -> None:
|
|
1941
|
+
"""Type checking stubs"""
|
|
1942
|
+
pass
|
|
1943
|
+
|
|
1944
|
+
def _typecheckingstub__a8615499628b1f4753ef250f307567474c9df890e5c028af197e02c5372c550c(
|
|
1945
|
+
inspector: _TreeInspector_488e0dd5,
|
|
1946
|
+
) -> None:
|
|
1947
|
+
"""Type checking stubs"""
|
|
1948
|
+
pass
|
|
1949
|
+
|
|
1950
|
+
def _typecheckingstub__3790e1b87c269e951008aa5f293e263e93c06977e1eeed2a69dfca58c409514a(
|
|
1951
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1952
|
+
) -> None:
|
|
1953
|
+
"""Type checking stubs"""
|
|
1954
|
+
pass
|
|
1955
|
+
|
|
1956
|
+
def _typecheckingstub__3f5e7268ca27d6f9f4f7235ed5dc11031e3dcfecbb97acb334a181ffa62b0550(
|
|
1957
|
+
value: typing.List[builtins.str],
|
|
1958
|
+
) -> None:
|
|
1959
|
+
"""Type checking stubs"""
|
|
1960
|
+
pass
|
|
1961
|
+
|
|
1962
|
+
def _typecheckingstub__6b6df05258f367a78b9fe1e83d93bbb4170db63eebfcfcaf47743e3795fdea19(
|
|
1963
|
+
value: builtins.str,
|
|
1964
|
+
) -> None:
|
|
1965
|
+
"""Type checking stubs"""
|
|
1966
|
+
pass
|
|
1967
|
+
|
|
1968
|
+
def _typecheckingstub__bc932de85d8e0823efeb32cd9962639ee0df5d9caf72a0cc1bd8a74abd3853f1(
|
|
1969
|
+
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnSubscriber.SourceProperty]]],
|
|
1970
|
+
) -> None:
|
|
1971
|
+
"""Type checking stubs"""
|
|
1972
|
+
pass
|
|
1973
|
+
|
|
1974
|
+
def _typecheckingstub__844ac1bd9005c05fc49f39ac053da7c40f778e558a2e4cf96983161b114d88a7(
|
|
1975
|
+
value: typing.Union[_IResolvable_da3f097b, CfnSubscriber.SubscriberIdentityProperty],
|
|
1976
|
+
) -> None:
|
|
1977
|
+
"""Type checking stubs"""
|
|
1978
|
+
pass
|
|
1979
|
+
|
|
1980
|
+
def _typecheckingstub__cd9beb9187d8345c4ae00d2ee6483cd5f3841d1801dffe9de561ed1934ddd965(
|
|
1981
|
+
value: builtins.str,
|
|
1982
|
+
) -> None:
|
|
1983
|
+
"""Type checking stubs"""
|
|
1984
|
+
pass
|
|
1985
|
+
|
|
1986
|
+
def _typecheckingstub__3147cb4779ff5832faddc8bdeac62a5ff6db17ddc1eddee78b4f5ca463a0ed76(
|
|
1987
|
+
value: typing.Optional[builtins.str],
|
|
1988
|
+
) -> None:
|
|
1989
|
+
"""Type checking stubs"""
|
|
1990
|
+
pass
|
|
1991
|
+
|
|
1992
|
+
def _typecheckingstub__b8f06145c3b30c94dc03a8f547df3132c6f47f465dc815eb5282aab9542906c1(
|
|
1993
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
1994
|
+
) -> None:
|
|
1995
|
+
"""Type checking stubs"""
|
|
1996
|
+
pass
|
|
1997
|
+
|
|
1998
|
+
def _typecheckingstub__f7b68bdff72d0a83be28cc208139e37398a7b328722b97984e752440b8b9b167(
|
|
1999
|
+
*,
|
|
2000
|
+
source_name: typing.Optional[builtins.str] = None,
|
|
2001
|
+
source_version: typing.Optional[builtins.str] = None,
|
|
2002
|
+
) -> None:
|
|
2003
|
+
"""Type checking stubs"""
|
|
2004
|
+
pass
|
|
2005
|
+
|
|
2006
|
+
def _typecheckingstub__be7ff1808e2250d74fc3f0286676c85a2ac63ab562fb09265ceb5138256bdb3a(
|
|
2007
|
+
*,
|
|
2008
|
+
source_name: typing.Optional[builtins.str] = None,
|
|
2009
|
+
source_version: typing.Optional[builtins.str] = None,
|
|
2010
|
+
) -> None:
|
|
2011
|
+
"""Type checking stubs"""
|
|
2012
|
+
pass
|
|
2013
|
+
|
|
2014
|
+
def _typecheckingstub__09624bc0a82e7efd60186ff6e6eeff97f2daca3d7d705b8e7e3451a7add8d126(
|
|
2015
|
+
*,
|
|
2016
|
+
aws_log_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.AwsLogSourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2017
|
+
custom_log_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.CustomLogSourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2018
|
+
) -> None:
|
|
2019
|
+
"""Type checking stubs"""
|
|
2020
|
+
pass
|
|
2021
|
+
|
|
2022
|
+
def _typecheckingstub__a2dd3305d7b56ebd933e9b9e7b243865a7a5c734ed08bef308334f82a70d692e(
|
|
2023
|
+
*,
|
|
2024
|
+
external_id: builtins.str,
|
|
2025
|
+
principal: builtins.str,
|
|
2026
|
+
) -> None:
|
|
2027
|
+
"""Type checking stubs"""
|
|
2028
|
+
pass
|
|
2029
|
+
|
|
2030
|
+
def _typecheckingstub__48b4dffc39d9aeba296ada6ed3b12f7273758033f731faa94da735c639fb2f10(
|
|
2031
|
+
*,
|
|
2032
|
+
access_types: typing.Sequence[builtins.str],
|
|
2033
|
+
data_lake_arn: builtins.str,
|
|
2034
|
+
sources: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2035
|
+
subscriber_identity: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSubscriber.SubscriberIdentityProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2036
|
+
subscriber_name: builtins.str,
|
|
2037
|
+
subscriber_description: typing.Optional[builtins.str] = None,
|
|
2038
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2039
|
+
) -> None:
|
|
2040
|
+
"""Type checking stubs"""
|
|
2041
|
+
pass
|