Class CfnFlowPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin>
- Enclosing class:
CfnFlowPropsMixin
CfnFlowPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnFlowPropsMixin.Buildercreate()static CfnFlowPropsMixin.Buildercreate(CfnPropertyMixinOptions options) customerEncryptionKeyArn(String customerEncryptionKeyArn) The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted with.definition(CfnFlowPropsMixin.FlowDefinitionProperty definition) The definition of the nodes and connections between the nodes in the flow.definition(IResolvable definition) The definition of the nodes and connections between the nodes in the flow.definitionS3Location(CfnFlowPropsMixin.S3LocationProperty definitionS3Location) The Amazon S3 location of the flow definition.definitionS3Location(IResolvable definitionS3Location) The Amazon S3 location of the flow definition.definitionString(String definitionString) The definition of the flow as a JSON-formatted string.definitionSubstitutions(Map<String, ? extends Object> definitionSubstitutions) A map that specifies the mappings for placeholder variables in the prompt flow definition.definitionSubstitutions(IResolvable definitionSubstitutions) A map that specifies the mappings for placeholder variables in the prompt flow definition.description(String description) A description of the flow.executionRoleArn(String executionRoleArn) The Amazon Resource Name (ARN) of the service role with permissions to create a flow.The name of the flow.Metadata that you can assign to a resource as key-value pairs.testAliasTags(Map<String, String> testAliasTags) A map of tag keys and values.testAliasTags(IResolvable testAliasTags) A map of tag keys and values.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnFlowPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnFlowPropsMixin.Builder.
-
customerEncryptionKeyArn
@Stability(Stable) public CfnFlowPropsMixin.Builder customerEncryptionKeyArn(String customerEncryptionKeyArn) The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted with.- Parameters:
customerEncryptionKeyArn- The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted with. This parameter is required.- Returns:
this- See Also:
-
definition
The definition of the nodes and connections between the nodes in the flow.- Parameters:
definition- The definition of the nodes and connections between the nodes in the flow. This parameter is required.- Returns:
this- See Also:
-
definition
@Stability(Stable) public CfnFlowPropsMixin.Builder definition(CfnFlowPropsMixin.FlowDefinitionProperty definition) The definition of the nodes and connections between the nodes in the flow.- Parameters:
definition- The definition of the nodes and connections between the nodes in the flow. This parameter is required.- Returns:
this- See Also:
-
definitionS3Location
@Stability(Stable) public CfnFlowPropsMixin.Builder definitionS3Location(IResolvable definitionS3Location) The Amazon S3 location of the flow definition.- Parameters:
definitionS3Location- The Amazon S3 location of the flow definition. This parameter is required.- Returns:
this- See Also:
-
definitionS3Location
@Stability(Stable) public CfnFlowPropsMixin.Builder definitionS3Location(CfnFlowPropsMixin.S3LocationProperty definitionS3Location) The Amazon S3 location of the flow definition.- Parameters:
definitionS3Location- The Amazon S3 location of the flow definition. This parameter is required.- Returns:
this- See Also:
-
definitionString
The definition of the flow as a JSON-formatted string.The string must match the format in FlowDefinition .
- Parameters:
definitionString- The definition of the flow as a JSON-formatted string. This parameter is required.- Returns:
this- See Also:
-
definitionSubstitutions
@Stability(Stable) public CfnFlowPropsMixin.Builder definitionSubstitutions(IResolvable definitionSubstitutions) A map that specifies the mappings for placeholder variables in the prompt flow definition.This enables the customer to inject values obtained at runtime. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map. Only supported with the
DefinitionStringandDefinitionS3Locationfields.Substitutions must follow the syntax:
${key_name}or${variable_1,variable_2,...}.- Parameters:
definitionSubstitutions- A map that specifies the mappings for placeholder variables in the prompt flow definition. This parameter is required.- Returns:
this- See Also:
-
definitionSubstitutions
@Stability(Stable) public CfnFlowPropsMixin.Builder definitionSubstitutions(Map<String, ? extends Object> definitionSubstitutions) A map that specifies the mappings for placeholder variables in the prompt flow definition.This enables the customer to inject values obtained at runtime. Variables can be template parameter names, resource logical IDs, resource attributes, or a variable in a key-value map. Only supported with the
DefinitionStringandDefinitionS3Locationfields.Substitutions must follow the syntax:
${key_name}or${variable_1,variable_2,...}.- Parameters:
definitionSubstitutions- A map that specifies the mappings for placeholder variables in the prompt flow definition. This parameter is required.- Returns:
this- See Also:
-
description
A description of the flow.- Parameters:
description- A description of the flow. This parameter is required.- Returns:
this- See Also:
-
executionRoleArn
The Amazon Resource Name (ARN) of the service role with permissions to create a flow.For more information, see Create a service row for flows in the Amazon Bedrock User Guide.
- Parameters:
executionRoleArn- The Amazon Resource Name (ARN) of the service role with permissions to create a flow. This parameter is required.- Returns:
this- See Also:
-
name
The name of the flow.- Parameters:
name- The name of the flow. This parameter is required.- Returns:
this- See Also:
-
tags
Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:.- Parameters:
tags- Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:. This parameter is required.- Returns:
this- See Also:
-
testAliasTags
A map of tag keys and values.- Parameters:
testAliasTags- A map of tag keys and values. This parameter is required.- Returns:
this- See Also:
-
testAliasTags
A map of tag keys and values.- Parameters:
testAliasTags- A map of tag keys and values. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowPropsMixin>- Returns:
- a newly built instance of
CfnFlowPropsMixin.
-