AgentAgent constructor
AgentAgent(
- String name, {
- AgentAgentArgs? args,
- CustomResourceOptions? options,
Creates a new AgentAgent.
name The Pulumi resource name.
args Arguments used to configure this AgentAgent. The set of arguments for AgentAgent.
options Resource options controlling this resource's behavior.
Implementation
AgentAgent(
String name, {
AgentAgentArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:bedrock/agentAgent:AgentAgent',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
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>()); });
}