AgentcoreAgentRuntimeEndpoint.reference constructor

AgentcoreAgentRuntimeEndpoint.reference(
  1. String urn
)

Creates a typed reference to an existing AgentcoreAgentRuntimeEndpoint resource.

Implementation

AgentcoreAgentRuntimeEndpoint.reference(String urn)
  : super(
      'aws:bedrock/agentcoreAgentRuntimeEndpoint:AgentcoreAgentRuntimeEndpoint',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  agentRuntimeArn = registerOutput<String>('agentRuntimeArn');
  agentRuntimeEndpointArn = registerOutput<String>('agentRuntimeEndpointArn');
  agentRuntimeId = registerOutput<String>('agentRuntimeId');
  agentRuntimeVersion = registerOutput<String>('agentRuntimeVersion');
  description = registerOutput<String?>('description');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  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<AgentcoreAgentRuntimeEndpointTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentcoreAgentRuntimeEndpointTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}