aws-cdk-lib 2.199.0__py3-none-any.whl → 2.200.1__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 +22 -24
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.199.0.jsii.tgz → aws-cdk-lib@2.200.1.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_apigateway/__init__.py +1 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -4
- aws_cdk/aws_aps/__init__.py +38 -30
- aws_cdk/aws_autoscaling/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +73 -48
- aws_cdk/aws_cloudformation/__init__.py +17 -23
- aws_cdk/aws_cloudfront_origins/__init__.py +1 -1
- aws_cdk/aws_cloudtrail/__init__.py +4 -4
- aws_cdk/aws_cloudwatch/__init__.py +50 -1
- aws_cdk/aws_codebuild/__init__.py +116 -0
- aws_cdk/aws_datazone/__init__.py +699 -9
- aws_cdk/aws_deadline/__init__.py +38 -10
- aws_cdk/aws_ec2/__init__.py +78 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +7 -7
- aws_cdk/aws_emr/__init__.py +36 -2
- aws_cdk/aws_fsx/__init__.py +122 -0
- aws_cdk/aws_glue/__init__.py +55 -26
- aws_cdk/aws_iam/__init__.py +376 -2
- aws_cdk/aws_iot/__init__.py +57 -5
- aws_cdk/aws_kinesisfirehose/__init__.py +5 -1
- aws_cdk/aws_lambda/__init__.py +65 -45
- aws_cdk/aws_lex/__init__.py +27 -13
- aws_cdk/aws_lightsail/__init__.py +452 -0
- aws_cdk/aws_medialive/__init__.py +699 -497
- aws_cdk/aws_msk/__init__.py +4 -4
- aws_cdk/aws_networkfirewall/__init__.py +9 -5
- aws_cdk/aws_nimblestudio/__init__.py +208 -400
- aws_cdk/aws_panorama/__init__.py +30 -3
- aws_cdk/aws_pcs/__init__.py +12 -5
- aws_cdk/aws_rds/__init__.py +22 -10
- aws_cdk/aws_s3/__init__.py +367 -6
- aws_cdk/aws_s3express/__init__.py +789 -0
- aws_cdk/aws_ses/__init__.py +300 -32
- aws_cdk/aws_sns_subscriptions/__init__.py +256 -1
- aws_cdk/aws_stepfunctions/__init__.py +55 -17
- aws_cdk/aws_synthetics/__init__.py +26 -16
- aws_cdk/aws_voiceid/__init__.py +13 -3
- aws_cdk/cloud_assembly_schema/__init__.py +137 -42
- aws_cdk/cx_api/__init__.py +7 -7
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/RECORD +49 -49
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_bedrock/__init__.py
CHANGED
|
@@ -12545,7 +12545,7 @@ class CfnFlow(
|
|
|
12545
12545
|
def __init__(self, *, agent_alias_arn: builtins.str) -> None:
|
|
12546
12546
|
'''Defines an agent node in your flow.
|
|
12547
12547
|
|
|
12548
|
-
You specify the agent to invoke at this point in the flow. For more information, see `Node types in
|
|
12548
|
+
You specify the agent to invoke at this point in the flow. For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
12549
12549
|
|
|
12550
12550
|
:param agent_alias_arn: The Amazon Resource Name (ARN) of the alias of the agent to invoke.
|
|
12551
12551
|
|
|
@@ -12603,7 +12603,7 @@ class CfnFlow(
|
|
|
12603
12603
|
) -> None:
|
|
12604
12604
|
'''Defines a condition node in your flow.
|
|
12605
12605
|
|
|
12606
|
-
You can specify conditions that determine which node comes next in the flow. For more information, see `Node types in
|
|
12606
|
+
You can specify conditions that determine which node comes next in the flow. For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
12607
12607
|
|
|
12608
12608
|
:param conditions: An array of conditions. Each member contains the name of a condition and an expression that defines the condition.
|
|
12609
12609
|
|
|
@@ -13307,12 +13307,12 @@ class CfnFlow(
|
|
|
13307
13307
|
) -> None:
|
|
13308
13308
|
'''Contains configurations for a node in your flow.
|
|
13309
13309
|
|
|
13310
|
-
For more information, see `Node types in
|
|
13310
|
+
For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
13311
13311
|
|
|
13312
13312
|
:param agent: Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response.
|
|
13313
13313
|
:param collector: Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs.
|
|
13314
13314
|
:param condition: Contains configurations for a condition node in your flow. Defines conditions that lead to different branches of the flow.
|
|
13315
|
-
:param inline_code: Inline code
|
|
13315
|
+
:param inline_code: Contains configurations for an inline code node in your flow. Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function.
|
|
13316
13316
|
:param input: Contains configurations for an input flow node in your flow. The first node in the flow. ``inputs`` can't be specified for this node.
|
|
13317
13317
|
:param iterator: Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.
|
|
13318
13318
|
:param knowledge_base: Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response.
|
|
@@ -13511,7 +13511,9 @@ class CfnFlow(
|
|
|
13511
13511
|
def inline_code(
|
|
13512
13512
|
self,
|
|
13513
13513
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.InlineCodeFlowNodeConfigurationProperty"]]:
|
|
13514
|
-
'''
|
|
13514
|
+
'''Contains configurations for an inline code node in your flow.
|
|
13515
|
+
|
|
13516
|
+
Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function.
|
|
13515
13517
|
|
|
13516
13518
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeconfiguration.html#cfn-bedrock-flow-flownodeconfiguration-inlinecode
|
|
13517
13519
|
'''
|
|
@@ -13655,11 +13657,11 @@ class CfnFlow(
|
|
|
13655
13657
|
name: builtins.str,
|
|
13656
13658
|
type: builtins.str,
|
|
13657
13659
|
) -> None:
|
|
13658
|
-
'''Contains configurations for an input
|
|
13660
|
+
'''Contains configurations for an input in an Amazon Bedrock Flows node.
|
|
13659
13661
|
|
|
13660
13662
|
:param expression: An expression that formats the input for the node. For an explanation of how to create expressions, see `Expressions in Prompt flows in Amazon Bedrock <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-expressions.html>`_ .
|
|
13661
|
-
:param name:
|
|
13662
|
-
:param type:
|
|
13663
|
+
:param name: Specifies a name for the input that you can reference.
|
|
13664
|
+
:param type: Specifies the data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
|
|
13663
13665
|
|
|
13664
13666
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeinput.html
|
|
13665
13667
|
:exampleMetadata: fixture=_generated
|
|
@@ -13701,7 +13703,7 @@ class CfnFlow(
|
|
|
13701
13703
|
|
|
13702
13704
|
@builtins.property
|
|
13703
13705
|
def name(self) -> builtins.str:
|
|
13704
|
-
'''
|
|
13706
|
+
'''Specifies a name for the input that you can reference.
|
|
13705
13707
|
|
|
13706
13708
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeinput.html#cfn-bedrock-flow-flownodeinput-name
|
|
13707
13709
|
'''
|
|
@@ -13711,7 +13713,7 @@ class CfnFlow(
|
|
|
13711
13713
|
|
|
13712
13714
|
@builtins.property
|
|
13713
13715
|
def type(self) -> builtins.str:
|
|
13714
|
-
'''
|
|
13716
|
+
'''Specifies the data type of the input.
|
|
13715
13717
|
|
|
13716
13718
|
If the input doesn't match this type at runtime, a validation error will be thrown.
|
|
13717
13719
|
|
|
@@ -14169,10 +14171,12 @@ class CfnFlow(
|
|
|
14169
14171
|
)
|
|
14170
14172
|
class InlineCodeFlowNodeConfigurationProperty:
|
|
14171
14173
|
def __init__(self, *, code: builtins.str, language: builtins.str) -> None:
|
|
14172
|
-
'''
|
|
14174
|
+
'''Contains configurations for an inline code node in your flow.
|
|
14175
|
+
|
|
14176
|
+
Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function.
|
|
14173
14177
|
|
|
14174
|
-
:param code: The inline code
|
|
14175
|
-
:param language:
|
|
14178
|
+
:param code: The code that's executed in your inline code node. The code can access input data from previous nodes in the flow, perform operations on that data, and produce output that can be used by other nodes in your flow. The code must be valid in the programming ``language`` that you specify.
|
|
14179
|
+
:param language: The programming language used by your inline code node. The code must be valid in the programming ``language`` that you specify. Currently, only Python 3 ( ``Python_3`` ) is supported.
|
|
14176
14180
|
|
|
14177
14181
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-inlinecodeflownodeconfiguration.html
|
|
14178
14182
|
:exampleMetadata: fixture=_generated
|
|
@@ -14199,9 +14203,11 @@ class CfnFlow(
|
|
|
14199
14203
|
|
|
14200
14204
|
@builtins.property
|
|
14201
14205
|
def code(self) -> builtins.str:
|
|
14202
|
-
'''The inline code
|
|
14206
|
+
'''The code that's executed in your inline code node.
|
|
14203
14207
|
|
|
14204
|
-
|
|
14208
|
+
The code can access input data from previous nodes in the flow, perform operations on that data, and produce output that can be used by other nodes in your flow.
|
|
14209
|
+
|
|
14210
|
+
The code must be valid in the programming ``language`` that you specify.
|
|
14205
14211
|
|
|
14206
14212
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-inlinecodeflownodeconfiguration.html#cfn-bedrock-flow-inlinecodeflownodeconfiguration-code
|
|
14207
14213
|
'''
|
|
@@ -14211,7 +14217,9 @@ class CfnFlow(
|
|
|
14211
14217
|
|
|
14212
14218
|
@builtins.property
|
|
14213
14219
|
def language(self) -> builtins.str:
|
|
14214
|
-
'''
|
|
14220
|
+
'''The programming language used by your inline code node.
|
|
14221
|
+
|
|
14222
|
+
The code must be valid in the programming ``language`` that you specify. Currently, only Python 3 ( ``Python_3`` ) is supported.
|
|
14215
14223
|
|
|
14216
14224
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-inlinecodeflownodeconfiguration.html#cfn-bedrock-flow-inlinecodeflownodeconfiguration-language
|
|
14217
14225
|
'''
|
|
@@ -14249,7 +14257,7 @@ class CfnFlow(
|
|
|
14249
14257
|
) -> None:
|
|
14250
14258
|
'''Contains configurations for a knowledge base node in a flow.
|
|
14251
14259
|
|
|
14252
|
-
This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see `Node types in
|
|
14260
|
+
This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
14253
14261
|
|
|
14254
14262
|
:param knowledge_base_id: The unique identifier of the knowledge base to query.
|
|
14255
14263
|
:param guardrail_configuration: Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration.
|
|
@@ -14338,7 +14346,7 @@ class CfnFlow(
|
|
|
14338
14346
|
def __init__(self, *, lambda_arn: builtins.str) -> None:
|
|
14339
14347
|
'''Contains configurations for a Lambda function node in the flow.
|
|
14340
14348
|
|
|
14341
|
-
You specify the Lambda function to invoke and the inputs into the function. The output is the response that is defined in the Lambda function. For more information, see `Node types in
|
|
14349
|
+
You specify the Lambda function to invoke and the inputs into the function. The output is the response that is defined in the Lambda function. For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
14342
14350
|
|
|
14343
14351
|
:param lambda_arn: The Amazon Resource Name (ARN) of the Lambda function to invoke.
|
|
14344
14352
|
|
|
@@ -14397,7 +14405,7 @@ class CfnFlow(
|
|
|
14397
14405
|
) -> None:
|
|
14398
14406
|
'''Contains configurations for a Lex node in the flow.
|
|
14399
14407
|
|
|
14400
|
-
You specify a Amazon Lex bot to invoke. This node takes an utterance as the input and returns as the output the intent identified by the Amazon Lex bot. For more information, see `Node types in
|
|
14408
|
+
You specify a Amazon Lex bot to invoke. This node takes an utterance as the input and returns as the output the intent identified by the Amazon Lex bot. For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
14401
14409
|
|
|
14402
14410
|
:param bot_alias_arn: The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
|
|
14403
14411
|
:param locale_id: The Region to invoke the Amazon Lex bot in.
|
|
@@ -14473,7 +14481,7 @@ class CfnFlow(
|
|
|
14473
14481
|
) -> None:
|
|
14474
14482
|
'''Contains configurations for a prompt node in the flow.
|
|
14475
14483
|
|
|
14476
|
-
You can use a prompt from Prompt management or you can define one in this node. If the prompt contains variables, the inputs into this node will fill in the variables. The output from this node is the response generated by the model. For more information, see `Node types in
|
|
14484
|
+
You can use a prompt from Prompt management or you can define one in this node. If the prompt contains variables, the inputs into this node will fill in the variables. The output from this node is the response generated by the model. For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
14477
14485
|
|
|
14478
14486
|
:param source_configuration: Specifies whether the prompt is from Prompt management or defined inline.
|
|
14479
14487
|
:param guardrail_configuration: Contains configurations for a guardrail to apply to the prompt in this node and the response generated from it.
|
|
@@ -15715,7 +15723,7 @@ class CfnFlowAlias(
|
|
|
15715
15723
|
:param flow_arn: The Amazon Resource Name (ARN) of the alias.
|
|
15716
15724
|
:param name: The name of the alias.
|
|
15717
15725
|
:param routing_configuration: A list of configurations about the versions that the alias maps to. Currently, you can only specify one.
|
|
15718
|
-
:param concurrency_configuration:
|
|
15726
|
+
:param concurrency_configuration: The configuration that specifies how nodes in the flow are executed concurrently.
|
|
15719
15727
|
:param description: A description of the alias.
|
|
15720
15728
|
:param tags: Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:. - `Tag naming limits and requirements <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions>`_ - `Tagging best practices <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices>`_
|
|
15721
15729
|
'''
|
|
@@ -15869,6 +15877,7 @@ class CfnFlowAlias(
|
|
|
15869
15877
|
def concurrency_configuration(
|
|
15870
15878
|
self,
|
|
15871
15879
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowAlias.FlowAliasConcurrencyConfigurationProperty"]]:
|
|
15880
|
+
'''The configuration that specifies how nodes in the flow are executed concurrently.'''
|
|
15872
15881
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowAlias.FlowAliasConcurrencyConfigurationProperty"]], jsii.get(self, "concurrencyConfiguration"))
|
|
15873
15882
|
|
|
15874
15883
|
@concurrency_configuration.setter
|
|
@@ -15925,9 +15934,12 @@ class CfnFlowAlias(
|
|
|
15925
15934
|
type: builtins.str,
|
|
15926
15935
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
15927
15936
|
) -> None:
|
|
15928
|
-
'''
|
|
15929
|
-
|
|
15930
|
-
|
|
15937
|
+
'''Determines how multiple nodes in a flow can run in parallel.
|
|
15938
|
+
|
|
15939
|
+
Running nodes concurrently can improve your flow's performance.
|
|
15940
|
+
|
|
15941
|
+
:param type: The type of concurrency to use for parallel node execution. Specify one of the following options:. - ``Automatic`` - Amazon Bedrock determines which nodes can be executed in parallel based on the flow definition and its dependencies. - ``Manual`` - You specify which nodes can be executed in parallel.
|
|
15942
|
+
:param max_concurrency: The maximum number of nodes that can be executed concurrently in the flow.
|
|
15931
15943
|
|
|
15932
15944
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowalias-flowaliasconcurrencyconfiguration.html
|
|
15933
15945
|
:exampleMetadata: fixture=_generated
|
|
@@ -15957,7 +15969,11 @@ class CfnFlowAlias(
|
|
|
15957
15969
|
|
|
15958
15970
|
@builtins.property
|
|
15959
15971
|
def type(self) -> builtins.str:
|
|
15960
|
-
'''
|
|
15972
|
+
'''The type of concurrency to use for parallel node execution. Specify one of the following options:.
|
|
15973
|
+
|
|
15974
|
+
- ``Automatic`` - Amazon Bedrock determines which nodes can be executed in parallel based on the flow definition and its dependencies.
|
|
15975
|
+
- ``Manual`` - You specify which nodes can be executed in parallel.
|
|
15976
|
+
|
|
15961
15977
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowalias-flowaliasconcurrencyconfiguration.html#cfn-bedrock-flowalias-flowaliasconcurrencyconfiguration-type
|
|
15962
15978
|
'''
|
|
15963
15979
|
result = self._values.get("type")
|
|
@@ -15966,7 +15982,7 @@ class CfnFlowAlias(
|
|
|
15966
15982
|
|
|
15967
15983
|
@builtins.property
|
|
15968
15984
|
def max_concurrency(self) -> typing.Optional[jsii.Number]:
|
|
15969
|
-
'''
|
|
15985
|
+
'''The maximum number of nodes that can be executed concurrently in the flow.
|
|
15970
15986
|
|
|
15971
15987
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowalias-flowaliasconcurrencyconfiguration.html#cfn-bedrock-flowalias-flowaliasconcurrencyconfiguration-maxconcurrency
|
|
15972
15988
|
'''
|
|
@@ -16068,7 +16084,7 @@ class CfnFlowAliasProps:
|
|
|
16068
16084
|
:param flow_arn: The Amazon Resource Name (ARN) of the alias.
|
|
16069
16085
|
:param name: The name of the alias.
|
|
16070
16086
|
:param routing_configuration: A list of configurations about the versions that the alias maps to. Currently, you can only specify one.
|
|
16071
|
-
:param concurrency_configuration:
|
|
16087
|
+
:param concurrency_configuration: The configuration that specifies how nodes in the flow are executed concurrently.
|
|
16072
16088
|
:param description: A description of the alias.
|
|
16073
16089
|
:param tags: Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:. - `Tag naming limits and requirements <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions>`_ - `Tagging best practices <https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices>`_
|
|
16074
16090
|
|
|
@@ -16159,7 +16175,8 @@ class CfnFlowAliasProps:
|
|
|
16159
16175
|
def concurrency_configuration(
|
|
16160
16176
|
self,
|
|
16161
16177
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFlowAlias.FlowAliasConcurrencyConfigurationProperty]]:
|
|
16162
|
-
'''
|
|
16178
|
+
'''The configuration that specifies how nodes in the flow are executed concurrently.
|
|
16179
|
+
|
|
16163
16180
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-flowalias.html#cfn-bedrock-flowalias-concurrencyconfiguration
|
|
16164
16181
|
'''
|
|
16165
16182
|
result = self._values.get("concurrency_configuration")
|
|
@@ -16755,7 +16772,7 @@ class CfnFlowVersion(
|
|
|
16755
16772
|
def __init__(self, *, agent_alias_arn: builtins.str) -> None:
|
|
16756
16773
|
'''Defines an agent node in your flow.
|
|
16757
16774
|
|
|
16758
|
-
You specify the agent to invoke at this point in the flow. For more information, see `Node types in
|
|
16775
|
+
You specify the agent to invoke at this point in the flow. For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
16759
16776
|
|
|
16760
16777
|
:param agent_alias_arn: The Amazon Resource Name (ARN) of the alias of the agent to invoke.
|
|
16761
16778
|
|
|
@@ -16813,7 +16830,7 @@ class CfnFlowVersion(
|
|
|
16813
16830
|
) -> None:
|
|
16814
16831
|
'''Defines a condition node in your flow.
|
|
16815
16832
|
|
|
16816
|
-
You can specify conditions that determine which node comes next in the flow. For more information, see `Node types in
|
|
16833
|
+
You can specify conditions that determine which node comes next in the flow. For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
16817
16834
|
|
|
16818
16835
|
:param conditions: An array of conditions. Each member contains the name of a condition and an expression that defines the condition.
|
|
16819
16836
|
|
|
@@ -17517,12 +17534,12 @@ class CfnFlowVersion(
|
|
|
17517
17534
|
) -> None:
|
|
17518
17535
|
'''Contains configurations for a node in your flow.
|
|
17519
17536
|
|
|
17520
|
-
For more information, see `Node types in
|
|
17537
|
+
For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
17521
17538
|
|
|
17522
17539
|
:param agent: Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response.
|
|
17523
17540
|
:param collector: Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs.
|
|
17524
17541
|
:param condition: Contains configurations for a condition node in your flow. Defines conditions that lead to different branches of the flow.
|
|
17525
|
-
:param inline_code: Inline code
|
|
17542
|
+
:param inline_code: Contains configurations for an inline code node in your flow. Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function.
|
|
17526
17543
|
:param input: Contains configurations for an input flow node in your flow. The first node in the flow. ``inputs`` can't be specified for this node.
|
|
17527
17544
|
:param iterator: Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.
|
|
17528
17545
|
:param knowledge_base: Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response.
|
|
@@ -17721,7 +17738,9 @@ class CfnFlowVersion(
|
|
|
17721
17738
|
def inline_code(
|
|
17722
17739
|
self,
|
|
17723
17740
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty"]]:
|
|
17724
|
-
'''
|
|
17741
|
+
'''Contains configurations for an inline code node in your flow.
|
|
17742
|
+
|
|
17743
|
+
Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function.
|
|
17725
17744
|
|
|
17726
17745
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flownodeconfiguration.html#cfn-bedrock-flowversion-flownodeconfiguration-inlinecode
|
|
17727
17746
|
'''
|
|
@@ -17865,11 +17884,11 @@ class CfnFlowVersion(
|
|
|
17865
17884
|
name: builtins.str,
|
|
17866
17885
|
type: builtins.str,
|
|
17867
17886
|
) -> None:
|
|
17868
|
-
'''Contains configurations for an input
|
|
17887
|
+
'''Contains configurations for an input in an Amazon Bedrock Flows node.
|
|
17869
17888
|
|
|
17870
17889
|
:param expression: An expression that formats the input for the node. For an explanation of how to create expressions, see `Expressions in Prompt flows in Amazon Bedrock <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-expressions.html>`_ .
|
|
17871
|
-
:param name:
|
|
17872
|
-
:param type:
|
|
17890
|
+
:param name: Specifies a name for the input that you can reference.
|
|
17891
|
+
:param type: Specifies the data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
|
|
17873
17892
|
|
|
17874
17893
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flownodeinput.html
|
|
17875
17894
|
:exampleMetadata: fixture=_generated
|
|
@@ -17911,7 +17930,7 @@ class CfnFlowVersion(
|
|
|
17911
17930
|
|
|
17912
17931
|
@builtins.property
|
|
17913
17932
|
def name(self) -> builtins.str:
|
|
17914
|
-
'''
|
|
17933
|
+
'''Specifies a name for the input that you can reference.
|
|
17915
17934
|
|
|
17916
17935
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-flownodeinput.html#cfn-bedrock-flowversion-flownodeinput-name
|
|
17917
17936
|
'''
|
|
@@ -17921,7 +17940,7 @@ class CfnFlowVersion(
|
|
|
17921
17940
|
|
|
17922
17941
|
@builtins.property
|
|
17923
17942
|
def type(self) -> builtins.str:
|
|
17924
|
-
'''
|
|
17943
|
+
'''Specifies the data type of the input.
|
|
17925
17944
|
|
|
17926
17945
|
If the input doesn't match this type at runtime, a validation error will be thrown.
|
|
17927
17946
|
|
|
@@ -18322,10 +18341,12 @@ class CfnFlowVersion(
|
|
|
18322
18341
|
)
|
|
18323
18342
|
class InlineCodeFlowNodeConfigurationProperty:
|
|
18324
18343
|
def __init__(self, *, code: builtins.str, language: builtins.str) -> None:
|
|
18325
|
-
'''
|
|
18344
|
+
'''Contains configurations for an inline code node in your flow.
|
|
18345
|
+
|
|
18346
|
+
Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function.
|
|
18326
18347
|
|
|
18327
|
-
:param code: The inline code
|
|
18328
|
-
:param language:
|
|
18348
|
+
:param code: The code that's executed in your inline code node. The code can access input data from previous nodes in the flow, perform operations on that data, and produce output that can be used by other nodes in your flow. The code must be valid in the programming ``language`` that you specify.
|
|
18349
|
+
:param language: The programming language used by your inline code node. The code must be valid in the programming ``language`` that you specify. Currently, only Python 3 ( ``Python_3`` ) is supported.
|
|
18329
18350
|
|
|
18330
18351
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-inlinecodeflownodeconfiguration.html
|
|
18331
18352
|
:exampleMetadata: fixture=_generated
|
|
@@ -18352,9 +18373,11 @@ class CfnFlowVersion(
|
|
|
18352
18373
|
|
|
18353
18374
|
@builtins.property
|
|
18354
18375
|
def code(self) -> builtins.str:
|
|
18355
|
-
'''The inline code
|
|
18376
|
+
'''The code that's executed in your inline code node.
|
|
18356
18377
|
|
|
18357
|
-
|
|
18378
|
+
The code can access input data from previous nodes in the flow, perform operations on that data, and produce output that can be used by other nodes in your flow.
|
|
18379
|
+
|
|
18380
|
+
The code must be valid in the programming ``language`` that you specify.
|
|
18358
18381
|
|
|
18359
18382
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-inlinecodeflownodeconfiguration.html#cfn-bedrock-flowversion-inlinecodeflownodeconfiguration-code
|
|
18360
18383
|
'''
|
|
@@ -18364,7 +18387,9 @@ class CfnFlowVersion(
|
|
|
18364
18387
|
|
|
18365
18388
|
@builtins.property
|
|
18366
18389
|
def language(self) -> builtins.str:
|
|
18367
|
-
'''
|
|
18390
|
+
'''The programming language used by your inline code node.
|
|
18391
|
+
|
|
18392
|
+
The code must be valid in the programming ``language`` that you specify. Currently, only Python 3 ( ``Python_3`` ) is supported.
|
|
18368
18393
|
|
|
18369
18394
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-inlinecodeflownodeconfiguration.html#cfn-bedrock-flowversion-inlinecodeflownodeconfiguration-language
|
|
18370
18395
|
'''
|
|
@@ -18402,7 +18427,7 @@ class CfnFlowVersion(
|
|
|
18402
18427
|
) -> None:
|
|
18403
18428
|
'''Contains configurations for a knowledge base node in a flow.
|
|
18404
18429
|
|
|
18405
|
-
This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see `Node types in
|
|
18430
|
+
This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
18406
18431
|
|
|
18407
18432
|
:param knowledge_base_id: The unique identifier of the knowledge base to query.
|
|
18408
18433
|
:param guardrail_configuration: Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration.
|
|
@@ -18491,7 +18516,7 @@ class CfnFlowVersion(
|
|
|
18491
18516
|
def __init__(self, *, lambda_arn: builtins.str) -> None:
|
|
18492
18517
|
'''Contains configurations for a Lambda function node in the flow.
|
|
18493
18518
|
|
|
18494
|
-
You specify the Lambda function to invoke and the inputs into the function. The output is the response that is defined in the Lambda function. For more information, see `Node types in
|
|
18519
|
+
You specify the Lambda function to invoke and the inputs into the function. The output is the response that is defined in the Lambda function. For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
18495
18520
|
|
|
18496
18521
|
:param lambda_arn: The Amazon Resource Name (ARN) of the Lambda function to invoke.
|
|
18497
18522
|
|
|
@@ -18550,7 +18575,7 @@ class CfnFlowVersion(
|
|
|
18550
18575
|
) -> None:
|
|
18551
18576
|
'''Contains configurations for a Lex node in the flow.
|
|
18552
18577
|
|
|
18553
|
-
You specify a Amazon Lex bot to invoke. This node takes an utterance as the input and returns as the output the intent identified by the Amazon Lex bot. For more information, see `Node types in
|
|
18578
|
+
You specify a Amazon Lex bot to invoke. This node takes an utterance as the input and returns as the output the intent identified by the Amazon Lex bot. For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
18554
18579
|
|
|
18555
18580
|
:param bot_alias_arn: The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
|
|
18556
18581
|
:param locale_id: The Region to invoke the Amazon Lex bot in.
|
|
@@ -18626,7 +18651,7 @@ class CfnFlowVersion(
|
|
|
18626
18651
|
) -> None:
|
|
18627
18652
|
'''Contains configurations for a prompt node in the flow.
|
|
18628
18653
|
|
|
18629
|
-
You can use a prompt from Prompt management or you can define one in this node. If the prompt contains variables, the inputs into this node will fill in the variables. The output from this node is the response generated by the model. For more information, see `Node types in
|
|
18654
|
+
You can use a prompt from Prompt management or you can define one in this node. If the prompt contains variables, the inputs into this node will fill in the variables. The output from this node is the response generated by the model. For more information, see `Node types in a flow <https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html>`_ in the Amazon Bedrock User Guide.
|
|
18630
18655
|
|
|
18631
18656
|
:param source_configuration: Specifies whether the prompt is from Prompt management or defined inline.
|
|
18632
18657
|
:param guardrail_configuration: Contains configurations for a guardrail to apply to the prompt in this node and the response generated from it.
|
|
@@ -2121,12 +2121,10 @@ class CfnHookVersion(
|
|
|
2121
2121
|
@builtins.property
|
|
2122
2122
|
@jsii.member(jsii_name="attrVisibility")
|
|
2123
2123
|
def attr_visibility(self) -> builtins.str:
|
|
2124
|
-
'''The
|
|
2124
|
+
'''The visibility level that determines who can see and use this Hook in CloudFormation operations:.
|
|
2125
2125
|
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
- ``PRIVATE`` : The extension (Hook) is only visible and usable within the account in which it's registered. CloudFormation marks any resources you register as ``PRIVATE`` .
|
|
2129
|
-
- ``PUBLIC`` : The extension (Hook) is publicly visible and usable within any AWS account.
|
|
2126
|
+
- ``PRIVATE`` : The Hook is only visible and usable within the account where it was registered. CloudFormation automatically marks any Hooks you register as ``PRIVATE`` .
|
|
2127
|
+
- ``PUBLIC`` : The Hook is publicly visible and usable within any AWS account.
|
|
2130
2128
|
|
|
2131
2129
|
:cloudformationAttribute: Visibility
|
|
2132
2130
|
'''
|
|
@@ -4048,12 +4046,10 @@ class CfnModuleVersion(
|
|
|
4048
4046
|
@builtins.property
|
|
4049
4047
|
@jsii.member(jsii_name="attrVisibility")
|
|
4050
4048
|
def attr_visibility(self) -> builtins.str:
|
|
4051
|
-
'''The
|
|
4052
|
-
|
|
4053
|
-
Valid values include:
|
|
4049
|
+
'''The visibility level that determines who can see and use this module in CloudFormation operations:.
|
|
4054
4050
|
|
|
4055
|
-
- ``PRIVATE`` : The
|
|
4056
|
-
- ``PUBLIC`` : The
|
|
4051
|
+
- ``PRIVATE`` : The module is only visible and usable within the account where it was registered. CloudFormation automatically marks any modules you register as ``PRIVATE`` .
|
|
4052
|
+
- ``PUBLIC`` : The module is publicly visible and usable within any AWS account.
|
|
4057
4053
|
|
|
4058
4054
|
:cloudformationAttribute: Visibility
|
|
4059
4055
|
'''
|
|
@@ -5128,7 +5124,7 @@ class CfnResourceVersion(
|
|
|
5128
5124
|
|
|
5129
5125
|
CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
|
|
5130
5126
|
|
|
5131
|
-
|
|
5127
|
+
Possible values:
|
|
5132
5128
|
|
|
5133
5129
|
- ``FULLY_MUTABLE`` : The resource type includes an update handler to process updates to the type during stack update operations.
|
|
5134
5130
|
- ``IMMUTABLE`` : The resource type doesn't include an update handler, so the type can't be updated and must instead be replaced during stack update operations.
|
|
@@ -5164,12 +5160,10 @@ class CfnResourceVersion(
|
|
|
5164
5160
|
@builtins.property
|
|
5165
5161
|
@jsii.member(jsii_name="attrVisibility")
|
|
5166
5162
|
def attr_visibility(self) -> builtins.str:
|
|
5167
|
-
'''The
|
|
5168
|
-
|
|
5169
|
-
Valid values include:
|
|
5163
|
+
'''The visibility level that determines who can see and use this resource in CloudFormation operations:.
|
|
5170
5164
|
|
|
5171
|
-
- ``PRIVATE`` : The
|
|
5172
|
-
- ``PUBLIC`` : The
|
|
5165
|
+
- ``PRIVATE`` : The resource is only visible and usable within the account where it was registered. CloudFormation automatically marks any resources you register as ``PRIVATE`` .
|
|
5166
|
+
- ``PUBLIC`` : The resource is publicly visible and usable within any AWS account.
|
|
5173
5167
|
|
|
5174
5168
|
:cloudformationAttribute: Visibility
|
|
5175
5169
|
'''
|
|
@@ -5449,7 +5443,7 @@ class CfnStack(
|
|
|
5449
5443
|
):
|
|
5450
5444
|
'''The ``AWS::CloudFormation::Stack`` resource nests a stack as a resource in a top-level template.
|
|
5451
5445
|
|
|
5452
|
-
For more information, see `
|
|
5446
|
+
For more information, see `Nested stacks <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html>`_ in the *AWS CloudFormation User Guide* .
|
|
5453
5447
|
|
|
5454
5448
|
You can add output values from a nested stack within the containing template. You use the `GetAtt <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html>`_ function with the nested stack's logical name and the name of the output value in the nested stack in the format ``Outputs. *NestedStackOutputName*`` .
|
|
5455
5449
|
|
|
@@ -5457,7 +5451,7 @@ class CfnStack(
|
|
|
5457
5451
|
|
|
5458
5452
|
When you apply template changes to update a top-level stack, CloudFormation updates the top-level stack and initiates an update to its nested stacks. CloudFormation updates the resources of modified nested stacks, but doesn't update the resources of unmodified nested stacks.
|
|
5459
5453
|
|
|
5460
|
-
|
|
5454
|
+
For stacks that contain IAM resources, you must acknowledge IAM capabilities. Also, make sure that you have cancel update stack permissions, which are required if an update rolls back. For more information about IAM and CloudFormation , see `Controlling access with AWS Identity and Access Management <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html>`_ in the *AWS CloudFormation User Guide* .
|
|
5461
5455
|
.. epigraph::
|
|
5462
5456
|
|
|
5463
5457
|
A subset of ``AWS::CloudFormation::Stack`` resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control to configure.
|
|
@@ -5623,7 +5617,7 @@ class CfnStack(
|
|
|
5623
5617
|
@builtins.property
|
|
5624
5618
|
@jsii.member(jsii_name="attrParentId")
|
|
5625
5619
|
def attr_parent_id(self) -> builtins.str:
|
|
5626
|
-
'''For nested stacks
|
|
5620
|
+
'''For nested stacks, returns the stack ID of the direct parent of this stack.
|
|
5627
5621
|
|
|
5628
5622
|
For the first level of nested stacks, the root stack is also the parent stack.
|
|
5629
5623
|
|
|
@@ -5634,7 +5628,7 @@ class CfnStack(
|
|
|
5634
5628
|
@builtins.property
|
|
5635
5629
|
@jsii.member(jsii_name="attrRootId")
|
|
5636
5630
|
def attr_root_id(self) -> builtins.str:
|
|
5637
|
-
'''For nested stacks
|
|
5631
|
+
'''For nested stacks, returns the stack ID of the top-level stack to which the nested stack ultimately belongs.
|
|
5638
5632
|
|
|
5639
5633
|
:cloudformationAttribute: RootId
|
|
5640
5634
|
'''
|
|
@@ -6102,7 +6096,7 @@ class CfnStackSet(
|
|
|
6102
6096
|
:param permission_model: Describes how the IAM roles required for stack set operations are created. - With ``SELF_MANAGED`` permissions, you must create the administrator and execution roles required to deploy to target accounts. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* . - With ``SERVICE_MANAGED`` permissions, StackSets automatically creates the IAM roles required to deploy to accounts managed by AWS Organizations . For more information, see `Activate trusted access for stack sets with AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html>`_ in the *AWS CloudFormation User Guide* .
|
|
6103
6097
|
:param stack_set_name: The name to associate with the stack set. The name must be unique in the Region where you create your stack set.
|
|
6104
6098
|
:param administration_role_arn: The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* . Valid only if the permissions model is ``SELF_MANAGED`` .
|
|
6105
|
-
:param auto_deployment: Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see `
|
|
6099
|
+
:param auto_deployment: Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see `Enable or disable automatic deployments for StackSets in AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html>`_ in the *AWS CloudFormation User Guide* . Required if the permissions model is ``SERVICE_MANAGED`` . (Not used with self-managed permissions.)
|
|
6106
6100
|
:param call_as: Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, ``SELF`` is specified. Use ``SELF`` for stack sets with self-managed permissions. - To create a stack set with service-managed permissions while signed in to the management account, specify ``SELF`` . - To create a stack set with service-managed permissions while signed in to a delegated administrator account, specify ``DELEGATED_ADMIN`` . Your AWS account must be registered as a delegated admin in the management account. For more information, see `Register a delegated administrator <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html>`_ in the *AWS CloudFormation User Guide* . Stack sets with service-managed permissions are created in the management account, including stack sets that are created by delegated administrators. Valid only if the permissions model is ``SERVICE_MANAGED`` .
|
|
6107
6101
|
:param capabilities: The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your AWS account —for example, by creating new IAM users. For more information, see `Acknowledging IAM resources in CloudFormation templates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities>`_ in the *AWS CloudFormation User Guide* .
|
|
6108
6102
|
:param description: A description of the stack set.
|
|
@@ -7080,7 +7074,7 @@ class CfnStackSetProps:
|
|
|
7080
7074
|
:param permission_model: Describes how the IAM roles required for stack set operations are created. - With ``SELF_MANAGED`` permissions, you must create the administrator and execution roles required to deploy to target accounts. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* . - With ``SERVICE_MANAGED`` permissions, StackSets automatically creates the IAM roles required to deploy to accounts managed by AWS Organizations . For more information, see `Activate trusted access for stack sets with AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html>`_ in the *AWS CloudFormation User Guide* .
|
|
7081
7075
|
:param stack_set_name: The name to associate with the stack set. The name must be unique in the Region where you create your stack set.
|
|
7082
7076
|
:param administration_role_arn: The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see `Grant self-managed permissions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html>`_ in the *AWS CloudFormation User Guide* . Valid only if the permissions model is ``SELF_MANAGED`` .
|
|
7083
|
-
:param auto_deployment: Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see `
|
|
7077
|
+
:param auto_deployment: Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU). For more information, see `Enable or disable automatic deployments for StackSets in AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html>`_ in the *AWS CloudFormation User Guide* . Required if the permissions model is ``SERVICE_MANAGED`` . (Not used with self-managed permissions.)
|
|
7084
7078
|
:param call_as: Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default, ``SELF`` is specified. Use ``SELF`` for stack sets with self-managed permissions. - To create a stack set with service-managed permissions while signed in to the management account, specify ``SELF`` . - To create a stack set with service-managed permissions while signed in to a delegated administrator account, specify ``DELEGATED_ADMIN`` . Your AWS account must be registered as a delegated admin in the management account. For more information, see `Register a delegated administrator <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html>`_ in the *AWS CloudFormation User Guide* . Stack sets with service-managed permissions are created in the management account, including stack sets that are created by delegated administrators. Valid only if the permissions model is ``SERVICE_MANAGED`` .
|
|
7085
7079
|
:param capabilities: The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your AWS account —for example, by creating new IAM users. For more information, see `Acknowledging IAM resources in CloudFormation templates <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities>`_ in the *AWS CloudFormation User Guide* .
|
|
7086
7080
|
:param description: A description of the stack set.
|
|
@@ -7249,7 +7243,7 @@ class CfnStackSetProps:
|
|
|
7249
7243
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStackSet.AutoDeploymentProperty]]:
|
|
7250
7244
|
'''Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to a target organization or organizational unit (OU).
|
|
7251
7245
|
|
|
7252
|
-
For more information, see `
|
|
7246
|
+
For more information, see `Enable or disable automatic deployments for StackSets in AWS Organizations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html>`_ in the *AWS CloudFormation User Guide* .
|
|
7253
7247
|
|
|
7254
7248
|
Required if the permissions model is ``SERVICE_MANAGED`` . (Not used with self-managed permissions.)
|
|
7255
7249
|
|
|
@@ -681,7 +681,7 @@ You can allow the traffic from the CloudFront managed prefix list named **com.am
|
|
|
681
681
|
cf_origin_facing = ec2.PrefixList.from_lookup(self, "CloudFrontOriginFacing",
|
|
682
682
|
prefix_list_name="com.amazonaws.global.cloudfront.origin-facing"
|
|
683
683
|
)
|
|
684
|
-
alb.connections.allow_from(
|
|
684
|
+
alb.connections.allow_from(cf_origin_facing, ec2.Port.HTTP)
|
|
685
685
|
```
|
|
686
686
|
|
|
687
687
|
#### The VPC origin service security group
|
|
@@ -2877,7 +2877,7 @@ class CfnTrail(
|
|
|
2877
2877
|
:param insight_selectors: A JSON string that contains the Insights types you want to log on a trail. ``ApiCallRateInsight`` and ``ApiErrorRateInsight`` are valid Insight types. The ``ApiCallRateInsight`` Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The ``ApiErrorRateInsight`` Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.
|
|
2878
2878
|
:param is_multi_region_trail: Specifies whether the trail applies only to the current Region or to all Regions. The default is false. If the trail exists only in the current Region and this value is set to true, shadow trails (replications of the trail) will be created in the other Regions. If the trail exists in all Regions and this value is set to false, the trail will remain in the Region where it was created, and its shadow trails in other Regions will be deleted. As a best practice, consider using trails that log events in all Regions.
|
|
2879
2879
|
:param is_organization_trail: Specifies whether the trail is applied to all accounts in an organization in AWS Organizations , or only for the current AWS account . The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the management account for an organization in AWS Organizations . If the trail is not an organization trail and this is set to ``true`` , the trail will be created in all AWS accounts that belong to the organization. If the trail is an organization trail and this is set to ``false`` , the trail will remain in the current AWS account but be deleted from all member accounts in the organization. .. epigraph:: Only the management account for the organization can convert an organization trail to a non-organization trail, or convert a non-organization trail to an organization trail.
|
|
2880
|
-
:param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - 12345678-1234-1234-1234-123456789012
|
|
2880
|
+
:param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the logs and digest files delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - 12345678-1234-1234-1234-123456789012
|
|
2881
2881
|
:param s3_key_prefix: Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see `Finding Your CloudTrail Log Files <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files>`_ . The maximum length is 200 characters.
|
|
2882
2882
|
:param sns_topic_name: Specifies the name or ARN of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
|
|
2883
2883
|
:param tags: A custom set of tags (key-value pairs) for this trail.
|
|
@@ -3157,7 +3157,7 @@ class CfnTrail(
|
|
|
3157
3157
|
@builtins.property
|
|
3158
3158
|
@jsii.member(jsii_name="kmsKeyId")
|
|
3159
3159
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
3160
|
-
'''Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail.'''
|
|
3160
|
+
'''Specifies the AWS KMS key ID to use to encrypt the logs and digest files delivered by CloudTrail.'''
|
|
3161
3161
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyId"))
|
|
3162
3162
|
|
|
3163
3163
|
@kms_key_id.setter
|
|
@@ -3945,7 +3945,7 @@ class CfnTrailProps:
|
|
|
3945
3945
|
:param insight_selectors: A JSON string that contains the Insights types you want to log on a trail. ``ApiCallRateInsight`` and ``ApiErrorRateInsight`` are valid Insight types. The ``ApiCallRateInsight`` Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The ``ApiErrorRateInsight`` Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.
|
|
3946
3946
|
:param is_multi_region_trail: Specifies whether the trail applies only to the current Region or to all Regions. The default is false. If the trail exists only in the current Region and this value is set to true, shadow trails (replications of the trail) will be created in the other Regions. If the trail exists in all Regions and this value is set to false, the trail will remain in the Region where it was created, and its shadow trails in other Regions will be deleted. As a best practice, consider using trails that log events in all Regions.
|
|
3947
3947
|
:param is_organization_trail: Specifies whether the trail is applied to all accounts in an organization in AWS Organizations , or only for the current AWS account . The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the management account for an organization in AWS Organizations . If the trail is not an organization trail and this is set to ``true`` , the trail will be created in all AWS accounts that belong to the organization. If the trail is an organization trail and this is set to ``false`` , the trail will remain in the current AWS account but be deleted from all member accounts in the organization. .. epigraph:: Only the management account for the organization can convert an organization trail to a non-organization trail, or convert a non-organization trail to an organization trail.
|
|
3948
|
-
:param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - 12345678-1234-1234-1234-123456789012
|
|
3948
|
+
:param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the logs and digest files delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - 12345678-1234-1234-1234-123456789012
|
|
3949
3949
|
:param s3_key_prefix: Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see `Finding Your CloudTrail Log Files <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files>`_ . The maximum length is 200 characters.
|
|
3950
3950
|
:param sns_topic_name: Specifies the name or ARN of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
|
|
3951
3951
|
:param tags: A custom set of tags (key-value pairs) for this trail.
|
|
@@ -4222,7 +4222,7 @@ class CfnTrailProps:
|
|
|
4222
4222
|
|
|
4223
4223
|
@builtins.property
|
|
4224
4224
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
4225
|
-
'''Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail.
|
|
4225
|
+
'''Specifies the AWS KMS key ID to use to encrypt the logs and digest files delivered by CloudTrail.
|
|
4226
4226
|
|
|
4227
4227
|
The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
|
|
4228
4228
|
|