CfnAgentProps
Struct External
Properties for defining a CfnAgent.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
declare const additionalModelRequestFields: any;
const cfnAgentProps: bedrock.CfnAgentProps = {
agentName: 'agentName',
// the properties below are optional
actionGroups: [{
actionGroupName: 'actionGroupName',
// the properties below are optional
actionGroupExecutor: {
customControl: 'customControl',
lambda: 'lambda',
},
actionGroupState: 'actionGroupState',
apiSchema: {
payload: 'payload',
s3: {
s3BucketName: 's3BucketName',
s3ObjectKey: 's3ObjectKey',
},
},
description: 'description',
functionSchema: {
functions: [{
name: 'name',
// the properties below are optional
description: 'description',
parameters: {
parametersKey: {
type: 'type',
// the properties below are optional
description: 'description',
required: false,
},
},
requireConfirmation: 'requireConfirmation',
}],
},
parentActionGroupSignature: 'parentActionGroupSignature',
skipResourceInUseCheckOnDelete: false,
}],
agentCollaboration: 'agentCollaboration',
agentCollaborators: [{
agentDescriptor: {
aliasArn: 'aliasArn',
},
collaborationInstruction: 'collaborationInstruction',
collaboratorName: 'collaboratorName',
// the properties below are optional
relayConversationHistory: 'relayConversationHistory',
}],
agentResourceRoleArn: 'agentResourceRoleArn',
autoPrepare: false,
customerEncryptionKeyArn: 'customerEncryptionKeyArn',
customOrchestration: {
executor: {
lambda: 'lambda',
},
},
description: 'description',
foundationModel: 'foundationModel',
guardrailConfiguration: {
guardrailIdentifier: 'guardrailIdentifier',
guardrailVersion: 'guardrailVersion',
},
idleSessionTtlInSeconds: 123,
instruction: 'instruction',
knowledgeBases: [{
description: 'description',
knowledgeBaseId: 'knowledgeBaseId',
// the properties below are optional
knowledgeBaseState: 'knowledgeBaseState',
}],
memoryConfiguration: {
enabledMemoryTypes: ['enabledMemoryTypes'],
sessionSummaryConfiguration: {
maxRecentSessions: 123,
},
storageDays: 123,
},
orchestrationType: 'orchestrationType',
promptOverrideConfiguration: {
promptConfigurations: [{
additionalModelRequestFields: additionalModelRequestFields,
basePromptTemplate: 'basePromptTemplate',
foundationModel: 'foundationModel',
inferenceConfiguration: {
maximumLength: 123,
stopSequences: ['stopSequences'],
temperature: 123,
topK: 123,
topP: 123,
},
parserMode: 'parserMode',
promptCreationMode: 'promptCreationMode',
promptState: 'promptState',
promptType: 'promptType',
}],
// the properties below are optional
overrideLambda: 'overrideLambda',
},
skipResourceInUseCheckOnDelete: false,
tags: {
tagsKey: 'tags',
},
testAliasTags: {
testAliasTagsKey: 'testAliasTags',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock
# additional_model_request_fields: Any
cfn_agent_props = bedrock.CfnAgentProps(
agent_name="agentName",
# the properties below are optional
action_groups=[bedrock.CfnAgent.AgentActionGroupProperty(
action_group_name="actionGroupName",
# the properties below are optional
action_group_executor=bedrock.CfnAgent.ActionGroupExecutorProperty(
custom_control="customControl",
lambda_="lambda"
),
action_group_state="actionGroupState",
api_schema=bedrock.CfnAgent.APISchemaProperty(
payload="payload",
s3=bedrock.CfnAgent.S3IdentifierProperty(
s3_bucket_name="s3BucketName",
s3_object_key="s3ObjectKey"
)
),
description="description",
function_schema=bedrock.CfnAgent.FunctionSchemaProperty(
functions=[bedrock.CfnAgent.FunctionProperty(
name="name",
# the properties below are optional
description="description",
parameters={
"parameters_key": bedrock.CfnAgent.ParameterDetailProperty(
type="type",
# the properties below are optional
description="description",
required=False
)
},
require_confirmation="requireConfirmation"
)]
),
parent_action_group_signature="parentActionGroupSignature",
skip_resource_in_use_check_on_delete=False
)],
agent_collaboration="agentCollaboration",
agent_collaborators=[bedrock.CfnAgent.AgentCollaboratorProperty(
agent_descriptor=bedrock.CfnAgent.AgentDescriptorProperty(
alias_arn="aliasArn"
),
collaboration_instruction="collaborationInstruction",
collaborator_name="collaboratorName",
# the properties below are optional
relay_conversation_history="relayConversationHistory"
)],
agent_resource_role_arn="agentResourceRoleArn",
auto_prepare=False,
customer_encryption_key_arn="customerEncryptionKeyArn",
custom_orchestration=bedrock.CfnAgent.CustomOrchestrationProperty(
executor=bedrock.CfnAgent.OrchestrationExecutorProperty(
lambda_="lambda"
)
),
description="description",
foundation_model="foundationModel",
guardrail_configuration=bedrock.CfnAgent.GuardrailConfigurationProperty(
guardrail_identifier="guardrailIdentifier",
guardrail_version="guardrailVersion"
),
idle_session_ttl_in_seconds=123,
instruction="instruction",
knowledge_bases=[bedrock.CfnAgent.AgentKnowledgeBaseProperty(
description="description",
knowledge_base_id="knowledgeBaseId",
# the properties below are optional
knowledge_base_state="knowledgeBaseState"
)],
memory_configuration=bedrock.CfnAgent.MemoryConfigurationProperty(
enabled_memory_types=["enabledMemoryTypes"],
session_summary_configuration=bedrock.CfnAgent.SessionSummaryConfigurationProperty(
max_recent_sessions=123
),
storage_days=123
),
orchestration_type="orchestrationType",
prompt_override_configuration=bedrock.CfnAgent.PromptOverrideConfigurationProperty(
prompt_configurations=[bedrock.CfnAgent.PromptConfigurationProperty(
additional_model_request_fields=additional_model_request_fields,
base_prompt_template="basePromptTemplate",
foundation_model="foundationModel",
inference_configuration=bedrock.CfnAgent.InferenceConfigurationProperty(
maximum_length=123,
stop_sequences=["stopSequences"],
temperature=123,
top_k=123,
top_p=123
),
parser_mode="parserMode",
prompt_creation_mode="promptCreationMode",
prompt_state="promptState",
prompt_type="promptType"
)],
# the properties below are optional
override_lambda="overrideLambda"
),
skip_resource_in_use_check_on_delete=False,
tags={
"tags_key": "tags"
},
test_alias_tags={
"test_alias_tags_key": "testAliasTags"
}
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
Object additionalModelRequestFields;
CfnAgentProps cfnAgentProps = CfnAgentProps.builder()
.agentName("agentName")
// the properties below are optional
.actionGroups(List.of(AgentActionGroupProperty.builder()
.actionGroupName("actionGroupName")
// the properties below are optional
.actionGroupExecutor(ActionGroupExecutorProperty.builder()
.customControl("customControl")
.lambda("lambda")
.build())
.actionGroupState("actionGroupState")
.apiSchema(APISchemaProperty.builder()
.payload("payload")
.s3(S3IdentifierProperty.builder()
.s3BucketName("s3BucketName")
.s3ObjectKey("s3ObjectKey")
.build())
.build())
.description("description")
.functionSchema(FunctionSchemaProperty.builder()
.functions(List.of(FunctionProperty.builder()
.name("name")
// the properties below are optional
.description("description")
.parameters(Map.of(
"parametersKey", ParameterDetailProperty.builder()
.type("type")
// the properties below are optional
.description("description")
.required(false)
.build()))
.requireConfirmation("requireConfirmation")
.build()))
.build())
.parentActionGroupSignature("parentActionGroupSignature")
.skipResourceInUseCheckOnDelete(false)
.build()))
.agentCollaboration("agentCollaboration")
.agentCollaborators(List.of(AgentCollaboratorProperty.builder()
.agentDescriptor(AgentDescriptorProperty.builder()
.aliasArn("aliasArn")
.build())
.collaborationInstruction("collaborationInstruction")
.collaboratorName("collaboratorName")
// the properties below are optional
.relayConversationHistory("relayConversationHistory")
.build()))
.agentResourceRoleArn("agentResourceRoleArn")
.autoPrepare(false)
.customerEncryptionKeyArn("customerEncryptionKeyArn")
.customOrchestration(CustomOrchestrationProperty.builder()
.executor(OrchestrationExecutorProperty.builder()
.lambda("lambda")
.build())
.build())
.description("description")
.foundationModel("foundationModel")
.guardrailConfiguration(GuardrailConfigurationProperty.builder()
.guardrailIdentifier("guardrailIdentifier")
.guardrailVersion("guardrailVersion")
.build())
.idleSessionTtlInSeconds(123)
.instruction("instruction")
.knowledgeBases(List.of(AgentKnowledgeBaseProperty.builder()
.description("description")
.knowledgeBaseId("knowledgeBaseId")
// the properties below are optional
.knowledgeBaseState("knowledgeBaseState")
.build()))
.memoryConfiguration(MemoryConfigurationProperty.builder()
.enabledMemoryTypes(List.of("enabledMemoryTypes"))
.sessionSummaryConfiguration(SessionSummaryConfigurationProperty.builder()
.maxRecentSessions(123)
.build())
.storageDays(123)
.build())
.orchestrationType("orchestrationType")
.promptOverrideConfiguration(PromptOverrideConfigurationProperty.builder()
.promptConfigurations(List.of(PromptConfigurationProperty.builder()
.additionalModelRequestFields(additionalModelRequestFields)
.basePromptTemplate("basePromptTemplate")
.foundationModel("foundationModel")
.inferenceConfiguration(InferenceConfigurationProperty.builder()
.maximumLength(123)
.stopSequences(List.of("stopSequences"))
.temperature(123)
.topK(123)
.topP(123)
.build())
.parserMode("parserMode")
.promptCreationMode("promptCreationMode")
.promptState("promptState")
.promptType("promptType")
.build()))
// the properties below are optional
.overrideLambda("overrideLambda")
.build())
.skipResourceInUseCheckOnDelete(false)
.tags(Map.of(
"tagsKey", "tags"))
.testAliasTags(Map.of(
"testAliasTagsKey", "testAliasTags"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var additionalModelRequestFields;
var cfnAgentProps = new CfnAgentProps {
AgentName = "agentName",
// the properties below are optional
ActionGroups = new [] { new AgentActionGroupProperty {
ActionGroupName = "actionGroupName",
// the properties below are optional
ActionGroupExecutor = new ActionGroupExecutorProperty {
CustomControl = "customControl",
Lambda = "lambda"
},
ActionGroupState = "actionGroupState",
ApiSchema = new APISchemaProperty {
Payload = "payload",
S3 = new S3IdentifierProperty {
S3BucketName = "s3BucketName",
S3ObjectKey = "s3ObjectKey"
}
},
Description = "description",
FunctionSchema = new FunctionSchemaProperty {
Functions = new [] { new FunctionProperty {
Name = "name",
// the properties below are optional
Description = "description",
Parameters = new Dictionary<string, object> {
{ "parametersKey", new ParameterDetailProperty {
Type = "type",
// the properties below are optional
Description = "description",
Required = false
} }
},
RequireConfirmation = "requireConfirmation"
} }
},
ParentActionGroupSignature = "parentActionGroupSignature",
SkipResourceInUseCheckOnDelete = false
} },
AgentCollaboration = "agentCollaboration",
AgentCollaborators = new [] { new AgentCollaboratorProperty {
AgentDescriptor = new AgentDescriptorProperty {
AliasArn = "aliasArn"
},
CollaborationInstruction = "collaborationInstruction",
CollaboratorName = "collaboratorName",
// the properties below are optional
RelayConversationHistory = "relayConversationHistory"
} },
AgentResourceRoleArn = "agentResourceRoleArn",
AutoPrepare = false,
CustomerEncryptionKeyArn = "customerEncryptionKeyArn",
CustomOrchestration = new CustomOrchestrationProperty {
Executor = new OrchestrationExecutorProperty {
Lambda = "lambda"
}
},
Description = "description",
FoundationModel = "foundationModel",
GuardrailConfiguration = new GuardrailConfigurationProperty {
GuardrailIdentifier = "guardrailIdentifier",
GuardrailVersion = "guardrailVersion"
},
IdleSessionTtlInSeconds = 123,
Instruction = "instruction",
KnowledgeBases = new [] { new AgentKnowledgeBaseProperty {
Description = "description",
KnowledgeBaseId = "knowledgeBaseId",
// the properties below are optional
KnowledgeBaseState = "knowledgeBaseState"
} },
MemoryConfiguration = new MemoryConfigurationProperty {
EnabledMemoryTypes = new [] { "enabledMemoryTypes" },
SessionSummaryConfiguration = new SessionSummaryConfigurationProperty {
MaxRecentSessions = 123
},
StorageDays = 123
},
OrchestrationType = "orchestrationType",
PromptOverrideConfiguration = new PromptOverrideConfigurationProperty {
PromptConfigurations = new [] { new PromptConfigurationProperty {
AdditionalModelRequestFields = additionalModelRequestFields,
BasePromptTemplate = "basePromptTemplate",
FoundationModel = "foundationModel",
InferenceConfiguration = new InferenceConfigurationProperty {
MaximumLength = 123,
StopSequences = new [] { "stopSequences" },
Temperature = 123,
TopK = 123,
TopP = 123
},
ParserMode = "parserMode",
PromptCreationMode = "promptCreationMode",
PromptState = "promptState",
PromptType = "promptType"
} },
// the properties below are optional
OverrideLambda = "overrideLambda"
},
SkipResourceInUseCheckOnDelete = false,
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
},
TestAliasTags = new Dictionary<string, string> {
{ "testAliasTagsKey", "testAliasTags" }
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var additionalModelRequestFields interface{}
cfnAgentProps := &CfnAgentProps{
AgentName: jsii.String("agentName"),
// the properties below are optional
ActionGroups: []interface{}{
&AgentActionGroupProperty{
ActionGroupName: jsii.String("actionGroupName"),
// the properties below are optional
ActionGroupExecutor: &ActionGroupExecutorProperty{
CustomControl: jsii.String("customControl"),
Lambda: jsii.String("lambda"),
},
ActionGroupState: jsii.String("actionGroupState"),
ApiSchema: &APISchemaProperty{
Payload: jsii.String("payload"),
S3: &S3IdentifierProperty{
S3BucketName: jsii.String("s3BucketName"),
S3ObjectKey: jsii.String("s3ObjectKey"),
},
},
Description: jsii.String("description"),
FunctionSchema: &FunctionSchemaProperty{
Functions: []interface{}{
&FunctionProperty{
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
Parameters: map[string]interface{}{
"parametersKey": &ParameterDetailProperty{
"type": jsii.String("type"),
// the properties below are optional
"description": jsii.String("description"),
"required": jsii.Boolean(false),
},
},
RequireConfirmation: jsii.String("requireConfirmation"),
},
},
},
ParentActionGroupSignature: jsii.String("parentActionGroupSignature"),
SkipResourceInUseCheckOnDelete: jsii.Boolean(false),
},
},
AgentCollaboration: jsii.String("agentCollaboration"),
AgentCollaborators: []interface{}{
&AgentCollaboratorProperty{
AgentDescriptor: &AgentDescriptorProperty{
AliasArn: jsii.String("aliasArn"),
},
CollaborationInstruction: jsii.String("collaborationInstruction"),
CollaboratorName: jsii.String("collaboratorName"),
// the properties below are optional
RelayConversationHistory: jsii.String("relayConversationHistory"),
},
},
AgentResourceRoleArn: jsii.String("agentResourceRoleArn"),
AutoPrepare: jsii.Boolean(false),
CustomerEncryptionKeyArn: jsii.String("customerEncryptionKeyArn"),
CustomOrchestration: &CustomOrchestrationProperty{
Executor: &OrchestrationExecutorProperty{
Lambda: jsii.String("lambda"),
},
},
Description: jsii.String("description"),
FoundationModel: jsii.String("foundationModel"),
GuardrailConfiguration: &GuardrailConfigurationProperty{
GuardrailIdentifier: jsii.String("guardrailIdentifier"),
GuardrailVersion: jsii.String("guardrailVersion"),
},
IdleSessionTtlInSeconds: jsii.Number(123),
Instruction: jsii.String("instruction"),
KnowledgeBases: []interface{}{
&AgentKnowledgeBaseProperty{
Description: jsii.String("description"),
KnowledgeBaseId: jsii.String("knowledgeBaseId"),
// the properties below are optional
KnowledgeBaseState: jsii.String("knowledgeBaseState"),
},
},
MemoryConfiguration: &MemoryConfigurationProperty{
EnabledMemoryTypes: []*string{
jsii.String("enabledMemoryTypes"),
},
SessionSummaryConfiguration: &SessionSummaryConfigurationProperty{
MaxRecentSessions: jsii.Number(123),
},
StorageDays: jsii.Number(123),
},
OrchestrationType: jsii.String("orchestrationType"),
PromptOverrideConfiguration: &PromptOverrideConfigurationProperty{
PromptConfigurations: []interface{}{
&PromptConfigurationProperty{
AdditionalModelRequestFields: additionalModelRequestFields,
BasePromptTemplate: jsii.String("basePromptTemplate"),
FoundationModel: jsii.String("foundationModel"),
InferenceConfiguration: &InferenceConfigurationProperty{
MaximumLength: jsii.Number(123),
StopSequences: []*string{
jsii.String("stopSequences"),
},
Temperature: jsii.Number(123),
TopK: jsii.Number(123),
TopP: jsii.Number(123),
},
ParserMode: jsii.String("parserMode"),
PromptCreationMode: jsii.String("promptCreationMode"),
PromptState: jsii.String("promptState"),
PromptType: jsii.String("promptType"),
},
},
// the properties below are optional
OverrideLambda: jsii.String("overrideLambda"),
},
SkipResourceInUseCheckOnDelete: jsii.Boolean(false),
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
TestAliasTags: map[string]*string{
"testAliasTagsKey": jsii.String("testAliasTags"),
},
}
Properties
actionGroupsoptionalIResolvable | IResolvable | CfnAgent.action_groupsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AgentActionGroupProperty]]]actionGroupsoptionalIResolvableActionGroupsoptionalIResolvableActionGroupsoptionalinterface{} #The action groups that belong to an agent.
agentCollaborationoptionalstringagent_collaborationoptionalstragentCollaborationoptionalStringAgentCollaborationoptionalstringAgentCollaborationoptional*string #The agent's collaboration settings.
agentCollaboratorsoptionalIResolvable | IResolvable | CfnAgent.agent_collaboratorsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AgentCollaboratorProperty]]]agentCollaboratorsoptionalIResolvableAgentCollaboratorsoptionalIResolvableAgentCollaboratorsoptionalinterface{} #List of Agent Collaborators.
The name of the agent.
agentResourceRoleArnoptionalstringagent_resource_role_arnoptionalstragentResourceRoleArnoptionalStringAgentResourceRoleArnoptionalstringAgentResourceRoleArnoptional*string #The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
autoPrepareoptionalboolean | IResolvableauto_prepareoptionaltyping.Union[bool, IResolvable]autoPrepareoptionalBooleanAutoPrepareoptionalboolAutoPrepareoptionalinterface{} = false #Specifies whether to automatically update the `DRAFT` version of the agent after making changes to the agent.
The DRAFT version can be continually iterated upon during internal development. By default, this value is false .
customerEncryptionKeyArnoptionalstringcustomer_encryption_key_arnoptionalstrcustomerEncryptionKeyArnoptionalStringCustomerEncryptionKeyArnoptionalstringCustomerEncryptionKeyArnoptional*string #The Amazon Resource Name (ARN) of the AWS key that encrypts the agent.
customOrchestrationoptionalIResolvable | CfnAgent.custom_orchestrationoptionaltyping.Union[IResolvable, CustomOrchestrationProperty]customOrchestrationoptionalIResolvableCustomOrchestrationoptionalIResolvableCustomOrchestrationoptionalinterface{} #Contains custom orchestration configurations for the agent.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the agent.
foundationModeloptionalstringfoundation_modeloptionalstrfoundationModeloptionalStringFoundationModeloptionalstringFoundationModeloptional*string #The foundation model used for orchestration by the agent.
guardrailConfigurationoptionalIResolvable | CfnAgent.guardrail_configurationoptionaltyping.Union[IResolvable, GuardrailConfigurationProperty]guardrailConfigurationoptionalIResolvableGuardrailConfigurationoptionalIResolvableGuardrailConfigurationoptionalinterface{} #Details about the guardrail associated with the agent.
idleSessionTtlInSecondsoptionalnumberidle_session_ttl_in_secondsoptionalint | floatidleSessionTtlInSecondsoptionalNumberIdleSessionTtlInSecondsoptionaldoubleIdleSessionTtlInSecondsoptional*float64 #The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
instructionoptionalstringinstructionoptionalstrinstructionoptionalStringInstructionoptionalstringInstructionoptional*string #Instructions that tell the agent what it should do and how it should interact with users.
knowledgeBasesoptionalIResolvable | IResolvable | CfnAgent.knowledge_basesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AgentKnowledgeBaseProperty]]]knowledgeBasesoptionalIResolvableKnowledgeBasesoptionalIResolvableKnowledgeBasesoptionalinterface{} #The knowledge bases associated with the agent.
memoryConfigurationoptionalIResolvable | CfnAgent.memory_configurationoptionaltyping.Union[IResolvable, MemoryConfigurationProperty]memoryConfigurationoptionalIResolvableMemoryConfigurationoptionalIResolvableMemoryConfigurationoptionalinterface{} #Contains memory configuration for the agent.
orchestrationTypeoptionalstringorchestration_typeoptionalstrorchestrationTypeoptionalStringOrchestrationTypeoptionalstringOrchestrationTypeoptional*string #Specifies the orchestration strategy for the agent.
promptOverrideConfigurationoptionalIResolvable | CfnAgent.prompt_override_configurationoptionaltyping.Union[IResolvable, PromptOverrideConfigurationProperty]promptOverrideConfigurationoptionalIResolvablePromptOverrideConfigurationoptionalIResolvablePromptOverrideConfigurationoptionalinterface{} #Contains configurations to override prompt templates in different parts of an agent sequence.
For more information, see Advanced prompts .
skipResourceInUseCheckOnDeleteoptionalboolean | IResolvableskip_resource_in_use_check_on_deleteoptionaltyping.Union[bool, IResolvable]skipResourceInUseCheckOnDeleteoptionalBooleanSkipResourceInUseCheckOnDeleteoptionalboolSkipResourceInUseCheckOnDeleteoptionalinterface{} = false #Specifies whether to delete the resource even if it's in use.
By default, this value is false .
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string #Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:.
testAliasTagsoptionalIResolvable | { [key: string]: string }test_alias_tagsoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]testAliasTagsoptionalIResolvableTestAliasTagsoptionalIResolvableTestAliasTagsoptionalinterface{} #Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:.