AgentAgentKnowledgeBaseAssociation.reference constructor

AgentAgentKnowledgeBaseAssociation.reference(
  1. String urn
)

Creates a typed reference to an existing AgentAgentKnowledgeBaseAssociation resource.

Implementation

AgentAgentKnowledgeBaseAssociation.reference(String urn)
  : super(
      'aws:bedrock/agentAgentKnowledgeBaseAssociation:AgentAgentKnowledgeBaseAssociation',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  agentId = registerOutput<String>('agentId');
  agentVersion = registerOutput<String>('agentVersion');
  description = registerOutput<String>('description');
  knowledgeBaseId = registerOutput<String>('knowledgeBaseId');
  knowledgeBaseState = registerOutput<String>('knowledgeBaseState');
  region = registerOutput<String>('region');
  timeouts = registerOutput<AgentAgentKnowledgeBaseAssociationTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentAgentKnowledgeBaseAssociationTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}