aws-cdk-lib 2.185.0__py3-none-any.whl → 2.186.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 +102 -29
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.185.0.jsii.tgz → aws-cdk-lib@2.186.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_apigatewayv2/__init__.py +9 -0
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_applicationsignals/__init__.py +363 -3
- aws_cdk/aws_appsync/__init__.py +65 -3
- aws_cdk/aws_bedrock/__init__.py +385 -14
- aws_cdk/aws_cleanrooms/__init__.py +21 -9
- aws_cdk/aws_cloudformation/__init__.py +1 -5
- aws_cdk/aws_cloudfront/__init__.py +4 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
- aws_cdk/aws_codeartifact/__init__.py +20 -33
- aws_cdk/aws_codepipeline/__init__.py +1328 -120
- aws_cdk/aws_cognito/__init__.py +1 -1
- aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
- aws_cdk/aws_connect/__init__.py +3 -7
- aws_cdk/aws_controltower/__init__.py +18 -26
- aws_cdk/aws_datazone/__init__.py +3471 -2
- aws_cdk/aws_ec2/__init__.py +560 -25
- aws_cdk/aws_ecs/__init__.py +15 -20
- aws_cdk/aws_events/__init__.py +37 -14
- aws_cdk/aws_gamelift/__init__.py +5 -5
- aws_cdk/aws_iam/__init__.py +264 -0
- aws_cdk/aws_imagebuilder/__init__.py +3 -27
- aws_cdk/aws_kinesisfirehose/__init__.py +2 -3
- aws_cdk/aws_lambda/__init__.py +7 -1
- aws_cdk/aws_location/__init__.py +24 -7
- aws_cdk/aws_msk/__init__.py +8 -2
- aws_cdk/aws_networkfirewall/__init__.py +16 -12
- aws_cdk/aws_oam/__init__.py +8 -37
- aws_cdk/aws_quicksight/__init__.py +6 -69
- aws_cdk/aws_redshiftserverless/__init__.py +192 -15
- aws_cdk/aws_rum/__init__.py +315 -52
- aws_cdk/aws_scheduler/__init__.py +3944 -121
- aws_cdk/aws_scheduler_targets/__init__.py +4472 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
- aws_cdk/aws_stepfunctions/__init__.py +17 -15
- aws_cdk/aws_timestream/__init__.py +4 -4
- aws_cdk/aws_wafv2/__init__.py +345 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
- aws_cdk/cx_api/__init__.py +23 -0
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.186.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.186.0.dist-info}/RECORD +49 -47
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.186.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.186.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.186.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.186.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_datazone/__init__.py
CHANGED
|
@@ -79,6 +79,3166 @@ from .. import (
|
|
|
79
79
|
)
|
|
80
80
|
|
|
81
81
|
|
|
82
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
83
|
+
class CfnConnection(
|
|
84
|
+
_CfnResource_9df397a6,
|
|
85
|
+
metaclass=jsii.JSIIMeta,
|
|
86
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection",
|
|
87
|
+
):
|
|
88
|
+
'''Connections enables users to connect their DataZone resources (domains, projects, and environments) to external resources/services (data, compute, etc).
|
|
89
|
+
|
|
90
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html
|
|
91
|
+
:cloudformationResource: AWS::DataZone::Connection
|
|
92
|
+
:exampleMetadata: fixture=_generated
|
|
93
|
+
|
|
94
|
+
Example::
|
|
95
|
+
|
|
96
|
+
# The code below shows an example of how to instantiate this type.
|
|
97
|
+
# The values are placeholders you should change.
|
|
98
|
+
from aws_cdk import aws_datazone as datazone
|
|
99
|
+
|
|
100
|
+
cfn_connection = datazone.CfnConnection(self, "MyCfnConnection",
|
|
101
|
+
domain_identifier="domainIdentifier",
|
|
102
|
+
environment_identifier="environmentIdentifier",
|
|
103
|
+
name="name",
|
|
104
|
+
|
|
105
|
+
# the properties below are optional
|
|
106
|
+
aws_location=datazone.CfnConnection.AwsLocationProperty(
|
|
107
|
+
access_role="accessRole",
|
|
108
|
+
aws_account_id="awsAccountId",
|
|
109
|
+
aws_region="awsRegion",
|
|
110
|
+
iam_connection_id="iamConnectionId"
|
|
111
|
+
),
|
|
112
|
+
description="description",
|
|
113
|
+
props=datazone.CfnConnection.ConnectionPropertiesInputProperty(
|
|
114
|
+
athena_properties=datazone.CfnConnection.AthenaPropertiesInputProperty(
|
|
115
|
+
workgroup_name="workgroupName"
|
|
116
|
+
),
|
|
117
|
+
glue_properties=datazone.CfnConnection.GluePropertiesInputProperty(
|
|
118
|
+
glue_connection_input=datazone.CfnConnection.GlueConnectionInputProperty(
|
|
119
|
+
athena_properties={
|
|
120
|
+
"athena_properties_key": "athenaProperties"
|
|
121
|
+
},
|
|
122
|
+
authentication_configuration=datazone.CfnConnection.AuthenticationConfigurationInputProperty(
|
|
123
|
+
authentication_type="authenticationType",
|
|
124
|
+
basic_authentication_credentials=datazone.CfnConnection.BasicAuthenticationCredentialsProperty(
|
|
125
|
+
password="password",
|
|
126
|
+
user_name="userName"
|
|
127
|
+
),
|
|
128
|
+
custom_authentication_credentials={
|
|
129
|
+
"custom_authentication_credentials_key": "customAuthenticationCredentials"
|
|
130
|
+
},
|
|
131
|
+
kms_key_arn="kmsKeyArn",
|
|
132
|
+
o_auth2_properties=datazone.CfnConnection.OAuth2PropertiesProperty(
|
|
133
|
+
authorization_code_properties=datazone.CfnConnection.AuthorizationCodePropertiesProperty(
|
|
134
|
+
authorization_code="authorizationCode",
|
|
135
|
+
redirect_uri="redirectUri"
|
|
136
|
+
),
|
|
137
|
+
o_auth2_client_application=datazone.CfnConnection.OAuth2ClientApplicationProperty(
|
|
138
|
+
aws_managed_client_application_reference="awsManagedClientApplicationReference",
|
|
139
|
+
user_managed_client_application_client_id="userManagedClientApplicationClientId"
|
|
140
|
+
),
|
|
141
|
+
o_auth2_credentials=datazone.CfnConnection.GlueOAuth2CredentialsProperty(
|
|
142
|
+
access_token="accessToken",
|
|
143
|
+
jwt_token="jwtToken",
|
|
144
|
+
refresh_token="refreshToken",
|
|
145
|
+
user_managed_client_application_client_secret="userManagedClientApplicationClientSecret"
|
|
146
|
+
),
|
|
147
|
+
o_auth2_grant_type="oAuth2GrantType",
|
|
148
|
+
token_url="tokenUrl",
|
|
149
|
+
token_url_parameters_map={
|
|
150
|
+
"token_url_parameters_map_key": "tokenUrlParametersMap"
|
|
151
|
+
}
|
|
152
|
+
),
|
|
153
|
+
secret_arn="secretArn"
|
|
154
|
+
),
|
|
155
|
+
connection_properties={
|
|
156
|
+
"connection_properties_key": "connectionProperties"
|
|
157
|
+
},
|
|
158
|
+
connection_type="connectionType",
|
|
159
|
+
description="description",
|
|
160
|
+
match_criteria="matchCriteria",
|
|
161
|
+
name="name",
|
|
162
|
+
physical_connection_requirements=datazone.CfnConnection.PhysicalConnectionRequirementsProperty(
|
|
163
|
+
availability_zone="availabilityZone",
|
|
164
|
+
security_group_id_list=["securityGroupIdList"],
|
|
165
|
+
subnet_id="subnetId",
|
|
166
|
+
subnet_id_list=["subnetIdList"]
|
|
167
|
+
),
|
|
168
|
+
python_properties={
|
|
169
|
+
"python_properties_key": "pythonProperties"
|
|
170
|
+
},
|
|
171
|
+
spark_properties={
|
|
172
|
+
"spark_properties_key": "sparkProperties"
|
|
173
|
+
},
|
|
174
|
+
validate_credentials=False,
|
|
175
|
+
validate_for_compute_environments=["validateForComputeEnvironments"]
|
|
176
|
+
)
|
|
177
|
+
),
|
|
178
|
+
hyper_pod_properties=datazone.CfnConnection.HyperPodPropertiesInputProperty(
|
|
179
|
+
cluster_name="clusterName"
|
|
180
|
+
),
|
|
181
|
+
iam_properties=datazone.CfnConnection.IamPropertiesInputProperty(
|
|
182
|
+
glue_lineage_sync_enabled=False
|
|
183
|
+
),
|
|
184
|
+
redshift_properties=datazone.CfnConnection.RedshiftPropertiesInputProperty(
|
|
185
|
+
credentials=datazone.CfnConnection.RedshiftCredentialsProperty(
|
|
186
|
+
secret_arn="secretArn",
|
|
187
|
+
username_password=datazone.CfnConnection.UsernamePasswordProperty(
|
|
188
|
+
password="password",
|
|
189
|
+
username="username"
|
|
190
|
+
)
|
|
191
|
+
),
|
|
192
|
+
database_name="databaseName",
|
|
193
|
+
host="host",
|
|
194
|
+
lineage_sync=datazone.CfnConnection.RedshiftLineageSyncConfigurationInputProperty(
|
|
195
|
+
enabled=False,
|
|
196
|
+
schedule=datazone.CfnConnection.LineageSyncScheduleProperty(
|
|
197
|
+
schedule="schedule"
|
|
198
|
+
)
|
|
199
|
+
),
|
|
200
|
+
port=123,
|
|
201
|
+
storage=datazone.CfnConnection.RedshiftStoragePropertiesProperty(
|
|
202
|
+
cluster_name="clusterName",
|
|
203
|
+
workgroup_name="workgroupName"
|
|
204
|
+
)
|
|
205
|
+
),
|
|
206
|
+
spark_emr_properties=datazone.CfnConnection.SparkEmrPropertiesInputProperty(
|
|
207
|
+
compute_arn="computeArn",
|
|
208
|
+
instance_profile_arn="instanceProfileArn",
|
|
209
|
+
java_virtual_env="javaVirtualEnv",
|
|
210
|
+
log_uri="logUri",
|
|
211
|
+
python_virtual_env="pythonVirtualEnv",
|
|
212
|
+
runtime_role="runtimeRole",
|
|
213
|
+
trusted_certificates_s3_uri="trustedCertificatesS3Uri"
|
|
214
|
+
),
|
|
215
|
+
spark_glue_properties=datazone.CfnConnection.SparkGluePropertiesInputProperty(
|
|
216
|
+
additional_args=datazone.CfnConnection.SparkGlueArgsProperty(
|
|
217
|
+
connection="connection"
|
|
218
|
+
),
|
|
219
|
+
glue_connection_name="glueConnectionName",
|
|
220
|
+
glue_version="glueVersion",
|
|
221
|
+
idle_timeout=123,
|
|
222
|
+
java_virtual_env="javaVirtualEnv",
|
|
223
|
+
number_of_workers=123,
|
|
224
|
+
python_virtual_env="pythonVirtualEnv",
|
|
225
|
+
worker_type="workerType"
|
|
226
|
+
)
|
|
227
|
+
)
|
|
228
|
+
)
|
|
229
|
+
'''
|
|
230
|
+
|
|
231
|
+
def __init__(
|
|
232
|
+
self,
|
|
233
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
234
|
+
id: builtins.str,
|
|
235
|
+
*,
|
|
236
|
+
domain_identifier: builtins.str,
|
|
237
|
+
environment_identifier: builtins.str,
|
|
238
|
+
name: builtins.str,
|
|
239
|
+
aws_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.AwsLocationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
240
|
+
description: typing.Optional[builtins.str] = None,
|
|
241
|
+
props: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ConnectionPropertiesInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
242
|
+
) -> None:
|
|
243
|
+
'''
|
|
244
|
+
:param scope: Scope in which this resource is defined.
|
|
245
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
246
|
+
:param domain_identifier: The identifier of the domain in which the connection is created.
|
|
247
|
+
:param environment_identifier: The identifier of the environment in which the connection is created.
|
|
248
|
+
:param name: The name of the connection.
|
|
249
|
+
:param aws_location: AWS Location of project.
|
|
250
|
+
:param description: The description of the connection.
|
|
251
|
+
:param props:
|
|
252
|
+
'''
|
|
253
|
+
if __debug__:
|
|
254
|
+
type_hints = typing.get_type_hints(_typecheckingstub__68db6ef5de752113ca6cf32190e1173ded9b82274379374d5e16834f4fed2680)
|
|
255
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
256
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
257
|
+
props_ = CfnConnectionProps(
|
|
258
|
+
domain_identifier=domain_identifier,
|
|
259
|
+
environment_identifier=environment_identifier,
|
|
260
|
+
name=name,
|
|
261
|
+
aws_location=aws_location,
|
|
262
|
+
description=description,
|
|
263
|
+
props=props,
|
|
264
|
+
)
|
|
265
|
+
|
|
266
|
+
jsii.create(self.__class__, self, [scope, id, props_])
|
|
267
|
+
|
|
268
|
+
@jsii.member(jsii_name="inspect")
|
|
269
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
270
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
271
|
+
|
|
272
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
273
|
+
'''
|
|
274
|
+
if __debug__:
|
|
275
|
+
type_hints = typing.get_type_hints(_typecheckingstub__398c2006651598ffb80d8dc727165745adb2a6958c75f5926b613ba3177e9d64)
|
|
276
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
277
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
278
|
+
|
|
279
|
+
@jsii.member(jsii_name="renderProperties")
|
|
280
|
+
def _render_properties(
|
|
281
|
+
self,
|
|
282
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
283
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
284
|
+
'''
|
|
285
|
+
:param props: -
|
|
286
|
+
'''
|
|
287
|
+
if __debug__:
|
|
288
|
+
type_hints = typing.get_type_hints(_typecheckingstub__136bd666b9e38ddb69494b10631ff5d0eaef6cf06229255303630179d477d90f)
|
|
289
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
290
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
291
|
+
|
|
292
|
+
@jsii.python.classproperty
|
|
293
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
294
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
295
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
296
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
297
|
+
|
|
298
|
+
@builtins.property
|
|
299
|
+
@jsii.member(jsii_name="attrConnectionId")
|
|
300
|
+
def attr_connection_id(self) -> builtins.str:
|
|
301
|
+
'''The ID of the connection.
|
|
302
|
+
|
|
303
|
+
:cloudformationAttribute: ConnectionId
|
|
304
|
+
'''
|
|
305
|
+
return typing.cast(builtins.str, jsii.get(self, "attrConnectionId"))
|
|
306
|
+
|
|
307
|
+
@builtins.property
|
|
308
|
+
@jsii.member(jsii_name="attrDomainId")
|
|
309
|
+
def attr_domain_id(self) -> builtins.str:
|
|
310
|
+
'''The ID of the domain in which the connection is created.
|
|
311
|
+
|
|
312
|
+
:cloudformationAttribute: DomainId
|
|
313
|
+
'''
|
|
314
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDomainId"))
|
|
315
|
+
|
|
316
|
+
@builtins.property
|
|
317
|
+
@jsii.member(jsii_name="attrDomainUnitId")
|
|
318
|
+
def attr_domain_unit_id(self) -> builtins.str:
|
|
319
|
+
'''The ID of the domain unit in which the connection is created.
|
|
320
|
+
|
|
321
|
+
:cloudformationAttribute: DomainUnitId
|
|
322
|
+
'''
|
|
323
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDomainUnitId"))
|
|
324
|
+
|
|
325
|
+
@builtins.property
|
|
326
|
+
@jsii.member(jsii_name="attrEnvironmentId")
|
|
327
|
+
def attr_environment_id(self) -> builtins.str:
|
|
328
|
+
'''The ID of the environment in which the connection is created.
|
|
329
|
+
|
|
330
|
+
:cloudformationAttribute: EnvironmentId
|
|
331
|
+
'''
|
|
332
|
+
return typing.cast(builtins.str, jsii.get(self, "attrEnvironmentId"))
|
|
333
|
+
|
|
334
|
+
@builtins.property
|
|
335
|
+
@jsii.member(jsii_name="attrEnvironmentUserRole")
|
|
336
|
+
def attr_environment_user_role(self) -> builtins.str:
|
|
337
|
+
'''The role of the user in the environment.
|
|
338
|
+
|
|
339
|
+
:cloudformationAttribute: EnvironmentUserRole
|
|
340
|
+
'''
|
|
341
|
+
return typing.cast(builtins.str, jsii.get(self, "attrEnvironmentUserRole"))
|
|
342
|
+
|
|
343
|
+
@builtins.property
|
|
344
|
+
@jsii.member(jsii_name="attrProjectId")
|
|
345
|
+
def attr_project_id(self) -> builtins.str:
|
|
346
|
+
'''The ID of the project in which the connection is created.
|
|
347
|
+
|
|
348
|
+
:cloudformationAttribute: ProjectId
|
|
349
|
+
'''
|
|
350
|
+
return typing.cast(builtins.str, jsii.get(self, "attrProjectId"))
|
|
351
|
+
|
|
352
|
+
@builtins.property
|
|
353
|
+
@jsii.member(jsii_name="attrType")
|
|
354
|
+
def attr_type(self) -> builtins.str:
|
|
355
|
+
'''Connection Type.
|
|
356
|
+
|
|
357
|
+
:cloudformationAttribute: Type
|
|
358
|
+
'''
|
|
359
|
+
return typing.cast(builtins.str, jsii.get(self, "attrType"))
|
|
360
|
+
|
|
361
|
+
@builtins.property
|
|
362
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
363
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
364
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
365
|
+
|
|
366
|
+
@builtins.property
|
|
367
|
+
@jsii.member(jsii_name="domainIdentifier")
|
|
368
|
+
def domain_identifier(self) -> builtins.str:
|
|
369
|
+
'''The identifier of the domain in which the connection is created.'''
|
|
370
|
+
return typing.cast(builtins.str, jsii.get(self, "domainIdentifier"))
|
|
371
|
+
|
|
372
|
+
@domain_identifier.setter
|
|
373
|
+
def domain_identifier(self, value: builtins.str) -> None:
|
|
374
|
+
if __debug__:
|
|
375
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0f8e028075d374db4fd60d67eeb1b9ec1a7ba6de37d2ff5159166ef7a5c1b36b)
|
|
376
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
377
|
+
jsii.set(self, "domainIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
378
|
+
|
|
379
|
+
@builtins.property
|
|
380
|
+
@jsii.member(jsii_name="environmentIdentifier")
|
|
381
|
+
def environment_identifier(self) -> builtins.str:
|
|
382
|
+
'''The identifier of the environment in which the connection is created.'''
|
|
383
|
+
return typing.cast(builtins.str, jsii.get(self, "environmentIdentifier"))
|
|
384
|
+
|
|
385
|
+
@environment_identifier.setter
|
|
386
|
+
def environment_identifier(self, value: builtins.str) -> None:
|
|
387
|
+
if __debug__:
|
|
388
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2b4cbfbd3c4ab850b86dca1cc1c0182806c09d658dbbad4aeefac22ff57e747f)
|
|
389
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
390
|
+
jsii.set(self, "environmentIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
391
|
+
|
|
392
|
+
@builtins.property
|
|
393
|
+
@jsii.member(jsii_name="name")
|
|
394
|
+
def name(self) -> builtins.str:
|
|
395
|
+
'''The name of the connection.'''
|
|
396
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
397
|
+
|
|
398
|
+
@name.setter
|
|
399
|
+
def name(self, value: builtins.str) -> None:
|
|
400
|
+
if __debug__:
|
|
401
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0d602657575f2a77c389ea4e89f4d92dbe2bb3c30e0ccfc811aff15e122a98d3)
|
|
402
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
403
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
404
|
+
|
|
405
|
+
@builtins.property
|
|
406
|
+
@jsii.member(jsii_name="awsLocation")
|
|
407
|
+
def aws_location(
|
|
408
|
+
self,
|
|
409
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AwsLocationProperty"]]:
|
|
410
|
+
'''AWS Location of project.'''
|
|
411
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AwsLocationProperty"]], jsii.get(self, "awsLocation"))
|
|
412
|
+
|
|
413
|
+
@aws_location.setter
|
|
414
|
+
def aws_location(
|
|
415
|
+
self,
|
|
416
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AwsLocationProperty"]],
|
|
417
|
+
) -> None:
|
|
418
|
+
if __debug__:
|
|
419
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2e0849d8ebdd0fce1643c3904bce5fd806bb233f7ff27eddb627fac859586e5c)
|
|
420
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
421
|
+
jsii.set(self, "awsLocation", value) # pyright: ignore[reportArgumentType]
|
|
422
|
+
|
|
423
|
+
@builtins.property
|
|
424
|
+
@jsii.member(jsii_name="description")
|
|
425
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
426
|
+
'''The description of the connection.'''
|
|
427
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
428
|
+
|
|
429
|
+
@description.setter
|
|
430
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
431
|
+
if __debug__:
|
|
432
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ab8e0823bbef4ec627d5b737de745882d73474d54729e96b788a912f2dfe521c)
|
|
433
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
434
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
435
|
+
|
|
436
|
+
@builtins.property
|
|
437
|
+
@jsii.member(jsii_name="props")
|
|
438
|
+
def props(
|
|
439
|
+
self,
|
|
440
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.ConnectionPropertiesInputProperty"]]:
|
|
441
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.ConnectionPropertiesInputProperty"]], jsii.get(self, "props"))
|
|
442
|
+
|
|
443
|
+
@props.setter
|
|
444
|
+
def props(
|
|
445
|
+
self,
|
|
446
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.ConnectionPropertiesInputProperty"]],
|
|
447
|
+
) -> None:
|
|
448
|
+
if __debug__:
|
|
449
|
+
type_hints = typing.get_type_hints(_typecheckingstub__17a641eb769944a69ded6b3f471012669d56d0ff95b65a8c7c137bc906851136)
|
|
450
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
451
|
+
jsii.set(self, "props", value) # pyright: ignore[reportArgumentType]
|
|
452
|
+
|
|
453
|
+
@jsii.data_type(
|
|
454
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.AthenaPropertiesInputProperty",
|
|
455
|
+
jsii_struct_bases=[],
|
|
456
|
+
name_mapping={"workgroup_name": "workgroupName"},
|
|
457
|
+
)
|
|
458
|
+
class AthenaPropertiesInputProperty:
|
|
459
|
+
def __init__(self, *, workgroup_name: builtins.str) -> None:
|
|
460
|
+
'''Athena Properties Input.
|
|
461
|
+
|
|
462
|
+
:param workgroup_name:
|
|
463
|
+
|
|
464
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-athenapropertiesinput.html
|
|
465
|
+
:exampleMetadata: fixture=_generated
|
|
466
|
+
|
|
467
|
+
Example::
|
|
468
|
+
|
|
469
|
+
# The code below shows an example of how to instantiate this type.
|
|
470
|
+
# The values are placeholders you should change.
|
|
471
|
+
from aws_cdk import aws_datazone as datazone
|
|
472
|
+
|
|
473
|
+
athena_properties_input_property = datazone.CfnConnection.AthenaPropertiesInputProperty(
|
|
474
|
+
workgroup_name="workgroupName"
|
|
475
|
+
)
|
|
476
|
+
'''
|
|
477
|
+
if __debug__:
|
|
478
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6dc6a593151a7d129b46176dfadfaef1e3447a0d3883bc7e17f19c97bc36e3b3)
|
|
479
|
+
check_type(argname="argument workgroup_name", value=workgroup_name, expected_type=type_hints["workgroup_name"])
|
|
480
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
481
|
+
"workgroup_name": workgroup_name,
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
@builtins.property
|
|
485
|
+
def workgroup_name(self) -> builtins.str:
|
|
486
|
+
'''
|
|
487
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-athenapropertiesinput.html#cfn-datazone-connection-athenapropertiesinput-workgroupname
|
|
488
|
+
'''
|
|
489
|
+
result = self._values.get("workgroup_name")
|
|
490
|
+
assert result is not None, "Required property 'workgroup_name' is missing"
|
|
491
|
+
return typing.cast(builtins.str, result)
|
|
492
|
+
|
|
493
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
494
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
495
|
+
|
|
496
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
497
|
+
return not (rhs == self)
|
|
498
|
+
|
|
499
|
+
def __repr__(self) -> str:
|
|
500
|
+
return "AthenaPropertiesInputProperty(%s)" % ", ".join(
|
|
501
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
502
|
+
)
|
|
503
|
+
|
|
504
|
+
@jsii.data_type(
|
|
505
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.AuthenticationConfigurationInputProperty",
|
|
506
|
+
jsii_struct_bases=[],
|
|
507
|
+
name_mapping={
|
|
508
|
+
"authentication_type": "authenticationType",
|
|
509
|
+
"basic_authentication_credentials": "basicAuthenticationCredentials",
|
|
510
|
+
"custom_authentication_credentials": "customAuthenticationCredentials",
|
|
511
|
+
"kms_key_arn": "kmsKeyArn",
|
|
512
|
+
"o_auth2_properties": "oAuth2Properties",
|
|
513
|
+
"secret_arn": "secretArn",
|
|
514
|
+
},
|
|
515
|
+
)
|
|
516
|
+
class AuthenticationConfigurationInputProperty:
|
|
517
|
+
def __init__(
|
|
518
|
+
self,
|
|
519
|
+
*,
|
|
520
|
+
authentication_type: typing.Optional[builtins.str] = None,
|
|
521
|
+
basic_authentication_credentials: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.BasicAuthenticationCredentialsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
522
|
+
custom_authentication_credentials: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
523
|
+
kms_key_arn: typing.Optional[builtins.str] = None,
|
|
524
|
+
o_auth2_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.OAuth2PropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
525
|
+
secret_arn: typing.Optional[builtins.str] = None,
|
|
526
|
+
) -> None:
|
|
527
|
+
'''Authentication Configuration Input.
|
|
528
|
+
|
|
529
|
+
:param authentication_type: Authentication Type.
|
|
530
|
+
:param basic_authentication_credentials: Basic Authentication Credentials.
|
|
531
|
+
:param custom_authentication_credentials: Credential Map.
|
|
532
|
+
:param kms_key_arn:
|
|
533
|
+
:param o_auth2_properties: OAuth2 Properties.
|
|
534
|
+
:param secret_arn:
|
|
535
|
+
|
|
536
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html
|
|
537
|
+
:exampleMetadata: fixture=_generated
|
|
538
|
+
|
|
539
|
+
Example::
|
|
540
|
+
|
|
541
|
+
# The code below shows an example of how to instantiate this type.
|
|
542
|
+
# The values are placeholders you should change.
|
|
543
|
+
from aws_cdk import aws_datazone as datazone
|
|
544
|
+
|
|
545
|
+
authentication_configuration_input_property = datazone.CfnConnection.AuthenticationConfigurationInputProperty(
|
|
546
|
+
authentication_type="authenticationType",
|
|
547
|
+
basic_authentication_credentials=datazone.CfnConnection.BasicAuthenticationCredentialsProperty(
|
|
548
|
+
password="password",
|
|
549
|
+
user_name="userName"
|
|
550
|
+
),
|
|
551
|
+
custom_authentication_credentials={
|
|
552
|
+
"custom_authentication_credentials_key": "customAuthenticationCredentials"
|
|
553
|
+
},
|
|
554
|
+
kms_key_arn="kmsKeyArn",
|
|
555
|
+
o_auth2_properties=datazone.CfnConnection.OAuth2PropertiesProperty(
|
|
556
|
+
authorization_code_properties=datazone.CfnConnection.AuthorizationCodePropertiesProperty(
|
|
557
|
+
authorization_code="authorizationCode",
|
|
558
|
+
redirect_uri="redirectUri"
|
|
559
|
+
),
|
|
560
|
+
o_auth2_client_application=datazone.CfnConnection.OAuth2ClientApplicationProperty(
|
|
561
|
+
aws_managed_client_application_reference="awsManagedClientApplicationReference",
|
|
562
|
+
user_managed_client_application_client_id="userManagedClientApplicationClientId"
|
|
563
|
+
),
|
|
564
|
+
o_auth2_credentials=datazone.CfnConnection.GlueOAuth2CredentialsProperty(
|
|
565
|
+
access_token="accessToken",
|
|
566
|
+
jwt_token="jwtToken",
|
|
567
|
+
refresh_token="refreshToken",
|
|
568
|
+
user_managed_client_application_client_secret="userManagedClientApplicationClientSecret"
|
|
569
|
+
),
|
|
570
|
+
o_auth2_grant_type="oAuth2GrantType",
|
|
571
|
+
token_url="tokenUrl",
|
|
572
|
+
token_url_parameters_map={
|
|
573
|
+
"token_url_parameters_map_key": "tokenUrlParametersMap"
|
|
574
|
+
}
|
|
575
|
+
),
|
|
576
|
+
secret_arn="secretArn"
|
|
577
|
+
)
|
|
578
|
+
'''
|
|
579
|
+
if __debug__:
|
|
580
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bede0f21a390e4991cddbe5e8b7fc491f05c5af9d778e5f1ecb4a57c9c7144e9)
|
|
581
|
+
check_type(argname="argument authentication_type", value=authentication_type, expected_type=type_hints["authentication_type"])
|
|
582
|
+
check_type(argname="argument basic_authentication_credentials", value=basic_authentication_credentials, expected_type=type_hints["basic_authentication_credentials"])
|
|
583
|
+
check_type(argname="argument custom_authentication_credentials", value=custom_authentication_credentials, expected_type=type_hints["custom_authentication_credentials"])
|
|
584
|
+
check_type(argname="argument kms_key_arn", value=kms_key_arn, expected_type=type_hints["kms_key_arn"])
|
|
585
|
+
check_type(argname="argument o_auth2_properties", value=o_auth2_properties, expected_type=type_hints["o_auth2_properties"])
|
|
586
|
+
check_type(argname="argument secret_arn", value=secret_arn, expected_type=type_hints["secret_arn"])
|
|
587
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
588
|
+
if authentication_type is not None:
|
|
589
|
+
self._values["authentication_type"] = authentication_type
|
|
590
|
+
if basic_authentication_credentials is not None:
|
|
591
|
+
self._values["basic_authentication_credentials"] = basic_authentication_credentials
|
|
592
|
+
if custom_authentication_credentials is not None:
|
|
593
|
+
self._values["custom_authentication_credentials"] = custom_authentication_credentials
|
|
594
|
+
if kms_key_arn is not None:
|
|
595
|
+
self._values["kms_key_arn"] = kms_key_arn
|
|
596
|
+
if o_auth2_properties is not None:
|
|
597
|
+
self._values["o_auth2_properties"] = o_auth2_properties
|
|
598
|
+
if secret_arn is not None:
|
|
599
|
+
self._values["secret_arn"] = secret_arn
|
|
600
|
+
|
|
601
|
+
@builtins.property
|
|
602
|
+
def authentication_type(self) -> typing.Optional[builtins.str]:
|
|
603
|
+
'''Authentication Type.
|
|
604
|
+
|
|
605
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html#cfn-datazone-connection-authenticationconfigurationinput-authenticationtype
|
|
606
|
+
'''
|
|
607
|
+
result = self._values.get("authentication_type")
|
|
608
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
609
|
+
|
|
610
|
+
@builtins.property
|
|
611
|
+
def basic_authentication_credentials(
|
|
612
|
+
self,
|
|
613
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.BasicAuthenticationCredentialsProperty"]]:
|
|
614
|
+
'''Basic Authentication Credentials.
|
|
615
|
+
|
|
616
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html#cfn-datazone-connection-authenticationconfigurationinput-basicauthenticationcredentials
|
|
617
|
+
'''
|
|
618
|
+
result = self._values.get("basic_authentication_credentials")
|
|
619
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.BasicAuthenticationCredentialsProperty"]], result)
|
|
620
|
+
|
|
621
|
+
@builtins.property
|
|
622
|
+
def custom_authentication_credentials(
|
|
623
|
+
self,
|
|
624
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
625
|
+
'''Credential Map.
|
|
626
|
+
|
|
627
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html#cfn-datazone-connection-authenticationconfigurationinput-customauthenticationcredentials
|
|
628
|
+
'''
|
|
629
|
+
result = self._values.get("custom_authentication_credentials")
|
|
630
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
631
|
+
|
|
632
|
+
@builtins.property
|
|
633
|
+
def kms_key_arn(self) -> typing.Optional[builtins.str]:
|
|
634
|
+
'''
|
|
635
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html#cfn-datazone-connection-authenticationconfigurationinput-kmskeyarn
|
|
636
|
+
'''
|
|
637
|
+
result = self._values.get("kms_key_arn")
|
|
638
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
639
|
+
|
|
640
|
+
@builtins.property
|
|
641
|
+
def o_auth2_properties(
|
|
642
|
+
self,
|
|
643
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.OAuth2PropertiesProperty"]]:
|
|
644
|
+
'''OAuth2 Properties.
|
|
645
|
+
|
|
646
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html#cfn-datazone-connection-authenticationconfigurationinput-oauth2properties
|
|
647
|
+
'''
|
|
648
|
+
result = self._values.get("o_auth2_properties")
|
|
649
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.OAuth2PropertiesProperty"]], result)
|
|
650
|
+
|
|
651
|
+
@builtins.property
|
|
652
|
+
def secret_arn(self) -> typing.Optional[builtins.str]:
|
|
653
|
+
'''
|
|
654
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html#cfn-datazone-connection-authenticationconfigurationinput-secretarn
|
|
655
|
+
'''
|
|
656
|
+
result = self._values.get("secret_arn")
|
|
657
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
658
|
+
|
|
659
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
660
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
661
|
+
|
|
662
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
663
|
+
return not (rhs == self)
|
|
664
|
+
|
|
665
|
+
def __repr__(self) -> str:
|
|
666
|
+
return "AuthenticationConfigurationInputProperty(%s)" % ", ".join(
|
|
667
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
668
|
+
)
|
|
669
|
+
|
|
670
|
+
@jsii.data_type(
|
|
671
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.AuthorizationCodePropertiesProperty",
|
|
672
|
+
jsii_struct_bases=[],
|
|
673
|
+
name_mapping={
|
|
674
|
+
"authorization_code": "authorizationCode",
|
|
675
|
+
"redirect_uri": "redirectUri",
|
|
676
|
+
},
|
|
677
|
+
)
|
|
678
|
+
class AuthorizationCodePropertiesProperty:
|
|
679
|
+
def __init__(
|
|
680
|
+
self,
|
|
681
|
+
*,
|
|
682
|
+
authorization_code: typing.Optional[builtins.str] = None,
|
|
683
|
+
redirect_uri: typing.Optional[builtins.str] = None,
|
|
684
|
+
) -> None:
|
|
685
|
+
'''Authorization Code Properties.
|
|
686
|
+
|
|
687
|
+
:param authorization_code:
|
|
688
|
+
:param redirect_uri:
|
|
689
|
+
|
|
690
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authorizationcodeproperties.html
|
|
691
|
+
:exampleMetadata: fixture=_generated
|
|
692
|
+
|
|
693
|
+
Example::
|
|
694
|
+
|
|
695
|
+
# The code below shows an example of how to instantiate this type.
|
|
696
|
+
# The values are placeholders you should change.
|
|
697
|
+
from aws_cdk import aws_datazone as datazone
|
|
698
|
+
|
|
699
|
+
authorization_code_properties_property = datazone.CfnConnection.AuthorizationCodePropertiesProperty(
|
|
700
|
+
authorization_code="authorizationCode",
|
|
701
|
+
redirect_uri="redirectUri"
|
|
702
|
+
)
|
|
703
|
+
'''
|
|
704
|
+
if __debug__:
|
|
705
|
+
type_hints = typing.get_type_hints(_typecheckingstub__709c9a9c016d2e06938c1c1ea54063ae38a4addfc19c769dff4d0e585d8c7527)
|
|
706
|
+
check_type(argname="argument authorization_code", value=authorization_code, expected_type=type_hints["authorization_code"])
|
|
707
|
+
check_type(argname="argument redirect_uri", value=redirect_uri, expected_type=type_hints["redirect_uri"])
|
|
708
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
709
|
+
if authorization_code is not None:
|
|
710
|
+
self._values["authorization_code"] = authorization_code
|
|
711
|
+
if redirect_uri is not None:
|
|
712
|
+
self._values["redirect_uri"] = redirect_uri
|
|
713
|
+
|
|
714
|
+
@builtins.property
|
|
715
|
+
def authorization_code(self) -> typing.Optional[builtins.str]:
|
|
716
|
+
'''
|
|
717
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authorizationcodeproperties.html#cfn-datazone-connection-authorizationcodeproperties-authorizationcode
|
|
718
|
+
'''
|
|
719
|
+
result = self._values.get("authorization_code")
|
|
720
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
721
|
+
|
|
722
|
+
@builtins.property
|
|
723
|
+
def redirect_uri(self) -> typing.Optional[builtins.str]:
|
|
724
|
+
'''
|
|
725
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authorizationcodeproperties.html#cfn-datazone-connection-authorizationcodeproperties-redirecturi
|
|
726
|
+
'''
|
|
727
|
+
result = self._values.get("redirect_uri")
|
|
728
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
729
|
+
|
|
730
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
731
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
732
|
+
|
|
733
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
734
|
+
return not (rhs == self)
|
|
735
|
+
|
|
736
|
+
def __repr__(self) -> str:
|
|
737
|
+
return "AuthorizationCodePropertiesProperty(%s)" % ", ".join(
|
|
738
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
739
|
+
)
|
|
740
|
+
|
|
741
|
+
@jsii.data_type(
|
|
742
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.AwsLocationProperty",
|
|
743
|
+
jsii_struct_bases=[],
|
|
744
|
+
name_mapping={
|
|
745
|
+
"access_role": "accessRole",
|
|
746
|
+
"aws_account_id": "awsAccountId",
|
|
747
|
+
"aws_region": "awsRegion",
|
|
748
|
+
"iam_connection_id": "iamConnectionId",
|
|
749
|
+
},
|
|
750
|
+
)
|
|
751
|
+
class AwsLocationProperty:
|
|
752
|
+
def __init__(
|
|
753
|
+
self,
|
|
754
|
+
*,
|
|
755
|
+
access_role: typing.Optional[builtins.str] = None,
|
|
756
|
+
aws_account_id: typing.Optional[builtins.str] = None,
|
|
757
|
+
aws_region: typing.Optional[builtins.str] = None,
|
|
758
|
+
iam_connection_id: typing.Optional[builtins.str] = None,
|
|
759
|
+
) -> None:
|
|
760
|
+
'''AWS Location of project.
|
|
761
|
+
|
|
762
|
+
:param access_role:
|
|
763
|
+
:param aws_account_id:
|
|
764
|
+
:param aws_region:
|
|
765
|
+
:param iam_connection_id:
|
|
766
|
+
|
|
767
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-awslocation.html
|
|
768
|
+
:exampleMetadata: fixture=_generated
|
|
769
|
+
|
|
770
|
+
Example::
|
|
771
|
+
|
|
772
|
+
# The code below shows an example of how to instantiate this type.
|
|
773
|
+
# The values are placeholders you should change.
|
|
774
|
+
from aws_cdk import aws_datazone as datazone
|
|
775
|
+
|
|
776
|
+
aws_location_property = datazone.CfnConnection.AwsLocationProperty(
|
|
777
|
+
access_role="accessRole",
|
|
778
|
+
aws_account_id="awsAccountId",
|
|
779
|
+
aws_region="awsRegion",
|
|
780
|
+
iam_connection_id="iamConnectionId"
|
|
781
|
+
)
|
|
782
|
+
'''
|
|
783
|
+
if __debug__:
|
|
784
|
+
type_hints = typing.get_type_hints(_typecheckingstub__298e27e7bc1a0b15a9b79d0ebf0e4abe337d89521ddfa348fac1a78cdda506e7)
|
|
785
|
+
check_type(argname="argument access_role", value=access_role, expected_type=type_hints["access_role"])
|
|
786
|
+
check_type(argname="argument aws_account_id", value=aws_account_id, expected_type=type_hints["aws_account_id"])
|
|
787
|
+
check_type(argname="argument aws_region", value=aws_region, expected_type=type_hints["aws_region"])
|
|
788
|
+
check_type(argname="argument iam_connection_id", value=iam_connection_id, expected_type=type_hints["iam_connection_id"])
|
|
789
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
790
|
+
if access_role is not None:
|
|
791
|
+
self._values["access_role"] = access_role
|
|
792
|
+
if aws_account_id is not None:
|
|
793
|
+
self._values["aws_account_id"] = aws_account_id
|
|
794
|
+
if aws_region is not None:
|
|
795
|
+
self._values["aws_region"] = aws_region
|
|
796
|
+
if iam_connection_id is not None:
|
|
797
|
+
self._values["iam_connection_id"] = iam_connection_id
|
|
798
|
+
|
|
799
|
+
@builtins.property
|
|
800
|
+
def access_role(self) -> typing.Optional[builtins.str]:
|
|
801
|
+
'''
|
|
802
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-awslocation.html#cfn-datazone-connection-awslocation-accessrole
|
|
803
|
+
'''
|
|
804
|
+
result = self._values.get("access_role")
|
|
805
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
806
|
+
|
|
807
|
+
@builtins.property
|
|
808
|
+
def aws_account_id(self) -> typing.Optional[builtins.str]:
|
|
809
|
+
'''
|
|
810
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-awslocation.html#cfn-datazone-connection-awslocation-awsaccountid
|
|
811
|
+
'''
|
|
812
|
+
result = self._values.get("aws_account_id")
|
|
813
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
814
|
+
|
|
815
|
+
@builtins.property
|
|
816
|
+
def aws_region(self) -> typing.Optional[builtins.str]:
|
|
817
|
+
'''
|
|
818
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-awslocation.html#cfn-datazone-connection-awslocation-awsregion
|
|
819
|
+
'''
|
|
820
|
+
result = self._values.get("aws_region")
|
|
821
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
822
|
+
|
|
823
|
+
@builtins.property
|
|
824
|
+
def iam_connection_id(self) -> typing.Optional[builtins.str]:
|
|
825
|
+
'''
|
|
826
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-awslocation.html#cfn-datazone-connection-awslocation-iamconnectionid
|
|
827
|
+
'''
|
|
828
|
+
result = self._values.get("iam_connection_id")
|
|
829
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
830
|
+
|
|
831
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
832
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
833
|
+
|
|
834
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
835
|
+
return not (rhs == self)
|
|
836
|
+
|
|
837
|
+
def __repr__(self) -> str:
|
|
838
|
+
return "AwsLocationProperty(%s)" % ", ".join(
|
|
839
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
840
|
+
)
|
|
841
|
+
|
|
842
|
+
@jsii.data_type(
|
|
843
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.BasicAuthenticationCredentialsProperty",
|
|
844
|
+
jsii_struct_bases=[],
|
|
845
|
+
name_mapping={"password": "password", "user_name": "userName"},
|
|
846
|
+
)
|
|
847
|
+
class BasicAuthenticationCredentialsProperty:
|
|
848
|
+
def __init__(
|
|
849
|
+
self,
|
|
850
|
+
*,
|
|
851
|
+
password: typing.Optional[builtins.str] = None,
|
|
852
|
+
user_name: typing.Optional[builtins.str] = None,
|
|
853
|
+
) -> None:
|
|
854
|
+
'''Basic Authentication Credentials.
|
|
855
|
+
|
|
856
|
+
:param password:
|
|
857
|
+
:param user_name:
|
|
858
|
+
|
|
859
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-basicauthenticationcredentials.html
|
|
860
|
+
:exampleMetadata: fixture=_generated
|
|
861
|
+
|
|
862
|
+
Example::
|
|
863
|
+
|
|
864
|
+
# The code below shows an example of how to instantiate this type.
|
|
865
|
+
# The values are placeholders you should change.
|
|
866
|
+
from aws_cdk import aws_datazone as datazone
|
|
867
|
+
|
|
868
|
+
basic_authentication_credentials_property = datazone.CfnConnection.BasicAuthenticationCredentialsProperty(
|
|
869
|
+
password="password",
|
|
870
|
+
user_name="userName"
|
|
871
|
+
)
|
|
872
|
+
'''
|
|
873
|
+
if __debug__:
|
|
874
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7ee4cc1ea0ba5d5144e8b2c837d252087208460444755cfb7f5128e742a104c3)
|
|
875
|
+
check_type(argname="argument password", value=password, expected_type=type_hints["password"])
|
|
876
|
+
check_type(argname="argument user_name", value=user_name, expected_type=type_hints["user_name"])
|
|
877
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
878
|
+
if password is not None:
|
|
879
|
+
self._values["password"] = password
|
|
880
|
+
if user_name is not None:
|
|
881
|
+
self._values["user_name"] = user_name
|
|
882
|
+
|
|
883
|
+
@builtins.property
|
|
884
|
+
def password(self) -> typing.Optional[builtins.str]:
|
|
885
|
+
'''
|
|
886
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-basicauthenticationcredentials.html#cfn-datazone-connection-basicauthenticationcredentials-password
|
|
887
|
+
'''
|
|
888
|
+
result = self._values.get("password")
|
|
889
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
890
|
+
|
|
891
|
+
@builtins.property
|
|
892
|
+
def user_name(self) -> typing.Optional[builtins.str]:
|
|
893
|
+
'''
|
|
894
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-basicauthenticationcredentials.html#cfn-datazone-connection-basicauthenticationcredentials-username
|
|
895
|
+
'''
|
|
896
|
+
result = self._values.get("user_name")
|
|
897
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
898
|
+
|
|
899
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
900
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
901
|
+
|
|
902
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
903
|
+
return not (rhs == self)
|
|
904
|
+
|
|
905
|
+
def __repr__(self) -> str:
|
|
906
|
+
return "BasicAuthenticationCredentialsProperty(%s)" % ", ".join(
|
|
907
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
908
|
+
)
|
|
909
|
+
|
|
910
|
+
@jsii.data_type(
|
|
911
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.ConnectionPropertiesInputProperty",
|
|
912
|
+
jsii_struct_bases=[],
|
|
913
|
+
name_mapping={
|
|
914
|
+
"athena_properties": "athenaProperties",
|
|
915
|
+
"glue_properties": "glueProperties",
|
|
916
|
+
"hyper_pod_properties": "hyperPodProperties",
|
|
917
|
+
"iam_properties": "iamProperties",
|
|
918
|
+
"redshift_properties": "redshiftProperties",
|
|
919
|
+
"spark_emr_properties": "sparkEmrProperties",
|
|
920
|
+
"spark_glue_properties": "sparkGlueProperties",
|
|
921
|
+
},
|
|
922
|
+
)
|
|
923
|
+
class ConnectionPropertiesInputProperty:
|
|
924
|
+
def __init__(
|
|
925
|
+
self,
|
|
926
|
+
*,
|
|
927
|
+
athena_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.AthenaPropertiesInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
928
|
+
glue_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.GluePropertiesInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
929
|
+
hyper_pod_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.HyperPodPropertiesInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
930
|
+
iam_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.IamPropertiesInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
931
|
+
redshift_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.RedshiftPropertiesInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
932
|
+
spark_emr_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.SparkEmrPropertiesInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
933
|
+
spark_glue_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.SparkGluePropertiesInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
934
|
+
) -> None:
|
|
935
|
+
'''
|
|
936
|
+
:param athena_properties: Athena Properties Input.
|
|
937
|
+
:param glue_properties: Glue Properties Input.
|
|
938
|
+
:param hyper_pod_properties: HyperPod Properties Input.
|
|
939
|
+
:param iam_properties: IAM Properties Input.
|
|
940
|
+
:param redshift_properties: Redshift Properties Input.
|
|
941
|
+
:param spark_emr_properties: Spark EMR Properties Input.
|
|
942
|
+
:param spark_glue_properties: Spark Glue Properties Input.
|
|
943
|
+
|
|
944
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-connectionpropertiesinput.html
|
|
945
|
+
:exampleMetadata: fixture=_generated
|
|
946
|
+
|
|
947
|
+
Example::
|
|
948
|
+
|
|
949
|
+
# The code below shows an example of how to instantiate this type.
|
|
950
|
+
# The values are placeholders you should change.
|
|
951
|
+
from aws_cdk import aws_datazone as datazone
|
|
952
|
+
|
|
953
|
+
connection_properties_input_property = datazone.CfnConnection.ConnectionPropertiesInputProperty(
|
|
954
|
+
athena_properties=datazone.CfnConnection.AthenaPropertiesInputProperty(
|
|
955
|
+
workgroup_name="workgroupName"
|
|
956
|
+
),
|
|
957
|
+
glue_properties=datazone.CfnConnection.GluePropertiesInputProperty(
|
|
958
|
+
glue_connection_input=datazone.CfnConnection.GlueConnectionInputProperty(
|
|
959
|
+
athena_properties={
|
|
960
|
+
"athena_properties_key": "athenaProperties"
|
|
961
|
+
},
|
|
962
|
+
authentication_configuration=datazone.CfnConnection.AuthenticationConfigurationInputProperty(
|
|
963
|
+
authentication_type="authenticationType",
|
|
964
|
+
basic_authentication_credentials=datazone.CfnConnection.BasicAuthenticationCredentialsProperty(
|
|
965
|
+
password="password",
|
|
966
|
+
user_name="userName"
|
|
967
|
+
),
|
|
968
|
+
custom_authentication_credentials={
|
|
969
|
+
"custom_authentication_credentials_key": "customAuthenticationCredentials"
|
|
970
|
+
},
|
|
971
|
+
kms_key_arn="kmsKeyArn",
|
|
972
|
+
o_auth2_properties=datazone.CfnConnection.OAuth2PropertiesProperty(
|
|
973
|
+
authorization_code_properties=datazone.CfnConnection.AuthorizationCodePropertiesProperty(
|
|
974
|
+
authorization_code="authorizationCode",
|
|
975
|
+
redirect_uri="redirectUri"
|
|
976
|
+
),
|
|
977
|
+
o_auth2_client_application=datazone.CfnConnection.OAuth2ClientApplicationProperty(
|
|
978
|
+
aws_managed_client_application_reference="awsManagedClientApplicationReference",
|
|
979
|
+
user_managed_client_application_client_id="userManagedClientApplicationClientId"
|
|
980
|
+
),
|
|
981
|
+
o_auth2_credentials=datazone.CfnConnection.GlueOAuth2CredentialsProperty(
|
|
982
|
+
access_token="accessToken",
|
|
983
|
+
jwt_token="jwtToken",
|
|
984
|
+
refresh_token="refreshToken",
|
|
985
|
+
user_managed_client_application_client_secret="userManagedClientApplicationClientSecret"
|
|
986
|
+
),
|
|
987
|
+
o_auth2_grant_type="oAuth2GrantType",
|
|
988
|
+
token_url="tokenUrl",
|
|
989
|
+
token_url_parameters_map={
|
|
990
|
+
"token_url_parameters_map_key": "tokenUrlParametersMap"
|
|
991
|
+
}
|
|
992
|
+
),
|
|
993
|
+
secret_arn="secretArn"
|
|
994
|
+
),
|
|
995
|
+
connection_properties={
|
|
996
|
+
"connection_properties_key": "connectionProperties"
|
|
997
|
+
},
|
|
998
|
+
connection_type="connectionType",
|
|
999
|
+
description="description",
|
|
1000
|
+
match_criteria="matchCriteria",
|
|
1001
|
+
name="name",
|
|
1002
|
+
physical_connection_requirements=datazone.CfnConnection.PhysicalConnectionRequirementsProperty(
|
|
1003
|
+
availability_zone="availabilityZone",
|
|
1004
|
+
security_group_id_list=["securityGroupIdList"],
|
|
1005
|
+
subnet_id="subnetId",
|
|
1006
|
+
subnet_id_list=["subnetIdList"]
|
|
1007
|
+
),
|
|
1008
|
+
python_properties={
|
|
1009
|
+
"python_properties_key": "pythonProperties"
|
|
1010
|
+
},
|
|
1011
|
+
spark_properties={
|
|
1012
|
+
"spark_properties_key": "sparkProperties"
|
|
1013
|
+
},
|
|
1014
|
+
validate_credentials=False,
|
|
1015
|
+
validate_for_compute_environments=["validateForComputeEnvironments"]
|
|
1016
|
+
)
|
|
1017
|
+
),
|
|
1018
|
+
hyper_pod_properties=datazone.CfnConnection.HyperPodPropertiesInputProperty(
|
|
1019
|
+
cluster_name="clusterName"
|
|
1020
|
+
),
|
|
1021
|
+
iam_properties=datazone.CfnConnection.IamPropertiesInputProperty(
|
|
1022
|
+
glue_lineage_sync_enabled=False
|
|
1023
|
+
),
|
|
1024
|
+
redshift_properties=datazone.CfnConnection.RedshiftPropertiesInputProperty(
|
|
1025
|
+
credentials=datazone.CfnConnection.RedshiftCredentialsProperty(
|
|
1026
|
+
secret_arn="secretArn",
|
|
1027
|
+
username_password=datazone.CfnConnection.UsernamePasswordProperty(
|
|
1028
|
+
password="password",
|
|
1029
|
+
username="username"
|
|
1030
|
+
)
|
|
1031
|
+
),
|
|
1032
|
+
database_name="databaseName",
|
|
1033
|
+
host="host",
|
|
1034
|
+
lineage_sync=datazone.CfnConnection.RedshiftLineageSyncConfigurationInputProperty(
|
|
1035
|
+
enabled=False,
|
|
1036
|
+
schedule=datazone.CfnConnection.LineageSyncScheduleProperty(
|
|
1037
|
+
schedule="schedule"
|
|
1038
|
+
)
|
|
1039
|
+
),
|
|
1040
|
+
port=123,
|
|
1041
|
+
storage=datazone.CfnConnection.RedshiftStoragePropertiesProperty(
|
|
1042
|
+
cluster_name="clusterName",
|
|
1043
|
+
workgroup_name="workgroupName"
|
|
1044
|
+
)
|
|
1045
|
+
),
|
|
1046
|
+
spark_emr_properties=datazone.CfnConnection.SparkEmrPropertiesInputProperty(
|
|
1047
|
+
compute_arn="computeArn",
|
|
1048
|
+
instance_profile_arn="instanceProfileArn",
|
|
1049
|
+
java_virtual_env="javaVirtualEnv",
|
|
1050
|
+
log_uri="logUri",
|
|
1051
|
+
python_virtual_env="pythonVirtualEnv",
|
|
1052
|
+
runtime_role="runtimeRole",
|
|
1053
|
+
trusted_certificates_s3_uri="trustedCertificatesS3Uri"
|
|
1054
|
+
),
|
|
1055
|
+
spark_glue_properties=datazone.CfnConnection.SparkGluePropertiesInputProperty(
|
|
1056
|
+
additional_args=datazone.CfnConnection.SparkGlueArgsProperty(
|
|
1057
|
+
connection="connection"
|
|
1058
|
+
),
|
|
1059
|
+
glue_connection_name="glueConnectionName",
|
|
1060
|
+
glue_version="glueVersion",
|
|
1061
|
+
idle_timeout=123,
|
|
1062
|
+
java_virtual_env="javaVirtualEnv",
|
|
1063
|
+
number_of_workers=123,
|
|
1064
|
+
python_virtual_env="pythonVirtualEnv",
|
|
1065
|
+
worker_type="workerType"
|
|
1066
|
+
)
|
|
1067
|
+
)
|
|
1068
|
+
'''
|
|
1069
|
+
if __debug__:
|
|
1070
|
+
type_hints = typing.get_type_hints(_typecheckingstub__afac89e500a9d5f348ce1c21e174ddef9825d543c744b00c3ff73a0c8dba8f38)
|
|
1071
|
+
check_type(argname="argument athena_properties", value=athena_properties, expected_type=type_hints["athena_properties"])
|
|
1072
|
+
check_type(argname="argument glue_properties", value=glue_properties, expected_type=type_hints["glue_properties"])
|
|
1073
|
+
check_type(argname="argument hyper_pod_properties", value=hyper_pod_properties, expected_type=type_hints["hyper_pod_properties"])
|
|
1074
|
+
check_type(argname="argument iam_properties", value=iam_properties, expected_type=type_hints["iam_properties"])
|
|
1075
|
+
check_type(argname="argument redshift_properties", value=redshift_properties, expected_type=type_hints["redshift_properties"])
|
|
1076
|
+
check_type(argname="argument spark_emr_properties", value=spark_emr_properties, expected_type=type_hints["spark_emr_properties"])
|
|
1077
|
+
check_type(argname="argument spark_glue_properties", value=spark_glue_properties, expected_type=type_hints["spark_glue_properties"])
|
|
1078
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1079
|
+
if athena_properties is not None:
|
|
1080
|
+
self._values["athena_properties"] = athena_properties
|
|
1081
|
+
if glue_properties is not None:
|
|
1082
|
+
self._values["glue_properties"] = glue_properties
|
|
1083
|
+
if hyper_pod_properties is not None:
|
|
1084
|
+
self._values["hyper_pod_properties"] = hyper_pod_properties
|
|
1085
|
+
if iam_properties is not None:
|
|
1086
|
+
self._values["iam_properties"] = iam_properties
|
|
1087
|
+
if redshift_properties is not None:
|
|
1088
|
+
self._values["redshift_properties"] = redshift_properties
|
|
1089
|
+
if spark_emr_properties is not None:
|
|
1090
|
+
self._values["spark_emr_properties"] = spark_emr_properties
|
|
1091
|
+
if spark_glue_properties is not None:
|
|
1092
|
+
self._values["spark_glue_properties"] = spark_glue_properties
|
|
1093
|
+
|
|
1094
|
+
@builtins.property
|
|
1095
|
+
def athena_properties(
|
|
1096
|
+
self,
|
|
1097
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AthenaPropertiesInputProperty"]]:
|
|
1098
|
+
'''Athena Properties Input.
|
|
1099
|
+
|
|
1100
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-connectionpropertiesinput.html#cfn-datazone-connection-connectionpropertiesinput-athenaproperties
|
|
1101
|
+
'''
|
|
1102
|
+
result = self._values.get("athena_properties")
|
|
1103
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AthenaPropertiesInputProperty"]], result)
|
|
1104
|
+
|
|
1105
|
+
@builtins.property
|
|
1106
|
+
def glue_properties(
|
|
1107
|
+
self,
|
|
1108
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.GluePropertiesInputProperty"]]:
|
|
1109
|
+
'''Glue Properties Input.
|
|
1110
|
+
|
|
1111
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-connectionpropertiesinput.html#cfn-datazone-connection-connectionpropertiesinput-glueproperties
|
|
1112
|
+
'''
|
|
1113
|
+
result = self._values.get("glue_properties")
|
|
1114
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.GluePropertiesInputProperty"]], result)
|
|
1115
|
+
|
|
1116
|
+
@builtins.property
|
|
1117
|
+
def hyper_pod_properties(
|
|
1118
|
+
self,
|
|
1119
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.HyperPodPropertiesInputProperty"]]:
|
|
1120
|
+
'''HyperPod Properties Input.
|
|
1121
|
+
|
|
1122
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-connectionpropertiesinput.html#cfn-datazone-connection-connectionpropertiesinput-hyperpodproperties
|
|
1123
|
+
'''
|
|
1124
|
+
result = self._values.get("hyper_pod_properties")
|
|
1125
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.HyperPodPropertiesInputProperty"]], result)
|
|
1126
|
+
|
|
1127
|
+
@builtins.property
|
|
1128
|
+
def iam_properties(
|
|
1129
|
+
self,
|
|
1130
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.IamPropertiesInputProperty"]]:
|
|
1131
|
+
'''IAM Properties Input.
|
|
1132
|
+
|
|
1133
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-connectionpropertiesinput.html#cfn-datazone-connection-connectionpropertiesinput-iamproperties
|
|
1134
|
+
'''
|
|
1135
|
+
result = self._values.get("iam_properties")
|
|
1136
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.IamPropertiesInputProperty"]], result)
|
|
1137
|
+
|
|
1138
|
+
@builtins.property
|
|
1139
|
+
def redshift_properties(
|
|
1140
|
+
self,
|
|
1141
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.RedshiftPropertiesInputProperty"]]:
|
|
1142
|
+
'''Redshift Properties Input.
|
|
1143
|
+
|
|
1144
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-connectionpropertiesinput.html#cfn-datazone-connection-connectionpropertiesinput-redshiftproperties
|
|
1145
|
+
'''
|
|
1146
|
+
result = self._values.get("redshift_properties")
|
|
1147
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.RedshiftPropertiesInputProperty"]], result)
|
|
1148
|
+
|
|
1149
|
+
@builtins.property
|
|
1150
|
+
def spark_emr_properties(
|
|
1151
|
+
self,
|
|
1152
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.SparkEmrPropertiesInputProperty"]]:
|
|
1153
|
+
'''Spark EMR Properties Input.
|
|
1154
|
+
|
|
1155
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-connectionpropertiesinput.html#cfn-datazone-connection-connectionpropertiesinput-sparkemrproperties
|
|
1156
|
+
'''
|
|
1157
|
+
result = self._values.get("spark_emr_properties")
|
|
1158
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.SparkEmrPropertiesInputProperty"]], result)
|
|
1159
|
+
|
|
1160
|
+
@builtins.property
|
|
1161
|
+
def spark_glue_properties(
|
|
1162
|
+
self,
|
|
1163
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.SparkGluePropertiesInputProperty"]]:
|
|
1164
|
+
'''Spark Glue Properties Input.
|
|
1165
|
+
|
|
1166
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-connectionpropertiesinput.html#cfn-datazone-connection-connectionpropertiesinput-sparkglueproperties
|
|
1167
|
+
'''
|
|
1168
|
+
result = self._values.get("spark_glue_properties")
|
|
1169
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.SparkGluePropertiesInputProperty"]], result)
|
|
1170
|
+
|
|
1171
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1172
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1173
|
+
|
|
1174
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1175
|
+
return not (rhs == self)
|
|
1176
|
+
|
|
1177
|
+
def __repr__(self) -> str:
|
|
1178
|
+
return "ConnectionPropertiesInputProperty(%s)" % ", ".join(
|
|
1179
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1180
|
+
)
|
|
1181
|
+
|
|
1182
|
+
@jsii.data_type(
|
|
1183
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.GlueConnectionInputProperty",
|
|
1184
|
+
jsii_struct_bases=[],
|
|
1185
|
+
name_mapping={
|
|
1186
|
+
"athena_properties": "athenaProperties",
|
|
1187
|
+
"authentication_configuration": "authenticationConfiguration",
|
|
1188
|
+
"connection_properties": "connectionProperties",
|
|
1189
|
+
"connection_type": "connectionType",
|
|
1190
|
+
"description": "description",
|
|
1191
|
+
"match_criteria": "matchCriteria",
|
|
1192
|
+
"name": "name",
|
|
1193
|
+
"physical_connection_requirements": "physicalConnectionRequirements",
|
|
1194
|
+
"python_properties": "pythonProperties",
|
|
1195
|
+
"spark_properties": "sparkProperties",
|
|
1196
|
+
"validate_credentials": "validateCredentials",
|
|
1197
|
+
"validate_for_compute_environments": "validateForComputeEnvironments",
|
|
1198
|
+
},
|
|
1199
|
+
)
|
|
1200
|
+
class GlueConnectionInputProperty:
|
|
1201
|
+
def __init__(
|
|
1202
|
+
self,
|
|
1203
|
+
*,
|
|
1204
|
+
athena_properties: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
1205
|
+
authentication_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.AuthenticationConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1206
|
+
connection_properties: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
1207
|
+
connection_type: typing.Optional[builtins.str] = None,
|
|
1208
|
+
description: typing.Optional[builtins.str] = None,
|
|
1209
|
+
match_criteria: typing.Optional[builtins.str] = None,
|
|
1210
|
+
name: typing.Optional[builtins.str] = None,
|
|
1211
|
+
physical_connection_requirements: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.PhysicalConnectionRequirementsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1212
|
+
python_properties: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
1213
|
+
spark_properties: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
1214
|
+
validate_credentials: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1215
|
+
validate_for_compute_environments: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1216
|
+
) -> None:
|
|
1217
|
+
'''Glue Connection Input.
|
|
1218
|
+
|
|
1219
|
+
:param athena_properties: Property Map.
|
|
1220
|
+
:param authentication_configuration: Authentication Configuration Input.
|
|
1221
|
+
:param connection_properties: Connection Properties.
|
|
1222
|
+
:param connection_type: Glue Connection Type.
|
|
1223
|
+
:param description:
|
|
1224
|
+
:param match_criteria:
|
|
1225
|
+
:param name:
|
|
1226
|
+
:param physical_connection_requirements: Physical Connection Requirements.
|
|
1227
|
+
:param python_properties: Property Map.
|
|
1228
|
+
:param spark_properties: Property Map.
|
|
1229
|
+
:param validate_credentials:
|
|
1230
|
+
:param validate_for_compute_environments:
|
|
1231
|
+
|
|
1232
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html
|
|
1233
|
+
:exampleMetadata: fixture=_generated
|
|
1234
|
+
|
|
1235
|
+
Example::
|
|
1236
|
+
|
|
1237
|
+
# The code below shows an example of how to instantiate this type.
|
|
1238
|
+
# The values are placeholders you should change.
|
|
1239
|
+
from aws_cdk import aws_datazone as datazone
|
|
1240
|
+
|
|
1241
|
+
glue_connection_input_property = datazone.CfnConnection.GlueConnectionInputProperty(
|
|
1242
|
+
athena_properties={
|
|
1243
|
+
"athena_properties_key": "athenaProperties"
|
|
1244
|
+
},
|
|
1245
|
+
authentication_configuration=datazone.CfnConnection.AuthenticationConfigurationInputProperty(
|
|
1246
|
+
authentication_type="authenticationType",
|
|
1247
|
+
basic_authentication_credentials=datazone.CfnConnection.BasicAuthenticationCredentialsProperty(
|
|
1248
|
+
password="password",
|
|
1249
|
+
user_name="userName"
|
|
1250
|
+
),
|
|
1251
|
+
custom_authentication_credentials={
|
|
1252
|
+
"custom_authentication_credentials_key": "customAuthenticationCredentials"
|
|
1253
|
+
},
|
|
1254
|
+
kms_key_arn="kmsKeyArn",
|
|
1255
|
+
o_auth2_properties=datazone.CfnConnection.OAuth2PropertiesProperty(
|
|
1256
|
+
authorization_code_properties=datazone.CfnConnection.AuthorizationCodePropertiesProperty(
|
|
1257
|
+
authorization_code="authorizationCode",
|
|
1258
|
+
redirect_uri="redirectUri"
|
|
1259
|
+
),
|
|
1260
|
+
o_auth2_client_application=datazone.CfnConnection.OAuth2ClientApplicationProperty(
|
|
1261
|
+
aws_managed_client_application_reference="awsManagedClientApplicationReference",
|
|
1262
|
+
user_managed_client_application_client_id="userManagedClientApplicationClientId"
|
|
1263
|
+
),
|
|
1264
|
+
o_auth2_credentials=datazone.CfnConnection.GlueOAuth2CredentialsProperty(
|
|
1265
|
+
access_token="accessToken",
|
|
1266
|
+
jwt_token="jwtToken",
|
|
1267
|
+
refresh_token="refreshToken",
|
|
1268
|
+
user_managed_client_application_client_secret="userManagedClientApplicationClientSecret"
|
|
1269
|
+
),
|
|
1270
|
+
o_auth2_grant_type="oAuth2GrantType",
|
|
1271
|
+
token_url="tokenUrl",
|
|
1272
|
+
token_url_parameters_map={
|
|
1273
|
+
"token_url_parameters_map_key": "tokenUrlParametersMap"
|
|
1274
|
+
}
|
|
1275
|
+
),
|
|
1276
|
+
secret_arn="secretArn"
|
|
1277
|
+
),
|
|
1278
|
+
connection_properties={
|
|
1279
|
+
"connection_properties_key": "connectionProperties"
|
|
1280
|
+
},
|
|
1281
|
+
connection_type="connectionType",
|
|
1282
|
+
description="description",
|
|
1283
|
+
match_criteria="matchCriteria",
|
|
1284
|
+
name="name",
|
|
1285
|
+
physical_connection_requirements=datazone.CfnConnection.PhysicalConnectionRequirementsProperty(
|
|
1286
|
+
availability_zone="availabilityZone",
|
|
1287
|
+
security_group_id_list=["securityGroupIdList"],
|
|
1288
|
+
subnet_id="subnetId",
|
|
1289
|
+
subnet_id_list=["subnetIdList"]
|
|
1290
|
+
),
|
|
1291
|
+
python_properties={
|
|
1292
|
+
"python_properties_key": "pythonProperties"
|
|
1293
|
+
},
|
|
1294
|
+
spark_properties={
|
|
1295
|
+
"spark_properties_key": "sparkProperties"
|
|
1296
|
+
},
|
|
1297
|
+
validate_credentials=False,
|
|
1298
|
+
validate_for_compute_environments=["validateForComputeEnvironments"]
|
|
1299
|
+
)
|
|
1300
|
+
'''
|
|
1301
|
+
if __debug__:
|
|
1302
|
+
type_hints = typing.get_type_hints(_typecheckingstub__647e7cf0ba0ee1ab7c75fea7d6b34c8a50c95526cd1ec69c86c54c920adef3a9)
|
|
1303
|
+
check_type(argname="argument athena_properties", value=athena_properties, expected_type=type_hints["athena_properties"])
|
|
1304
|
+
check_type(argname="argument authentication_configuration", value=authentication_configuration, expected_type=type_hints["authentication_configuration"])
|
|
1305
|
+
check_type(argname="argument connection_properties", value=connection_properties, expected_type=type_hints["connection_properties"])
|
|
1306
|
+
check_type(argname="argument connection_type", value=connection_type, expected_type=type_hints["connection_type"])
|
|
1307
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
1308
|
+
check_type(argname="argument match_criteria", value=match_criteria, expected_type=type_hints["match_criteria"])
|
|
1309
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1310
|
+
check_type(argname="argument physical_connection_requirements", value=physical_connection_requirements, expected_type=type_hints["physical_connection_requirements"])
|
|
1311
|
+
check_type(argname="argument python_properties", value=python_properties, expected_type=type_hints["python_properties"])
|
|
1312
|
+
check_type(argname="argument spark_properties", value=spark_properties, expected_type=type_hints["spark_properties"])
|
|
1313
|
+
check_type(argname="argument validate_credentials", value=validate_credentials, expected_type=type_hints["validate_credentials"])
|
|
1314
|
+
check_type(argname="argument validate_for_compute_environments", value=validate_for_compute_environments, expected_type=type_hints["validate_for_compute_environments"])
|
|
1315
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1316
|
+
if athena_properties is not None:
|
|
1317
|
+
self._values["athena_properties"] = athena_properties
|
|
1318
|
+
if authentication_configuration is not None:
|
|
1319
|
+
self._values["authentication_configuration"] = authentication_configuration
|
|
1320
|
+
if connection_properties is not None:
|
|
1321
|
+
self._values["connection_properties"] = connection_properties
|
|
1322
|
+
if connection_type is not None:
|
|
1323
|
+
self._values["connection_type"] = connection_type
|
|
1324
|
+
if description is not None:
|
|
1325
|
+
self._values["description"] = description
|
|
1326
|
+
if match_criteria is not None:
|
|
1327
|
+
self._values["match_criteria"] = match_criteria
|
|
1328
|
+
if name is not None:
|
|
1329
|
+
self._values["name"] = name
|
|
1330
|
+
if physical_connection_requirements is not None:
|
|
1331
|
+
self._values["physical_connection_requirements"] = physical_connection_requirements
|
|
1332
|
+
if python_properties is not None:
|
|
1333
|
+
self._values["python_properties"] = python_properties
|
|
1334
|
+
if spark_properties is not None:
|
|
1335
|
+
self._values["spark_properties"] = spark_properties
|
|
1336
|
+
if validate_credentials is not None:
|
|
1337
|
+
self._values["validate_credentials"] = validate_credentials
|
|
1338
|
+
if validate_for_compute_environments is not None:
|
|
1339
|
+
self._values["validate_for_compute_environments"] = validate_for_compute_environments
|
|
1340
|
+
|
|
1341
|
+
@builtins.property
|
|
1342
|
+
def athena_properties(
|
|
1343
|
+
self,
|
|
1344
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
1345
|
+
'''Property Map.
|
|
1346
|
+
|
|
1347
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html#cfn-datazone-connection-glueconnectioninput-athenaproperties
|
|
1348
|
+
'''
|
|
1349
|
+
result = self._values.get("athena_properties")
|
|
1350
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
1351
|
+
|
|
1352
|
+
@builtins.property
|
|
1353
|
+
def authentication_configuration(
|
|
1354
|
+
self,
|
|
1355
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AuthenticationConfigurationInputProperty"]]:
|
|
1356
|
+
'''Authentication Configuration Input.
|
|
1357
|
+
|
|
1358
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html#cfn-datazone-connection-glueconnectioninput-authenticationconfiguration
|
|
1359
|
+
'''
|
|
1360
|
+
result = self._values.get("authentication_configuration")
|
|
1361
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AuthenticationConfigurationInputProperty"]], result)
|
|
1362
|
+
|
|
1363
|
+
@builtins.property
|
|
1364
|
+
def connection_properties(
|
|
1365
|
+
self,
|
|
1366
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
1367
|
+
'''Connection Properties.
|
|
1368
|
+
|
|
1369
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html#cfn-datazone-connection-glueconnectioninput-connectionproperties
|
|
1370
|
+
'''
|
|
1371
|
+
result = self._values.get("connection_properties")
|
|
1372
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
1373
|
+
|
|
1374
|
+
@builtins.property
|
|
1375
|
+
def connection_type(self) -> typing.Optional[builtins.str]:
|
|
1376
|
+
'''Glue Connection Type.
|
|
1377
|
+
|
|
1378
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html#cfn-datazone-connection-glueconnectioninput-connectiontype
|
|
1379
|
+
'''
|
|
1380
|
+
result = self._values.get("connection_type")
|
|
1381
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1382
|
+
|
|
1383
|
+
@builtins.property
|
|
1384
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
1385
|
+
'''
|
|
1386
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html#cfn-datazone-connection-glueconnectioninput-description
|
|
1387
|
+
'''
|
|
1388
|
+
result = self._values.get("description")
|
|
1389
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1390
|
+
|
|
1391
|
+
@builtins.property
|
|
1392
|
+
def match_criteria(self) -> typing.Optional[builtins.str]:
|
|
1393
|
+
'''
|
|
1394
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html#cfn-datazone-connection-glueconnectioninput-matchcriteria
|
|
1395
|
+
'''
|
|
1396
|
+
result = self._values.get("match_criteria")
|
|
1397
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1398
|
+
|
|
1399
|
+
@builtins.property
|
|
1400
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
1401
|
+
'''
|
|
1402
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html#cfn-datazone-connection-glueconnectioninput-name
|
|
1403
|
+
'''
|
|
1404
|
+
result = self._values.get("name")
|
|
1405
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1406
|
+
|
|
1407
|
+
@builtins.property
|
|
1408
|
+
def physical_connection_requirements(
|
|
1409
|
+
self,
|
|
1410
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.PhysicalConnectionRequirementsProperty"]]:
|
|
1411
|
+
'''Physical Connection Requirements.
|
|
1412
|
+
|
|
1413
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html#cfn-datazone-connection-glueconnectioninput-physicalconnectionrequirements
|
|
1414
|
+
'''
|
|
1415
|
+
result = self._values.get("physical_connection_requirements")
|
|
1416
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.PhysicalConnectionRequirementsProperty"]], result)
|
|
1417
|
+
|
|
1418
|
+
@builtins.property
|
|
1419
|
+
def python_properties(
|
|
1420
|
+
self,
|
|
1421
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
1422
|
+
'''Property Map.
|
|
1423
|
+
|
|
1424
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html#cfn-datazone-connection-glueconnectioninput-pythonproperties
|
|
1425
|
+
'''
|
|
1426
|
+
result = self._values.get("python_properties")
|
|
1427
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
1428
|
+
|
|
1429
|
+
@builtins.property
|
|
1430
|
+
def spark_properties(
|
|
1431
|
+
self,
|
|
1432
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
1433
|
+
'''Property Map.
|
|
1434
|
+
|
|
1435
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html#cfn-datazone-connection-glueconnectioninput-sparkproperties
|
|
1436
|
+
'''
|
|
1437
|
+
result = self._values.get("spark_properties")
|
|
1438
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
1439
|
+
|
|
1440
|
+
@builtins.property
|
|
1441
|
+
def validate_credentials(
|
|
1442
|
+
self,
|
|
1443
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1444
|
+
'''
|
|
1445
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html#cfn-datazone-connection-glueconnectioninput-validatecredentials
|
|
1446
|
+
'''
|
|
1447
|
+
result = self._values.get("validate_credentials")
|
|
1448
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1449
|
+
|
|
1450
|
+
@builtins.property
|
|
1451
|
+
def validate_for_compute_environments(
|
|
1452
|
+
self,
|
|
1453
|
+
) -> typing.Optional[typing.List[builtins.str]]:
|
|
1454
|
+
'''
|
|
1455
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html#cfn-datazone-connection-glueconnectioninput-validateforcomputeenvironments
|
|
1456
|
+
'''
|
|
1457
|
+
result = self._values.get("validate_for_compute_environments")
|
|
1458
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1459
|
+
|
|
1460
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1461
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1462
|
+
|
|
1463
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1464
|
+
return not (rhs == self)
|
|
1465
|
+
|
|
1466
|
+
def __repr__(self) -> str:
|
|
1467
|
+
return "GlueConnectionInputProperty(%s)" % ", ".join(
|
|
1468
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1469
|
+
)
|
|
1470
|
+
|
|
1471
|
+
@jsii.data_type(
|
|
1472
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.GlueOAuth2CredentialsProperty",
|
|
1473
|
+
jsii_struct_bases=[],
|
|
1474
|
+
name_mapping={
|
|
1475
|
+
"access_token": "accessToken",
|
|
1476
|
+
"jwt_token": "jwtToken",
|
|
1477
|
+
"refresh_token": "refreshToken",
|
|
1478
|
+
"user_managed_client_application_client_secret": "userManagedClientApplicationClientSecret",
|
|
1479
|
+
},
|
|
1480
|
+
)
|
|
1481
|
+
class GlueOAuth2CredentialsProperty:
|
|
1482
|
+
def __init__(
|
|
1483
|
+
self,
|
|
1484
|
+
*,
|
|
1485
|
+
access_token: typing.Optional[builtins.str] = None,
|
|
1486
|
+
jwt_token: typing.Optional[builtins.str] = None,
|
|
1487
|
+
refresh_token: typing.Optional[builtins.str] = None,
|
|
1488
|
+
user_managed_client_application_client_secret: typing.Optional[builtins.str] = None,
|
|
1489
|
+
) -> None:
|
|
1490
|
+
'''Glue OAuth2 Credentials.
|
|
1491
|
+
|
|
1492
|
+
:param access_token:
|
|
1493
|
+
:param jwt_token:
|
|
1494
|
+
:param refresh_token:
|
|
1495
|
+
:param user_managed_client_application_client_secret:
|
|
1496
|
+
|
|
1497
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueoauth2credentials.html
|
|
1498
|
+
:exampleMetadata: fixture=_generated
|
|
1499
|
+
|
|
1500
|
+
Example::
|
|
1501
|
+
|
|
1502
|
+
# The code below shows an example of how to instantiate this type.
|
|
1503
|
+
# The values are placeholders you should change.
|
|
1504
|
+
from aws_cdk import aws_datazone as datazone
|
|
1505
|
+
|
|
1506
|
+
glue_oAuth2_credentials_property = datazone.CfnConnection.GlueOAuth2CredentialsProperty(
|
|
1507
|
+
access_token="accessToken",
|
|
1508
|
+
jwt_token="jwtToken",
|
|
1509
|
+
refresh_token="refreshToken",
|
|
1510
|
+
user_managed_client_application_client_secret="userManagedClientApplicationClientSecret"
|
|
1511
|
+
)
|
|
1512
|
+
'''
|
|
1513
|
+
if __debug__:
|
|
1514
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d948c343e2b90a8893463e22eaab4033317f5a056da9d7e7559e3285f2c7ff17)
|
|
1515
|
+
check_type(argname="argument access_token", value=access_token, expected_type=type_hints["access_token"])
|
|
1516
|
+
check_type(argname="argument jwt_token", value=jwt_token, expected_type=type_hints["jwt_token"])
|
|
1517
|
+
check_type(argname="argument refresh_token", value=refresh_token, expected_type=type_hints["refresh_token"])
|
|
1518
|
+
check_type(argname="argument user_managed_client_application_client_secret", value=user_managed_client_application_client_secret, expected_type=type_hints["user_managed_client_application_client_secret"])
|
|
1519
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1520
|
+
if access_token is not None:
|
|
1521
|
+
self._values["access_token"] = access_token
|
|
1522
|
+
if jwt_token is not None:
|
|
1523
|
+
self._values["jwt_token"] = jwt_token
|
|
1524
|
+
if refresh_token is not None:
|
|
1525
|
+
self._values["refresh_token"] = refresh_token
|
|
1526
|
+
if user_managed_client_application_client_secret is not None:
|
|
1527
|
+
self._values["user_managed_client_application_client_secret"] = user_managed_client_application_client_secret
|
|
1528
|
+
|
|
1529
|
+
@builtins.property
|
|
1530
|
+
def access_token(self) -> typing.Optional[builtins.str]:
|
|
1531
|
+
'''
|
|
1532
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueoauth2credentials.html#cfn-datazone-connection-glueoauth2credentials-accesstoken
|
|
1533
|
+
'''
|
|
1534
|
+
result = self._values.get("access_token")
|
|
1535
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1536
|
+
|
|
1537
|
+
@builtins.property
|
|
1538
|
+
def jwt_token(self) -> typing.Optional[builtins.str]:
|
|
1539
|
+
'''
|
|
1540
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueoauth2credentials.html#cfn-datazone-connection-glueoauth2credentials-jwttoken
|
|
1541
|
+
'''
|
|
1542
|
+
result = self._values.get("jwt_token")
|
|
1543
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1544
|
+
|
|
1545
|
+
@builtins.property
|
|
1546
|
+
def refresh_token(self) -> typing.Optional[builtins.str]:
|
|
1547
|
+
'''
|
|
1548
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueoauth2credentials.html#cfn-datazone-connection-glueoauth2credentials-refreshtoken
|
|
1549
|
+
'''
|
|
1550
|
+
result = self._values.get("refresh_token")
|
|
1551
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1552
|
+
|
|
1553
|
+
@builtins.property
|
|
1554
|
+
def user_managed_client_application_client_secret(
|
|
1555
|
+
self,
|
|
1556
|
+
) -> typing.Optional[builtins.str]:
|
|
1557
|
+
'''
|
|
1558
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueoauth2credentials.html#cfn-datazone-connection-glueoauth2credentials-usermanagedclientapplicationclientsecret
|
|
1559
|
+
'''
|
|
1560
|
+
result = self._values.get("user_managed_client_application_client_secret")
|
|
1561
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1562
|
+
|
|
1563
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1564
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1565
|
+
|
|
1566
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1567
|
+
return not (rhs == self)
|
|
1568
|
+
|
|
1569
|
+
def __repr__(self) -> str:
|
|
1570
|
+
return "GlueOAuth2CredentialsProperty(%s)" % ", ".join(
|
|
1571
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1572
|
+
)
|
|
1573
|
+
|
|
1574
|
+
@jsii.data_type(
|
|
1575
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.GluePropertiesInputProperty",
|
|
1576
|
+
jsii_struct_bases=[],
|
|
1577
|
+
name_mapping={"glue_connection_input": "glueConnectionInput"},
|
|
1578
|
+
)
|
|
1579
|
+
class GluePropertiesInputProperty:
|
|
1580
|
+
def __init__(
|
|
1581
|
+
self,
|
|
1582
|
+
*,
|
|
1583
|
+
glue_connection_input: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.GlueConnectionInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1584
|
+
) -> None:
|
|
1585
|
+
'''Glue Properties Input.
|
|
1586
|
+
|
|
1587
|
+
:param glue_connection_input: Glue Connection Input.
|
|
1588
|
+
|
|
1589
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-gluepropertiesinput.html
|
|
1590
|
+
:exampleMetadata: fixture=_generated
|
|
1591
|
+
|
|
1592
|
+
Example::
|
|
1593
|
+
|
|
1594
|
+
# The code below shows an example of how to instantiate this type.
|
|
1595
|
+
# The values are placeholders you should change.
|
|
1596
|
+
from aws_cdk import aws_datazone as datazone
|
|
1597
|
+
|
|
1598
|
+
glue_properties_input_property = datazone.CfnConnection.GluePropertiesInputProperty(
|
|
1599
|
+
glue_connection_input=datazone.CfnConnection.GlueConnectionInputProperty(
|
|
1600
|
+
athena_properties={
|
|
1601
|
+
"athena_properties_key": "athenaProperties"
|
|
1602
|
+
},
|
|
1603
|
+
authentication_configuration=datazone.CfnConnection.AuthenticationConfigurationInputProperty(
|
|
1604
|
+
authentication_type="authenticationType",
|
|
1605
|
+
basic_authentication_credentials=datazone.CfnConnection.BasicAuthenticationCredentialsProperty(
|
|
1606
|
+
password="password",
|
|
1607
|
+
user_name="userName"
|
|
1608
|
+
),
|
|
1609
|
+
custom_authentication_credentials={
|
|
1610
|
+
"custom_authentication_credentials_key": "customAuthenticationCredentials"
|
|
1611
|
+
},
|
|
1612
|
+
kms_key_arn="kmsKeyArn",
|
|
1613
|
+
o_auth2_properties=datazone.CfnConnection.OAuth2PropertiesProperty(
|
|
1614
|
+
authorization_code_properties=datazone.CfnConnection.AuthorizationCodePropertiesProperty(
|
|
1615
|
+
authorization_code="authorizationCode",
|
|
1616
|
+
redirect_uri="redirectUri"
|
|
1617
|
+
),
|
|
1618
|
+
o_auth2_client_application=datazone.CfnConnection.OAuth2ClientApplicationProperty(
|
|
1619
|
+
aws_managed_client_application_reference="awsManagedClientApplicationReference",
|
|
1620
|
+
user_managed_client_application_client_id="userManagedClientApplicationClientId"
|
|
1621
|
+
),
|
|
1622
|
+
o_auth2_credentials=datazone.CfnConnection.GlueOAuth2CredentialsProperty(
|
|
1623
|
+
access_token="accessToken",
|
|
1624
|
+
jwt_token="jwtToken",
|
|
1625
|
+
refresh_token="refreshToken",
|
|
1626
|
+
user_managed_client_application_client_secret="userManagedClientApplicationClientSecret"
|
|
1627
|
+
),
|
|
1628
|
+
o_auth2_grant_type="oAuth2GrantType",
|
|
1629
|
+
token_url="tokenUrl",
|
|
1630
|
+
token_url_parameters_map={
|
|
1631
|
+
"token_url_parameters_map_key": "tokenUrlParametersMap"
|
|
1632
|
+
}
|
|
1633
|
+
),
|
|
1634
|
+
secret_arn="secretArn"
|
|
1635
|
+
),
|
|
1636
|
+
connection_properties={
|
|
1637
|
+
"connection_properties_key": "connectionProperties"
|
|
1638
|
+
},
|
|
1639
|
+
connection_type="connectionType",
|
|
1640
|
+
description="description",
|
|
1641
|
+
match_criteria="matchCriteria",
|
|
1642
|
+
name="name",
|
|
1643
|
+
physical_connection_requirements=datazone.CfnConnection.PhysicalConnectionRequirementsProperty(
|
|
1644
|
+
availability_zone="availabilityZone",
|
|
1645
|
+
security_group_id_list=["securityGroupIdList"],
|
|
1646
|
+
subnet_id="subnetId",
|
|
1647
|
+
subnet_id_list=["subnetIdList"]
|
|
1648
|
+
),
|
|
1649
|
+
python_properties={
|
|
1650
|
+
"python_properties_key": "pythonProperties"
|
|
1651
|
+
},
|
|
1652
|
+
spark_properties={
|
|
1653
|
+
"spark_properties_key": "sparkProperties"
|
|
1654
|
+
},
|
|
1655
|
+
validate_credentials=False,
|
|
1656
|
+
validate_for_compute_environments=["validateForComputeEnvironments"]
|
|
1657
|
+
)
|
|
1658
|
+
)
|
|
1659
|
+
'''
|
|
1660
|
+
if __debug__:
|
|
1661
|
+
type_hints = typing.get_type_hints(_typecheckingstub__07f6c7fa8f6b6af10d26eadc862dfc837c455b56372fa29947bd67161af5e5c7)
|
|
1662
|
+
check_type(argname="argument glue_connection_input", value=glue_connection_input, expected_type=type_hints["glue_connection_input"])
|
|
1663
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1664
|
+
if glue_connection_input is not None:
|
|
1665
|
+
self._values["glue_connection_input"] = glue_connection_input
|
|
1666
|
+
|
|
1667
|
+
@builtins.property
|
|
1668
|
+
def glue_connection_input(
|
|
1669
|
+
self,
|
|
1670
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.GlueConnectionInputProperty"]]:
|
|
1671
|
+
'''Glue Connection Input.
|
|
1672
|
+
|
|
1673
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-gluepropertiesinput.html#cfn-datazone-connection-gluepropertiesinput-glueconnectioninput
|
|
1674
|
+
'''
|
|
1675
|
+
result = self._values.get("glue_connection_input")
|
|
1676
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.GlueConnectionInputProperty"]], result)
|
|
1677
|
+
|
|
1678
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1679
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1680
|
+
|
|
1681
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1682
|
+
return not (rhs == self)
|
|
1683
|
+
|
|
1684
|
+
def __repr__(self) -> str:
|
|
1685
|
+
return "GluePropertiesInputProperty(%s)" % ", ".join(
|
|
1686
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1687
|
+
)
|
|
1688
|
+
|
|
1689
|
+
@jsii.data_type(
|
|
1690
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.HyperPodPropertiesInputProperty",
|
|
1691
|
+
jsii_struct_bases=[],
|
|
1692
|
+
name_mapping={"cluster_name": "clusterName"},
|
|
1693
|
+
)
|
|
1694
|
+
class HyperPodPropertiesInputProperty:
|
|
1695
|
+
def __init__(self, *, cluster_name: builtins.str) -> None:
|
|
1696
|
+
'''HyperPod Properties Input.
|
|
1697
|
+
|
|
1698
|
+
:param cluster_name:
|
|
1699
|
+
|
|
1700
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-hyperpodpropertiesinput.html
|
|
1701
|
+
:exampleMetadata: fixture=_generated
|
|
1702
|
+
|
|
1703
|
+
Example::
|
|
1704
|
+
|
|
1705
|
+
# The code below shows an example of how to instantiate this type.
|
|
1706
|
+
# The values are placeholders you should change.
|
|
1707
|
+
from aws_cdk import aws_datazone as datazone
|
|
1708
|
+
|
|
1709
|
+
hyper_pod_properties_input_property = datazone.CfnConnection.HyperPodPropertiesInputProperty(
|
|
1710
|
+
cluster_name="clusterName"
|
|
1711
|
+
)
|
|
1712
|
+
'''
|
|
1713
|
+
if __debug__:
|
|
1714
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b2574ba013a10f07b6e0a61c5559f70c13b2de025bb4b8d00be0efcd15f721fd)
|
|
1715
|
+
check_type(argname="argument cluster_name", value=cluster_name, expected_type=type_hints["cluster_name"])
|
|
1716
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1717
|
+
"cluster_name": cluster_name,
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
@builtins.property
|
|
1721
|
+
def cluster_name(self) -> builtins.str:
|
|
1722
|
+
'''
|
|
1723
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-hyperpodpropertiesinput.html#cfn-datazone-connection-hyperpodpropertiesinput-clustername
|
|
1724
|
+
'''
|
|
1725
|
+
result = self._values.get("cluster_name")
|
|
1726
|
+
assert result is not None, "Required property 'cluster_name' is missing"
|
|
1727
|
+
return typing.cast(builtins.str, result)
|
|
1728
|
+
|
|
1729
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1730
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1731
|
+
|
|
1732
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1733
|
+
return not (rhs == self)
|
|
1734
|
+
|
|
1735
|
+
def __repr__(self) -> str:
|
|
1736
|
+
return "HyperPodPropertiesInputProperty(%s)" % ", ".join(
|
|
1737
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1738
|
+
)
|
|
1739
|
+
|
|
1740
|
+
@jsii.data_type(
|
|
1741
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.IamPropertiesInputProperty",
|
|
1742
|
+
jsii_struct_bases=[],
|
|
1743
|
+
name_mapping={"glue_lineage_sync_enabled": "glueLineageSyncEnabled"},
|
|
1744
|
+
)
|
|
1745
|
+
class IamPropertiesInputProperty:
|
|
1746
|
+
def __init__(
|
|
1747
|
+
self,
|
|
1748
|
+
*,
|
|
1749
|
+
glue_lineage_sync_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1750
|
+
) -> None:
|
|
1751
|
+
'''IAM Properties Input.
|
|
1752
|
+
|
|
1753
|
+
:param glue_lineage_sync_enabled:
|
|
1754
|
+
|
|
1755
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-iampropertiesinput.html
|
|
1756
|
+
:exampleMetadata: fixture=_generated
|
|
1757
|
+
|
|
1758
|
+
Example::
|
|
1759
|
+
|
|
1760
|
+
# The code below shows an example of how to instantiate this type.
|
|
1761
|
+
# The values are placeholders you should change.
|
|
1762
|
+
from aws_cdk import aws_datazone as datazone
|
|
1763
|
+
|
|
1764
|
+
iam_properties_input_property = datazone.CfnConnection.IamPropertiesInputProperty(
|
|
1765
|
+
glue_lineage_sync_enabled=False
|
|
1766
|
+
)
|
|
1767
|
+
'''
|
|
1768
|
+
if __debug__:
|
|
1769
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5fcef45bd8fc26fdf37a0281f7789bd6e0fc1105a24dd2b5148ec9b0e0c27b75)
|
|
1770
|
+
check_type(argname="argument glue_lineage_sync_enabled", value=glue_lineage_sync_enabled, expected_type=type_hints["glue_lineage_sync_enabled"])
|
|
1771
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1772
|
+
if glue_lineage_sync_enabled is not None:
|
|
1773
|
+
self._values["glue_lineage_sync_enabled"] = glue_lineage_sync_enabled
|
|
1774
|
+
|
|
1775
|
+
@builtins.property
|
|
1776
|
+
def glue_lineage_sync_enabled(
|
|
1777
|
+
self,
|
|
1778
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1779
|
+
'''
|
|
1780
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-iampropertiesinput.html#cfn-datazone-connection-iampropertiesinput-gluelineagesyncenabled
|
|
1781
|
+
'''
|
|
1782
|
+
result = self._values.get("glue_lineage_sync_enabled")
|
|
1783
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1784
|
+
|
|
1785
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1786
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1787
|
+
|
|
1788
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1789
|
+
return not (rhs == self)
|
|
1790
|
+
|
|
1791
|
+
def __repr__(self) -> str:
|
|
1792
|
+
return "IamPropertiesInputProperty(%s)" % ", ".join(
|
|
1793
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1794
|
+
)
|
|
1795
|
+
|
|
1796
|
+
@jsii.data_type(
|
|
1797
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.LineageSyncScheduleProperty",
|
|
1798
|
+
jsii_struct_bases=[],
|
|
1799
|
+
name_mapping={"schedule": "schedule"},
|
|
1800
|
+
)
|
|
1801
|
+
class LineageSyncScheduleProperty:
|
|
1802
|
+
def __init__(self, *, schedule: typing.Optional[builtins.str] = None) -> None:
|
|
1803
|
+
'''Lineage Sync Schedule.
|
|
1804
|
+
|
|
1805
|
+
:param schedule:
|
|
1806
|
+
|
|
1807
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-lineagesyncschedule.html
|
|
1808
|
+
:exampleMetadata: fixture=_generated
|
|
1809
|
+
|
|
1810
|
+
Example::
|
|
1811
|
+
|
|
1812
|
+
# The code below shows an example of how to instantiate this type.
|
|
1813
|
+
# The values are placeholders you should change.
|
|
1814
|
+
from aws_cdk import aws_datazone as datazone
|
|
1815
|
+
|
|
1816
|
+
lineage_sync_schedule_property = datazone.CfnConnection.LineageSyncScheduleProperty(
|
|
1817
|
+
schedule="schedule"
|
|
1818
|
+
)
|
|
1819
|
+
'''
|
|
1820
|
+
if __debug__:
|
|
1821
|
+
type_hints = typing.get_type_hints(_typecheckingstub__807712ef4f77e804709861b4d4515e24f1b5cb14208414a29172fa52c5a8622e)
|
|
1822
|
+
check_type(argname="argument schedule", value=schedule, expected_type=type_hints["schedule"])
|
|
1823
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1824
|
+
if schedule is not None:
|
|
1825
|
+
self._values["schedule"] = schedule
|
|
1826
|
+
|
|
1827
|
+
@builtins.property
|
|
1828
|
+
def schedule(self) -> typing.Optional[builtins.str]:
|
|
1829
|
+
'''
|
|
1830
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-lineagesyncschedule.html#cfn-datazone-connection-lineagesyncschedule-schedule
|
|
1831
|
+
'''
|
|
1832
|
+
result = self._values.get("schedule")
|
|
1833
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1834
|
+
|
|
1835
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1836
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1837
|
+
|
|
1838
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1839
|
+
return not (rhs == self)
|
|
1840
|
+
|
|
1841
|
+
def __repr__(self) -> str:
|
|
1842
|
+
return "LineageSyncScheduleProperty(%s)" % ", ".join(
|
|
1843
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1844
|
+
)
|
|
1845
|
+
|
|
1846
|
+
@jsii.data_type(
|
|
1847
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.OAuth2ClientApplicationProperty",
|
|
1848
|
+
jsii_struct_bases=[],
|
|
1849
|
+
name_mapping={
|
|
1850
|
+
"aws_managed_client_application_reference": "awsManagedClientApplicationReference",
|
|
1851
|
+
"user_managed_client_application_client_id": "userManagedClientApplicationClientId",
|
|
1852
|
+
},
|
|
1853
|
+
)
|
|
1854
|
+
class OAuth2ClientApplicationProperty:
|
|
1855
|
+
def __init__(
|
|
1856
|
+
self,
|
|
1857
|
+
*,
|
|
1858
|
+
aws_managed_client_application_reference: typing.Optional[builtins.str] = None,
|
|
1859
|
+
user_managed_client_application_client_id: typing.Optional[builtins.str] = None,
|
|
1860
|
+
) -> None:
|
|
1861
|
+
'''OAuth2 Client Application.
|
|
1862
|
+
|
|
1863
|
+
:param aws_managed_client_application_reference:
|
|
1864
|
+
:param user_managed_client_application_client_id:
|
|
1865
|
+
|
|
1866
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2clientapplication.html
|
|
1867
|
+
:exampleMetadata: fixture=_generated
|
|
1868
|
+
|
|
1869
|
+
Example::
|
|
1870
|
+
|
|
1871
|
+
# The code below shows an example of how to instantiate this type.
|
|
1872
|
+
# The values are placeholders you should change.
|
|
1873
|
+
from aws_cdk import aws_datazone as datazone
|
|
1874
|
+
|
|
1875
|
+
o_auth2_client_application_property = datazone.CfnConnection.OAuth2ClientApplicationProperty(
|
|
1876
|
+
aws_managed_client_application_reference="awsManagedClientApplicationReference",
|
|
1877
|
+
user_managed_client_application_client_id="userManagedClientApplicationClientId"
|
|
1878
|
+
)
|
|
1879
|
+
'''
|
|
1880
|
+
if __debug__:
|
|
1881
|
+
type_hints = typing.get_type_hints(_typecheckingstub__06033edd4e1d109e79d816fec5df671c9c991a52cf6e92d45aa0f6ca6cb72d98)
|
|
1882
|
+
check_type(argname="argument aws_managed_client_application_reference", value=aws_managed_client_application_reference, expected_type=type_hints["aws_managed_client_application_reference"])
|
|
1883
|
+
check_type(argname="argument user_managed_client_application_client_id", value=user_managed_client_application_client_id, expected_type=type_hints["user_managed_client_application_client_id"])
|
|
1884
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1885
|
+
if aws_managed_client_application_reference is not None:
|
|
1886
|
+
self._values["aws_managed_client_application_reference"] = aws_managed_client_application_reference
|
|
1887
|
+
if user_managed_client_application_client_id is not None:
|
|
1888
|
+
self._values["user_managed_client_application_client_id"] = user_managed_client_application_client_id
|
|
1889
|
+
|
|
1890
|
+
@builtins.property
|
|
1891
|
+
def aws_managed_client_application_reference(
|
|
1892
|
+
self,
|
|
1893
|
+
) -> typing.Optional[builtins.str]:
|
|
1894
|
+
'''
|
|
1895
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2clientapplication.html#cfn-datazone-connection-oauth2clientapplication-awsmanagedclientapplicationreference
|
|
1896
|
+
'''
|
|
1897
|
+
result = self._values.get("aws_managed_client_application_reference")
|
|
1898
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1899
|
+
|
|
1900
|
+
@builtins.property
|
|
1901
|
+
def user_managed_client_application_client_id(
|
|
1902
|
+
self,
|
|
1903
|
+
) -> typing.Optional[builtins.str]:
|
|
1904
|
+
'''
|
|
1905
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2clientapplication.html#cfn-datazone-connection-oauth2clientapplication-usermanagedclientapplicationclientid
|
|
1906
|
+
'''
|
|
1907
|
+
result = self._values.get("user_managed_client_application_client_id")
|
|
1908
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1909
|
+
|
|
1910
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1911
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1912
|
+
|
|
1913
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1914
|
+
return not (rhs == self)
|
|
1915
|
+
|
|
1916
|
+
def __repr__(self) -> str:
|
|
1917
|
+
return "OAuth2ClientApplicationProperty(%s)" % ", ".join(
|
|
1918
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1919
|
+
)
|
|
1920
|
+
|
|
1921
|
+
@jsii.data_type(
|
|
1922
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.OAuth2PropertiesProperty",
|
|
1923
|
+
jsii_struct_bases=[],
|
|
1924
|
+
name_mapping={
|
|
1925
|
+
"authorization_code_properties": "authorizationCodeProperties",
|
|
1926
|
+
"o_auth2_client_application": "oAuth2ClientApplication",
|
|
1927
|
+
"o_auth2_credentials": "oAuth2Credentials",
|
|
1928
|
+
"o_auth2_grant_type": "oAuth2GrantType",
|
|
1929
|
+
"token_url": "tokenUrl",
|
|
1930
|
+
"token_url_parameters_map": "tokenUrlParametersMap",
|
|
1931
|
+
},
|
|
1932
|
+
)
|
|
1933
|
+
class OAuth2PropertiesProperty:
|
|
1934
|
+
def __init__(
|
|
1935
|
+
self,
|
|
1936
|
+
*,
|
|
1937
|
+
authorization_code_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.AuthorizationCodePropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1938
|
+
o_auth2_client_application: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.OAuth2ClientApplicationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1939
|
+
o_auth2_credentials: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.GlueOAuth2CredentialsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1940
|
+
o_auth2_grant_type: typing.Optional[builtins.str] = None,
|
|
1941
|
+
token_url: typing.Optional[builtins.str] = None,
|
|
1942
|
+
token_url_parameters_map: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
1943
|
+
) -> None:
|
|
1944
|
+
'''OAuth2 Properties.
|
|
1945
|
+
|
|
1946
|
+
:param authorization_code_properties: Authorization Code Properties.
|
|
1947
|
+
:param o_auth2_client_application: OAuth2 Client Application.
|
|
1948
|
+
:param o_auth2_credentials: Glue OAuth2 Credentials.
|
|
1949
|
+
:param o_auth2_grant_type: OAuth2 Grant Type.
|
|
1950
|
+
:param token_url:
|
|
1951
|
+
:param token_url_parameters_map: The token URL parameters.
|
|
1952
|
+
|
|
1953
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2properties.html
|
|
1954
|
+
:exampleMetadata: fixture=_generated
|
|
1955
|
+
|
|
1956
|
+
Example::
|
|
1957
|
+
|
|
1958
|
+
# The code below shows an example of how to instantiate this type.
|
|
1959
|
+
# The values are placeholders you should change.
|
|
1960
|
+
from aws_cdk import aws_datazone as datazone
|
|
1961
|
+
|
|
1962
|
+
o_auth2_properties_property = datazone.CfnConnection.OAuth2PropertiesProperty(
|
|
1963
|
+
authorization_code_properties=datazone.CfnConnection.AuthorizationCodePropertiesProperty(
|
|
1964
|
+
authorization_code="authorizationCode",
|
|
1965
|
+
redirect_uri="redirectUri"
|
|
1966
|
+
),
|
|
1967
|
+
o_auth2_client_application=datazone.CfnConnection.OAuth2ClientApplicationProperty(
|
|
1968
|
+
aws_managed_client_application_reference="awsManagedClientApplicationReference",
|
|
1969
|
+
user_managed_client_application_client_id="userManagedClientApplicationClientId"
|
|
1970
|
+
),
|
|
1971
|
+
o_auth2_credentials=datazone.CfnConnection.GlueOAuth2CredentialsProperty(
|
|
1972
|
+
access_token="accessToken",
|
|
1973
|
+
jwt_token="jwtToken",
|
|
1974
|
+
refresh_token="refreshToken",
|
|
1975
|
+
user_managed_client_application_client_secret="userManagedClientApplicationClientSecret"
|
|
1976
|
+
),
|
|
1977
|
+
o_auth2_grant_type="oAuth2GrantType",
|
|
1978
|
+
token_url="tokenUrl",
|
|
1979
|
+
token_url_parameters_map={
|
|
1980
|
+
"token_url_parameters_map_key": "tokenUrlParametersMap"
|
|
1981
|
+
}
|
|
1982
|
+
)
|
|
1983
|
+
'''
|
|
1984
|
+
if __debug__:
|
|
1985
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4cba63b68fdb8bbf2e7a537a629e7f6c6d51267f6c2af7395b1464f0ecb29b7d)
|
|
1986
|
+
check_type(argname="argument authorization_code_properties", value=authorization_code_properties, expected_type=type_hints["authorization_code_properties"])
|
|
1987
|
+
check_type(argname="argument o_auth2_client_application", value=o_auth2_client_application, expected_type=type_hints["o_auth2_client_application"])
|
|
1988
|
+
check_type(argname="argument o_auth2_credentials", value=o_auth2_credentials, expected_type=type_hints["o_auth2_credentials"])
|
|
1989
|
+
check_type(argname="argument o_auth2_grant_type", value=o_auth2_grant_type, expected_type=type_hints["o_auth2_grant_type"])
|
|
1990
|
+
check_type(argname="argument token_url", value=token_url, expected_type=type_hints["token_url"])
|
|
1991
|
+
check_type(argname="argument token_url_parameters_map", value=token_url_parameters_map, expected_type=type_hints["token_url_parameters_map"])
|
|
1992
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1993
|
+
if authorization_code_properties is not None:
|
|
1994
|
+
self._values["authorization_code_properties"] = authorization_code_properties
|
|
1995
|
+
if o_auth2_client_application is not None:
|
|
1996
|
+
self._values["o_auth2_client_application"] = o_auth2_client_application
|
|
1997
|
+
if o_auth2_credentials is not None:
|
|
1998
|
+
self._values["o_auth2_credentials"] = o_auth2_credentials
|
|
1999
|
+
if o_auth2_grant_type is not None:
|
|
2000
|
+
self._values["o_auth2_grant_type"] = o_auth2_grant_type
|
|
2001
|
+
if token_url is not None:
|
|
2002
|
+
self._values["token_url"] = token_url
|
|
2003
|
+
if token_url_parameters_map is not None:
|
|
2004
|
+
self._values["token_url_parameters_map"] = token_url_parameters_map
|
|
2005
|
+
|
|
2006
|
+
@builtins.property
|
|
2007
|
+
def authorization_code_properties(
|
|
2008
|
+
self,
|
|
2009
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AuthorizationCodePropertiesProperty"]]:
|
|
2010
|
+
'''Authorization Code Properties.
|
|
2011
|
+
|
|
2012
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2properties.html#cfn-datazone-connection-oauth2properties-authorizationcodeproperties
|
|
2013
|
+
'''
|
|
2014
|
+
result = self._values.get("authorization_code_properties")
|
|
2015
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AuthorizationCodePropertiesProperty"]], result)
|
|
2016
|
+
|
|
2017
|
+
@builtins.property
|
|
2018
|
+
def o_auth2_client_application(
|
|
2019
|
+
self,
|
|
2020
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.OAuth2ClientApplicationProperty"]]:
|
|
2021
|
+
'''OAuth2 Client Application.
|
|
2022
|
+
|
|
2023
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2properties.html#cfn-datazone-connection-oauth2properties-oauth2clientapplication
|
|
2024
|
+
'''
|
|
2025
|
+
result = self._values.get("o_auth2_client_application")
|
|
2026
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.OAuth2ClientApplicationProperty"]], result)
|
|
2027
|
+
|
|
2028
|
+
@builtins.property
|
|
2029
|
+
def o_auth2_credentials(
|
|
2030
|
+
self,
|
|
2031
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.GlueOAuth2CredentialsProperty"]]:
|
|
2032
|
+
'''Glue OAuth2 Credentials.
|
|
2033
|
+
|
|
2034
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2properties.html#cfn-datazone-connection-oauth2properties-oauth2credentials
|
|
2035
|
+
'''
|
|
2036
|
+
result = self._values.get("o_auth2_credentials")
|
|
2037
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.GlueOAuth2CredentialsProperty"]], result)
|
|
2038
|
+
|
|
2039
|
+
@builtins.property
|
|
2040
|
+
def o_auth2_grant_type(self) -> typing.Optional[builtins.str]:
|
|
2041
|
+
'''OAuth2 Grant Type.
|
|
2042
|
+
|
|
2043
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2properties.html#cfn-datazone-connection-oauth2properties-oauth2granttype
|
|
2044
|
+
'''
|
|
2045
|
+
result = self._values.get("o_auth2_grant_type")
|
|
2046
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2047
|
+
|
|
2048
|
+
@builtins.property
|
|
2049
|
+
def token_url(self) -> typing.Optional[builtins.str]:
|
|
2050
|
+
'''
|
|
2051
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2properties.html#cfn-datazone-connection-oauth2properties-tokenurl
|
|
2052
|
+
'''
|
|
2053
|
+
result = self._values.get("token_url")
|
|
2054
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2055
|
+
|
|
2056
|
+
@builtins.property
|
|
2057
|
+
def token_url_parameters_map(
|
|
2058
|
+
self,
|
|
2059
|
+
) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
|
|
2060
|
+
'''The token URL parameters.
|
|
2061
|
+
|
|
2062
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2properties.html#cfn-datazone-connection-oauth2properties-tokenurlparametersmap
|
|
2063
|
+
'''
|
|
2064
|
+
result = self._values.get("token_url_parameters_map")
|
|
2065
|
+
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
2066
|
+
|
|
2067
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2068
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2069
|
+
|
|
2070
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2071
|
+
return not (rhs == self)
|
|
2072
|
+
|
|
2073
|
+
def __repr__(self) -> str:
|
|
2074
|
+
return "OAuth2PropertiesProperty(%s)" % ", ".join(
|
|
2075
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2076
|
+
)
|
|
2077
|
+
|
|
2078
|
+
@jsii.data_type(
|
|
2079
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.PhysicalConnectionRequirementsProperty",
|
|
2080
|
+
jsii_struct_bases=[],
|
|
2081
|
+
name_mapping={
|
|
2082
|
+
"availability_zone": "availabilityZone",
|
|
2083
|
+
"security_group_id_list": "securityGroupIdList",
|
|
2084
|
+
"subnet_id": "subnetId",
|
|
2085
|
+
"subnet_id_list": "subnetIdList",
|
|
2086
|
+
},
|
|
2087
|
+
)
|
|
2088
|
+
class PhysicalConnectionRequirementsProperty:
|
|
2089
|
+
def __init__(
|
|
2090
|
+
self,
|
|
2091
|
+
*,
|
|
2092
|
+
availability_zone: typing.Optional[builtins.str] = None,
|
|
2093
|
+
security_group_id_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2094
|
+
subnet_id: typing.Optional[builtins.str] = None,
|
|
2095
|
+
subnet_id_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2096
|
+
) -> None:
|
|
2097
|
+
'''Physical Connection Requirements.
|
|
2098
|
+
|
|
2099
|
+
:param availability_zone:
|
|
2100
|
+
:param security_group_id_list:
|
|
2101
|
+
:param subnet_id:
|
|
2102
|
+
:param subnet_id_list:
|
|
2103
|
+
|
|
2104
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-physicalconnectionrequirements.html
|
|
2105
|
+
:exampleMetadata: fixture=_generated
|
|
2106
|
+
|
|
2107
|
+
Example::
|
|
2108
|
+
|
|
2109
|
+
# The code below shows an example of how to instantiate this type.
|
|
2110
|
+
# The values are placeholders you should change.
|
|
2111
|
+
from aws_cdk import aws_datazone as datazone
|
|
2112
|
+
|
|
2113
|
+
physical_connection_requirements_property = datazone.CfnConnection.PhysicalConnectionRequirementsProperty(
|
|
2114
|
+
availability_zone="availabilityZone",
|
|
2115
|
+
security_group_id_list=["securityGroupIdList"],
|
|
2116
|
+
subnet_id="subnetId",
|
|
2117
|
+
subnet_id_list=["subnetIdList"]
|
|
2118
|
+
)
|
|
2119
|
+
'''
|
|
2120
|
+
if __debug__:
|
|
2121
|
+
type_hints = typing.get_type_hints(_typecheckingstub__33253a54618916e3372650927015127ea603d71a4c9363ab9570cdaaa038b28b)
|
|
2122
|
+
check_type(argname="argument availability_zone", value=availability_zone, expected_type=type_hints["availability_zone"])
|
|
2123
|
+
check_type(argname="argument security_group_id_list", value=security_group_id_list, expected_type=type_hints["security_group_id_list"])
|
|
2124
|
+
check_type(argname="argument subnet_id", value=subnet_id, expected_type=type_hints["subnet_id"])
|
|
2125
|
+
check_type(argname="argument subnet_id_list", value=subnet_id_list, expected_type=type_hints["subnet_id_list"])
|
|
2126
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2127
|
+
if availability_zone is not None:
|
|
2128
|
+
self._values["availability_zone"] = availability_zone
|
|
2129
|
+
if security_group_id_list is not None:
|
|
2130
|
+
self._values["security_group_id_list"] = security_group_id_list
|
|
2131
|
+
if subnet_id is not None:
|
|
2132
|
+
self._values["subnet_id"] = subnet_id
|
|
2133
|
+
if subnet_id_list is not None:
|
|
2134
|
+
self._values["subnet_id_list"] = subnet_id_list
|
|
2135
|
+
|
|
2136
|
+
@builtins.property
|
|
2137
|
+
def availability_zone(self) -> typing.Optional[builtins.str]:
|
|
2138
|
+
'''
|
|
2139
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-physicalconnectionrequirements.html#cfn-datazone-connection-physicalconnectionrequirements-availabilityzone
|
|
2140
|
+
'''
|
|
2141
|
+
result = self._values.get("availability_zone")
|
|
2142
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2143
|
+
|
|
2144
|
+
@builtins.property
|
|
2145
|
+
def security_group_id_list(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2146
|
+
'''
|
|
2147
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-physicalconnectionrequirements.html#cfn-datazone-connection-physicalconnectionrequirements-securitygroupidlist
|
|
2148
|
+
'''
|
|
2149
|
+
result = self._values.get("security_group_id_list")
|
|
2150
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2151
|
+
|
|
2152
|
+
@builtins.property
|
|
2153
|
+
def subnet_id(self) -> typing.Optional[builtins.str]:
|
|
2154
|
+
'''
|
|
2155
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-physicalconnectionrequirements.html#cfn-datazone-connection-physicalconnectionrequirements-subnetid
|
|
2156
|
+
'''
|
|
2157
|
+
result = self._values.get("subnet_id")
|
|
2158
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2159
|
+
|
|
2160
|
+
@builtins.property
|
|
2161
|
+
def subnet_id_list(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2162
|
+
'''
|
|
2163
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-physicalconnectionrequirements.html#cfn-datazone-connection-physicalconnectionrequirements-subnetidlist
|
|
2164
|
+
'''
|
|
2165
|
+
result = self._values.get("subnet_id_list")
|
|
2166
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2167
|
+
|
|
2168
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2169
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2170
|
+
|
|
2171
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2172
|
+
return not (rhs == self)
|
|
2173
|
+
|
|
2174
|
+
def __repr__(self) -> str:
|
|
2175
|
+
return "PhysicalConnectionRequirementsProperty(%s)" % ", ".join(
|
|
2176
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2177
|
+
)
|
|
2178
|
+
|
|
2179
|
+
@jsii.data_type(
|
|
2180
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.RedshiftCredentialsProperty",
|
|
2181
|
+
jsii_struct_bases=[],
|
|
2182
|
+
name_mapping={
|
|
2183
|
+
"secret_arn": "secretArn",
|
|
2184
|
+
"username_password": "usernamePassword",
|
|
2185
|
+
},
|
|
2186
|
+
)
|
|
2187
|
+
class RedshiftCredentialsProperty:
|
|
2188
|
+
def __init__(
|
|
2189
|
+
self,
|
|
2190
|
+
*,
|
|
2191
|
+
secret_arn: typing.Optional[builtins.str] = None,
|
|
2192
|
+
username_password: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.UsernamePasswordProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2193
|
+
) -> None:
|
|
2194
|
+
'''
|
|
2195
|
+
:param secret_arn:
|
|
2196
|
+
:param username_password: The username and password to be used for authentication.
|
|
2197
|
+
|
|
2198
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftcredentials.html
|
|
2199
|
+
:exampleMetadata: fixture=_generated
|
|
2200
|
+
|
|
2201
|
+
Example::
|
|
2202
|
+
|
|
2203
|
+
# The code below shows an example of how to instantiate this type.
|
|
2204
|
+
# The values are placeholders you should change.
|
|
2205
|
+
from aws_cdk import aws_datazone as datazone
|
|
2206
|
+
|
|
2207
|
+
redshift_credentials_property = datazone.CfnConnection.RedshiftCredentialsProperty(
|
|
2208
|
+
secret_arn="secretArn",
|
|
2209
|
+
username_password=datazone.CfnConnection.UsernamePasswordProperty(
|
|
2210
|
+
password="password",
|
|
2211
|
+
username="username"
|
|
2212
|
+
)
|
|
2213
|
+
)
|
|
2214
|
+
'''
|
|
2215
|
+
if __debug__:
|
|
2216
|
+
type_hints = typing.get_type_hints(_typecheckingstub__573044a4537dd6f740734285ebbb2dcd69d20a0dc8c1a613d8498d6a3bcb9504)
|
|
2217
|
+
check_type(argname="argument secret_arn", value=secret_arn, expected_type=type_hints["secret_arn"])
|
|
2218
|
+
check_type(argname="argument username_password", value=username_password, expected_type=type_hints["username_password"])
|
|
2219
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2220
|
+
if secret_arn is not None:
|
|
2221
|
+
self._values["secret_arn"] = secret_arn
|
|
2222
|
+
if username_password is not None:
|
|
2223
|
+
self._values["username_password"] = username_password
|
|
2224
|
+
|
|
2225
|
+
@builtins.property
|
|
2226
|
+
def secret_arn(self) -> typing.Optional[builtins.str]:
|
|
2227
|
+
'''
|
|
2228
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftcredentials.html#cfn-datazone-connection-redshiftcredentials-secretarn
|
|
2229
|
+
'''
|
|
2230
|
+
result = self._values.get("secret_arn")
|
|
2231
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2232
|
+
|
|
2233
|
+
@builtins.property
|
|
2234
|
+
def username_password(
|
|
2235
|
+
self,
|
|
2236
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.UsernamePasswordProperty"]]:
|
|
2237
|
+
'''The username and password to be used for authentication.
|
|
2238
|
+
|
|
2239
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftcredentials.html#cfn-datazone-connection-redshiftcredentials-usernamepassword
|
|
2240
|
+
'''
|
|
2241
|
+
result = self._values.get("username_password")
|
|
2242
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.UsernamePasswordProperty"]], result)
|
|
2243
|
+
|
|
2244
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2245
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2246
|
+
|
|
2247
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2248
|
+
return not (rhs == self)
|
|
2249
|
+
|
|
2250
|
+
def __repr__(self) -> str:
|
|
2251
|
+
return "RedshiftCredentialsProperty(%s)" % ", ".join(
|
|
2252
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2253
|
+
)
|
|
2254
|
+
|
|
2255
|
+
@jsii.data_type(
|
|
2256
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.RedshiftLineageSyncConfigurationInputProperty",
|
|
2257
|
+
jsii_struct_bases=[],
|
|
2258
|
+
name_mapping={"enabled": "enabled", "schedule": "schedule"},
|
|
2259
|
+
)
|
|
2260
|
+
class RedshiftLineageSyncConfigurationInputProperty:
|
|
2261
|
+
def __init__(
|
|
2262
|
+
self,
|
|
2263
|
+
*,
|
|
2264
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2265
|
+
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.LineageSyncScheduleProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2266
|
+
) -> None:
|
|
2267
|
+
'''Redshift Lineage Sync Configuration Input.
|
|
2268
|
+
|
|
2269
|
+
:param enabled:
|
|
2270
|
+
:param schedule: Lineage Sync Schedule.
|
|
2271
|
+
|
|
2272
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftlineagesyncconfigurationinput.html
|
|
2273
|
+
:exampleMetadata: fixture=_generated
|
|
2274
|
+
|
|
2275
|
+
Example::
|
|
2276
|
+
|
|
2277
|
+
# The code below shows an example of how to instantiate this type.
|
|
2278
|
+
# The values are placeholders you should change.
|
|
2279
|
+
from aws_cdk import aws_datazone as datazone
|
|
2280
|
+
|
|
2281
|
+
redshift_lineage_sync_configuration_input_property = datazone.CfnConnection.RedshiftLineageSyncConfigurationInputProperty(
|
|
2282
|
+
enabled=False,
|
|
2283
|
+
schedule=datazone.CfnConnection.LineageSyncScheduleProperty(
|
|
2284
|
+
schedule="schedule"
|
|
2285
|
+
)
|
|
2286
|
+
)
|
|
2287
|
+
'''
|
|
2288
|
+
if __debug__:
|
|
2289
|
+
type_hints = typing.get_type_hints(_typecheckingstub__86e732877333e36da3944ac0771866cd4ef9ef230040330b2a710ca0eba2f6f7)
|
|
2290
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
2291
|
+
check_type(argname="argument schedule", value=schedule, expected_type=type_hints["schedule"])
|
|
2292
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2293
|
+
if enabled is not None:
|
|
2294
|
+
self._values["enabled"] = enabled
|
|
2295
|
+
if schedule is not None:
|
|
2296
|
+
self._values["schedule"] = schedule
|
|
2297
|
+
|
|
2298
|
+
@builtins.property
|
|
2299
|
+
def enabled(
|
|
2300
|
+
self,
|
|
2301
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2302
|
+
'''
|
|
2303
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftlineagesyncconfigurationinput.html#cfn-datazone-connection-redshiftlineagesyncconfigurationinput-enabled
|
|
2304
|
+
'''
|
|
2305
|
+
result = self._values.get("enabled")
|
|
2306
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2307
|
+
|
|
2308
|
+
@builtins.property
|
|
2309
|
+
def schedule(
|
|
2310
|
+
self,
|
|
2311
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.LineageSyncScheduleProperty"]]:
|
|
2312
|
+
'''Lineage Sync Schedule.
|
|
2313
|
+
|
|
2314
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftlineagesyncconfigurationinput.html#cfn-datazone-connection-redshiftlineagesyncconfigurationinput-schedule
|
|
2315
|
+
'''
|
|
2316
|
+
result = self._values.get("schedule")
|
|
2317
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.LineageSyncScheduleProperty"]], result)
|
|
2318
|
+
|
|
2319
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2320
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2321
|
+
|
|
2322
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2323
|
+
return not (rhs == self)
|
|
2324
|
+
|
|
2325
|
+
def __repr__(self) -> str:
|
|
2326
|
+
return "RedshiftLineageSyncConfigurationInputProperty(%s)" % ", ".join(
|
|
2327
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2328
|
+
)
|
|
2329
|
+
|
|
2330
|
+
@jsii.data_type(
|
|
2331
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.RedshiftPropertiesInputProperty",
|
|
2332
|
+
jsii_struct_bases=[],
|
|
2333
|
+
name_mapping={
|
|
2334
|
+
"credentials": "credentials",
|
|
2335
|
+
"database_name": "databaseName",
|
|
2336
|
+
"host": "host",
|
|
2337
|
+
"lineage_sync": "lineageSync",
|
|
2338
|
+
"port": "port",
|
|
2339
|
+
"storage": "storage",
|
|
2340
|
+
},
|
|
2341
|
+
)
|
|
2342
|
+
class RedshiftPropertiesInputProperty:
|
|
2343
|
+
def __init__(
|
|
2344
|
+
self,
|
|
2345
|
+
*,
|
|
2346
|
+
credentials: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.RedshiftCredentialsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2347
|
+
database_name: typing.Optional[builtins.str] = None,
|
|
2348
|
+
host: typing.Optional[builtins.str] = None,
|
|
2349
|
+
lineage_sync: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.RedshiftLineageSyncConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2350
|
+
port: typing.Optional[jsii.Number] = None,
|
|
2351
|
+
storage: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.RedshiftStoragePropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2352
|
+
) -> None:
|
|
2353
|
+
'''Redshift Properties Input.
|
|
2354
|
+
|
|
2355
|
+
:param credentials:
|
|
2356
|
+
:param database_name:
|
|
2357
|
+
:param host:
|
|
2358
|
+
:param lineage_sync: Redshift Lineage Sync Configuration Input.
|
|
2359
|
+
:param port:
|
|
2360
|
+
:param storage:
|
|
2361
|
+
|
|
2362
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftpropertiesinput.html
|
|
2363
|
+
:exampleMetadata: fixture=_generated
|
|
2364
|
+
|
|
2365
|
+
Example::
|
|
2366
|
+
|
|
2367
|
+
# The code below shows an example of how to instantiate this type.
|
|
2368
|
+
# The values are placeholders you should change.
|
|
2369
|
+
from aws_cdk import aws_datazone as datazone
|
|
2370
|
+
|
|
2371
|
+
redshift_properties_input_property = datazone.CfnConnection.RedshiftPropertiesInputProperty(
|
|
2372
|
+
credentials=datazone.CfnConnection.RedshiftCredentialsProperty(
|
|
2373
|
+
secret_arn="secretArn",
|
|
2374
|
+
username_password=datazone.CfnConnection.UsernamePasswordProperty(
|
|
2375
|
+
password="password",
|
|
2376
|
+
username="username"
|
|
2377
|
+
)
|
|
2378
|
+
),
|
|
2379
|
+
database_name="databaseName",
|
|
2380
|
+
host="host",
|
|
2381
|
+
lineage_sync=datazone.CfnConnection.RedshiftLineageSyncConfigurationInputProperty(
|
|
2382
|
+
enabled=False,
|
|
2383
|
+
schedule=datazone.CfnConnection.LineageSyncScheduleProperty(
|
|
2384
|
+
schedule="schedule"
|
|
2385
|
+
)
|
|
2386
|
+
),
|
|
2387
|
+
port=123,
|
|
2388
|
+
storage=datazone.CfnConnection.RedshiftStoragePropertiesProperty(
|
|
2389
|
+
cluster_name="clusterName",
|
|
2390
|
+
workgroup_name="workgroupName"
|
|
2391
|
+
)
|
|
2392
|
+
)
|
|
2393
|
+
'''
|
|
2394
|
+
if __debug__:
|
|
2395
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6bad9bb99ea9342d656480e79701348e43bbb8385f639af2c2e92651653e3bb4)
|
|
2396
|
+
check_type(argname="argument credentials", value=credentials, expected_type=type_hints["credentials"])
|
|
2397
|
+
check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
|
|
2398
|
+
check_type(argname="argument host", value=host, expected_type=type_hints["host"])
|
|
2399
|
+
check_type(argname="argument lineage_sync", value=lineage_sync, expected_type=type_hints["lineage_sync"])
|
|
2400
|
+
check_type(argname="argument port", value=port, expected_type=type_hints["port"])
|
|
2401
|
+
check_type(argname="argument storage", value=storage, expected_type=type_hints["storage"])
|
|
2402
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2403
|
+
if credentials is not None:
|
|
2404
|
+
self._values["credentials"] = credentials
|
|
2405
|
+
if database_name is not None:
|
|
2406
|
+
self._values["database_name"] = database_name
|
|
2407
|
+
if host is not None:
|
|
2408
|
+
self._values["host"] = host
|
|
2409
|
+
if lineage_sync is not None:
|
|
2410
|
+
self._values["lineage_sync"] = lineage_sync
|
|
2411
|
+
if port is not None:
|
|
2412
|
+
self._values["port"] = port
|
|
2413
|
+
if storage is not None:
|
|
2414
|
+
self._values["storage"] = storage
|
|
2415
|
+
|
|
2416
|
+
@builtins.property
|
|
2417
|
+
def credentials(
|
|
2418
|
+
self,
|
|
2419
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.RedshiftCredentialsProperty"]]:
|
|
2420
|
+
'''
|
|
2421
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftpropertiesinput.html#cfn-datazone-connection-redshiftpropertiesinput-credentials
|
|
2422
|
+
'''
|
|
2423
|
+
result = self._values.get("credentials")
|
|
2424
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.RedshiftCredentialsProperty"]], result)
|
|
2425
|
+
|
|
2426
|
+
@builtins.property
|
|
2427
|
+
def database_name(self) -> typing.Optional[builtins.str]:
|
|
2428
|
+
'''
|
|
2429
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftpropertiesinput.html#cfn-datazone-connection-redshiftpropertiesinput-databasename
|
|
2430
|
+
'''
|
|
2431
|
+
result = self._values.get("database_name")
|
|
2432
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2433
|
+
|
|
2434
|
+
@builtins.property
|
|
2435
|
+
def host(self) -> typing.Optional[builtins.str]:
|
|
2436
|
+
'''
|
|
2437
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftpropertiesinput.html#cfn-datazone-connection-redshiftpropertiesinput-host
|
|
2438
|
+
'''
|
|
2439
|
+
result = self._values.get("host")
|
|
2440
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2441
|
+
|
|
2442
|
+
@builtins.property
|
|
2443
|
+
def lineage_sync(
|
|
2444
|
+
self,
|
|
2445
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.RedshiftLineageSyncConfigurationInputProperty"]]:
|
|
2446
|
+
'''Redshift Lineage Sync Configuration Input.
|
|
2447
|
+
|
|
2448
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftpropertiesinput.html#cfn-datazone-connection-redshiftpropertiesinput-lineagesync
|
|
2449
|
+
'''
|
|
2450
|
+
result = self._values.get("lineage_sync")
|
|
2451
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.RedshiftLineageSyncConfigurationInputProperty"]], result)
|
|
2452
|
+
|
|
2453
|
+
@builtins.property
|
|
2454
|
+
def port(self) -> typing.Optional[jsii.Number]:
|
|
2455
|
+
'''
|
|
2456
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftpropertiesinput.html#cfn-datazone-connection-redshiftpropertiesinput-port
|
|
2457
|
+
'''
|
|
2458
|
+
result = self._values.get("port")
|
|
2459
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2460
|
+
|
|
2461
|
+
@builtins.property
|
|
2462
|
+
def storage(
|
|
2463
|
+
self,
|
|
2464
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.RedshiftStoragePropertiesProperty"]]:
|
|
2465
|
+
'''
|
|
2466
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftpropertiesinput.html#cfn-datazone-connection-redshiftpropertiesinput-storage
|
|
2467
|
+
'''
|
|
2468
|
+
result = self._values.get("storage")
|
|
2469
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.RedshiftStoragePropertiesProperty"]], result)
|
|
2470
|
+
|
|
2471
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2472
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2473
|
+
|
|
2474
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2475
|
+
return not (rhs == self)
|
|
2476
|
+
|
|
2477
|
+
def __repr__(self) -> str:
|
|
2478
|
+
return "RedshiftPropertiesInputProperty(%s)" % ", ".join(
|
|
2479
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2480
|
+
)
|
|
2481
|
+
|
|
2482
|
+
@jsii.data_type(
|
|
2483
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.RedshiftStoragePropertiesProperty",
|
|
2484
|
+
jsii_struct_bases=[],
|
|
2485
|
+
name_mapping={
|
|
2486
|
+
"cluster_name": "clusterName",
|
|
2487
|
+
"workgroup_name": "workgroupName",
|
|
2488
|
+
},
|
|
2489
|
+
)
|
|
2490
|
+
class RedshiftStoragePropertiesProperty:
|
|
2491
|
+
def __init__(
|
|
2492
|
+
self,
|
|
2493
|
+
*,
|
|
2494
|
+
cluster_name: typing.Optional[builtins.str] = None,
|
|
2495
|
+
workgroup_name: typing.Optional[builtins.str] = None,
|
|
2496
|
+
) -> None:
|
|
2497
|
+
'''
|
|
2498
|
+
:param cluster_name:
|
|
2499
|
+
:param workgroup_name:
|
|
2500
|
+
|
|
2501
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftstorageproperties.html
|
|
2502
|
+
:exampleMetadata: fixture=_generated
|
|
2503
|
+
|
|
2504
|
+
Example::
|
|
2505
|
+
|
|
2506
|
+
# The code below shows an example of how to instantiate this type.
|
|
2507
|
+
# The values are placeholders you should change.
|
|
2508
|
+
from aws_cdk import aws_datazone as datazone
|
|
2509
|
+
|
|
2510
|
+
redshift_storage_properties_property = datazone.CfnConnection.RedshiftStoragePropertiesProperty(
|
|
2511
|
+
cluster_name="clusterName",
|
|
2512
|
+
workgroup_name="workgroupName"
|
|
2513
|
+
)
|
|
2514
|
+
'''
|
|
2515
|
+
if __debug__:
|
|
2516
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b195696e44f8816ec97423896e5a52b6ee46aa7c4c9e0e33aa0ac4a92900d2ea)
|
|
2517
|
+
check_type(argname="argument cluster_name", value=cluster_name, expected_type=type_hints["cluster_name"])
|
|
2518
|
+
check_type(argname="argument workgroup_name", value=workgroup_name, expected_type=type_hints["workgroup_name"])
|
|
2519
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2520
|
+
if cluster_name is not None:
|
|
2521
|
+
self._values["cluster_name"] = cluster_name
|
|
2522
|
+
if workgroup_name is not None:
|
|
2523
|
+
self._values["workgroup_name"] = workgroup_name
|
|
2524
|
+
|
|
2525
|
+
@builtins.property
|
|
2526
|
+
def cluster_name(self) -> typing.Optional[builtins.str]:
|
|
2527
|
+
'''
|
|
2528
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftstorageproperties.html#cfn-datazone-connection-redshiftstorageproperties-clustername
|
|
2529
|
+
'''
|
|
2530
|
+
result = self._values.get("cluster_name")
|
|
2531
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2532
|
+
|
|
2533
|
+
@builtins.property
|
|
2534
|
+
def workgroup_name(self) -> typing.Optional[builtins.str]:
|
|
2535
|
+
'''
|
|
2536
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftstorageproperties.html#cfn-datazone-connection-redshiftstorageproperties-workgroupname
|
|
2537
|
+
'''
|
|
2538
|
+
result = self._values.get("workgroup_name")
|
|
2539
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2540
|
+
|
|
2541
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2542
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2543
|
+
|
|
2544
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2545
|
+
return not (rhs == self)
|
|
2546
|
+
|
|
2547
|
+
def __repr__(self) -> str:
|
|
2548
|
+
return "RedshiftStoragePropertiesProperty(%s)" % ", ".join(
|
|
2549
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2550
|
+
)
|
|
2551
|
+
|
|
2552
|
+
@jsii.data_type(
|
|
2553
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.SparkEmrPropertiesInputProperty",
|
|
2554
|
+
jsii_struct_bases=[],
|
|
2555
|
+
name_mapping={
|
|
2556
|
+
"compute_arn": "computeArn",
|
|
2557
|
+
"instance_profile_arn": "instanceProfileArn",
|
|
2558
|
+
"java_virtual_env": "javaVirtualEnv",
|
|
2559
|
+
"log_uri": "logUri",
|
|
2560
|
+
"python_virtual_env": "pythonVirtualEnv",
|
|
2561
|
+
"runtime_role": "runtimeRole",
|
|
2562
|
+
"trusted_certificates_s3_uri": "trustedCertificatesS3Uri",
|
|
2563
|
+
},
|
|
2564
|
+
)
|
|
2565
|
+
class SparkEmrPropertiesInputProperty:
|
|
2566
|
+
def __init__(
|
|
2567
|
+
self,
|
|
2568
|
+
*,
|
|
2569
|
+
compute_arn: typing.Optional[builtins.str] = None,
|
|
2570
|
+
instance_profile_arn: typing.Optional[builtins.str] = None,
|
|
2571
|
+
java_virtual_env: typing.Optional[builtins.str] = None,
|
|
2572
|
+
log_uri: typing.Optional[builtins.str] = None,
|
|
2573
|
+
python_virtual_env: typing.Optional[builtins.str] = None,
|
|
2574
|
+
runtime_role: typing.Optional[builtins.str] = None,
|
|
2575
|
+
trusted_certificates_s3_uri: typing.Optional[builtins.str] = None,
|
|
2576
|
+
) -> None:
|
|
2577
|
+
'''Spark EMR Properties Input.
|
|
2578
|
+
|
|
2579
|
+
:param compute_arn:
|
|
2580
|
+
:param instance_profile_arn:
|
|
2581
|
+
:param java_virtual_env:
|
|
2582
|
+
:param log_uri:
|
|
2583
|
+
:param python_virtual_env:
|
|
2584
|
+
:param runtime_role:
|
|
2585
|
+
:param trusted_certificates_s3_uri:
|
|
2586
|
+
|
|
2587
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkemrpropertiesinput.html
|
|
2588
|
+
:exampleMetadata: fixture=_generated
|
|
2589
|
+
|
|
2590
|
+
Example::
|
|
2591
|
+
|
|
2592
|
+
# The code below shows an example of how to instantiate this type.
|
|
2593
|
+
# The values are placeholders you should change.
|
|
2594
|
+
from aws_cdk import aws_datazone as datazone
|
|
2595
|
+
|
|
2596
|
+
spark_emr_properties_input_property = datazone.CfnConnection.SparkEmrPropertiesInputProperty(
|
|
2597
|
+
compute_arn="computeArn",
|
|
2598
|
+
instance_profile_arn="instanceProfileArn",
|
|
2599
|
+
java_virtual_env="javaVirtualEnv",
|
|
2600
|
+
log_uri="logUri",
|
|
2601
|
+
python_virtual_env="pythonVirtualEnv",
|
|
2602
|
+
runtime_role="runtimeRole",
|
|
2603
|
+
trusted_certificates_s3_uri="trustedCertificatesS3Uri"
|
|
2604
|
+
)
|
|
2605
|
+
'''
|
|
2606
|
+
if __debug__:
|
|
2607
|
+
type_hints = typing.get_type_hints(_typecheckingstub__94fbdb6dfc5f26da94f6f165997647170dbb3404b50c6d28eef32f77d6fcd395)
|
|
2608
|
+
check_type(argname="argument compute_arn", value=compute_arn, expected_type=type_hints["compute_arn"])
|
|
2609
|
+
check_type(argname="argument instance_profile_arn", value=instance_profile_arn, expected_type=type_hints["instance_profile_arn"])
|
|
2610
|
+
check_type(argname="argument java_virtual_env", value=java_virtual_env, expected_type=type_hints["java_virtual_env"])
|
|
2611
|
+
check_type(argname="argument log_uri", value=log_uri, expected_type=type_hints["log_uri"])
|
|
2612
|
+
check_type(argname="argument python_virtual_env", value=python_virtual_env, expected_type=type_hints["python_virtual_env"])
|
|
2613
|
+
check_type(argname="argument runtime_role", value=runtime_role, expected_type=type_hints["runtime_role"])
|
|
2614
|
+
check_type(argname="argument trusted_certificates_s3_uri", value=trusted_certificates_s3_uri, expected_type=type_hints["trusted_certificates_s3_uri"])
|
|
2615
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2616
|
+
if compute_arn is not None:
|
|
2617
|
+
self._values["compute_arn"] = compute_arn
|
|
2618
|
+
if instance_profile_arn is not None:
|
|
2619
|
+
self._values["instance_profile_arn"] = instance_profile_arn
|
|
2620
|
+
if java_virtual_env is not None:
|
|
2621
|
+
self._values["java_virtual_env"] = java_virtual_env
|
|
2622
|
+
if log_uri is not None:
|
|
2623
|
+
self._values["log_uri"] = log_uri
|
|
2624
|
+
if python_virtual_env is not None:
|
|
2625
|
+
self._values["python_virtual_env"] = python_virtual_env
|
|
2626
|
+
if runtime_role is not None:
|
|
2627
|
+
self._values["runtime_role"] = runtime_role
|
|
2628
|
+
if trusted_certificates_s3_uri is not None:
|
|
2629
|
+
self._values["trusted_certificates_s3_uri"] = trusted_certificates_s3_uri
|
|
2630
|
+
|
|
2631
|
+
@builtins.property
|
|
2632
|
+
def compute_arn(self) -> typing.Optional[builtins.str]:
|
|
2633
|
+
'''
|
|
2634
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkemrpropertiesinput.html#cfn-datazone-connection-sparkemrpropertiesinput-computearn
|
|
2635
|
+
'''
|
|
2636
|
+
result = self._values.get("compute_arn")
|
|
2637
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2638
|
+
|
|
2639
|
+
@builtins.property
|
|
2640
|
+
def instance_profile_arn(self) -> typing.Optional[builtins.str]:
|
|
2641
|
+
'''
|
|
2642
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkemrpropertiesinput.html#cfn-datazone-connection-sparkemrpropertiesinput-instanceprofilearn
|
|
2643
|
+
'''
|
|
2644
|
+
result = self._values.get("instance_profile_arn")
|
|
2645
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2646
|
+
|
|
2647
|
+
@builtins.property
|
|
2648
|
+
def java_virtual_env(self) -> typing.Optional[builtins.str]:
|
|
2649
|
+
'''
|
|
2650
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkemrpropertiesinput.html#cfn-datazone-connection-sparkemrpropertiesinput-javavirtualenv
|
|
2651
|
+
'''
|
|
2652
|
+
result = self._values.get("java_virtual_env")
|
|
2653
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2654
|
+
|
|
2655
|
+
@builtins.property
|
|
2656
|
+
def log_uri(self) -> typing.Optional[builtins.str]:
|
|
2657
|
+
'''
|
|
2658
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkemrpropertiesinput.html#cfn-datazone-connection-sparkemrpropertiesinput-loguri
|
|
2659
|
+
'''
|
|
2660
|
+
result = self._values.get("log_uri")
|
|
2661
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2662
|
+
|
|
2663
|
+
@builtins.property
|
|
2664
|
+
def python_virtual_env(self) -> typing.Optional[builtins.str]:
|
|
2665
|
+
'''
|
|
2666
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkemrpropertiesinput.html#cfn-datazone-connection-sparkemrpropertiesinput-pythonvirtualenv
|
|
2667
|
+
'''
|
|
2668
|
+
result = self._values.get("python_virtual_env")
|
|
2669
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2670
|
+
|
|
2671
|
+
@builtins.property
|
|
2672
|
+
def runtime_role(self) -> typing.Optional[builtins.str]:
|
|
2673
|
+
'''
|
|
2674
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkemrpropertiesinput.html#cfn-datazone-connection-sparkemrpropertiesinput-runtimerole
|
|
2675
|
+
'''
|
|
2676
|
+
result = self._values.get("runtime_role")
|
|
2677
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2678
|
+
|
|
2679
|
+
@builtins.property
|
|
2680
|
+
def trusted_certificates_s3_uri(self) -> typing.Optional[builtins.str]:
|
|
2681
|
+
'''
|
|
2682
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkemrpropertiesinput.html#cfn-datazone-connection-sparkemrpropertiesinput-trustedcertificatess3uri
|
|
2683
|
+
'''
|
|
2684
|
+
result = self._values.get("trusted_certificates_s3_uri")
|
|
2685
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2686
|
+
|
|
2687
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2688
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2689
|
+
|
|
2690
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2691
|
+
return not (rhs == self)
|
|
2692
|
+
|
|
2693
|
+
def __repr__(self) -> str:
|
|
2694
|
+
return "SparkEmrPropertiesInputProperty(%s)" % ", ".join(
|
|
2695
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2696
|
+
)
|
|
2697
|
+
|
|
2698
|
+
@jsii.data_type(
|
|
2699
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.SparkGlueArgsProperty",
|
|
2700
|
+
jsii_struct_bases=[],
|
|
2701
|
+
name_mapping={"connection": "connection"},
|
|
2702
|
+
)
|
|
2703
|
+
class SparkGlueArgsProperty:
|
|
2704
|
+
def __init__(self, *, connection: typing.Optional[builtins.str] = None) -> None:
|
|
2705
|
+
'''Spark Glue Args.
|
|
2706
|
+
|
|
2707
|
+
:param connection:
|
|
2708
|
+
|
|
2709
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkglueargs.html
|
|
2710
|
+
:exampleMetadata: fixture=_generated
|
|
2711
|
+
|
|
2712
|
+
Example::
|
|
2713
|
+
|
|
2714
|
+
# The code below shows an example of how to instantiate this type.
|
|
2715
|
+
# The values are placeholders you should change.
|
|
2716
|
+
from aws_cdk import aws_datazone as datazone
|
|
2717
|
+
|
|
2718
|
+
spark_glue_args_property = datazone.CfnConnection.SparkGlueArgsProperty(
|
|
2719
|
+
connection="connection"
|
|
2720
|
+
)
|
|
2721
|
+
'''
|
|
2722
|
+
if __debug__:
|
|
2723
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fc6a385f982dd6f3097586513e776c152b3210e81a751a74ccdf596b24edf2ba)
|
|
2724
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
2725
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2726
|
+
if connection is not None:
|
|
2727
|
+
self._values["connection"] = connection
|
|
2728
|
+
|
|
2729
|
+
@builtins.property
|
|
2730
|
+
def connection(self) -> typing.Optional[builtins.str]:
|
|
2731
|
+
'''
|
|
2732
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkglueargs.html#cfn-datazone-connection-sparkglueargs-connection
|
|
2733
|
+
'''
|
|
2734
|
+
result = self._values.get("connection")
|
|
2735
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2736
|
+
|
|
2737
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2738
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2739
|
+
|
|
2740
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2741
|
+
return not (rhs == self)
|
|
2742
|
+
|
|
2743
|
+
def __repr__(self) -> str:
|
|
2744
|
+
return "SparkGlueArgsProperty(%s)" % ", ".join(
|
|
2745
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2746
|
+
)
|
|
2747
|
+
|
|
2748
|
+
@jsii.data_type(
|
|
2749
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.SparkGluePropertiesInputProperty",
|
|
2750
|
+
jsii_struct_bases=[],
|
|
2751
|
+
name_mapping={
|
|
2752
|
+
"additional_args": "additionalArgs",
|
|
2753
|
+
"glue_connection_name": "glueConnectionName",
|
|
2754
|
+
"glue_version": "glueVersion",
|
|
2755
|
+
"idle_timeout": "idleTimeout",
|
|
2756
|
+
"java_virtual_env": "javaVirtualEnv",
|
|
2757
|
+
"number_of_workers": "numberOfWorkers",
|
|
2758
|
+
"python_virtual_env": "pythonVirtualEnv",
|
|
2759
|
+
"worker_type": "workerType",
|
|
2760
|
+
},
|
|
2761
|
+
)
|
|
2762
|
+
class SparkGluePropertiesInputProperty:
|
|
2763
|
+
def __init__(
|
|
2764
|
+
self,
|
|
2765
|
+
*,
|
|
2766
|
+
additional_args: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.SparkGlueArgsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2767
|
+
glue_connection_name: typing.Optional[builtins.str] = None,
|
|
2768
|
+
glue_version: typing.Optional[builtins.str] = None,
|
|
2769
|
+
idle_timeout: typing.Optional[jsii.Number] = None,
|
|
2770
|
+
java_virtual_env: typing.Optional[builtins.str] = None,
|
|
2771
|
+
number_of_workers: typing.Optional[jsii.Number] = None,
|
|
2772
|
+
python_virtual_env: typing.Optional[builtins.str] = None,
|
|
2773
|
+
worker_type: typing.Optional[builtins.str] = None,
|
|
2774
|
+
) -> None:
|
|
2775
|
+
'''Spark Glue Properties Input.
|
|
2776
|
+
|
|
2777
|
+
:param additional_args: Spark Glue Args.
|
|
2778
|
+
:param glue_connection_name:
|
|
2779
|
+
:param glue_version:
|
|
2780
|
+
:param idle_timeout:
|
|
2781
|
+
:param java_virtual_env:
|
|
2782
|
+
:param number_of_workers:
|
|
2783
|
+
:param python_virtual_env:
|
|
2784
|
+
:param worker_type:
|
|
2785
|
+
|
|
2786
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkgluepropertiesinput.html
|
|
2787
|
+
:exampleMetadata: fixture=_generated
|
|
2788
|
+
|
|
2789
|
+
Example::
|
|
2790
|
+
|
|
2791
|
+
# The code below shows an example of how to instantiate this type.
|
|
2792
|
+
# The values are placeholders you should change.
|
|
2793
|
+
from aws_cdk import aws_datazone as datazone
|
|
2794
|
+
|
|
2795
|
+
spark_glue_properties_input_property = datazone.CfnConnection.SparkGluePropertiesInputProperty(
|
|
2796
|
+
additional_args=datazone.CfnConnection.SparkGlueArgsProperty(
|
|
2797
|
+
connection="connection"
|
|
2798
|
+
),
|
|
2799
|
+
glue_connection_name="glueConnectionName",
|
|
2800
|
+
glue_version="glueVersion",
|
|
2801
|
+
idle_timeout=123,
|
|
2802
|
+
java_virtual_env="javaVirtualEnv",
|
|
2803
|
+
number_of_workers=123,
|
|
2804
|
+
python_virtual_env="pythonVirtualEnv",
|
|
2805
|
+
worker_type="workerType"
|
|
2806
|
+
)
|
|
2807
|
+
'''
|
|
2808
|
+
if __debug__:
|
|
2809
|
+
type_hints = typing.get_type_hints(_typecheckingstub__44d0d0a8466990262ea9a97c7791e494a3b6f38cf1968ce4fcff9de3fc1a9c77)
|
|
2810
|
+
check_type(argname="argument additional_args", value=additional_args, expected_type=type_hints["additional_args"])
|
|
2811
|
+
check_type(argname="argument glue_connection_name", value=glue_connection_name, expected_type=type_hints["glue_connection_name"])
|
|
2812
|
+
check_type(argname="argument glue_version", value=glue_version, expected_type=type_hints["glue_version"])
|
|
2813
|
+
check_type(argname="argument idle_timeout", value=idle_timeout, expected_type=type_hints["idle_timeout"])
|
|
2814
|
+
check_type(argname="argument java_virtual_env", value=java_virtual_env, expected_type=type_hints["java_virtual_env"])
|
|
2815
|
+
check_type(argname="argument number_of_workers", value=number_of_workers, expected_type=type_hints["number_of_workers"])
|
|
2816
|
+
check_type(argname="argument python_virtual_env", value=python_virtual_env, expected_type=type_hints["python_virtual_env"])
|
|
2817
|
+
check_type(argname="argument worker_type", value=worker_type, expected_type=type_hints["worker_type"])
|
|
2818
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2819
|
+
if additional_args is not None:
|
|
2820
|
+
self._values["additional_args"] = additional_args
|
|
2821
|
+
if glue_connection_name is not None:
|
|
2822
|
+
self._values["glue_connection_name"] = glue_connection_name
|
|
2823
|
+
if glue_version is not None:
|
|
2824
|
+
self._values["glue_version"] = glue_version
|
|
2825
|
+
if idle_timeout is not None:
|
|
2826
|
+
self._values["idle_timeout"] = idle_timeout
|
|
2827
|
+
if java_virtual_env is not None:
|
|
2828
|
+
self._values["java_virtual_env"] = java_virtual_env
|
|
2829
|
+
if number_of_workers is not None:
|
|
2830
|
+
self._values["number_of_workers"] = number_of_workers
|
|
2831
|
+
if python_virtual_env is not None:
|
|
2832
|
+
self._values["python_virtual_env"] = python_virtual_env
|
|
2833
|
+
if worker_type is not None:
|
|
2834
|
+
self._values["worker_type"] = worker_type
|
|
2835
|
+
|
|
2836
|
+
@builtins.property
|
|
2837
|
+
def additional_args(
|
|
2838
|
+
self,
|
|
2839
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.SparkGlueArgsProperty"]]:
|
|
2840
|
+
'''Spark Glue Args.
|
|
2841
|
+
|
|
2842
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkgluepropertiesinput.html#cfn-datazone-connection-sparkgluepropertiesinput-additionalargs
|
|
2843
|
+
'''
|
|
2844
|
+
result = self._values.get("additional_args")
|
|
2845
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.SparkGlueArgsProperty"]], result)
|
|
2846
|
+
|
|
2847
|
+
@builtins.property
|
|
2848
|
+
def glue_connection_name(self) -> typing.Optional[builtins.str]:
|
|
2849
|
+
'''
|
|
2850
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkgluepropertiesinput.html#cfn-datazone-connection-sparkgluepropertiesinput-glueconnectionname
|
|
2851
|
+
'''
|
|
2852
|
+
result = self._values.get("glue_connection_name")
|
|
2853
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2854
|
+
|
|
2855
|
+
@builtins.property
|
|
2856
|
+
def glue_version(self) -> typing.Optional[builtins.str]:
|
|
2857
|
+
'''
|
|
2858
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkgluepropertiesinput.html#cfn-datazone-connection-sparkgluepropertiesinput-glueversion
|
|
2859
|
+
'''
|
|
2860
|
+
result = self._values.get("glue_version")
|
|
2861
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2862
|
+
|
|
2863
|
+
@builtins.property
|
|
2864
|
+
def idle_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2865
|
+
'''
|
|
2866
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkgluepropertiesinput.html#cfn-datazone-connection-sparkgluepropertiesinput-idletimeout
|
|
2867
|
+
'''
|
|
2868
|
+
result = self._values.get("idle_timeout")
|
|
2869
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2870
|
+
|
|
2871
|
+
@builtins.property
|
|
2872
|
+
def java_virtual_env(self) -> typing.Optional[builtins.str]:
|
|
2873
|
+
'''
|
|
2874
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkgluepropertiesinput.html#cfn-datazone-connection-sparkgluepropertiesinput-javavirtualenv
|
|
2875
|
+
'''
|
|
2876
|
+
result = self._values.get("java_virtual_env")
|
|
2877
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2878
|
+
|
|
2879
|
+
@builtins.property
|
|
2880
|
+
def number_of_workers(self) -> typing.Optional[jsii.Number]:
|
|
2881
|
+
'''
|
|
2882
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkgluepropertiesinput.html#cfn-datazone-connection-sparkgluepropertiesinput-numberofworkers
|
|
2883
|
+
'''
|
|
2884
|
+
result = self._values.get("number_of_workers")
|
|
2885
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2886
|
+
|
|
2887
|
+
@builtins.property
|
|
2888
|
+
def python_virtual_env(self) -> typing.Optional[builtins.str]:
|
|
2889
|
+
'''
|
|
2890
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkgluepropertiesinput.html#cfn-datazone-connection-sparkgluepropertiesinput-pythonvirtualenv
|
|
2891
|
+
'''
|
|
2892
|
+
result = self._values.get("python_virtual_env")
|
|
2893
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2894
|
+
|
|
2895
|
+
@builtins.property
|
|
2896
|
+
def worker_type(self) -> typing.Optional[builtins.str]:
|
|
2897
|
+
'''
|
|
2898
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkgluepropertiesinput.html#cfn-datazone-connection-sparkgluepropertiesinput-workertype
|
|
2899
|
+
'''
|
|
2900
|
+
result = self._values.get("worker_type")
|
|
2901
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2902
|
+
|
|
2903
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2904
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2905
|
+
|
|
2906
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2907
|
+
return not (rhs == self)
|
|
2908
|
+
|
|
2909
|
+
def __repr__(self) -> str:
|
|
2910
|
+
return "SparkGluePropertiesInputProperty(%s)" % ", ".join(
|
|
2911
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2912
|
+
)
|
|
2913
|
+
|
|
2914
|
+
@jsii.data_type(
|
|
2915
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnection.UsernamePasswordProperty",
|
|
2916
|
+
jsii_struct_bases=[],
|
|
2917
|
+
name_mapping={"password": "password", "username": "username"},
|
|
2918
|
+
)
|
|
2919
|
+
class UsernamePasswordProperty:
|
|
2920
|
+
def __init__(self, *, password: builtins.str, username: builtins.str) -> None:
|
|
2921
|
+
'''The username and password to be used for authentication.
|
|
2922
|
+
|
|
2923
|
+
:param password:
|
|
2924
|
+
:param username:
|
|
2925
|
+
|
|
2926
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-usernamepassword.html
|
|
2927
|
+
:exampleMetadata: fixture=_generated
|
|
2928
|
+
|
|
2929
|
+
Example::
|
|
2930
|
+
|
|
2931
|
+
# The code below shows an example of how to instantiate this type.
|
|
2932
|
+
# The values are placeholders you should change.
|
|
2933
|
+
from aws_cdk import aws_datazone as datazone
|
|
2934
|
+
|
|
2935
|
+
username_password_property = datazone.CfnConnection.UsernamePasswordProperty(
|
|
2936
|
+
password="password",
|
|
2937
|
+
username="username"
|
|
2938
|
+
)
|
|
2939
|
+
'''
|
|
2940
|
+
if __debug__:
|
|
2941
|
+
type_hints = typing.get_type_hints(_typecheckingstub__09aad17749e39aa1e36aa16e65e288bbdbfd74b1ed996ed966f666f40ce8c31d)
|
|
2942
|
+
check_type(argname="argument password", value=password, expected_type=type_hints["password"])
|
|
2943
|
+
check_type(argname="argument username", value=username, expected_type=type_hints["username"])
|
|
2944
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2945
|
+
"password": password,
|
|
2946
|
+
"username": username,
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2949
|
+
@builtins.property
|
|
2950
|
+
def password(self) -> builtins.str:
|
|
2951
|
+
'''
|
|
2952
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-usernamepassword.html#cfn-datazone-connection-usernamepassword-password
|
|
2953
|
+
'''
|
|
2954
|
+
result = self._values.get("password")
|
|
2955
|
+
assert result is not None, "Required property 'password' is missing"
|
|
2956
|
+
return typing.cast(builtins.str, result)
|
|
2957
|
+
|
|
2958
|
+
@builtins.property
|
|
2959
|
+
def username(self) -> builtins.str:
|
|
2960
|
+
'''
|
|
2961
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-usernamepassword.html#cfn-datazone-connection-usernamepassword-username
|
|
2962
|
+
'''
|
|
2963
|
+
result = self._values.get("username")
|
|
2964
|
+
assert result is not None, "Required property 'username' is missing"
|
|
2965
|
+
return typing.cast(builtins.str, result)
|
|
2966
|
+
|
|
2967
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2968
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2969
|
+
|
|
2970
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2971
|
+
return not (rhs == self)
|
|
2972
|
+
|
|
2973
|
+
def __repr__(self) -> str:
|
|
2974
|
+
return "UsernamePasswordProperty(%s)" % ", ".join(
|
|
2975
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2976
|
+
)
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
@jsii.data_type(
|
|
2980
|
+
jsii_type="aws-cdk-lib.aws_datazone.CfnConnectionProps",
|
|
2981
|
+
jsii_struct_bases=[],
|
|
2982
|
+
name_mapping={
|
|
2983
|
+
"domain_identifier": "domainIdentifier",
|
|
2984
|
+
"environment_identifier": "environmentIdentifier",
|
|
2985
|
+
"name": "name",
|
|
2986
|
+
"aws_location": "awsLocation",
|
|
2987
|
+
"description": "description",
|
|
2988
|
+
"props": "props",
|
|
2989
|
+
},
|
|
2990
|
+
)
|
|
2991
|
+
class CfnConnectionProps:
|
|
2992
|
+
def __init__(
|
|
2993
|
+
self,
|
|
2994
|
+
*,
|
|
2995
|
+
domain_identifier: builtins.str,
|
|
2996
|
+
environment_identifier: builtins.str,
|
|
2997
|
+
name: builtins.str,
|
|
2998
|
+
aws_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AwsLocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2999
|
+
description: typing.Optional[builtins.str] = None,
|
|
3000
|
+
props: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ConnectionPropertiesInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3001
|
+
) -> None:
|
|
3002
|
+
'''Properties for defining a ``CfnConnection``.
|
|
3003
|
+
|
|
3004
|
+
:param domain_identifier: The identifier of the domain in which the connection is created.
|
|
3005
|
+
:param environment_identifier: The identifier of the environment in which the connection is created.
|
|
3006
|
+
:param name: The name of the connection.
|
|
3007
|
+
:param aws_location: AWS Location of project.
|
|
3008
|
+
:param description: The description of the connection.
|
|
3009
|
+
:param props:
|
|
3010
|
+
|
|
3011
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html
|
|
3012
|
+
:exampleMetadata: fixture=_generated
|
|
3013
|
+
|
|
3014
|
+
Example::
|
|
3015
|
+
|
|
3016
|
+
# The code below shows an example of how to instantiate this type.
|
|
3017
|
+
# The values are placeholders you should change.
|
|
3018
|
+
from aws_cdk import aws_datazone as datazone
|
|
3019
|
+
|
|
3020
|
+
cfn_connection_props = datazone.CfnConnectionProps(
|
|
3021
|
+
domain_identifier="domainIdentifier",
|
|
3022
|
+
environment_identifier="environmentIdentifier",
|
|
3023
|
+
name="name",
|
|
3024
|
+
|
|
3025
|
+
# the properties below are optional
|
|
3026
|
+
aws_location=datazone.CfnConnection.AwsLocationProperty(
|
|
3027
|
+
access_role="accessRole",
|
|
3028
|
+
aws_account_id="awsAccountId",
|
|
3029
|
+
aws_region="awsRegion",
|
|
3030
|
+
iam_connection_id="iamConnectionId"
|
|
3031
|
+
),
|
|
3032
|
+
description="description",
|
|
3033
|
+
props=datazone.CfnConnection.ConnectionPropertiesInputProperty(
|
|
3034
|
+
athena_properties=datazone.CfnConnection.AthenaPropertiesInputProperty(
|
|
3035
|
+
workgroup_name="workgroupName"
|
|
3036
|
+
),
|
|
3037
|
+
glue_properties=datazone.CfnConnection.GluePropertiesInputProperty(
|
|
3038
|
+
glue_connection_input=datazone.CfnConnection.GlueConnectionInputProperty(
|
|
3039
|
+
athena_properties={
|
|
3040
|
+
"athena_properties_key": "athenaProperties"
|
|
3041
|
+
},
|
|
3042
|
+
authentication_configuration=datazone.CfnConnection.AuthenticationConfigurationInputProperty(
|
|
3043
|
+
authentication_type="authenticationType",
|
|
3044
|
+
basic_authentication_credentials=datazone.CfnConnection.BasicAuthenticationCredentialsProperty(
|
|
3045
|
+
password="password",
|
|
3046
|
+
user_name="userName"
|
|
3047
|
+
),
|
|
3048
|
+
custom_authentication_credentials={
|
|
3049
|
+
"custom_authentication_credentials_key": "customAuthenticationCredentials"
|
|
3050
|
+
},
|
|
3051
|
+
kms_key_arn="kmsKeyArn",
|
|
3052
|
+
o_auth2_properties=datazone.CfnConnection.OAuth2PropertiesProperty(
|
|
3053
|
+
authorization_code_properties=datazone.CfnConnection.AuthorizationCodePropertiesProperty(
|
|
3054
|
+
authorization_code="authorizationCode",
|
|
3055
|
+
redirect_uri="redirectUri"
|
|
3056
|
+
),
|
|
3057
|
+
o_auth2_client_application=datazone.CfnConnection.OAuth2ClientApplicationProperty(
|
|
3058
|
+
aws_managed_client_application_reference="awsManagedClientApplicationReference",
|
|
3059
|
+
user_managed_client_application_client_id="userManagedClientApplicationClientId"
|
|
3060
|
+
),
|
|
3061
|
+
o_auth2_credentials=datazone.CfnConnection.GlueOAuth2CredentialsProperty(
|
|
3062
|
+
access_token="accessToken",
|
|
3063
|
+
jwt_token="jwtToken",
|
|
3064
|
+
refresh_token="refreshToken",
|
|
3065
|
+
user_managed_client_application_client_secret="userManagedClientApplicationClientSecret"
|
|
3066
|
+
),
|
|
3067
|
+
o_auth2_grant_type="oAuth2GrantType",
|
|
3068
|
+
token_url="tokenUrl",
|
|
3069
|
+
token_url_parameters_map={
|
|
3070
|
+
"token_url_parameters_map_key": "tokenUrlParametersMap"
|
|
3071
|
+
}
|
|
3072
|
+
),
|
|
3073
|
+
secret_arn="secretArn"
|
|
3074
|
+
),
|
|
3075
|
+
connection_properties={
|
|
3076
|
+
"connection_properties_key": "connectionProperties"
|
|
3077
|
+
},
|
|
3078
|
+
connection_type="connectionType",
|
|
3079
|
+
description="description",
|
|
3080
|
+
match_criteria="matchCriteria",
|
|
3081
|
+
name="name",
|
|
3082
|
+
physical_connection_requirements=datazone.CfnConnection.PhysicalConnectionRequirementsProperty(
|
|
3083
|
+
availability_zone="availabilityZone",
|
|
3084
|
+
security_group_id_list=["securityGroupIdList"],
|
|
3085
|
+
subnet_id="subnetId",
|
|
3086
|
+
subnet_id_list=["subnetIdList"]
|
|
3087
|
+
),
|
|
3088
|
+
python_properties={
|
|
3089
|
+
"python_properties_key": "pythonProperties"
|
|
3090
|
+
},
|
|
3091
|
+
spark_properties={
|
|
3092
|
+
"spark_properties_key": "sparkProperties"
|
|
3093
|
+
},
|
|
3094
|
+
validate_credentials=False,
|
|
3095
|
+
validate_for_compute_environments=["validateForComputeEnvironments"]
|
|
3096
|
+
)
|
|
3097
|
+
),
|
|
3098
|
+
hyper_pod_properties=datazone.CfnConnection.HyperPodPropertiesInputProperty(
|
|
3099
|
+
cluster_name="clusterName"
|
|
3100
|
+
),
|
|
3101
|
+
iam_properties=datazone.CfnConnection.IamPropertiesInputProperty(
|
|
3102
|
+
glue_lineage_sync_enabled=False
|
|
3103
|
+
),
|
|
3104
|
+
redshift_properties=datazone.CfnConnection.RedshiftPropertiesInputProperty(
|
|
3105
|
+
credentials=datazone.CfnConnection.RedshiftCredentialsProperty(
|
|
3106
|
+
secret_arn="secretArn",
|
|
3107
|
+
username_password=datazone.CfnConnection.UsernamePasswordProperty(
|
|
3108
|
+
password="password",
|
|
3109
|
+
username="username"
|
|
3110
|
+
)
|
|
3111
|
+
),
|
|
3112
|
+
database_name="databaseName",
|
|
3113
|
+
host="host",
|
|
3114
|
+
lineage_sync=datazone.CfnConnection.RedshiftLineageSyncConfigurationInputProperty(
|
|
3115
|
+
enabled=False,
|
|
3116
|
+
schedule=datazone.CfnConnection.LineageSyncScheduleProperty(
|
|
3117
|
+
schedule="schedule"
|
|
3118
|
+
)
|
|
3119
|
+
),
|
|
3120
|
+
port=123,
|
|
3121
|
+
storage=datazone.CfnConnection.RedshiftStoragePropertiesProperty(
|
|
3122
|
+
cluster_name="clusterName",
|
|
3123
|
+
workgroup_name="workgroupName"
|
|
3124
|
+
)
|
|
3125
|
+
),
|
|
3126
|
+
spark_emr_properties=datazone.CfnConnection.SparkEmrPropertiesInputProperty(
|
|
3127
|
+
compute_arn="computeArn",
|
|
3128
|
+
instance_profile_arn="instanceProfileArn",
|
|
3129
|
+
java_virtual_env="javaVirtualEnv",
|
|
3130
|
+
log_uri="logUri",
|
|
3131
|
+
python_virtual_env="pythonVirtualEnv",
|
|
3132
|
+
runtime_role="runtimeRole",
|
|
3133
|
+
trusted_certificates_s3_uri="trustedCertificatesS3Uri"
|
|
3134
|
+
),
|
|
3135
|
+
spark_glue_properties=datazone.CfnConnection.SparkGluePropertiesInputProperty(
|
|
3136
|
+
additional_args=datazone.CfnConnection.SparkGlueArgsProperty(
|
|
3137
|
+
connection="connection"
|
|
3138
|
+
),
|
|
3139
|
+
glue_connection_name="glueConnectionName",
|
|
3140
|
+
glue_version="glueVersion",
|
|
3141
|
+
idle_timeout=123,
|
|
3142
|
+
java_virtual_env="javaVirtualEnv",
|
|
3143
|
+
number_of_workers=123,
|
|
3144
|
+
python_virtual_env="pythonVirtualEnv",
|
|
3145
|
+
worker_type="workerType"
|
|
3146
|
+
)
|
|
3147
|
+
)
|
|
3148
|
+
)
|
|
3149
|
+
'''
|
|
3150
|
+
if __debug__:
|
|
3151
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8797ba459ed68920849c7b460987b708539d45c9d479ab52091ec466aebc8432)
|
|
3152
|
+
check_type(argname="argument domain_identifier", value=domain_identifier, expected_type=type_hints["domain_identifier"])
|
|
3153
|
+
check_type(argname="argument environment_identifier", value=environment_identifier, expected_type=type_hints["environment_identifier"])
|
|
3154
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
3155
|
+
check_type(argname="argument aws_location", value=aws_location, expected_type=type_hints["aws_location"])
|
|
3156
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
3157
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
3158
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3159
|
+
"domain_identifier": domain_identifier,
|
|
3160
|
+
"environment_identifier": environment_identifier,
|
|
3161
|
+
"name": name,
|
|
3162
|
+
}
|
|
3163
|
+
if aws_location is not None:
|
|
3164
|
+
self._values["aws_location"] = aws_location
|
|
3165
|
+
if description is not None:
|
|
3166
|
+
self._values["description"] = description
|
|
3167
|
+
if props is not None:
|
|
3168
|
+
self._values["props"] = props
|
|
3169
|
+
|
|
3170
|
+
@builtins.property
|
|
3171
|
+
def domain_identifier(self) -> builtins.str:
|
|
3172
|
+
'''The identifier of the domain in which the connection is created.
|
|
3173
|
+
|
|
3174
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html#cfn-datazone-connection-domainidentifier
|
|
3175
|
+
'''
|
|
3176
|
+
result = self._values.get("domain_identifier")
|
|
3177
|
+
assert result is not None, "Required property 'domain_identifier' is missing"
|
|
3178
|
+
return typing.cast(builtins.str, result)
|
|
3179
|
+
|
|
3180
|
+
@builtins.property
|
|
3181
|
+
def environment_identifier(self) -> builtins.str:
|
|
3182
|
+
'''The identifier of the environment in which the connection is created.
|
|
3183
|
+
|
|
3184
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html#cfn-datazone-connection-environmentidentifier
|
|
3185
|
+
'''
|
|
3186
|
+
result = self._values.get("environment_identifier")
|
|
3187
|
+
assert result is not None, "Required property 'environment_identifier' is missing"
|
|
3188
|
+
return typing.cast(builtins.str, result)
|
|
3189
|
+
|
|
3190
|
+
@builtins.property
|
|
3191
|
+
def name(self) -> builtins.str:
|
|
3192
|
+
'''The name of the connection.
|
|
3193
|
+
|
|
3194
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html#cfn-datazone-connection-name
|
|
3195
|
+
'''
|
|
3196
|
+
result = self._values.get("name")
|
|
3197
|
+
assert result is not None, "Required property 'name' is missing"
|
|
3198
|
+
return typing.cast(builtins.str, result)
|
|
3199
|
+
|
|
3200
|
+
@builtins.property
|
|
3201
|
+
def aws_location(
|
|
3202
|
+
self,
|
|
3203
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.AwsLocationProperty]]:
|
|
3204
|
+
'''AWS Location of project.
|
|
3205
|
+
|
|
3206
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html#cfn-datazone-connection-awslocation
|
|
3207
|
+
'''
|
|
3208
|
+
result = self._values.get("aws_location")
|
|
3209
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.AwsLocationProperty]], result)
|
|
3210
|
+
|
|
3211
|
+
@builtins.property
|
|
3212
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
3213
|
+
'''The description of the connection.
|
|
3214
|
+
|
|
3215
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html#cfn-datazone-connection-description
|
|
3216
|
+
'''
|
|
3217
|
+
result = self._values.get("description")
|
|
3218
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3219
|
+
|
|
3220
|
+
@builtins.property
|
|
3221
|
+
def props(
|
|
3222
|
+
self,
|
|
3223
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.ConnectionPropertiesInputProperty]]:
|
|
3224
|
+
'''
|
|
3225
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html#cfn-datazone-connection-props
|
|
3226
|
+
'''
|
|
3227
|
+
result = self._values.get("props")
|
|
3228
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.ConnectionPropertiesInputProperty]], result)
|
|
3229
|
+
|
|
3230
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3231
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3232
|
+
|
|
3233
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3234
|
+
return not (rhs == self)
|
|
3235
|
+
|
|
3236
|
+
def __repr__(self) -> str:
|
|
3237
|
+
return "CfnConnectionProps(%s)" % ", ".join(
|
|
3238
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3239
|
+
)
|
|
3240
|
+
|
|
3241
|
+
|
|
82
3242
|
@jsii.implements(_IInspectable_c2943556)
|
|
83
3243
|
class CfnDataSource(
|
|
84
3244
|
_CfnResource_9df397a6,
|
|
@@ -202,7 +3362,7 @@ class CfnDataSource(
|
|
|
202
3362
|
:param domain_identifier: The ID of the Amazon DataZone domain where the data source is created.
|
|
203
3363
|
:param name: The name of the data source.
|
|
204
3364
|
:param project_identifier: The identifier of the Amazon DataZone project in which you want to add this data source.
|
|
205
|
-
:param type: The type of the data source.
|
|
3365
|
+
:param type: The type of the data source. In Amazon DataZone, you can use data sources to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. In the current release of Amazon DataZone, you can create and run data sources for AWS Glue and Amazon Redshift.
|
|
206
3366
|
:param asset_forms_input: The metadata forms attached to the assets that the data source works with.
|
|
207
3367
|
:param configuration: The configuration of the data source.
|
|
208
3368
|
:param connection_identifier: The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run.
|
|
@@ -1696,7 +4856,7 @@ class CfnDataSourceProps:
|
|
|
1696
4856
|
:param domain_identifier: The ID of the Amazon DataZone domain where the data source is created.
|
|
1697
4857
|
:param name: The name of the data source.
|
|
1698
4858
|
:param project_identifier: The identifier of the Amazon DataZone project in which you want to add this data source.
|
|
1699
|
-
:param type: The type of the data source.
|
|
4859
|
+
:param type: The type of the data source. In Amazon DataZone, you can use data sources to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. In the current release of Amazon DataZone, you can create and run data sources for AWS Glue and Amazon Redshift.
|
|
1700
4860
|
:param asset_forms_input: The metadata forms attached to the assets that the data source works with.
|
|
1701
4861
|
:param configuration: The configuration of the data source.
|
|
1702
4862
|
:param connection_identifier: The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run.
|
|
@@ -1869,6 +5029,8 @@ class CfnDataSourceProps:
|
|
|
1869
5029
|
def type(self) -> builtins.str:
|
|
1870
5030
|
'''The type of the data source.
|
|
1871
5031
|
|
|
5032
|
+
In Amazon DataZone, you can use data sources to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. In the current release of Amazon DataZone, you can create and run data sources for AWS Glue and Amazon Redshift.
|
|
5033
|
+
|
|
1872
5034
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-datasource.html#cfn-datazone-datasource-type
|
|
1873
5035
|
'''
|
|
1874
5036
|
result = self._values.get("type")
|
|
@@ -2145,6 +5307,15 @@ class CfnDomain(
|
|
|
2145
5307
|
'''
|
|
2146
5308
|
return typing.cast(builtins.str, jsii.get(self, "attrPortalUrl"))
|
|
2147
5309
|
|
|
5310
|
+
@builtins.property
|
|
5311
|
+
@jsii.member(jsii_name="attrRootDomainUnitId")
|
|
5312
|
+
def attr_root_domain_unit_id(self) -> builtins.str:
|
|
5313
|
+
'''The ID of the root domain in Amazon Datazone.
|
|
5314
|
+
|
|
5315
|
+
:cloudformationAttribute: RootDomainUnitId
|
|
5316
|
+
'''
|
|
5317
|
+
return typing.cast(builtins.str, jsii.get(self, "attrRootDomainUnitId"))
|
|
5318
|
+
|
|
2148
5319
|
@builtins.property
|
|
2149
5320
|
@jsii.member(jsii_name="attrStatus")
|
|
2150
5321
|
def attr_status(self) -> builtins.str:
|
|
@@ -6560,6 +9731,8 @@ class CfnUserProfileProps:
|
|
|
6560
9731
|
|
|
6561
9732
|
|
|
6562
9733
|
__all__ = [
|
|
9734
|
+
"CfnConnection",
|
|
9735
|
+
"CfnConnectionProps",
|
|
6563
9736
|
"CfnDataSource",
|
|
6564
9737
|
"CfnDataSourceProps",
|
|
6565
9738
|
"CfnDomain",
|
|
@@ -6586,6 +9759,302 @@ __all__ = [
|
|
|
6586
9759
|
|
|
6587
9760
|
publication.publish()
|
|
6588
9761
|
|
|
9762
|
+
def _typecheckingstub__68db6ef5de752113ca6cf32190e1173ded9b82274379374d5e16834f4fed2680(
|
|
9763
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
9764
|
+
id: builtins.str,
|
|
9765
|
+
*,
|
|
9766
|
+
domain_identifier: builtins.str,
|
|
9767
|
+
environment_identifier: builtins.str,
|
|
9768
|
+
name: builtins.str,
|
|
9769
|
+
aws_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AwsLocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9770
|
+
description: typing.Optional[builtins.str] = None,
|
|
9771
|
+
props: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ConnectionPropertiesInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9772
|
+
) -> None:
|
|
9773
|
+
"""Type checking stubs"""
|
|
9774
|
+
pass
|
|
9775
|
+
|
|
9776
|
+
def _typecheckingstub__398c2006651598ffb80d8dc727165745adb2a6958c75f5926b613ba3177e9d64(
|
|
9777
|
+
inspector: _TreeInspector_488e0dd5,
|
|
9778
|
+
) -> None:
|
|
9779
|
+
"""Type checking stubs"""
|
|
9780
|
+
pass
|
|
9781
|
+
|
|
9782
|
+
def _typecheckingstub__136bd666b9e38ddb69494b10631ff5d0eaef6cf06229255303630179d477d90f(
|
|
9783
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
9784
|
+
) -> None:
|
|
9785
|
+
"""Type checking stubs"""
|
|
9786
|
+
pass
|
|
9787
|
+
|
|
9788
|
+
def _typecheckingstub__0f8e028075d374db4fd60d67eeb1b9ec1a7ba6de37d2ff5159166ef7a5c1b36b(
|
|
9789
|
+
value: builtins.str,
|
|
9790
|
+
) -> None:
|
|
9791
|
+
"""Type checking stubs"""
|
|
9792
|
+
pass
|
|
9793
|
+
|
|
9794
|
+
def _typecheckingstub__2b4cbfbd3c4ab850b86dca1cc1c0182806c09d658dbbad4aeefac22ff57e747f(
|
|
9795
|
+
value: builtins.str,
|
|
9796
|
+
) -> None:
|
|
9797
|
+
"""Type checking stubs"""
|
|
9798
|
+
pass
|
|
9799
|
+
|
|
9800
|
+
def _typecheckingstub__0d602657575f2a77c389ea4e89f4d92dbe2bb3c30e0ccfc811aff15e122a98d3(
|
|
9801
|
+
value: builtins.str,
|
|
9802
|
+
) -> None:
|
|
9803
|
+
"""Type checking stubs"""
|
|
9804
|
+
pass
|
|
9805
|
+
|
|
9806
|
+
def _typecheckingstub__2e0849d8ebdd0fce1643c3904bce5fd806bb233f7ff27eddb627fac859586e5c(
|
|
9807
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.AwsLocationProperty]],
|
|
9808
|
+
) -> None:
|
|
9809
|
+
"""Type checking stubs"""
|
|
9810
|
+
pass
|
|
9811
|
+
|
|
9812
|
+
def _typecheckingstub__ab8e0823bbef4ec627d5b737de745882d73474d54729e96b788a912f2dfe521c(
|
|
9813
|
+
value: typing.Optional[builtins.str],
|
|
9814
|
+
) -> None:
|
|
9815
|
+
"""Type checking stubs"""
|
|
9816
|
+
pass
|
|
9817
|
+
|
|
9818
|
+
def _typecheckingstub__17a641eb769944a69ded6b3f471012669d56d0ff95b65a8c7c137bc906851136(
|
|
9819
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.ConnectionPropertiesInputProperty]],
|
|
9820
|
+
) -> None:
|
|
9821
|
+
"""Type checking stubs"""
|
|
9822
|
+
pass
|
|
9823
|
+
|
|
9824
|
+
def _typecheckingstub__6dc6a593151a7d129b46176dfadfaef1e3447a0d3883bc7e17f19c97bc36e3b3(
|
|
9825
|
+
*,
|
|
9826
|
+
workgroup_name: builtins.str,
|
|
9827
|
+
) -> None:
|
|
9828
|
+
"""Type checking stubs"""
|
|
9829
|
+
pass
|
|
9830
|
+
|
|
9831
|
+
def _typecheckingstub__bede0f21a390e4991cddbe5e8b7fc491f05c5af9d778e5f1ecb4a57c9c7144e9(
|
|
9832
|
+
*,
|
|
9833
|
+
authentication_type: typing.Optional[builtins.str] = None,
|
|
9834
|
+
basic_authentication_credentials: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.BasicAuthenticationCredentialsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9835
|
+
custom_authentication_credentials: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
9836
|
+
kms_key_arn: typing.Optional[builtins.str] = None,
|
|
9837
|
+
o_auth2_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.OAuth2PropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9838
|
+
secret_arn: typing.Optional[builtins.str] = None,
|
|
9839
|
+
) -> None:
|
|
9840
|
+
"""Type checking stubs"""
|
|
9841
|
+
pass
|
|
9842
|
+
|
|
9843
|
+
def _typecheckingstub__709c9a9c016d2e06938c1c1ea54063ae38a4addfc19c769dff4d0e585d8c7527(
|
|
9844
|
+
*,
|
|
9845
|
+
authorization_code: typing.Optional[builtins.str] = None,
|
|
9846
|
+
redirect_uri: typing.Optional[builtins.str] = None,
|
|
9847
|
+
) -> None:
|
|
9848
|
+
"""Type checking stubs"""
|
|
9849
|
+
pass
|
|
9850
|
+
|
|
9851
|
+
def _typecheckingstub__298e27e7bc1a0b15a9b79d0ebf0e4abe337d89521ddfa348fac1a78cdda506e7(
|
|
9852
|
+
*,
|
|
9853
|
+
access_role: typing.Optional[builtins.str] = None,
|
|
9854
|
+
aws_account_id: typing.Optional[builtins.str] = None,
|
|
9855
|
+
aws_region: typing.Optional[builtins.str] = None,
|
|
9856
|
+
iam_connection_id: typing.Optional[builtins.str] = None,
|
|
9857
|
+
) -> None:
|
|
9858
|
+
"""Type checking stubs"""
|
|
9859
|
+
pass
|
|
9860
|
+
|
|
9861
|
+
def _typecheckingstub__7ee4cc1ea0ba5d5144e8b2c837d252087208460444755cfb7f5128e742a104c3(
|
|
9862
|
+
*,
|
|
9863
|
+
password: typing.Optional[builtins.str] = None,
|
|
9864
|
+
user_name: typing.Optional[builtins.str] = None,
|
|
9865
|
+
) -> None:
|
|
9866
|
+
"""Type checking stubs"""
|
|
9867
|
+
pass
|
|
9868
|
+
|
|
9869
|
+
def _typecheckingstub__afac89e500a9d5f348ce1c21e174ddef9825d543c744b00c3ff73a0c8dba8f38(
|
|
9870
|
+
*,
|
|
9871
|
+
athena_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AthenaPropertiesInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9872
|
+
glue_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.GluePropertiesInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9873
|
+
hyper_pod_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.HyperPodPropertiesInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9874
|
+
iam_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.IamPropertiesInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9875
|
+
redshift_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.RedshiftPropertiesInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9876
|
+
spark_emr_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.SparkEmrPropertiesInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9877
|
+
spark_glue_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.SparkGluePropertiesInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9878
|
+
) -> None:
|
|
9879
|
+
"""Type checking stubs"""
|
|
9880
|
+
pass
|
|
9881
|
+
|
|
9882
|
+
def _typecheckingstub__647e7cf0ba0ee1ab7c75fea7d6b34c8a50c95526cd1ec69c86c54c920adef3a9(
|
|
9883
|
+
*,
|
|
9884
|
+
athena_properties: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
9885
|
+
authentication_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthenticationConfigurationInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9886
|
+
connection_properties: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
9887
|
+
connection_type: typing.Optional[builtins.str] = None,
|
|
9888
|
+
description: typing.Optional[builtins.str] = None,
|
|
9889
|
+
match_criteria: typing.Optional[builtins.str] = None,
|
|
9890
|
+
name: typing.Optional[builtins.str] = None,
|
|
9891
|
+
physical_connection_requirements: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.PhysicalConnectionRequirementsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9892
|
+
python_properties: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
9893
|
+
spark_properties: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
9894
|
+
validate_credentials: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9895
|
+
validate_for_compute_environments: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
9896
|
+
) -> None:
|
|
9897
|
+
"""Type checking stubs"""
|
|
9898
|
+
pass
|
|
9899
|
+
|
|
9900
|
+
def _typecheckingstub__d948c343e2b90a8893463e22eaab4033317f5a056da9d7e7559e3285f2c7ff17(
|
|
9901
|
+
*,
|
|
9902
|
+
access_token: typing.Optional[builtins.str] = None,
|
|
9903
|
+
jwt_token: typing.Optional[builtins.str] = None,
|
|
9904
|
+
refresh_token: typing.Optional[builtins.str] = None,
|
|
9905
|
+
user_managed_client_application_client_secret: typing.Optional[builtins.str] = None,
|
|
9906
|
+
) -> None:
|
|
9907
|
+
"""Type checking stubs"""
|
|
9908
|
+
pass
|
|
9909
|
+
|
|
9910
|
+
def _typecheckingstub__07f6c7fa8f6b6af10d26eadc862dfc837c455b56372fa29947bd67161af5e5c7(
|
|
9911
|
+
*,
|
|
9912
|
+
glue_connection_input: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.GlueConnectionInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9913
|
+
) -> None:
|
|
9914
|
+
"""Type checking stubs"""
|
|
9915
|
+
pass
|
|
9916
|
+
|
|
9917
|
+
def _typecheckingstub__b2574ba013a10f07b6e0a61c5559f70c13b2de025bb4b8d00be0efcd15f721fd(
|
|
9918
|
+
*,
|
|
9919
|
+
cluster_name: builtins.str,
|
|
9920
|
+
) -> None:
|
|
9921
|
+
"""Type checking stubs"""
|
|
9922
|
+
pass
|
|
9923
|
+
|
|
9924
|
+
def _typecheckingstub__5fcef45bd8fc26fdf37a0281f7789bd6e0fc1105a24dd2b5148ec9b0e0c27b75(
|
|
9925
|
+
*,
|
|
9926
|
+
glue_lineage_sync_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9927
|
+
) -> None:
|
|
9928
|
+
"""Type checking stubs"""
|
|
9929
|
+
pass
|
|
9930
|
+
|
|
9931
|
+
def _typecheckingstub__807712ef4f77e804709861b4d4515e24f1b5cb14208414a29172fa52c5a8622e(
|
|
9932
|
+
*,
|
|
9933
|
+
schedule: typing.Optional[builtins.str] = None,
|
|
9934
|
+
) -> None:
|
|
9935
|
+
"""Type checking stubs"""
|
|
9936
|
+
pass
|
|
9937
|
+
|
|
9938
|
+
def _typecheckingstub__06033edd4e1d109e79d816fec5df671c9c991a52cf6e92d45aa0f6ca6cb72d98(
|
|
9939
|
+
*,
|
|
9940
|
+
aws_managed_client_application_reference: typing.Optional[builtins.str] = None,
|
|
9941
|
+
user_managed_client_application_client_id: typing.Optional[builtins.str] = None,
|
|
9942
|
+
) -> None:
|
|
9943
|
+
"""Type checking stubs"""
|
|
9944
|
+
pass
|
|
9945
|
+
|
|
9946
|
+
def _typecheckingstub__4cba63b68fdb8bbf2e7a537a629e7f6c6d51267f6c2af7395b1464f0ecb29b7d(
|
|
9947
|
+
*,
|
|
9948
|
+
authorization_code_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthorizationCodePropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9949
|
+
o_auth2_client_application: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.OAuth2ClientApplicationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9950
|
+
o_auth2_credentials: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.GlueOAuth2CredentialsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9951
|
+
o_auth2_grant_type: typing.Optional[builtins.str] = None,
|
|
9952
|
+
token_url: typing.Optional[builtins.str] = None,
|
|
9953
|
+
token_url_parameters_map: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
9954
|
+
) -> None:
|
|
9955
|
+
"""Type checking stubs"""
|
|
9956
|
+
pass
|
|
9957
|
+
|
|
9958
|
+
def _typecheckingstub__33253a54618916e3372650927015127ea603d71a4c9363ab9570cdaaa038b28b(
|
|
9959
|
+
*,
|
|
9960
|
+
availability_zone: typing.Optional[builtins.str] = None,
|
|
9961
|
+
security_group_id_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
9962
|
+
subnet_id: typing.Optional[builtins.str] = None,
|
|
9963
|
+
subnet_id_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
9964
|
+
) -> None:
|
|
9965
|
+
"""Type checking stubs"""
|
|
9966
|
+
pass
|
|
9967
|
+
|
|
9968
|
+
def _typecheckingstub__573044a4537dd6f740734285ebbb2dcd69d20a0dc8c1a613d8498d6a3bcb9504(
|
|
9969
|
+
*,
|
|
9970
|
+
secret_arn: typing.Optional[builtins.str] = None,
|
|
9971
|
+
username_password: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.UsernamePasswordProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9972
|
+
) -> None:
|
|
9973
|
+
"""Type checking stubs"""
|
|
9974
|
+
pass
|
|
9975
|
+
|
|
9976
|
+
def _typecheckingstub__86e732877333e36da3944ac0771866cd4ef9ef230040330b2a710ca0eba2f6f7(
|
|
9977
|
+
*,
|
|
9978
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9979
|
+
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.LineageSyncScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9980
|
+
) -> None:
|
|
9981
|
+
"""Type checking stubs"""
|
|
9982
|
+
pass
|
|
9983
|
+
|
|
9984
|
+
def _typecheckingstub__6bad9bb99ea9342d656480e79701348e43bbb8385f639af2c2e92651653e3bb4(
|
|
9985
|
+
*,
|
|
9986
|
+
credentials: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.RedshiftCredentialsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9987
|
+
database_name: typing.Optional[builtins.str] = None,
|
|
9988
|
+
host: typing.Optional[builtins.str] = None,
|
|
9989
|
+
lineage_sync: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.RedshiftLineageSyncConfigurationInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9990
|
+
port: typing.Optional[jsii.Number] = None,
|
|
9991
|
+
storage: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.RedshiftStoragePropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9992
|
+
) -> None:
|
|
9993
|
+
"""Type checking stubs"""
|
|
9994
|
+
pass
|
|
9995
|
+
|
|
9996
|
+
def _typecheckingstub__b195696e44f8816ec97423896e5a52b6ee46aa7c4c9e0e33aa0ac4a92900d2ea(
|
|
9997
|
+
*,
|
|
9998
|
+
cluster_name: typing.Optional[builtins.str] = None,
|
|
9999
|
+
workgroup_name: typing.Optional[builtins.str] = None,
|
|
10000
|
+
) -> None:
|
|
10001
|
+
"""Type checking stubs"""
|
|
10002
|
+
pass
|
|
10003
|
+
|
|
10004
|
+
def _typecheckingstub__94fbdb6dfc5f26da94f6f165997647170dbb3404b50c6d28eef32f77d6fcd395(
|
|
10005
|
+
*,
|
|
10006
|
+
compute_arn: typing.Optional[builtins.str] = None,
|
|
10007
|
+
instance_profile_arn: typing.Optional[builtins.str] = None,
|
|
10008
|
+
java_virtual_env: typing.Optional[builtins.str] = None,
|
|
10009
|
+
log_uri: typing.Optional[builtins.str] = None,
|
|
10010
|
+
python_virtual_env: typing.Optional[builtins.str] = None,
|
|
10011
|
+
runtime_role: typing.Optional[builtins.str] = None,
|
|
10012
|
+
trusted_certificates_s3_uri: typing.Optional[builtins.str] = None,
|
|
10013
|
+
) -> None:
|
|
10014
|
+
"""Type checking stubs"""
|
|
10015
|
+
pass
|
|
10016
|
+
|
|
10017
|
+
def _typecheckingstub__fc6a385f982dd6f3097586513e776c152b3210e81a751a74ccdf596b24edf2ba(
|
|
10018
|
+
*,
|
|
10019
|
+
connection: typing.Optional[builtins.str] = None,
|
|
10020
|
+
) -> None:
|
|
10021
|
+
"""Type checking stubs"""
|
|
10022
|
+
pass
|
|
10023
|
+
|
|
10024
|
+
def _typecheckingstub__44d0d0a8466990262ea9a97c7791e494a3b6f38cf1968ce4fcff9de3fc1a9c77(
|
|
10025
|
+
*,
|
|
10026
|
+
additional_args: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.SparkGlueArgsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10027
|
+
glue_connection_name: typing.Optional[builtins.str] = None,
|
|
10028
|
+
glue_version: typing.Optional[builtins.str] = None,
|
|
10029
|
+
idle_timeout: typing.Optional[jsii.Number] = None,
|
|
10030
|
+
java_virtual_env: typing.Optional[builtins.str] = None,
|
|
10031
|
+
number_of_workers: typing.Optional[jsii.Number] = None,
|
|
10032
|
+
python_virtual_env: typing.Optional[builtins.str] = None,
|
|
10033
|
+
worker_type: typing.Optional[builtins.str] = None,
|
|
10034
|
+
) -> None:
|
|
10035
|
+
"""Type checking stubs"""
|
|
10036
|
+
pass
|
|
10037
|
+
|
|
10038
|
+
def _typecheckingstub__09aad17749e39aa1e36aa16e65e288bbdbfd74b1ed996ed966f666f40ce8c31d(
|
|
10039
|
+
*,
|
|
10040
|
+
password: builtins.str,
|
|
10041
|
+
username: builtins.str,
|
|
10042
|
+
) -> None:
|
|
10043
|
+
"""Type checking stubs"""
|
|
10044
|
+
pass
|
|
10045
|
+
|
|
10046
|
+
def _typecheckingstub__8797ba459ed68920849c7b460987b708539d45c9d479ab52091ec466aebc8432(
|
|
10047
|
+
*,
|
|
10048
|
+
domain_identifier: builtins.str,
|
|
10049
|
+
environment_identifier: builtins.str,
|
|
10050
|
+
name: builtins.str,
|
|
10051
|
+
aws_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AwsLocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10052
|
+
description: typing.Optional[builtins.str] = None,
|
|
10053
|
+
props: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ConnectionPropertiesInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10054
|
+
) -> None:
|
|
10055
|
+
"""Type checking stubs"""
|
|
10056
|
+
pass
|
|
10057
|
+
|
|
6589
10058
|
def _typecheckingstub__b74a6ac4c3e98c769e70eb9dc6e8b5f1e8f347a3615d992ea7f1c0d421505732(
|
|
6590
10059
|
scope: _constructs_77d1e7e8.Construct,
|
|
6591
10060
|
id: builtins.str,
|