aws-cdk-lib 2.217.0__py3-none-any.whl → 2.219.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 +19 -19
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.217.0.jsii.tgz → aws-cdk-lib@2.219.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +185 -87
- aws_cdk/aws_apigateway/__init__.py +242 -0
- aws_cdk/aws_apigatewayv2/__init__.py +58 -0
- aws_cdk/aws_appconfig/__init__.py +145 -0
- aws_cdk/aws_appflow/__init__.py +116 -0
- aws_cdk/aws_appintegrations/__init__.py +116 -0
- aws_cdk/aws_appstream/__init__.py +87 -0
- aws_cdk/aws_appsync/__init__.py +58 -0
- aws_cdk/aws_apptest/__init__.py +58 -0
- aws_cdk/aws_athena/__init__.py +58 -0
- aws_cdk/aws_auditmanager/__init__.py +58 -0
- aws_cdk/aws_backup/__init__.py +145 -0
- aws_cdk/aws_batch/__init__.py +58 -0
- aws_cdk/aws_bcmdataexports/__init__.py +9 -0
- aws_cdk/aws_bedrock/__init__.py +501 -1
- aws_cdk/aws_bedrockagentcore/__init__.py +297 -157
- aws_cdk/aws_cassandra/__init__.py +29 -0
- aws_cdk/aws_certificatemanager/__init__.py +29 -0
- aws_cdk/aws_cloudfront/__init__.py +57 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +87 -7
- aws_cdk/aws_cloudtrail/__init__.py +58 -0
- aws_cdk/aws_cloudwatch/__init__.py +145 -0
- aws_cdk/aws_codebuild/__init__.py +454 -74
- aws_cdk/aws_codedeploy/__init__.py +29 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +58 -0
- aws_cdk/aws_codepipeline/__init__.py +29 -0
- aws_cdk/aws_cognito/__init__.py +87 -0
- aws_cdk/aws_config/__init__.py +58 -0
- aws_cdk/aws_connect/__init__.py +9 -9
- aws_cdk/aws_cur/__init__.py +34 -3
- aws_cdk/aws_customerprofiles/__init__.py +58 -0
- aws_cdk/aws_datapipeline/__init__.py +29 -0
- aws_cdk/aws_datasync/__init__.py +44 -22
- aws_cdk/aws_datazone/__init__.py +93 -33
- aws_cdk/aws_dms/__init__.py +61 -5
- aws_cdk/aws_docdb/__init__.py +153 -25
- aws_cdk/aws_dsql/__init__.py +29 -0
- aws_cdk/aws_dynamodb/__init__.py +58 -0
- aws_cdk/aws_ec2/__init__.py +4598 -22
- aws_cdk/aws_ecr/__init__.py +116 -0
- aws_cdk/aws_ecs/__init__.py +2768 -79
- aws_cdk/aws_efs/__init__.py +116 -0
- aws_cdk/aws_eks/__init__.py +118 -0
- aws_cdk/aws_elasticache/__init__.py +261 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +29 -0
- aws_cdk/aws_emr/__init__.py +87 -0
- aws_cdk/aws_emrcontainers/__init__.py +58 -0
- aws_cdk/aws_emrserverless/__init__.py +58 -0
- aws_cdk/aws_entityresolution/__init__.py +163 -0
- aws_cdk/aws_events/__init__.py +290 -0
- aws_cdk/aws_finspace/__init__.py +58 -0
- aws_cdk/aws_gamelift/__init__.py +435 -0
- aws_cdk/aws_glue/__init__.py +145 -0
- aws_cdk/aws_greengrass/__init__.py +464 -0
- aws_cdk/aws_greengrassv2/__init__.py +29 -0
- aws_cdk/aws_groundstation/__init__.py +87 -0
- aws_cdk/aws_guardduty/__init__.py +87 -0
- aws_cdk/aws_healthimaging/__init__.py +58 -0
- aws_cdk/aws_healthlake/__init__.py +29 -0
- aws_cdk/aws_internetmonitor/__init__.py +58 -0
- aws_cdk/aws_iot/__init__.py +957 -0
- aws_cdk/aws_iotanalytics/__init__.py +116 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +58 -0
- aws_cdk/aws_iotevents/__init__.py +87 -0
- aws_cdk/aws_iotfleethub/__init__.py +58 -0
- aws_cdk/aws_iotfleetwise/__init__.py +116 -0
- aws_cdk/aws_iotsitewise/__init__.py +493 -0
- aws_cdk/aws_iottwinmaker/__init__.py +145 -0
- aws_cdk/aws_iotwireless/__init__.py +464 -0
- aws_cdk/aws_kendra/__init__.py +116 -0
- aws_cdk/aws_kinesis/__init__.py +58 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +31 -0
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +29 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +58 -0
- aws_cdk/aws_kinesisvideo/__init__.py +29 -0
- aws_cdk/aws_kms/__init__.py +58 -0
- aws_cdk/aws_lambda/__init__.py +58 -0
- aws_cdk/aws_lex/__init__.py +29 -0
- aws_cdk/aws_location/__init__.py +348 -0
- aws_cdk/aws_logs/__init__.py +232 -0
- aws_cdk/aws_lookoutequipment/__init__.py +29 -0
- aws_cdk/aws_lookoutvision/__init__.py +58 -0
- aws_cdk/aws_managedblockchain/__init__.py +145 -0
- aws_cdk/aws_medialive/__init__.py +435 -0
- aws_cdk/aws_mediatailor/__init__.py +174 -0
- aws_cdk/aws_memorydb/__init__.py +203 -0
- aws_cdk/aws_msk/__init__.py +4 -2
- aws_cdk/aws_mwaa/__init__.py +58 -0
- aws_cdk/aws_networkfirewall/__init__.py +6 -2
- aws_cdk/aws_networkmanager/__init__.py +29 -0
- aws_cdk/aws_nimblestudio/__init__.py +29 -0
- aws_cdk/aws_omics/__init__.py +174 -0
- aws_cdk/aws_opensearchserverless/__init__.py +58 -0
- aws_cdk/aws_opensearchservice/__init__.py +58 -0
- aws_cdk/aws_opsworks/__init__.py +29 -0
- aws_cdk/aws_organizations/__init__.py +116 -0
- aws_cdk/aws_panorama/__init__.py +116 -0
- aws_cdk/aws_pinpoint/__init__.py +116 -0
- aws_cdk/aws_qbusiness/__init__.py +232 -0
- aws_cdk/aws_qldb/__init__.py +29 -0
- aws_cdk/aws_quicksight/__init__.py +38 -0
- aws_cdk/aws_rds/__init__.py +97 -14
- aws_cdk/aws_redshift/__init__.py +29 -0
- aws_cdk/aws_rekognition/__init__.py +87 -0
- aws_cdk/aws_resourcegroups/__init__.py +58 -0
- aws_cdk/aws_rolesanywhere/__init__.py +145 -0
- aws_cdk/aws_route53/__init__.py +8 -2
- aws_cdk/aws_route53recoveryreadiness/__init__.py +58 -0
- aws_cdk/aws_route53resolver/__init__.py +29 -0
- aws_cdk/aws_s3/__init__.py +116 -0
- aws_cdk/aws_s3express/__init__.py +116 -0
- aws_cdk/aws_sagemaker/__init__.py +464 -0
- aws_cdk/aws_scheduler/__init__.py +29 -0
- aws_cdk/aws_secretsmanager/__init__.py +29 -0
- aws_cdk/aws_servicecatalog/__init__.py +107 -86
- aws_cdk/aws_servicecatalogappregistry/__init__.py +116 -0
- aws_cdk/aws_servicediscovery/__init__.py +58 -0
- aws_cdk/aws_ses/__init__.py +261 -0
- aws_cdk/aws_simspaceweaver/__init__.py +29 -0
- aws_cdk/aws_smsvoice/__init__.py +319 -0
- aws_cdk/aws_ssm/__init__.py +87 -0
- aws_cdk/aws_synthetics/__init__.py +29 -0
- aws_cdk/aws_timestream/__init__.py +87 -0
- aws_cdk/aws_transfer/__init__.py +261 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +58 -0
- aws_cdk/aws_voiceid/__init__.py +29 -0
- aws_cdk/aws_wisdom/__init__.py +232 -0
- aws_cdk/aws_workspaces/__init__.py +58 -0
- aws_cdk/aws_workspacesinstances/__init__.py +29 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +58 -0
- aws_cdk/pipelines/__init__.py +5 -1
- {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/RECORD +140 -140
- {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_amazonmq/__init__.py
CHANGED
|
@@ -137,7 +137,6 @@ class BrokerReference:
|
|
|
137
137
|
"engine_type": "engineType",
|
|
138
138
|
"host_instance_type": "hostInstanceType",
|
|
139
139
|
"publicly_accessible": "publiclyAccessible",
|
|
140
|
-
"users": "users",
|
|
141
140
|
"authentication_strategy": "authenticationStrategy",
|
|
142
141
|
"auto_minor_version_upgrade": "autoMinorVersionUpgrade",
|
|
143
142
|
"configuration": "configuration",
|
|
@@ -152,6 +151,7 @@ class BrokerReference:
|
|
|
152
151
|
"storage_type": "storageType",
|
|
153
152
|
"subnet_ids": "subnetIds",
|
|
154
153
|
"tags": "tags",
|
|
154
|
+
"users": "users",
|
|
155
155
|
},
|
|
156
156
|
)
|
|
157
157
|
class CfnBrokerProps:
|
|
@@ -163,7 +163,6 @@ class CfnBrokerProps:
|
|
|
163
163
|
engine_type: builtins.str,
|
|
164
164
|
host_instance_type: builtins.str,
|
|
165
165
|
publicly_accessible: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
166
|
-
users: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBroker.UserProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
167
166
|
authentication_strategy: typing.Optional[builtins.str] = None,
|
|
168
167
|
auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
169
168
|
configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBroker.ConfigurationIdProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -178,6 +177,7 @@ class CfnBrokerProps:
|
|
|
178
177
|
storage_type: typing.Optional[builtins.str] = None,
|
|
179
178
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
180
179
|
tags: typing.Optional[typing.Sequence[typing.Union["CfnBroker.TagsEntryProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
180
|
+
users: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBroker.UserProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
181
181
|
) -> None:
|
|
182
182
|
'''Properties for defining a ``CfnBroker``.
|
|
183
183
|
|
|
@@ -186,7 +186,6 @@ class CfnBrokerProps:
|
|
|
186
186
|
:param engine_type: The type of broker engine. Currently, Amazon MQ supports ``ACTIVEMQ`` and ``RABBITMQ`` .
|
|
187
187
|
:param host_instance_type: The broker's instance type.
|
|
188
188
|
:param publicly_accessible: Enables connections from applications outside of the VPC that hosts the broker's subnets.
|
|
189
|
-
:param users: The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent RabbitMQ users are created by via the RabbitMQ web console or by using the RabbitMQ management API.
|
|
190
189
|
:param authentication_strategy: Optional. The authentication strategy used to secure the broker. The default is ``SIMPLE`` .
|
|
191
190
|
:param auto_minor_version_upgrade: Enables automatic upgrades to new minor versions for brokers, as new broker engine versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.
|
|
192
191
|
:param configuration: A list of information about the configuration. Does not apply to RabbitMQ brokers.
|
|
@@ -201,6 +200,7 @@ class CfnBrokerProps:
|
|
|
201
200
|
:param storage_type: The broker's storage type.
|
|
202
201
|
:param subnet_ids: The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ deployment (ACTIVEMQ) requires two subnets. A CLUSTER_MULTI_AZ deployment (RABBITMQ) has no subnet requirements when deployed with public accessibility, deployment without public accessibility requires at least one subnet. .. epigraph:: If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account . Amazon MQ will not be able to create VPC enpoints in VPCs that are not owned by your AWS account .
|
|
203
202
|
:param tags: An array of key-value pairs. For more information, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the *Billing and Cost Management User Guide* .
|
|
203
|
+
:param users: The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent RabbitMQ users are created by via the RabbitMQ web console or by using the RabbitMQ management API.
|
|
204
204
|
|
|
205
205
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html
|
|
206
206
|
:exampleMetadata: fixture=_generated
|
|
@@ -217,15 +217,6 @@ class CfnBrokerProps:
|
|
|
217
217
|
engine_type="engineType",
|
|
218
218
|
host_instance_type="hostInstanceType",
|
|
219
219
|
publicly_accessible=False,
|
|
220
|
-
users=[amazonmq.CfnBroker.UserProperty(
|
|
221
|
-
password="password",
|
|
222
|
-
username="username",
|
|
223
|
-
|
|
224
|
-
# the properties below are optional
|
|
225
|
-
console_access=False,
|
|
226
|
-
groups=["groups"],
|
|
227
|
-
replication_user=False
|
|
228
|
-
)],
|
|
229
220
|
|
|
230
221
|
# the properties below are optional
|
|
231
222
|
authentication_strategy="authenticationStrategy",
|
|
@@ -247,7 +238,6 @@ class CfnBrokerProps:
|
|
|
247
238
|
hosts=["hosts"],
|
|
248
239
|
role_base="roleBase",
|
|
249
240
|
role_search_matching="roleSearchMatching",
|
|
250
|
-
service_account_password="serviceAccountPassword",
|
|
251
241
|
service_account_username="serviceAccountUsername",
|
|
252
242
|
user_base="userBase",
|
|
253
243
|
user_search_matching="userSearchMatching",
|
|
@@ -255,6 +245,7 @@ class CfnBrokerProps:
|
|
|
255
245
|
# the properties below are optional
|
|
256
246
|
role_name="roleName",
|
|
257
247
|
role_search_subtree=False,
|
|
248
|
+
service_account_password="serviceAccountPassword",
|
|
258
249
|
user_role_name="userRoleName",
|
|
259
250
|
user_search_subtree=False
|
|
260
251
|
),
|
|
@@ -273,6 +264,15 @@ class CfnBrokerProps:
|
|
|
273
264
|
tags=[amazonmq.CfnBroker.TagsEntryProperty(
|
|
274
265
|
key="key",
|
|
275
266
|
value="value"
|
|
267
|
+
)],
|
|
268
|
+
users=[amazonmq.CfnBroker.UserProperty(
|
|
269
|
+
password="password",
|
|
270
|
+
username="username",
|
|
271
|
+
|
|
272
|
+
# the properties below are optional
|
|
273
|
+
console_access=False,
|
|
274
|
+
groups=["groups"],
|
|
275
|
+
replication_user=False
|
|
276
276
|
)]
|
|
277
277
|
)
|
|
278
278
|
'''
|
|
@@ -283,7 +283,6 @@ class CfnBrokerProps:
|
|
|
283
283
|
check_type(argname="argument engine_type", value=engine_type, expected_type=type_hints["engine_type"])
|
|
284
284
|
check_type(argname="argument host_instance_type", value=host_instance_type, expected_type=type_hints["host_instance_type"])
|
|
285
285
|
check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
|
|
286
|
-
check_type(argname="argument users", value=users, expected_type=type_hints["users"])
|
|
287
286
|
check_type(argname="argument authentication_strategy", value=authentication_strategy, expected_type=type_hints["authentication_strategy"])
|
|
288
287
|
check_type(argname="argument auto_minor_version_upgrade", value=auto_minor_version_upgrade, expected_type=type_hints["auto_minor_version_upgrade"])
|
|
289
288
|
check_type(argname="argument configuration", value=configuration, expected_type=type_hints["configuration"])
|
|
@@ -298,13 +297,13 @@ class CfnBrokerProps:
|
|
|
298
297
|
check_type(argname="argument storage_type", value=storage_type, expected_type=type_hints["storage_type"])
|
|
299
298
|
check_type(argname="argument subnet_ids", value=subnet_ids, expected_type=type_hints["subnet_ids"])
|
|
300
299
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
300
|
+
check_type(argname="argument users", value=users, expected_type=type_hints["users"])
|
|
301
301
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
302
302
|
"broker_name": broker_name,
|
|
303
303
|
"deployment_mode": deployment_mode,
|
|
304
304
|
"engine_type": engine_type,
|
|
305
305
|
"host_instance_type": host_instance_type,
|
|
306
306
|
"publicly_accessible": publicly_accessible,
|
|
307
|
-
"users": users,
|
|
308
307
|
}
|
|
309
308
|
if authentication_strategy is not None:
|
|
310
309
|
self._values["authentication_strategy"] = authentication_strategy
|
|
@@ -334,6 +333,8 @@ class CfnBrokerProps:
|
|
|
334
333
|
self._values["subnet_ids"] = subnet_ids
|
|
335
334
|
if tags is not None:
|
|
336
335
|
self._values["tags"] = tags
|
|
336
|
+
if users is not None:
|
|
337
|
+
self._values["users"] = users
|
|
337
338
|
|
|
338
339
|
@builtins.property
|
|
339
340
|
def broker_name(self) -> builtins.str:
|
|
@@ -396,20 +397,6 @@ class CfnBrokerProps:
|
|
|
396
397
|
assert result is not None, "Required property 'publicly_accessible' is missing"
|
|
397
398
|
return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
|
|
398
399
|
|
|
399
|
-
@builtins.property
|
|
400
|
-
def users(
|
|
401
|
-
self,
|
|
402
|
-
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]]:
|
|
403
|
-
'''The list of broker users (persons or applications) who can access queues and topics.
|
|
404
|
-
|
|
405
|
-
For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent RabbitMQ users are created by via the RabbitMQ web console or by using the RabbitMQ management API.
|
|
406
|
-
|
|
407
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-users
|
|
408
|
-
'''
|
|
409
|
-
result = self._values.get("users")
|
|
410
|
-
assert result is not None, "Required property 'users' is missing"
|
|
411
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]], result)
|
|
412
|
-
|
|
413
400
|
@builtins.property
|
|
414
401
|
def authentication_strategy(self) -> typing.Optional[builtins.str]:
|
|
415
402
|
'''Optional.
|
|
@@ -569,6 +556,19 @@ class CfnBrokerProps:
|
|
|
569
556
|
result = self._values.get("tags")
|
|
570
557
|
return typing.cast(typing.Optional[typing.List["CfnBroker.TagsEntryProperty"]], result)
|
|
571
558
|
|
|
559
|
+
@builtins.property
|
|
560
|
+
def users(
|
|
561
|
+
self,
|
|
562
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]]]:
|
|
563
|
+
'''The list of broker users (persons or applications) who can access queues and topics.
|
|
564
|
+
|
|
565
|
+
For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent RabbitMQ users are created by via the RabbitMQ web console or by using the RabbitMQ management API.
|
|
566
|
+
|
|
567
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-users
|
|
568
|
+
'''
|
|
569
|
+
result = self._values.get("users")
|
|
570
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]]], result)
|
|
571
|
+
|
|
572
572
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
573
573
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
574
574
|
|
|
@@ -1115,15 +1115,6 @@ class CfnBroker(
|
|
|
1115
1115
|
engine_type="engineType",
|
|
1116
1116
|
host_instance_type="hostInstanceType",
|
|
1117
1117
|
publicly_accessible=False,
|
|
1118
|
-
users=[amazonmq.CfnBroker.UserProperty(
|
|
1119
|
-
password="password",
|
|
1120
|
-
username="username",
|
|
1121
|
-
|
|
1122
|
-
# the properties below are optional
|
|
1123
|
-
console_access=False,
|
|
1124
|
-
groups=["groups"],
|
|
1125
|
-
replication_user=False
|
|
1126
|
-
)],
|
|
1127
1118
|
|
|
1128
1119
|
# the properties below are optional
|
|
1129
1120
|
authentication_strategy="authenticationStrategy",
|
|
@@ -1145,7 +1136,6 @@ class CfnBroker(
|
|
|
1145
1136
|
hosts=["hosts"],
|
|
1146
1137
|
role_base="roleBase",
|
|
1147
1138
|
role_search_matching="roleSearchMatching",
|
|
1148
|
-
service_account_password="serviceAccountPassword",
|
|
1149
1139
|
service_account_username="serviceAccountUsername",
|
|
1150
1140
|
user_base="userBase",
|
|
1151
1141
|
user_search_matching="userSearchMatching",
|
|
@@ -1153,6 +1143,7 @@ class CfnBroker(
|
|
|
1153
1143
|
# the properties below are optional
|
|
1154
1144
|
role_name="roleName",
|
|
1155
1145
|
role_search_subtree=False,
|
|
1146
|
+
service_account_password="serviceAccountPassword",
|
|
1156
1147
|
user_role_name="userRoleName",
|
|
1157
1148
|
user_search_subtree=False
|
|
1158
1149
|
),
|
|
@@ -1171,6 +1162,15 @@ class CfnBroker(
|
|
|
1171
1162
|
tags=[amazonmq.CfnBroker.TagsEntryProperty(
|
|
1172
1163
|
key="key",
|
|
1173
1164
|
value="value"
|
|
1165
|
+
)],
|
|
1166
|
+
users=[amazonmq.CfnBroker.UserProperty(
|
|
1167
|
+
password="password",
|
|
1168
|
+
username="username",
|
|
1169
|
+
|
|
1170
|
+
# the properties below are optional
|
|
1171
|
+
console_access=False,
|
|
1172
|
+
groups=["groups"],
|
|
1173
|
+
replication_user=False
|
|
1174
1174
|
)]
|
|
1175
1175
|
)
|
|
1176
1176
|
'''
|
|
@@ -1185,7 +1185,6 @@ class CfnBroker(
|
|
|
1185
1185
|
engine_type: builtins.str,
|
|
1186
1186
|
host_instance_type: builtins.str,
|
|
1187
1187
|
publicly_accessible: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
1188
|
-
users: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBroker.UserProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
1189
1188
|
authentication_strategy: typing.Optional[builtins.str] = None,
|
|
1190
1189
|
auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1191
1190
|
configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBroker.ConfigurationIdProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1200,6 +1199,7 @@ class CfnBroker(
|
|
|
1200
1199
|
storage_type: typing.Optional[builtins.str] = None,
|
|
1201
1200
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1202
1201
|
tags: typing.Optional[typing.Sequence[typing.Union["CfnBroker.TagsEntryProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1202
|
+
users: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBroker.UserProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1203
1203
|
) -> None:
|
|
1204
1204
|
'''
|
|
1205
1205
|
:param scope: Scope in which this resource is defined.
|
|
@@ -1209,7 +1209,6 @@ class CfnBroker(
|
|
|
1209
1209
|
:param engine_type: The type of broker engine. Currently, Amazon MQ supports ``ACTIVEMQ`` and ``RABBITMQ`` .
|
|
1210
1210
|
:param host_instance_type: The broker's instance type.
|
|
1211
1211
|
:param publicly_accessible: Enables connections from applications outside of the VPC that hosts the broker's subnets.
|
|
1212
|
-
:param users: The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent RabbitMQ users are created by via the RabbitMQ web console or by using the RabbitMQ management API.
|
|
1213
1212
|
:param authentication_strategy: Optional. The authentication strategy used to secure the broker. The default is ``SIMPLE`` .
|
|
1214
1213
|
:param auto_minor_version_upgrade: Enables automatic upgrades to new minor versions for brokers, as new broker engine versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.
|
|
1215
1214
|
:param configuration: A list of information about the configuration. Does not apply to RabbitMQ brokers.
|
|
@@ -1224,6 +1223,7 @@ class CfnBroker(
|
|
|
1224
1223
|
:param storage_type: The broker's storage type.
|
|
1225
1224
|
:param subnet_ids: The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones. If you specify more than one subnet, the subnets must be in different Availability Zones. Amazon MQ will not be able to create VPC endpoints for your broker with multiple subnets in the same Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ deployment (ACTIVEMQ) requires two subnets. A CLUSTER_MULTI_AZ deployment (RABBITMQ) has no subnet requirements when deployed with public accessibility, deployment without public accessibility requires at least one subnet. .. epigraph:: If you specify subnets in a shared VPC for a RabbitMQ broker, the associated VPC to which the specified subnets belong must be owned by your AWS account . Amazon MQ will not be able to create VPC enpoints in VPCs that are not owned by your AWS account .
|
|
1226
1225
|
:param tags: An array of key-value pairs. For more information, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the *Billing and Cost Management User Guide* .
|
|
1226
|
+
:param users: The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent RabbitMQ users are created by via the RabbitMQ web console or by using the RabbitMQ management API.
|
|
1227
1227
|
'''
|
|
1228
1228
|
if __debug__:
|
|
1229
1229
|
type_hints = typing.get_type_hints(_typecheckingstub__d16f84aeefdd69c636acf0c8b4d958b93ded39c1da5d5eecb39ce87535c69cb7)
|
|
@@ -1235,7 +1235,6 @@ class CfnBroker(
|
|
|
1235
1235
|
engine_type=engine_type,
|
|
1236
1236
|
host_instance_type=host_instance_type,
|
|
1237
1237
|
publicly_accessible=publicly_accessible,
|
|
1238
|
-
users=users,
|
|
1239
1238
|
authentication_strategy=authentication_strategy,
|
|
1240
1239
|
auto_minor_version_upgrade=auto_minor_version_upgrade,
|
|
1241
1240
|
configuration=configuration,
|
|
@@ -1250,10 +1249,32 @@ class CfnBroker(
|
|
|
1250
1249
|
storage_type=storage_type,
|
|
1251
1250
|
subnet_ids=subnet_ids,
|
|
1252
1251
|
tags=tags,
|
|
1252
|
+
users=users,
|
|
1253
1253
|
)
|
|
1254
1254
|
|
|
1255
1255
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
1256
1256
|
|
|
1257
|
+
@jsii.member(jsii_name="fromBrokerArn")
|
|
1258
|
+
@builtins.classmethod
|
|
1259
|
+
def from_broker_arn(
|
|
1260
|
+
cls,
|
|
1261
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1262
|
+
id: builtins.str,
|
|
1263
|
+
arn: builtins.str,
|
|
1264
|
+
) -> IBrokerRef:
|
|
1265
|
+
'''Creates a new IBrokerRef from an ARN.
|
|
1266
|
+
|
|
1267
|
+
:param scope: -
|
|
1268
|
+
:param id: -
|
|
1269
|
+
:param arn: -
|
|
1270
|
+
'''
|
|
1271
|
+
if __debug__:
|
|
1272
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9c3ff9950394e78f42c5c2ee5ee24c371811514bc113748eae9a0642eff2005a)
|
|
1273
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1274
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1275
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
1276
|
+
return typing.cast(IBrokerRef, jsii.sinvoke(cls, "fromBrokerArn", [scope, id, arn]))
|
|
1277
|
+
|
|
1257
1278
|
@jsii.member(jsii_name="inspect")
|
|
1258
1279
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1259
1280
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -1336,6 +1357,17 @@ class CfnBroker(
|
|
|
1336
1357
|
'''
|
|
1337
1358
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrConsoleUrLs"))
|
|
1338
1359
|
|
|
1360
|
+
@builtins.property
|
|
1361
|
+
@jsii.member(jsii_name="attrEngineVersionCurrent")
|
|
1362
|
+
def attr_engine_version_current(self) -> builtins.str:
|
|
1363
|
+
'''The version in use.
|
|
1364
|
+
|
|
1365
|
+
This may have more precision than the specified EngineVersion.
|
|
1366
|
+
|
|
1367
|
+
:cloudformationAttribute: EngineVersionCurrent
|
|
1368
|
+
'''
|
|
1369
|
+
return typing.cast(builtins.str, jsii.get(self, "attrEngineVersionCurrent"))
|
|
1370
|
+
|
|
1339
1371
|
@builtins.property
|
|
1340
1372
|
@jsii.member(jsii_name="attrId")
|
|
1341
1373
|
def attr_id(self) -> builtins.str:
|
|
@@ -1490,24 +1522,6 @@ class CfnBroker(
|
|
|
1490
1522
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1491
1523
|
jsii.set(self, "publiclyAccessible", value) # pyright: ignore[reportArgumentType]
|
|
1492
1524
|
|
|
1493
|
-
@builtins.property
|
|
1494
|
-
@jsii.member(jsii_name="users")
|
|
1495
|
-
def users(
|
|
1496
|
-
self,
|
|
1497
|
-
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]]:
|
|
1498
|
-
'''The list of broker users (persons or applications) who can access queues and topics.'''
|
|
1499
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]], jsii.get(self, "users"))
|
|
1500
|
-
|
|
1501
|
-
@users.setter
|
|
1502
|
-
def users(
|
|
1503
|
-
self,
|
|
1504
|
-
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]],
|
|
1505
|
-
) -> None:
|
|
1506
|
-
if __debug__:
|
|
1507
|
-
type_hints = typing.get_type_hints(_typecheckingstub__85b9c0c3c3aa438279362aeaae2a3de844ec906edf5b12b7601c78bc63fbfd6b)
|
|
1508
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1509
|
-
jsii.set(self, "users", value) # pyright: ignore[reportArgumentType]
|
|
1510
|
-
|
|
1511
1525
|
@builtins.property
|
|
1512
1526
|
@jsii.member(jsii_name="authenticationStrategy")
|
|
1513
1527
|
def authentication_strategy(self) -> typing.Optional[builtins.str]:
|
|
@@ -1729,6 +1743,24 @@ class CfnBroker(
|
|
|
1729
1743
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1730
1744
|
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
1731
1745
|
|
|
1746
|
+
@builtins.property
|
|
1747
|
+
@jsii.member(jsii_name="users")
|
|
1748
|
+
def users(
|
|
1749
|
+
self,
|
|
1750
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]]]:
|
|
1751
|
+
'''The list of broker users (persons or applications) who can access queues and topics.'''
|
|
1752
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]]], jsii.get(self, "users"))
|
|
1753
|
+
|
|
1754
|
+
@users.setter
|
|
1755
|
+
def users(
|
|
1756
|
+
self,
|
|
1757
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnBroker.UserProperty"]]]],
|
|
1758
|
+
) -> None:
|
|
1759
|
+
if __debug__:
|
|
1760
|
+
type_hints = typing.get_type_hints(_typecheckingstub__85b9c0c3c3aa438279362aeaae2a3de844ec906edf5b12b7601c78bc63fbfd6b)
|
|
1761
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1762
|
+
jsii.set(self, "users", value) # pyright: ignore[reportArgumentType]
|
|
1763
|
+
|
|
1732
1764
|
@jsii.data_type(
|
|
1733
1765
|
jsii_type="aws-cdk-lib.aws_amazonmq.CfnBroker.ConfigurationIdProperty",
|
|
1734
1766
|
jsii_struct_bases=[],
|
|
@@ -1889,12 +1921,12 @@ class CfnBroker(
|
|
|
1889
1921
|
"hosts": "hosts",
|
|
1890
1922
|
"role_base": "roleBase",
|
|
1891
1923
|
"role_search_matching": "roleSearchMatching",
|
|
1892
|
-
"service_account_password": "serviceAccountPassword",
|
|
1893
1924
|
"service_account_username": "serviceAccountUsername",
|
|
1894
1925
|
"user_base": "userBase",
|
|
1895
1926
|
"user_search_matching": "userSearchMatching",
|
|
1896
1927
|
"role_name": "roleName",
|
|
1897
1928
|
"role_search_subtree": "roleSearchSubtree",
|
|
1929
|
+
"service_account_password": "serviceAccountPassword",
|
|
1898
1930
|
"user_role_name": "userRoleName",
|
|
1899
1931
|
"user_search_subtree": "userSearchSubtree",
|
|
1900
1932
|
},
|
|
@@ -1906,12 +1938,12 @@ class CfnBroker(
|
|
|
1906
1938
|
hosts: typing.Sequence[builtins.str],
|
|
1907
1939
|
role_base: builtins.str,
|
|
1908
1940
|
role_search_matching: builtins.str,
|
|
1909
|
-
service_account_password: builtins.str,
|
|
1910
1941
|
service_account_username: builtins.str,
|
|
1911
1942
|
user_base: builtins.str,
|
|
1912
1943
|
user_search_matching: builtins.str,
|
|
1913
1944
|
role_name: typing.Optional[builtins.str] = None,
|
|
1914
1945
|
role_search_subtree: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1946
|
+
service_account_password: typing.Optional[builtins.str] = None,
|
|
1915
1947
|
user_role_name: typing.Optional[builtins.str] = None,
|
|
1916
1948
|
user_search_subtree: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1917
1949
|
) -> None:
|
|
@@ -1924,12 +1956,12 @@ class CfnBroker(
|
|
|
1924
1956
|
:param hosts: Specifies the location of the LDAP server such as AWS Directory Service for Microsoft Active Directory . Optional failover server.
|
|
1925
1957
|
:param role_base: The distinguished name of the node in the directory information tree (DIT) to search for roles or groups. For example, ``ou=group`` , ``ou=corp`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
1926
1958
|
:param role_search_matching: The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by userSearchMatching is substituted into the ``{0}`` placeholder in the search filter. The client's username is substituted into the ``{1}`` placeholder. For example, if you set this option to ``(member=uid={1})`` for the user janedoe, the search filter becomes ``(member=uid=janedoe)`` after string substitution. It matches all role entries that have a member attribute equal to ``uid=janedoe`` under the subtree selected by the ``RoleBases`` .
|
|
1927
|
-
:param service_account_password: Service account password. A service account is an account in your LDAP server that has access to initiate a connection. For example, ``cn=admin`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
1928
1959
|
:param service_account_username: Service account username. A service account is an account in your LDAP server that has access to initiate a connection. For example, ``cn=admin`` , ``ou=corp`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
1929
1960
|
:param user_base: Select a particular subtree of the directory information tree (DIT) to search for user entries. The subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this option to ``ou=Users`` , ``ou=corp`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` , the search for user entries is restricted to the subtree beneath ``ou=Users`` , ``ou=corp`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
1930
1961
|
:param user_search_matching: The LDAP search filter used to find users within the ``userBase`` . The client's username is substituted into the ``{0}`` placeholder in the search filter. For example, if this option is set to ``(uid={0})`` and the received username is ``janedoe`` , the search filter becomes ``(uid=janedoe)`` after string substitution. It will result in matching an entry like ``uid=janedoe`` , ``ou=Users`` , ``ou=corp`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
1931
1962
|
:param role_name: The group name attribute in a role entry whose value is the name of that role. For example, you can specify ``cn`` for a group entry's common name. If authentication succeeds, then the user is assigned the the value of the ``cn`` attribute for each role entry that they are a member of.
|
|
1932
1963
|
:param role_search_subtree: The directory search scope for the role. If set to true, scope is to search the entire subtree.
|
|
1964
|
+
:param service_account_password: Service account password. A service account is an account in your LDAP server that has access to initiate a connection. For example, ``cn=admin`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
1933
1965
|
:param user_role_name: The name of the LDAP attribute in the user's directory entry for the user's group membership. In some cases, user roles may be identified by the value of an attribute in the user's directory entry. The ``UserRoleName`` option allows you to provide the name of this attribute.
|
|
1934
1966
|
:param user_search_subtree: The directory search scope for the user. If set to true, scope is to search the entire subtree.
|
|
1935
1967
|
|
|
@@ -1946,7 +1978,6 @@ class CfnBroker(
|
|
|
1946
1978
|
hosts=["hosts"],
|
|
1947
1979
|
role_base="roleBase",
|
|
1948
1980
|
role_search_matching="roleSearchMatching",
|
|
1949
|
-
service_account_password="serviceAccountPassword",
|
|
1950
1981
|
service_account_username="serviceAccountUsername",
|
|
1951
1982
|
user_base="userBase",
|
|
1952
1983
|
user_search_matching="userSearchMatching",
|
|
@@ -1954,6 +1985,7 @@ class CfnBroker(
|
|
|
1954
1985
|
# the properties below are optional
|
|
1955
1986
|
role_name="roleName",
|
|
1956
1987
|
role_search_subtree=False,
|
|
1988
|
+
service_account_password="serviceAccountPassword",
|
|
1957
1989
|
user_role_name="userRoleName",
|
|
1958
1990
|
user_search_subtree=False
|
|
1959
1991
|
)
|
|
@@ -1963,19 +1995,18 @@ class CfnBroker(
|
|
|
1963
1995
|
check_type(argname="argument hosts", value=hosts, expected_type=type_hints["hosts"])
|
|
1964
1996
|
check_type(argname="argument role_base", value=role_base, expected_type=type_hints["role_base"])
|
|
1965
1997
|
check_type(argname="argument role_search_matching", value=role_search_matching, expected_type=type_hints["role_search_matching"])
|
|
1966
|
-
check_type(argname="argument service_account_password", value=service_account_password, expected_type=type_hints["service_account_password"])
|
|
1967
1998
|
check_type(argname="argument service_account_username", value=service_account_username, expected_type=type_hints["service_account_username"])
|
|
1968
1999
|
check_type(argname="argument user_base", value=user_base, expected_type=type_hints["user_base"])
|
|
1969
2000
|
check_type(argname="argument user_search_matching", value=user_search_matching, expected_type=type_hints["user_search_matching"])
|
|
1970
2001
|
check_type(argname="argument role_name", value=role_name, expected_type=type_hints["role_name"])
|
|
1971
2002
|
check_type(argname="argument role_search_subtree", value=role_search_subtree, expected_type=type_hints["role_search_subtree"])
|
|
2003
|
+
check_type(argname="argument service_account_password", value=service_account_password, expected_type=type_hints["service_account_password"])
|
|
1972
2004
|
check_type(argname="argument user_role_name", value=user_role_name, expected_type=type_hints["user_role_name"])
|
|
1973
2005
|
check_type(argname="argument user_search_subtree", value=user_search_subtree, expected_type=type_hints["user_search_subtree"])
|
|
1974
2006
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1975
2007
|
"hosts": hosts,
|
|
1976
2008
|
"role_base": role_base,
|
|
1977
2009
|
"role_search_matching": role_search_matching,
|
|
1978
|
-
"service_account_password": service_account_password,
|
|
1979
2010
|
"service_account_username": service_account_username,
|
|
1980
2011
|
"user_base": user_base,
|
|
1981
2012
|
"user_search_matching": user_search_matching,
|
|
@@ -1984,6 +2015,8 @@ class CfnBroker(
|
|
|
1984
2015
|
self._values["role_name"] = role_name
|
|
1985
2016
|
if role_search_subtree is not None:
|
|
1986
2017
|
self._values["role_search_subtree"] = role_search_subtree
|
|
2018
|
+
if service_account_password is not None:
|
|
2019
|
+
self._values["service_account_password"] = service_account_password
|
|
1987
2020
|
if user_role_name is not None:
|
|
1988
2021
|
self._values["user_role_name"] = user_role_name
|
|
1989
2022
|
if user_search_subtree is not None:
|
|
@@ -2025,18 +2058,6 @@ class CfnBroker(
|
|
|
2025
2058
|
assert result is not None, "Required property 'role_search_matching' is missing"
|
|
2026
2059
|
return typing.cast(builtins.str, result)
|
|
2027
2060
|
|
|
2028
|
-
@builtins.property
|
|
2029
|
-
def service_account_password(self) -> builtins.str:
|
|
2030
|
-
'''Service account password.
|
|
2031
|
-
|
|
2032
|
-
A service account is an account in your LDAP server that has access to initiate a connection. For example, ``cn=admin`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
2033
|
-
|
|
2034
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-serviceaccountpassword
|
|
2035
|
-
'''
|
|
2036
|
-
result = self._values.get("service_account_password")
|
|
2037
|
-
assert result is not None, "Required property 'service_account_password' is missing"
|
|
2038
|
-
return typing.cast(builtins.str, result)
|
|
2039
|
-
|
|
2040
2061
|
@builtins.property
|
|
2041
2062
|
def service_account_username(self) -> builtins.str:
|
|
2042
2063
|
'''Service account username.
|
|
@@ -2097,6 +2118,17 @@ class CfnBroker(
|
|
|
2097
2118
|
result = self._values.get("role_search_subtree")
|
|
2098
2119
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2099
2120
|
|
|
2121
|
+
@builtins.property
|
|
2122
|
+
def service_account_password(self) -> typing.Optional[builtins.str]:
|
|
2123
|
+
'''Service account password.
|
|
2124
|
+
|
|
2125
|
+
A service account is an account in your LDAP server that has access to initiate a connection. For example, ``cn=admin`` , ``dc=corp`` , ``dc=example`` , ``dc=com`` .
|
|
2126
|
+
|
|
2127
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-serviceaccountpassword
|
|
2128
|
+
'''
|
|
2129
|
+
result = self._values.get("service_account_password")
|
|
2130
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2131
|
+
|
|
2100
2132
|
@builtins.property
|
|
2101
2133
|
def user_role_name(self) -> typing.Optional[builtins.str]:
|
|
2102
2134
|
'''The name of the LDAP attribute in the user's directory entry for the user's group membership.
|
|
@@ -2585,6 +2617,48 @@ class CfnConfiguration(
|
|
|
2585
2617
|
|
|
2586
2618
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
2587
2619
|
|
|
2620
|
+
@jsii.member(jsii_name="fromConfigurationArn")
|
|
2621
|
+
@builtins.classmethod
|
|
2622
|
+
def from_configuration_arn(
|
|
2623
|
+
cls,
|
|
2624
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2625
|
+
id: builtins.str,
|
|
2626
|
+
arn: builtins.str,
|
|
2627
|
+
) -> IConfigurationRef:
|
|
2628
|
+
'''Creates a new IConfigurationRef from an ARN.
|
|
2629
|
+
|
|
2630
|
+
:param scope: -
|
|
2631
|
+
:param id: -
|
|
2632
|
+
:param arn: -
|
|
2633
|
+
'''
|
|
2634
|
+
if __debug__:
|
|
2635
|
+
type_hints = typing.get_type_hints(_typecheckingstub__952d6fa5f0120d9649475d290d7db9a47e3510ed333c700851b2aaa6a8ceeea1)
|
|
2636
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2637
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2638
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
2639
|
+
return typing.cast(IConfigurationRef, jsii.sinvoke(cls, "fromConfigurationArn", [scope, id, arn]))
|
|
2640
|
+
|
|
2641
|
+
@jsii.member(jsii_name="fromConfigurationId")
|
|
2642
|
+
@builtins.classmethod
|
|
2643
|
+
def from_configuration_id(
|
|
2644
|
+
cls,
|
|
2645
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2646
|
+
id: builtins.str,
|
|
2647
|
+
configuration_id: builtins.str,
|
|
2648
|
+
) -> IConfigurationRef:
|
|
2649
|
+
'''Creates a new IConfigurationRef from a configurationId.
|
|
2650
|
+
|
|
2651
|
+
:param scope: -
|
|
2652
|
+
:param id: -
|
|
2653
|
+
:param configuration_id: -
|
|
2654
|
+
'''
|
|
2655
|
+
if __debug__:
|
|
2656
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3a206d532f247ca241ebd211136e297c9461a4b800008d2c7db68e5a8ba25948)
|
|
2657
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2658
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2659
|
+
check_type(argname="argument configuration_id", value=configuration_id, expected_type=type_hints["configuration_id"])
|
|
2660
|
+
return typing.cast(IConfigurationRef, jsii.sinvoke(cls, "fromConfigurationId", [scope, id, configuration_id]))
|
|
2661
|
+
|
|
2588
2662
|
@jsii.member(jsii_name="inspect")
|
|
2589
2663
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2590
2664
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -3064,7 +3138,6 @@ def _typecheckingstub__d255f8718bac4d1453cb7e2ae3f8fb5a5ac0ed5b3551f73d52e4123fa
|
|
|
3064
3138
|
engine_type: builtins.str,
|
|
3065
3139
|
host_instance_type: builtins.str,
|
|
3066
3140
|
publicly_accessible: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
3067
|
-
users: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.UserProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
3068
3141
|
authentication_strategy: typing.Optional[builtins.str] = None,
|
|
3069
3142
|
auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3070
3143
|
configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.ConfigurationIdProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3079,6 +3152,7 @@ def _typecheckingstub__d255f8718bac4d1453cb7e2ae3f8fb5a5ac0ed5b3551f73d52e4123fa
|
|
|
3079
3152
|
storage_type: typing.Optional[builtins.str] = None,
|
|
3080
3153
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3081
3154
|
tags: typing.Optional[typing.Sequence[typing.Union[CfnBroker.TagsEntryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3155
|
+
users: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.UserProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3082
3156
|
) -> None:
|
|
3083
3157
|
"""Type checking stubs"""
|
|
3084
3158
|
pass
|
|
@@ -3128,7 +3202,6 @@ def _typecheckingstub__d16f84aeefdd69c636acf0c8b4d958b93ded39c1da5d5eecb39ce8753
|
|
|
3128
3202
|
engine_type: builtins.str,
|
|
3129
3203
|
host_instance_type: builtins.str,
|
|
3130
3204
|
publicly_accessible: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
3131
|
-
users: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.UserProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
3132
3205
|
authentication_strategy: typing.Optional[builtins.str] = None,
|
|
3133
3206
|
auto_minor_version_upgrade: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3134
3207
|
configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.ConfigurationIdProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -3143,6 +3216,15 @@ def _typecheckingstub__d16f84aeefdd69c636acf0c8b4d958b93ded39c1da5d5eecb39ce8753
|
|
|
3143
3216
|
storage_type: typing.Optional[builtins.str] = None,
|
|
3144
3217
|
subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3145
3218
|
tags: typing.Optional[typing.Sequence[typing.Union[CfnBroker.TagsEntryProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3219
|
+
users: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBroker.UserProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3220
|
+
) -> None:
|
|
3221
|
+
"""Type checking stubs"""
|
|
3222
|
+
pass
|
|
3223
|
+
|
|
3224
|
+
def _typecheckingstub__9c3ff9950394e78f42c5c2ee5ee24c371811514bc113748eae9a0642eff2005a(
|
|
3225
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3226
|
+
id: builtins.str,
|
|
3227
|
+
arn: builtins.str,
|
|
3146
3228
|
) -> None:
|
|
3147
3229
|
"""Type checking stubs"""
|
|
3148
3230
|
pass
|
|
@@ -3189,12 +3271,6 @@ def _typecheckingstub__4a82a112ececec828f3c746f7c18e6b6ce32a5aa08550a05a69d7babd
|
|
|
3189
3271
|
"""Type checking stubs"""
|
|
3190
3272
|
pass
|
|
3191
3273
|
|
|
3192
|
-
def _typecheckingstub__85b9c0c3c3aa438279362aeaae2a3de844ec906edf5b12b7601c78bc63fbfd6b(
|
|
3193
|
-
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnBroker.UserProperty]]],
|
|
3194
|
-
) -> None:
|
|
3195
|
-
"""Type checking stubs"""
|
|
3196
|
-
pass
|
|
3197
|
-
|
|
3198
3274
|
def _typecheckingstub__3eab9258c47a74b1aabb4a39e66512dbb010a0f1c8838ec359338808e1f64681(
|
|
3199
3275
|
value: typing.Optional[builtins.str],
|
|
3200
3276
|
) -> None:
|
|
@@ -3279,6 +3355,12 @@ def _typecheckingstub__739d50e75e2a93ab9671710563ad1ed5176802aef44a2986de718c86a
|
|
|
3279
3355
|
"""Type checking stubs"""
|
|
3280
3356
|
pass
|
|
3281
3357
|
|
|
3358
|
+
def _typecheckingstub__85b9c0c3c3aa438279362aeaae2a3de844ec906edf5b12b7601c78bc63fbfd6b(
|
|
3359
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnBroker.UserProperty]]]],
|
|
3360
|
+
) -> None:
|
|
3361
|
+
"""Type checking stubs"""
|
|
3362
|
+
pass
|
|
3363
|
+
|
|
3282
3364
|
def _typecheckingstub__f9d5131bf29ed360bf06fb2fc10b8d6ac62da622a4f41bd0e435a4436ba5511c(
|
|
3283
3365
|
*,
|
|
3284
3366
|
id: builtins.str,
|
|
@@ -3300,12 +3382,12 @@ def _typecheckingstub__282093319da5ca5716ae9202b23fde6f2380a3a720f7bac369f166119
|
|
|
3300
3382
|
hosts: typing.Sequence[builtins.str],
|
|
3301
3383
|
role_base: builtins.str,
|
|
3302
3384
|
role_search_matching: builtins.str,
|
|
3303
|
-
service_account_password: builtins.str,
|
|
3304
3385
|
service_account_username: builtins.str,
|
|
3305
3386
|
user_base: builtins.str,
|
|
3306
3387
|
user_search_matching: builtins.str,
|
|
3307
3388
|
role_name: typing.Optional[builtins.str] = None,
|
|
3308
3389
|
role_search_subtree: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3390
|
+
service_account_password: typing.Optional[builtins.str] = None,
|
|
3309
3391
|
user_role_name: typing.Optional[builtins.str] = None,
|
|
3310
3392
|
user_search_subtree: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3311
3393
|
) -> None:
|
|
@@ -3363,6 +3445,22 @@ def _typecheckingstub__e5d8c71c30a8f2bd8b3e455320ae87cc2204a9546d3ee226605a95753
|
|
|
3363
3445
|
"""Type checking stubs"""
|
|
3364
3446
|
pass
|
|
3365
3447
|
|
|
3448
|
+
def _typecheckingstub__952d6fa5f0120d9649475d290d7db9a47e3510ed333c700851b2aaa6a8ceeea1(
|
|
3449
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3450
|
+
id: builtins.str,
|
|
3451
|
+
arn: builtins.str,
|
|
3452
|
+
) -> None:
|
|
3453
|
+
"""Type checking stubs"""
|
|
3454
|
+
pass
|
|
3455
|
+
|
|
3456
|
+
def _typecheckingstub__3a206d532f247ca241ebd211136e297c9461a4b800008d2c7db68e5a8ba25948(
|
|
3457
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3458
|
+
id: builtins.str,
|
|
3459
|
+
configuration_id: builtins.str,
|
|
3460
|
+
) -> None:
|
|
3461
|
+
"""Type checking stubs"""
|
|
3462
|
+
pass
|
|
3463
|
+
|
|
3366
3464
|
def _typecheckingstub__df4e9311d1aa33bca48575d715d3a7e801184dc0b0d7ccbd91d39c5dd0ca05ce(
|
|
3367
3465
|
inspector: _TreeInspector_488e0dd5,
|
|
3368
3466
|
) -> None:
|