aws-cdk-lib 2.114.0__py3-none-any.whl → 2.115.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 +7 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.114.0.jsii.tgz → aws-cdk-lib@2.115.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +6 -0
- aws_cdk/aws_apigatewayv2/__init__.py +223 -574
- aws_cdk/aws_autoscaling/__init__.py +99 -86
- aws_cdk/aws_bedrock/__init__.py +355 -0
- aws_cdk/aws_billingconductor/__init__.py +41 -0
- aws_cdk/aws_cleanrooms/__init__.py +46 -20
- aws_cdk/aws_cloudformation/__init__.py +5 -1
- aws_cdk/aws_cloudtrail/__init__.py +89 -0
- aws_cdk/aws_codedeploy/__init__.py +233 -1
- aws_cdk/aws_connect/__init__.py +49 -2
- aws_cdk/aws_dlm/__init__.py +8 -11
- aws_cdk/aws_dms/__init__.py +3861 -1643
- aws_cdk/aws_ec2/__init__.py +91 -47
- aws_cdk/aws_ecs/__init__.py +18 -0
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +26 -13
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +110 -54
- aws_cdk/aws_emr/__init__.py +287 -18
- aws_cdk/aws_eventschemas/__init__.py +1 -1
- aws_cdk/aws_fis/__init__.py +466 -34
- aws_cdk/aws_iam/__init__.py +47 -35
- aws_cdk/aws_internetmonitor/__init__.py +10 -12
- aws_cdk/aws_lightsail/__init__.py +4 -2
- aws_cdk/aws_logs/__init__.py +5 -4
- aws_cdk/aws_opensearchservice/__init__.py +47 -0
- aws_cdk/aws_osis/__init__.py +272 -32
- aws_cdk/aws_rds/__init__.py +205 -87
- aws_cdk/aws_resiliencehub/__init__.py +9 -14
- aws_cdk/aws_rolesanywhere/__init__.py +41 -53
- aws_cdk/aws_route53/__init__.py +3 -3
- aws_cdk/aws_route53_targets/__init__.py +2 -2
- aws_cdk/aws_s3/__init__.py +2 -6
- aws_cdk/aws_s3express/__init__.py +3 -3
- aws_cdk/aws_sagemaker/__init__.py +82 -11
- aws_cdk/aws_sns/__init__.py +181 -0
- aws_cdk/aws_stepfunctions/__init__.py +16 -8
- aws_cdk/aws_stepfunctions_tasks/__init__.py +975 -139
- aws_cdk/aws_workspacesthinclient/__init__.py +44 -35
- {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/RECORD +47 -46
- {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.114.0.dist-info → aws_cdk_lib-2.115.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_emr/__init__.py
CHANGED
|
@@ -9266,21 +9266,69 @@ class CfnSecurityConfiguration(
|
|
|
9266
9266
|
|
|
9267
9267
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-securityconfiguration.html
|
|
9268
9268
|
:cloudformationResource: AWS::EMR::SecurityConfiguration
|
|
9269
|
-
:exampleMetadata:
|
|
9269
|
+
:exampleMetadata: infused
|
|
9270
9270
|
|
|
9271
9271
|
Example::
|
|
9272
9272
|
|
|
9273
|
-
|
|
9274
|
-
# The values are placeholders you should change.
|
|
9275
|
-
from aws_cdk import aws_emr as emr
|
|
9273
|
+
import aws_cdk.aws_emr as emr
|
|
9276
9274
|
|
|
9277
|
-
# security_configuration: Any
|
|
9278
9275
|
|
|
9279
|
-
cfn_security_configuration = emr.CfnSecurityConfiguration(self, "
|
|
9280
|
-
|
|
9276
|
+
cfn_security_configuration = emr.CfnSecurityConfiguration(self, "EmrSecurityConfiguration",
|
|
9277
|
+
name="AddStepRuntimeRoleSecConfig",
|
|
9278
|
+
security_configuration=JSON.parse("""
|
|
9279
|
+
{
|
|
9280
|
+
"AuthorizationConfiguration": {
|
|
9281
|
+
"IAMConfiguration": {
|
|
9282
|
+
"EnableApplicationScopedIAMRole": true,
|
|
9283
|
+
"ApplicationScopedIAMRoleConfiguration":
|
|
9284
|
+
{
|
|
9285
|
+
"PropagateSourceIdentity": true
|
|
9286
|
+
}
|
|
9287
|
+
},
|
|
9288
|
+
"LakeFormationConfiguration": {
|
|
9289
|
+
"AuthorizedSessionTagValue": "Amazon EMR"
|
|
9290
|
+
}
|
|
9291
|
+
}
|
|
9292
|
+
}""")
|
|
9293
|
+
)
|
|
9281
9294
|
|
|
9282
|
-
|
|
9283
|
-
|
|
9295
|
+
task = tasks.EmrCreateCluster(self, "Create Cluster",
|
|
9296
|
+
instances=tasks.EmrCreateCluster.InstancesConfigProperty(),
|
|
9297
|
+
name=sfn.TaskInput.from_json_path_at("$.ClusterName").value,
|
|
9298
|
+
security_configuration=cfn_security_configuration.name
|
|
9299
|
+
)
|
|
9300
|
+
|
|
9301
|
+
execution_role = iam.Role(self, "Role",
|
|
9302
|
+
assumed_by=iam.ArnPrincipal(task.cluster_role.role_arn)
|
|
9303
|
+
)
|
|
9304
|
+
|
|
9305
|
+
execution_role.assume_role_policy.add_statements(
|
|
9306
|
+
iam.PolicyStatement(
|
|
9307
|
+
effect=iam.Effect.ALLOW,
|
|
9308
|
+
principals=[task.cluster_role
|
|
9309
|
+
],
|
|
9310
|
+
actions=["sts:SetSourceIdentity"
|
|
9311
|
+
]
|
|
9312
|
+
),
|
|
9313
|
+
iam.PolicyStatement(
|
|
9314
|
+
effect=iam.Effect.ALLOW,
|
|
9315
|
+
principals=[task.cluster_role
|
|
9316
|
+
],
|
|
9317
|
+
actions=["sts:TagSession"
|
|
9318
|
+
],
|
|
9319
|
+
conditions={
|
|
9320
|
+
"StringEquals": {
|
|
9321
|
+
"aws:RequestTag/LakeFormationAuthorizedCaller": "Amazon EMR"
|
|
9322
|
+
}
|
|
9323
|
+
}
|
|
9324
|
+
))
|
|
9325
|
+
|
|
9326
|
+
tasks.EmrAddStep(self, "Task",
|
|
9327
|
+
cluster_id="ClusterId",
|
|
9328
|
+
execution_role_arn=execution_role.role_arn,
|
|
9329
|
+
name="StepName",
|
|
9330
|
+
jar="Jar",
|
|
9331
|
+
action_on_failure=tasks.ActionOnFailure.CONTINUE
|
|
9284
9332
|
)
|
|
9285
9333
|
'''
|
|
9286
9334
|
|
|
@@ -9388,21 +9436,69 @@ class CfnSecurityConfigurationProps:
|
|
|
9388
9436
|
:param name: The name of the security configuration.
|
|
9389
9437
|
|
|
9390
9438
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-securityconfiguration.html
|
|
9391
|
-
:exampleMetadata:
|
|
9439
|
+
:exampleMetadata: infused
|
|
9392
9440
|
|
|
9393
9441
|
Example::
|
|
9394
9442
|
|
|
9395
|
-
|
|
9396
|
-
# The values are placeholders you should change.
|
|
9397
|
-
from aws_cdk import aws_emr as emr
|
|
9443
|
+
import aws_cdk.aws_emr as emr
|
|
9398
9444
|
|
|
9399
|
-
# security_configuration: Any
|
|
9400
9445
|
|
|
9401
|
-
|
|
9402
|
-
|
|
9446
|
+
cfn_security_configuration = emr.CfnSecurityConfiguration(self, "EmrSecurityConfiguration",
|
|
9447
|
+
name="AddStepRuntimeRoleSecConfig",
|
|
9448
|
+
security_configuration=JSON.parse("""
|
|
9449
|
+
{
|
|
9450
|
+
"AuthorizationConfiguration": {
|
|
9451
|
+
"IAMConfiguration": {
|
|
9452
|
+
"EnableApplicationScopedIAMRole": true,
|
|
9453
|
+
"ApplicationScopedIAMRoleConfiguration":
|
|
9454
|
+
{
|
|
9455
|
+
"PropagateSourceIdentity": true
|
|
9456
|
+
}
|
|
9457
|
+
},
|
|
9458
|
+
"LakeFormationConfiguration": {
|
|
9459
|
+
"AuthorizedSessionTagValue": "Amazon EMR"
|
|
9460
|
+
}
|
|
9461
|
+
}
|
|
9462
|
+
}""")
|
|
9463
|
+
)
|
|
9403
9464
|
|
|
9404
|
-
|
|
9405
|
-
|
|
9465
|
+
task = tasks.EmrCreateCluster(self, "Create Cluster",
|
|
9466
|
+
instances=tasks.EmrCreateCluster.InstancesConfigProperty(),
|
|
9467
|
+
name=sfn.TaskInput.from_json_path_at("$.ClusterName").value,
|
|
9468
|
+
security_configuration=cfn_security_configuration.name
|
|
9469
|
+
)
|
|
9470
|
+
|
|
9471
|
+
execution_role = iam.Role(self, "Role",
|
|
9472
|
+
assumed_by=iam.ArnPrincipal(task.cluster_role.role_arn)
|
|
9473
|
+
)
|
|
9474
|
+
|
|
9475
|
+
execution_role.assume_role_policy.add_statements(
|
|
9476
|
+
iam.PolicyStatement(
|
|
9477
|
+
effect=iam.Effect.ALLOW,
|
|
9478
|
+
principals=[task.cluster_role
|
|
9479
|
+
],
|
|
9480
|
+
actions=["sts:SetSourceIdentity"
|
|
9481
|
+
]
|
|
9482
|
+
),
|
|
9483
|
+
iam.PolicyStatement(
|
|
9484
|
+
effect=iam.Effect.ALLOW,
|
|
9485
|
+
principals=[task.cluster_role
|
|
9486
|
+
],
|
|
9487
|
+
actions=["sts:TagSession"
|
|
9488
|
+
],
|
|
9489
|
+
conditions={
|
|
9490
|
+
"StringEquals": {
|
|
9491
|
+
"aws:RequestTag/LakeFormationAuthorizedCaller": "Amazon EMR"
|
|
9492
|
+
}
|
|
9493
|
+
}
|
|
9494
|
+
))
|
|
9495
|
+
|
|
9496
|
+
tasks.EmrAddStep(self, "Task",
|
|
9497
|
+
cluster_id="ClusterId",
|
|
9498
|
+
execution_role_arn=execution_role.role_arn,
|
|
9499
|
+
name="StepName",
|
|
9500
|
+
jar="Jar",
|
|
9501
|
+
action_on_failure=tasks.ActionOnFailure.CONTINUE
|
|
9406
9502
|
)
|
|
9407
9503
|
'''
|
|
9408
9504
|
if __debug__:
|
|
@@ -9963,12 +10059,16 @@ class CfnStudio(
|
|
|
9963
10059
|
|
|
9964
10060
|
# the properties below are optional
|
|
9965
10061
|
description="description",
|
|
10062
|
+
encryption_key_arn="encryptionKeyArn",
|
|
10063
|
+
idc_instance_arn="idcInstanceArn",
|
|
10064
|
+
idc_user_assignment="idcUserAssignment",
|
|
9966
10065
|
idp_auth_url="idpAuthUrl",
|
|
9967
10066
|
idp_relay_state_parameter_name="idpRelayStateParameterName",
|
|
9968
10067
|
tags=[CfnTag(
|
|
9969
10068
|
key="key",
|
|
9970
10069
|
value="value"
|
|
9971
10070
|
)],
|
|
10071
|
+
trusted_identity_propagation_enabled=False,
|
|
9972
10072
|
user_role="userRole"
|
|
9973
10073
|
)
|
|
9974
10074
|
'''
|
|
@@ -9987,9 +10087,13 @@ class CfnStudio(
|
|
|
9987
10087
|
vpc_id: builtins.str,
|
|
9988
10088
|
workspace_security_group_id: builtins.str,
|
|
9989
10089
|
description: typing.Optional[builtins.str] = None,
|
|
10090
|
+
encryption_key_arn: typing.Optional[builtins.str] = None,
|
|
10091
|
+
idc_instance_arn: typing.Optional[builtins.str] = None,
|
|
10092
|
+
idc_user_assignment: typing.Optional[builtins.str] = None,
|
|
9990
10093
|
idp_auth_url: typing.Optional[builtins.str] = None,
|
|
9991
10094
|
idp_relay_state_parameter_name: typing.Optional[builtins.str] = None,
|
|
9992
10095
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10096
|
+
trusted_identity_propagation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9993
10097
|
user_role: typing.Optional[builtins.str] = None,
|
|
9994
10098
|
) -> None:
|
|
9995
10099
|
'''
|
|
@@ -10004,9 +10108,13 @@ class CfnStudio(
|
|
|
10004
10108
|
:param vpc_id: The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
|
|
10005
10109
|
:param workspace_security_group_id: The ID of the Workspace security group associated with the Amazon EMR Studio. The Workspace security group allows outbound network traffic to resources in the Engine security group and to the internet.
|
|
10006
10110
|
:param description: A detailed description of the Amazon EMR Studio.
|
|
10111
|
+
:param encryption_key_arn:
|
|
10112
|
+
:param idc_instance_arn: The ARN of the IAM Identity Center instance to create the Studio application.
|
|
10113
|
+
:param idc_user_assignment: Specifies whether IAM Identity Center user assignment is REQUIRED or OPTIONAL. If the value is set to REQUIRED, users must be explicitly assigned to the Studio application to access the Studio.
|
|
10007
10114
|
:param idp_auth_url: Your identity provider's authentication endpoint. Amazon EMR Studio redirects federated users to this endpoint for authentication when logging in to a Studio with the Studio URL.
|
|
10008
10115
|
:param idp_relay_state_parameter_name: The name of your identity provider's ``RelayState`` parameter.
|
|
10009
10116
|
:param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
10117
|
+
:param trusted_identity_propagation_enabled: A Boolean indicating whether to enable Trusted identity propagation for the Studio. The default value is false.
|
|
10010
10118
|
:param user_role: The Amazon Resource Name (ARN) of the IAM user role that will be assumed by users and groups logged in to a Studio. The permissions attached to this IAM role can be scoped down for each user or group using session policies. You only need to specify ``UserRole`` when you set ``AuthMode`` to ``SSO`` .
|
|
10011
10119
|
'''
|
|
10012
10120
|
if __debug__:
|
|
@@ -10023,9 +10131,13 @@ class CfnStudio(
|
|
|
10023
10131
|
vpc_id=vpc_id,
|
|
10024
10132
|
workspace_security_group_id=workspace_security_group_id,
|
|
10025
10133
|
description=description,
|
|
10134
|
+
encryption_key_arn=encryption_key_arn,
|
|
10135
|
+
idc_instance_arn=idc_instance_arn,
|
|
10136
|
+
idc_user_assignment=idc_user_assignment,
|
|
10026
10137
|
idp_auth_url=idp_auth_url,
|
|
10027
10138
|
idp_relay_state_parameter_name=idp_relay_state_parameter_name,
|
|
10028
10139
|
tags=tags,
|
|
10140
|
+
trusted_identity_propagation_enabled=trusted_identity_propagation_enabled,
|
|
10029
10141
|
user_role=user_role,
|
|
10030
10142
|
)
|
|
10031
10143
|
|
|
@@ -10222,6 +10334,44 @@ class CfnStudio(
|
|
|
10222
10334
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10223
10335
|
jsii.set(self, "description", value)
|
|
10224
10336
|
|
|
10337
|
+
@builtins.property
|
|
10338
|
+
@jsii.member(jsii_name="encryptionKeyArn")
|
|
10339
|
+
def encryption_key_arn(self) -> typing.Optional[builtins.str]:
|
|
10340
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "encryptionKeyArn"))
|
|
10341
|
+
|
|
10342
|
+
@encryption_key_arn.setter
|
|
10343
|
+
def encryption_key_arn(self, value: typing.Optional[builtins.str]) -> None:
|
|
10344
|
+
if __debug__:
|
|
10345
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a934c05c196d0eda57d2ba0bd9c2811612942f47baa70b9def4583964bf21ef7)
|
|
10346
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10347
|
+
jsii.set(self, "encryptionKeyArn", value)
|
|
10348
|
+
|
|
10349
|
+
@builtins.property
|
|
10350
|
+
@jsii.member(jsii_name="idcInstanceArn")
|
|
10351
|
+
def idc_instance_arn(self) -> typing.Optional[builtins.str]:
|
|
10352
|
+
'''The ARN of the IAM Identity Center instance to create the Studio application.'''
|
|
10353
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idcInstanceArn"))
|
|
10354
|
+
|
|
10355
|
+
@idc_instance_arn.setter
|
|
10356
|
+
def idc_instance_arn(self, value: typing.Optional[builtins.str]) -> None:
|
|
10357
|
+
if __debug__:
|
|
10358
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ac14b0d933a01aa925ef079cc75e4ff2fb649c283f4c3356a21f14dae6f52d24)
|
|
10359
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10360
|
+
jsii.set(self, "idcInstanceArn", value)
|
|
10361
|
+
|
|
10362
|
+
@builtins.property
|
|
10363
|
+
@jsii.member(jsii_name="idcUserAssignment")
|
|
10364
|
+
def idc_user_assignment(self) -> typing.Optional[builtins.str]:
|
|
10365
|
+
'''Specifies whether IAM Identity Center user assignment is REQUIRED or OPTIONAL.'''
|
|
10366
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idcUserAssignment"))
|
|
10367
|
+
|
|
10368
|
+
@idc_user_assignment.setter
|
|
10369
|
+
def idc_user_assignment(self, value: typing.Optional[builtins.str]) -> None:
|
|
10370
|
+
if __debug__:
|
|
10371
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a96ab30aad484feea76068949481bec25db0a532494456bfbb1db494aebf3926)
|
|
10372
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10373
|
+
jsii.set(self, "idcUserAssignment", value)
|
|
10374
|
+
|
|
10225
10375
|
@builtins.property
|
|
10226
10376
|
@jsii.member(jsii_name="idpAuthUrl")
|
|
10227
10377
|
def idp_auth_url(self) -> typing.Optional[builtins.str]:
|
|
@@ -10264,6 +10414,24 @@ class CfnStudio(
|
|
|
10264
10414
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10265
10415
|
jsii.set(self, "tagsRaw", value)
|
|
10266
10416
|
|
|
10417
|
+
@builtins.property
|
|
10418
|
+
@jsii.member(jsii_name="trustedIdentityPropagationEnabled")
|
|
10419
|
+
def trusted_identity_propagation_enabled(
|
|
10420
|
+
self,
|
|
10421
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
10422
|
+
'''A Boolean indicating whether to enable Trusted identity propagation for the Studio.'''
|
|
10423
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "trustedIdentityPropagationEnabled"))
|
|
10424
|
+
|
|
10425
|
+
@trusted_identity_propagation_enabled.setter
|
|
10426
|
+
def trusted_identity_propagation_enabled(
|
|
10427
|
+
self,
|
|
10428
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
10429
|
+
) -> None:
|
|
10430
|
+
if __debug__:
|
|
10431
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d97a907912a2a6d42177e06668874b62f8bb494e07b5e9659287db646faa1236)
|
|
10432
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10433
|
+
jsii.set(self, "trustedIdentityPropagationEnabled", value)
|
|
10434
|
+
|
|
10267
10435
|
@builtins.property
|
|
10268
10436
|
@jsii.member(jsii_name="userRole")
|
|
10269
10437
|
def user_role(self) -> typing.Optional[builtins.str]:
|
|
@@ -10291,9 +10459,13 @@ class CfnStudio(
|
|
|
10291
10459
|
"vpc_id": "vpcId",
|
|
10292
10460
|
"workspace_security_group_id": "workspaceSecurityGroupId",
|
|
10293
10461
|
"description": "description",
|
|
10462
|
+
"encryption_key_arn": "encryptionKeyArn",
|
|
10463
|
+
"idc_instance_arn": "idcInstanceArn",
|
|
10464
|
+
"idc_user_assignment": "idcUserAssignment",
|
|
10294
10465
|
"idp_auth_url": "idpAuthUrl",
|
|
10295
10466
|
"idp_relay_state_parameter_name": "idpRelayStateParameterName",
|
|
10296
10467
|
"tags": "tags",
|
|
10468
|
+
"trusted_identity_propagation_enabled": "trustedIdentityPropagationEnabled",
|
|
10297
10469
|
"user_role": "userRole",
|
|
10298
10470
|
},
|
|
10299
10471
|
)
|
|
@@ -10310,9 +10482,13 @@ class CfnStudioProps:
|
|
|
10310
10482
|
vpc_id: builtins.str,
|
|
10311
10483
|
workspace_security_group_id: builtins.str,
|
|
10312
10484
|
description: typing.Optional[builtins.str] = None,
|
|
10485
|
+
encryption_key_arn: typing.Optional[builtins.str] = None,
|
|
10486
|
+
idc_instance_arn: typing.Optional[builtins.str] = None,
|
|
10487
|
+
idc_user_assignment: typing.Optional[builtins.str] = None,
|
|
10313
10488
|
idp_auth_url: typing.Optional[builtins.str] = None,
|
|
10314
10489
|
idp_relay_state_parameter_name: typing.Optional[builtins.str] = None,
|
|
10315
10490
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10491
|
+
trusted_identity_propagation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
10316
10492
|
user_role: typing.Optional[builtins.str] = None,
|
|
10317
10493
|
) -> None:
|
|
10318
10494
|
'''Properties for defining a ``CfnStudio``.
|
|
@@ -10326,9 +10502,13 @@ class CfnStudioProps:
|
|
|
10326
10502
|
:param vpc_id: The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
|
|
10327
10503
|
:param workspace_security_group_id: The ID of the Workspace security group associated with the Amazon EMR Studio. The Workspace security group allows outbound network traffic to resources in the Engine security group and to the internet.
|
|
10328
10504
|
:param description: A detailed description of the Amazon EMR Studio.
|
|
10505
|
+
:param encryption_key_arn:
|
|
10506
|
+
:param idc_instance_arn: The ARN of the IAM Identity Center instance to create the Studio application.
|
|
10507
|
+
:param idc_user_assignment: Specifies whether IAM Identity Center user assignment is REQUIRED or OPTIONAL. If the value is set to REQUIRED, users must be explicitly assigned to the Studio application to access the Studio.
|
|
10329
10508
|
:param idp_auth_url: Your identity provider's authentication endpoint. Amazon EMR Studio redirects federated users to this endpoint for authentication when logging in to a Studio with the Studio URL.
|
|
10330
10509
|
:param idp_relay_state_parameter_name: The name of your identity provider's ``RelayState`` parameter.
|
|
10331
10510
|
:param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
10511
|
+
:param trusted_identity_propagation_enabled: A Boolean indicating whether to enable Trusted identity propagation for the Studio. The default value is false.
|
|
10332
10512
|
:param user_role: The Amazon Resource Name (ARN) of the IAM user role that will be assumed by users and groups logged in to a Studio. The permissions attached to this IAM role can be scoped down for each user or group using session policies. You only need to specify ``UserRole`` when you set ``AuthMode`` to ``SSO`` .
|
|
10333
10513
|
|
|
10334
10514
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html
|
|
@@ -10352,12 +10532,16 @@ class CfnStudioProps:
|
|
|
10352
10532
|
|
|
10353
10533
|
# the properties below are optional
|
|
10354
10534
|
description="description",
|
|
10535
|
+
encryption_key_arn="encryptionKeyArn",
|
|
10536
|
+
idc_instance_arn="idcInstanceArn",
|
|
10537
|
+
idc_user_assignment="idcUserAssignment",
|
|
10355
10538
|
idp_auth_url="idpAuthUrl",
|
|
10356
10539
|
idp_relay_state_parameter_name="idpRelayStateParameterName",
|
|
10357
10540
|
tags=[CfnTag(
|
|
10358
10541
|
key="key",
|
|
10359
10542
|
value="value"
|
|
10360
10543
|
)],
|
|
10544
|
+
trusted_identity_propagation_enabled=False,
|
|
10361
10545
|
user_role="userRole"
|
|
10362
10546
|
)
|
|
10363
10547
|
'''
|
|
@@ -10372,9 +10556,13 @@ class CfnStudioProps:
|
|
|
10372
10556
|
check_type(argname="argument vpc_id", value=vpc_id, expected_type=type_hints["vpc_id"])
|
|
10373
10557
|
check_type(argname="argument workspace_security_group_id", value=workspace_security_group_id, expected_type=type_hints["workspace_security_group_id"])
|
|
10374
10558
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
10559
|
+
check_type(argname="argument encryption_key_arn", value=encryption_key_arn, expected_type=type_hints["encryption_key_arn"])
|
|
10560
|
+
check_type(argname="argument idc_instance_arn", value=idc_instance_arn, expected_type=type_hints["idc_instance_arn"])
|
|
10561
|
+
check_type(argname="argument idc_user_assignment", value=idc_user_assignment, expected_type=type_hints["idc_user_assignment"])
|
|
10375
10562
|
check_type(argname="argument idp_auth_url", value=idp_auth_url, expected_type=type_hints["idp_auth_url"])
|
|
10376
10563
|
check_type(argname="argument idp_relay_state_parameter_name", value=idp_relay_state_parameter_name, expected_type=type_hints["idp_relay_state_parameter_name"])
|
|
10377
10564
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
10565
|
+
check_type(argname="argument trusted_identity_propagation_enabled", value=trusted_identity_propagation_enabled, expected_type=type_hints["trusted_identity_propagation_enabled"])
|
|
10378
10566
|
check_type(argname="argument user_role", value=user_role, expected_type=type_hints["user_role"])
|
|
10379
10567
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
10380
10568
|
"auth_mode": auth_mode,
|
|
@@ -10388,12 +10576,20 @@ class CfnStudioProps:
|
|
|
10388
10576
|
}
|
|
10389
10577
|
if description is not None:
|
|
10390
10578
|
self._values["description"] = description
|
|
10579
|
+
if encryption_key_arn is not None:
|
|
10580
|
+
self._values["encryption_key_arn"] = encryption_key_arn
|
|
10581
|
+
if idc_instance_arn is not None:
|
|
10582
|
+
self._values["idc_instance_arn"] = idc_instance_arn
|
|
10583
|
+
if idc_user_assignment is not None:
|
|
10584
|
+
self._values["idc_user_assignment"] = idc_user_assignment
|
|
10391
10585
|
if idp_auth_url is not None:
|
|
10392
10586
|
self._values["idp_auth_url"] = idp_auth_url
|
|
10393
10587
|
if idp_relay_state_parameter_name is not None:
|
|
10394
10588
|
self._values["idp_relay_state_parameter_name"] = idp_relay_state_parameter_name
|
|
10395
10589
|
if tags is not None:
|
|
10396
10590
|
self._values["tags"] = tags
|
|
10591
|
+
if trusted_identity_propagation_enabled is not None:
|
|
10592
|
+
self._values["trusted_identity_propagation_enabled"] = trusted_identity_propagation_enabled
|
|
10397
10593
|
if user_role is not None:
|
|
10398
10594
|
self._values["user_role"] = user_role
|
|
10399
10595
|
|
|
@@ -10494,6 +10690,34 @@ class CfnStudioProps:
|
|
|
10494
10690
|
result = self._values.get("description")
|
|
10495
10691
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
10496
10692
|
|
|
10693
|
+
@builtins.property
|
|
10694
|
+
def encryption_key_arn(self) -> typing.Optional[builtins.str]:
|
|
10695
|
+
'''
|
|
10696
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-encryptionkeyarn
|
|
10697
|
+
'''
|
|
10698
|
+
result = self._values.get("encryption_key_arn")
|
|
10699
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10700
|
+
|
|
10701
|
+
@builtins.property
|
|
10702
|
+
def idc_instance_arn(self) -> typing.Optional[builtins.str]:
|
|
10703
|
+
'''The ARN of the IAM Identity Center instance to create the Studio application.
|
|
10704
|
+
|
|
10705
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-idcinstancearn
|
|
10706
|
+
'''
|
|
10707
|
+
result = self._values.get("idc_instance_arn")
|
|
10708
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10709
|
+
|
|
10710
|
+
@builtins.property
|
|
10711
|
+
def idc_user_assignment(self) -> typing.Optional[builtins.str]:
|
|
10712
|
+
'''Specifies whether IAM Identity Center user assignment is REQUIRED or OPTIONAL.
|
|
10713
|
+
|
|
10714
|
+
If the value is set to REQUIRED, users must be explicitly assigned to the Studio application to access the Studio.
|
|
10715
|
+
|
|
10716
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-idcuserassignment
|
|
10717
|
+
'''
|
|
10718
|
+
result = self._values.get("idc_user_assignment")
|
|
10719
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10720
|
+
|
|
10497
10721
|
@builtins.property
|
|
10498
10722
|
def idp_auth_url(self) -> typing.Optional[builtins.str]:
|
|
10499
10723
|
'''Your identity provider's authentication endpoint.
|
|
@@ -10525,6 +10749,19 @@ class CfnStudioProps:
|
|
|
10525
10749
|
result = self._values.get("tags")
|
|
10526
10750
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
10527
10751
|
|
|
10752
|
+
@builtins.property
|
|
10753
|
+
def trusted_identity_propagation_enabled(
|
|
10754
|
+
self,
|
|
10755
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
10756
|
+
'''A Boolean indicating whether to enable Trusted identity propagation for the Studio.
|
|
10757
|
+
|
|
10758
|
+
The default value is false.
|
|
10759
|
+
|
|
10760
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-trustedidentitypropagationenabled
|
|
10761
|
+
'''
|
|
10762
|
+
result = self._values.get("trusted_identity_propagation_enabled")
|
|
10763
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
10764
|
+
|
|
10528
10765
|
@builtins.property
|
|
10529
10766
|
def user_role(self) -> typing.Optional[builtins.str]:
|
|
10530
10767
|
'''The Amazon Resource Name (ARN) of the IAM user role that will be assumed by users and groups logged in to a Studio.
|
|
@@ -12032,9 +12269,13 @@ def _typecheckingstub__9e5fa63dd56ed829e4898f84009809f50f4125ac18a4dd04d19284202
|
|
|
12032
12269
|
vpc_id: builtins.str,
|
|
12033
12270
|
workspace_security_group_id: builtins.str,
|
|
12034
12271
|
description: typing.Optional[builtins.str] = None,
|
|
12272
|
+
encryption_key_arn: typing.Optional[builtins.str] = None,
|
|
12273
|
+
idc_instance_arn: typing.Optional[builtins.str] = None,
|
|
12274
|
+
idc_user_assignment: typing.Optional[builtins.str] = None,
|
|
12035
12275
|
idp_auth_url: typing.Optional[builtins.str] = None,
|
|
12036
12276
|
idp_relay_state_parameter_name: typing.Optional[builtins.str] = None,
|
|
12037
12277
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12278
|
+
trusted_identity_propagation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
12038
12279
|
user_role: typing.Optional[builtins.str] = None,
|
|
12039
12280
|
) -> None:
|
|
12040
12281
|
"""Type checking stubs"""
|
|
@@ -12106,6 +12347,24 @@ def _typecheckingstub__b57cfedf6d1b9357fb99a22fb68853be1bf68349d342ae1b382a911a5
|
|
|
12106
12347
|
"""Type checking stubs"""
|
|
12107
12348
|
pass
|
|
12108
12349
|
|
|
12350
|
+
def _typecheckingstub__a934c05c196d0eda57d2ba0bd9c2811612942f47baa70b9def4583964bf21ef7(
|
|
12351
|
+
value: typing.Optional[builtins.str],
|
|
12352
|
+
) -> None:
|
|
12353
|
+
"""Type checking stubs"""
|
|
12354
|
+
pass
|
|
12355
|
+
|
|
12356
|
+
def _typecheckingstub__ac14b0d933a01aa925ef079cc75e4ff2fb649c283f4c3356a21f14dae6f52d24(
|
|
12357
|
+
value: typing.Optional[builtins.str],
|
|
12358
|
+
) -> None:
|
|
12359
|
+
"""Type checking stubs"""
|
|
12360
|
+
pass
|
|
12361
|
+
|
|
12362
|
+
def _typecheckingstub__a96ab30aad484feea76068949481bec25db0a532494456bfbb1db494aebf3926(
|
|
12363
|
+
value: typing.Optional[builtins.str],
|
|
12364
|
+
) -> None:
|
|
12365
|
+
"""Type checking stubs"""
|
|
12366
|
+
pass
|
|
12367
|
+
|
|
12109
12368
|
def _typecheckingstub__5bdf046decc7d9dcf4942916a9fd82f3ddf403adfc79905c187b32915e71a92e(
|
|
12110
12369
|
value: typing.Optional[builtins.str],
|
|
12111
12370
|
) -> None:
|
|
@@ -12124,6 +12383,12 @@ def _typecheckingstub__93c87ee05567302bb00141c45d4f778440c0196380fbcf0ea86580e0f
|
|
|
12124
12383
|
"""Type checking stubs"""
|
|
12125
12384
|
pass
|
|
12126
12385
|
|
|
12386
|
+
def _typecheckingstub__d97a907912a2a6d42177e06668874b62f8bb494e07b5e9659287db646faa1236(
|
|
12387
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
12388
|
+
) -> None:
|
|
12389
|
+
"""Type checking stubs"""
|
|
12390
|
+
pass
|
|
12391
|
+
|
|
12127
12392
|
def _typecheckingstub__4497b6d90d344f7cce9a12d862f813109f2ee695a175caef4ea9fba74f1175a8(
|
|
12128
12393
|
value: typing.Optional[builtins.str],
|
|
12129
12394
|
) -> None:
|
|
@@ -12141,9 +12406,13 @@ def _typecheckingstub__e54f46221565a48807a50ddbb87f328aa43352455931a5089f5484c22
|
|
|
12141
12406
|
vpc_id: builtins.str,
|
|
12142
12407
|
workspace_security_group_id: builtins.str,
|
|
12143
12408
|
description: typing.Optional[builtins.str] = None,
|
|
12409
|
+
encryption_key_arn: typing.Optional[builtins.str] = None,
|
|
12410
|
+
idc_instance_arn: typing.Optional[builtins.str] = None,
|
|
12411
|
+
idc_user_assignment: typing.Optional[builtins.str] = None,
|
|
12144
12412
|
idp_auth_url: typing.Optional[builtins.str] = None,
|
|
12145
12413
|
idp_relay_state_parameter_name: typing.Optional[builtins.str] = None,
|
|
12146
12414
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12415
|
+
trusted_identity_propagation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
12147
12416
|
user_role: typing.Optional[builtins.str] = None,
|
|
12148
12417
|
) -> None:
|
|
12149
12418
|
"""Type checking stubs"""
|
|
@@ -173,7 +173,7 @@ class CfnDiscoverer(
|
|
|
173
173
|
@builtins.property
|
|
174
174
|
@jsii.member(jsii_name="attrState")
|
|
175
175
|
def attr_state(self) -> builtins.str:
|
|
176
|
-
'''
|
|
176
|
+
'''The state of the discoverer.
|
|
177
177
|
|
|
178
178
|
:cloudformationAttribute: State
|
|
179
179
|
'''
|