aws-cdk-lib 2.173.4__py3-none-any.whl → 2.174.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 +210 -181
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.173.4.jsii.tgz → aws-cdk-lib@2.174.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +127 -168
- aws_cdk/aws_appconfig/__init__.py +498 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
- aws_cdk/aws_appsync/__init__.py +4 -0
- aws_cdk/aws_autoscaling/__init__.py +96 -0
- aws_cdk/aws_batch/__init__.py +1084 -233
- aws_cdk/aws_bedrock/__init__.py +2119 -181
- aws_cdk/aws_cassandra/__init__.py +476 -4
- aws_cdk/aws_cleanrooms/__init__.py +543 -17
- aws_cdk/aws_cloudformation/__init__.py +172 -169
- aws_cdk/aws_cloudfront/__init__.py +773 -26
- aws_cdk/aws_cloudtrail/__init__.py +8 -2
- aws_cdk/aws_codebuild/__init__.py +83 -0
- aws_cdk/aws_codepipeline/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +232 -200
- aws_cdk/aws_connect/__init__.py +187 -36
- aws_cdk/aws_connectcampaignsv2/__init__.py +106 -12
- aws_cdk/aws_databrew/__init__.py +69 -1
- aws_cdk/aws_datasync/__init__.py +33 -28
- aws_cdk/aws_datazone/__init__.py +141 -41
- aws_cdk/aws_dlm/__init__.py +20 -10
- aws_cdk/aws_dms/__init__.py +722 -30
- aws_cdk/aws_dynamodb/__init__.py +76 -4
- aws_cdk/aws_ec2/__init__.py +1233 -65
- aws_cdk/aws_ecr/__init__.py +31 -0
- aws_cdk/aws_ecr_assets/__init__.py +5 -0
- aws_cdk/aws_ecs/__init__.py +88 -11
- aws_cdk/aws_efs/__init__.py +15 -8
- aws_cdk/aws_eks/__init__.py +114 -45
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_emrserverless/__init__.py +143 -0
- aws_cdk/aws_events/__init__.py +50 -30
- aws_cdk/aws_fis/__init__.py +33 -33
- aws_cdk/aws_fsx/__init__.py +20 -10
- aws_cdk/aws_glue/__init__.py +34 -11
- aws_cdk/aws_greengrass/__init__.py +8 -8
- aws_cdk/aws_guardduty/__init__.py +1 -1
- aws_cdk/aws_imagebuilder/__init__.py +45 -47
- aws_cdk/aws_internetmonitor/__init__.py +3 -3
- aws_cdk/aws_invoicing/__init__.py +55 -30
- aws_cdk/aws_iot/__init__.py +1117 -4
- aws_cdk/aws_iot1click/__init__.py +17 -7
- aws_cdk/aws_kendra/__init__.py +4 -6
- aws_cdk/aws_lambda/__init__.py +15 -1
- aws_cdk/aws_logs/__init__.py +4011 -86
- aws_cdk/aws_m2/__init__.py +41 -0
- aws_cdk/aws_mediaconnect/__init__.py +202 -7
- aws_cdk/aws_memorydb/__init__.py +22 -22
- aws_cdk/aws_networkmanager/__init__.py +758 -0
- aws_cdk/aws_opensearchservice/__init__.py +222 -0
- aws_cdk/aws_organizations/__init__.py +5 -3
- aws_cdk/aws_pcs/__init__.py +3038 -0
- aws_cdk/aws_pipes/__init__.py +10 -10
- aws_cdk/aws_qbusiness/__init__.py +415 -140
- aws_cdk/aws_quicksight/__init__.py +15932 -6448
- aws_cdk/aws_ram/__init__.py +5 -11
- aws_cdk/aws_rbin/__init__.py +28 -16
- aws_cdk/aws_rds/__init__.py +184 -24
- aws_cdk/aws_redshiftserverless/__init__.py +156 -0
- aws_cdk/aws_resiliencehub/__init__.py +2 -1
- aws_cdk/aws_route53_targets/__init__.py +5 -5
- aws_cdk/aws_s3/__init__.py +25 -15
- aws_cdk/aws_s3express/__init__.py +7 -7
- aws_cdk/aws_s3tables/__init__.py +683 -0
- aws_cdk/aws_sagemaker/__init__.py +574 -189
- aws_cdk/aws_secretsmanager/__init__.py +2 -0
- aws_cdk/aws_securityhub/__init__.py +41 -165
- aws_cdk/aws_servicediscovery/__init__.py +10 -3
- aws_cdk/aws_ses/__init__.py +190 -5
- aws_cdk/aws_sns/__init__.py +7 -3
- aws_cdk/aws_synthetics/__init__.py +29 -4
- aws_cdk/aws_transfer/__init__.py +8 -0
- aws_cdk/aws_vpclattice/__init__.py +147 -77
- aws_cdk/aws_wafv2/__init__.py +20 -8
- aws_cdk/aws_wisdom/__init__.py +162 -111
- aws_cdk/aws_workspaces/__init__.py +10 -4
- aws_cdk/cloud_assembly_schema/__init__.py +22 -0
- aws_cdk/custom_resources/__init__.py +31 -0
- aws_cdk/cx_api/__init__.py +19 -0
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.0.dist-info}/LICENSE +1 -1
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.0.dist-info}/NOTICE +1 -1
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.0.dist-info}/RECORD +88 -86
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.0.dist-info}/top_level.txt +0 -0
|
@@ -1591,6 +1591,14 @@ class CfnDomain(
|
|
|
1591
1591
|
instance_count=123,
|
|
1592
1592
|
instance_type="instanceType",
|
|
1593
1593
|
multi_az_with_standby_enabled=False,
|
|
1594
|
+
node_options=[opensearchservice.CfnDomain.NodeOptionProperty(
|
|
1595
|
+
node_config=opensearchservice.CfnDomain.NodeConfigProperty(
|
|
1596
|
+
count=123,
|
|
1597
|
+
enabled=False,
|
|
1598
|
+
type="type"
|
|
1599
|
+
),
|
|
1600
|
+
node_type="nodeType"
|
|
1601
|
+
)],
|
|
1594
1602
|
warm_count=123,
|
|
1595
1603
|
warm_enabled=False,
|
|
1596
1604
|
warm_type="warmType",
|
|
@@ -2499,6 +2507,7 @@ class CfnDomain(
|
|
|
2499
2507
|
"instance_count": "instanceCount",
|
|
2500
2508
|
"instance_type": "instanceType",
|
|
2501
2509
|
"multi_az_with_standby_enabled": "multiAzWithStandbyEnabled",
|
|
2510
|
+
"node_options": "nodeOptions",
|
|
2502
2511
|
"warm_count": "warmCount",
|
|
2503
2512
|
"warm_enabled": "warmEnabled",
|
|
2504
2513
|
"warm_type": "warmType",
|
|
@@ -2517,6 +2526,7 @@ class CfnDomain(
|
|
|
2517
2526
|
instance_count: typing.Optional[jsii.Number] = None,
|
|
2518
2527
|
instance_type: typing.Optional[builtins.str] = None,
|
|
2519
2528
|
multi_az_with_standby_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2529
|
+
node_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.NodeOptionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2520
2530
|
warm_count: typing.Optional[jsii.Number] = None,
|
|
2521
2531
|
warm_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2522
2532
|
warm_type: typing.Optional[builtins.str] = None,
|
|
@@ -2534,6 +2544,7 @@ class CfnDomain(
|
|
|
2534
2544
|
:param instance_count: The number of data nodes (instances) to use in the OpenSearch Service domain.
|
|
2535
2545
|
:param instance_type: The instance type for your data nodes, such as ``m3.medium.search`` . For valid values, see `Supported instance types in Amazon OpenSearch Service <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html>`_ .
|
|
2536
2546
|
:param multi_az_with_standby_enabled: Indicates whether Multi-AZ with Standby deployment option is enabled. For more information, see `Multi-AZ with Standby <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html#managedomains-za-standby>`_ .
|
|
2547
|
+
:param node_options: List of node options for the domain.
|
|
2537
2548
|
:param warm_count: The number of warm nodes in the cluster.
|
|
2538
2549
|
:param warm_enabled: Whether to enable UltraWarm storage for the cluster. See `UltraWarm storage for Amazon OpenSearch Service <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ultrawarm.html>`_ .
|
|
2539
2550
|
:param warm_type: The instance type for the cluster's warm nodes.
|
|
@@ -2559,6 +2570,14 @@ class CfnDomain(
|
|
|
2559
2570
|
instance_count=123,
|
|
2560
2571
|
instance_type="instanceType",
|
|
2561
2572
|
multi_az_with_standby_enabled=False,
|
|
2573
|
+
node_options=[opensearchservice.CfnDomain.NodeOptionProperty(
|
|
2574
|
+
node_config=opensearchservice.CfnDomain.NodeConfigProperty(
|
|
2575
|
+
count=123,
|
|
2576
|
+
enabled=False,
|
|
2577
|
+
type="type"
|
|
2578
|
+
),
|
|
2579
|
+
node_type="nodeType"
|
|
2580
|
+
)],
|
|
2562
2581
|
warm_count=123,
|
|
2563
2582
|
warm_enabled=False,
|
|
2564
2583
|
warm_type="warmType",
|
|
@@ -2577,6 +2596,7 @@ class CfnDomain(
|
|
|
2577
2596
|
check_type(argname="argument instance_count", value=instance_count, expected_type=type_hints["instance_count"])
|
|
2578
2597
|
check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
|
|
2579
2598
|
check_type(argname="argument multi_az_with_standby_enabled", value=multi_az_with_standby_enabled, expected_type=type_hints["multi_az_with_standby_enabled"])
|
|
2599
|
+
check_type(argname="argument node_options", value=node_options, expected_type=type_hints["node_options"])
|
|
2580
2600
|
check_type(argname="argument warm_count", value=warm_count, expected_type=type_hints["warm_count"])
|
|
2581
2601
|
check_type(argname="argument warm_enabled", value=warm_enabled, expected_type=type_hints["warm_enabled"])
|
|
2582
2602
|
check_type(argname="argument warm_type", value=warm_type, expected_type=type_hints["warm_type"])
|
|
@@ -2597,6 +2617,8 @@ class CfnDomain(
|
|
|
2597
2617
|
self._values["instance_type"] = instance_type
|
|
2598
2618
|
if multi_az_with_standby_enabled is not None:
|
|
2599
2619
|
self._values["multi_az_with_standby_enabled"] = multi_az_with_standby_enabled
|
|
2620
|
+
if node_options is not None:
|
|
2621
|
+
self._values["node_options"] = node_options
|
|
2600
2622
|
if warm_count is not None:
|
|
2601
2623
|
self._values["warm_count"] = warm_count
|
|
2602
2624
|
if warm_enabled is not None:
|
|
@@ -2683,6 +2705,17 @@ class CfnDomain(
|
|
|
2683
2705
|
result = self._values.get("multi_az_with_standby_enabled")
|
|
2684
2706
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2685
2707
|
|
|
2708
|
+
@builtins.property
|
|
2709
|
+
def node_options(
|
|
2710
|
+
self,
|
|
2711
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.NodeOptionProperty"]]]]:
|
|
2712
|
+
'''List of node options for the domain.
|
|
2713
|
+
|
|
2714
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html#cfn-opensearchservice-domain-clusterconfig-nodeoptions
|
|
2715
|
+
'''
|
|
2716
|
+
result = self._values.get("node_options")
|
|
2717
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.NodeOptionProperty"]]]], result)
|
|
2718
|
+
|
|
2686
2719
|
@builtins.property
|
|
2687
2720
|
def warm_count(self) -> typing.Optional[jsii.Number]:
|
|
2688
2721
|
'''The number of warm nodes in the cluster.
|
|
@@ -3767,6 +3800,169 @@ class CfnDomain(
|
|
|
3767
3800
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
3768
3801
|
)
|
|
3769
3802
|
|
|
3803
|
+
@jsii.data_type(
|
|
3804
|
+
jsii_type="aws-cdk-lib.aws_opensearchservice.CfnDomain.NodeConfigProperty",
|
|
3805
|
+
jsii_struct_bases=[],
|
|
3806
|
+
name_mapping={"count": "count", "enabled": "enabled", "type": "type"},
|
|
3807
|
+
)
|
|
3808
|
+
class NodeConfigProperty:
|
|
3809
|
+
def __init__(
|
|
3810
|
+
self,
|
|
3811
|
+
*,
|
|
3812
|
+
count: typing.Optional[jsii.Number] = None,
|
|
3813
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3814
|
+
type: typing.Optional[builtins.str] = None,
|
|
3815
|
+
) -> None:
|
|
3816
|
+
'''Container for specifying configuration of any node type.
|
|
3817
|
+
|
|
3818
|
+
:param count: The number of nodes of a particular node type in the cluster.
|
|
3819
|
+
:param enabled: A boolean that indicates whether a particular node type is enabled or not.
|
|
3820
|
+
:param type: The instance type of a particular node type in the cluster.
|
|
3821
|
+
|
|
3822
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-nodeconfig.html
|
|
3823
|
+
:exampleMetadata: fixture=_generated
|
|
3824
|
+
|
|
3825
|
+
Example::
|
|
3826
|
+
|
|
3827
|
+
# The code below shows an example of how to instantiate this type.
|
|
3828
|
+
# The values are placeholders you should change.
|
|
3829
|
+
from aws_cdk import aws_opensearchservice as opensearchservice
|
|
3830
|
+
|
|
3831
|
+
node_config_property = opensearchservice.CfnDomain.NodeConfigProperty(
|
|
3832
|
+
count=123,
|
|
3833
|
+
enabled=False,
|
|
3834
|
+
type="type"
|
|
3835
|
+
)
|
|
3836
|
+
'''
|
|
3837
|
+
if __debug__:
|
|
3838
|
+
type_hints = typing.get_type_hints(_typecheckingstub__29e71e7d7b964cb5531555bce148a36e9563ff407034f0a06a02f9621a2c7b99)
|
|
3839
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
3840
|
+
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
3841
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
3842
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3843
|
+
if count is not None:
|
|
3844
|
+
self._values["count"] = count
|
|
3845
|
+
if enabled is not None:
|
|
3846
|
+
self._values["enabled"] = enabled
|
|
3847
|
+
if type is not None:
|
|
3848
|
+
self._values["type"] = type
|
|
3849
|
+
|
|
3850
|
+
@builtins.property
|
|
3851
|
+
def count(self) -> typing.Optional[jsii.Number]:
|
|
3852
|
+
'''The number of nodes of a particular node type in the cluster.
|
|
3853
|
+
|
|
3854
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-nodeconfig.html#cfn-opensearchservice-domain-nodeconfig-count
|
|
3855
|
+
'''
|
|
3856
|
+
result = self._values.get("count")
|
|
3857
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
3858
|
+
|
|
3859
|
+
@builtins.property
|
|
3860
|
+
def enabled(
|
|
3861
|
+
self,
|
|
3862
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
3863
|
+
'''A boolean that indicates whether a particular node type is enabled or not.
|
|
3864
|
+
|
|
3865
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-nodeconfig.html#cfn-opensearchservice-domain-nodeconfig-enabled
|
|
3866
|
+
'''
|
|
3867
|
+
result = self._values.get("enabled")
|
|
3868
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
3869
|
+
|
|
3870
|
+
@builtins.property
|
|
3871
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
3872
|
+
'''The instance type of a particular node type in the cluster.
|
|
3873
|
+
|
|
3874
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-nodeconfig.html#cfn-opensearchservice-domain-nodeconfig-type
|
|
3875
|
+
'''
|
|
3876
|
+
result = self._values.get("type")
|
|
3877
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3878
|
+
|
|
3879
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3880
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3881
|
+
|
|
3882
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3883
|
+
return not (rhs == self)
|
|
3884
|
+
|
|
3885
|
+
def __repr__(self) -> str:
|
|
3886
|
+
return "NodeConfigProperty(%s)" % ", ".join(
|
|
3887
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3888
|
+
)
|
|
3889
|
+
|
|
3890
|
+
@jsii.data_type(
|
|
3891
|
+
jsii_type="aws-cdk-lib.aws_opensearchservice.CfnDomain.NodeOptionProperty",
|
|
3892
|
+
jsii_struct_bases=[],
|
|
3893
|
+
name_mapping={"node_config": "nodeConfig", "node_type": "nodeType"},
|
|
3894
|
+
)
|
|
3895
|
+
class NodeOptionProperty:
|
|
3896
|
+
def __init__(
|
|
3897
|
+
self,
|
|
3898
|
+
*,
|
|
3899
|
+
node_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.NodeConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3900
|
+
node_type: typing.Optional[builtins.str] = None,
|
|
3901
|
+
) -> None:
|
|
3902
|
+
'''Container for specifying node type.
|
|
3903
|
+
|
|
3904
|
+
:param node_config: Container for specifying configuration of any node type.
|
|
3905
|
+
:param node_type: Container for node type like coordinating.
|
|
3906
|
+
|
|
3907
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-nodeoption.html
|
|
3908
|
+
:exampleMetadata: fixture=_generated
|
|
3909
|
+
|
|
3910
|
+
Example::
|
|
3911
|
+
|
|
3912
|
+
# The code below shows an example of how to instantiate this type.
|
|
3913
|
+
# The values are placeholders you should change.
|
|
3914
|
+
from aws_cdk import aws_opensearchservice as opensearchservice
|
|
3915
|
+
|
|
3916
|
+
node_option_property = opensearchservice.CfnDomain.NodeOptionProperty(
|
|
3917
|
+
node_config=opensearchservice.CfnDomain.NodeConfigProperty(
|
|
3918
|
+
count=123,
|
|
3919
|
+
enabled=False,
|
|
3920
|
+
type="type"
|
|
3921
|
+
),
|
|
3922
|
+
node_type="nodeType"
|
|
3923
|
+
)
|
|
3924
|
+
'''
|
|
3925
|
+
if __debug__:
|
|
3926
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f030833a5f6ccca0ecd9bdbb55d77a1515771982d7e9b75b7523a5dfc513f26b)
|
|
3927
|
+
check_type(argname="argument node_config", value=node_config, expected_type=type_hints["node_config"])
|
|
3928
|
+
check_type(argname="argument node_type", value=node_type, expected_type=type_hints["node_type"])
|
|
3929
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3930
|
+
if node_config is not None:
|
|
3931
|
+
self._values["node_config"] = node_config
|
|
3932
|
+
if node_type is not None:
|
|
3933
|
+
self._values["node_type"] = node_type
|
|
3934
|
+
|
|
3935
|
+
@builtins.property
|
|
3936
|
+
def node_config(
|
|
3937
|
+
self,
|
|
3938
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.NodeConfigProperty"]]:
|
|
3939
|
+
'''Container for specifying configuration of any node type.
|
|
3940
|
+
|
|
3941
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-nodeoption.html#cfn-opensearchservice-domain-nodeoption-nodeconfig
|
|
3942
|
+
'''
|
|
3943
|
+
result = self._values.get("node_config")
|
|
3944
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.NodeConfigProperty"]], result)
|
|
3945
|
+
|
|
3946
|
+
@builtins.property
|
|
3947
|
+
def node_type(self) -> typing.Optional[builtins.str]:
|
|
3948
|
+
'''Container for node type like coordinating.
|
|
3949
|
+
|
|
3950
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-nodeoption.html#cfn-opensearchservice-domain-nodeoption-nodetype
|
|
3951
|
+
'''
|
|
3952
|
+
result = self._values.get("node_type")
|
|
3953
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3954
|
+
|
|
3955
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3956
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3957
|
+
|
|
3958
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3959
|
+
return not (rhs == self)
|
|
3960
|
+
|
|
3961
|
+
def __repr__(self) -> str:
|
|
3962
|
+
return "NodeOptionProperty(%s)" % ", ".join(
|
|
3963
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3964
|
+
)
|
|
3965
|
+
|
|
3770
3966
|
@jsii.data_type(
|
|
3771
3967
|
jsii_type="aws-cdk-lib.aws_opensearchservice.CfnDomain.NodeToNodeEncryptionOptionsProperty",
|
|
3772
3968
|
jsii_struct_bases=[],
|
|
@@ -4781,6 +4977,14 @@ class CfnDomainProps:
|
|
|
4781
4977
|
instance_count=123,
|
|
4782
4978
|
instance_type="instanceType",
|
|
4783
4979
|
multi_az_with_standby_enabled=False,
|
|
4980
|
+
node_options=[opensearchservice.CfnDomain.NodeOptionProperty(
|
|
4981
|
+
node_config=opensearchservice.CfnDomain.NodeConfigProperty(
|
|
4982
|
+
count=123,
|
|
4983
|
+
enabled=False,
|
|
4984
|
+
type="type"
|
|
4985
|
+
),
|
|
4986
|
+
node_type="nodeType"
|
|
4987
|
+
)],
|
|
4784
4988
|
warm_count=123,
|
|
4785
4989
|
warm_enabled=False,
|
|
4786
4990
|
warm_type="warmType",
|
|
@@ -9749,6 +9953,7 @@ def _typecheckingstub__3aeae3d5b66cfdff675e691ae3d90b2e82990d0dc2a13a8fbab733bba
|
|
|
9749
9953
|
instance_count: typing.Optional[jsii.Number] = None,
|
|
9750
9954
|
instance_type: typing.Optional[builtins.str] = None,
|
|
9751
9955
|
multi_az_with_standby_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9956
|
+
node_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.NodeOptionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
9752
9957
|
warm_count: typing.Optional[jsii.Number] = None,
|
|
9753
9958
|
warm_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9754
9959
|
warm_type: typing.Optional[builtins.str] = None,
|
|
@@ -9852,6 +10057,23 @@ def _typecheckingstub__d898e88f61289087d3cdae775ccfc96a5810d38fd1a901ddd469c8377
|
|
|
9852
10057
|
"""Type checking stubs"""
|
|
9853
10058
|
pass
|
|
9854
10059
|
|
|
10060
|
+
def _typecheckingstub__29e71e7d7b964cb5531555bce148a36e9563ff407034f0a06a02f9621a2c7b99(
|
|
10061
|
+
*,
|
|
10062
|
+
count: typing.Optional[jsii.Number] = None,
|
|
10063
|
+
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
10064
|
+
type: typing.Optional[builtins.str] = None,
|
|
10065
|
+
) -> None:
|
|
10066
|
+
"""Type checking stubs"""
|
|
10067
|
+
pass
|
|
10068
|
+
|
|
10069
|
+
def _typecheckingstub__f030833a5f6ccca0ecd9bdbb55d77a1515771982d7e9b75b7523a5dfc513f26b(
|
|
10070
|
+
*,
|
|
10071
|
+
node_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.NodeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10072
|
+
node_type: typing.Optional[builtins.str] = None,
|
|
10073
|
+
) -> None:
|
|
10074
|
+
"""Type checking stubs"""
|
|
10075
|
+
pass
|
|
10076
|
+
|
|
9855
10077
|
def _typecheckingstub__fbea990af8e11f12ced7e27d027040c8ec8f64ffa1f9d71f254282114946ea92(
|
|
9856
10078
|
*,
|
|
9857
10079
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -1001,7 +1001,7 @@ class CfnPolicy(
|
|
|
1001
1001
|
|
|
1002
1002
|
If the request includes tags, then the requester must have the ``organizations:TagResource`` permission.
|
|
1003
1003
|
|
|
1004
|
-
This operation can be called only from the organization's management account.
|
|
1004
|
+
This operation can be called only from the organization's management account or a member account designated as a delegated administrator.
|
|
1005
1005
|
.. epigraph::
|
|
1006
1006
|
|
|
1007
1007
|
Before you can create a policy of a given type, you must first `enable that policy type <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_enable-disable.html>`_ in your organization.
|
|
@@ -1048,7 +1048,7 @@ class CfnPolicy(
|
|
|
1048
1048
|
'''
|
|
1049
1049
|
:param scope: Scope in which this resource is defined.
|
|
1050
1050
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1051
|
-
:param content: The policy text content. You can specify the policy content as a JSON object or a JSON string. .. epigraph:: When you specify the policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the policy content as a JSON object instead. The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document: - Service control policies: 5,120 characters - Backup policies: 10,000 characters - Tag policies: 10,000 characters - Chatbot policies: 10,000 characters - AI services opt-out policies: 2,500 characters For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
|
|
1051
|
+
:param content: The policy text content. You can specify the policy content as a JSON object or a JSON string. .. epigraph:: When you specify the policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the policy content as a JSON object instead. The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document: - Service control policies: 5,120 characters - Resource control policies: 5,120 characters - Declarative policies: 10,000 characters - Backup policies: 10,000 characters - Tag policies: 10,000 characters - Chatbot policies: 10,000 characters - AI services opt-out policies: 2,500 characters For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
|
|
1052
1052
|
:param name: Name of the policy. The `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ that is used to validate this parameter is a string of any of the characters in the ASCII character range.
|
|
1053
1053
|
:param type: The type of policy to create.
|
|
1054
1054
|
:param description: Human readable description of the policy.
|
|
@@ -1251,7 +1251,7 @@ class CfnPolicyProps:
|
|
|
1251
1251
|
) -> None:
|
|
1252
1252
|
'''Properties for defining a ``CfnPolicy``.
|
|
1253
1253
|
|
|
1254
|
-
:param content: The policy text content. You can specify the policy content as a JSON object or a JSON string. .. epigraph:: When you specify the policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the policy content as a JSON object instead. The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document: - Service control policies: 5,120 characters - Backup policies: 10,000 characters - Tag policies: 10,000 characters - Chatbot policies: 10,000 characters - AI services opt-out policies: 2,500 characters For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
|
|
1254
|
+
:param content: The policy text content. You can specify the policy content as a JSON object or a JSON string. .. epigraph:: When you specify the policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the policy content as a JSON object instead. The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document: - Service control policies: 5,120 characters - Resource control policies: 5,120 characters - Declarative policies: 10,000 characters - Backup policies: 10,000 characters - Tag policies: 10,000 characters - Chatbot policies: 10,000 characters - AI services opt-out policies: 2,500 characters For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
|
|
1255
1255
|
:param name: Name of the policy. The `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ that is used to validate this parameter is a string of any of the characters in the ASCII character range.
|
|
1256
1256
|
:param type: The type of policy to create.
|
|
1257
1257
|
:param description: Human readable description of the policy.
|
|
@@ -1314,6 +1314,8 @@ class CfnPolicyProps:
|
|
|
1314
1314
|
The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document:
|
|
1315
1315
|
|
|
1316
1316
|
- Service control policies: 5,120 characters
|
|
1317
|
+
- Resource control policies: 5,120 characters
|
|
1318
|
+
- Declarative policies: 10,000 characters
|
|
1317
1319
|
- Backup policies: 10,000 characters
|
|
1318
1320
|
- Tag policies: 10,000 characters
|
|
1319
1321
|
- Chatbot policies: 10,000 characters
|