toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'agentArn': ?agentArn,
'agentCollaboration': ?agentCollaboration,
'agentId': ?agentId,
'agentName': ?agentName,
'agentResourceRoleArn': ?agentResourceRoleArn,
'agentVersion': ?agentVersion,
'customerEncryptionKeyArn': ?customerEncryptionKeyArn,
'description': ?description,
'foundationModel': ?foundationModel,
'guardrailConfigurations': ?pulumi.Input.mapOptionalInputValue<List<AgentAgentGuardrailConfiguration>, List<Map<String, dynamic>>>(guardrailConfigurations, (value) => pulumi.Input.encodeList<AgentAgentGuardrailConfiguration, Map<String, dynamic>>(value, (value) => value.toMap())),
'idleSessionTtlInSeconds': ?idleSessionTtlInSeconds,
'instruction': ?instruction,
'memoryConfigurations': ?pulumi.Input.mapOptionalInputValue<List<AgentAgentMemoryConfiguration>, List<Map<String, dynamic>>>(memoryConfigurations, (value) => pulumi.Input.encodeList<AgentAgentMemoryConfiguration, Map<String, dynamic>>(value, (value) => value.toMap())),
'prepareAgent': ?prepareAgent,
'preparedAt': ?preparedAt,
'promptOverrideConfigurations': ?pulumi.Input.mapOptionalInputValue<List<AgentAgentPromptOverrideConfiguration>, List<Map<String, dynamic>>>(promptOverrideConfigurations, (value) => pulumi.Input.encodeList<AgentAgentPromptOverrideConfiguration, Map<String, dynamic>>(value, (value) => value.toMap())),
'region': ?region,
'skipResourceInUseCheck': ?skipResourceInUseCheck,
'tags': ?tags,
'tagsAll': ?tagsAll,
'timeouts': ?pulumi.Input.mapOptionalInputValue<AgentAgentTimeouts, Map<String, dynamic>>(timeouts, (value) => value.toMap()),
};
}