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