aws-cdk-lib 2.132.1__py3-none-any.whl → 2.134.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 +9 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.132.1.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +12 -10
- aws_cdk/aws_apigatewayv2/__init__.py +112 -6
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
- aws_cdk/aws_appconfig/__init__.py +186 -8
- aws_cdk/aws_appintegrations/__init__.py +551 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -6
- aws_cdk/aws_appsync/__init__.py +71 -0
- aws_cdk/aws_autoscaling/__init__.py +10 -14
- aws_cdk/aws_b2bi/__init__.py +2 -42
- aws_cdk/aws_backup/__init__.py +23 -12
- aws_cdk/aws_batch/__init__.py +2150 -1078
- aws_cdk/aws_bedrock/__init__.py +197 -2
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +4 -4
- aws_cdk/aws_cloudtrail/__init__.py +44 -14
- aws_cdk/aws_cloudwatch/__init__.py +20 -4
- aws_cdk/aws_codeartifact/__init__.py +812 -2
- aws_cdk/aws_codebuild/__init__.py +32 -10
- aws_cdk/aws_codepipeline/__init__.py +33 -11
- aws_cdk/aws_cognito/__init__.py +49 -44
- aws_cdk/aws_connect/__init__.py +256 -0
- aws_cdk/aws_controltower/__init__.py +4 -4
- aws_cdk/aws_datasync/__init__.py +393 -13
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_docdbelastic/__init__.py +117 -0
- aws_cdk/aws_dynamodb/__init__.py +416 -5
- aws_cdk/aws_ec2/__init__.py +590 -134
- aws_cdk/aws_ecs/__init__.py +29 -20
- aws_cdk/aws_ecs_patterns/__init__.py +52 -12
- aws_cdk/aws_eks/__init__.py +27 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +363 -62
- aws_cdk/aws_emr/__init__.py +7 -4
- aws_cdk/aws_entityresolution/__init__.py +91 -64
- aws_cdk/aws_fsx/__init__.py +7 -7
- aws_cdk/aws_glue/__init__.py +137 -3
- aws_cdk/aws_iam/__init__.py +9 -10
- aws_cdk/aws_internetmonitor/__init__.py +85 -0
- aws_cdk/aws_iotsitewise/__init__.py +208 -198
- aws_cdk/aws_iotwireless/__init__.py +6 -5
- aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
- aws_cdk/aws_kendra/__init__.py +34 -24
- aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
- aws_cdk/aws_lambda/__init__.py +16 -16
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_opensearchservice/__init__.py +61 -18
- aws_cdk/aws_pinpoint/__init__.py +42 -0
- aws_cdk/aws_rds/__init__.py +1292 -216
- aws_cdk/aws_redshift/__init__.py +6 -3
- aws_cdk/aws_redshiftserverless/__init__.py +0 -157
- aws_cdk/aws_sagemaker/__init__.py +29 -9
- aws_cdk/aws_shield/__init__.py +7 -8
- aws_cdk/aws_ssm/__init__.py +15 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +476 -0
- aws_cdk/aws_synthetics/__init__.py +74 -14
- aws_cdk/aws_transfer/__init__.py +4 -3
- aws_cdk/aws_wafv2/__init__.py +516 -42
- aws_cdk/cx_api/__init__.py +34 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +69 -69
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_emr/__init__.py
CHANGED
|
@@ -604,7 +604,7 @@ class CfnCluster(
|
|
|
604
604
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
605
605
|
:param instances: A specification of the number and type of Amazon EC2 instances.
|
|
606
606
|
:param job_flow_role: Also called instance profile and Amazon EC2 role. An IAM role for an Amazon EMR cluster. The Amazon EC2 instances of the cluster assume this role. The default role is ``EMR_EC2_DefaultRole`` . In order to use the default role, you must have already created it using the AWS CLI or console.
|
|
607
|
-
:param name: The name of the cluster.
|
|
607
|
+
:param name: The name of the cluster. This parameter can't contain the characters <, >, $, |, or ` (backtick).
|
|
608
608
|
:param service_role: The IAM role that Amazon EMR assumes in order to access AWS resources on your behalf.
|
|
609
609
|
:param additional_info: A JSON string for selecting additional features.
|
|
610
610
|
:param applications: The applications to install on this cluster, for example, Spark, Flink, Oozie, Zeppelin, and so on.
|
|
@@ -3052,7 +3052,7 @@ class CfnCluster(
|
|
|
3052
3052
|
:param task_instance_fleets: Describes the EC2 instances and instance configurations for the task instance fleets when using clusters with the instance fleet configuration. These task instance fleets are added to the cluster as part of the cluster launch. Each task instance fleet must have a unique name specified so that CloudFormation can differentiate between the task instance fleets. .. epigraph:: You can currently specify only one task instance fleet for a cluster. After creating the cluster, you can only modify the mutable properties of ``InstanceFleetConfig`` , which are ``TargetOnDemandCapacity`` and ``TargetSpotCapacity`` . Modifying any other property results in cluster replacement. > To allow a maximum of 30 Amazon EC2 instance types per fleet, include ``TaskInstanceFleets`` when you create your cluster. If you create your cluster without ``TaskInstanceFleets`` , Amazon EMR uses its default allocation strategy, which allows for a maximum of five Amazon EC2 instance types.
|
|
3053
3053
|
:param task_instance_groups: Describes the EC2 instances and instance configurations for task instance groups when using clusters with the uniform instance group configuration. These task instance groups are added to the cluster as part of the cluster launch. Each task instance group must have a unique name specified so that CloudFormation can differentiate between the task instance groups. .. epigraph:: After creating the cluster, you can only modify the mutable properties of ``InstanceGroupConfig`` , which are ``AutoScalingPolicy`` and ``InstanceCount`` . Modifying any other property results in cluster replacement.
|
|
3054
3054
|
:param termination_protected: Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error.
|
|
3055
|
-
:param unhealthy_node_replacement:
|
|
3055
|
+
:param unhealthy_node_replacement: Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.
|
|
3056
3056
|
|
|
3057
3057
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html
|
|
3058
3058
|
:exampleMetadata: fixture=_generated
|
|
@@ -3730,7 +3730,8 @@ class CfnCluster(
|
|
|
3730
3730
|
def unhealthy_node_replacement(
|
|
3731
3731
|
self,
|
|
3732
3732
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
3733
|
-
'''
|
|
3733
|
+
'''Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.
|
|
3734
|
+
|
|
3734
3735
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-unhealthynodereplacement
|
|
3735
3736
|
'''
|
|
3736
3737
|
result = self._values.get("unhealthy_node_replacement")
|
|
@@ -5268,7 +5269,7 @@ class CfnClusterProps:
|
|
|
5268
5269
|
|
|
5269
5270
|
:param instances: A specification of the number and type of Amazon EC2 instances.
|
|
5270
5271
|
:param job_flow_role: Also called instance profile and Amazon EC2 role. An IAM role for an Amazon EMR cluster. The Amazon EC2 instances of the cluster assume this role. The default role is ``EMR_EC2_DefaultRole`` . In order to use the default role, you must have already created it using the AWS CLI or console.
|
|
5271
|
-
:param name: The name of the cluster.
|
|
5272
|
+
:param name: The name of the cluster. This parameter can't contain the characters <, >, $, |, or ` (backtick).
|
|
5272
5273
|
:param service_role: The IAM role that Amazon EMR assumes in order to access AWS resources on your behalf.
|
|
5273
5274
|
:param additional_info: A JSON string for selecting additional features.
|
|
5274
5275
|
:param applications: The applications to install on this cluster, for example, Spark, Flink, Oozie, Zeppelin, and so on.
|
|
@@ -5904,6 +5905,8 @@ class CfnClusterProps:
|
|
|
5904
5905
|
def name(self) -> builtins.str:
|
|
5905
5906
|
'''The name of the cluster.
|
|
5906
5907
|
|
|
5908
|
+
This parameter can't contain the characters <, >, $, |, or ` (backtick).
|
|
5909
|
+
|
|
5907
5910
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-cluster.html#cfn-emr-cluster-name
|
|
5908
5911
|
'''
|
|
5909
5912
|
result = self._values.get("name")
|
|
@@ -98,19 +98,22 @@ class CfnIdMappingWorkflow(
|
|
|
98
98
|
),
|
|
99
99
|
input_source_config=[entityresolution.CfnIdMappingWorkflow.IdMappingWorkflowInputSourceProperty(
|
|
100
100
|
input_source_arn="inputSourceArn",
|
|
101
|
-
schema_arn="schemaArn"
|
|
102
|
-
)],
|
|
103
|
-
output_source_config=[entityresolution.CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty(
|
|
104
|
-
output_s3_path="outputS3Path",
|
|
105
101
|
|
|
106
102
|
# the properties below are optional
|
|
107
|
-
|
|
103
|
+
schema_arn="schemaArn",
|
|
104
|
+
type="type"
|
|
108
105
|
)],
|
|
109
106
|
role_arn="roleArn",
|
|
110
107
|
workflow_name="workflowName",
|
|
111
108
|
|
|
112
109
|
# the properties below are optional
|
|
113
110
|
description="description",
|
|
111
|
+
output_source_config=[entityresolution.CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty(
|
|
112
|
+
output_s3_path="outputS3Path",
|
|
113
|
+
|
|
114
|
+
# the properties below are optional
|
|
115
|
+
kms_arn="kmsArn"
|
|
116
|
+
)],
|
|
114
117
|
tags=[CfnTag(
|
|
115
118
|
key="key",
|
|
116
119
|
value="value"
|
|
@@ -125,10 +128,10 @@ class CfnIdMappingWorkflow(
|
|
|
125
128
|
*,
|
|
126
129
|
id_mapping_techniques: typing.Union[_IResolvable_da3f097b, typing.Union["CfnIdMappingWorkflow.IdMappingTechniquesProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
127
130
|
input_source_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIdMappingWorkflow.IdMappingWorkflowInputSourceProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
128
|
-
output_source_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
129
131
|
role_arn: builtins.str,
|
|
130
132
|
workflow_name: builtins.str,
|
|
131
133
|
description: typing.Optional[builtins.str] = None,
|
|
134
|
+
output_source_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
132
135
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
133
136
|
) -> None:
|
|
134
137
|
'''
|
|
@@ -136,10 +139,10 @@ class CfnIdMappingWorkflow(
|
|
|
136
139
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
137
140
|
:param id_mapping_techniques: An object which defines the ``idMappingType`` and the ``providerProperties`` .
|
|
138
141
|
:param input_source_config: A list of ``InputSource`` objects, which have the fields ``InputSourceARN`` and ``SchemaName`` .
|
|
139
|
-
:param output_source_config: A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``OutputS3Path`` and ``Output`` .
|
|
140
142
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role. AWS Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
|
|
141
143
|
:param workflow_name: The name of the workflow. There can't be multiple ``IdMappingWorkflows`` with the same name.
|
|
142
144
|
:param description: A description of the workflow.
|
|
145
|
+
:param output_source_config: A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``OutputS3Path`` and ``Output`` .
|
|
143
146
|
:param tags: The tags used to organize, track, or control access for this resource.
|
|
144
147
|
'''
|
|
145
148
|
if __debug__:
|
|
@@ -149,10 +152,10 @@ class CfnIdMappingWorkflow(
|
|
|
149
152
|
props = CfnIdMappingWorkflowProps(
|
|
150
153
|
id_mapping_techniques=id_mapping_techniques,
|
|
151
154
|
input_source_config=input_source_config,
|
|
152
|
-
output_source_config=output_source_config,
|
|
153
155
|
role_arn=role_arn,
|
|
154
156
|
workflow_name=workflow_name,
|
|
155
157
|
description=description,
|
|
158
|
+
output_source_config=output_source_config,
|
|
156
159
|
tags=tags,
|
|
157
160
|
)
|
|
158
161
|
|
|
@@ -262,24 +265,6 @@ class CfnIdMappingWorkflow(
|
|
|
262
265
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
263
266
|
jsii.set(self, "inputSourceConfig", value)
|
|
264
267
|
|
|
265
|
-
@builtins.property
|
|
266
|
-
@jsii.member(jsii_name="outputSourceConfig")
|
|
267
|
-
def output_source_config(
|
|
268
|
-
self,
|
|
269
|
-
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty"]]]:
|
|
270
|
-
'''A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``OutputS3Path`` and ``Output`` .'''
|
|
271
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty"]]], jsii.get(self, "outputSourceConfig"))
|
|
272
|
-
|
|
273
|
-
@output_source_config.setter
|
|
274
|
-
def output_source_config(
|
|
275
|
-
self,
|
|
276
|
-
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty"]]],
|
|
277
|
-
) -> None:
|
|
278
|
-
if __debug__:
|
|
279
|
-
type_hints = typing.get_type_hints(_typecheckingstub__c441bfde4467a201e4e9322b69a020514feb4e0efb56d31892f1f02e461d7119)
|
|
280
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
281
|
-
jsii.set(self, "outputSourceConfig", value)
|
|
282
|
-
|
|
283
268
|
@builtins.property
|
|
284
269
|
@jsii.member(jsii_name="roleArn")
|
|
285
270
|
def role_arn(self) -> builtins.str:
|
|
@@ -319,6 +304,24 @@ class CfnIdMappingWorkflow(
|
|
|
319
304
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
320
305
|
jsii.set(self, "description", value)
|
|
321
306
|
|
|
307
|
+
@builtins.property
|
|
308
|
+
@jsii.member(jsii_name="outputSourceConfig")
|
|
309
|
+
def output_source_config(
|
|
310
|
+
self,
|
|
311
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty"]]]]:
|
|
312
|
+
'''A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``OutputS3Path`` and ``Output`` .'''
|
|
313
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty"]]]], jsii.get(self, "outputSourceConfig"))
|
|
314
|
+
|
|
315
|
+
@output_source_config.setter
|
|
316
|
+
def output_source_config(
|
|
317
|
+
self,
|
|
318
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty"]]]],
|
|
319
|
+
) -> None:
|
|
320
|
+
if __debug__:
|
|
321
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c441bfde4467a201e4e9322b69a020514feb4e0efb56d31892f1f02e461d7119)
|
|
322
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
323
|
+
jsii.set(self, "outputSourceConfig", value)
|
|
324
|
+
|
|
322
325
|
@builtins.property
|
|
323
326
|
@jsii.member(jsii_name="tags")
|
|
324
327
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -420,19 +423,25 @@ class CfnIdMappingWorkflow(
|
|
|
420
423
|
@jsii.data_type(
|
|
421
424
|
jsii_type="aws-cdk-lib.aws_entityresolution.CfnIdMappingWorkflow.IdMappingWorkflowInputSourceProperty",
|
|
422
425
|
jsii_struct_bases=[],
|
|
423
|
-
name_mapping={
|
|
426
|
+
name_mapping={
|
|
427
|
+
"input_source_arn": "inputSourceArn",
|
|
428
|
+
"schema_arn": "schemaArn",
|
|
429
|
+
"type": "type",
|
|
430
|
+
},
|
|
424
431
|
)
|
|
425
432
|
class IdMappingWorkflowInputSourceProperty:
|
|
426
433
|
def __init__(
|
|
427
434
|
self,
|
|
428
435
|
*,
|
|
429
436
|
input_source_arn: builtins.str,
|
|
430
|
-
schema_arn: builtins.str,
|
|
437
|
+
schema_arn: typing.Optional[builtins.str] = None,
|
|
438
|
+
type: typing.Optional[builtins.str] = None,
|
|
431
439
|
) -> None:
|
|
432
440
|
'''An object containing ``InputSourceARN`` and ``SchemaName`` .
|
|
433
441
|
|
|
434
442
|
:param input_source_arn: An AWS Glue table ARN for the input source table.
|
|
435
443
|
:param schema_arn: The ARN (Amazon Resource Name) that AWS Entity Resolution generated for the ``SchemaMapping`` .
|
|
444
|
+
:param type:
|
|
436
445
|
|
|
437
446
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-idmappingworkflow-idmappingworkflowinputsource.html
|
|
438
447
|
:exampleMetadata: fixture=_generated
|
|
@@ -445,17 +454,24 @@ class CfnIdMappingWorkflow(
|
|
|
445
454
|
|
|
446
455
|
id_mapping_workflow_input_source_property = entityresolution.CfnIdMappingWorkflow.IdMappingWorkflowInputSourceProperty(
|
|
447
456
|
input_source_arn="inputSourceArn",
|
|
448
|
-
|
|
457
|
+
|
|
458
|
+
# the properties below are optional
|
|
459
|
+
schema_arn="schemaArn",
|
|
460
|
+
type="type"
|
|
449
461
|
)
|
|
450
462
|
'''
|
|
451
463
|
if __debug__:
|
|
452
464
|
type_hints = typing.get_type_hints(_typecheckingstub__522fc3db779b17ca862e5f7c251173d53b22cf2b4867dc81e3a568dcf3643063)
|
|
453
465
|
check_type(argname="argument input_source_arn", value=input_source_arn, expected_type=type_hints["input_source_arn"])
|
|
454
466
|
check_type(argname="argument schema_arn", value=schema_arn, expected_type=type_hints["schema_arn"])
|
|
467
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
455
468
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
456
469
|
"input_source_arn": input_source_arn,
|
|
457
|
-
"schema_arn": schema_arn,
|
|
458
470
|
}
|
|
471
|
+
if schema_arn is not None:
|
|
472
|
+
self._values["schema_arn"] = schema_arn
|
|
473
|
+
if type is not None:
|
|
474
|
+
self._values["type"] = type
|
|
459
475
|
|
|
460
476
|
@builtins.property
|
|
461
477
|
def input_source_arn(self) -> builtins.str:
|
|
@@ -468,14 +484,21 @@ class CfnIdMappingWorkflow(
|
|
|
468
484
|
return typing.cast(builtins.str, result)
|
|
469
485
|
|
|
470
486
|
@builtins.property
|
|
471
|
-
def schema_arn(self) -> builtins.str:
|
|
487
|
+
def schema_arn(self) -> typing.Optional[builtins.str]:
|
|
472
488
|
'''The ARN (Amazon Resource Name) that AWS Entity Resolution generated for the ``SchemaMapping`` .
|
|
473
489
|
|
|
474
490
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-idmappingworkflow-idmappingworkflowinputsource.html#cfn-entityresolution-idmappingworkflow-idmappingworkflowinputsource-schemaarn
|
|
475
491
|
'''
|
|
476
492
|
result = self._values.get("schema_arn")
|
|
477
|
-
|
|
478
|
-
|
|
493
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
494
|
+
|
|
495
|
+
@builtins.property
|
|
496
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
497
|
+
'''
|
|
498
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-idmappingworkflow-idmappingworkflowinputsource.html#cfn-entityresolution-idmappingworkflow-idmappingworkflowinputsource-type
|
|
499
|
+
'''
|
|
500
|
+
result = self._values.get("type")
|
|
501
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
479
502
|
|
|
480
503
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
481
504
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -728,10 +751,10 @@ class CfnIdMappingWorkflow(
|
|
|
728
751
|
name_mapping={
|
|
729
752
|
"id_mapping_techniques": "idMappingTechniques",
|
|
730
753
|
"input_source_config": "inputSourceConfig",
|
|
731
|
-
"output_source_config": "outputSourceConfig",
|
|
732
754
|
"role_arn": "roleArn",
|
|
733
755
|
"workflow_name": "workflowName",
|
|
734
756
|
"description": "description",
|
|
757
|
+
"output_source_config": "outputSourceConfig",
|
|
735
758
|
"tags": "tags",
|
|
736
759
|
},
|
|
737
760
|
)
|
|
@@ -741,20 +764,20 @@ class CfnIdMappingWorkflowProps:
|
|
|
741
764
|
*,
|
|
742
765
|
id_mapping_techniques: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdMappingWorkflow.IdMappingTechniquesProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
743
766
|
input_source_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdMappingWorkflow.IdMappingWorkflowInputSourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
744
|
-
output_source_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
745
767
|
role_arn: builtins.str,
|
|
746
768
|
workflow_name: builtins.str,
|
|
747
769
|
description: typing.Optional[builtins.str] = None,
|
|
770
|
+
output_source_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
748
771
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
749
772
|
) -> None:
|
|
750
773
|
'''Properties for defining a ``CfnIdMappingWorkflow``.
|
|
751
774
|
|
|
752
775
|
:param id_mapping_techniques: An object which defines the ``idMappingType`` and the ``providerProperties`` .
|
|
753
776
|
:param input_source_config: A list of ``InputSource`` objects, which have the fields ``InputSourceARN`` and ``SchemaName`` .
|
|
754
|
-
:param output_source_config: A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``OutputS3Path`` and ``Output`` .
|
|
755
777
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role. AWS Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
|
|
756
778
|
:param workflow_name: The name of the workflow. There can't be multiple ``IdMappingWorkflows`` with the same name.
|
|
757
779
|
:param description: A description of the workflow.
|
|
780
|
+
:param output_source_config: A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``OutputS3Path`` and ``Output`` .
|
|
758
781
|
:param tags: The tags used to organize, track, or control access for this resource.
|
|
759
782
|
|
|
760
783
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-idmappingworkflow.html
|
|
@@ -783,19 +806,22 @@ class CfnIdMappingWorkflowProps:
|
|
|
783
806
|
),
|
|
784
807
|
input_source_config=[entityresolution.CfnIdMappingWorkflow.IdMappingWorkflowInputSourceProperty(
|
|
785
808
|
input_source_arn="inputSourceArn",
|
|
786
|
-
schema_arn="schemaArn"
|
|
787
|
-
)],
|
|
788
|
-
output_source_config=[entityresolution.CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty(
|
|
789
|
-
output_s3_path="outputS3Path",
|
|
790
809
|
|
|
791
810
|
# the properties below are optional
|
|
792
|
-
|
|
811
|
+
schema_arn="schemaArn",
|
|
812
|
+
type="type"
|
|
793
813
|
)],
|
|
794
814
|
role_arn="roleArn",
|
|
795
815
|
workflow_name="workflowName",
|
|
796
816
|
|
|
797
817
|
# the properties below are optional
|
|
798
818
|
description="description",
|
|
819
|
+
output_source_config=[entityresolution.CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty(
|
|
820
|
+
output_s3_path="outputS3Path",
|
|
821
|
+
|
|
822
|
+
# the properties below are optional
|
|
823
|
+
kms_arn="kmsArn"
|
|
824
|
+
)],
|
|
799
825
|
tags=[CfnTag(
|
|
800
826
|
key="key",
|
|
801
827
|
value="value"
|
|
@@ -806,20 +832,21 @@ class CfnIdMappingWorkflowProps:
|
|
|
806
832
|
type_hints = typing.get_type_hints(_typecheckingstub__a92ec1b5f460936930fefdd0c239f69c3ec93198e4a71c3867bbe1bf1a48bf11)
|
|
807
833
|
check_type(argname="argument id_mapping_techniques", value=id_mapping_techniques, expected_type=type_hints["id_mapping_techniques"])
|
|
808
834
|
check_type(argname="argument input_source_config", value=input_source_config, expected_type=type_hints["input_source_config"])
|
|
809
|
-
check_type(argname="argument output_source_config", value=output_source_config, expected_type=type_hints["output_source_config"])
|
|
810
835
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
811
836
|
check_type(argname="argument workflow_name", value=workflow_name, expected_type=type_hints["workflow_name"])
|
|
812
837
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
838
|
+
check_type(argname="argument output_source_config", value=output_source_config, expected_type=type_hints["output_source_config"])
|
|
813
839
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
814
840
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
815
841
|
"id_mapping_techniques": id_mapping_techniques,
|
|
816
842
|
"input_source_config": input_source_config,
|
|
817
|
-
"output_source_config": output_source_config,
|
|
818
843
|
"role_arn": role_arn,
|
|
819
844
|
"workflow_name": workflow_name,
|
|
820
845
|
}
|
|
821
846
|
if description is not None:
|
|
822
847
|
self._values["description"] = description
|
|
848
|
+
if output_source_config is not None:
|
|
849
|
+
self._values["output_source_config"] = output_source_config
|
|
823
850
|
if tags is not None:
|
|
824
851
|
self._values["tags"] = tags
|
|
825
852
|
|
|
@@ -847,18 +874,6 @@ class CfnIdMappingWorkflowProps:
|
|
|
847
874
|
assert result is not None, "Required property 'input_source_config' is missing"
|
|
848
875
|
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIdMappingWorkflow.IdMappingWorkflowInputSourceProperty]]], result)
|
|
849
876
|
|
|
850
|
-
@builtins.property
|
|
851
|
-
def output_source_config(
|
|
852
|
-
self,
|
|
853
|
-
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty]]]:
|
|
854
|
-
'''A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``OutputS3Path`` and ``Output`` .
|
|
855
|
-
|
|
856
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-idmappingworkflow.html#cfn-entityresolution-idmappingworkflow-outputsourceconfig
|
|
857
|
-
'''
|
|
858
|
-
result = self._values.get("output_source_config")
|
|
859
|
-
assert result is not None, "Required property 'output_source_config' is missing"
|
|
860
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty]]], result)
|
|
861
|
-
|
|
862
877
|
@builtins.property
|
|
863
878
|
def role_arn(self) -> builtins.str:
|
|
864
879
|
'''The Amazon Resource Name (ARN) of the IAM role.
|
|
@@ -892,6 +907,17 @@ class CfnIdMappingWorkflowProps:
|
|
|
892
907
|
result = self._values.get("description")
|
|
893
908
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
894
909
|
|
|
910
|
+
@builtins.property
|
|
911
|
+
def output_source_config(
|
|
912
|
+
self,
|
|
913
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty]]]]:
|
|
914
|
+
'''A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``OutputS3Path`` and ``Output`` .
|
|
915
|
+
|
|
916
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-idmappingworkflow.html#cfn-entityresolution-idmappingworkflow-outputsourceconfig
|
|
917
|
+
'''
|
|
918
|
+
result = self._values.get("output_source_config")
|
|
919
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty]]]], result)
|
|
920
|
+
|
|
895
921
|
@builtins.property
|
|
896
922
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
897
923
|
'''The tags used to organize, track, or control access for this resource.
|
|
@@ -2611,10 +2637,10 @@ def _typecheckingstub__498454075de816db2ba240e783f9530effd93522c63f637ee5bff5bbf
|
|
|
2611
2637
|
*,
|
|
2612
2638
|
id_mapping_techniques: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdMappingWorkflow.IdMappingTechniquesProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2613
2639
|
input_source_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdMappingWorkflow.IdMappingWorkflowInputSourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2614
|
-
output_source_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2615
2640
|
role_arn: builtins.str,
|
|
2616
2641
|
workflow_name: builtins.str,
|
|
2617
2642
|
description: typing.Optional[builtins.str] = None,
|
|
2643
|
+
output_source_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2618
2644
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2619
2645
|
) -> None:
|
|
2620
2646
|
"""Type checking stubs"""
|
|
@@ -2644,12 +2670,6 @@ def _typecheckingstub__4a9193affb5fa4439a48ce7bed8e4da128d477cf32b5570d11bbf2989
|
|
|
2644
2670
|
"""Type checking stubs"""
|
|
2645
2671
|
pass
|
|
2646
2672
|
|
|
2647
|
-
def _typecheckingstub__c441bfde4467a201e4e9322b69a020514feb4e0efb56d31892f1f02e461d7119(
|
|
2648
|
-
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty]]],
|
|
2649
|
-
) -> None:
|
|
2650
|
-
"""Type checking stubs"""
|
|
2651
|
-
pass
|
|
2652
|
-
|
|
2653
2673
|
def _typecheckingstub__0590ee667206f813442b789a06c4cb886b668b0e9b9dffab96674a6875e8e692(
|
|
2654
2674
|
value: builtins.str,
|
|
2655
2675
|
) -> None:
|
|
@@ -2668,6 +2688,12 @@ def _typecheckingstub__73508385219d92414fa73246ef135667c9eca037d9a796d5490e9c29d
|
|
|
2668
2688
|
"""Type checking stubs"""
|
|
2669
2689
|
pass
|
|
2670
2690
|
|
|
2691
|
+
def _typecheckingstub__c441bfde4467a201e4e9322b69a020514feb4e0efb56d31892f1f02e461d7119(
|
|
2692
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty]]]],
|
|
2693
|
+
) -> None:
|
|
2694
|
+
"""Type checking stubs"""
|
|
2695
|
+
pass
|
|
2696
|
+
|
|
2671
2697
|
def _typecheckingstub__f1c5de5e1db5e25e42cb52039b70835fa351dc563f560ac5ff3604bab3a7c6d3(
|
|
2672
2698
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
2673
2699
|
) -> None:
|
|
@@ -2685,7 +2711,8 @@ def _typecheckingstub__14f084baf89be97b69b754d6755f29c921f7ef9044bf1e234a903b93f
|
|
|
2685
2711
|
def _typecheckingstub__522fc3db779b17ca862e5f7c251173d53b22cf2b4867dc81e3a568dcf3643063(
|
|
2686
2712
|
*,
|
|
2687
2713
|
input_source_arn: builtins.str,
|
|
2688
|
-
schema_arn: builtins.str,
|
|
2714
|
+
schema_arn: typing.Optional[builtins.str] = None,
|
|
2715
|
+
type: typing.Optional[builtins.str] = None,
|
|
2689
2716
|
) -> None:
|
|
2690
2717
|
"""Type checking stubs"""
|
|
2691
2718
|
pass
|
|
@@ -2718,10 +2745,10 @@ def _typecheckingstub__a92ec1b5f460936930fefdd0c239f69c3ec93198e4a71c3867bbe1bf1
|
|
|
2718
2745
|
*,
|
|
2719
2746
|
id_mapping_techniques: typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdMappingWorkflow.IdMappingTechniquesProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2720
2747
|
input_source_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdMappingWorkflow.IdMappingWorkflowInputSourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2721
|
-
output_source_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2722
2748
|
role_arn: builtins.str,
|
|
2723
2749
|
workflow_name: builtins.str,
|
|
2724
2750
|
description: typing.Optional[builtins.str] = None,
|
|
2751
|
+
output_source_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2725
2752
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2726
2753
|
) -> None:
|
|
2727
2754
|
"""Type checking stubs"""
|
aws_cdk/aws_fsx/__init__.py
CHANGED
|
@@ -1577,7 +1577,7 @@ class CfnFileSystem(
|
|
|
1577
1577
|
By default, Amazon FSx automatically provisions 3 IOPS per GB of storage capacity. You can provision additional IOPS per GB of storage. The configuration consists of the total number of provisioned SSD IOPS and how it is was provisioned, or the mode (by the customer or by Amazon FSx).
|
|
1578
1578
|
|
|
1579
1579
|
:param iops: The total number of SSD IOPS provisioned for the file system. The minimum and maximum values for this property depend on the value of ``HAPairs`` and ``StorageCapacity`` . The minimum value is calculated as ``StorageCapacity`` * 3 * ``HAPairs`` (3 IOPS per GB of ``StorageCapacity`` ). The maximum value is calculated as 200,000 * ``HAPairs`` . Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of ``Iops`` is outside of the minimum or maximum values.
|
|
1580
|
-
:param mode: Specifies whether the file system is using the ``AUTOMATIC`` setting of SSD IOPS of 3 IOPS per GB of storage capacity,
|
|
1580
|
+
:param mode: Specifies whether the file system is using the ``AUTOMATIC`` setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a ``USER_PROVISIONED`` value.
|
|
1581
1581
|
|
|
1582
1582
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-diskiopsconfiguration.html
|
|
1583
1583
|
:exampleMetadata: fixture=_generated
|
|
@@ -1618,7 +1618,7 @@ class CfnFileSystem(
|
|
|
1618
1618
|
|
|
1619
1619
|
@builtins.property
|
|
1620
1620
|
def mode(self) -> typing.Optional[builtins.str]:
|
|
1621
|
-
'''Specifies whether the file system is using the ``AUTOMATIC`` setting of SSD IOPS of 3 IOPS per GB of storage capacity,
|
|
1621
|
+
'''Specifies whether the file system is using the ``AUTOMATIC`` setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a ``USER_PROVISIONED`` value.
|
|
1622
1622
|
|
|
1623
1623
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-diskiopsconfiguration.html#cfn-fsx-filesystem-diskiopsconfiguration-mode
|
|
1624
1624
|
'''
|
|
@@ -2051,11 +2051,11 @@ class CfnFileSystem(
|
|
|
2051
2051
|
:param disk_iops_configuration: The SSD IOPS configuration for the FSx for ONTAP file system.
|
|
2052
2052
|
:param endpoint_ip_address_range: (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. By default in the Amazon FSx API, Amazon FSx selects an unused IP address range for you from the 198.19.* range. By default in the Amazon FSx console, Amazon FSx chooses the last 64 IP addresses from the VPC’s primary CIDR range to use as the endpoint IP address range for the file system. You can have overlapping endpoint IP addresses for file systems deployed in the same VPC/route tables, as long as they don't overlap with any subnet.
|
|
2053
2053
|
:param fsx_admin_password: The ONTAP administrative password for the ``fsxadmin`` user with which you administer your file system using the NetApp ONTAP CLI and REST API.
|
|
2054
|
-
:param ha_pairs: Specifies how many high-availability (HA) pairs of file servers will power your file system. Scale-up file systems are powered by 1 HA pair. The default value is 1. FSx for ONTAP scale-out file
|
|
2054
|
+
:param ha_pairs: Specifies how many high-availability (HA) pairs of file servers will power your file system. Scale-up file systems are powered by 1 HA pair. The default value is 1. FSx for ONTAP scale-out file systems are powered by up to 12 HA pairs. The value of this property affects the values of ``StorageCapacity`` , ``Iops`` , and ``ThroughputCapacity`` . For more information, see `High-availability (HA) pairs <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/HA-pairs.html>`_ in the FSx for ONTAP user guide. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: - The value of ``HAPairs`` is less than 1 or greater than 12. - The value of ``HAPairs`` is greater than 1 and the value of ``DeploymentType`` is ``SINGLE_AZ_1`` or ``MULTI_AZ_1`` .
|
|
2055
2055
|
:param preferred_subnet_id: Required when ``DeploymentType`` is set to ``MULTI_AZ_1`` . This specifies the subnet in which you want the preferred file server to be located.
|
|
2056
2056
|
:param route_table_ids: (Multi-AZ only) Specifies the route tables in which Amazon FSx creates the rules for routing traffic to the correct file server. You should specify all virtual private cloud (VPC) route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC's default route table. .. epigraph:: Amazon FSx manages these route tables for Multi-AZ file systems using tag-based authentication. These route tables are tagged with ``Key: AmazonFSx; Value: ManagedByAmazonFSx`` . When creating FSx for ONTAP Multi-AZ file systems using AWS CloudFormation we recommend that you add the ``Key: AmazonFSx; Value: ManagedByAmazonFSx`` tag manually.
|
|
2057
2057
|
:param throughput_capacity: Sets the throughput capacity for the file system that you're creating in megabytes per second (MBps). For more information, see `Managing throughput capacity <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-throughput-capacity.html>`_ in the FSx for ONTAP User Guide. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: - The value of ``ThroughputCapacity`` and ``ThroughputCapacityPerHAPair`` are not the same value. - The value of ``ThroughputCapacity`` when divided by the value of ``HAPairs`` is outside of the valid range for ``ThroughputCapacity`` .
|
|
2058
|
-
:param throughput_capacity_per_ha_pair: Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. You can define either the ``ThroughputCapacityPerHAPair`` or the ``ThroughputCapacity`` when creating a file system, but not both. This field and ``ThroughputCapacity`` are the same for scale-up file systems powered by one HA pair. - For ``SINGLE_AZ_1`` and ``MULTI_AZ_1`` file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps. - For ``SINGLE_AZ_2`` file systems, valid values are 3072 or 6144 MBps. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: - The value of ``ThroughputCapacity`` and ``ThroughputCapacityPerHAPair`` are not the same value for file systems with one HA pair. - The value of deployment type is ``SINGLE_AZ_2`` and ``ThroughputCapacity`` / ``ThroughputCapacityPerHAPair`` is a valid HA pair (a value between 2 and
|
|
2058
|
+
:param throughput_capacity_per_ha_pair: Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. You can define either the ``ThroughputCapacityPerHAPair`` or the ``ThroughputCapacity`` when creating a file system, but not both. This field and ``ThroughputCapacity`` are the same for scale-up file systems powered by one HA pair. - For ``SINGLE_AZ_1`` and ``MULTI_AZ_1`` file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps. - For ``SINGLE_AZ_2`` file systems, valid values are 3072 or 6144 MBps. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: - The value of ``ThroughputCapacity`` and ``ThroughputCapacityPerHAPair`` are not the same value for file systems with one HA pair. - The value of deployment type is ``SINGLE_AZ_2`` and ``ThroughputCapacity`` / ``ThroughputCapacityPerHAPair`` is a valid HA pair (a value between 2 and 12). - The value of ``ThroughputCapacityPerHAPair`` is not a valid value.
|
|
2059
2059
|
:param weekly_maintenance_start_time: A recurring weekly time, in the format ``D:HH:MM`` . ``D`` is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see `the ISO-8601 spec as described on Wikipedia <https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/ISO_week_date>`_ . ``HH`` is the zero-padded hour of the day (0-23), and ``MM`` is the zero-padded minute of the hour. For example, ``1:05:00`` specifies maintenance at 5 AM Monday.
|
|
2060
2060
|
|
|
2061
2061
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html
|
|
@@ -2200,11 +2200,11 @@ class CfnFileSystem(
|
|
|
2200
2200
|
def ha_pairs(self) -> typing.Optional[jsii.Number]:
|
|
2201
2201
|
'''Specifies how many high-availability (HA) pairs of file servers will power your file system.
|
|
2202
2202
|
|
|
2203
|
-
Scale-up file systems are powered by 1 HA pair. The default value is 1. FSx for ONTAP scale-out file
|
|
2203
|
+
Scale-up file systems are powered by 1 HA pair. The default value is 1. FSx for ONTAP scale-out file systems are powered by up to 12 HA pairs. The value of this property affects the values of ``StorageCapacity`` , ``Iops`` , and ``ThroughputCapacity`` . For more information, see `High-availability (HA) pairs <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/HA-pairs.html>`_ in the FSx for ONTAP user guide.
|
|
2204
2204
|
|
|
2205
2205
|
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
|
|
2206
2206
|
|
|
2207
|
-
- The value of ``HAPairs`` is less than 1 or greater than
|
|
2207
|
+
- The value of ``HAPairs`` is less than 1 or greater than 12.
|
|
2208
2208
|
- The value of ``HAPairs`` is greater than 1 and the value of ``DeploymentType`` is ``SINGLE_AZ_1`` or ``MULTI_AZ_1`` .
|
|
2209
2209
|
|
|
2210
2210
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html#cfn-fsx-filesystem-ontapconfiguration-hapairs
|
|
@@ -2267,7 +2267,7 @@ class CfnFileSystem(
|
|
|
2267
2267
|
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
|
|
2268
2268
|
|
|
2269
2269
|
- The value of ``ThroughputCapacity`` and ``ThroughputCapacityPerHAPair`` are not the same value for file systems with one HA pair.
|
|
2270
|
-
- The value of deployment type is ``SINGLE_AZ_2`` and ``ThroughputCapacity`` / ``ThroughputCapacityPerHAPair`` is a valid HA pair (a value between 2 and
|
|
2270
|
+
- The value of deployment type is ``SINGLE_AZ_2`` and ``ThroughputCapacity`` / ``ThroughputCapacityPerHAPair`` is a valid HA pair (a value between 2 and 12).
|
|
2271
2271
|
- The value of ``ThroughputCapacityPerHAPair`` is not a valid value.
|
|
2272
2272
|
|
|
2273
2273
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html#cfn-fsx-filesystem-ontapconfiguration-throughputcapacityperhapair
|