AgentAgent.reference constructor
AgentAgent.reference(
- String urn
Creates a typed reference to an existing AgentAgent resource.
Implementation
AgentAgent.reference(String urn)
: super(
'aws:bedrock/agentAgent:AgentAgent',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
agentArn = registerOutput<String>('agentArn');
agentCollaboration = registerOutput<String>('agentCollaboration');
agentId = registerOutput<String>('agentId');
agentName = registerOutput<String>('agentName');
agentResourceRoleArn = registerOutput<String>('agentResourceRoleArn');
agentVersion = registerOutput<String>('agentVersion');
customerEncryptionKeyArn = registerOutput<String?>('customerEncryptionKeyArn');
description = registerOutput<String?>('description');
foundationModel = registerOutput<String>('foundationModel');
guardrailConfigurations = registerOutput<List<AgentAgentGuardrailConfiguration>?>('guardrailConfigurations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<AgentAgentGuardrailConfiguration>(guardedValue, (value) => AgentAgentGuardrailConfiguration.fromMap((value as Map).cast<String, dynamic>())); });
idleSessionTtlInSeconds = registerOutput<int>('idleSessionTtlInSeconds');
instruction = registerOutput<String>('instruction');
memoryConfigurations = registerOutput<List<AgentAgentMemoryConfiguration>>('memoryConfigurations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<AgentAgentMemoryConfiguration>(guardedValue, (value) => AgentAgentMemoryConfiguration.fromMap((value as Map).cast<String, dynamic>())); });
prepareAgent = registerOutput<bool>('prepareAgent');
preparedAt = registerOutput<String>('preparedAt');
promptOverrideConfigurations = registerOutput<List<AgentAgentPromptOverrideConfiguration>>('promptOverrideConfigurations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<AgentAgentPromptOverrideConfiguration>(guardedValue, (value) => AgentAgentPromptOverrideConfiguration.fromMap((value as Map).cast<String, dynamic>())); });
region = registerOutput<String>('region');
skipResourceInUseCheck = registerOutput<bool>('skipResourceInUseCheck');
tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
timeouts = registerOutput<AgentAgentTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentAgentTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}