spensireli.advanced-cdk-constructs 0.0.3__py3-none-any.whl → 0.0.5__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.
@@ -324,9 +324,184 @@ class GuardDutyConstructProps:
324
324
  )
325
325
 
326
326
 
327
+ class ResourceControlPolicy(
328
+ _constructs_77d1e7e8.Construct,
329
+ metaclass=jsii.JSIIMeta,
330
+ jsii_type="advanced-cdk-constructs.ResourceControlPolicy",
331
+ ):
332
+ '''
333
+ :stability: experimental
334
+ '''
335
+
336
+ def __init__(
337
+ self,
338
+ scope: _constructs_77d1e7e8.Construct,
339
+ id: builtins.str,
340
+ *,
341
+ enforce_confused_deputy_protection: builtins.bool,
342
+ enforce_secure_transport: builtins.bool,
343
+ source_org_id: builtins.str,
344
+ target_ids: typing.Sequence[builtins.str],
345
+ name: typing.Optional[builtins.str] = None,
346
+ source_account: typing.Optional[typing.Sequence[builtins.str]] = None,
347
+ ) -> None:
348
+ '''
349
+ :param scope: -
350
+ :param id: -
351
+ :param enforce_confused_deputy_protection:
352
+ :param enforce_secure_transport:
353
+ :param source_org_id:
354
+ :param target_ids:
355
+ :param name:
356
+ :param source_account:
357
+
358
+ :stability: experimental
359
+ '''
360
+ if __debug__:
361
+ type_hints = typing.get_type_hints(_typecheckingstub__902a49417987a8310171bb7ed475e50f9d10759e5373d419f1b30934c6b7a8fb)
362
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
363
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
364
+ props = ResourceControlPolicyProps(
365
+ enforce_confused_deputy_protection=enforce_confused_deputy_protection,
366
+ enforce_secure_transport=enforce_secure_transport,
367
+ source_org_id=source_org_id,
368
+ target_ids=target_ids,
369
+ name=name,
370
+ source_account=source_account,
371
+ )
372
+
373
+ jsii.create(self.__class__, self, [scope, id, props])
374
+
375
+ @builtins.property
376
+ @jsii.member(jsii_name="resourceControlPolicyArn")
377
+ def resource_control_policy_arn(self) -> builtins.str:
378
+ '''
379
+ :stability: experimental
380
+ '''
381
+ return typing.cast(builtins.str, jsii.get(self, "resourceControlPolicyArn"))
382
+
383
+
384
+ @jsii.data_type(
385
+ jsii_type="advanced-cdk-constructs.ResourceControlPolicyProps",
386
+ jsii_struct_bases=[],
387
+ name_mapping={
388
+ "enforce_confused_deputy_protection": "enforceConfusedDeputyProtection",
389
+ "enforce_secure_transport": "enforceSecureTransport",
390
+ "source_org_id": "sourceOrgID",
391
+ "target_ids": "targetIds",
392
+ "name": "name",
393
+ "source_account": "sourceAccount",
394
+ },
395
+ )
396
+ class ResourceControlPolicyProps:
397
+ def __init__(
398
+ self,
399
+ *,
400
+ enforce_confused_deputy_protection: builtins.bool,
401
+ enforce_secure_transport: builtins.bool,
402
+ source_org_id: builtins.str,
403
+ target_ids: typing.Sequence[builtins.str],
404
+ name: typing.Optional[builtins.str] = None,
405
+ source_account: typing.Optional[typing.Sequence[builtins.str]] = None,
406
+ ) -> None:
407
+ '''
408
+ :param enforce_confused_deputy_protection:
409
+ :param enforce_secure_transport:
410
+ :param source_org_id:
411
+ :param target_ids:
412
+ :param name:
413
+ :param source_account:
414
+
415
+ :stability: experimental
416
+ '''
417
+ if __debug__:
418
+ type_hints = typing.get_type_hints(_typecheckingstub__8e6388ccce3ae650a4950a69f4d298e21c8e27b29fbedfc2938fb9b173d46a91)
419
+ check_type(argname="argument enforce_confused_deputy_protection", value=enforce_confused_deputy_protection, expected_type=type_hints["enforce_confused_deputy_protection"])
420
+ check_type(argname="argument enforce_secure_transport", value=enforce_secure_transport, expected_type=type_hints["enforce_secure_transport"])
421
+ check_type(argname="argument source_org_id", value=source_org_id, expected_type=type_hints["source_org_id"])
422
+ check_type(argname="argument target_ids", value=target_ids, expected_type=type_hints["target_ids"])
423
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
424
+ check_type(argname="argument source_account", value=source_account, expected_type=type_hints["source_account"])
425
+ self._values: typing.Dict[builtins.str, typing.Any] = {
426
+ "enforce_confused_deputy_protection": enforce_confused_deputy_protection,
427
+ "enforce_secure_transport": enforce_secure_transport,
428
+ "source_org_id": source_org_id,
429
+ "target_ids": target_ids,
430
+ }
431
+ if name is not None:
432
+ self._values["name"] = name
433
+ if source_account is not None:
434
+ self._values["source_account"] = source_account
435
+
436
+ @builtins.property
437
+ def enforce_confused_deputy_protection(self) -> builtins.bool:
438
+ '''
439
+ :stability: experimental
440
+ '''
441
+ result = self._values.get("enforce_confused_deputy_protection")
442
+ assert result is not None, "Required property 'enforce_confused_deputy_protection' is missing"
443
+ return typing.cast(builtins.bool, result)
444
+
445
+ @builtins.property
446
+ def enforce_secure_transport(self) -> builtins.bool:
447
+ '''
448
+ :stability: experimental
449
+ '''
450
+ result = self._values.get("enforce_secure_transport")
451
+ assert result is not None, "Required property 'enforce_secure_transport' is missing"
452
+ return typing.cast(builtins.bool, result)
453
+
454
+ @builtins.property
455
+ def source_org_id(self) -> builtins.str:
456
+ '''
457
+ :stability: experimental
458
+ '''
459
+ result = self._values.get("source_org_id")
460
+ assert result is not None, "Required property 'source_org_id' is missing"
461
+ return typing.cast(builtins.str, result)
462
+
463
+ @builtins.property
464
+ def target_ids(self) -> typing.List[builtins.str]:
465
+ '''
466
+ :stability: experimental
467
+ '''
468
+ result = self._values.get("target_ids")
469
+ assert result is not None, "Required property 'target_ids' is missing"
470
+ return typing.cast(typing.List[builtins.str], result)
471
+
472
+ @builtins.property
473
+ def name(self) -> typing.Optional[builtins.str]:
474
+ '''
475
+ :stability: experimental
476
+ '''
477
+ result = self._values.get("name")
478
+ return typing.cast(typing.Optional[builtins.str], result)
479
+
480
+ @builtins.property
481
+ def source_account(self) -> typing.Optional[typing.List[builtins.str]]:
482
+ '''
483
+ :stability: experimental
484
+ '''
485
+ result = self._values.get("source_account")
486
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
487
+
488
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
489
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
490
+
491
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
492
+ return not (rhs == self)
493
+
494
+ def __repr__(self) -> str:
495
+ return "ResourceControlPolicyProps(%s)" % ", ".join(
496
+ k + "=" + repr(v) for k, v in self._values.items()
497
+ )
498
+
499
+
327
500
  __all__ = [
328
501
  "GuardDutyConstruct",
329
502
  "GuardDutyConstructProps",
503
+ "ResourceControlPolicy",
504
+ "ResourceControlPolicyProps",
330
505
  ]
331
506
 
332
507
  publication.publish()
@@ -358,3 +533,29 @@ def _typecheckingstub__baf89c1357f24b0c602b710cda32441bac689e805673c53a2cd9ceb64
358
533
  ) -> None:
359
534
  """Type checking stubs"""
360
535
  pass
536
+
537
+ def _typecheckingstub__902a49417987a8310171bb7ed475e50f9d10759e5373d419f1b30934c6b7a8fb(
538
+ scope: _constructs_77d1e7e8.Construct,
539
+ id: builtins.str,
540
+ *,
541
+ enforce_confused_deputy_protection: builtins.bool,
542
+ enforce_secure_transport: builtins.bool,
543
+ source_org_id: builtins.str,
544
+ target_ids: typing.Sequence[builtins.str],
545
+ name: typing.Optional[builtins.str] = None,
546
+ source_account: typing.Optional[typing.Sequence[builtins.str]] = None,
547
+ ) -> None:
548
+ """Type checking stubs"""
549
+ pass
550
+
551
+ def _typecheckingstub__8e6388ccce3ae650a4950a69f4d298e21c8e27b29fbedfc2938fb9b173d46a91(
552
+ *,
553
+ enforce_confused_deputy_protection: builtins.bool,
554
+ enforce_secure_transport: builtins.bool,
555
+ source_org_id: builtins.str,
556
+ target_ids: typing.Sequence[builtins.str],
557
+ name: typing.Optional[builtins.str] = None,
558
+ source_account: typing.Optional[typing.Sequence[builtins.str]] = None,
559
+ ) -> None:
560
+ """Type checking stubs"""
561
+ pass
@@ -33,9 +33,9 @@ import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
35
  "advanced-cdk-constructs",
36
- "0.0.3",
36
+ "0.0.5",
37
37
  __name__[0:-6],
38
- "advanced-cdk-constructs@0.0.3.jsii.tgz",
38
+ "advanced-cdk-constructs@0.0.5.jsii.tgz",
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spensireli.advanced-cdk-constructs
3
- Version: 0.0.3
3
+ Version: 0.0.5
4
4
  Summary: advanced-cdk-constructs
5
5
  Home-page: https://github.com/spensireli/advanced-cdk-constructs.git
6
6
  Author: spensireli<5614310+spensireli@users.noreply.github.com>
@@ -0,0 +1,9 @@
1
+ spensireli/advanced_cdk_constructs/__init__.py,sha256=dn2gyj0juxmfs9f0VmlcpDGD0F1CPYm3HsTVDhFpwGI,19303
2
+ spensireli/advanced_cdk_constructs/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ spensireli/advanced_cdk_constructs/_jsii/__init__.py,sha256=ymUTfRnGv5RppQHjVdoYr48BkI5eIHW2ONWfZPvRnAY,1470
4
+ spensireli/advanced_cdk_constructs/_jsii/advanced-cdk-constructs@0.0.5.jsii.tgz,sha256=tFDl1haCwcTadbClD3cEm4wDlfeTKK4fmJz8NRwmEzU,23595
5
+ spensireli_advanced_cdk_constructs-0.0.5.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
+ spensireli_advanced_cdk_constructs-0.0.5.dist-info/METADATA,sha256=RNanO7NH7hPC9NM23nP4ioKCU8YxUotVEDWIksHZl8o,4572
7
+ spensireli_advanced_cdk_constructs-0.0.5.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
8
+ spensireli_advanced_cdk_constructs-0.0.5.dist-info/top_level.txt,sha256=mWuEX_B_UR02uvzKiU7g0GkeXy_eTc7OictzI1S-v0M,11
9
+ spensireli_advanced_cdk_constructs-0.0.5.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- spensireli/advanced_cdk_constructs/__init__.py,sha256=QhmDe-AFqU8kOPlKIUYVBTGD2mgeyTdQlusVl61u7ek,11475
2
- spensireli/advanced_cdk_constructs/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- spensireli/advanced_cdk_constructs/_jsii/__init__.py,sha256=IwrM76xVXH2EbiV8xUFLpzVC0YfwDdOuuH3xK1GpKbM,1470
4
- spensireli/advanced_cdk_constructs/_jsii/advanced-cdk-constructs@0.0.3.jsii.tgz,sha256=LW9_MhluV91A_fgo18o5CactebVKyEarOa4QqfLvEu8,22758
5
- spensireli_advanced_cdk_constructs-0.0.3.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
- spensireli_advanced_cdk_constructs-0.0.3.dist-info/METADATA,sha256=-9YEWnZ_JaYS8yqDfRtGE4K6V0w63vGfTdWjhaRbldY,4572
7
- spensireli_advanced_cdk_constructs-0.0.3.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
8
- spensireli_advanced_cdk_constructs-0.0.3.dist-info/top_level.txt,sha256=mWuEX_B_UR02uvzKiU7g0GkeXy_eTc7OictzI1S-v0M,11
9
- spensireli_advanced_cdk_constructs-0.0.3.dist-info/RECORD,,