toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'agentId': agentId,
    'agentVersion': ?agentVersion,
    'description': description,
    'knowledgeBaseId': knowledgeBaseId,
    'knowledgeBaseState': knowledgeBaseState,
    'region': ?region,
    'timeouts': ?pulumi.Input.mapOptionalInputValue<AgentAgentKnowledgeBaseAssociationTimeouts, Map<String, dynamic>>(timeouts, (value) => value.toMap()),
  };
}